#14798: GNOME-40 External Libraries - glib vala pygobject3 gobject-introspection
gtk-4.0 gtksourceview4 libdazzle sysprof at-spi2-core glib-networking gdk-
pixbuf tepl gtk+3
-------------------------+-----------------------
 Reporter:  renodr       |       Owner:  renodr
     Type:  enhancement  |      Status:  assigned
 Priority:  elevated     |   Milestone:  10.2
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by renodr):

 Here are my current notes for gtk4. I normally take these kind of notes
 for package additions. I did notice a few inaccuracies in the gtk3 page
 that I'll fix too. My next commit will have all of the things from this
 ticket in it.

 One thing that is interesting to me is that there is now a multimedia
 subsystem in GTK4, similar to QtMultimedia, that lets application
 developers add audio/video/picture support into their programs easier. You
 need gst-plugins-bad and ffmpeg for that.

 After this next build of gtk4 (I need -Dcolord=enabled for my printer),
 I'm going to swap into XFCE and check on the demo applications again,
 rebuild vte/gjs/webkitgtk to make sure no new errors occur, and then
 continue onto gtksourceview5.

 {{{
 gtk-4.2.0 ADDITION
 Ticket #14798
 --------------------------

 Download URL:
    HTTP:
 https://download.gnome.org/software/gtk/4.2/gtk-4.2.0.tar.xz
    FTP:
 ftp://ftp.acc.umu.se/pub/gnome/sources/gtk/4.2/gtk-4.2.0.tar.xz
 Download Size: 25 MB
 MD5SUM: 656c54a43b252ef1955d0787bab1a7aa

 Elasped Time: 127.6
 Installed Files Size: 1034.675 MB (1.0GB), 138MB installed
 SBU Value: 1.2 SBU

 Elapsed Time (with tests): 156.3
 Installed Files Size (with tests): 1092.386 MB
 SBU Value (with tests): 1.5 SBU

 Difference in Elasped Time: 28.7
 Difference in Installed Files Size:  58 MB
 Difference in SBU Value: 0.3 SBU

 DEPENDENCIES:
         - Required dependency: gdk-pixbuf
         - Required dependency: pango
         - Required dependency: graphene
         - Required dependency: libxkbcommon
         - Required dependency: iso-codes
         - Required dependency: libepoxy
         - Required dependency: fribidi
         - Required dependency: wayland-protocols
         - Recommended dependency: adwaita-icon-theme (default for some
 gtk4 settings keys)
         - Recommended dependency: hicolor-icon-theme (needed for tests)
         - Recommended dependency (Required if building GNOME): gobject-
 introspection
         - Recommended dependency: ffmpeg
         - Recommended dependency: gst-plugins-bad
         - Recommended dependency: librsvg
         - Optional dependency: sassc
         - Optional dependency: tracker3
         - Optional dependency: colord
         - Optional dependency: cups
         - Optional dependency: rest
         - Optional dependency: json-glib
         - Optional external dependency: gi-docgen
 (https://gitlab.gnome.org/ebassi/gi-docgen)
         - Optional external dependency: libcloudproviders
 (https://gitlab.gnome.org/World/libcloudproviders)
         - Optional external dependency: vulkan
 (https://vulkan.lunarg.com/sdk/home)

 INSTALLED FILES:
         - Installed program: gtk4-broadwayd
         - Installed program: gtk4-builder-tool
         - Installed program: gtk4-demo
         - Installed program: gtk4-demo-application
         - Installed program: gtk4-encode-symbolic-svg
         - Installed program: gtk4-icon-browser
         - Installed program: gtk4-launch
         - Installed program: gtk4-print-editor
         - Installed program: gtk4-query-settings
         - Installed program: gtk4-update-icon-cache
         - Installed program: gtk4-widget-factory
         - Installed directory: /usr/include/gtk-4.0
         - Installed directory: /usr/lib/gtk-4.0
         - Installed library: libgtk-4.so
         - Installed directory: /usr/share/gtk-4.0

 DESCRIPTION: The GTK 4 package contains libraries used for creating
 graphical user interfaces for applications.

 INSTALLATION COMMANDS:

 mkdir build &&
 cd       build &&
 meson --prefix=/usr -Dbroadway_backend=true ..
 ninja
 ninja test
 ninja install

 TEST SUITE:
         - Make a note about the tests needing to be run in a Wayland
 session, otherwise significant failures will occur.
         Ok:                 690
         Expected Fail:      1
         Fail:               21
         Unexpected Pass:    0
         Skipped:            1
         Timeout:            0
         Most of the tests that fail are related to gtk:reftest and
 gtk:gsk, similar to gtk3.

 COMMAND EXPLANATIONS:
         -Dbroadway_backend=true: This switch enables the HTML5 GDK
 backend.
         -Dcloudproviders=enabled: Use this switch if you have [INSERT LINK
 TO LIBCLOUDPROVIDERS HERE] installed and wish to enable support for cloud
 providers in the File window.
         -Dsysprof=enabled: Use this switch if you have [insert xref to
 sysprof here] installed and wish to enable tracing support for GTK4
 applications.
         -Dtracker=enabled: Use this switch if you have [insert xref to
 tracker3 here] installed and wish to use search functionality when running
 a file chooser.
         -Dcolord=enabled: Use this switch if you have [insert xref to
 colord here] installed and wish to use colord with the CUPS printing
 backend.
         -Dsassc=enabled: Use this switch if you have [insert xref to sassc
 here] installed and wish to rebuild the themes.
         -Dgtk_doc=true: Use this switch if you have [insert xref to
 gtk_doc here] installed and wish to generate the API reference
 documentation.

 SHORT DESCRIPTIONS:
         gtk4-broadwayd:  provides support for displaying GTK 4
 applications in a web browser, using HTML5 and web sockets
         gtk4-builder-tool: performs various operations on GtkBuilder .ui
 files
         gtk4-demo: is a simple program that demonstrates some of the tasks
 that can be done with GTK 4
         gtk4-demo-application: is a simple GTK 4 application which is
 useful for testing
         gtk4-encode-symbolic-svg: converts symbolic SVG icons into special
 PNG files. GTK4 can load and recolor these PNGs, just like original SVGs,
 but loading them is much faster
         gtk4-icon-browser: is a utility to explore the icons in the
 current icon theme. It shows icons in various sizes, their symbolic
 variants when avaialble, as well as a description of the icon and its
 context
         gtk4-launch: launches an application using the given name. The
 name should match the application desktop file name, as residing in
 /usr/share/applications, with or without the '.desktop' suffix
         gtk4-print-editor: is a simple program to demonstrate printing
 using GTK4 applications
         gtk4-query-settings: provides a complete listing of all settings
 related to GTK4
         gtk4-update-icon-cache: is an icon theme caching utility that
 creates mmap()able cache files for icon themes
         gtk4-widget-factory: is a program to view GTK4 themes and widgets
         libgtk-4.so: contains functions that provide an API to implement
 graphical user interfaces

 LOCATION: X Libraries

 XREF ID MARKER: gtk4

 NOTES:

 - Copy the Configuration Information from gtk+3, but adapt it to gtk4.
 - Leave the gtk.css stuff out.
 - Change the URL for the settings to
 https://developer.gnome.org/gtk4/stable/GtkSettings.html.
 - Change /etc/gtk-3[...] to /usr/share/gtk-4.0/settings.ini

 [Settings]
 gtk-theme-name = Adwaita
 gtk-icon-theme-name = oxygen
 gtk-font-name = DejaVu Sans 12
 gtk-cursor-theme-size = 18
 *** REMOVE *** gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ
 gtk-xft-antialias = 1
 gtk-xft-hinting = 1
 gtk-xft-hintstyle = hintslight
 gtk-xft-rgba = rgb
 gtk-cursor-theme-name = Adwaita

 Change external deps to internal on: vte, gjs, webkitgtk
 }}}

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/14798#comment:28>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to