Skip to content

Update to GTK+ 3.22.26 and glib mesalib #544

Merged
merged 30 commits into from
Dec 15, 2017

Commits on Dec 11, 2017

  1. wayland: Add version 1.14.0

    From [1]:
    
    > Wayland is a project to define a protocol for a compositor to talk to
    > its clients as well as a library implementation of the protocol.
    
    Create the versionless bee file with the commands below.
    
    ```
    $ bee init https://wayland.freedesktop.org/releases/wayland-1.14.0.tar.xz
    creating wayland-1.14.0-0.bee from template '/etc/default/bee/templates/fallback'
    $ mv wayland-1.14.0-0.bee wayland.be0
    $ vim wayland.be0
    $ git add $_
    ```
    
    [1] http://www.linuxfromscratch.org/blfs/view/svn/general/wayland.html
    pmenzel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    9bccf6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    432df23 View commit details
    Browse the repository at this point in the history
  3. wayland-protocols: Add version 1.12

    From [1]:
    
    > The Wayland-Protocols package contains additional Wayland protocols
    > that add functionality outside of protocols already in the Wayland
    > core.
    
    Create the versionless bee file with the commands below.
    
    ```
    $ bee init https://wayland.freedesktop.org/releases/wayland-protocols-1.12.tar.xz
    creating wayland-protocols-1.12-0.bee from template '/etc/default/bee/templates/fallback'
    $ mv wayland-protocols-1.12-0.bee wayland-protocols.be0
    $ git add $_
    $ vim $_
    $ git commit -a
    ```
    
    [1] http://www.linuxfromscratch.org/blfs/view/svn/general/wayland-protocols.html
    pmenzel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    0d666dd View commit details
    Browse the repository at this point in the history
  4. mesalib: Correct configure switch --with-platforms

    Fixes: 08b94df (mesalib: Replace deprecated switch name)
    pmenzel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    07041e5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7d82da9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ae81f73 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dbf2ca2 View commit details
    Browse the repository at this point in the history
  8. glib2: Update version from 2.44.1 to 2.54.2

    GTK+ 3.22.26 requires a newer GLIB version, so update it.
    
    Change-log is available online [1].
    
    [1] https://git.gnome.org/browse/glib/tree/NEWS?h=glib-2-54
    pmenzel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    93a181a View commit details
    Browse the repository at this point in the history
  9. libxkbcommon: Add version 0.7.2

    From [1]:
    
    > libxkbcommon is a keymap compiler and support library which processes
    > a reduced subset of keymaps as defined by the XKB specification.
    
    Create the versionless bee file with the commands below.
    
    ```
    $ bee init https://xkbcommon.org/download/libxkbcommon-0.7.2.tar.xz
    creating libxkbcommon-0.7.2-0.bee from template '/etc/default/bee/templates/fallback'
    $ mv libxkbcommon-0.7.2-0.bee libxkbcommon.be0
    $ git add $_
    $ vim $_
    ```
    
    [1] http://www.linuxfromscratch.org/blfs/view/svn/general/libxkbcommon.html
    pmenzel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    b85d4c3 View commit details
    Browse the repository at this point in the history
  10. gtk3: Securely download source archive

    Use HTTPS to securely download the source archive.
    pmenzel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    25fe5e8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8409aac View commit details
    Browse the repository at this point in the history
  12. gtk3: Update version from 3.16.6 to 3.22.26

    Update to GTK+ 3.22.26 fixing [\[Bug 114281\] AutoFilter drop-down menu
    items invisible]
    (https://bugs.documentfoundation.org/show_bug.cgi?id=114281) reported by
    Thomas R..
    
    Announcement from September 2016 [1]:
    
    > What's new in 3.22
    > ==================
    >
    > The 3.22 release is the last development release in the GTK+ 3. series.
    > GTK+ 3.22 will be maintained as the long-term stable version of GTK+ 3,
    > and new development will move to the GTK+ 3.90.x releases. To learn more
    > about the GTK+ roadmap, read:
    >
    >  https://blog.gtk.org/2016/09/01/versioning-and-long-term-stability-promise-in-gtk
    >
    > Major new features include:
    >
    > * The Wayland backend has support for drawing tablets
    >
    > * The Wayland backend requires xdg-shell v6
    >
    > * We have a gesture API for tablet support, GtkPadController
    >
    > * GdkMonitor offers an API for richer information about connected outputs
    >
    > * GdkGLContext supports GLES
    >
    > * GtkScrolledWindow has new max-content-width/height properties that can
    >   affect the sizing behavior
    >
    > * GtkShortcutLabel is a new widget that can display keyboard shortcuts
    >   in the same way that GtkShortcutWindow does
    >
    > * A number of GTK+ APIs will now transparently use portals when used
    >   in a Flatpak sandbox, including GtkFileChooserNative, GtkPrintOperation,
    >   gtk_show_uri.
    >
    > For more details and lists of fixed bugs, see the NEWS file that is
    > included in the tarball, or see:
    >
    >  http://git.gnome.org/browse/gtk+/plain/NEWS?id=3.22.0
    >
    > For concerns about porting from older GTK+ releases, see the README file
    > that is included in the tarball, or see:
    >
    >  http://git.gnome.org/browse/gtk+/plain/README.in?id=3.22.0
    
    GTK+ 3.22.26 was released in November 2017.
    
    [1] https://mail.gnome.org/archives/gnome-announce-list/2016-September/msg00044.html
    pmenzel committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    9bc6afa View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2017

  1. gtk3: Use current bee file template

    Recreate bee file with the command below, and convert it to a
    versionless bee file.
    
    ```
    $ bee init https://ftp.acc.umu.se/pub/gnome/sources/gtk+/3.22/gtk+-3.22.26.tar.xz
    creating gtk+-3.22.26-0.bee from template '/etc/default/bee/templates/fallback'
    ```
    
    Add the configure switches back.
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    aa86d5e View commit details
    Browse the repository at this point in the history
  2. gtk3: Use GNOME domain name

    Use the domain name used in the book *Linux from Scratch* [1].
    
    It’s the same system.
    
    ```
    $ host ftp.acc.umu.se
    ftp.acc.umu.se has address 194.71.11.165
    ftp.acc.umu.se has address 194.71.11.173
    ftp.acc.umu.se has IPv6 address 2001:6b0:19::173
    ftp.acc.umu.se has IPv6 address 2001:6b0:19::165
    ftp.acc.umu.se mail is handled by 0 mail.acc.umu.se.
    $ host ftp.gnome.org
    ftp.gnome.org is an alias for ftp.acc.umu.se.
    ftp.acc.umu.se has address 194.71.11.165
    ftp.acc.umu.se has address 194.71.11.173
    ftp.acc.umu.se has IPv6 address 2001:6b0:19::173
    ftp.acc.umu.se has IPv6 address 2001:6b0:19::165
    ftp.acc.umu.se mail is handled by 0 mail.acc.umu.se.
    ```
    
    [1] http://www.linuxfromscratch.org/blfs/view/svn/x/gtk3.html
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    ae7b68e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    823f34c View commit details
    Browse the repository at this point in the history
  4. gtk3: Enable Wayland backend

    Because we can.
    
    > This switch enables the Wayland GDK backend. Replace with
    > --disable-wayland-backend if you do not have Wayland-1.14.0 and
    > wayland-protocols-1.12 or you do not wish to build GNOME with Wayland
    > support. Other changes may be needed to allow the build to complete
    > without the wayland-backend enabled.
    
    [1] http://www.linuxfromscratch.org/blfs/view/svn/x/gtk3.html
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    b68b690 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7bfb98b View commit details
    Browse the repository at this point in the history
  6. colord: Strip trailing space

    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    f5cab44 View commit details
    Browse the repository at this point in the history
  7. colord: Securely download source archive

    Use HTTPS to securely download the source archive.
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    15efea2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    17c174f View commit details
    Browse the repository at this point in the history
  9. colord: Update version from 0.1.19 to 1.3.5

    Currently, updating to GTK+ 3.22.26, the GTK+ printer dialog doesn’t
    list any printers.
    
    ```
    (evince:7186): Gtk-WARNING **: libcolord.so.2: cannot open shared object file: No such file or directory
    ```
    
    So, update colord. Do not use colord 1.4.1 as that requires Meson.
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    c3872dd View commit details
    Browse the repository at this point in the history
  10. colord: Disable GUSB

    ```
    […]
    checking for GUSB... no
    configure: error: Package requirements (gusb >= 0.2.7) were not met:
    
    No package 'gusb' found
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables GUSB_CFLAGS
    and GUSB_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    […]
    ```
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    b1ca332 View commit details
    Browse the repository at this point in the history
  11. colord: Disable systemd seat-tracking support

    ```
    […]
    checking for LIBSYSTEMD... no
    checking for LIBSYSTEMD_LOGIN... no
    configure: error: Package requirements (libsystemd-login >= 44) were not met:
    
    No package 'libsystemd-login' found
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables LIBSYSTEMD_LOGIN_CFLAGS
    and LIBSYSTEMD_LOGIN_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    […]
    ```
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    d902dfa View commit details
    Browse the repository at this point in the history
  12. colord: Disable ArgllCMS sensor

    ```
    […]
    checking for spotread... no
    configure: error: argyllcms sensor requires spotread, not found
    […]
    ```
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    ff62e3a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ed6a5ee View commit details
    Browse the repository at this point in the history
  14. colord: Disable GUDEV support

    The build currently fails with the errors below. So disable GUDEV support.
    
    ```
    […]
      CC       libcolord_la-cd-sensor-sync.lo
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c: In function ‘cd_edid_convert_pnp_id_to_string’:
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:126:9: error: implicit declaration of function ‘udev_hwdb_new’ [-Werror=implicit-function-declaration]
      hwdb = udev_hwdb_new (udev);
             ^
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:126:2: warning: nested extern declaration of ‘udev_hwdb_new’ [-Wnested-externs]
      hwdb = udev_hwdb_new (udev);
      ^
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:126:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      hwdb = udev_hwdb_new (udev);
           ^
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:132:6: error: implicit declaration of function ‘udev_hwdb_get_properties_list_entry’ [-Werror=implicit-function-declaration]
      e = udev_hwdb_get_properties_list_entry (hwdb, modalias, 0);
          ^
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:132:2: warning: nested extern declaration of ‘udev_hwdb_get_properties_list_entry’ [-Wnested-externs]
      e = udev_hwdb_get_properties_list_entry (hwdb, modalias, 0);
      ^
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:132:4: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
      e = udev_hwdb_get_properties_list_entry (hwdb, modalias, 0);
        ^
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:145:3: error: implicit declaration of function ‘udev_hwdb_unref’ [-Werror=implicit-function-declaration]
       udev_hwdb_unref (hwdb);
       ^
    /dev/shm/bee-root/colord/colord-1.3.5-0/source/lib/colord/cd-edid.c:145:3: warning: nested extern declaration of ‘udev_hwdb_unref’ [-Wnested-externs]
    cc1: some warnings being treated as errors
    Makefile:1171: recipe for target 'libcolordprivate_la-cd-edid.lo' failed
    […]
    ```
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    86b37b5 View commit details
    Browse the repository at this point in the history
  15. colord: Set daemon user to *colord* [1]

    >  --with-daemon-user=colord: This switch is used so the colord daemon
    >  will run as an unprivileged user instead of root user.
    
    [1] http://www.linuxfromscratch.org/blfs/view/8.1/general/colord.html
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    dae34d8 View commit details
    Browse the repository at this point in the history
  16. colord: Do not install systemd service unit [1]

    > --with-systemdsystemunitdir=no: Disables attempting to build with
    > systemd libraries.
    
    [1] http://www.linuxfromscratch.org/blfs/view/8.1/general/colord.html
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    43cbd6d View commit details
    Browse the repository at this point in the history
  17. colord: Use current bee file template

    Recreate bee file with the command below, and convert it to a
    versionless bee file.
    
    ```
    $ bee init https://www.freedesktop.org/software/colord/releases/colord-1.3.5.tar.xz
    creating colord-1.3.5-0.bee from template '/etc/default/bee/templates/fallback'
    $ mv colord-1.3.5-0.bee colord.be0
    $ vim colord.be0
    $ git add colord.be0
    ```
    pmenzel committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    818f71f View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2017

  1. Revert "colord: Do not install systemd service unit [1]"

    This reverts commit 43cbd6d.
    
    Programs using the GTK+ printing dialog print warnings to the terminal
    about the missing service file.
    
    ```
    ** (evince:4561): WARNING **: failed to contact colord: Error calling StartServiceByName for org.freedesktop.ColorManager: GDBus.Error:org.freedesktop.systemd1.LoadFailed: Unit colord.service failed to load: No such file or directory. See system logs and 'systemctl status' for details.
    ```
    pmenzel committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    c8858d3 View commit details
    Browse the repository at this point in the history