summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2013-09-02 18:29:14 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2013-09-02 18:29:14 +0000
commitbe260ed8292a6dff49a89fdfba1ae3f902824342 (patch)
tree2495236c9bdfc0a4807c0d24bf651657fece1480 /dev-libs/glib
parentFix QA warning (bug #483350) and remove useless inherit. (diff)
downloadhistorical-be260ed8292a6dff49a89fdfba1ae3f902824342.tar.gz
historical-be260ed8292a6dff49a89fdfba1ae3f902824342.tar.bz2
historical-be260ed8292a6dff49a89fdfba1ae3f902824342.zip
Fix segfaults in vlc and other applications that try to unload libgobject at runtime (bug #405173, thanks to Cédric D. for finding a good solution). Drop old ebuilds.
Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0xCF0ADD61
Diffstat (limited to 'dev-libs/glib')
-rw-r--r--dev-libs/glib/ChangeLog11
-rw-r--r--dev-libs/glib/Manifest21
-rw-r--r--dev-libs/glib/files/glib-2.36.3-revert-ext34.patch37
-rw-r--r--dev-libs/glib/files/glib-2.36.4-znodelete.patch65
-rw-r--r--dev-libs/glib/glib-2.34.3.ebuild248
-rw-r--r--dev-libs/glib/glib-2.36.3-r1.ebuild242
-rw-r--r--dev-libs/glib/glib-2.36.4-r1.ebuild (renamed from dev-libs/glib/glib-2.36.3-r2.ebuild)9
7 files changed, 91 insertions, 542 deletions
diff --git a/dev-libs/glib/ChangeLog b/dev-libs/glib/ChangeLog
index 89a692e00fa0..04e377b0c8b1 100644
--- a/dev-libs/glib/ChangeLog
+++ b/dev-libs/glib/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/glib
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.574 2013/09/01 19:47:58 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.575 2013/09/02 18:29:07 tetromino Exp $
+
+*glib-2.36.4-r1 (02 Sep 2013)
+
+ 02 Sep 2013; Alexandre Rostovtsev <tetromino@gentoo.org> -glib-2.34.3.ebuild,
+ -glib-2.36.3-r1.ebuild, -glib-2.36.3-r2.ebuild, +glib-2.36.4-r1.ebuild,
+ -files/glib-2.36.3-revert-ext34.patch, +files/glib-2.36.4-znodelete.patch:
+ Fix segfaults in vlc and other applications that try to unload libgobject at
+ runtime (bug #405173, thanks to Cédric D. for finding a good solution). Drop
+ old ebuilds.
01 Sep 2013; Pacho Ramos <pacho@gentoo.org> glib-2.36.4.ebuild:
Pass --disable-compile-warnings configure option to drop -Werror usage
diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index c05ba7eec53c..0ee5ade49a17 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -15,29 +15,30 @@ AUX glib-2.34.0-testsuite-skip-thread4.patch 1312 SHA256 65ed09251a66b096df38431
AUX glib-2.34.3-automake-1.13.patch 645 SHA256 a8f4bd4bfa03e2d4014af5e3ce899188bd935bfb4917444c2b09f1a493ebfacb SHA512 cfe6b0a99af00837fb78ac6171491a5a98756d84f63a3f1b27e510325d158940437ee65cbb60691bb13e2867fd0bce11ffb2f3274eb88810fa63a8827ec5089a WHIRLPOOL 585cd5ee5cb1a52f62a4db7056f7fe3d6c3886e77870637f25ef52386330e544cf8590a05a72d095cca9ed0bf1bae86e1fae99c886039736b4ba7b06dff15429
AUX glib-2.34.3-testsuite-skip-gdbus-auth-tests.patch 1764 SHA256 361845ce7dc980642e018713834aa6b143d6c0cea4256bd16c2f79387c8a6bea SHA512 e2ed8bc809bccb19caa8ab1378f22e50d9a262b7c386256f7864e916bc61b51e70e836dd8ecd5ce79a89b2c62fb4cb7ab3026022051aca6b7406b9d2536201f7 WHIRLPOOL b8049eba35e60d2e1b5e0daed244a61892b31dfe9123f7de26ef07b116388147f8d6c0c32cdf496b284df3363bd13e4b9f1b61418a318e49fbb24812d5e0b7fd
AUX glib-2.35.x-external-gdbus-codegen.patch 4567 SHA256 b8b699317836af2673a428b39bf4077ee9c99ee81bcda4d06a05f608b474b11c SHA512 ad1bf670e8fa25c18cd94a9add7b1ae0bf4a3d696bfdc89708d1a1edb8ba923b702bd98be9eb2b439ca1efbe9f2d123f18119b859c8080a6638d61a8f16525de WHIRLPOOL c2faa0d89d5bfb2372865cfe1d43679d7721b55091aa680dea9a686e40d006522d37d66ce3b7a4214af2940c012d6bd4ec3644508ed88887ec06bb85abcde893
-AUX glib-2.36.3-revert-ext34.patch 1397 SHA256 5e71f9a59f434f8850fb2474d3f8022ea36c7e254283db3437ae72f52b0690bd SHA512 e24c5ba741403ca0cf932b2bc238e16223fb4d0c1a17d3bb9010a09e07f24d404de466322eec0e241b56dbfb31109de96146e4f4c277aaf9524af9a6a929d461 WHIRLPOOL 591756857d6ab906c052188ee7947bc153f086851f19719fbe6a4fbb378c9690a6bc5ac05c95612eeb1fd27c2651f4d767fc584dc74ef3d4b2d372763689f6b2
+AUX glib-2.36.4-znodelete.patch 2195 SHA256 30ab1e47fd03d166419e4aa2c452c1c2b436004c0f15808d9c9eb3be9b3f0fae SHA512 2dce550ad8135017601ccf9219b4f92e9f8078acb1bc1d89ded686fdb8f477be4fda059d3c2a76551f2b9e8fd1df4ac7fe807abbf5705d82906f09a9a0c97735 WHIRLPOOL 838acf03bd081aa79fc1154d6455952576e2fb93c78a552463cd104772a42565ed4d141d72104a62e5cc0fa7c29dc13d633f709fdb3ec6b97b0cfe6bb672a5ea
DIST glib-1.2.10-r1-as-needed.patch.bz2 9099 SHA256 3bb8c45706f97b526da851061c89618bc258fa61f9100802c1340548e4bb2731 SHA512 e65c7f66254eae22deaa67bf621ebd1d7af897b93d93ba6cffaa4ce9894cf14c140e6888d877b6b36fcea8be1b8d1ef4fcc7ec1719bd23b1cc6fd662876c70ae WHIRLPOOL 20254678a86595353058ee8dc81a02e4ae7bb16ba9ba34e036fe2e99d3fffa25c825f8961bdeb5fa50c49582ce37e65684e414631c74653c4523c2baee34c341
DIST glib-1.2.10.tar.gz 421480 SHA256 6e1ce7eedae713b11db82f11434d455d8a1379f783a79812cd2e05fc024a8d9f SHA512 4452b741382194d4ca425f084fa60e1a9e30040ac2e839c9136047d0461cf4b1ebcc16aac4e65998d1b9329ead8f617966b3d09317a83634f14d556a7e14b7a8 WHIRLPOOL 478957ce8e49228d022bae50b042cdfc6d522d0d4880a0328b5695471295450c81c5e186e1760e56e317a4c4c95aabc5f2010d7a9b912fc451d04e14610e7dca
DIST glib-2.32.4-AS_IF-patches.tar.xz 8584 SHA256 c61a87bbed8b09148f70f2651696430ab262d8ee905ebe2e0e963bb9038c5545 SHA512 cea825c379ea9014014f8a6f3a9fcf228e6b4245c649df4d86f6d86d1d655fd927ef1115fd66521cc48b2929d8cd504a284c7a8fb5ff38dc2b83ac4140655049 WHIRLPOOL e778094ad8ebe6fdc236942c21ee8ce2266712a08672b521f931159dd81d3452fcb8b6556c98c82b60548b1d9703a3ff332d02970a01565b6f5c4bcd02e74b46
DIST glib-2.32.4.tar.xz 6178556 SHA256 a5d742a4fda22fb6975a8c0cfcd2499dd1c809b8afd4ef709bda4d11b167fae2 SHA512 bc8b2d6afae7635f940065eca3e854ee171812c7b582d55313db11d28875495dbf41fc0a260347b30f7490daa65ccc377d8a2d60bb3a26d07997606d8e3d989f WHIRLPOOL 35aec94088acff460685c0b1bb2e6fcffadb0f9f0044b93f3fa042ed82dd52efb5e56022575c0ebcfda4230d38edc26a916623f0bfcbfc8e1c6b76a3133d43bc
DIST glib-2.34.3.tar.xz 6334872 SHA256 855fcbf87cb93065b488358e351774d8a39177281023bae58c286f41612658a7 SHA512 2382e09159da2ef47384a3e52622f139577af69d6aba86ea1636f2b6b23b9f6bf89967f29394fd7f93d0528e2c58ae015864aa58a3e3e4f504c7a268b2ef4a75 WHIRLPOOL 296f29666bdd38faae41a1b0b7875dd5fb6ac23d5d27282658e73bbb614db944b3a92d5334ddcca19f959e4c5ef2bf20a5b0f19390558645f986afc2f84edd4d
-DIST glib-2.36.3.tar.xz 6626972 SHA256 5ec433bf6ce02e4c436619c3d0b9cecdd1898469398a636bad27c1f5804c761e SHA512 1ea45e7978bffb8ec23c8eddb74b0bab686126fd55d96956203bc1eef44e3047edcf2cbc39e018c83e56093f806c739bf320e6a359b45cd652e55c94a6f1ad19 WHIRLPOOL b6e997381fe451fe90f17478a6a3e3ddb75ca028a6f0adce1e970faef7dd64f2d88fa7a5557971bcba8e047a72801332f1804c815a9a45907dc0f468b888b404
DIST glib-2.36.4.tar.xz 6570720 SHA256 f654d2542329012d8475736a165dfbf82fadf3ee940c2e0e6ddd4b2fde5cad7e SHA512 ed3b01051695858724d854c4d1c20df19d4c19526538d87c995e41376e3479e5758afccc9550cf7f4d1104bdd4edb8b436a716ab2b95e7bdf198ff3f17749304 WHIRLPOOL 7997c5182c605ded87aac79b75b83a0aaf30dc9eb4a657aed77fe883946e7fe07e2257f3b1b6749ca7d3c921e041067907f8f2f16fae7ebfe99e1adbbeea12b5
DIST pkg-config-0.26.tar.gz 396399 SHA256 94c1936a797c930fb3e4e5a154165b6268caba22b32d24083dd4c492a533c8af SHA512 9390d5918dd4ac520b914d2330aa7cae2587ca7b21b03bc88372fd5dbbd78e33eeb3fca39fcdb6dd10113658f03118a1c8829149c7029eb0dd80348d100170a4 WHIRLPOOL f535946a02192a9bffc7be0fae454e25aa86af8bac7f47622d52ed13f77f1ba05ff9b5693b2a501981e3991e4e1595eced22dee4ab748b310baa7d57267a62a7
DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486
EBUILD glib-1.2.10-r5.ebuild 1802 SHA256 b8561be2cdbe967604c39b6316bee46016e62131e9858d26fb26d8f1699c2029 SHA512 d2c84ba968f81bc851f53fbf1bad01f62de58f16dc49565e341bf7e9396b5f8870501de2027d5b49c5dcd2a8416dca6f530a34491c63ccb26ab94aeafea442ba WHIRLPOOL 1fd9b784429c287fa5dbb4e20db42dd9e1f67cc03ac60c7d47fb751878ed827f2791a2bd6622d84773a4a4607c190a671cef6a6d9b7a61943bf12b7b0e1d6b45
EBUILD glib-2.32.4-r1.ebuild 8355 SHA256 2c7bed6e3df8f29a6fc03d3c627ac6ddedb62d5624be324063ef3494186d45f4 SHA512 bee7e53b3ad42e5dcc36f75c9a30b7c7bb6e09803064a953982a07d88852ee414987964abfd1acab27dc8b08946c769dc12f8167cbcbf934cc9b66e009286793 WHIRLPOOL cd9bd78ae8d8ed4cb0fbeadc7d1a91937ed056d68b90e4a321412c812ba27edca6c753a87b3fbe8a4d75d4ddd88e66fa8312ca16d88843242ad0365287a6aed6
EBUILD glib-2.34.3-r1.ebuild 8412 SHA256 5f76e2c8df1ba2011cc5e229626549cdb6f832d945d13430840ca4dc56ca0519 SHA512 86c329b277e28dc51ede27d9b206ddfae6a15917fe2276c7bdaf564e58541ca9205f1d6241854cf35e3d48ec74e79ab3ffd036a1ad34844dd1ca7f7c772f2511 WHIRLPOOL dd30931528912bf3999f62f0ed6bbe45df1bc213f196b485404aae961f346a45faa51c269570c5b39549322ed9d90d9ceba6a674cad46d4a66e85ca22cdeb51b
-EBUILD glib-2.34.3.ebuild 8631 SHA256 37970835f0f70e6318b3dc9c4de67c8365a106a60c25e9abe9ff53129b002ff8 SHA512 c197e526247e0b386bc440dc67d01dfed644bc5cf3c30931075d2dce8cf36a7cf78fe7903e083b83b6922906338e237ec32f8f2c8224b927069b09be9aa4ee74 WHIRLPOOL 5da1cb9a91189a58f701595a83dcdab589468287923998ba3418e09457e9d5d2f10f815ee6fa9977c55abbef0068ce353016055f573931b1d1bf415b18b6f887
-EBUILD glib-2.36.3-r1.ebuild 8535 SHA256 c8dca3602e2b9f6e45bea4fb695570824fd92c760aabd4f15f65375b95e014b9 SHA512 7bb9cab2f414993181fa45a6bfc3215e412a55dab230091e44551662fcac2899bdd0179966d9ff58c67c77212864dfa02fd181f83bbc23a4b1d728cd0d4a4dab WHIRLPOOL dccda73b292adc59fd643ae7e99f3531f392585d734772d4b95e0341e1a3d9825115d11560a74c84d6878b90bc6ef23d8a9164ff52356b6f67809c084adbeaaf
-EBUILD glib-2.36.3-r2.ebuild 9460 SHA256 94943f021ce9ca89d128de65fe1736a89a3ac8d43403c107611468175977b299 SHA512 8418bb0514813eaf6dd2557e1874f08cc05d524f78d04cfa2c3b0db0698b6fc48ceb074a7d617e863731bba683af4086782878eff242576a2f219c6ae9aa2401 WHIRLPOOL 5ae2cbcbc3ca67064b37e30561344a7a9a755fc4ecc2e75344861c2db1083e6aeac30e0bc98a48bcc922090448bdedf4392fc5c47d3d9340a2b59495f7f97ddc
+EBUILD glib-2.36.4-r1.ebuild 9521 SHA256 633dc2cc280da60fafb445fe85ee84670daf1d9d167a03bdf629aa48dc0ba5bb SHA512 6a7fa17e26daa3e755f1461f002f0e155e2211b823bb4075ddb6eb7d720ebb5c4d7f5ff120762398122a2dc957560c3bd1f582319b1650b61f9f85dc70806194 WHIRLPOOL c1f19d76f5c4489faeedb595848477ac782ca280a21418dd416fbcdbd754cd60aba9b2342c265bc8881bc3196b66bea99414c66f012d11c2686ce06f6ebd8219
EBUILD glib-2.36.4.ebuild 9361 SHA256 c596062d302c7afbb98c818b69bb474a7edb8d69882de34f146af6cb6d5ca26f SHA512 383d988dfe2da99b278820a92780341f686ca54fd2675c366e8d1308b953a593cbc214adcaee016448d69f826a78f0549bf4351f97b644216a1179be0ab7c454 WHIRLPOOL ab3cd44824ac450dd8dcef67ec6efc62cb38a2b89486a153397640d8820e9b3f857503e4173c560d7871803b2891a4a5dc91b7dc1e9211854cccbfd8d39fda50
-MISC ChangeLog 80463 SHA256 9895aa8b38b1dfd2e25a151d4ca8526adda30126bf6b9e6827a3498c58da1812 SHA512 34784aa3cf77dd13591e4e6d7bf85443b0c5f650f38e614c5d2d51dc3c0619fd6196b6d650695a020a04ba97e50f43af654c28c480974a2e91eeca55c715f754 WHIRLPOOL 7852dfd3745ef247d7861ff5fc11558e55e08ff07d66377cb0061fbb23488aea4b202c643e2472215a6dcc87775dbf33b01a270e532f5cae295346af80da8cb1
+MISC ChangeLog 80904 SHA256 fabe4697ddf33cd08e9dfe0dac3aa4a6aeac4880ae01a37c3c6f9506d583a707 SHA512 d5b4f556a8e4b3aff47bd0e8ab41a9ee1bea94131a7e61eb13b9ba2e87509c2db022de56c1150f98aaafbfb8379dd5b000ad0f4e38655b173ebd6c2f73f3c76f WHIRLPOOL b551a3bc46ae09f9c9f5d0f723891a5220ade57d7d59c2615e48b9971224c70f02dd0aba85d907c25d49d4e35ab0ab31dc45f9010a236f9aafe012c5c54a4b63
MISC metadata.xml 479 SHA256 1a41cb4f56511674a423efd444f7c6999b5d316f9058d2eb67a032a522738ffb SHA512 f30f9e937d43dd4fb148dc7ab1554b5c58ddf4211bc06cfc65e92ff9843a84f0b05fa130fcd130744ad6e3579fb5b82a7f31950dd8ccc317f58388023cb6fe50 WHIRLPOOL 92888cd8e3a839860cb20c60ad1ee2871ea9efdf54d5751d6b5f677faf10e721333c3d68b1b5c4af212854f9ecd9e31970832eaa05f30276987bcadacaf5f637
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.21 (GNU/Linux)
-iEYEAREIAAYFAlIjmfAACgkQCaWpQKGI+9SN2QCdF9iI8mtBAfrsmdl+VGBJs3Yx
-SKAAniUYxPa4Kv7BpaDKDVFd3ANPTVGa
-=22lD
+iQEcBAEBCAAGBQJSJNj1AAoJEJ0WA1zPCt1hEgYIAIPDR0YTn/cSUQj9N5uOvkeQ
+E93eK1WYd+lXnUmTIEPI+zyYDnEyZ0HcWPSUJpDgwiBPQCO9Vq6atYLxQwHhiOay
+BunV/MOnH7kcrSS0ap2pGuOjhDOU7WBEGQ+Pj9HNQao99SJODPEQP5z+h6uydDcI
+66Mew1heNC/lnSI1uuBmK5GQN1sQD0BfoJ1afb8eynI1j6OhxqWBhi3mkE+r6qT7
++rEJBuGkvPFwUzHjRk7YFNPrWFp3HLs192ETlEHHrdWB3wwVaH1HWdCXw/dv/SS2
+dVe3VnJiNO1uoRlLmqHAJB8IS1eO702PFzmfeVJBrV4tYTqiarSGsEg5S1lSTk8=
+=NlQ7
-----END PGP SIGNATURE-----
diff --git a/dev-libs/glib/files/glib-2.36.3-revert-ext34.patch b/dev-libs/glib/files/glib-2.36.3-revert-ext34.patch
deleted file mode 100644
index 041419791273..000000000000
--- a/dev-libs/glib/files/glib-2.36.3-revert-ext34.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 05d430065da918051a97e3384c4b2252af47503d Mon Sep 17 00:00:00 2001
-From: Colin Walters <walters@verbum.org>
-Date: Thu, 20 Jun 2013 17:13:29 +0000
-Subject: Revert "g_file_set_contents(): don't fsync on ext3/4"
-
-We didn't actually do any real-world testing of this, and
-unsurprisingly it turns out to break in at least one widely-used
-configuration (Fedora 19 x86_64, ext4 on LVM).
-
-This reverts commit 9d0c17b50102267a5029b58b1f44efbad82d8f03.
-
-https://bugzilla.gnome.org/show_bug.cgi?id=701560
----
-diff --git a/glib/gfileutils.c b/glib/gfileutils.c
-index b6ca3bb..2980098 100644
---- a/glib/gfileutils.c
-+++ b/glib/gfileutils.c
-@@ -1088,16 +1088,9 @@ write_to_temp_file (const gchar *contents,
- /* On Linux, on btrfs, skip the fsync since rename-over-existing is
- * guaranteed to be atomic and this is the only case in which we
- * would fsync() anyway.
-- *
-- * ext3 and ext4 are also safe in this respect under the default
-- * mount options (and if someone picks non-default options to
-- * improve their performance at the cost of reliability, who are we
-- * to argue?)
-- *
-- * Note: EXT[234]_SUPER_MAGIC are equal.
- */
-
-- if (fstatfs (fd, &buf) == 0 && (buf.f_type == BTRFS_SUPER_MAGIC || buf.f_type == EXT3_SUPER_MAGIC))
-+ if (fstatfs (fd, &buf) == 0 && buf.f_type == BTRFS_SUPER_MAGIC)
- goto no_fsync;
- }
- #endif
---
-cgit v0.9.2
diff --git a/dev-libs/glib/files/glib-2.36.4-znodelete.patch b/dev-libs/glib/files/glib-2.36.4-znodelete.patch
new file mode 100644
index 000000000000..e84e76f28b2f
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.36.4-znodelete.patch
@@ -0,0 +1,65 @@
+From 242de638a030e1fb3b467af182d985d7c3bbf185 Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Mon, 2 Sep 2013 13:59:18 -0400
+Subject: [PATCH] gobject: try to link with -Wl,-z,nodelete
+
+Since the type system does not support reloading its data and assumes
+that libgobject remains loaded for the lifetime of the process, we
+should link libgobject with a flag indicating that it can't be unloaded.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=707298
+---
+ configure.ac | 24 ++++++++++++++++++++++++
+ gobject/Makefile.am | 1 +
+ 2 files changed, 25 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 0a63601..dd1045a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3668,6 +3668,30 @@ fi
+ AC_SUBST(GLIB_LINK_FLAGS)
+
+ dnl
++dnl Check for -z,nodelete linker flag: the type system assumes that
++dnl libgobject stays loaded for the lifetime of the process
++dnl
++
++AC_ARG_ENABLE([znodelete],
++ [AS_HELP_STRING([--disable-znodelete],
++ [avoid linking with -z,nodelete])],,
++ [SAVED_LDFLAGS="${LDFLAGS}"
++ AC_MSG_CHECKING([for -z,nodelete linker flag])
++ LDFLAGS=-Wl,-z,nodelete
++ AC_TRY_LINK([], [int main (void) { return 0; }],
++ AC_MSG_RESULT(yes)
++ enable_znodelete=yes,
++ AC_MSG_RESULT(no)
++ enable_znodelete=no)
++ LDFLAGS="${SAVED_LDFLAGS}"])
++
++if test "x${enable_znodelete}" = "xyes"; then
++ GOBJECT_LINK_FLAGS=-Wl,-z,nodelete
++fi
++
++AC_SUBST(GOBJECT_LINK_FLAGS)
++
++dnl
+ dnl Check for -fvisibility=hidden to determine if we can do GNU-style
+ dnl visibility attributes for symbol export control
+ dnl
+diff --git a/gobject/Makefile.am b/gobject/Makefile.am
+index 1509616..181ad7d 100644
+--- a/gobject/Makefile.am
++++ b/gobject/Makefile.am
+@@ -45,6 +45,7 @@ endif
+
+ libgobjectincludedir = $(includedir)/glib-2.0/gobject
+ libgobject_2_0_la_LDFLAGS = $(GLIB_LINK_FLAGS) \
++ $(GOBJECT_LINK_FLAGS) \
+ $(gobject_win32_res_ldflag) \
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -export-dynamic $(no_undefined)
+--
+1.8.3.2
+
diff --git a/dev-libs/glib/glib-2.34.3.ebuild b/dev-libs/glib/glib-2.34.3.ebuild
deleted file mode 100644
index b9cc634f9707..000000000000
--- a/dev-libs/glib/glib-2.34.3.ebuild
+++ /dev/null
@@ -1,248 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.34.3.ebuild,v 1.7 2013/08/14 04:19:30 tetromino Exp $
-
-EAPI="5"
-PYTHON_DEPEND="utils? 2" # Avoid runtime dependency on python when USE=test
-
-inherit autotools gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python toolchain-funcs virtualx linux-info
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="http://www.gtk.org/"
-SRC_URI="${SRC_URI}
- http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz" # pkg.m4 for eautoreconf
-
-LICENSE="LGPL-2+"
-SLOT="2"
-IUSE="debug fam kernel_linux selinux static-libs systemtap test utils xattr"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
-
-RDEPEND="virtual/libiconv
- virtual/libffi
- sys-libs/zlib
- || (
- >=dev-libs/elfutils-0.142
- >=dev-libs/libelf-0.8.12
- >=sys-freebsd/freebsd-lib-9.2_rc1
- )
- selinux? ( sys-libs/libselinux )
- xattr? ( sys-apps/attr )
- fam? ( virtual/fam )
- utils? ( >=dev-util/gdbus-codegen-${PV} )"
-DEPEND="${RDEPEND}
- app-text/docbook-xml-dtd:4.1.2
- >=dev-libs/libxslt-1.0
- >=sys-devel/gettext-0.11
- >=dev-util/gtk-doc-am-1.15
- systemtap? ( >=dev-util/systemtap-1.3 )
- test? (
- sys-devel/gdb
- =dev-lang/python-2*
- >=dev-util/gdbus-codegen-${PV}
- >=sys-apps/dbus-1.2.14 )
- !<dev-util/gtk-doc-1.15-r2"
-PDEPEND="x11-misc/shared-mime-info
- !<gnome-base/gvfs-1.6.4-r990"
-# shared-mime-info needed for gio/xdgmime, bug #409481
-# Earlier versions of gvfs do not work with glib
-
-pkg_setup() {
- # Needed for gio/tests/gdbus-testserver.py
- if use test; then
- python_set_active_version 2
- python_pkg_setup
- fi
-
- if use kernel_linux ; then
- CONFIG_CHECK="~INOTIFY_USER"
- linux-info_pkg_setup
- fi
-}
-
-src_prepare() {
- mv -f "${WORKDIR}"/pkg-config-*/pkg.m4 "${WORKDIR}"/ || die
-
- # Fix gmodule issues on fbsd; bug #184301
- epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
-
- if use test; then
- # Do not try to remove files on live filesystem, upstream bug #619274
- sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
- -i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
-
- # Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629
- if ! has_version dev-util/desktop-file-utils ; then
- ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
- ewarn "think on installing it to get these tests run."
- sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
- sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
- sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
- sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
- fi
-
- # Disable tests requiring dbus-python and pygobject; bugs #349236, #377549, #384853
- if ! has_version dev-python/dbus-python || ! has_version 'dev-python/pygobject:3' ; then
- ewarn "Some tests will be skipped due to dev-python/dbus-python or dev-python/pygobject:3"
- ewarn "not being present on your system, think on installing them to get these tests run."
- sed -i -e "/connection\/filter/d" gio/tests/gdbus-connection.c || die
- sed -i -e "/connection\/large_message/d" gio/tests/gdbus-connection-slow.c || die
- sed -i -e "/gdbus\/proxy/d" gio/tests/gdbus-proxy.c || die
- sed -i -e "/gdbus\/proxy-well-known-name/d" gio/tests/gdbus-proxy-well-known-name.c || die
- sed -i -e "/gdbus\/introspection-parser/d" gio/tests/gdbus-introspection.c || die
- sed -i -e "/g_test_add_func/d" gio/tests/gdbus-threading.c || die
- sed -i -e "/gdbus\/method-calls-in-thread/d" gio/tests/gdbus-threading.c || die
- # needed to prevent gdbus-threading from asserting
- ln -sfn $(type -P true) gio/tests/gdbus-testserver.py
- fi
- fi
-
- # gdbus-codegen is a separate package
- epatch "${FILESDIR}/${PN}-2.31.x-external-gdbus-codegen.patch"
-
- # bashcomp goes in /usr/share/bash-completion
- epatch "${FILESDIR}/${PN}-2.32.4-bashcomp.patch"
-
- # https://bugzilla.gnome.org/show_bug.cgi?id=679306
- epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-thread4.patch"
- # https://bugzilla.gnome.org/show_bug.cgi?id=679308
- epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-gdbus-auth-tests.patch"
-
- # build failure with automake-1.13; fixed upstream in 2.36
- epatch "${FILESDIR}/${PN}-2.34.3-automake-1.13.patch"
-
- epatch_user
-
- # disable pyc compiling
- use test && python_clean_py-compile_files
-
- # Needed for the punt-python-check patch, disabling timeout test
- # Also needed to prevent croscompile failures, see bug #267603
- # Also needed for the no-gdbus-codegen patch
- AT_M4DIR="${WORKDIR}" eautoreconf
-
- [[ ${CHOST} == *-freebsd* ]] && elibtoolize
-
- epunt_cxx
-}
-
-src_configure() {
- # Avoid circular depend with dev-util/pkgconfig and
- # native builds (cross-compiles won't need pkg-config
- # in the target ROOT to work here)
- if ! tc-is-cross-compiler && ! $(tc-getPKG_CONFIG) --version >& /dev/null; then
- if has_version sys-apps/dbus; then
- export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include"
- export DBUS1_LIBS="-ldbus-1"
- fi
- export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)"
- export LIBFFI_LIBS="-lffi"
- fi
-
- local myconf
-
- # Building with --disable-debug highly unrecommended. It will build glib in
- # an unusable form as it disables some commonly used API. Please do not
- # convert this to the use_enable form, as it results in a broken build.
- # -- compnerd (3/27/06)
- use debug && myconf="--enable-debug"
-
- if use test; then
- myconf="${myconf} --enable-modular-tests"
- else
- if [[ ${PV} = 9999 ]] && use doc; then
- # need to build tests if USE=doc for bug #387385
- myconf="${myconf} --enable-modular-tests"
- else
- myconf="${myconf} --disable-modular-tests"
- fi
- fi
-
- # Always use internal libpcre, bug #254659
- econf ${myconf} \
- $(use_enable xattr) \
- $(use_enable fam) \
- $(use_enable selinux) \
- $(use_enable static-libs static) \
- $(use_enable systemtap dtrace) \
- $(use_enable systemtap systemtap) \
- --enable-man \
- --with-pcre=internal \
- --with-threads=posix \
- --with-xml-catalog="${EPREFIX}/etc/xml/catalog"
-}
-
-src_install() {
- local f
-
- # install-exec-hook substitutes ${PYTHON} in glib/gtester-report
- emake DESTDIR="${D}" PYTHON="${EPREFIX}/usr/bin/python2" install
-
- if ! use utils; then
- rm "${ED}usr/bin/gtester-report"
- fi
-
- # Do not install charset.alias even if generated, leave it to libiconv
- rm -f "${ED}/usr/lib/charset.alias"
-
- # Don't install gdb python macros, bug 291328
- rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
-
- dodoc AUTHORS ChangeLog* NEWS* README
-
- # Completely useless with or without USE static-libs, people need to use
- # pkg-config
- prune_libtool_files --modules
-}
-
-src_test() {
- gnome2_environment_reset
-
- unset DBUS_SESSION_BUS_ADDRESS
- export XDG_CONFIG_DIRS=/etc/xdg
- export XDG_DATA_DIRS=/usr/local/share:/usr/share
- export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
- unset GSETTINGS_BACKEND # bug 352451
- export LC_TIME=C # bug #411967
-
- # Related test is a bit nitpicking
- mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
- chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
-
- # Hardened: gdb needs this, bug #338891
- if host-is-pax ; then
- pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
- || die "Hardened adjustment failed"
- fi
-
- # Need X for dbus-launch session X11 initialization
- Xemake check
-}
-
-pkg_preinst() {
- # Only give the introspection message if:
- # * The user has gobject-introspection
- # * Has glib already installed
- # * Previous version was different from new version
- # TODO: add a subslotted virtual to trigger this automatically
- if has_version "dev-libs/gobject-introspection" && ! has_version "=${CATEGORY}/${PF}"; then
- ewarn "You must rebuild gobject-introspection so that the installed"
- ewarn "typelibs and girs are regenerated for the new APIs in glib"
- fi
-}
-
-pkg_postinst() {
- # Inform users about possible breakage when updating glib and not dbus-glib, bug #297483
- # TODO: add a subslotted virtual to trigger this automatically
- if has_version dev-libs/dbus-glib; then
- ewarn "If you experience a breakage after updating dev-libs/glib try"
- ewarn "rebuilding dev-libs/dbus-glib"
- fi
-
- if has_version '<x11-libs/gtk+-3.0.12:3'; then
- # To have a clear upgrade path for gtk+-3.0.x users, have to resort to
- # a warning instead of a blocker
- ewarn
- ewarn "Using <gtk+-3.0.12:3 with ${P} results in frequent crashes."
- ewarn "You should upgrade to a newer version of gtk+:3 immediately."
- fi
-}
diff --git a/dev-libs/glib/glib-2.36.3-r1.ebuild b/dev-libs/glib/glib-2.36.3-r1.ebuild
deleted file mode 100644
index 4767fbea92b3..000000000000
--- a/dev-libs/glib/glib-2.36.3-r1.ebuild
+++ /dev/null
@@ -1,242 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.36.3-r1.ebuild,v 1.3 2013/08/14 04:19:30 tetromino Exp $
-
-EAPI="5"
-PYTHON_COMPAT=( python2_{5,6,7} )
-# Avoid runtime dependency on python when USE=test
-
-inherit autotools bash-completion-r1 gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python-r1 toolchain-funcs versionator virtualx linux-info
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="http://www.gtk.org/"
-
-LICENSE="LGPL-2+"
-SLOT="2"
-IUSE="debug fam kernel_linux selinux static-libs systemtap test utils xattr"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
-
-RDEPEND="
- virtual/libiconv
- virtual/libffi
- sys-libs/zlib
- || (
- >=dev-libs/elfutils-0.142
- >=dev-libs/libelf-0.8.12
- >=sys-freebsd/freebsd-lib-9.2_rc1
- )
- selinux? ( sys-libs/libselinux )
- xattr? ( sys-apps/attr )
- fam? ( virtual/fam )
- utils? (
- ${PYTHON_DEPS}
- >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] )
-"
-DEPEND="${RDEPEND}
- app-text/docbook-xml-dtd:4.1.2
- >=dev-libs/libxslt-1.0
- >=sys-devel/gettext-0.11
- >=dev-util/gtk-doc-am-1.15
- systemtap? ( >=dev-util/systemtap-1.3 )
- test? (
- sys-devel/gdb
- ${PYTHON_DEPS}
- >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}]
- >=sys-apps/dbus-1.2.14 )
- !<dev-libs/gobject-introspection-1.$(get_version_component_range 2)
- !<dev-util/gtk-doc-1.15-r2
-"
-# gobject-introspection blocker to ensure people don't mix
-# different g-i and glib major versions
-
-PDEPEND="x11-misc/shared-mime-info
- !<gnome-base/gvfs-1.6.4-r990"
-# shared-mime-info needed for gio/xdgmime, bug #409481
-# Earlier versions of gvfs do not work with glib
-
-DOCS="AUTHORS ChangeLog* NEWS* README"
-
-pkg_setup() {
- if use kernel_linux ; then
- CONFIG_CHECK="~INOTIFY_USER"
- if use test; then
- CONFIG_CHECK="~IPV6"
- WARNING_IPV6="Your kernel needs IPV6 support for running some tests, skipping them."
- export IPV6_DISABLED="yes"
- fi
- linux-info_pkg_setup
- fi
-}
-
-src_prepare() {
- # Fix gmodule issues on fbsd; bug #184301, upstream bug #107626
- epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
-
- if use test; then
- # Do not try to remove files on live filesystem, upstream bug #619274
- sed 's:^\(.*"/desktop-app-info/delete".*\):/*\1*/:' \
- -i "${S}"/gio/tests/desktop-app-info.c || die "sed failed"
-
- # Disable tests requiring dev-util/desktop-file-utils when not installed, bug #286629, upstream bug #629163
- if ! has_version dev-util/desktop-file-utils ; then
- ewarn "Some tests will be skipped due dev-util/desktop-file-utils not being present on your system,"
- ewarn "think on installing it to get these tests run."
- sed -i -e "/appinfo\/associations/d" gio/tests/appinfo.c || die
- sed -i -e "/desktop-app-info\/default/d" gio/tests/desktop-app-info.c || die
- sed -i -e "/desktop-app-info\/fallback/d" gio/tests/desktop-app-info.c || die
- sed -i -e "/desktop-app-info\/lastused/d" gio/tests/desktop-app-info.c || die
- fi
-
- # gdesktopappinfo requires existing terminal (gnome-terminal or any
- # other), falling back to xterm if one doesn't exist
- if ! has_version x11-terms/xterm && ! has_version x11-terms/gnome-terminal ; then
- ewarn "Some tests will be skipped due to missing terminal program"
- sed -i -e "/appinfo\/launch/d" gio/tests/appinfo.c || die
- fi
-
- # Disable tests requiring dbus-python and pygobject; bugs #349236, #377549, #384853
- if ! has_version dev-python/dbus-python || ! has_version 'dev-python/pygobject:3' ; then
- ewarn "Some tests will be skipped due to dev-python/dbus-python or dev-python/pygobject:3"
- ewarn "not being present on your system, think on installing them to get these tests run."
- sed -i -e "/connection\/filter/d" gio/tests/gdbus-connection.c || die
- sed -i -e "/connection\/large_message/d" gio/tests/gdbus-connection-slow.c || die
- sed -i -e "/gdbus\/proxy/d" gio/tests/gdbus-proxy.c || die
- sed -i -e "/gdbus\/proxy-well-known-name/d" gio/tests/gdbus-proxy-well-known-name.c || die
- sed -i -e "/gdbus\/introspection-parser/d" gio/tests/gdbus-introspection.c || die
- sed -i -e "/g_test_add_func/d" gio/tests/gdbus-threading.c || die
- sed -i -e "/gdbus\/method-calls-in-thread/d" gio/tests/gdbus-threading.c || die
- # needed to prevent gdbus-threading from asserting
- ln -sfn $(type -P true) gio/tests/gdbus-testserver.py
- fi
-
- # Some tests need ipv6, upstream bug #667468
- if [[ -n "${IPV6_DISABLED}" ]]; then
- sed -i -e "/socket\/ipv6_sync/d" gio/tests/socket.c || die
- sed -i -e "/socket\/ipv6_async/d" gio/tests/socket.c || die
- sed -i -e "/socket\/ipv6_v4mapped/d" gio/tests/socket.c || die
- fi
-
- # Test relies on /usr/bin/true, but we have /bin/true, upstream bug #698655
- sed -i -e "s:/usr/bin/true:/bin/true:" gio/tests/desktop-app-info.c || die
-
- # thread test fails, upstream bug #679306
- epatch "${FILESDIR}/${PN}-2.34.0-testsuite-skip-thread4.patch"
- fi
-
- # gdbus-codegen is a separate package
- epatch "${FILESDIR}/${PN}-2.35.x-external-gdbus-codegen.patch"
-
- # leave python shebang alone
- sed -e '/${PYTHON}/d' \
- -i glib/Makefile.{am,in} || die
-
- # Gentoo handles completions in a different directory
- sed -i "s|^completiondir =.*|completiondir = $(get_bashcompdir)|" \
- gio/Makefile.am || die
-
- # Revert "g_file_set_contents(): don't fsync on ext3/4" (from 2.36 branch)
- epatch "${FILESDIR}/${P}-revert-ext34.patch"
-
- epatch_user
-
- # Needed for the punt-python-check patch, disabling timeout test
- # Also needed to prevent croscompile failures, see bug #267603
- # Also needed for the no-gdbus-codegen patch
- eautoreconf
-
- # FIXME: Really needed when running eautoreconf before? bug#????
- #[[ ${CHOST} == *-freebsd* ]] && elibtoolize
-
- epunt_cxx
-}
-
-src_configure() {
- # Avoid circular depend with dev-util/pkgconfig and
- # native builds (cross-compiles won't need pkg-config
- # in the target ROOT to work here)
- if ! tc-is-cross-compiler && ! $(tc-getPKG_CONFIG) --version >& /dev/null; then
- if has_version sys-apps/dbus; then
- export DBUS1_CFLAGS="-I/usr/include/dbus-1.0 -I/usr/$(get_libdir)/dbus-1.0/include"
- export DBUS1_LIBS="-ldbus-1"
- fi
- export LIBFFI_CFLAGS="-I$(echo /usr/$(get_libdir)/libffi-*/include)"
- export LIBFFI_LIBS="-lffi"
- fi
-
- local myconf
-
- # Building with --disable-debug highly unrecommended. It will build glib in
- # an unusable form as it disables some commonly used API. Please do not
- # convert this to the use_enable form, as it results in a broken build.
- use debug && myconf="--enable-debug"
-
- # Always use internal libpcre, bug #254659
- econf ${myconf} \
- $(use_enable xattr) \
- $(use_enable fam) \
- $(use_enable selinux) \
- $(use_enable static-libs static) \
- $(use_enable systemtap dtrace) \
- $(use_enable systemtap systemtap) \
- $(use_enable test modular-tests) \
- --enable-man \
- --with-pcre=internal \
- --with-threads=posix \
- --with-xml-catalog="${EPREFIX}/etc/xml/catalog"
-}
-
-src_install() {
- default
-
- if use utils ; then
- python_replicate_script "${ED}"/usr/bin/gtester-report
- else
- rm "${ED}usr/bin/gtester-report"
- rm "${ED}usr/share/man/man1/gtester-report.1"
- fi
-
- # Do not install charset.alias even if generated, leave it to libiconv
- rm -f "${ED}/usr/lib/charset.alias"
-
- # Don't install gdb python macros, bug 291328
- rm -rf "${ED}/usr/share/gdb/" "${ED}/usr/share/glib-2.0/gdb/"
-
- # Completely useless with or without USE static-libs, people need to use
- # pkg-config
- prune_libtool_files --modules
-}
-
-src_test() {
- gnome2_environment_reset
-
- unset DBUS_SESSION_BUS_ADDRESS
- export XDG_CONFIG_DIRS=/etc/xdg
- export XDG_DATA_DIRS=/usr/local/share:/usr/share
- export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp"
- unset GSETTINGS_BACKEND # bug 352451
- export LC_TIME=C # bug #411967
- python_export_best
-
- # Related test is a bit nitpicking
- mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
- chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
-
- # Hardened: gdb needs this, bug #338891
- if host-is-pax ; then
- pax-mark -mr "${S}"/tests/.libs/assert-msg-test \
- || die "Hardened adjustment failed"
- fi
-
- # Need X for dbus-launch session X11 initialization
- Xemake check
-}
-
-pkg_postinst() {
- if has_version '<x11-libs/gtk+-3.0.12:3'; then
- # To have a clear upgrade path for gtk+-3.0.x users, have to resort to
- # a warning instead of a blocker
- ewarn
- ewarn "Using <gtk+-3.0.12:3 with ${P} results in frequent crashes."
- ewarn "You should upgrade to a newer version of gtk+:3 immediately."
- fi
-}
diff --git a/dev-libs/glib/glib-2.36.3-r2.ebuild b/dev-libs/glib/glib-2.36.4-r1.ebuild
index 6ad7d7010610..cd4f518d8609 100644
--- a/dev-libs/glib/glib-2.36.3-r2.ebuild
+++ b/dev-libs/glib/glib-2.36.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.36.3-r2.ebuild,v 1.5 2013/08/15 01:24:32 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.36.4-r1.ebuild,v 1.1 2013/09/02 18:29:07 tetromino Exp $
EAPI="5"
PYTHON_COMPAT=( python2_{5,6,7} )
@@ -136,6 +136,9 @@ src_prepare() {
# gdbus-codegen is a separate package
epatch "${FILESDIR}/${PN}-2.35.x-external-gdbus-codegen.patch"
+ # do not allow libgobject to unload; bug #405173, https://bugzilla.gnome.org/show_bug.cgi?id=707298
+ epatch "${FILESDIR}/${PN}-2.36.4-znodelete.patch"
+
# leave python shebang alone
sed -e '/${PYTHON}/d' \
-i glib/Makefile.{am,in} || die
@@ -144,9 +147,6 @@ src_prepare() {
sed -i "s|^completiondir =.*|completiondir = $(get_bashcompdir)|" \
gio/Makefile.am || die
- # Revert "g_file_set_contents(): don't fsync on ext3/4" (from 2.36 branch)
- epatch "${FILESDIR}/${P}-revert-ext34.patch"
-
epatch_user
# Needed for the punt-python-check patch, disabling timeout test
@@ -199,6 +199,7 @@ multilib_src_configure() {
$(use_enable systemtap dtrace) \
$(use_enable systemtap systemtap) \
$(use_enable test modular-tests) \
+ --disable-compile-warnings \
--enable-man \
--with-pcre=internal \
--with-threads=posix \