Compare commits

...

417 Commits
f10 ... master

Author SHA1 Message Date
Kalev Lember
f9fbe5a4c8 Backport upstream patches to fix invalid use of volatile objects
This is needed for gcc 11.
2020-11-24 12:25:45 +01:00
Michael Catanzaro
a6c366328b Make GnuTLS patch RHEL-specific, and make glib2-static subpackage Fedora-specific 2020-11-11 09:45:07 -06:00
Michael Catanzaro
f52f413589 Use GnuTLS to implement GHmac (thanks to Colin Walters) 2020-11-10 16:52:14 -06:00
Michael Catanzaro
78bc3e5c67 Remove unused script 2020-11-09 15:51:23 -06:00
Michael Catanzaro
8f38a70fd6 Backport fix for GSocketClient crash 2020-11-04 08:03:37 -06:00
Kalev Lember
74300be378 Update to 2.67.0 2020-10-29 05:56:07 +01:00
Kalev Lember
9b1f9aa2f2 Drop gtk-doc patch as we finally have a new enough gtk-doc 2020-10-19 19:12:40 +02:00
Kalev Lember
b5748c4edb Update to 2.66.2 2020-10-19 19:12:38 +02:00
Michael Catanzaro
6c5949a8ca Use smaller patches for the timezone issues
Someone just found a bug in the big version of the fix, so let's use a
smaller fix until these are both accepted upstream.
2020-10-14 15:31:02 -05:00
Michael Catanzaro
62d0b8f09a Fix yet another timezone bug 2020-10-14 15:03:56 -05:00
Michael Catanzaro
ce0559a035 Fix timezone-related bugs in many applications caused by new glib timezone cache 2020-10-14 14:42:56 -05:00
Kalev Lember
22bd71a65a Update to 2.66.1 2020-10-01 19:43:57 +02:00
Kalev Lember
6248b5a00a Update to 2.66.0 2020-09-10 20:48:04 +02:00
Kalev Lember
e1ea8b2fcf Update to 2.65.3 2020-09-02 18:52:53 +02:00
Adam Williamson
c3df0e5227 Backport fix for GGO #2189 (error accessing some filesystems)
Upstream commit refers only to read-only filesystems, but the
bug also affects CIFS shares (and this patch fixes that case
too).
2020-08-25 11:55:46 -07:00
Jeff Law
683c99b0e4 Re-enable LTO 2020-08-20 22:01:12 -06:00
Kalev Lember
1d384aa8fb Update to 2.65.2 2020-08-18 15:59:19 +02:00
Kalev Lember
b03aa2af4a Update to 2.65.1 2020-08-17 12:40:50 +02:00
Fedora Release Engineering
7a981e97c7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 01:55:39 +00:00
Fedora Release Engineering
ea83fb0237 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 20:13:29 +00:00
Jeff Law
06a3cf31cd Disable LTO 2020-06-30 14:05:05 -06:00
Kalev Lember
ee2a246925 Update gio-2.0.pc with correct gio-querymodules name when renaming it
https://bugzilla.redhat.com/show_bug.cgi?id=1849441
2020-06-22 12:12:39 +02:00
Kalev Lember
6e6595e611 Avoid requiring a too new gtk-doc version for building glib
We don't have new enough gtk-doc in rawhide yet.
2020-06-22 11:57:28 +02:00
Kalev Lember
fbd5247c7a Remove changelog trimming
Changelogs are now trimmed globally.
2020-06-22 10:40:07 +02:00
Kalev Lember
46f4926d2c Update to 2.65.0 2020-06-22 10:39:45 +02:00
Kalev Lember
d43d0ce458 Update to 2.64.3 2020-05-20 13:15:37 +02:00
Tomas Popela
ec78e22b1b Backport fix for a race condition in GCancellable (rhbz#1825230) 2020-04-28 08:20:28 +02:00
Kalev Lember
ba78ee1988 Update to 2.64.2 2020-04-10 12:12:46 +02:00
Kalev Lember
cf59eebaca Update to 2.64.1 2020-03-11 13:54:06 +01:00
Kalev Lember
1ac207bef9 Update to 2.64.0 2020-03-02 20:48:36 +01:00
Kalev Lember
898c00b2ad Update to 2.63.6 2020-02-24 23:09:56 +02:00
Kalev Lember
a23372a417 Backport a patch to work around SELinux policies not allowing SYS_sched_setattr
https://bugzilla.redhat.com/show_bug.cgi?id=1795524
2020-02-12 20:50:27 +01:00
Michael Catanzaro
fdfddfe804 Add patch for CVE-2020-6750 and related issues. 2020-02-07 15:09:22 -06:00
Kalev Lember
807f65d4bd Update to 2.63.5 2020-02-03 11:13:07 +01:00
Stephen Gallagher
ab00509fe1
Fix GThreadPool initialization that is breaking createrepo_c (BZ #1795052)
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2020-01-29 10:11:54 -05:00
Fedora Release Engineering
af14559f8f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 22:10:02 +00:00
Kalev Lember
e992d2d872 Update to 2.63.4 2020-01-24 05:28:49 +01:00
Kalev Lember
540aeada95 Update to 2.63.3 2019-12-16 15:20:37 +01:00
Kalev Lember
cfb57c36bc Update to 2.63.2 2019-12-02 06:24:39 +01:00
Kalev Lember
348b2bb6ec Update to 2.63.0 2019-10-04 16:50:57 +02:00
Kalev Lember
0085371da8 Update to 2.62.1 2019-10-04 14:04:04 +02:00
Kalev Lember
927ce866ba Update to 2.62.0 2019-09-06 09:34:17 +02:00
Kalev Lember
3f77266cf6 Update to 2.61.3 2019-09-03 11:39:52 +02:00
Kalev Lember
80b2df57b6 Update to 2.61.2 2019-08-12 11:27:51 +02:00
Fedora Release Engineering
9558681601 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 03:41:12 +00:00
Kalev Lember
dd3956be01 Drop bash completion permission changing hack
This has been fixed upstream.
2019-07-09 14:41:30 +03:00
David King
f45e5da632 Consistently use buildroot macro
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_using_buildroot_and_optflags_vs_rpm_build_root_and_rpm_opt_flags
2019-06-11 09:06:50 +01:00
David King
aafbdc7a3c Remove unused patch 2019-06-11 09:04:53 +01:00
David King
e81b0cb6f7 Fix CVE-2019-12450 (#1719142) 2019-06-11 09:04:42 +01:00
Kalev Lember
d40813ab05 Update to 2.61.1 2019-05-24 20:06:10 +02:00
Adam Williamson
0f797a67d7 Rebuild with Meson fix for #1699099 2019-04-16 10:02:44 -07:00
Kalev Lember
8b0b09cbeb Update to 2.61.0 2019-04-15 17:05:48 +02:00
Kalev Lember
46304cbb85 Update to 2.60.1 2019-04-15 16:14:33 +02:00
Zbigniew Jędrzejewski-Szmek
12007a228d Switch back to timestamp-based invalidation mode but fix seed
It turns out the hashed-based invalidation mode is buggy.
2019-03-13 10:13:50 +01:00
Zbigniew Jędrzejewski-Szmek
de2e4aad98 Switch to explicit byte compilation to override invalidation mode 2019-03-06 15:44:10 +01:00
Zbigniew Jędrzejewski-Szmek
789d0acce0 Make sure all .py files have fixed timestamps 2019-03-06 13:33:00 +01:00
Kalev Lember
66f00fe02c Update to 2.60.0 2019-03-04 22:48:12 +01:00
Kalev Lember
8594386f06 Update to 2.59.3 2019-02-18 10:37:38 +01:00
Kalev Lember
0660fa0c94 Update to 2.59.2 2019-02-04 17:33:58 +01:00
Fedora Release Engineering
b0612ed4ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 22:40:03 +00:00
Kalev Lember
f877f72c6a Update to 2.59.1 2019-01-26 15:24:09 +01:00
Kalev Lember
1cc525296d Add a conflict with older gcr versions
glib 2.59.0 hash table changes broke gcr versions older than 3.28.1. Add
an explicit conflict to make sure dnf updates these in lock step.
2019-01-21 12:17:48 +01:00
Kalev Lember
9f7e13d0db Switch to the meson build system 2019-01-03 13:57:37 +01:00
Kalev Lember
cbe7cdc693 Add missing gcc and gcc-c++ build deps 2019-01-03 13:30:29 +01:00
Kalev Lember
118876b458 Update to 2.59.0 2019-01-03 12:20:01 +01:00
Kalev Lember
aedd1304a1 Update to 2.58.2 2018-12-18 15:30:27 +01:00
Miro Hrončok
6070ee78fb https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 2018-11-15 12:53:55 +01:00
Kalev Lember
4acd8adcda Fix multilib -devel installs
This time the issue was that the glib build system generates
bytecompiled python files during make install, so the 'touch -r' that's
after make install didn't take effect. Fix this by removing the
bytecompiled files after make install, and let rpmbuild brp scripts
regenerate them again afterwards.

https://bugzilla.redhat.com/show_bug.cgi?id=1634778
2018-10-05 09:54:32 +02:00
Kalev Lember
03b8b8e2e3 Update to 2.58.1 2018-09-21 16:45:27 +02:00
Kalev Lember
5d7683bd2f Merge branch 'master' into f29 2018-09-05 17:23:07 +02:00
Kalev Lember
e17445b580 Sort %files list 2018-09-05 16:37:05 +02:00
Kalev Lember
8772f8141f Update to 2.58.0 2018-09-05 16:36:01 +02:00
Colin Walters
9a01b6006b Add --disable-silent-rules
To make it easier to debug build issues.
2018-08-27 09:39:30 -04:00
Ondrej Holy
96178709bd Update to 2.57.2 2018-08-02 11:13:04 +02:00
Ondrej Holy
61bd4d25e7 Update to 2.57.1 2018-07-20 15:50:57 +02:00
Fedora Release Engineering
38b0fc282d - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 02:34:01 +00:00
Miro Hrončok
fdc1cc9df5 Rebuilt for Python 3.7 2018-06-19 10:43:50 +02:00
Debarshi Ray
9c3ca0aa8b Backport patch to fix possible invalid pointer in dbus callback
... in the FD.o notification backend

https://bugzilla.redhat.com/show_bug.cgi?id=1584916
https://gitlab.gnome.org/GNOME/glib/merge_requests/90
https://gitlab.gnome.org/GNOME/glib/merge_requests/102
2018-06-14 15:34:42 +02:00
Kalev Lember
6c43ffbb6e Rely on %make_install overriding INSTALL, instead of doing it ourselves 2018-05-27 14:18:20 +02:00
Kalev Lember
dea8a050cc Fix multilib -devel installs (#1581067)
We are patching one of the .py files, which is causing the timestamp to
be slightly off in different builds, which in turn gets baked into .pyc
files. Work this around by using another file's timestamp for the
patched .py file.
2018-05-27 14:16:21 +02:00
Fabio Valentini
4c1e2ebdaa
include upstream patch to fix gdbus-codegen with meson 0.46 2018-05-13 15:06:56 +02:00
Kalev Lember
98d0423b58 Update to 2.56.1 2018-04-08 22:23:09 +02:00
Kalev Lember
cda7784363 Update to 2.56.0 2018-03-12 22:36:00 +01:00
Igor Gnatenko
9b6973c83d
remove glib-compile-schemas for /app
It's not in Fedora guidelines and even if it would be there, it would
require separate trigger.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-11 17:36:39 +01:00
Igor Gnatenko
2bf83454cd
Undo disabling mangling
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-07 18:31:09 +01:00
Kalev Lember
2cdd991d06 Disable brp-mangle-shebangs shebangs
It suddenly started creating broken /usr/bin//usr/bin/python3 shebangs,
making glib2-devel uninstallable.
2018-02-07 04:26:11 +01:00
Kalev Lember
fd6c7196f2 Drop ldconfig scriptlets 2018-02-07 03:24:24 +01:00
Kalev Lember
ad56827ff1 Update to 2.55.2 2018-02-07 03:24:24 +01:00
Igor Gnatenko
14f6fc54a9 Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-31 17:34:41 +01:00
Kalev Lember
087ef3ba0f gmain: Partial revert of recent wakeup changes
https://bugzilla.gnome.org/show_bug.cgi?id=761102
2018-01-18 12:47:19 +01:00
Kalev Lember
903f77fb2d Drop upstreamed systemtap multilib fix 2018-01-08 21:43:21 +01:00
Kalev Lember
acd3cbe4d5 Update to 2.55.1 2018-01-08 21:35:29 +01:00
Kalev Lember
0ce8af8d61 Update to 2.55.0 2017-12-19 10:26:26 +01:00
Kalev Lember
1267711fed Update to 2.54.2 2017-11-01 16:14:30 +01:00
Kalev Lember
9c81d716d8 Update to 2.54.1 2017-10-06 20:21:53 +02:00
Kalev Lember
a462f9ad53 Update to 2.54.0 2017-09-11 07:15:36 +02:00
Kalev Lember
a26ff7ab92 Update to 2.53.7 2017-09-05 22:24:42 +02:00
Kalev Lember
bdba4a7a70 Update to 2.53.6 2017-08-19 18:08:12 +02:00
Igor Gnatenko
d7233f80ab trivial: use better macro for make (install) provided by RPM
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-07 22:45:34 +02:00
Igor Gnatenko
78ad5e06b9 Update to 2.53.5
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-08-07 22:45:26 +02:00
Kalev Lember
7601a56f32 Backport glib-mkenums flags annotation parsing fixes 2017-08-01 22:54:29 +01:00
Fedora Release Engineering
52c8682ec3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 10:19:53 +00:00
Kalev Lember
8a2874adbc Revert a GKeyFile introspection ABI change 2017-07-21 19:00:31 +02:00
Kalev Lember
9d1a02789c Update to 2.53.4 2017-07-18 10:24:36 +02:00
Kalev Lember
712673e983 Update to 2.53.3 2017-06-22 17:53:14 +02:00
Owen W. Taylor
a93430c4ec Make triggers also compile schemas in /app/share/glib-2.0/schemas 2017-06-08 21:46:35 -04:00
Florian Müllner
c120a31c5c Update to 2.53.2 2017-05-24 23:19:47 +02:00
Kalev Lember
15854645a4 Backport a gmain GWakeup patch to fix timedatex high CPU usage
https://bugzilla.redhat.com/show_bug.cgi?id=1450628
2017-05-15 10:54:10 +02:00
Kalev Lember
ca7ad47973 Update to 2.52.2 2017-05-09 16:04:57 +02:00
Colin Walters
05d466c2f3 Backport patches for gmain wakeup for qemu
See: https://bugzilla.gnome.org/show_bug.cgi?id=761102
2017-04-11 12:06:05 -04:00
Colin Walters
020ac281a0 Explictly remove PCRE sources
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1324770
2017-04-11 11:15:20 -04:00
Kalev Lember
28d80c00df Update to 2.52.1 2017-04-11 14:33:29 +02:00
Kalev Lember
801e4a1ba0 Don't use full path for triggers
rpm already sets a sufficiently narrow PATH for all scripts and there's
no need to further confine them.
2017-03-20 11:06:22 +01:00
Kalev Lember
13e91f1191 Update to 2.52.0 2017-03-20 10:32:52 +01:00
Kalev Lember
3d2fdcc93f Update to 2.51.5 2017-03-16 17:02:32 +01:00
Kalev Lember
d0061dc774 Remove the dependency on dbus-launch again
This would have forced an X11 dependency for all of the low level
programs that link with glib, which is a no go.

The dbus dependency needs to be added in apps that use the functionality
instead.

https://bugzilla.redhat.com/show_bug.cgi?id=927212
2017-03-02 09:38:50 +01:00
David King
9212218622 Use pkgconfig for BuildRequires
https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires
2017-03-01 22:37:01 +00:00
David King
c61950e22a Add a Requires on dbus-launch (#927212) 2017-03-01 22:36:58 +00:00
David King
d6f26ff142 Update to 2.51.4 2017-03-01 22:36:38 +00:00
Richard Hughes
0a852c03e0 Update to 2.51.3 2017-02-27 20:31:22 +00:00
Richard Hughes
521a0af72d Update to 2.51.2 2017-02-14 12:38:15 +00:00
Richard Hughes
6eddb09ca7 Fix filelists 2017-02-13 13:14:22 +00:00
Richard Hughes
de68b09821 Update to 2.51.1 2017-02-13 13:02:29 +00:00
Fedora Release Engineering
6ebc67f953 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 11:07:01 +00:00
Miro Hrončok
66ce32f8f6 Rebuild for Python 3.6 2016-12-19 18:20:36 +01:00
Kalev Lember
909ce71f92 Update to 2.51.0 2016-10-30 11:57:16 +01:00
Kalev Lember
590ba0a7c2 Update to 2.50.1 2016-10-12 16:43:02 +02:00
Kalev Lember
f0e37d48aa Drop license redefinition
This shouldn't be needed for neither Fedora nor RHEL any more.
2016-09-28 14:42:45 +02:00
Kalev Lember
b667522807 Update to 2.50.0 2016-09-19 16:43:20 +02:00
Kalev Lember
f19e684016 Use standard tag order in the spec file 2016-09-13 09:46:00 +02:00
Kalev Lember
49888f2247 Don't set group tags
They are unused in Fedora.
2016-09-13 09:43:53 +02:00
Kalev Lember
050e056f1a Update to 2.49.7 2016-09-13 09:43:12 +02:00
Kalev Lember
6fa82410a9 Update to 2.49.6 2016-08-28 20:42:16 +02:00
Kalev Lember
720a3c04d3 Own /usr/share/gdb and /usr/share/systemtap directories
... to avoid leaving behind empty directories after uninstalling
glib2-devel.
2016-08-18 08:42:40 +02:00
Kalev Lember
8c1e113e30 Update to 2.49.5 2016-08-18 07:58:14 +02:00
Miro Hrončok
95c4ff00c9 Use Python 3 for the RPM Python byte compilation 2016-08-16 13:40:19 +02:00
Ville Skyttä
bd79cc7078 Switch to Python 3 2016-08-16 12:49:18 +02:00
Kalev Lember
3988005eba Update to 2.49.4 2016-07-21 08:46:05 +02:00
Kalev Lember
e80d9926c8 Update to 2.49.3 2016-07-17 21:43:15 +02:00
Petr Písař
33893e2564 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 10:36:17 +02:00
Richard Hughes
edffddfc65 Update to 2.49.2 2016-06-22 11:14:47 +01:00
Yaakov Selkowitz
87058bdf9c Soften shared-mime-info dependency (#1266118) 2016-06-01 14:47:02 -05:00
Florian Müllner
65184ef400 Update to 2.49.1 2016-05-27 16:25:10 +02:00
Kalev Lember
4a9a2168b8 Update to 2.48.1 2016-05-10 11:40:49 +02:00
Colin Walters
c1a8bc0c27 Explicitly require system pcre, though we happened to default to this now
anyways due to something else pulling PCRE into the buildroot
  Closes rhbz#1287266
2016-04-06 16:38:25 -04:00
Kalev Lember
d2f294c971 Update to 2.48.0 2016-03-22 22:49:09 +01:00
Richard Hughes
8fe0a4919c trivial: Work around a broken tarball
Colin is just fixing this upstream now.
2016-03-17 14:02:35 +00:00
Richard Hughes
9a2f240e5e Update to 2.47.92 2016-03-17 10:09:54 +00:00
Colin Walters
7bda568479 git snapshot to work around https://bugzilla.gnome.org/show_bug.cgi?id=762637
- Add --with-python=/usr/bin/python explicitly to hopefully fix a weird
  issue I am seeing where librepo fails to build in epel7 with this due to
  us requiring /bin/python.
2016-02-24 15:41:00 -05:00
Richard Hughes
f441ba778e Update to 2.47.6 2016-02-17 10:01:18 +00:00
Dennis Gilmore
b409b5060b - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 22:04:28 +00:00
David King
78b0c0f225 Update to 2.47.5 2016-01-19 11:50:02 +00:00
Kalev Lember
30be49854c Update to 2.47.4 2015-12-16 16:52:53 +01:00
Kalev Lember
43ad60e20e Update to 2.47.3 2015-11-25 17:41:00 +01:00
Kalev Lember
5472a32d5c Update to 2.47.2 2015-11-25 08:53:02 +01:00
Kevin Fenzi
7473b58ac4 Add full path redirect output to null and || : to triggers. 2015-11-09 20:36:49 -07:00
Kalev Lember
cafbb83624 Update to 2.47.1 2015-10-28 08:16:09 +01:00
Kalev Lember
64b1fd19ea Backport an upstream fix for app launching under wayland
https://bugzilla.redhat.com/show_bug.cgi?id=1273146
2015-10-19 22:39:43 +02:00
Kalev Lember
135a12a11c Update to 2.46.1 2015-10-14 16:52:21 +02:00
Kalev Lember
8efb30daf8 Update to 2.46.0 2015-09-21 15:27:03 +02:00
Kalev Lember
ee9fe8145c Update to 2.45.8 2015-09-14 17:11:06 +02:00
Kalev Lember
90bf1b32b0 Update to 2.45.7 2015-09-01 18:19:15 +02:00
Kalev Lember
4235df9f60 Update to 2.45.6 2015-08-19 22:46:54 +02:00
Kalev Lember
8b343f3544 Update to 2.45.5 2015-08-19 22:10:26 +02:00
Matthias Clasen
6755798d12 Add file triggers 2015-08-14 11:55:58 -04:00
David King
2dcc4a3c39 Update to 2.45.4 2015-07-21 08:32:50 +01:00
Kalev Lember
33edb32972 Backport a patch to fix notification withdrawing in gnome-software 2015-06-24 11:15:08 +02:00
David King
37425187a1 Update to 2.45.3 2015-06-24 09:59:29 +01:00
Dennis Gilmore
bb5d4bcab2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 08:26:27 +00:00
David King
155dac13a7 Update to 2.45.2 2015-05-26 09:23:59 +01:00
Kalev Lember
aaaadfa0e3 Update to 2.45.1 2015-04-30 14:46:34 +02:00
Kalev Lember
a7cfb69290 Update to 2.44.0 2015-03-23 19:05:54 +01:00
Kalev Lember
5b9d4813fe Update to 2.43.92 2015-03-17 14:44:53 +01:00
Kalev Lember
18083219d7 Update to 2.43.91 2015-03-02 21:12:01 +01:00
Till Maas
79b7e1a5e5 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:25:36 +01:00
David King
cc555d1c72 Update man pages glob in files section
https://fedoraproject.org/wiki/Packaging:Guidelines#Manpages
2015-02-18 17:27:59 +00:00
David King
ff0cae3123 Update to 2.43.90 2015-02-18 17:26:11 +00:00
Matthias Clasen
3678fff388 2.43.4 2015-02-10 20:28:54 -05:00
David King
31b797e2a7 Update to 2.43.3 2015-01-20 08:22:53 +00:00
Kalev Lember
0766feafff Update to 2.43.2 2014-12-17 11:49:22 +01:00
Kalev Lember
fca95b7377 Update to 2.43.1 2014-11-25 11:11:47 +01:00
Florian Müllner
c894923a28 Update to 2.43.0 2014-10-31 10:55:51 +01:00
Kalev Lember
ee19c0cfd1 Update to 2.42.0 2014-09-22 20:02:16 +02:00
Kalev Lember
7173be9291 Update to 2.41.5 2014-09-16 09:24:56 +02:00
Matthias Clasen
2c8f4e7a31 Fix gdbus-peer test 2014-09-04 23:36:00 -04:00
Bastien Nocera
1759e582c5 Fix banshee getting selected as the default movie player 2014-09-04 19:57:15 +02:00
Kalev Lember
b45bc84b46 Update to 2.41.4 2014-09-02 23:02:04 +02:00
Kalev Lember
b106300330 Update to 2.41.3 2014-08-16 21:17:17 +02:00
Peter Robinson
82f0a6a1c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 16:44:37 +00:00
Stef Walter
d143a7bba6 Fix regression in encoding of array of doubles
rhbz#1122128
2014-07-23 09:33:03 -04:00
Kalev Lember
acaa117c64 Update to 2.41.2 2014-07-14 17:00:43 +02:00
Tom Callaway
2f6436c152 fix license handling 2014-07-12 11:12:45 -04:00
Richard Hughes
f4398cbb64 Update to 2.41.1 2014-06-24 12:56:51 +01:00
Dennis Gilmore
7ab7df4b4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 11:12:58 -05:00
Kalev Lember
94703bb293 Update to 2.41.0 2014-05-27 11:18:12 +02:00
Richard Hughes
062ae8743a Update to 2.40.0 2014-03-24 19:47:01 +00:00
Richard Hughes
73831db5f5 Update to 2.39.92 2014-03-18 13:43:46 +00:00
Richard Hughes
37f2e6a09b Update to 2.39.91 2014-03-04 14:21:55 +00:00
Richard Hughes
87399ddca1 Update to 2.39.90 2014-02-18 11:54:11 +00:00
Richard Hughes
9df1f592d1 Update to 2.39.4 2014-02-04 09:36:43 +00:00
Richard Hughes
af8f0d018f Update to 2.39.3 2014-01-14 09:09:15 +00:00
Richard W.M. Jones
8d1f2560de Re-add static subpackage so that we can build static qemu as
an AArch64 binfmt.
2013-12-22 20:58:19 +00:00
Richard Hughes
c83908386e Update to 2.39.2 2013-12-17 09:23:16 +00:00
Richard Hughes
5ccb823475 Backport a patch from master to stop gnome-settings-daemon crashing 2013-12-09 08:42:03 +00:00
Richard Hughes
6c0de58bfa Update to 2.39.1 2013-11-14 15:48:50 +00:00
Richard Hughes
0f1e253d42 Trim changelog to one year in length 2013-10-29 08:40:27 +00:00
Richard Hughes
3be72f99c3 Fix filelists 2013-10-29 08:40:11 +00:00
Richard Hughes
d247541600 Update to 2.39.0 2013-10-28 17:54:46 +00:00
Kalev Lember
aafdb1dc21 Update to 2.38.0 2013-09-24 22:01:13 +02:00
Kalev Lember
8cc88f501a Update to 2.37.93 2013-09-17 20:01:13 +02:00
Kalev Lember
2beaa32957 Update to 2.37.7 2013-09-02 22:25:54 +02:00
Debarshi Ray
9da0fb4b16 Update to 2.37.6 2013-08-21 18:48:44 +02:00
Petr Písař
ef9967724e Perl 5.18 rebuild 2013-08-03 13:40:35 +02:00
Debarshi Ray
7262b9bce8 Update to 2.37.5 2013-08-01 16:45:15 +02:00
Petr Písař
6dea828cc8 Perl 5.18 rebuild 2013-07-18 01:30:27 +02:00
Debarshi Ray
19a1f0d61e Remove rpath from gdbus-peer 2013-07-10 20:33:53 +02:00
Matthias Clasen
b95e4bd68c 2.37.4 2013-07-09 20:55:13 -04:00
Kalev Lember
50d046e3fd Fix the build
https://bugzilla.gnome.org/show_bug.cgi?id=700350
2013-06-20 19:48:48 +02:00
Debarshi Ray
b947f05ed6 Update to 2.37.2 2013-06-20 12:52:35 +02:00
Matthias Clasen
828dd098f4 Limit changelog 2013-06-08 23:29:22 -04:00
Matthias Clasen
25351c5075 2.37.1 2013-05-28 19:37:41 -04:00
Kalev Lember
2d0f25ec3e Update to 2.37.0 2013-05-03 22:11:01 +02:00
Thorsten Leemhuis
7bf8211082 Fix pidgin freezes by applying patch from master (#956872) 2013-04-29 18:21:37 +02:00
Kalev Lember
b661dad8c2 Update to 2.36.1 2013-04-16 00:13:07 +02:00
Kalev Lember
3d0d079e01 Update to 2.36.0 2013-03-25 22:55:49 +01:00
Matthias Clasen
a18eaa5d1e 2.35.9 2013-03-19 19:59:43 -04:00
Kalev Lember
15a6e4dc90 2.35.8 2013-02-20 23:27:55 +01:00
Kalev Lember
ca7460ddcc 2.35.7 2013-02-05 21:55:20 +01:00
Matthias Clasen
063ef24a33 2.35.4 2013-01-15 17:02:18 -05:00
Kalev Lember
43f421602c Update to 2.35.3 2012-12-20 20:31:49 +01:00
Kalev Lember
69da8037e4 Update to 2.35.2 2012-11-24 11:44:04 +01:00
Kalev Lember
3c181fd35e Update to 2.35.1
... and drop upstreamed codegen-in-datadir.patch.
2012-11-08 23:29:53 +01:00
Kalev Lember
995dd9991b Update to 2.34.1 2012-10-16 16:04:59 +02:00
Tomas Bzatek
7e37219787 Re-enable fam, put it in separate subpackage 2012-10-10 17:41:56 +02:00
Matthias Clasen
f328d62aff fix file list 2012-10-10 08:34:28 -04:00
Matthias Clasen
3d798c3fdc sync with f18, disable fam 2012-10-10 08:09:39 -04:00
Kalev Lember
050c8393ad Update to 2.34.0 2012-09-24 11:02:42 +02:00
Kalev Lember
9dc809c289 Update to 2.33.14 2012-09-18 14:11:34 +02:00
Kalev Lember
5a0b40f8b4 Merge remote-tracking branch 'origin/f18' 2012-09-18 14:09:24 +02:00
Lennart Poettering
b78b94d66b Drop explicit dependency on eject, as it is included in util-linux now, which is available in the base set 2012-09-12 22:31:27 +02:00
Lennart Poettering
ae10613eeb Drop explicit dependency on eject, as it is included in util-linux now, which is available in the base set 2012-09-12 22:08:59 +02:00
Richard Hughes
2fc6d62421 Update to 2.33.12 2012-09-04 10:27:13 +01:00
Richard Hughes
e28a57ce23 Update to 2.33.10 2012-08-21 14:52:45 +01:00
Colin Walters
e62f41a441 Re-add code to strip RPATHs (#840414) 2012-08-13 11:58:47 -04:00
Tomas Bzatek
01d9f69e6f Add runtime dependency on eject (#748007) 2012-07-20 14:41:46 +02:00
Matthias Clasen
5b21057a38 2.33.6 2012-07-18 09:17:33 -04:00
Richard Hughes
eec887c7c1 Update to 2.33.4 2012-07-17 10:33:18 +01:00
Matthias Clasen
02cd00b246 try again 2012-06-26 01:15:10 -04:00
Matthias Clasen
1dfb21305d fix spec 2012-06-26 01:02:20 -04:00
Matthias Clasen
e33b45d665 fix file lists 2012-06-26 00:49:47 -04:00
Matthias Clasen
b95a023f8b 2.33.3 2012-06-26 00:38:55 -04:00
Richard Hughes
6c03e0a6b7 Update to 2.33.2 2012-06-06 23:44:24 +01:00
Kalev Lember
81312dc222 2.33.1 2012-05-05 18:38:34 +03:00
Kalev Lember
d06c27b1e7 Drop unused patches 2012-05-05 18:30:14 +03:00
Kalev Lember
5a6eac83a5 Obsolete the removed -static subpackage 2012-04-30 20:27:08 +03:00
Colin Walters
6ecf1fc271 Drop glib2-static subpackage; anaconda hasn't required it since
2007.  See bug 193143.
2012-04-30 14:04:55 -04:00
Peter Robinson
5d3325eaaf fix merge 2012-04-18 17:36:51 +01:00
Matthias Clasen
d88fa3eeb7 forgotten sources 2012-04-13 22:14:50 -04:00
Matthias Clasen
c79bb8d304 2.32.1 2012-04-13 21:59:08 -04:00
Matthias Clasen
61bab6594f 2.32.0 2012-03-29 14:37:40 +03:00
Matthias Clasen
71a269c050 2.32.0 2012-03-27 22:11:22 -04:00
Kalev Lember
dfe1582fc0 2.31.22 2012-03-20 22:08:36 +02:00
Matthias Clasen
8c5860c0f4 2.31.20 2012-03-20 22:08:35 +02:00
Matthias Clasen
1515b389d7 2.31.18 2012-03-20 22:08:34 +02:00
Kalev Lember
d1b1e44373 2.31.22 2012-03-20 22:05:37 +02:00
Matthias Clasen
c7dff6134b 2.31.20 2012-03-05 19:47:34 -05:00
Matthias Clasen
fb9894e7fc 2.31.18 2012-02-24 20:19:59 -05:00
Richard Hughes
c44e67da62 Add BR: elfutils-libelf-devel for the GResource functionality 2012-02-21 14:17:24 +00:00
Richard Hughes
4fa1cf4fb4 Add BR: elfutils-libelf-devel for the GResource functionality 2012-02-21 13:31:58 +00:00
Matthias Clasen
45490abf4c Fix file lists 2012-02-06 18:24:22 -05:00
Matthias Clasen
3de570bf11 2.31.16 2012-02-06 17:42:16 -05:00
Matthias Clasen
9d078a0e35 fix spec 2012-01-20 15:47:55 -05:00
Matthias Clasen
c96a6395fe 2.31.12 2012-01-20 15:46:29 -05:00
Matthias Clasen
82360d4174 fix headers 2012-01-17 22:34:03 -05:00
Matthias Clasen
7626a2a823 fix file lists some more 2012-01-16 23:40:35 -05:00
Matthias Clasen
1a5af75a77 fix file lists 2012-01-16 23:39:46 -05:00
Matthias Clasen
feaf2220a1 2.31.10 2012-01-16 23:31:06 -05:00
Dennis Gilmore
d7da97433d - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 21:36:41 -06:00
Matthias Clasen
741a6fa618 2.31.6 2011-12-19 19:41:49 -05:00
Matthias Clasen
ce1e8c81d5 Fix a GDBus segfault 2011-11-23 09:39:14 -05:00
Matthias Clasen
bf98447bc5 2.31.2 2011-11-21 16:09:16 -05:00
Tomas Bzatek
7541cc7333 Update to 2.31.0 2011-10-21 12:49:26 +02:00
Matthias Clasen
c5e62818f6 2.30.1 2011-10-14 17:11:10 -04:00
Dan Williams
910d213340 Fix release # 2011-10-05 15:12:06 -05:00
Dan Williams
ca35b29fac Fix signal marshalling on 64-bit big-endian platforms (rh #736489) 2011-10-05 15:11:33 -05:00
Ray Strode
d75afa8e07 Update to 2.30.0 2011-09-26 21:28:02 -04:00
Matthias Clasen
e0acf00bbc 2.29.92 2011-09-19 18:51:47 -04:00
Matthias Clasen
c66b3a7453 2.29.90 2011-09-06 13:23:00 -04:00
Matthias Clasen
861f5de53b fix file lists 2011-08-30 17:59:52 -04:00
Matthias Clasen
dc255aeb35 2.29.18 2011-08-30 17:45:52 -04:00
Matthias Clasen
865ddbbc7f sync with f16 2011-08-24 17:10:30 -04:00
Matthias Clasen
879664e7c1 2.29.14 2011-07-23 11:44:48 -04:00
Matthias Clasen
40fb1ad53d 2.29.10 2011-07-05 11:51:47 -04:00
Matthias Clasen
1119f1b4b3 2.29.82.29.8 2011-06-14 00:13:30 -04:00
Ville Skyttä
92eb058886 Own %ghost /usr/lib*/gio/modules/giomodule.cache. 2011-06-09 09:12:37 +03:00
Matthias Clasen
535843addb fix spec 2011-06-06 23:55:28 -04:00
Matthias Clasen
e16b5d2461 bump rev 2011-06-06 23:31:36 -04:00
Matthias Clasen
d590dacb3d fix a deadlock 2011-06-06 23:30:20 -04:00
Matthias Clasen
1b4ed1ef0e 2.29.6 2011-06-05 20:37:57 -04:00
Colin Walters
156eb83ac6 Remove G_BROKEN_FILENAMES; Closes: #708536 2011-05-27 17:29:11 -04:00
Tomas Bzatek
e15d826624 Fix BR 2011-05-06 14:27:45 +02:00
Tomas Bzatek
390e20c3b6 Update to 2.29.4 2011-05-06 14:17:50 +02:00
Matthias Clasen
fc8a8087e9 bump rev 2011-04-14 17:21:57 -04:00
Matthias Clasen
133a16bced Include byte-compiled files 2011-04-14 17:20:47 -04:00
Matthias Clasen
9a94b6b298 2.28.6 2011-04-14 10:51:56 -04:00
Matthias Clasen
f0d45d4873 2.28.5 2011-04-01 18:26:59 -04:00
Matthias Clasen
d74ed4ed8b Bump rev 2011-03-29 12:39:09 -04:00
Matthias Clasen
d5328232e7 Fix some introspection annotations 2011-03-29 12:38:10 -04:00
Matthias Clasen
675c2211e5 2.28.4 2011-03-21 17:40:06 -04:00
Colin Walters
7c0d49b2c0 Rebuild to hopefully pick up new systemtap mark ABI
The current version doesn't seem to be triggering the stock
marks; a local rebuild of the RPM does, so let's do a rebuild
here.
2011-03-18 18:24:07 -04:00
Matthias Clasen
2e103e311c 2.28.3 2011-03-14 07:48:41 -04:00
Matthias Clasen
0a1f4f333b 2.28.2 2011-03-07 18:00:33 -05:00
Matthias Clasen
f5a917b5d3 2.28.1 2011-02-18 12:23:53 -05:00
Dennis Gilmore
9420c52ec0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 20:28:18 -06:00
Matthias Clasen
185b4855ea Fix sources 2011-02-08 15:07:01 -05:00
Matthias Clasen
a1a77da2f6 2.28.0 2011-02-08 14:55:23 -05:00
Matthias Clasen
996f411dfd fix sources 2011-01-29 12:13:15 -05:00
Matthias Clasen
d571f6c82c 2.27.93 2011-01-29 12:08:38 -05:00
Ville Skyttä
8030ac8011 Don't run gio-querymodules* in %postun if it no longer exists. 2011-01-24 20:25:12 +02:00
Matthias Clasen
796f1ccbfb fix sources 2011-01-22 10:29:59 -05:00
Matthias Clasen
f157144ee5 2.27.92 2011-01-22 10:20:04 -05:00
Matthias Clasen
fe7c7038f1 fix sources 2011-01-13 07:36:29 -05:00
Matthias Clasen
ae8eed9016 2.27.91 2011-01-11 16:51:57 -05:00
Matthias Clasen
d19cc6ef57 fix date 2011-01-06 18:15:18 -05:00
Matthias Clasen
89a186cd7b 2.27.90 2011-01-06 18:13:26 -05:00
Matthias Clasen
76e35fabf2 Add deprecation warning to update-gio-modules 2011-01-06 18:11:49 -05:00
Tomas Bzatek
912ad907f3 Fix typo in changelog 2010-12-01 15:32:44 +01:00
Tomas Bzatek
c889d4ddb5 - Upate to 2.27.4 2010-12-01 15:32:13 +01:00
Matthias Clasen
a1c33b1838 2.27.3 2010-11-11 09:18:25 -05:00
Matthias Clasen
94796854f9 Merge 2010-11-01 13:59:32 -04:00
Matthias Clasen
44661d04ff 2.27.2 2010-11-01 13:58:10 -04:00
Jesse Keating
6fc631f19b - Rebuilt for gcc bug 634757 2010-09-29 14:17:22 -07:00
Matthias Clasen
05818c5fde fix some permission issues pointed out by autoqa 2010-09-21 09:31:34 -04:00
Matthias Clasen
4e44188a54 2.27.0 2010-09-21 09:31:24 -04:00
Matthias Clasen
730903fd38 2.25.15 2010-08-31 09:57:08 -04:00
Matthias Clasen
53385f55da Fix a polkit problem 2010-08-18 13:00:04 -04:00
Matthias Clasen
0737c9768f 2.25.14 2010-08-17 12:06:14 -04:00
Mark Wielaard
064a5ee8fd Add systemtap static probe support. 2010-08-09 12:09:15 -04:00
Matthias Clasen
a7866c70b1 2.25.13 2010-08-06 21:45:25 -04:00
Matthias Clasen
7d67012a02 2.25.12 2010-08-02 16:48:33 -04:00
Fedora Release Engineering
aada1d6a73 dist-git conversion 2010-07-28 15:47:56 +00:00
Matthias Clasen
888ef99c05 2.25.11 2010-07-12 17:23:44 +00:00
Colin Walters
3db8e15e46 - Include gsettings bash completion 2010-06-29 16:44:26 +00:00
Colin Walters
b388bdb3b0 - Revert rpath change; Fedora's libtool is supposed to not generate them
for system paths.
- Add changes to spec file to support being built from snapshot as well as
    "make dist"-ball. This includes BuildRequires and autogen.sh handling,
    and gtk-doc enabling if we're bootstrapping.
2010-06-29 16:43:14 +00:00
Matthias Clasen
9ac6cf9f5e Fix an evince crash 2010-06-27 23:33:16 +00:00
Matthias Clasen
d645679b16 2.25.10 2010-06-26 15:16:34 +00:00
Colin Walters
8a8889de7e - Only strip rpath at install time, not before build. Neutering libtool
sabotages gtk-doc, since it needs those rpaths to run an in-tree
    binary.
2010-06-23 23:51:56 +00:00
Richard Hughes
bf0da4ed34 - Backport a patch from git master to avoid a segfault when doing the
schema file check for several GNOME projects.
2010-06-22 08:54:41 +00:00
Matthias Clasen
3c2c7a9252 2.25.9 2010-06-21 13:54:59 +00:00
Matthias Clasen
517b84cd3a 2.25.8 2010-06-08 05:23:36 +00:00
Matthias Clasen
5f01536c2c require shared-mime-info 2010-05-26 00:23:56 +00:00
Matthias Clasen
649ddabedc 2.25.7 2010-05-25 03:49:56 +00:00
Matthias Clasen
9c7bde4fee 2.25.6 2010-05-19 22:27:18 +00:00
Matthias Clasen
eb0dd09ea8 Remove and erroneous removalRemove and erroneous removalRemove and
erroneous removalRemove and erroneous removalRemove and erroneous
    removalRemove and erroneous removalRemove and erroneous removalRemove
    and erroneous removalRemove and erroneous removal
2010-05-17 19:14:51 +00:00
Matthias Clasen
e53437daee more file list fixing 2010-05-15 03:13:50 +00:00
Matthias Clasen
5cb4d6c034 fix file list 2010-05-15 03:05:10 +00:00
Matthias Clasen
6a9cab072a 2.25.5 2010-05-15 02:51:25 +00:00
Matthias Clasen
04a7a35d27 2.25.3 2010-04-24 01:13:47 +00:00
Matthias Clasen
146ec32225 install man pages 2010-04-23 11:31:35 +00:00
Matthias Clasen
da5523027e Fix spec 2010-04-23 11:07:05 +00:00
Matthias Clasen
bc373def26 2.25.2 2010-04-23 11:02:50 +00:00
Matthias Clasen
1a14eb46a9 include schema compiler in the main package 2010-04-22 23:02:47 +00:00
Matthias Clasen
867a0547c1 fix spec 2010-04-20 00:10:10 +00:00
Matthias Clasen
05ecd7bf46 Add a multilib wrapper 2010-04-19 23:59:51 +00:00
Matthias Clasen
df81c20827 2.25.1 2010-04-19 23:27:40 +00:00
Matthias Clasen
b853addf7c 2.24.0 2010-03-28 04:32:39 +00:00
Matthias Clasen
cb03b7eb9c 2.23.6 2010-03-22 15:18:01 +00:00
Matthias Clasen
ed966cafdd cleanups 2010-03-10 05:31:02 +00:00
Matthias Clasen
3acbcbf3e9 2.23.5 2010-03-09 23:43:36 +00:00
Matthias Clasen
065ed51db2 2.23.4 2010-02-22 04:57:38 +00:00
Matthias Clasen
5858b16c42 2.23.3 2010-02-11 23:04:05 +00:00
Matthias Clasen
d2d65bf821 Apply the patch 2010-01-26 05:05:38 +00:00
Matthias Clasen
b2329ca8a3 Don't use __abort_msg from glibc 2010-01-25 23:37:08 +00:00
Matthias Clasen
c13999fd89 2.23.2 2010-01-25 21:48:08 +00:00
Matthias Clasen
5b6f8801cc 2.23.1 2009-12-21 16:05:50 +00:00
Matthias Clasen
829c83bba7 Add zlib-devel BR 2009-12-01 00:48:45 +00:00
Matthias Clasen
f9a79c62d8 cleanup 2009-12-01 00:38:59 +00:00
Matthias Clasen
ea58559b2f drop upstreamed patch 2009-12-01 00:32:14 +00:00
Matthias Clasen
145e19c5a9 2.23.0 2009-12-01 00:21:41 +00:00
Bill Nottingham
66dc90fd42 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:19:29 +00:00
Matthias Clasen
84e96bd153 avoid multilib conflicts 2009-09-25 15:04:59 +00:00
Matthias Clasen
7a7333dd4d Avoid multilib conflicts 2009-09-24 14:30:56 +00:00
Matthias Clasen
1f9c65d5b9 fix BRs 2009-09-23 20:39:17 +00:00
Matthias Clasen
993b866615 forgotten patch 2009-09-23 20:24:38 +00:00
Matthias Clasen
31b382d14a fix gdb macro location 2009-09-23 20:16:27 +00:00
Matthias Clasen
26dae200a2 fix file lists 2009-09-23 02:00:25 +00:00
Matthias Clasen
837c11b480 fix file lists 2009-09-23 01:26:50 +00:00
Matthias Clasen
2585abae92 2.22.0 2009-09-22 23:37:28 +00:00
Matthias Clasen
8f54548386 2.21.6 2009-09-05 01:50:14 +00:00
Matthias Clasen
49f907b52d 2.21.5 2009-08-24 19:14:29 +00:00
Matthias Clasen
7b455dd2f8 Save some space 2009-08-02 05:42:18 +00:00
Jesse Keating
c15afea8ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 00:19:54 +00:00
Matthias Clasen
2660622569 2.21.4 2009-07-18 01:00:48 +00:00
Matthias Clasen
4675b30af4 use --with-runtime-libdir 2009-07-06 05:14:30 +00:00
Matthias Clasen
0fa14cb926 2.21.3 2009-07-06 04:47:56 +00:00
Matthias Clasen
9e44209b59 2.21.2 2009-06-15 18:14:20 +00:00
Matthias Clasen
9ce2c6f01b 2.21.1 2009-05-29 04:27:25 +00:00
Matthias Clasen
190fc61d42 fix spec 2009-05-16 01:07:32 +00:00
Matthias Clasen
42a4c21de0 2.21.0 2009-05-16 01:04:21 +00:00
Matthias Clasen
fe3b39d524 2.20.1 2009-04-09 23:53:02 +00:00
Matthias Clasen
ae683ddb04 drop obsolete patches 2009-04-06 13:39:17 +00:00
Matthias Clasen
8b5b81d168 2.20.0 2009-03-13 06:18:10 +00:00
Matthias Clasen
47e853d73b fix patch 2009-03-12 13:48:24 +00:00
Matthias Clasen
e06d22f3d2 Avoid integer overflows in the base64 handing functions 2009-03-12 13:41:37 +00:00
Matthias Clasen
f097b8ee37 make check doesn't work 2009-03-02 07:02:04 +00:00
Matthias Clasen
0b963a58c1 2.19.10 2009-03-02 06:53:43 +00:00
Jesse Keating
bacf231922 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-24 22:04:35 +00:00
Matthias Clasen
f6b038fe9d 2.19.8 2009-02-17 19:23:23 +00:00
Matthias Clasen
255efcd07c 2.19.7 2009-02-17 03:48:54 +00:00
Matthias Clasen
87db6c50c0 2.19.6 2009-02-03 02:52:38 +00:00
Matthias Clasen
2e582b229a 2.19.5 2009-01-20 16:39:32 +00:00
Matthias Clasen
cf1b401b49 2.19.4 2009-01-05 18:38:45 +00:00
Matthias Clasen
749403a4ce 2.19.3 2008-12-16 01:49:48 +00:00
Matthias Clasen
a2c1ff89d7 rebuild 2008-12-02 17:43:50 +00:00
Matthias Clasen
c52d9638d2 2.19.2 2008-12-02 02:21:32 +00:00
Matthias Clasen
f51f344896 fix spec 2008-12-01 15:53:48 +00:00
Matthias Clasen
238e5257dd 2.19.1 2008-12-01 15:41:13 +00:00
16 changed files with 4733 additions and 1045 deletions

View File

@ -1 +0,0 @@
glib-2.18.2.tar.bz2

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/glib-2.*.tar.xz

3417
1719.patch Normal file

File diff suppressed because it is too large Load Diff

32
1728.patch Normal file
View File

@ -0,0 +1,32 @@
From c2b8fa8a34765d42be69e7eb9a4c44eeb970f775 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <mcatanzaro@gnome.org>
Date: Wed, 28 Oct 2020 10:41:13 -0500
Subject: [PATCH] gsocketclient: fix crash when async connection step fails
This is a regression from !1686. The tmp_error is no longer valid after
it is "considered" and cannot be used at this point. We should print the
error earlier instead.
Fixes #2233
---
gio/gsocketclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c
index ce3c186fb..373774682 100644
--- a/gio/gsocketclient.c
+++ b/gio/gsocketclient.c
@@ -1837,9 +1837,9 @@ g_socket_client_connected_callback (GObject *source,
{
if (!g_cancellable_is_cancelled (attempt->cancellable))
{
+ g_debug ("GSocketClient: Connection attempt failed: %s", data->error_info->tmp_error->message);
clarify_connect_error (data->error_info->tmp_error, data->connectable, attempt->address);
consider_tmp_error (data->error_info, G_SOCKET_CLIENT_CONNECTING);
- g_debug ("GSocketClient: Connection attempt failed: %s", data->error_info->tmp_error->message);
connection_attempt_remove (attempt);
connection_attempt_unref (attempt);
try_next_connection_or_finish (data, FALSE);
--
GitLab

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: glib2
# $Id: Makefile,v 1.2 2005/11/15 18:51:53 mclasen Exp $
NAME := glib2
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,120 +0,0 @@
Index: gio/glocalfileinfo.c
===================================================================
--- gio/glocalfileinfo.c (revision 6871)
+++ gio/glocalfileinfo.c (working copy)
@@ -1706,6 +1706,24 @@
#endif
static gboolean
+get_string (const GFileAttributeValue *value,
+ const char **val_out,
+ GError **error)
+{
+ if (value->type != G_FILE_ATTRIBUTE_TYPE_STRING)
+ {
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
+ _("Invalid attribute type (byte string expected)"));
+ return FALSE;
+ }
+
+ *val_out = value->u.string;
+
+ return TRUE;
+}
+
+
+static gboolean
set_unix_mode (char *filename,
const GFileAttributeValue *value,
GError **error)
@@ -1948,6 +1966,52 @@
}
#endif
+
+static gboolean
+set_selinux_context (char *filename,
+ const GFileAttributeValue *value,
+ GError **error)
+{
+ const char *val;
+
+ if (!get_string (value, &val, error))
+ return FALSE;
+
+ if (val == NULL)
+ {
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
+ _("SELinux context must be non-NULL"));
+ return FALSE;
+ }
+
+#ifdef HAVE_SELINUX
+ if (is_selinux_enabled ()) {
+ security_context_t val_s;
+
+ val_s = g_strdup (val);
+
+ if (setfilecon_raw (filename, val_s) < 0)
+ {
+ int errsv = errno;
+
+ g_set_error (error, G_IO_ERROR,
+ g_io_error_from_errno (errsv),
+ _("Error setting SELinux context: %s"),
+ g_strerror (errsv));
+ return FALSE;
+ }
+ g_free (val_s);
+ } else {
+ g_set_error (error, G_IO_ERROR, G_IO_ERROR_INVALID_ARGUMENT,
+ _("SELinux is not enabled on this system"));
+ return FALSE;
+ }
+#endif
+
+ return TRUE;
+}
+
+
gboolean
_g_local_file_info_set_attribute (char *filename,
const char *attribute,
@@ -1993,6 +2057,11 @@
else if (g_str_has_prefix (attribute, "xattr-sys::"))
return set_xattr (filename, attribute, &value, error);
#endif
+
+#ifdef HAVE_SELINUX
+ else if (strcmp (attribute, G_FILE_ATTRIBUTE_SELINUX_CONTEXT) == 0)
+ return set_selinux_context (filename, &value, error);
+#endif
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
_("Setting attribute %s not supported"), attribute);
@@ -2110,5 +2179,25 @@
/* xattrs are handled by default callback */
+
+ /* SELinux context */
+#ifdef HAVE_SELINUX
+ if (is_selinux_enabled ()) {
+ value = _g_file_info_get_attribute_value (info, G_FILE_ATTRIBUTE_SELINUX_CONTEXT);
+ if (value)
+ {
+ if (!set_selinux_context (filename, value, error))
+ {
+ value->status = G_FILE_ATTRIBUTE_STATUS_ERROR_SETTING;
+ res = FALSE;
+ /* Don't set error multiple times */
+ error = NULL;
+ }
+ else
+ value->status = G_FILE_ATTRIBUTE_STATUS_SET;
+ }
+ }
+#endif
+
return res;
}

View File

@ -1,75 +0,0 @@
--- trunk/gio/gdesktopappinfo.c 2008/09/26 19:57:36 7554
+++ trunk/gio/gdesktopappinfo.c 2008/10/01 17:46:57 7566
@@ -530,9 +530,32 @@
{
GList *uris = *uri_list;
char *expanded;
-
+ gboolean force_file_uri;
+ char force_file_uri_macro;
+
g_return_if_fail (exec != NULL);
-
+
+ /* On %u and %U, pass POSIX file path pointing to the URI via
+ * the FUSE mount in ~/.gvfs. Note that if the FUSE daemon isn't
+ * running or the URI doesn't have a POSIX file path via FUSE
+ * we'll just pass the URI.
+ */
+ switch (macro)
+ {
+ case 'u':
+ force_file_uri_macro = 'f';
+ force_file_uri = TRUE;
+ break;
+ case 'U':
+ force_file_uri_macro = 'F';
+ force_file_uri = TRUE;
+ break;
+ default:
+ force_file_uri_macro = macro;
+ force_file_uri = FALSE;
+ break;
+ }
+
switch (macro)
{
case 'u':
@@ -541,7 +564,17 @@
case 'n':
if (uris)
{
- expanded = expand_macro_single (macro, uris->data);
+ if (!force_file_uri)
+ {
+ expanded = expand_macro_single (macro, uris->data);
+ }
+ else
+ {
+ expanded = expand_macro_single (force_file_uri_macro, uris->data);
+ if (expanded == NULL)
+ expanded = expand_macro_single (macro, uris->data);
+ }
+
if (expanded)
{
g_string_append (exec, expanded);
@@ -558,7 +591,17 @@
case 'N':
while (uris)
{
- expanded = expand_macro_single (macro, uris->data);
+ if (!force_file_uri)
+ {
+ expanded = expand_macro_single (macro, uris->data);
+ }
+ else
+ {
+ expanded = expand_macro_single (force_file_uri_macro, uris->data);
+ if (expanded == NULL)
+ expanded = expand_macro_single (macro, uris->data);
+ }
+
if (expanded)
{
g_string_append (exec, expanded);

View File

@ -1,139 +0,0 @@
--- trunk/docs/reference/gio/gio-sections.txt 2008/07/24 01:13:33 7251
+++ trunk/docs/reference/gio/gio-sections.txt 2008/07/24 21:21:22 7252
@@ -816,6 +816,7 @@
g_mount_eject_finish
g_mount_guess_content_type
g_mount_guess_content_type_finish
+g_mount_guess_content_type_sync
<SUBSECTION Standard>
G_IS_MOUNT
G_MOUNT
--- trunk/gio/gio.symbols 2008/07/24 01:13:33 7251
+++ trunk/gio/gio.symbols 2008/07/24 21:21:22 7252
@@ -718,6 +718,7 @@
g_mount_remount_finish
g_mount_guess_content_type
g_mount_guess_content_type_finish
+g_mount_guess_content_type_sync
#endif
#endif
--- trunk/gio/gmount.c 2008/07/24 01:13:33 7251
+++ trunk/gio/gmount.c 2008/07/24 21:21:22 7252
@@ -570,9 +570,10 @@
* memory cards. See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink>
* specification for more on x-content types.
*
- * This is an asynchronous operation, and is finished by calling
- * g_mount_guess_content_type_finish() with the @mount and #GAsyncResult
- * data returned in the @callback.
+ * This is an asynchronous operation (see
+ * g_mount_guess_content_type_sync() for the synchronous version), and
+ * is finished by calling g_mount_guess_content_type_finish() with the
+ * @mount and #GAsyncResult data returned in the @callback.
*
* Since: 2.18
*/
@@ -644,6 +645,55 @@
return (* iface->guess_content_type_finish) (mount, result, error);
}
+/**
+ * g_mount_guess_content_type_sync:
+ * @mount: a #GMount
+ * @force_rescan: Whether to force a rescan of the content.
+ * Otherwise a cached result will be used if available
+ * @cancellable: optional #GCancellable object, %NULL to ignore
+ * @error: a #GError location to store the error occuring, or %NULL to
+ * ignore
+ *
+ * Tries to guess the type of content stored on @mount. Returns one or
+ * more textual identifiers of well-known content types (typically
+ * prefixed with "x-content/"), e.g. x-content/image-dcf for camera
+ * memory cards. See the <ulink url="http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec">shared-mime-info</ulink>
+ * specification for more on x-content types.
+ *
+ * This is an synchronous operation and as such may block doing IO;
+ * see g_mount_guess_content_type() for the asynchronous version.
+ *
+ * Returns: a %NULL-terminated array of content types or %NULL on error.
+ * Caller should free this array with g_strfreev() when done with it.
+ *
+ * Since: 2.18
+ */
+char **
+g_mount_guess_content_type_sync (GMount *mount,
+ gboolean force_rescan,
+ GCancellable *cancellable,
+ GError **error)
+{
+ GMountIface *iface;
+
+ g_return_val_if_fail (G_IS_MOUNT (mount), NULL);
+
+ iface = G_MOUNT_GET_IFACE (mount);
+
+ if (iface->guess_content_type_sync == NULL)
+ {
+ g_set_error_literal (error,
+ G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
+ /* Translators: This is an error
+ * message for mount objects that
+ * don't implement content type guessing. */
+ _("mount doesn't implement synchronous content type guessing"));
+
+ return NULL;
+ }
+
+ return (* iface->guess_content_type_sync) (mount, force_rescan, cancellable, error);
+}
#define __G_MOUNT_C__
#include "gioaliasdef.c"
--- trunk/gio/gmount.h 2008/07/24 01:13:33 7251
+++ trunk/gio/gmount.h 2008/07/24 21:21:22 7252
@@ -119,6 +119,11 @@
gchar ** (*guess_content_type_finish) (GMount *mount,
GAsyncResult *result,
GError **error);
+
+ gchar ** (*guess_content_type_sync) (GMount *mount,
+ gboolean force_rescan,
+ GCancellable *cancellable,
+ GError **error);
};
GType g_mount_get_type (void) G_GNUC_CONST;
@@ -166,6 +171,11 @@
GAsyncResult *result,
GError **error);
+gchar ** g_mount_guess_content_type_sync (GMount *mount,
+ gboolean force_rescan,
+ GCancellable *cancellable,
+ GError **error);
+
G_END_DECLS
#endif /* __G_MOUNT_H__ */
--- trunk/configure.in 2008/07/21 17:56:17 7234
+++ trunk/configure.in 2008/07/21 18:07:55 7236
@@ -23,7 +23,7 @@
#
m4_define([glib_major_version], [2])
m4_define([glib_minor_version], [17])
-m4_define([glib_micro_version], [4])
+m4_define([glib_micro_version], [5])
m4_define([glib_interface_age], [0])
m4_define([glib_binary_age],
[m4_eval(100 * glib_minor_version + glib_micro_version)])
--- trunk/tests/Makefile.am 2008/07/20 02:09:05 7209
+++ trunk/tests/Makefile.am 2008/07/23 16:22:32 7243
@@ -186,7 +186,6 @@
module_test_LDFLAGS = $(G_MODULE_LDFLAGS)
node_test_LDADD = $(progs_ldadd)
onceinit_LDADD = $(thread_ldadd)
-option_test_LDADD = $(progs_ldadd)
printf_test_LDADD = $(progs_ldadd)
queue_test_LDADD = $(progs_ldadd)
asyncqueue_test_LDADD = $(thread_ldadd)

View File

@ -1,19 +0,0 @@
Index: gio/glocalfileinfo.c
===================================================================
--- gio/glocalfileinfo.c (revision 7620)
+++ gio/glocalfileinfo.c (revision 7621)
@@ -1577,12 +1577,8 @@ _g_local_file_info_get (const char
if (S_ISDIR (statbuf.st_mode))
type_icon = "folder";
- else if (statbuf.st_mode & S_IXUSR)
- type_icon = "application-x-executable";
- else
- type_icon = "text-x-generic";
-
- g_themed_icon_append_name (G_THEMED_ICON (icon), type_icon);
+ if (type_icon)
+ g_themed_icon_append_name (G_THEMED_ICON (icon), type_icon);
}
}

View File

@ -1,15 +0,0 @@
diff -up glib-2.16.6/configure.atomic glib-2.16.6/configure
--- glib-2.16.6/configure.atomic 2008-10-27 18:24:20.000000000 -0400
+++ glib-2.16.6/configure 2008-10-27 18:24:31.000000000 -0400
@@ -42742,11 +42742,6 @@ $as_echo_n "checking whether to use asse
if test x"$GCC" = xyes; then
case $host_cpu in
- i386)
- { $as_echo "$as_me:$LINENO: result: none" >&5
-$as_echo "none" >&6; }
- glib_memory_barrier_needed=no
- ;;
i?86)
{ $as_echo "$as_me:$LINENO: result: i486" >&5
$as_echo "i486" >&6; }

View File

@ -1,6 +0,0 @@
## This caused GLib2 applications to convert filenames from
## locale encoding to UTF-8. If the locale encoding is already
## UTF-8 then it makes no difference.
setenv G_BROKEN_FILENAMES 1

View File

@ -1,6 +0,0 @@
## This caused GLib2 applications to convert filenames from
## locale encoding to UTF-8. If the locale encoding is already
## UTF-8 then it makes no difference.
export G_BROKEN_FILENAMES=1

1176
glib2.spec

File diff suppressed because it is too large Load Diff

668
gnutls-hmac.patch Normal file
View File

@ -0,0 +1,668 @@
From afb5735506e2ed1c638a8c916aa3748bf0615f32 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Fri, 7 Jun 2019 18:44:43 +0000
Subject: [PATCH 1/2] ghmac: Split off wrapper functions into ghmac-utils.c
Prep for adding a GnuTLS HMAC implementation; these are just
utility functions that call the "core" API.
---
glib/ghmac-utils.c | 145 +++++++++++++++++++++++++++++++++++++++++++++
glib/ghmac.c | 112 ----------------------------------
glib/meson.build | 1 +
3 files changed, 146 insertions(+), 112 deletions(-)
create mode 100644 glib/ghmac-utils.c
diff --git a/glib/ghmac-utils.c b/glib/ghmac-utils.c
new file mode 100644
index 000000000..a17359ff1
--- /dev/null
+++ b/glib/ghmac-utils.c
@@ -0,0 +1,145 @@
+/* ghmac.h - data hashing functions
+ *
+ * Copyright (C) 2011 Collabora Ltd.
+ * Copyright (C) 2019 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "config.h"
+
+#include <string.h>
+
+#include "ghmac.h"
+
+#include "glib/galloca.h"
+#include "gatomic.h"
+#include "gslice.h"
+#include "gmem.h"
+#include "gstrfuncs.h"
+#include "gtestutils.h"
+#include "gtypes.h"
+#include "glibintl.h"
+
+/**
+ * g_compute_hmac_for_data:
+ * @digest_type: a #GChecksumType to use for the HMAC
+ * @key: (array length=key_len): the key to use in the HMAC
+ * @key_len: the length of the key
+ * @data: (array length=length): binary blob to compute the HMAC of
+ * @length: length of @data
+ *
+ * Computes the HMAC for a binary @data of @length. This is a
+ * convenience wrapper for g_hmac_new(), g_hmac_get_string()
+ * and g_hmac_unref().
+ *
+ * The hexadecimal string returned will be in lower case.
+ *
+ * Returns: the HMAC of the binary data as a string in hexadecimal.
+ * The returned string should be freed with g_free() when done using it.
+ *
+ * Since: 2.30
+ */
+gchar *
+g_compute_hmac_for_data (GChecksumType digest_type,
+ const guchar *key,
+ gsize key_len,
+ const guchar *data,
+ gsize length)
+{
+ GHmac *hmac;
+ gchar *retval;
+
+ g_return_val_if_fail (length == 0 || data != NULL, NULL);
+
+ hmac = g_hmac_new (digest_type, key, key_len);
+ if (!hmac)
+ return NULL;
+
+ g_hmac_update (hmac, data, length);
+ retval = g_strdup (g_hmac_get_string (hmac));
+ g_hmac_unref (hmac);
+
+ return retval;
+}
+
+/**
+ * g_compute_hmac_for_bytes:
+ * @digest_type: a #GChecksumType to use for the HMAC
+ * @key: the key to use in the HMAC
+ * @data: binary blob to compute the HMAC of
+ *
+ * Computes the HMAC for a binary @data. This is a
+ * convenience wrapper for g_hmac_new(), g_hmac_get_string()
+ * and g_hmac_unref().
+ *
+ * The hexadecimal string returned will be in lower case.
+ *
+ * Returns: the HMAC of the binary data as a string in hexadecimal.
+ * The returned string should be freed with g_free() when done using it.
+ *
+ * Since: 2.50
+ */
+gchar *
+g_compute_hmac_for_bytes (GChecksumType digest_type,
+ GBytes *key,
+ GBytes *data)
+{
+ gconstpointer byte_data;
+ gsize length;
+ gconstpointer key_data;
+ gsize key_len;
+
+ g_return_val_if_fail (data != NULL, NULL);
+ g_return_val_if_fail (key != NULL, NULL);
+
+ byte_data = g_bytes_get_data (data, &length);
+ key_data = g_bytes_get_data (key, &key_len);
+ return g_compute_hmac_for_data (digest_type, key_data, key_len, byte_data, length);
+}
+
+
+/**
+ * g_compute_hmac_for_string:
+ * @digest_type: a #GChecksumType to use for the HMAC
+ * @key: (array length=key_len): the key to use in the HMAC
+ * @key_len: the length of the key
+ * @str: the string to compute the HMAC for
+ * @length: the length of the string, or -1 if the string is nul-terminated
+ *
+ * Computes the HMAC for a string.
+ *
+ * The hexadecimal string returned will be in lower case.
+ *
+ * Returns: the HMAC as a hexadecimal string.
+ * The returned string should be freed with g_free()
+ * when done using it.
+ *
+ * Since: 2.30
+ */
+gchar *
+g_compute_hmac_for_string (GChecksumType digest_type,
+ const guchar *key,
+ gsize key_len,
+ const gchar *str,
+ gssize length)
+{
+ g_return_val_if_fail (length == 0 || str != NULL, NULL);
+
+ if (length < 0)
+ length = strlen (str);
+
+ return g_compute_hmac_for_data (digest_type, key, key_len,
+ (const guchar *) str, length);
+}
diff --git a/glib/ghmac.c b/glib/ghmac.c
index 49fd272f0..4f181f21f 100644
--- a/glib/ghmac.c
+++ b/glib/ghmac.c
@@ -329,115 +329,3 @@ g_hmac_get_digest (GHmac *hmac,
g_checksum_update (hmac->digesto, buffer, len);
g_checksum_get_digest (hmac->digesto, buffer, digest_len);
}
-
-/**
- * g_compute_hmac_for_data:
- * @digest_type: a #GChecksumType to use for the HMAC
- * @key: (array length=key_len): the key to use in the HMAC
- * @key_len: the length of the key
- * @data: (array length=length): binary blob to compute the HMAC of
- * @length: length of @data
- *
- * Computes the HMAC for a binary @data of @length. This is a
- * convenience wrapper for g_hmac_new(), g_hmac_get_string()
- * and g_hmac_unref().
- *
- * The hexadecimal string returned will be in lower case.
- *
- * Returns: the HMAC of the binary data as a string in hexadecimal.
- * The returned string should be freed with g_free() when done using it.
- *
- * Since: 2.30
- */
-gchar *
-g_compute_hmac_for_data (GChecksumType digest_type,
- const guchar *key,
- gsize key_len,
- const guchar *data,
- gsize length)
-{
- GHmac *hmac;
- gchar *retval;
-
- g_return_val_if_fail (length == 0 || data != NULL, NULL);
-
- hmac = g_hmac_new (digest_type, key, key_len);
- if (!hmac)
- return NULL;
-
- g_hmac_update (hmac, data, length);
- retval = g_strdup (g_hmac_get_string (hmac));
- g_hmac_unref (hmac);
-
- return retval;
-}
-
-/**
- * g_compute_hmac_for_bytes:
- * @digest_type: a #GChecksumType to use for the HMAC
- * @key: the key to use in the HMAC
- * @data: binary blob to compute the HMAC of
- *
- * Computes the HMAC for a binary @data. This is a
- * convenience wrapper for g_hmac_new(), g_hmac_get_string()
- * and g_hmac_unref().
- *
- * The hexadecimal string returned will be in lower case.
- *
- * Returns: the HMAC of the binary data as a string in hexadecimal.
- * The returned string should be freed with g_free() when done using it.
- *
- * Since: 2.50
- */
-gchar *
-g_compute_hmac_for_bytes (GChecksumType digest_type,
- GBytes *key,
- GBytes *data)
-{
- gconstpointer byte_data;
- gsize length;
- gconstpointer key_data;
- gsize key_len;
-
- g_return_val_if_fail (data != NULL, NULL);
- g_return_val_if_fail (key != NULL, NULL);
-
- byte_data = g_bytes_get_data (data, &length);
- key_data = g_bytes_get_data (key, &key_len);
- return g_compute_hmac_for_data (digest_type, key_data, key_len, byte_data, length);
-}
-
-
-/**
- * g_compute_hmac_for_string:
- * @digest_type: a #GChecksumType to use for the HMAC
- * @key: (array length=key_len): the key to use in the HMAC
- * @key_len: the length of the key
- * @str: the string to compute the HMAC for
- * @length: the length of the string, or -1 if the string is nul-terminated
- *
- * Computes the HMAC for a string.
- *
- * The hexadecimal string returned will be in lower case.
- *
- * Returns: the HMAC as a hexadecimal string.
- * The returned string should be freed with g_free()
- * when done using it.
- *
- * Since: 2.30
- */
-gchar *
-g_compute_hmac_for_string (GChecksumType digest_type,
- const guchar *key,
- gsize key_len,
- const gchar *str,
- gssize length)
-{
- g_return_val_if_fail (length == 0 || str != NULL, NULL);
-
- if (length < 0)
- length = strlen (str);
-
- return g_compute_hmac_for_data (digest_type, key, key_len,
- (const guchar *) str, length);
-}
diff --git a/glib/meson.build b/glib/meson.build
index aaf40a218..b3bf067c7 100644
--- a/glib/meson.build
+++ b/glib/meson.build
@@ -253,6 +253,7 @@ glib_sources = files(
'ggettext.c',
'ghash.c',
'ghmac.c',
+ 'ghmac-utils.c',
'ghook.c',
'ghostutils.c',
'giochannel.c',
--
2.28.0
From 703e63f9d8b3ea4f26f41f0d2287b301025a73cc Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Fri, 7 Jun 2019 19:36:54 +0000
Subject: [PATCH 2/2] Add a gnutls backend for GHmac
For RHEL we want apps to use FIPS-certified crypto libraries,
and HMAC apparently counts as "keyed" and hence needs to
be validated.
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1630260
Replaces: https://gitlab.gnome.org/GNOME/glib/merge_requests/897
This is a build-time option that backs the GHmac API with GnuTLS.
Most distributors ship glib-networking built with GnuTLS, and
most apps use glib-networking, so this isn't a net-new library
in most cases.
mcatanzaro note: I've updated Colin's original patch to implement
g_hmac_copy() using gnutls_hmac_copy(), which didn't exist when Colin
developed this patch.
---
glib/gchecksum.c | 9 ++-
glib/gchecksumprivate.h | 32 ++++++++
glib/ghmac-gnutls.c | 164 ++++++++++++++++++++++++++++++++++++++++
glib/ghmac.c | 3 +
glib/meson.build | 10 ++-
meson.build | 7 ++
meson_options.txt | 5 ++
7 files changed, 224 insertions(+), 6 deletions(-)
create mode 100644 glib/gchecksumprivate.h
create mode 100644 glib/ghmac-gnutls.c
diff --git a/glib/gchecksum.c b/glib/gchecksum.c
index f8a3f9ab8..b391a6264 100644
--- a/glib/gchecksum.c
+++ b/glib/gchecksum.c
@@ -20,7 +20,7 @@
#include <string.h>
-#include "gchecksum.h"
+#include "gchecksumprivate.h"
#include "gslice.h"
#include "gmem.h"
@@ -173,9 +173,9 @@ sha_byte_reverse (guint32 *buffer,
}
#endif /* G_BYTE_ORDER == G_BIG_ENDIAN */
-static gchar *
-digest_to_string (guint8 *digest,
- gsize digest_len)
+gchar *
+gchecksum_digest_to_string (guint8 *digest,
+ gsize digest_len)
{
gsize i, len = digest_len * 2;
gchar *retval;
@@ -194,6 +194,7 @@ digest_to_string (guint8 *digest,
return retval;
}
+#define digest_to_string gchecksum_digest_to_string
/*
* MD5 Checksum
diff --git a/glib/gchecksumprivate.h b/glib/gchecksumprivate.h
new file mode 100644
index 000000000..86c7a3b61
--- /dev/null
+++ b/glib/gchecksumprivate.h
@@ -0,0 +1,32 @@
+/* gstdioprivate.h - Private GLib stdio functions
+ *
+ * Copyright 2017 Руслан Ижбулатов
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __G_CHECKSUMPRIVATE_H__
+#define __G_CHECKSUMPRIVATE_H__
+
+#include "gchecksum.h"
+
+G_BEGIN_DECLS
+
+gchar *
+gchecksum_digest_to_string (guint8 *digest,
+ gsize digest_len);
+
+G_END_DECLS
+
+#endif
\ No newline at end of file
diff --git a/glib/ghmac-gnutls.c b/glib/ghmac-gnutls.c
new file mode 100644
index 000000000..f1a74a849
--- /dev/null
+++ b/glib/ghmac-gnutls.c
@@ -0,0 +1,164 @@
+/* ghmac.h - data hashing functions
+ *
+ * Copyright (C) 2011 Collabora Ltd.
+ * Copyright (C) 2019 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "config.h"
+
+#include <string.h>
+#include <gnutls/crypto.h>
+
+#include "ghmac.h"
+
+#include "glib/galloca.h"
+#include "gatomic.h"
+#include "gslice.h"
+#include "gmem.h"
+#include "gstrfuncs.h"
+#include "gchecksumprivate.h"
+#include "gtestutils.h"
+#include "gtypes.h"
+#include "glibintl.h"
+
+#ifndef HAVE_GNUTLS
+#error "build configuration error"
+#endif
+
+struct _GHmac
+{
+ int ref_count;
+ GChecksumType digest_type;
+ gnutls_hmac_hd_t hmac;
+ gchar *digest_str;
+};
+
+GHmac *
+g_hmac_new (GChecksumType digest_type,
+ const guchar *key,
+ gsize key_len)
+{
+ gnutls_mac_algorithm_t algo;
+ GHmac *hmac = g_slice_new0 (GHmac);
+ hmac->ref_count = 1;
+ hmac->digest_type = digest_type;
+
+ switch (digest_type)
+ {
+ case G_CHECKSUM_MD5:
+ algo = GNUTLS_MAC_MD5;
+ break;
+ case G_CHECKSUM_SHA1:
+ algo = GNUTLS_MAC_SHA1;
+ break;
+ case G_CHECKSUM_SHA256:
+ algo = GNUTLS_MAC_SHA256;
+ break;
+ case G_CHECKSUM_SHA384:
+ algo = GNUTLS_MAC_SHA384;
+ break;
+ case G_CHECKSUM_SHA512:
+ algo = GNUTLS_MAC_SHA512;
+ break;
+ default:
+ g_return_val_if_reached (NULL);
+ }
+
+ gnutls_hmac_init (&hmac->hmac, algo, key, key_len);
+
+ return hmac;
+}
+
+GHmac *
+g_hmac_copy (const GHmac *hmac)
+{
+ GHmac *copy;
+
+ g_return_val_if_fail (hmac != NULL, NULL);
+
+ copy = g_slice_new0 (GHmac);
+ copy->ref_count = 1;
+ copy->digest_type = hmac->digest_type;
+ copy->hmac = gnutls_hmac_copy (hmac->hmac);
+
+ return copy;
+}
+
+GHmac *
+g_hmac_ref (GHmac *hmac)
+{
+ g_return_val_if_fail (hmac != NULL, NULL);
+
+ g_atomic_int_inc (&hmac->ref_count);
+
+ return hmac;
+}
+
+void
+g_hmac_unref (GHmac *hmac)
+{
+ g_return_if_fail (hmac != NULL);
+
+ if (g_atomic_int_dec_and_test (&hmac->ref_count))
+ {
+ gnutls_hmac_deinit (hmac->hmac, NULL);
+ g_free (hmac->digest_str);
+ g_slice_free (GHmac, hmac);
+ }
+}
+
+
+void
+g_hmac_update (GHmac *hmac,
+ const guchar *data,
+ gssize length)
+{
+ g_return_if_fail (hmac != NULL);
+ g_return_if_fail (length == 0 || data != NULL);
+
+ gnutls_hmac (hmac->hmac, data, length);
+}
+
+const gchar *
+g_hmac_get_string (GHmac *hmac)
+{
+ guint8 *buffer;
+ gsize digest_len;
+
+ g_return_val_if_fail (hmac != NULL, NULL);
+
+ if (hmac->digest_str)
+ return hmac->digest_str;
+
+ digest_len = g_checksum_type_get_length (hmac->digest_type);
+ buffer = g_alloca (digest_len);
+
+ gnutls_hmac_output (hmac->hmac, buffer);
+ hmac->digest_str = gchecksum_digest_to_string (buffer, digest_len);
+ return hmac->digest_str;
+}
+
+
+void
+g_hmac_get_digest (GHmac *hmac,
+ guint8 *buffer,
+ gsize *digest_len)
+{
+ g_return_if_fail (hmac != NULL);
+
+ gnutls_hmac_output (hmac->hmac, buffer);
+ *digest_len = g_checksum_type_get_length (hmac->digest_type);
+}
diff --git a/glib/ghmac.c b/glib/ghmac.c
index 4f181f21f..c62d9ce4e 100644
--- a/glib/ghmac.c
+++ b/glib/ghmac.c
@@ -33,6 +33,9 @@
#include "gtypes.h"
#include "glibintl.h"
+#ifdef HAVE_GNUTLS
+#error "build configuration error"
+#endif
/**
* SECTION:hmac
diff --git a/glib/meson.build b/glib/meson.build
index b3bf067c7..3cdc3b573 100644
--- a/glib/meson.build
+++ b/glib/meson.build
@@ -252,7 +252,6 @@ glib_sources = files(
'gfileutils.c',
'ggettext.c',
'ghash.c',
- 'ghmac.c',
'ghmac-utils.c',
'ghook.c',
'ghostutils.c',
@@ -308,6 +307,7 @@ glib_sources = files(
'guriprivate.h',
'gutils.c',
'gutilsprivate.h',
+ 'gchecksumprivate.h',
'guuid.c',
'gvariant.c',
'gvariant-core.c',
@@ -352,6 +352,12 @@ else
glib_dtrace_hdr = []
endif
+if get_option('gnutls')
+ glib_sources += files('ghmac-gnutls.c')
+else
+ glib_sources += files('ghmac.c')
+endif
+
pcre_static_args = []
if use_pcre_static_flag
@@ -378,7 +384,7 @@ libglib = library('glib-2.0',
# intl.lib is not compatible with SAFESEH
link_args : [noseh_link_args, glib_link_flags, win32_ldflags],
include_directories : configinc,
- dependencies : pcre_deps + [thread_dep, librt] + libintl_deps + libiconv + platform_deps + gnulib_libm_dependency + [libsysprof_capture_dep],
+ dependencies : pcre_deps + libgnutls_dep + [thread_dep, librt] + libintl_deps + libiconv + platform_deps + gnulib_libm_dependency + [libsysprof_capture_dep],
c_args : glib_c_args,
objc_args : glib_c_args,
)
diff --git a/meson.build b/meson.build
index e0b308a25..70dd5355e 100644
--- a/meson.build
+++ b/meson.build
@@ -2056,6 +2056,13 @@ if host_system == 'linux'
glib_conf.set('HAVE_LIBMOUNT', libmount_dep.found())
endif
+# gnutls is used optionally by ghmac
+libgnutls_dep = []
+if get_option('gnutls')
+ libgnutls_dep = [dependency('gnutls', version : '>=3.6.9', required : true)]
+ glib_conf.set('HAVE_GNUTLS', 1)
+endif
+
if host_system == 'windows'
winsock2 = cc.find_library('ws2_32')
endif
diff --git a/meson_options.txt b/meson_options.txt
index af9645eda..2c4b2c37e 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -34,6 +34,11 @@ option('libmount',
value : 'auto',
description : 'build with libmount support')
+option('gnutls',
+ type : 'boolean',
+ value : false,
+ description : 'build with gnutls support')
+
option('internal_pcre',
type : 'boolean',
value : false,
--
2.28.0

View File

@ -1 +1 @@
d11a5cc5e08cff53349a3481816fdaff glib-2.18.2.tar.bz2
SHA512 (glib-2.67.0.tar.xz) = 82d562bc80885c7e516e38f17a8830596b32b1e1a4b58454ca589be79e6ab27e0a2fe0a108cb02da21981c75474abed0263c0aa38c71ead45a68db675a1d2f80

View File

@ -1,78 +0,0 @@
diff -up glib-2.17.4/configure.in.statfs-check glib-2.17.4/configure.in
--- glib-2.17.4/configure.in.statfs-check 2008-07-21 18:24:45.000000000 -0400
+++ glib-2.17.4/configure.in 2008-07-21 18:25:19.000000000 -0400
@@ -847,6 +847,7 @@ AC_CHECK_HEADERS([mntent.h sys/mnttab.h
AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct stat.st_atimensec, struct stat.st_atim.tv_nsec, struct stat.st_ctimensec, struct stat.st_ctim.tv_nsec])
AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct statfs.f_fstypename, struct statfs.f_bavail],,, [#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
diff -up glib-2.17.4/configure.statfs-check glib-2.17.4/configure
--- glib-2.17.4/configure.statfs-check 2008-07-21 18:25:36.000000000 -0400
+++ glib-2.17.4/configure 2008-07-21 18:25:47.000000000 -0400
@@ -33300,6 +33300,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -33349,6 +33350,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -33421,6 +33423,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -33470,6 +33473,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -33542,6 +33546,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -33591,6 +33596,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -33663,6 +33669,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -33712,6 +33719,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/statfs.h>
#include <unistd.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>