Modify debian/control.

This commit is contained in:
su-fang 2023-02-20 17:15:32 +08:00 committed by cckylin-cibot
parent 15cd5c07b0
commit 9f8bb027ea
46 changed files with 3820 additions and 306 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
glib2.0 (2.74.5-ok2) yangtze; urgency=medium
* Apply patchs.
-- sufang <sufang@kylinos.cn> Thu, 16 Feb 2023 17:17:04 +0800
glib2.0 (2.74.5-ok1) yangtze; urgency=medium
* Update upstream version.

2
debian/clean vendored
View File

@ -1,5 +1,3 @@
debian/cross.txt
debian/cross.txt.in
debian/libglib2.0-0.triggers
debian/libglib2.0-0.postinst
debian/libglib2.0-0.postrm

87
debian/control vendored
View File

@ -5,44 +5,41 @@
Source: glib2.0
Section: libs
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: Iain Lane <laney@debian.org>
Build-Depends: dbus <!nocheck>,
debhelper-compat (= 12),
desktop-file-utils <!nocheck>,
dh-exec,
dh-python,
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Build-Depends: dbus-daemon <!nocheck> <!noinsttest>,
debhelper-compat (= 13),
dh-sequence-python3,
dh-sequence-gnome,
docbook-xml,
docbook-xsl,
dpkg-dev (>= 1.17.14),
gettext,
gnome-pkg-tools (>= 0.11),
gtk-doc-tools (>= 1.32-4~),
libdbus-1-dev (>= 1.2.14) <!nocheck> <!noinsttest>,
libelf-dev (>= 0.142),
libdbus-1-dev <!nocheck> <!noinsttest>,
libelf-dev,
libffi-dev (>= 3.3),
libgamin-dev [!linux-any] | libfam-dev [!linux-any],
libmount-dev (>= 2.28) [linux-any],
libpcre3-dev (>= 1:8.35),
libmount-dev (>= 2.35.2-7~) [linux-any],
libpcre2-dev,
libselinux1-dev [linux-any],
libxml2-utils,
linux-libc-dev [linux-any],
meson (>= 0.52.0),
pkg-config (>= 0.16.0),
python3-dbus <!nocheck>,
meson (>= 0.60.0),
pkg-config,
python3-distutils,
python3-gi <!nocheck>,
python3:any (>= 2.7.5-5~),
shared-mime-info <!nocheck>,
tzdata <!nocheck>,
python3:any,
xsltproc,
xterm <!nocheck>,
zlib1g-dev
Build-Depends-Arch: desktop-file-utils <!nocheck>,
locales <!nocheck> | locales-all <!nocheck>,
python3-dbus <!nocheck>,
python3-gi <!nocheck>,
shared-mime-info <!nocheck>,
tzdata <!nocheck>,
xterm <!nocheck>
Build-Depends-Indep: gtk-doc-tools (>= 1.32.1),
Rules-Requires-Root: no
Standards-Version: 4.5.0
Homepage: http://www.gtk.org/
Vcs-Browser: https://salsa.debian.org/gnome-team/glib
Vcs-Git: https://salsa.debian.org/gnome-team/glib.git
Standards-Version: 4.6.2
Homepage: https://wiki.gnome.org/Projects/GLib
Vcs-Browser: https://gitee.com/openkylin/glib2.0
Vcs-Git: https://gitee.com/openkylin/glib2.0.git
Package: libglib2.0-0
Architecture: any
@ -50,11 +47,15 @@ Depends: ${misc:Depends},
${shlibs:Depends}
Recommends: libglib2.0-data,
shared-mime-info,
xdg-user-dirs
xdg-user-dirs,
Breaks: gimp (<< 2.10.14-3~),
glib-networking-tests (<< 2.63.2),
glib-networking-tests (<< 2.70.0~),
gnome-keyring (<< 40.0-3~),
libedataserver-1.2-26 (<< 3.44.3-2~),
libgirepository-1.0-1 (<< 1.62.0-4~),
libgladeui-2-6 (<< 3.22.2)
libgladeui-2-6 (<< 3.22.2),
libsoup2.4-tests (<< 2.72.0-3~),
Suggests: low-memory-monitor
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Description: GLib library of C routines
@ -67,7 +68,8 @@ Description: GLib library of C routines
Package: libglib2.0-tests
Build-profiles: <!noinsttest>
Architecture: any
Depends: gir1.2-glib-2.0,
Depends: desktop-file-utils,
gir1.2-glib-2.0,
libglib2.0-dev-bin,
python3-dbus,
python3-dbusmock,
@ -107,8 +109,7 @@ Package: libglib2.0-bin
Section: misc
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: libglib2.0-0 (= ${binary:Version}),
libglib2.0-data,
Depends: libglib2.0-data,
${misc:Depends},
${shlibs:Depends}
Multi-Arch: foreign
@ -128,8 +129,8 @@ Depends: libffi-dev (>= 3.3),
libglib2.0-0 (= ${binary:Version}),
libglib2.0-bin (= ${binary:Version}),
libglib2.0-dev-bin (= ${binary:Version}),
libmount-dev (>= 2.28) [linux-any],
libpcre3-dev (>= 1:8.31),
libmount-dev (>= 2.35.2-7~) [linux-any],
libpcre2-dev,
libselinux1-dev [linux-any],
pkg-config,
zlib1g-dev,
@ -159,12 +160,8 @@ Depends: python3-distutils,
${misc:Depends},
${python3:Depends},
${shlibs:Depends}
Suggests: libgdk-pixbuf2.0-bin (>= 2.36.12-2~) | libgdk-pixbuf2.0-dev,
Suggests: libgdk-pixbuf2.0-bin,
libxml2-utils
Breaks: libglib2.0-bin (<< 2.54.2-5~),
libglib2.0-dev (<< 2.53)
Replaces: libglib2.0-bin (<< 2.54.2-5~),
libglib2.0-dev (<< 2.53)
Multi-Arch: foreign
Description: Development utilities for the GLib library
GLib is a library containing many useful C routines for things such
@ -200,13 +197,3 @@ Description: Documentation files for the GLib library
.
This package contains the HTML documentation for the GLib library
in /usr/share/doc/libglib2.0-doc/ .
Package: libgio-fam
Architecture: hurd-any kfreebsd-any
Depends: ${misc:Depends},
${shlibs:Depends}
Recommends: gamin
Multi-Arch: same
Description: GLib Input, Output and Streaming Library (fam module)
GIO is the input, output and streaming API of GLib. This package
provides a fam file and directory monitoring backend for it.

87
debian/control.in vendored
View File

@ -1,44 +1,41 @@
Source: glib2.0
Section: libs
Priority: optional
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Uploaders: @GNOME_TEAM@
Build-Depends: dbus <!nocheck>,
debhelper-compat (= 12),
desktop-file-utils <!nocheck>,
dh-exec,
dh-python,
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Build-Depends: dbus-daemon <!nocheck> <!noinsttest>,
debhelper-compat (= 13),
dh-sequence-python3,
dh-sequence-gnome,
docbook-xml,
docbook-xsl,
dpkg-dev (>= 1.17.14),
gettext,
gnome-pkg-tools (>= 0.11),
gtk-doc-tools (>= 1.32-4~),
libdbus-1-dev (>= 1.2.14) <!nocheck> <!noinsttest>,
libelf-dev (>= 0.142),
libdbus-1-dev <!nocheck> <!noinsttest>,
libelf-dev,
libffi-dev (>= 3.3),
libgamin-dev [!linux-any] | libfam-dev [!linux-any],
libmount-dev (>= 2.28) [linux-any],
libpcre3-dev (>= 1:8.35),
libmount-dev (>= 2.35.2-7~) [linux-any],
libpcre2-dev,
libselinux1-dev [linux-any],
libxml2-utils,
linux-libc-dev [linux-any],
meson (>= 0.52.0),
pkg-config (>= 0.16.0),
python3-dbus <!nocheck>,
meson (>= 0.60.0),
pkg-config,
python3-distutils,
python3-gi <!nocheck>,
python3:any (>= 2.7.5-5~),
shared-mime-info <!nocheck>,
tzdata <!nocheck>,
python3:any,
xsltproc,
xterm <!nocheck>,
zlib1g-dev
Build-Depends-Arch: desktop-file-utils <!nocheck>,
locales <!nocheck> | locales-all <!nocheck>,
python3-dbus <!nocheck>,
python3-gi <!nocheck>,
shared-mime-info <!nocheck>,
tzdata <!nocheck>,
xterm <!nocheck>
Build-Depends-Indep: gtk-doc-tools (>= 1.32.1),
Rules-Requires-Root: no
Standards-Version: 4.5.0
Homepage: http://www.gtk.org/
Vcs-Browser: https://salsa.debian.org/gnome-team/glib
Vcs-Git: https://salsa.debian.org/gnome-team/glib.git
Standards-Version: 4.6.2
Homepage: https://wiki.gnome.org/Projects/GLib
Vcs-Browser: https://gitee.com/openkylin/glib2.0
Vcs-Git: https://gitee.com/openkylin/glib2.0.git
Package: libglib2.0-0
Architecture: any
@ -46,11 +43,15 @@ Depends: ${misc:Depends},
${shlibs:Depends}
Recommends: libglib2.0-data,
shared-mime-info,
xdg-user-dirs
xdg-user-dirs,
Breaks: gimp (<< 2.10.14-3~),
glib-networking-tests (<< 2.63.2),
glib-networking-tests (<< 2.70.0~),
gnome-keyring (<< 40.0-3~),
libedataserver-1.2-26 (<< 3.44.3-2~),
libgirepository-1.0-1 (<< 1.62.0-4~),
libgladeui-2-6 (<< 3.22.2)
libgladeui-2-6 (<< 3.22.2),
libsoup2.4-tests (<< 2.72.0-3~),
Suggests: low-memory-monitor
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Description: GLib library of C routines
@ -63,7 +64,8 @@ Description: GLib library of C routines
Package: libglib2.0-tests
Build-profiles: <!noinsttest>
Architecture: any
Depends: gir1.2-glib-2.0,
Depends: desktop-file-utils,
gir1.2-glib-2.0,
libglib2.0-dev-bin,
python3-dbus,
python3-dbusmock,
@ -103,8 +105,7 @@ Package: libglib2.0-bin
Section: misc
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: libglib2.0-0 (= ${binary:Version}),
libglib2.0-data,
Depends: libglib2.0-data,
${misc:Depends},
${shlibs:Depends}
Multi-Arch: foreign
@ -124,8 +125,8 @@ Depends: libffi-dev (>= 3.3),
libglib2.0-0 (= ${binary:Version}),
libglib2.0-bin (= ${binary:Version}),
libglib2.0-dev-bin (= ${binary:Version}),
libmount-dev (>= 2.28) [linux-any],
libpcre3-dev (>= 1:8.31),
libmount-dev (>= 2.35.2-7~) [linux-any],
libpcre2-dev,
libselinux1-dev [linux-any],
pkg-config,
zlib1g-dev,
@ -155,12 +156,8 @@ Depends: python3-distutils,
${misc:Depends},
${python3:Depends},
${shlibs:Depends}
Suggests: libgdk-pixbuf2.0-bin (>= 2.36.12-2~) | libgdk-pixbuf2.0-dev,
Suggests: libgdk-pixbuf2.0-bin,
libxml2-utils
Breaks: libglib2.0-bin (<< 2.54.2-5~),
libglib2.0-dev (<< 2.53)
Replaces: libglib2.0-bin (<< 2.54.2-5~),
libglib2.0-dev (<< 2.53)
Multi-Arch: foreign
Description: Development utilities for the GLib library
GLib is a library containing many useful C routines for things such
@ -196,13 +193,3 @@ Description: Documentation files for the GLib library
.
This package contains the HTML documentation for the GLib library
in /usr/share/doc/libglib2.0-doc/ .
Package: libgio-fam
Architecture: hurd-any kfreebsd-any
Depends: ${misc:Depends},
${shlibs:Depends}
Recommends: gamin
Multi-Arch: same
Description: GLib Input, Output and Streaming Library (fam module)
GIO is the input, output and streaming API of GLib. This package
provides a fam file and directory monitoring backend for it.

View File

@ -1,12 +0,0 @@
#!/bin/sh
# Fallback implementation of gio-launch-desktop. If we upgrade from a
# GLib version between 2.57.2 and 2.63.5, as long as that version is
# still loaded into some process, it requires this executable to launch
# .desktop files.
#
# This script will be removed after Ubuntu 20.04 and Debian 11 are released.
# Do not rely on it.
set -eu
export GIO_LAUNCHED_DESKTOP_FILE_PID="$$"
exec "$@"

View File

@ -1 +0,0 @@
usr/lib/*/gio

1
debian/libglib2.0-0.dirs vendored Executable file → Normal file
View File

@ -1,3 +1,2 @@
#!/usr/bin/dh-exec
/usr/lib/${DEB_HOST_MULTIARCH}/gio/modules
/usr/share/glib-2.0/schemas

6
debian/libglib2.0-0.install vendored Executable file → Normal file
View File

@ -1,8 +1,8 @@
#!/usr/bin/dh-exec
usr/lib/*/glib-2.0/gio-launch-desktop
usr/lib/*/glib-2.0/gio-querymodules
usr/lib/*/glib-2.0/glib-compile-schemas
usr/lib/*/libglib*.so.*
usr/lib/*/libgobject*.so.*
usr/lib/*/libgmodule*.so.*
usr/lib/*/libgthread*.so.*
usr/lib/*/libgio*.so.*
usr/bin/gio-querymodules usr/lib/${DEB_HOST_MULTIARCH}/glib-2.0
usr/bin/glib-compile-schemas usr/lib/${DEB_HOST_MULTIARCH}/glib-2.0

View File

@ -1,7 +1,7 @@
# GObject uses GLib functions instead of using libc directly
libglib2.0-0: hardening-no-fortify-functions usr/lib/*/libgobject-2.0.so.*
libglib2.0-0: hardening-no-fortify-functions [usr/lib/*/libgobject-2.0.so.*]
# It's a deliberate choice of bundling them together
libglib2.0-0: package-name-doesnt-match-sonames libgio-2.0-0 libglib-2.0-0 libgmodule-2.0-0 libgobject-2.0-0 libgthread-2.0-0
# These empty directories are deliberate.
libglib2.0-0: package-contains-empty-directory usr/lib/*/gio/modules/
libglib2.0-0: package-contains-empty-directory usr/share/glib-2.0/schemas/
libglib2.0-0: package-contains-empty-directory [usr/lib/*/gio/modules/]
libglib2.0-0: package-contains-empty-directory [usr/share/glib-2.0/schemas/]

View File

@ -17,19 +17,11 @@ handle_triggers () {
"/usr/lib/#MULTIARCH#/glib-2.0/glib-compile-schemas" /usr/share/glib-2.0/schemas || true
;;
"/usr/lib/#MULTIARCH#/gio/modules"|/usr/lib/gio/modules)
"/usr/lib/#MULTIARCH#/gio/modules")
# This is triggered everytime an application installs a GIO
# module into /usr/lib/#MULTIARCH#/gio/modules or the
# backwards-compatible /usr/lib/gio/modules directory
# module into /usr/lib/#MULTIARCH#/gio/modules
# The /usr/lib/gio/modules directory is no longer shipped by
# libglib2.0 itself so we need to check to avoid a warning from
# gio-querymodules
dirs="/usr/lib/#MULTIARCH#/gio/modules"
if [ -d /usr/lib/gio/modules ] && [ $(dpkg --print-architecture) = "#ARCH#" ]; then
dirs="$dirs /usr/lib/gio/modules"
fi
"/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules" $dirs || true
"/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules" "/usr/lib/#MULTIARCH#/gio/modules" || true
;;
esac
done
@ -42,15 +34,19 @@ fi
#DEBHELPER#
# Also handle the initial installation
if [ -d /usr/share/glib-2.0/schemas ]; then
"/usr/lib/#MULTIARCH#/glib-2.0/glib-compile-schemas" /usr/share/glib-2.0/schemas || true
fi
if [ -d "/usr/lib/#MULTIARCH#/gio/modules" ]; then
"/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules" "/usr/lib/#MULTIARCH#/gio/modules" || true
fi
if [ -d /usr/lib/gio/modules ] && [ $(dpkg --print-architecture) = "#ARCH#" ]; then
"/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules" /usr/lib/gio/modules || true
# This is shipped in the .deb (see debian/libglib2.0-0.dirs) but would
# be removed if empty during upgrade by old versions of the postrm (#987913).
# This workaround can be removed after Debian 12 and Ubuntu 22.04 are released.
install -d "/usr/lib/#MULTIARCH#/gio/modules"
"/usr/lib/#MULTIARCH#/glib-2.0/glib-compile-schemas" /usr/share/glib-2.0/schemas || true
"/usr/lib/#MULTIARCH#/glib-2.0/gio-querymodules" "/usr/lib/#MULTIARCH#/gio/modules" || true
# Clean up pre-multiarch giomodule.cache.
# This workaround can be removed after Debian 12 and Ubuntu 22.04 are released.
if [ -d /usr/lib/gio/modules ]; then
rm -f /usr/lib/gio/modules/giomodule.cache
rmdir -p --ignore-fail-on-non-empty /usr/lib/gio/modules
fi
# vim:set sw=4 sts=4 et:

View File

@ -3,18 +3,15 @@ set -e
#DEBHELPER#
if [ -d /usr/lib/#MULTIARCH#/gio/modules ]; then
# Purge the cache
rm -f /usr/lib/#MULTIARCH#/gio/modules/giomodule.cache
rmdir -p --ignore-fail-on-non-empty /usr/lib/#MULTIARCH#/gio/modules
fi
if [ -d /usr/lib/gio/modules ]; then
# Purge the cache
if [ $(dpkg --print-architecture) = #ARCH# ]; then
rm -f /usr/lib/gio/modules/giomodule.cache
rmdir -p --ignore-fail-on-non-empty /usr/lib/gio/modules
fi
fi
case "$1" in
(remove|purge)
if [ -d /usr/lib/#MULTIARCH#/gio/modules ]; then
# Purge the cache
rm -f /usr/lib/#MULTIARCH#/gio/modules/giomodule.cache
rmdir -p --ignore-fail-on-non-empty /usr/lib/#MULTIARCH#/gio/modules
fi
;;
esac
if [ "$1" = purge ] && [ -d /usr/share/glib-2.0/schemas ] && [ "$DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT" = 1 ]; then
# This is the last multiarch variant to be removed, so drop the

View File

@ -44,7 +44,11 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_app_info_get_all_for_type@Base 2.16.0
g_app_info_get_commandline@Base 2.20.0
g_app_info_get_default_for_type@Base 2.16.0
g_app_info_get_default_for_type_async@Base 2.73.2
g_app_info_get_default_for_type_finish@Base 2.73.2
g_app_info_get_default_for_uri_scheme@Base 2.16.0
g_app_info_get_default_for_uri_scheme_async@Base 2.73.2
g_app_info_get_default_for_uri_scheme_finish@Base 2.73.2
g_app_info_get_description@Base 2.16.0
g_app_info_get_display_name@Base 2.24.0
g_app_info_get_executable@Base 2.16.0
@ -366,6 +370,8 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_dbus_error_set_dbus_error_valist@Base 2.26.0
g_dbus_error_strip_remote_error@Base 2.26.0
g_dbus_error_unregister_error@Base 2.26.0
g_dbus_escape_object_path@Base 2.67.3
g_dbus_escape_object_path_bytestring@Base 2.67.3
g_dbus_generate_guid@Base 2.26.0
g_dbus_gvalue_to_gvariant@Base 2.30.0
g_dbus_gvariant_to_gvalue@Base 2.30.0
@ -399,6 +405,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_dbus_interface_skeleton_unexport@Base 2.30.0
g_dbus_interface_skeleton_unexport_from_connection@Base 2.31.8
g_dbus_is_address@Base 2.26.0
g_dbus_is_error_name@Base 2.70.0
g_dbus_is_guid@Base 2.26.0
g_dbus_is_interface_name@Base 2.26.0
g_dbus_is_member_name@Base 2.26.0
@ -566,7 +573,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_dbus_server_get_guid@Base 2.26.0
g_dbus_server_get_type@Base 2.26.0
g_dbus_server_is_active@Base 2.26.0
g_dbus_server_new_sync@Base 2.26.0
g_dbus_server_new_sync@Base 2.68.0
g_dbus_server_start@Base 2.26.0
g_dbus_server_stop@Base 2.26.0
g_dbus_signal_flags_get_type@Base 2.26.0
@ -574,6 +581,13 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_dbus_signal_info_ref@Base 2.26.0
g_dbus_signal_info_unref@Base 2.26.0
g_dbus_subtree_flags_get_type@Base 2.26.0
g_dbus_unescape_object_path@Base 2.67.3
g_debug_controller_dbus_get_type@Base 2.71.1
g_debug_controller_dbus_new@Base 2.71.1
g_debug_controller_dbus_stop@Base 2.71.2
g_debug_controller_get_debug_enabled@Base 2.71.1
g_debug_controller_get_type@Base 2.71.1
g_debug_controller_set_debug_enabled@Base 2.71.1
g_desktop_app_info_get_action_name@Base 2.37.5
g_desktop_app_info_get_boolean@Base 2.35.8
g_desktop_app_info_get_categories@Base 2.30.0
@ -644,11 +658,14 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_dtls_connection_close_finish@Base 2.47.5
g_dtls_connection_emit_accept_certificate@Base 2.47.5
g_dtls_connection_get_certificate@Base 2.47.5
g_dtls_connection_get_channel_binding_data@Base 2.65.1
g_dtls_connection_get_ciphersuite_name@Base 2.70.0
g_dtls_connection_get_database@Base 2.47.5
g_dtls_connection_get_interaction@Base 2.47.5
g_dtls_connection_get_negotiated_protocol@Base 2.59.0
g_dtls_connection_get_peer_certificate@Base 2.47.5
g_dtls_connection_get_peer_certificate_errors@Base 2.47.5
g_dtls_connection_get_protocol_version@Base 2.70.0
g_dtls_connection_get_rehandshake_mode@Base 2.47.5
g_dtls_connection_get_require_close_notify@Base 2.47.5
g_dtls_connection_get_type@Base 2.47.5
@ -701,6 +718,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_file_attribute_matcher_unref@Base 2.16.0
g_file_attribute_status_get_type@Base 2.16.0
g_file_attribute_type_get_type@Base 2.16.0
g_file_build_attribute_list_for_copy@Base 2.67.1
g_file_copy@Base 2.16.0
g_file_copy_async@Base 2.16.0
g_file_copy_attributes@Base 2.16.0
@ -763,6 +781,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_file_info_clear_status@Base 2.16.0
g_file_info_copy_into@Base 2.16.0
g_file_info_dup@Base 2.16.0
g_file_info_get_access_date_time@Base 2.70.0
g_file_info_get_attribute_as_string@Base 2.16.0
g_file_info_get_attribute_boolean@Base 2.16.0
g_file_info_get_attribute_byte_string@Base 2.16.0
@ -777,6 +796,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_file_info_get_attribute_uint32@Base 2.16.0
g_file_info_get_attribute_uint64@Base 2.16.0
g_file_info_get_content_type@Base 2.16.0
g_file_info_get_creation_date_time@Base 2.70.0
g_file_info_get_deletion_date@Base 2.35.8
g_file_info_get_display_name@Base 2.16.0
g_file_info_get_edit_name@Base 2.16.0
@ -799,6 +819,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_file_info_list_attributes@Base 2.16.0
g_file_info_new@Base 2.16.0
g_file_info_remove_attribute@Base 2.16.0
g_file_info_set_access_date_time@Base 2.70.0
g_file_info_set_attribute@Base 2.16.0
g_file_info_set_attribute_boolean@Base 2.16.0
g_file_info_set_attribute_byte_string@Base 2.16.0
@ -812,6 +833,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_file_info_set_attribute_uint32@Base 2.16.0
g_file_info_set_attribute_uint64@Base 2.16.0
g_file_info_set_content_type@Base 2.16.0
g_file_info_set_creation_date_time@Base 2.70.0
g_file_info_set_display_name@Base 2.16.0
g_file_info_set_edit_name@Base 2.16.0
g_file_info_set_file_type@Base 2.16.0
@ -849,6 +871,8 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_file_make_directory_finish@Base 2.37.0
g_file_make_directory_with_parents@Base 2.18.0
g_file_make_symbolic_link@Base 2.16.0
g_file_make_symbolic_link_async@Base 2.73.2
g_file_make_symbolic_link_finish@Base 2.73.2
g_file_measure_disk_usage@Base 2.37.93
g_file_measure_disk_usage_async@Base 2.37.93
g_file_measure_disk_usage_finish@Base 2.37.93
@ -869,12 +893,18 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_file_mount_mountable@Base 2.16.0
g_file_mount_mountable_finish@Base 2.16.0
g_file_move@Base 2.16.0
g_file_move_async@Base 2.71.2
g_file_move_finish@Base 2.71.2
g_file_new_build_filename@Base 2.55.1
g_file_new_for_commandline_arg@Base 2.16.0
g_file_new_for_commandline_arg_and_cwd@Base 2.35.8
g_file_new_for_path@Base 2.16.0
g_file_new_for_uri@Base 2.16.0
g_file_new_tmp@Base 2.31.8
g_file_new_tmp_async@Base 2.73.2
g_file_new_tmp_dir_async@Base 2.73.2
g_file_new_tmp_dir_finish@Base 2.73.2
g_file_new_tmp_finish@Base 2.73.2
g_file_open_readwrite@Base 2.22.0
g_file_open_readwrite_async@Base 2.22.0
g_file_open_readwrite_finish@Base 2.22.0
@ -1025,6 +1055,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_input_stream_skip_finish@Base 2.16.0
g_io_error_enum_get_type@Base 2.16.0
g_io_error_from_errno@Base 2.16.0
g_io_error_from_file_error@Base 2.73.2
g_io_error_quark@Base 2.16.0
g_io_extension_get_name@Base 2.16.0
g_io_extension_get_priority@Base 2.16.0
@ -1074,6 +1105,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_list_store_append@Base 2.43.4
g_list_store_find@Base 2.63.3
g_list_store_find_with_equal_func@Base 2.63.3
g_list_store_find_with_equal_func_full@Base 2.73.1
g_list_store_get_type@Base 2.43.4
g_list_store_insert@Base 2.43.4
g_list_store_insert_sorted@Base 2.43.4
@ -1250,6 +1282,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_notification_new@Base 2.39.4
g_notification_priority_get_type@Base 2.41.2
g_notification_set_body@Base 2.39.4
g_notification_set_category@Base 2.70.0
g_notification_set_default_action@Base 2.39.4
g_notification_set_default_action_and_target@Base 2.39.4
g_notification_set_default_action_and_target_value@Base 2.39.4
@ -1320,6 +1353,9 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_pollable_stream_read@Base 2.33.14
g_pollable_stream_write@Base 2.33.14
g_pollable_stream_write_all@Base 2.33.14
g_power_profile_monitor_dup_default@Base 2.70.0
g_power_profile_monitor_get_power_saver_enabled@Base 2.70.0
g_power_profile_monitor_get_type@Base 2.70.0
g_property_action_get_type@Base 2.37.5
g_property_action_new@Base 2.37.5
g_proxy_address_enumerator_get_type@Base 2.26.0
@ -1370,6 +1406,8 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_resolver_lookup_service_finish@Base 2.22.0
g_resolver_name_lookup_flags_get_type@Base 2.59.0
g_resolver_record_type_get_type@Base 2.33.14
g_resolver_record_type_to_rrtype@Base 2.72.1
g_resolver_records_from_res_query@Base 2.71.0
g_resolver_set_default@Base 2.22.0
g_resource_enumerate_children@Base 2.31.18
g_resource_error_get_type@Base 2.31.18
@ -1708,6 +1746,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_subprocess_get_successful@Base 2.39.4
g_subprocess_get_term_sig@Base 2.39.4
g_subprocess_get_type@Base 2.39.4
g_subprocess_launcher_close@Base 2.67.1
g_subprocess_launcher_get_type@Base 2.39.4
g_subprocess_launcher_getenv@Base 2.39.4
g_subprocess_launcher_new@Base 2.39.4
@ -1811,15 +1850,27 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_tls_backend_supports_dtls@Base 2.47.5
g_tls_backend_supports_tls@Base 2.28.0
g_tls_certificate_flags_get_type@Base 2.28.0
g_tls_certificate_get_dns_names@Base 2.70.0
g_tls_certificate_get_ip_addresses@Base 2.70.0
g_tls_certificate_get_issuer@Base 2.28.0
g_tls_certificate_get_issuer_name@Base 2.70.0
g_tls_certificate_get_not_valid_after@Base 2.70.0
g_tls_certificate_get_not_valid_before@Base 2.70.0
g_tls_certificate_get_subject_name@Base 2.70.0
g_tls_certificate_get_type@Base 2.28.0
g_tls_certificate_is_same@Base 2.33.14
g_tls_certificate_list_new_from_file@Base 2.28.0
g_tls_certificate_new_from_file@Base 2.28.0
g_tls_certificate_new_from_file_with_password@Base 2.71.1
g_tls_certificate_new_from_files@Base 2.28.0
g_tls_certificate_new_from_pem@Base 2.28.0
g_tls_certificate_new_from_pkcs11_uris@Base 2.67.1
g_tls_certificate_new_from_pkcs12@Base 2.71.1
g_tls_certificate_request_flags_get_type@Base 2.39.4
g_tls_certificate_verify@Base 2.28.0
g_tls_channel_binding_error_get_type@Base 2.65.1
g_tls_channel_binding_error_quark@Base 2.65.1
g_tls_channel_binding_type_get_type@Base 2.65.1
g_tls_client_connection_copy_session_state@Base 2.45.1
g_tls_client_connection_get_accepted_cas@Base 2.28.0
g_tls_client_connection_get_server_identity@Base 2.28.0
@ -1832,11 +1883,14 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_tls_client_connection_set_validation_flags@Base 2.28.0
g_tls_connection_emit_accept_certificate@Base 2.28.0
g_tls_connection_get_certificate@Base 2.28.0
g_tls_connection_get_channel_binding_data@Base 2.65.1
g_tls_connection_get_ciphersuite_name@Base 2.70.0
g_tls_connection_get_database@Base 2.30.0
g_tls_connection_get_interaction@Base 2.30.0
g_tls_connection_get_negotiated_protocol@Base 2.59.0
g_tls_connection_get_peer_certificate@Base 2.28.0
g_tls_connection_get_peer_certificate_errors@Base 2.28.0
g_tls_connection_get_protocol_version@Base 2.70.0
g_tls_connection_get_rehandshake_mode@Base 2.28.0
g_tls_connection_get_require_close_notify@Base 2.28.0
g_tls_connection_get_type@Base 2.28.0
@ -1893,6 +1947,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_tls_password_set_value@Base 2.30.0
g_tls_password_set_value_full@Base 2.30.0
g_tls_password_set_warning@Base 2.30.0
g_tls_protocol_version_get_type@Base 2.70.0
g_tls_rehandshake_mode_get_type@Base 2.28.0
g_tls_server_connection_get_type@Base 2.28.0
g_tls_server_connection_new@Base 2.28.0
@ -1954,6 +2009,7 @@ libgio-2.0.so.0 libglib2.0-0 #MINVER#
g_unix_mount_monitor_get_type@Base 2.16.0
g_unix_mount_monitor_new@Base 2.16.0
g_unix_mount_monitor_set_rate_limit@Base 2.18.0
g_unix_mount_point_at@Base 2.65.1
g_unix_mount_point_compare@Base 2.16.0
g_unix_mount_point_copy@Base 2.53.1
g_unix_mount_point_free@Base 2.16.0
@ -2038,6 +2094,9 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
* Build-Depends-Package: libglib2.0-dev
__glib_assert_msg@Base 2.37.6
g_access@Base 2.12.0
g_aligned_alloc@Base 2.71.2
g_aligned_alloc0@Base 2.71.2
g_aligned_free@Base 2.71.2
g_allocator_free@Base 2.12.0
g_allocator_new@Base 2.12.0
g_array_append_vals@Base 2.12.0
@ -2079,6 +2138,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_assertion_message@Base 2.16.0
g_assertion_message_cmpnum@Base 2.16.0
g_assertion_message_cmpstr@Base 2.16.0
g_assertion_message_cmpstrv@Base 2.67.1
g_assertion_message_error@Base 2.20.0
g_assertion_message_expr@Base 2.16.0
g_async_queue_length@Base 2.12.0
@ -2113,7 +2173,9 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_atomic_int_add@Base 2.12.0
g_atomic_int_and@Base 2.30.0
g_atomic_int_compare_and_exchange@Base 2.12.0
g_atomic_int_compare_and_exchange_full@Base 2.73.2
g_atomic_int_dec_and_test@Base 2.30.0
g_atomic_int_exchange@Base 2.73.1
g_atomic_int_exchange_and_add@Base 2.12.0
g_atomic_int_get@Base 2.12.0
g_atomic_int_inc@Base 2.30.0
@ -2123,6 +2185,8 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_atomic_pointer_add@Base 2.30.0
g_atomic_pointer_and@Base 2.30.0
g_atomic_pointer_compare_and_exchange@Base 2.12.0
g_atomic_pointer_compare_and_exchange_full@Base 2.73.2
g_atomic_pointer_exchange@Base 2.73.1
g_atomic_pointer_get@Base 2.12.0
g_atomic_pointer_or@Base 2.30.0
g_atomic_pointer_set@Base 2.12.0
@ -2157,7 +2221,9 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_bookmark_file_error_quark@Base 2.12.0
g_bookmark_file_free@Base 2.12.0
g_bookmark_file_get_added@Base 2.12.0
g_bookmark_file_get_added_date_time@Base 2.65.1
g_bookmark_file_get_app_info@Base 2.12.0
g_bookmark_file_get_application_info@Base 2.65.1
g_bookmark_file_get_applications@Base 2.12.0
g_bookmark_file_get_description@Base 2.12.0
g_bookmark_file_get_groups@Base 2.12.0
@ -2165,10 +2231,12 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_bookmark_file_get_is_private@Base 2.12.0
g_bookmark_file_get_mime_type@Base 2.12.0
g_bookmark_file_get_modified@Base 2.12.0
g_bookmark_file_get_modified_date_time@Base 2.65.1
g_bookmark_file_get_size@Base 2.12.0
g_bookmark_file_get_title@Base 2.12.0
g_bookmark_file_get_uris@Base 2.12.0
g_bookmark_file_get_visited@Base 2.12.0
g_bookmark_file_get_visited_date_time@Base 2.65.1
g_bookmark_file_has_application@Base 2.12.0
g_bookmark_file_has_group@Base 2.12.0
g_bookmark_file_has_item@Base 2.12.0
@ -2181,15 +2249,19 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_bookmark_file_remove_group@Base 2.12.0
g_bookmark_file_remove_item@Base 2.12.0
g_bookmark_file_set_added@Base 2.12.0
g_bookmark_file_set_added_date_time@Base 2.65.1
g_bookmark_file_set_app_info@Base 2.12.0
g_bookmark_file_set_application_info@Base 2.65.1
g_bookmark_file_set_description@Base 2.12.0
g_bookmark_file_set_groups@Base 2.12.0
g_bookmark_file_set_icon@Base 2.12.0
g_bookmark_file_set_is_private@Base 2.12.0
g_bookmark_file_set_mime_type@Base 2.12.0
g_bookmark_file_set_modified@Base 2.12.0
g_bookmark_file_set_modified_date_time@Base 2.65.1
g_bookmark_file_set_title@Base 2.12.0
g_bookmark_file_set_visited@Base 2.12.0
g_bookmark_file_set_visited_date_time@Base 2.65.1
g_bookmark_file_to_data@Base 2.12.0
g_bookmark_file_to_file@Base 2.12.0
g_build_filename@Base 2.12.0
@ -2216,6 +2288,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_bytes_compare@Base 2.31.8
g_bytes_equal@Base 2.31.8
g_bytes_get_data@Base 2.31.8
g_bytes_get_region@Base 2.70.0
g_bytes_get_size@Base 2.31.8
g_bytes_hash@Base 2.31.8
g_bytes_new@Base 2.31.8
@ -2288,6 +2361,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_datalist_get_flags@Base 2.12.0
g_datalist_id_dup_data@Base 2.33.14
g_datalist_id_get_data@Base 2.12.0
g_datalist_id_remove_multiple@Base 2.73.1
g_datalist_id_remove_no_notify@Base 2.12.0
g_datalist_id_replace_data@Base 2.33.14
g_datalist_id_set_data_full@Base 2.12.0
@ -2416,6 +2490,8 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_environ_setenv@Base 2.31.8
g_environ_unsetenv@Base 2.31.8
g_error_copy@Base 2.12.0
g_error_domain_register@Base 2.67.2
g_error_domain_register_static@Base 2.67.2
g_error_free@Base 2.12.0
g_error_matches@Base 2.12.0
g_error_new@Base 2.12.0
@ -2427,6 +2503,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_file_open_tmp@Base 2.12.0
g_file_read_link@Base 2.12.0
g_file_set_contents@Base 2.12.0
g_file_set_contents_full@Base 2.65.1
g_file_test@Base 2.12.0
g_filename_display_basename@Base 2.12.0
g_filename_display_name@Base 2.12.0
@ -2471,6 +2548,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_get_user_name@Base 2.12.0
g_get_user_runtime_dir@Base 2.28.0
g_get_user_special_dir@Base 2.14.0
g_get_user_state_dir@Base 2.71.1
g_getenv@Base 2.12.0
g_hash_table_add@Base 2.31.8
g_hash_table_contains@Base 2.31.8
@ -2493,6 +2571,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_hash_table_lookup_extended@Base 2.12.0
g_hash_table_new@Base 2.12.0
g_hash_table_new_full@Base 2.12.0
g_hash_table_new_similar@Base 2.71.1
g_hash_table_ref@Base 2.12.0
g_hash_table_remove@Base 2.12.0
g_hash_table_remove_all@Base 2.12.0
@ -2542,6 +2621,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_iconv_open@Base 2.12.0
g_idle_add@Base 2.12.0
g_idle_add_full@Base 2.12.0
g_idle_add_once@Base 2.73.1
g_idle_funcs@Base 2.12.0
g_idle_remove_by_data@Base 2.12.0
g_idle_source_new@Base 2.12.0
@ -2679,8 +2759,10 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_locale_to_utf8@Base 2.12.0
g_log@Base 2.12.0
g_log_default_handler@Base 2.12.0
g_log_get_debug_enabled@Base 2.71.1
g_log_remove_handler@Base 2.12.0
g_log_set_always_fatal@Base 2.12.0
g_log_set_debug_enabled@Base 2.71.1
g_log_set_default_handler@Base 2.12.0
g_log_set_fatal_mask@Base 2.12.0
g_log_set_handler@Base 2.12.0
@ -2691,6 +2773,8 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_log_structured_standard@Base 2.55.2
g_log_variant@Base 2.49.7
g_log_writer_default@Base 2.49.3
g_log_writer_default_set_use_stderr@Base 2.67.1
g_log_writer_default_would_drop@Base 2.67.1
g_log_writer_format_fields@Base 2.49.3
g_log_writer_is_journald@Base 2.49.3
g_log_writer_journald@Base 2.49.3
@ -2713,6 +2797,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_main_context_is_owner@Base 2.12.0
g_main_context_iteration@Base 2.12.0
g_main_context_new@Base 2.12.0
g_main_context_new_with_flags@Base 2.71.0
g_main_context_pending@Base 2.12.0
g_main_context_pop_thread_default@Base 2.22.0
g_main_context_prepare@Base 2.12.0
@ -2792,6 +2877,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_mem_is_system_malloc@Base 2.12.0
g_mem_profile@Base 2.12.0
g_mem_set_vtable@Base 2.12.0
g_memdup2@Base 2.67.3
g_memdup@Base 2.12.0
g_mkdir@Base 2.12.0
g_mkdir_with_parents@Base 2.12.0
@ -2882,14 +2968,18 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_pattern_match@Base 2.12.0
g_pattern_match_simple@Base 2.12.0
g_pattern_match_string@Base 2.12.0
g_pattern_spec_copy@Base 2.70.0
g_pattern_spec_equal@Base 2.12.0
g_pattern_spec_free@Base 2.12.0
g_pattern_spec_match@Base 2.70.0
g_pattern_spec_match_string@Base 2.70.0
g_pattern_spec_new@Base 2.12.0
g_pointer_bit_lock@Base 2.30.0
g_pointer_bit_trylock@Base 2.30.0
g_pointer_bit_unlock@Base 2.30.0
g_poll@Base 2.20.0
g_prefix_error@Base 2.16.0
g_prefix_error_literal@Base 2.70.0
g_print@Base 2.12.0
g_printerr@Base 2.12.0
g_printf@Base 2.12.0
@ -2909,8 +2999,10 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_ptr_array_foreach@Base 2.12.0
g_ptr_array_free@Base 2.12.0
g_ptr_array_insert@Base 2.39.4
g_ptr_array_is_null_terminated@Base 2.73.1
g_ptr_array_new@Base 2.12.0
g_ptr_array_new_full@Base 2.30.0
g_ptr_array_new_null_terminated@Base 2.73.1
g_ptr_array_new_with_free_func@Base 2.22.0
g_ptr_array_ref@Base 2.22.0
g_ptr_array_remove@Base 2.12.0
@ -3207,12 +3299,15 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_source_set_name_by_id@Base 2.26.0
g_source_set_priority@Base 2.12.0
g_source_set_ready_time@Base 2.35.8
g_source_set_static_name@Base 2.70.0
g_source_unref@Base 2.12.0
g_spaced_primes_closest@Base 2.12.0
g_spawn_async@Base 2.12.0
g_spawn_async_with_fds@Base 2.57.2
g_spawn_async_with_pipes@Base 2.12.0
g_spawn_async_with_pipes_and_fds@Base 2.67.4
g_spawn_check_exit_status@Base 2.33.14
g_spawn_check_wait_status@Base 2.70.0
g_spawn_close_pid@Base 2.12.0
g_spawn_command_line_async@Base 2.12.0
g_spawn_command_line_sync@Base 2.12.0
@ -3303,6 +3398,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_string_prepend_len@Base 2.12.0
g_string_prepend_unichar@Base 2.12.0
g_string_printf@Base 2.12.0
g_string_replace@Base 2.67.3+git20210214
g_string_set_size@Base 2.12.0
g_string_sized_new@Base 2.12.0
g_string_truncate@Base 2.12.0
@ -3325,6 +3421,13 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_strstr_len@Base 2.12.0
g_strtod@Base 2.12.0
g_strup@Base 2.12.0
g_strv_builder_add@Base 2.67.1
g_strv_builder_add_many@Base 2.70.0
g_strv_builder_addv@Base 2.70.0
g_strv_builder_end@Base 2.67.1
g_strv_builder_new@Base 2.67.1
g_strv_builder_ref@Base 2.67.1
g_strv_builder_unref@Base 2.67.1
g_strv_contains@Base 2.43.2
g_strv_equal@Base 2.59.0
g_strv_length@Base 2.12.0
@ -3336,16 +3439,20 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_test_bug@Base 2.16.0
g_test_bug_base@Base 2.16.0
g_test_build_filename@Base 2.37.2
g_test_case_free@Base 2.70.0
g_test_config_vars@Base 2.16.0
g_test_create_case@Base 2.16.0
g_test_create_suite@Base 2.16.0
g_test_expect_message@Base 2.33.14
g_test_fail@Base 2.30.0
g_test_fail_printf@Base 2.70.0
g_test_failed@Base 2.37.6
g_test_get_dir@Base 2.37.2
g_test_get_filename@Base 2.37.2
g_test_get_path@Base 2.67.3
g_test_get_root@Base 2.16.0
g_test_incomplete@Base 2.37.6
g_test_incomplete_printf@Base 2.70.0
g_test_init@Base 2.16.0
g_test_log_buffer_free@Base 2.16.0
g_test_log_buffer_new@Base 2.16.0
@ -3367,9 +3474,11 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_test_run_suite@Base 2.16.0
g_test_set_nonfatal_assertions@Base 2.37.6
g_test_skip@Base 2.37.6
g_test_skip_printf@Base 2.70.0
g_test_subprocess@Base 2.37.1
g_test_suite_add@Base 2.16.0
g_test_suite_add_suite@Base 2.16.0
g_test_suite_free@Base 2.70.0
g_test_summary@Base 2.61.1
g_test_timer_elapsed@Base 2.16.0
g_test_timer_last@Base 2.16.0
@ -3398,6 +3507,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_thread_pool_get_num_unused_threads@Base 2.12.0
g_thread_pool_move_to_front@Base 2.45.4
g_thread_pool_new@Base 2.12.0
g_thread_pool_new_full@Base 2.70.0
g_thread_pool_push@Base 2.12.0
g_thread_pool_set_max_idle_time@Base 2.12.0
g_thread_pool_set_max_threads@Base 2.12.0
@ -3423,6 +3533,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_time_zone_get_offset@Base 2.28.0
g_time_zone_is_dst@Base 2.28.0
g_time_zone_new@Base 2.26.0
g_time_zone_new_identifier@Base 2.67.1
g_time_zone_new_local@Base 2.26.0
g_time_zone_new_offset@Base 2.57.2
g_time_zone_new_utc@Base 2.26.0
@ -3430,6 +3541,7 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_time_zone_unref@Base 2.26.0
g_timeout_add@Base 2.12.0
g_timeout_add_full@Base 2.12.0
g_timeout_add_once@Base 2.73.1
g_timeout_add_seconds@Base 2.14.0
g_timeout_add_seconds_full@Base 2.14.0
g_timeout_funcs@Base 2.12.0
@ -3449,21 +3561,35 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_trash_stack_push@Base 2.12.0
g_tree_destroy@Base 2.12.0
g_tree_foreach@Base 2.12.0
g_tree_foreach_node@Base 2.67.1
g_tree_height@Base 2.12.0
g_tree_insert@Base 2.12.0
g_tree_insert_node@Base 2.67.1
g_tree_lookup@Base 2.12.0
g_tree_lookup_extended@Base 2.12.0
g_tree_lookup_node@Base 2.67.1
g_tree_lower_bound@Base 2.67.1
g_tree_new@Base 2.12.0
g_tree_new_full@Base 2.12.0
g_tree_new_with_data@Base 2.12.0
g_tree_nnodes@Base 2.12.0
g_tree_node_first@Base 2.67.1
g_tree_node_key@Base 2.67.1
g_tree_node_last@Base 2.67.1
g_tree_node_next@Base 2.67.1
g_tree_node_previous@Base 2.67.1
g_tree_node_value@Base 2.67.1
g_tree_ref@Base 2.22.0
g_tree_remove@Base 2.12.0
g_tree_remove_all@Base 2.70.0
g_tree_replace@Base 2.12.0
g_tree_replace_node@Base 2.67.1
g_tree_search@Base 2.12.0
g_tree_search_node@Base 2.67.1
g_tree_steal@Base 2.12.0
g_tree_traverse@Base 2.12.0
g_tree_unref@Base 2.22.0
g_tree_upper_bound@Base 2.67.1
g_try_malloc0@Base 2.12.0
g_try_malloc0_n@Base 2.24.0
g_try_malloc@Base 2.12.0
@ -3524,11 +3650,44 @@ libglib-2.0.so.0 libglib2.0-0 #MINVER#
g_unix_signal_source_new@Base 2.30.0
g_unlink@Base 2.12.0
g_unsetenv@Base 2.12.0
g_uri_build@Base 2.65.1
g_uri_build_with_user@Base 2.65.1
g_uri_error_quark@Base 2.65.1
g_uri_escape_bytes@Base 2.65.1
g_uri_escape_string@Base 2.16.0
g_uri_get_auth_params@Base 2.65.1
g_uri_get_flags@Base 2.65.1
g_uri_get_fragment@Base 2.65.1
g_uri_get_host@Base 2.65.1
g_uri_get_password@Base 2.65.1
g_uri_get_path@Base 2.65.1
g_uri_get_port@Base 2.65.1
g_uri_get_query@Base 2.65.1
g_uri_get_scheme@Base 2.65.1
g_uri_get_user@Base 2.65.1
g_uri_get_userinfo@Base 2.65.1
g_uri_is_valid@Base 2.65.1
g_uri_join@Base 2.65.1
g_uri_join_with_user@Base 2.65.1
g_uri_list_extract_uris@Base 2.12.0
g_uri_params_iter_init@Base 2.65.1
g_uri_params_iter_next@Base 2.65.1
g_uri_parse@Base 2.65.1
g_uri_parse_params@Base 2.65.1
g_uri_parse_relative@Base 2.65.1
g_uri_parse_scheme@Base 2.16.0
g_uri_peek_scheme@Base 2.65.1
g_uri_ref@Base 2.65.1
g_uri_resolve_relative@Base 2.65.1
g_uri_split@Base 2.65.1
g_uri_split_network@Base 2.65.1
g_uri_split_with_user@Base 2.65.1
g_uri_to_string@Base 2.65.1
g_uri_to_string_partial@Base 2.65.1
g_uri_unescape_bytes@Base 2.65.1
g_uri_unescape_segment@Base 2.16.0
g_uri_unescape_string@Base 2.16.0
g_uri_unref@Base 2.65.1
g_usleep@Base 2.12.0
g_utf16_to_ucs4@Base 2.12.0
g_utf16_to_utf8@Base 2.12.0
@ -3759,14 +3918,18 @@ libgmodule-2.0.so.0 libglib2.0-0 #MINVER#
g_module_build_path@Base 2.12.0
g_module_close@Base 2.12.0
g_module_error@Base 2.12.0
g_module_error_quark@Base 2.70.0
g_module_make_resident@Base 2.12.0
g_module_name@Base 2.12.0
g_module_open@Base 2.12.0
g_module_open_full@Base 2.70.0
g_module_supported@Base 2.12.0
g_module_symbol@Base 2.12.0
libgobject-2.0.so.0 libglib2.0-0 #MINVER#
* Build-Depends-Package: libglib2.0-dev
g_array_get_type@Base 2.22.0
g_binding_dup_source@Base 2.67.1
g_binding_dup_target@Base 2.67.1
g_binding_flags_get_type@Base 2.26.0
g_binding_get_flags@Base 2.26.0
g_binding_get_source@Base 2.26.0
@ -3774,6 +3937,13 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_binding_get_target@Base 2.26.0
g_binding_get_target_property@Base 2.26.0
g_binding_get_type@Base 2.26.0
g_binding_group_bind@Base 2.71.2
g_binding_group_bind_full@Base 2.71.2
g_binding_group_bind_with_closures@Base 2.71.2
g_binding_group_dup_source@Base 2.71.2
g_binding_group_get_type@Base 2.71.2
g_binding_group_new@Base 2.71.2
g_binding_group_set_source@Base 2.71.2
g_binding_unbind@Base 2.37.1
g_boxed_copy@Base 2.12.0
g_boxed_free@Base 2.12.0
@ -3912,6 +4082,7 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_object_notify_by_pspec@Base 2.26.0
g_object_ref@Base 2.12.0
g_object_ref_sink@Base 2.12.0
g_object_take_ref@Base 2.70.0
g_object_remove_toggle_ref@Base 2.12.0
g_object_remove_weak_pointer@Base 2.12.0
g_object_replace_data@Base 2.33.14
@ -3951,6 +4122,7 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_param_spec_int64@Base 2.12.0
g_param_spec_int@Base 2.12.0
g_param_spec_internal@Base 2.12.0
g_param_spec_is_valid_name@Base 2.65.1
g_param_spec_long@Base 2.12.0
g_param_spec_object@Base 2.12.0
g_param_spec_override@Base 2.12.0
@ -3981,9 +4153,11 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_param_type_register_static@Base 2.12.0
g_param_value_convert@Base 2.12.0
g_param_value_defaults@Base 2.12.0
g_param_value_is_valid@Base 2.73.1
g_param_value_set_default@Base 2.12.0
g_param_value_validate@Base 2.12.0
g_param_values_cmp@Base 2.12.0
g_pattern_spec_get_type@Base 2.70.0
g_pointer_type_register_static@Base 2.12.0
g_pollfd_get_type@Base 2.35.8
g_ptr_array_get_type@Base 2.22.0
@ -4002,6 +4176,18 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_signal_emit_valist@Base 2.12.0
g_signal_emitv@Base 2.12.0
g_signal_get_invocation_hint@Base 2.12.0
g_signal_group_block@Base 2.71.2
g_signal_group_connect@Base 2.71.2
g_signal_group_connect_after@Base 2.71.2
g_signal_group_connect_closure@Base 2.73.1
g_signal_group_connect_data@Base 2.71.2
g_signal_group_connect_object@Base 2.71.2
g_signal_group_connect_swapped@Base 2.71.2
g_signal_group_dup_target@Base 2.71.2
g_signal_group_get_type@Base 2.71.2
g_signal_group_new@Base 2.71.2
g_signal_group_set_target@Base 2.71.2
g_signal_group_unblock@Base 2.71.2
g_signal_handler_block@Base 2.12.0
g_signal_handler_disconnect@Base 2.12.0
g_signal_handler_find@Base 2.12.0
@ -4012,6 +4198,7 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_signal_handlers_disconnect_matched@Base 2.12.0
g_signal_handlers_unblock_matched@Base 2.12.0
g_signal_has_handler_pending@Base 2.12.0
g_signal_is_valid_name@Base 2.65.1
g_signal_list_ids@Base 2.12.0
g_signal_lookup@Base 2.12.0
g_signal_name@Base 2.12.0
@ -4035,6 +4222,7 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_strv_get_type@Base 2.12.0
g_thread_get_type@Base 2.35.8
g_time_zone_get_type@Base 2.33.14
g_tree_get_type@Base 2.67.1
g_type_add_class_cache_func@Base 2.12.0
g_type_add_class_private@Base 2.24.0
g_type_add_instance_private@Base 2.37.3
@ -4080,6 +4268,7 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_type_instance_get_private@Base 2.12.0
g_type_interface_add_prerequisite@Base 2.12.0
g_type_interface_get_plugin@Base 2.12.0
g_type_interface_instantiatable_prerequisite@Base 2.67.1
g_type_interface_peek@Base 2.12.0
g_type_interface_peek_parent@Base 2.12.0
g_type_interface_prerequisites@Base 2.12.0
@ -4117,6 +4306,7 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_unicode_break_type_get_type@Base 2.59.2
g_unicode_script_get_type@Base 2.59.2
g_unicode_type_get_type@Base 2.59.2
g_uri_get_type@Base 2.65.1
g_value_array_append@Base 2.12.0
g_value_array_copy@Base 2.12.0
g_value_array_free@Base 2.12.0
@ -4174,6 +4364,7 @@ libgobject-2.0.so.0 libglib2.0-0 #MINVER#
g_value_set_instance@Base 2.12.0
g_value_set_int64@Base 2.12.0
g_value_set_int@Base 2.12.0
g_value_set_interned_string@Base 2.65.1
g_value_set_long@Base 2.12.0
g_value_set_object@Base 2.12.0
g_value_set_object_take_ownership@Base 2.12.0

View File

@ -1,3 +1,2 @@
interest-noawait /usr/lib/#MULTIARCH#/gio/modules
interest-noawait /usr/lib/gio/modules
interest-await /usr/share/glib-2.0/schemas

View File

@ -1,6 +1,8 @@
usr/bin/gapplication
usr/bin/gdbus
usr/bin/gio
usr/bin/gio-querymodules
usr/bin/glib-compile-schemas
usr/bin/gresource
usr/bin/gsettings
usr/share/bash-completion

View File

@ -1,3 +0,0 @@
#!/usr/bin/dh-exec
/usr/lib/${DEB_HOST_MULTIARCH}/glib-2.0/gio-querymodules /usr/bin/gio-querymodules
/usr/lib/${DEB_HOST_MULTIARCH}/glib-2.0/glib-compile-schemas /usr/bin/glib-compile-schemas

View File

@ -1,2 +1,2 @@
# GLib programs normally use GLib functions instead of using libc directly
libglib2.0-bin: hardening-no-fortify-functions usr/bin/gio
libglib2.0-bin: hardening-no-fortify-functions [usr/bin/gio]

View File

@ -1,5 +1,5 @@
usr/include/*
usr/lib/*/glib-2.0
usr/lib/*/glib-2.0/include
usr/lib/*/lib*.a
usr/lib/*/libgio*.so
usr/lib/*/libglib*.so

View File

@ -1,2 +0,0 @@
# Workaround for #887629 in stretch, see #887863
libglib2.0-dev: maintainer-script-empty prerm

View File

@ -1,10 +0,0 @@
#!/bin/sh
# libglib2.0-dev needs a prerm in buster, so that if the old prerm fails
# due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887629 we can
# recover by running the new prerm. Keep this workaround until after
# Debian 10 has been released.
set -e
#DEBHELPER#

View File

@ -1,7 +1,12 @@
# Lots of tests don't use libc functions
libglib2.0-tests: hardening-no-fortify-functions usr/libexec/installed-tests/glib/*
libglib2.0-tests: hardening-no-fortify-functions [usr/libexec/installed-tests/glib/*]
# Some are deliberately not well-formed UTF-8
libglib2.0-tests: national-encoding [usr/libexec/installed-tests/glib/markups/fail*]
# Not every .txt file is documentation
libglib2.0-tests: package-contains-documentation-outside-usr-share-doc [usr/libexec/installed-tests/glib/*.txt]
# Test data for content-type sniffing, never actually executed
libglib2.0-tests: script-not-executable usr/libexec/installed-tests/glib/x-content/unix-software/autorun.sh
libglib2.0-tests: shell-script-fails-syntax-check usr/libexec/installed-tests/glib/x-content/unix-software/autorun.sh
libglib2.0-tests: script-not-executable [usr/libexec/installed-tests/glib/x-content/unix-software/autorun.sh]
# This is lorem ipsum in a test-case, nothing to do with the Debian Free Software Guidelines
libglib2.0-tests: spelling-error-in-binary usr/libexec/installed-tests/glib/utf8-pointer dsfg dfsg
libglib2.0-tests: spelling-error-in-binary dsfg dfsg [usr/libexec/installed-tests/glib/utf8-pointer]
# Depends on a private test-only library
libglib2.0-tests: custom-library-search-path RUNPATH /usr/libexec/installed-tests/glib [usr/libexec/installed-tests/glib/gdbus-peer]

5
debian/meson/libc-properties.ini vendored Normal file
View File

@ -0,0 +1,5 @@
[properties]
have_c99_snprintf = true
have_c99_vsnprintf = true
have_strlcpy = false
have_unix98_printf = true

2
debian/meson/stack-grows-down.ini vendored Normal file
View File

@ -0,0 +1,2 @@
[properties]
growing_stack = false

2
debian/meson/stack-grows-up.ini vendored Normal file
View File

@ -0,0 +1,2 @@
[properties]
growing_stack = true

2997
debian/patches/Modify-debian-control.patch vendored Normal file

File diff suppressed because it is too large Load Diff

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
Modify-debian-control.patch

166
debian/rules vendored
View File

@ -1,8 +1,4 @@
#!/usr/bin/make -f
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
ifneq (,$(filter $(DEB_BUILD_ARCH), mips64el loongarch64))
export DEB_BUILD_OPTIONS=nocheck
endif
binaries := $(shell dh_listpackages)
@ -13,7 +9,8 @@ DEB_LDFLAGS_MAINT_APPEND += -Wl,-z,defs
# NB: do NOT use -Wl,--as-needed to build glib; for instance the link to
# pthread is carefully crafted to allow dlopen()ing pthread-using libs; see
# http://mid.gmane.org/1257999019.21780.15.camel@marzipan
# https://marc.info/?i=1257999019.21780.15.camel@marzipan aka
# https://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00096.html
DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed
# Make the linker work a bit harder so dynamic loading can be done faster
@ -22,39 +19,44 @@ DEB_LDFLAGS_MAINT_APPEND += -Wl,-O1
include /usr/share/dpkg/default.mk
%:
dh $@ --with gnome,python3 --buildsystem=meson
dh $@
override_dh_autoreconf:
@:
DEB_CONFIGURE_EXTRA_FLAGS =
ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
# Properties of glibc. These are the same for all Debian architectures,
# and are auto-detected when doing a native build.
DEB_CONFIGURE_EXTRA_FLAGS += --cross-file=$(CURDIR)/debian/meson/libc-properties.ini
# The direction of stack growth varies between architectures.
ifneq ($(filter hppa,$(DEB_HOST_ARCH_CPU)),)
stack_grows_up = true
DEB_CONFIGURE_EXTRA_FLAGS += --cross-file=$(CURDIR)/debian/meson/stack-grows-up.ini
else
stack_grows_up = false
DEB_CONFIGURE_EXTRA_FLAGS += --cross-file=$(CURDIR)/debian/meson/stack-grows-down.ini
endif
endif # cross-compiling
ifneq ($(filter kfreebsd,$(DEB_HOST_ARCH_OS)),)
have_non_stub_xattr = false
else
have_non_stub_xattr = true
endif
export DH_MESON_CROSS_FILE = debian/cross.txt
# This target can be run manually to verify that we have the source code
# for these files. If all goes well, it should result in no diff.
# This is not done automatically during the build, because it requires a
# git checkout of GLib.
maintainer-update-unicode-data:
rm -f glib/gscripttable.h
rm -f glib/gunibreak.h
rm -f glib/gunichartables.h
rm -f glib/gunidecomp.h
rm -f glib/tests/casefold.txt
rm -f glib/tests/casemap.txt
$(CURDIR)/tools/update-unicode-data.sh $(CURDIR)/unicode-data 15.0.0
# We edit the debcrossgen output to work around unimplemented feature
# request https://bugs.debian.org/912559
override_dh_auto_configure:
ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
/usr/share/meson/debcrossgen \
-o debian/cross.txt.in
debian/set-cross-properties \
have_c99_snprintf=true \
have_c99_vsnprintf=true \
have_strlcpy=false \
have_unix98_printf=true \
growing_stack=$(stack_grows_up) \
< debian/cross.txt.in > debian/cross.txt
endif
dh_auto_configure \
--builddirectory=debian/build/deb \
-- \
@ -72,8 +74,7 @@ endif
override_dh_clean:
rm -rf $(CURDIR)/debian/build \
$(CURDIR)/debian/install \
$(CURDIR)/debian/tmp-xdg-runtime-dir
$(CURDIR)/debian/install
dh_clean -Xorg.gtk.test.gschema.xml.orig -Xorg.gtk.test.gschema.override.orig
@ -81,11 +82,6 @@ override_dh_makeshlibs:
dh_makeshlibs -plibglib2.0-tests -n
dh_makeshlibs --remaining-packages --add-udeb=libglib2.0-udeb -- -c4
override_dh_strip:
ifeq (,$(filter $(DEB_BUILD_ARCH), loongarch64)) # loongarch64 don't build dbg packages
dh_strip --dbgsym-migration='libglib2.0-0-dbg (<< 2.51.4-1~)'
endif
# (Ubuntu-specific)
# Don't strip translations from the installed tests; makes them environment dependent.
override_dh_translations:
@ -95,17 +91,6 @@ override_dh_translations:
# where creating /home/buildd/.dbus-keyrings fails
export HOME=$(CURDIR)/debian/build
# Put these back to their defaults if we are not running with a clean
# environment, so that they are based on the temporary $HOME above.
# Otherwise, some tests would try to write to the user's real XDG_DATA_HOME,
# causing unwanted side-effects or FTBFS depending whether the user's
# real HOME is available in the build chroot (if used)
unexport XDG_CACHE_HOME
unexport XDG_CONFIG_DIRS
unexport XDG_CONFIG_HOME
unexport XDG_DATA_HOME
unexport XDG_DATA_DIRS
# Make sure that everything that uses D-Bus is creating its own temporary
# session rather than polluting the developer's (or failing, on buildds)
export DBUS_SESSION_BUS_ADDRESS=this-should-not-be-used-and-will-fail:
@ -133,11 +118,48 @@ endif
override_dh_auto_test-arch:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Remove LD_PRELOAD so we don't run with fakeroot, which makes dbus-related tests fail
# Remove LANGUAGE to avoid mismatches between expected and actual
# messages in non-English locales (mainly on reproducible-builds)
# First run the non-flaky tests, and fail the build if they fail (on linux)
env -u LD_PRELOAD \
env \
-u LANG \
-u LANGUAGE \
-u LD_PRELOAD \
DEB_BUILD_TIME_TESTS=1 \
LC_ALL=C.UTF-8 \
MESON_TESTTHREADS=1 \
debian/tests/run-with-locales \
--generate de_DE=ISO-8859-1 \
--generate de_DE.utf8 \
--generate de_DE@euro.utf8 \
--generate el_GR.utf8 \
--generate en_GB=ISO-8859-1 \
--generate en_GB.utf8 \
--generate en_US=ISO-8859-1 \
--generate en_US.utf8 \
--generate es_ES.utf8 \
--generate fa_IR=UTF-8 \
--generate fa_IR.utf8 \
--generate fr_FR.utf8 \
--generate hr_HR.utf8 \
--generate ja_JP.utf8 \
--generate ja_JP.EUC-JP \
--generate lt_LT.utf8 \
--generate pl_PL=ISO-8859-2 \
--generate pl_PL.ISO-8859-2 \
--generate pl_PL.utf8 \
--generate ru_RU=ISO-8859-5 \
--generate ru_RU.utf8 \
--generate sr_RS=UTF-8 \
--generate sr_RS@latin=UTF-8 \
--generate sv_SE=ISO-8859-1 \
--generate sv_SE.utf8 \
--generate tr_TR=ISO-8859-9 \
--generate tr_TR.utf8 \
--generate tt_RU=UTF-8 \
--generate tt_RU.utf8 \
--generate tt_RU@iqtelif=UTF-8 \
-- \
meson test -C debian/build/deb \
--no-rebuild \
--num-processes 1 \
@ -146,7 +168,10 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
--verbose \
|| $(handle_test_failure)
# and then run the flaky ones, but ignore them failing
env -u LD_PRELOAD \
env \
-u LANG \
-u LANGUAGE \
-u LD_PRELOAD \
DEB_BUILD_TIME_TESTS=1 \
LC_ALL=C.UTF-8 \
MESON_TESTTHREADS=1 \
@ -159,13 +184,19 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|| true
endif
# Skip build-time tests if all we are building is documentation; running
# them once per architecture is plenty
# Skip most build-time tests if all we are building is documentation;
# running them once per architecture is plenty. As an exception, do run the
# documentation completeness checks, which won't normally be run on
# architecture-specific buildds (except in Ubuntu).
override_dh_auto_test-indep:
@:
meson test -C debian/build/deb \
--no-rebuild \
--num-processes 1 \
--timeout-multiplier $(test_timeout_multiplier) \
--verbose \
gio-doc-check glib-doc-check gobject-doc-check \
|| $(handle_test_failure)
# The tests assume this directory exists and is writable
export XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp-xdg-runtime-dir
# Let's get failing tests' stdout and stderr so we have some information when
# a build fails
export VERBOSE=1
@ -178,23 +209,13 @@ enable_libmount := disabled
enable_selinux := disabled
endif
ifneq ($(filter hurd kfreebsd,$(DEB_HOST_ARCH_OS)),)
use_fam := true
else
use_fam := false
endif
# configure flags
DEB_CONFIGURE_EXTRA_FLAGS := \
-Dinternal_pcre=false \
$(NULL)
DEB_CONFIGURE_FLAGS_deb := \
--default-library both \
-Dfam=$(use_fam) \
-Dinstalled_tests=true \
-Dlibelf=enabled \
-Dlibmount=$(enable_libmount) \
-Dman=true \
-Dmultiarch=true \
-Dselinux=$(enable_selinux) \
-Dsystemtap=true \
-Dxattr=$(have_non_stub_xattr) \
@ -247,6 +268,7 @@ override_dh_install:
ifneq ($(filter %-udeb,$(binaries)),)
# Unwanted bits from the .udeb build
rm -f debian/install/udeb/usr/lib/*/*.so
rm -fr debian/install/udeb/usr/libexec/gio-launch-desktop
rm -fr debian/install/udeb/usr/share/gdb
rm -fr debian/install/udeb/usr/share/gettext/its
rm -fr debian/install/udeb/usr/share/glib-2.0/codegen
@ -254,15 +276,27 @@ ifneq ($(filter %-udeb,$(binaries)),)
rm -fr debian/install/udeb/usr/share/glib-2.0/valgrind
rm -fr debian/install/udeb/usr/share/man
dh_install -plibglib2.0-udeb --sourcedir=debian/install/udeb
endif
ifneq ($(filter %-tests,$(binaries)),)
sed -i -e '/^#!.*/,1 d' debian/install/deb/usr/libexec/installed-tests/glib/taptestrunner.py
endif
dh_install --remaining-packages --sourcedir=debian/install/deb
install -D -t debian/libglib2.0-0/usr/lib/${DEB_HOST_MULTIARCH}/glib-2.0/ debian/gio-launch-desktop
override_dh_dwz:
dh_dwz -Nlibglib2.0-udeb
override_dh_missing:
dh_missing --sourcedir=debian/install/deb --fail-missing
ifneq ($(filter %-udeb,$(binaries)),)
dh_missing --sourcedir=debian/install/udeb --fail-missing
# debhelper >= 13.4 makes all of /usr/libexec executable, which is not
# quite right for installed-tests
override_dh_fixperms:
dh_fixperms -Xusr/libexec/installed-tests
ifneq ($(filter %-tests,$(binaries)),)
chmod --changes u=rw,og=r debian/libglib2.0-tests/usr/libexec/installed-tests/*/*.so
chmod --changes u=rw,og=r debian/libglib2.0-tests/usr/libexec/installed-tests/*/*/*.so
chmod --recursive --changes a+rX,u+w,og-w debian/libglib2.0-tests/usr/libexec/installed-tests
endif
override_dh_missing:
dh_missing --sourcedir=debian/install/deb
ifneq ($(filter %-udeb,$(binaries)),)
dh_missing --sourcedir=debian/install/udeb
endif

View File

@ -1,22 +0,0 @@
#!/usr/bin/python3
import sys
def write_properties(properties):
for prop in properties:
k, v = prop.split('=', 1)
print('{} = {}'.format(k, v))
if __name__ == '__main__':
for line in sys.stdin:
sys.stdout.write(line)
if line.strip() == '[properties]':
write_properties(sys.argv[1:])
done = True
if not done:
print('[properties]')
write_properties(sys.argv[1:])

10
debian/shlibs.local vendored Normal file
View File

@ -0,0 +1,10 @@
libgio-2.0 0 libglib2.0-0 (= ${binary:Version})
libglib-2.0 0 libglib2.0-0 (= ${binary:Version})
libgmodule-2.0 0 libglib2.0-0 (= ${binary:Version})
libgobject-2.0 0 libglib2.0-0 (= ${binary:Version})
libgthread-2.0 0 libglib2.0-0 (= ${binary:Version})
udeb: libgio-2.0 0 libglib2.0-udeb (= ${binary:Version})
udeb: libglib-2.0 0 libglib2.0-udeb (= ${binary:Version})
udeb: libgmodule-2.0 0 libglib2.0-udeb (= ${binary:Version})
udeb: libgobject-2.0 0 libglib2.0-udeb (= ${binary:Version})
udeb: libgthread-2.0 0 libglib2.0-udeb (= ${binary:Version})

8
debian/tests/build vendored
View File

@ -123,6 +123,14 @@ for lib in glib gobject gio gio-unix gmodule gthread; do
(static)
cflags=-static
pcflags=--static
case "$lib" in
(gio|gio-unix)
# GIO depends on libmount which no longer supports
# being linked statically
continue
;;
esac
;;
esac

13
debian/tests/closure-refcount vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/closure-refcount.test

View File

@ -3,9 +3,9 @@ Depends: libglib2.0-dev, build-essential
Restrictions: allow-stderr superficial
Tests: installed-tests
Depends: libglib2.0-tests, dbus-x11, dbus (>= 1.8), xauth, xvfb, gnome-desktop-testing
Depends: dbus-daemon (>= 1.8), dbus-x11, gnome-desktop-testing, libglib2.0-tests, locales | locales-all, xauth, xvfb
Restrictions: allow-stderr
Tests: flaky
Depends: libglib2.0-tests, dbus-x11, dbus (>= 1.8), xauth, xvfb, gnome-desktop-testing
Tests: closure-refcount debugcontroller gdbus-server-auth gdbus-threading gmenumodel mainloop memory-monitor-dbus socket testfilemonitor threadtests timeout timer
Depends: dbus-daemon (>= 1.8), dbus-x11, gnome-desktop-testing, libglib2.0-tests, locales | locales-all, xauth, xvfb
Restrictions: allow-stderr flaky

13
debian/tests/debugcontroller vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/debugcontroller.test

35
debian/tests/flaky vendored
View File

@ -1,35 +0,0 @@
#!/bin/sh
# autopkgtest check: Run the installed-tests to verify glib works correctly
# This part runs tests that have been marked as opt-in due to being flaky
# on at least some architectures.
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
# Disable gvfs if it happens to be installed. We want to test the built-in
# stuff
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
printf "Running as: "; id -a
printf "passwd entry: "; getent passwd "$(id -u)" || echo "(exit status $?)"
printf "group entry: "; getent group "$(id -g)" || echo "(exit status $?)"
echo "Environment:"
env | LC_ALL=C sort -u
exec dbus-run-session -- xvfb-run -a gnome-desktop-testing-runner \
glib/closure-refcount.test \
glib/gdbus-threading.test \
glib/gmenumodel.test \
glib/mainloop.test \
glib/socket.test \
glib/testfilemonitor.test \
glib/timeout.test \
glib/timer.test \
${NULL}

13
debian/tests/gdbus-server-auth vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/gdbus-server-auth.test

13
debian/tests/gdbus-threading vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/gdbus-threading.test

13
debian/tests/gmenumodel vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/gmenumodel.test

View File

@ -5,6 +5,8 @@
set -eu
namespace=glib/
# Disable gvfs if it happens to be installed. We want to test the built-in
# stuff
export GIO_USE_VFS=local
@ -12,10 +14,49 @@ export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
if [ -z "$(ginsttest-runner -l "$namespace")" ]; then
echo "Error: no installed-tests found matching $namespace" >&2
exit 1
fi
printf "Running as: "; id -a
printf "passwd entry: "; getent passwd "$(id -u)" || echo "(exit status $?)"
printf "group entry: "; getent group "$(id -g)" || echo "(exit status $?)"
echo "Environment:"
env | LC_ALL=C sort -u
dbus-run-session -- xvfb-run -a gnome-desktop-testing-runner glib
exec dbus-run-session -- \
xvfb-run -a \
debian/tests/run-with-locales \
--generate de_DE=ISO-8859-1 \
--generate de_DE.utf8 \
--generate de_DE@euro.utf8 \
--generate el_GR.utf8 \
--generate en_GB=ISO-8859-1 \
--generate en_GB.utf8 \
--generate en_US=ISO-8859-1 \
--generate en_US.utf8 \
--generate es_ES.utf8 \
--generate fa_IR=UTF-8 \
--generate fa_IR.utf8 \
--generate fr_FR.utf8 \
--generate hr_HR.utf8 \
--generate ja_JP.utf8 \
--generate ja_JP.EUC-JP \
--generate lt_LT.utf8 \
--generate pl_PL=ISO-8859-2 \
--generate pl_PL.ISO-8859-2 \
--generate pl_PL.utf8 \
--generate ru_RU=ISO-8859-5 \
--generate ru_RU.utf8 \
--generate sr_RS=UTF-8 \
--generate sr_RS@latin=UTF-8 \
--generate sv_SE=ISO-8859-1 \
--generate sv_SE.utf8 \
--generate tr_TR=ISO-8859-9 \
--generate tr_TR.utf8 \
--generate tt_RU=UTF-8 \
--generate tt_RU.utf8 \
--generate tt_RU@iqtelif=UTF-8 \
-- \
ginsttest-runner --tap "$namespace"

13
debian/tests/mainloop vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/mainloop.test

13
debian/tests/memory-monitor-dbus vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/memory-monitor-dbus.test

166
debian/tests/run-with-locales vendored Executable file
View File

@ -0,0 +1,166 @@
#!/bin/sh
#
# Run a wrapped command with at least the requested locales available.
# Requires a dependency on locales | locales-all.
# The requested locales must be of the form foo_FOO.utf8, or special-cased
# in generate(), or listed in /usr/share/i18n/SUPPORTED, or specify the
# locale in the form locale=charset.
#
# Copyright 2016-2021 Simon McVittie
# Copyright 2017-2018 Collabora Ltd.
#
# SPDX-License-Identifier: MIT
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
# Assume a Debian Policy §10.4-compatible shell like dash or bash (with the
# 'local' builtin)
# shellcheck disable=SC2039
set -eu
me="$(basename "$0")"
tempdir=
usage () {
local status="${1-2}"
if [ "$status" -ne 0 ]; then
exec >&2
fi
echo "Usage: $me [--generate LOCALE...] [--] COMMAND [ARGS...]"
exit "$status"
}
getopt_temp=help
getopt_temp="$getopt_temp,generate:"
getopt_temp="$(getopt -o '+' --long "$getopt_temp" -n "$0" -- "$@")"
eval set -- "$getopt_temp"
unset getopt_temp
generate () {
local locale="$1"
local charset=""
local source
local output
echo "$me: $locale..." >&2
case "$locale" in
(*=*)
source="${locale%=*}"
output="$source"
;;
(*.*)
source="${locale%.*}"
output="$source.$(
export LC_ALL=C
printf '%s' "${locale##*.}" | \
tr '[:upper:]' '[:lower:]' | \
tr -d -C '[:lower:][:digit:]'
)"
;;
(*)
source="${locale}"
output="${locale}"
esac
if [ -e "/usr/lib/locale/$output/LC_MESSAGES/SYS_LC_MESSAGES" ]; then
printf '\t%s\n' "Found in locales-all" >&2
return
fi
if ! [ -d /usr/share/i18n/charmaps ]; then
echo "$me: $locale not in locales-all and /usr/share/i18n/charmaps not found" >&2
return
fi
case "$locale" in
(*=*)
charset="${locale##*=}"
;;
(*.utf8 | *.UTF-8)
charset="UTF-8"
;;
(*.*)
charset="${locale##*.}"
;;
esac
if [ -z "$charset" ]; then
echo "$me: $locale charset not known" >&2
exit 1
fi
printf '\t%s\n' "Character set: $charset" >&2
printf '\t%s\n' "Source file: $source" >&2
if [ -z "$tempdir" ]; then
tempdir="$(mktemp -d)"
trap 'rm -fr "$tempdir"' EXIT
fi
printf '\t%s\n' "Output: $tempdir/$output" >&2
localedef -i "$source" -f "$charset" "$tempdir/$output"
}
while [ "$#" -gt 0 ]; do
case "$1" in
(--help)
usage 2
# not reached
;;
(--generate)
generate "$2"
shift 2
;;
(--)
shift
break
;;
(-*)
echo "$me: Unknown option: $1" >&2
usage 2
# not reached
;;
(*)
break
;;
esac
done
if [ -n "$tempdir" ]; then
find "$tempdir" >&2
export LOCPATH="$tempdir"
fi
"$@"
# vim:set sw=4 sts=4 et:

13
debian/tests/socket vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/socket.test

13
debian/tests/testfilemonitor vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/testfilemonitor.test

13
debian/tests/threadtests vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/threadtests.test

13
debian/tests/timeout vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/timeout.test

13
debian/tests/timer vendored Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# (C) 2013 Canonical Ltd.
# (C) 2019 Collabora Ltd.
set -eu
NULL=
export DEB_ALLOW_FLAKY_TESTS=1
export GIO_USE_VFS=local
export GIO_USE_VOLUME_MONITOR=unix
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
exec gnome-desktop-testing-runner glib/timer.test

14
debian/watch vendored
View File

@ -1,3 +1,13 @@
version=4
https://download.gnome.org/sources/glib/([\d\.]+[02468])/ \
glib@ANY_VERSION@\.tar\.xz
opts="searchmode=plain, uversionmangle=s/\.(alpha|beta|rc)/~$1/, downloadurlmangle=s|cache.json||" \
https://download.gnome.org/sources/glib/cache.json \
[\d.]+[02468]/glib-@ANY_VERSION@@ARCHIVE_EXT@
#opts="mode=git,compression=xz" \
#https://gitlab.gnome.org/GNOME/glib.git \
#refs/tags/@ANY_VERSION@
# Update the version as needed to correspond to the version of Unicode
# data used to generate glib/gunichartables.h etc.
opts="component=unicode-data, compression=xz, downloadurlmangle=s#/?$#/UCD.zip#, filenamemangle=s#.*/([^/]+)/?$#UCD-$1.zip#" \
https://www.unicode.org/Public/zipped/ \
(15\.0\.0)/?