[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/, dev-libs/glib/files/

2023-05-03 Thread Fabian Groffen
commit: 1d2c9baea436b09c31c69fc36b779cb08881951a
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed May  3 11:49:39 2023 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed May  3 11:49:39 2023 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1d2c9bae

dev-libs/glib: migrated to gx86

Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/Manifest |   3 -
 dev-libs/glib/files/2.56-gmodule-cygwin.patch  | 149 --
 .../files/glib-2.54.3-external-gdbus-codegen.patch |  86 --
 ...-2.64.1-mark-gdbus-server-auth-test-flaky.patch |  32 ---
 .../files/glib-2.74.4-implicit-func-decl.patch |  24 --
 dev-libs/glib/glib-2.74.4.ebuild   | 309 -
 dev-libs/glib/glib-2.74.6.ebuild   | 308 
 dev-libs/glib/glib-2.76.2.ebuild   | 300 
 dev-libs/glib/metadata.xml |  35 ---
 9 files changed, 1246 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
deleted file mode 100644
index 58917cecf0..00
--- a/dev-libs/glib/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST glib-2.74.4.tar.xz 5208484 BLAKE2B 
01a2818e63469019abcd1215fa85521b9a2e55644040e8fe2797f68cabe897a191ae2c1cc2ab75d5ba9980d63adbfc00636b295ee942d70579e7eba1e1f49502
 SHA512 
912f6b0559fcb5ad55fa36837a348228b8e2498c490271204ced9f2e4a9eab804de4745f3ec439a198eb275d7263f18bc670f45460e2be55a2cbe45466b02fc6
-DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 
07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8
 SHA512 
6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b
-DIST glib-2.76.2.tar.xz 5273836 BLAKE2B 
db5d5e45fe4a17bade7f5bf923ac0e5541237d19146ede33b4d52f05b82e4ecb94519393f49ac3b04e17d0f56bfd5dd99b8e81ae80956cfdb5cb2396cd5ec8cc
 SHA512 
5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6

diff --git a/dev-libs/glib/files/2.56-gmodule-cygwin.patch 
b/dev-libs/glib/files/2.56-gmodule-cygwin.patch
deleted file mode 100644
index 4665a2901a..00
--- a/dev-libs/glib/files/2.56-gmodule-cygwin.patch
+++ /dev/null
@@ -1,149 +0,0 @@
-This is derived from github/cygwinports/glib2.0/2.50-gmodule-cygwin.patch
-as of commit id 3a873fdd1b9a9e649563fe8e6b8ae6951b0dd3be for glib-2.54.3,
-and rebased for glib-2.56.2.
 origsrc/glib-2.50.3/gmodule/gmodule-win32.c
-+++ src/glib-2.50.3/gmodule/gmodule-win32.c
-@@ -37,7 +37,20 @@
- 
- #ifdef G_WITH_CYGWIN
- #include 
--#endif
-+#include 
-+
-+static gchar*
-+fetch_dlerror (gboolean replace_null)
-+{
-+  gchar *msg = dlerror ();
-+
-+  if (!msg && replace_null)
-+return "unknown dl-error";
-+
-+  return msg;
-+}
-+
-+#else
- 
- static void
- set_error (const gchar *format,
-@@ -62,22 +75,26 @@ set_error (const gchar *format,
-   g_free (error);
- }
- 
-+#endif /* G_WITH_CYGWIN */
-+
- /* --- functions --- */
- static gpointer
- _g_module_open (const gchar *file_name,
-   gboolean bind_lazy,
-   gboolean bind_local)
- {
-+#ifdef G_WITH_CYGWIN
-+  gpointer handle;
-+
-+  handle = dlopen (file_name,
-+  (bind_local ? RTLD_LOCAL : RTLD_GLOBAL) | (bind_lazy ? RTLD_LAZY : 
RTLD_NOW));
-+  if (!handle)
-+g_module_set_error (fetch_dlerror (TRUE));
-+#else
-   HINSTANCE handle;
-   wchar_t *wfilename;
-   DWORD old_mode;
-   BOOL success;
--#ifdef G_WITH_CYGWIN
--  gchar tmp[MAX_PATH];
--
--  cygwin_conv_to_win32_path(file_name, tmp);
--  file_name = tmp;
--#endif
-   wfilename = g_utf8_to_utf16 (file_name, -1, NULL, NULL, NULL);
- 
-   /* suppress error dialog */
-@@ -91,26 +108,44 @@ _g_module_open (const gchar *file_name,
-   
-   if (!handle)
- set_error ("'%s': ", file_name);
-+#endif
- 
-   return handle;
- }
- 
-+#ifndef G_WITH_CYGWIN
- static gint dummy;
- static gpointer null_module_handle = 
-+#endif
-   
- static gpointer
- _g_module_self (void)
- {
-+#ifdef G_WITH_CYGWIN
-+  gpointer handle;
-+
-+  handle = dlopen (NULL, RTLD_GLOBAL | RTLD_LAZY);
-+  if (!handle)
-+g_module_set_error (fetch_dlerror (TRUE));
-+
-+  return handle;
-+#else
-   return null_module_handle;
-+#endif
- }
- 
- static void
- _g_module_close (gpointer handle,
-gboolean is_unref)
- {
-+#ifdef G_WITH_CYGWIN
-+  if (dlclose (handle) != 0)
-+g_module_set_error (fetch_dlerror (TRUE));
-+#else
-   if (handle != null_module_handle)
- if (!FreeLibrary (handle))
-   set_error ("");
-+#endif
- }
- 
- static gpointer
-@@ -129,8 +164,19 @@ find_in_any_module_using_toolhelp (const
-   if (Module32First (snapshot, ))
- {
-   do {
--  if ((p = GetProcAddress (me32.hModule, symbol_name)) != NULL)
--break;
-+  if ((p = GetProcAddress (me32.hModule, symbol_name)) != NULL) {
-+#ifdef 

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2023-05-03 Thread Fabian Groffen
commit: 5be5ea64009389ea5bf5e8168960db21d863f004
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed May  3 07:40:31 2023 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed May  3 07:40:31 2023 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=5be5ea64

dev-libs/glib: sync with gx86

Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/Manifest   |   2 +
 dev-libs/glib/glib-2.74.6.ebuild | 308 +++
 dev-libs/glib/glib-2.76.2.ebuild | 300 ++
 3 files changed, 610 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index b5b199a67d..58917cecf0 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1 +1,3 @@
 DIST glib-2.74.4.tar.xz 5208484 BLAKE2B 
01a2818e63469019abcd1215fa85521b9a2e55644040e8fe2797f68cabe897a191ae2c1cc2ab75d5ba9980d63adbfc00636b295ee942d70579e7eba1e1f49502
 SHA512 
912f6b0559fcb5ad55fa36837a348228b8e2498c490271204ced9f2e4a9eab804de4745f3ec439a198eb275d7263f18bc670f45460e2be55a2cbe45466b02fc6
+DIST glib-2.74.6.tar.xz 5217312 BLAKE2B 
07b0a5cb74c1451ba863d5f9a781a122d3d20af1f1227177025de114279277cacada3dd6ab5eb5ad5c0bff5ac7abab6fdfbe0551f44d07b2ddc9141a0640a8c8
 SHA512 
6b6d113012ec90f6cf77513ec0132668c49aa7224c806181ad662388701004667cdf6d263050d6f896b8688c085abf461aa3e659eb288e6ba93ba4970a2f181b
+DIST glib-2.76.2.tar.xz 5273836 BLAKE2B 
db5d5e45fe4a17bade7f5bf923ac0e5541237d19146ede33b4d52f05b82e4ecb94519393f49ac3b04e17d0f56bfd5dd99b8e81ae80956cfdb5cb2396cd5ec8cc
 SHA512 
5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6

diff --git a/dev-libs/glib/glib-2.74.6.ebuild b/dev-libs/glib/glib-2.74.6.ebuild
new file mode 100644
index 00..9f97df7fe3
--- /dev/null
+++ b/dev-libs/glib/glib-2.74.6.ebuild
@@ -0,0 +1,308 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_REQ_USE="xml(+)"
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit flag-o-matic gnome.org gnome2-utils linux-info meson-multilib multilib 
python-any-r1 toolchain-funcs xdg
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="https://www.gtk.org/;
+
+LICENSE="LGPL-2.1+"
+SLOT="2"
+IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test 
utils xattr"
+RESTRICT="!test? ( test )"
+#REQUIRED_USE="gtk-doc? ( test )" # Bug #777636
+
+KEYWORDS="~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+
+# * elfutils (via libelf) does not build on Windows. gresources are not 
embedded
+# within ELF binaries on that platform anyway and inspecting ELF binaries from
+# other platforms is not that useful so exclude the dependency in this case.
+# * Technically static-libs is needed on zlib, util-linux and perhaps more, but
+# these are used by GIO, which glib[static-libs] consumers don't really seem
+# to need at all, thus not imposing the deps for now and once some consumers
+# are actually found to static link libgio-2.0.a, we can revisit and either add
+# them or just put the (build) deps in that rare consumer instead of recursive
+# RDEPEND here (due to lack of recursive DEPEND).
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?]
+   >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   >=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
+   kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] )
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] 
) )
+   elf? ( virtual/libelf:0= )
+   sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+# libxml2 used for optional tests that get automatically skipped
+BDEPEND="
+   app-text/docbook-xsl-stylesheets
+   dev-libs/libxslt
+   >=sys-devel/gettext-0.19.8
+   gtk-doc? ( >=dev-util/gtk-doc-1.33
+   app-text/docbook-xml-dtd:4.2
+   app-text/docbook-xml-dtd:4.5 )
+   systemtap? ( >=dev-util/systemtap-1.3 )
+   ${PYTHON_DEPS}
+   test? ( >=sys-apps/dbus-1.2.14 )
+   virtual/pkgconfig
+"
+# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify 
gio/tests/meson.build to use external gdbus-codegen
+
+PDEPEND="
+   dbus? ( gnome-base/dconf )
+   mime? ( x11-misc/shared-mime-info )
+"
+# shared-mime-info needed for gio/xdgmime, bug #409481
+# dconf is needed to be able to save settings, bug #498436
+
+MULTILIB_CHOST_TOOLS=(
+   /usr/bin/gio-querymodules$(get_exeext)
+)
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch
+)
+
+pkg_setup() {
+   if use kernel_linux ; then

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/, dev-libs/glib/files/

2022-12-27 Thread Fabian Groffen
commit: 9596b736667d8625ffb8f8d2c02a7dc75408d83e
Author: Fabian Groffen  gentoo  org>
AuthorDate: Tue Dec 27 18:31:43 2022 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Tue Dec 27 18:31:43 2022 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=9596b736

dev-libs/glib: sync with gx86, forced due to EAPI support drop

Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/Manifest |  11 +-
 .../files/glib-2.74.4-implicit-func-decl.patch |  24 ++
 dev-libs/glib/glib-2.56.2-r1.ebuild| 350 -
 .../{glib-2.66.2-r1.ebuild => glib-2.74.4.ebuild}  |  77 +++--
 4 files changed, 68 insertions(+), 394 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 08fe290e6c..b5b199a67d 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,10 +1 @@
-AUX 2.56-gmodule-cygwin.patch 3482 BLAKE2B 
094036560ed444e050858ff52a4c5f25e13c4988069898e78417def247dae78145d337ff8a6265c7d23fa91f26a48c255b5562de2e9634c5262b90b36a5677f4
 SHA512 
b5faedf2a484c70c16abf3e4a3557ce5b6939995b93fa46644ee4ae7527bdd6a47cced5ae6837b79d1f74836ace0de14d568358a31125ccb9d4d4273219ca0e7
-AUX glib-2.54.3-external-gdbus-codegen.patch 3233 BLAKE2B 
6b96851b7485164ef6c94da1847152a87064eb5c9f9b0ae6996eca84e89c7807bea5cb7c58b8d42dee07eee96647d2439b8c62af023b37849d4465e0c013eca6
 SHA512 
70d942086f6181532b5f95c5a3e0d8bfc7d204ca2d4ee68850af82062b572cc146ac4a5516547011ef39386e10bc291deea32a19fe518e649f4f8ac60271b69c
-AUX glib-2.64.1-mark-gdbus-server-auth-test-flaky.patch 842 BLAKE2B 
6b2eb57b8923c8bb54ead80d829aeb7a5c8a42c62e960e7305bc3fad69c67fd21e1c9f20b5c9002c0319cf3d77992b9cb71912c9b813b723e0a56aaea38330ad
 SHA512 
ccd92d2f1fd495618ac788ffe6b69acec05a521a0ee8ff2bacb1dce6e283a04bbc2a10e61b37fc29f3893003fa154fa0d30bc37ed266b3f813200cd8ed17c116
-DIST glib-2.56.2.tar.xz 8041756 BLAKE2B 
1af5bb37378856e959602bcb9299266bba46b990839c923f6b9881624aed306af0779005281b3e3a46b5994c54812edc86aade9cb782c596fd63b6fd91baba51
 SHA512 
8201ea82d3613d2e879284abe01520b766da30957c5a1a22f3e6019b0cce6bf95d25beae78867b6a133401c4165153c0c92974dd459ab12f9e0e9dd0c95df5d4
-DIST glib-2.66.2.tar.xz 4836456 BLAKE2B 
5484a7fe497dbe06df7ce11dbc8836c95dbb01e6e309516b82158f291536ccbe6e904cb6ae9a5a0223ccc0b52f6e64d61a418bf790538bc90388430977b2
 SHA512 
30278c066c6b209f45fcfdb9ffc4732236451464506b93c0fff0964ff8aac58c15be85c3793c686d4740d9d97857984bc0ab71e38d5da11c5fd860e569fb6cb9
-DIST glib-cygwinports-3a873fdd1b9a9e649563fe8e6b8ae6951b0dd3be.zip 13038 
BLAKE2B 
08f217e204c8518137722dcd535c100cbdc56e43dcf3d16a339c93353c594287670215c130b2c7f83235145632fad6d30903ae099f5999bf72ec070a12da4484
 SHA512 
fd4925d6a2380c5ff551e812a182de20f7b59e5d134a2c54b985efe85ab334499b0050097ca5c3271f14e2c3c5e89650e134a01e4c5be06bad05a12eaaf9fe53
-DIST pkg-config-0.28.tar.gz 1931203 BLAKE2B 
bafdd4e838623965c6bd454421ddd9051fc43fc29948e1615b49fef463c3c3a18807aabe6416f96cfdf58d6b1c9e114d77f97bd985facee7c14284a8a64a768b
 SHA512 
6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320
-EBUILD glib-2.56.2-r1.ebuild 11695 BLAKE2B 
f0f846b08805b59dda01de904738ef78d9ee9c6483b51c592858117fc07d11322194ae209d396691f25fbb4d09d02b233548350986cc0fb003d04a9c98591407
 SHA512 
515997880fdd4f99d53a4883aaab7e1647d60c5a51f300d741f22bef395338adf4cda8790308032775d251a3c93b73b7010aa71c072691e4527899705a11258f
-EBUILD glib-2.66.2-r1.ebuild 10805 BLAKE2B 
fdf2468b6db411f5014442b3595eb59cb9df86ede91dd3dff49e54232585a0c23bbbff6ffed1c0681fcfbd52223465b4ae26474538bc95fb371deea426a9ee7d
 SHA512 
426d81d96283664d41fef2e2fa7ee16453d10c6f434f502a0fd52d43477c3080bad1b1e4ddfaa79e02b03b6fc981f4a36f77cf3d398b36df97c83b02138b4ac8
-MISC metadata.xml 1098 BLAKE2B 
f2bd17f50d68c553b9040e954c0ef91edd29a3f1f7731bc7f45e3a936f702209985d111ad376ca0b51bdb4736d9ee508151fbb57b273a32beb1148aa027226c6
 SHA512 
2745b70b29ba0517144343f5d3f4b7c3389200b1ecbd2830e29bd9a90ca59ebeedf4d66b26a3241e3d3a3066f9a26ae223d075b9b2b82d67e4642e784f236c20
+DIST glib-2.74.4.tar.xz 5208484 BLAKE2B 
01a2818e63469019abcd1215fa85521b9a2e55644040e8fe2797f68cabe897a191ae2c1cc2ab75d5ba9980d63adbfc00636b295ee942d70579e7eba1e1f49502
 SHA512 
912f6b0559fcb5ad55fa36837a348228b8e2498c490271204ced9f2e4a9eab804de4745f3ec439a198eb275d7263f18bc670f45460e2be55a2cbe45466b02fc6

diff --git a/dev-libs/glib/files/glib-2.74.4-implicit-func-decl.patch 
b/dev-libs/glib/files/glib-2.74.4-implicit-func-decl.patch
new file mode 100644
index 00..9cd48a2645
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.74.4-implicit-func-decl.patch
@@ -0,0 +1,24 @@
+https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3165
+
+From 6626765a79f125cf0ec9cdaefa51ceef718d41e7 Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro 
+Date: Tue, 20 Dec 2022 17:10:41 -0600
+Subject: [PATCH] gthread-posix: need to #include 
+
+a79c6af23eff5ee978db62e048828c9a992a1261 uses errno without the required
+header.

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2021-06-27 Thread Aaron Bauman
commit: f2ee7a330ddbedb51197822195145bf05266471f
Author: Aaron Bauman  synd  io>
AuthorDate: Sun Jun 27 16:20:49 2021 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Jun 27 16:20:49 2021 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f2ee7a33

dev-libs/glib: update dep dev-libs/libffi:=

* virtual/libffi no longer exists in favor of dev-libs/libffi:=

Signed-off-by: Aaron Bauman  synd.io>

 dev-libs/glib/Manifest  | 6 ++
 dev-libs/glib/{glib-2.56.2.ebuild => glib-2.56.2-r1.ebuild} | 2 +-
 dev-libs/glib/{glib-2.66.2.ebuild => glib-2.66.2-r1.ebuild} | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 0b4341f360..08fe290e6c 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,4 +1,10 @@
+AUX 2.56-gmodule-cygwin.patch 3482 BLAKE2B 
094036560ed444e050858ff52a4c5f25e13c4988069898e78417def247dae78145d337ff8a6265c7d23fa91f26a48c255b5562de2e9634c5262b90b36a5677f4
 SHA512 
b5faedf2a484c70c16abf3e4a3557ce5b6939995b93fa46644ee4ae7527bdd6a47cced5ae6837b79d1f74836ace0de14d568358a31125ccb9d4d4273219ca0e7
+AUX glib-2.54.3-external-gdbus-codegen.patch 3233 BLAKE2B 
6b96851b7485164ef6c94da1847152a87064eb5c9f9b0ae6996eca84e89c7807bea5cb7c58b8d42dee07eee96647d2439b8c62af023b37849d4465e0c013eca6
 SHA512 
70d942086f6181532b5f95c5a3e0d8bfc7d204ca2d4ee68850af82062b572cc146ac4a5516547011ef39386e10bc291deea32a19fe518e649f4f8ac60271b69c
+AUX glib-2.64.1-mark-gdbus-server-auth-test-flaky.patch 842 BLAKE2B 
6b2eb57b8923c8bb54ead80d829aeb7a5c8a42c62e960e7305bc3fad69c67fd21e1c9f20b5c9002c0319cf3d77992b9cb71912c9b813b723e0a56aaea38330ad
 SHA512 
ccd92d2f1fd495618ac788ffe6b69acec05a521a0ee8ff2bacb1dce6e283a04bbc2a10e61b37fc29f3893003fa154fa0d30bc37ed266b3f813200cd8ed17c116
 DIST glib-2.56.2.tar.xz 8041756 BLAKE2B 
1af5bb37378856e959602bcb9299266bba46b990839c923f6b9881624aed306af0779005281b3e3a46b5994c54812edc86aade9cb782c596fd63b6fd91baba51
 SHA512 
8201ea82d3613d2e879284abe01520b766da30957c5a1a22f3e6019b0cce6bf95d25beae78867b6a133401c4165153c0c92974dd459ab12f9e0e9dd0c95df5d4
 DIST glib-2.66.2.tar.xz 4836456 BLAKE2B 
5484a7fe497dbe06df7ce11dbc8836c95dbb01e6e309516b82158f291536ccbe6e904cb6ae9a5a0223ccc0b52f6e64d61a418bf790538bc90388430977b2
 SHA512 
30278c066c6b209f45fcfdb9ffc4732236451464506b93c0fff0964ff8aac58c15be85c3793c686d4740d9d97857984bc0ab71e38d5da11c5fd860e569fb6cb9
 DIST glib-cygwinports-3a873fdd1b9a9e649563fe8e6b8ae6951b0dd3be.zip 13038 
BLAKE2B 
08f217e204c8518137722dcd535c100cbdc56e43dcf3d16a339c93353c594287670215c130b2c7f83235145632fad6d30903ae099f5999bf72ec070a12da4484
 SHA512 
fd4925d6a2380c5ff551e812a182de20f7b59e5d134a2c54b985efe85ab334499b0050097ca5c3271f14e2c3c5e89650e134a01e4c5be06bad05a12eaaf9fe53
 DIST pkg-config-0.28.tar.gz 1931203 BLAKE2B 
bafdd4e838623965c6bd454421ddd9051fc43fc29948e1615b49fef463c3c3a18807aabe6416f96cfdf58d6b1c9e114d77f97bd985facee7c14284a8a64a768b
 SHA512 
6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320
+EBUILD glib-2.56.2-r1.ebuild 11695 BLAKE2B 
f0f846b08805b59dda01de904738ef78d9ee9c6483b51c592858117fc07d11322194ae209d396691f25fbb4d09d02b233548350986cc0fb003d04a9c98591407
 SHA512 
515997880fdd4f99d53a4883aaab7e1647d60c5a51f300d741f22bef395338adf4cda8790308032775d251a3c93b73b7010aa71c072691e4527899705a11258f
+EBUILD glib-2.66.2-r1.ebuild 10805 BLAKE2B 
fdf2468b6db411f5014442b3595eb59cb9df86ede91dd3dff49e54232585a0c23bbbff6ffed1c0681fcfbd52223465b4ae26474538bc95fb371deea426a9ee7d
 SHA512 
426d81d96283664d41fef2e2fa7ee16453d10c6f434f502a0fd52d43477c3080bad1b1e4ddfaa79e02b03b6fc981f4a36f77cf3d398b36df97c83b02138b4ac8
+MISC metadata.xml 1098 BLAKE2B 
f2bd17f50d68c553b9040e954c0ef91edd29a3f1f7731bc7f45e3a936f702209985d111ad376ca0b51bdb4736d9ee508151fbb57b273a32beb1148aa027226c6
 SHA512 
2745b70b29ba0517144343f5d3f4b7c3389200b1ecbd2830e29bd9a90ca59ebeedf4d66b26a3241e3d3a3066f9a26ae223d075b9b2b82d67e4642e784f236c20

diff --git a/dev-libs/glib/glib-2.56.2.ebuild 
b/dev-libs/glib/glib-2.56.2-r1.ebuild
similarity index 99%
rename from dev-libs/glib/glib-2.56.2.ebuild
rename to dev-libs/glib/glib-2.56.2-r1.ebuild
index 8d44927b1b..b160eea0a1 100644
--- a/dev-libs/glib/glib-2.56.2.ebuild
+++ b/dev-libs/glib/glib-2.56.2-r1.ebuild
@@ -37,7 +37,7 @@ RDEPEND="
!=dev-libs/libpcre-8.13:3[${MULTILIB_USEDEP},static-libs?]
>=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
-   >=virtual/libffi-3.0.13-r1[${MULTILIB_USEDEP}]
+   dev-libs/libffi:=[${MULTILIB_USEDEP}]
>=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
!prefix-stack? ( kernel_linux? ( 
sys-apps/util-linux[${MULTILIB_USEDEP}] ) )

diff --git a/dev-libs/glib/glib-2.66.2.ebuild 
b/dev-libs/glib/glib-2.66.2-r1.ebuild
similarity index 99%
rename from dev-libs/glib/glib-2.66.2.ebuild
rename to 

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2021-01-24 Thread Fabian Groffen
commit: 65155e9fcf87174cc4585f899fa89186d24e
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sun Jan 24 09:43:18 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sun Jan 24 09:43:18 2021 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=65155e9f

dev-libs/glib: drop ref to x86-macos

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/glib-2.66.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/glib/glib-2.66.2.ebuild b/dev-libs/glib/glib-2.66.2.ebuild
index 35d9c11069..fad79a142c 100644
--- a/dev-libs/glib/glib-2.66.2.ebuild
+++ b/dev-libs/glib/glib-2.66.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ RESTRICT="!test? ( test )"
 
 # meson/ninja buildsystem, breaks of course (at least on Solaris), most
 # likely will introduce problems during bootstrap too
-#KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+#KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 
 # * libelf isn't strictly necessary, but makes gresource tool more useful, and
 # the check is automagic in gio/meson.build. gresource is not a multilib tool



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2021-01-06 Thread Fabian Groffen
commit: 77a4d0cfb368ea53c798ec715dbb6aee5cd4768a
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 11:57:54 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 11:57:54 2021 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=77a4d0cf

dev-libs/glib: drop x86-macos

Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/glib-2.56.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/glib/glib-2.56.2.ebuild b/dev-libs/glib/glib-2.56.2.ebuild
index 04e0ae9a61..8d44927b1b 100644
--- a/dev-libs/glib/glib-2.56.2.ebuild
+++ b/dev-libs/glib/glib-2.56.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -27,7 +27,7 @@ LICENSE="LGPL-2.1+"
 SLOT="2"
 IUSE="dbus debug fam kernel_linux +mime selinux static-libs systemtap test 
utils xattr"
 
-KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 
 # Added util-linux multilib dependency to have libmount support (which
 # is always turned on on linux systems, unless explicitly disabled, but



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2020-12-26 Thread Fabian Groffen
commit: bfa49711977cca9210a4d88d69667e6a468916d0
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sat Dec 26 19:04:14 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sat Dec 26 19:04:14 2020 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=bfa49711

dev-libs/glib: drop ~m68k-mint

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/glib-2.56.2.ebuild | 2 +-
 dev-libs/glib/glib-2.66.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/glib/glib-2.56.2.ebuild b/dev-libs/glib/glib-2.56.2.ebuild
index 518a1bca64..04e0ae9a61 100644
--- a/dev-libs/glib/glib-2.56.2.ebuild
+++ b/dev-libs/glib/glib-2.56.2.ebuild
@@ -27,7 +27,7 @@ LICENSE="LGPL-2.1+"
 SLOT="2"
 IUSE="dbus debug fam kernel_linux +mime selinux static-libs systemtap test 
utils xattr"
 
-KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 
 # Added util-linux multilib dependency to have libmount support (which
 # is always turned on on linux systems, unless explicitly disabled, but

diff --git a/dev-libs/glib/glib-2.66.2.ebuild b/dev-libs/glib/glib-2.66.2.ebuild
index f5f3305263..35d9c11069 100644
--- a/dev-libs/glib/glib-2.66.2.ebuild
+++ b/dev-libs/glib/glib-2.66.2.ebuild
@@ -16,7 +16,7 @@ RESTRICT="!test? ( test )"
 
 # meson/ninja buildsystem, breaks of course (at least on Solaris), most
 # likely will introduce problems during bootstrap too
-#KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+#KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
 
 # * libelf isn't strictly necessary, but makes gresource tool more useful, and
 # the check is automagic in gio/meson.build. gresource is not a multilib tool



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/, dev-libs/glib/files/

2020-12-04 Thread Fabian Groffen
commit: 1b012fcb045b492580be5f33bc751537c7966dae
Author: Fabian Groffen  gentoo  org>
AuthorDate: Fri Dec  4 13:17:53 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Fri Dec  4 13:17:53 2020 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1b012fcb

dev-libs/glib: try to sync somewhat with gx86

- glib-2.56.2: old, no longer in gx86, add python 3.8 and 3.9 to
  supported versions, not really changing anything, used in tests only,
  will allow depcleaning python 3.7 on Prefix systems though
- glib-2.66.2: latest, but meson/ninja based, of course completely
  broken, needs work, de-keyworded for now

Package-Manager: Portage-3.0.10.3-prefix, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/Manifest |   4 +-
 ...-2.64.1-mark-gdbus-server-auth-test-flaky.patch |  32 ++
 dev-libs/glib/glib-2.50.2.ebuild   | 326 
 dev-libs/glib/glib-2.52.3.ebuild   | 341 -
 dev-libs/glib/glib-2.56.2.ebuild   |   2 +-
 dev-libs/glib/glib-2.66.2.ebuild   | 300 ++
 dev-libs/glib/metadata.xml |  50 +--
 7 files changed, 365 insertions(+), 690 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 654849c16b..0b4341f360 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,6 +1,4 @@
-DIST 07d4a86e74b9b12a562b57ce5fa3a275bf0fe774.zip 13852 BLAKE2B 
a272281e4850b11b1632593155ed6bcbea73ccae4e6a7083c70dfd1ba207b5ae66d981445e08aca34287a6631ddcee7c832be152a9a3f62f470b17819c7949b6
 SHA512 
971a0519b53e066adcce27176bc134f6ccd6660d85113d5be10fa7cd421ef1e089a1780459de63234de618abd68df62d308f409a7097fe6a9e91e20510af40b9
-DIST glib-2.50.2.tar.xz 7582312 BLAKE2B 
1faa4bec57b0dc9538a5d86b6530b5b60c37d01c6b1e3d3667c1e0204bb78fa5890699456425f302f33b48792af0fe448c17760614895d10b27358a5c187a518
 SHA512 
63d7b5ece8d7d15b10e06ef10a8e0a4446f30a8d9c97daa3352ec00dfef622728bd42ed24cbf67e553166a0f9e29a3e3d024d1d085b9804fd67608db438b6771
-DIST glib-2.52.3.tar.xz 7679972 BLAKE2B 
8d9f6b714571bd04ab9717fbf9ded8556664e43dcdb7dd59436b8b7f1a8a5cdf98e9ce60ca1ead941af1d57688044fefb6c749fa735084622a3482b058864ff6
 SHA512 
a068f2519cfb82de8d4b7f004e7c1f15e841cad4046430a83b02b359d011e0c4077cdff447a1687ed7c68f1a11b4cf66b9ed9fc23ab5f0c7c6be84eb0ddc3017
 DIST glib-2.56.2.tar.xz 8041756 BLAKE2B 
1af5bb37378856e959602bcb9299266bba46b990839c923f6b9881624aed306af0779005281b3e3a46b5994c54812edc86aade9cb782c596fd63b6fd91baba51
 SHA512 
8201ea82d3613d2e879284abe01520b766da30957c5a1a22f3e6019b0cce6bf95d25beae78867b6a133401c4165153c0c92974dd459ab12f9e0e9dd0c95df5d4
+DIST glib-2.66.2.tar.xz 4836456 BLAKE2B 
5484a7fe497dbe06df7ce11dbc8836c95dbb01e6e309516b82158f291536ccbe6e904cb6ae9a5a0223ccc0b52f6e64d61a418bf790538bc90388430977b2
 SHA512 
30278c066c6b209f45fcfdb9ffc4732236451464506b93c0fff0964ff8aac58c15be85c3793c686d4740d9d97857984bc0ab71e38d5da11c5fd860e569fb6cb9
 DIST glib-cygwinports-3a873fdd1b9a9e649563fe8e6b8ae6951b0dd3be.zip 13038 
BLAKE2B 
08f217e204c8518137722dcd535c100cbdc56e43dcf3d16a339c93353c594287670215c130b2c7f83235145632fad6d30903ae099f5999bf72ec070a12da4484
 SHA512 
fd4925d6a2380c5ff551e812a182de20f7b59e5d134a2c54b985efe85ab334499b0050097ca5c3271f14e2c3c5e89650e134a01e4c5be06bad05a12eaaf9fe53
 DIST pkg-config-0.28.tar.gz 1931203 BLAKE2B 
bafdd4e838623965c6bd454421ddd9051fc43fc29948e1615b49fef463c3c3a18807aabe6416f96cfdf58d6b1c9e114d77f97bd985facee7c14284a8a64a768b
 SHA512 
6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320

diff --git 
a/dev-libs/glib/files/glib-2.64.1-mark-gdbus-server-auth-test-flaky.patch 
b/dev-libs/glib/files/glib-2.64.1-mark-gdbus-server-auth-test-flaky.patch
new file mode 100644
index 00..d1a41ecb79
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.64.1-mark-gdbus-server-auth-test-flaky.patch
@@ -0,0 +1,32 @@
+From 95b22035f6151ab465c37fe5e3e340713cb74e23 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Tue, 24 Mar 2020 18:44:54 -0700
+Subject: [PATCH] Mark gdbus-server-auth test flaky
+
+See https://gitlab.gnome.org/GNOME/glib/-/issues/1954
+---
+ gio/tests/meson.build | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gio/tests/meson.build b/gio/tests/meson.build
+index 788cf978b..7f45d0191 100644
+--- a/gio/tests/meson.build
 b/gio/tests/meson.build
+@@ -122,12 +122,13 @@ if dbus1_dep.found()
+ },
+ 'gdbus-server-auth' : {
+   'dependencies' : [dbus1_dep],
++  'suite' : ['flaky'],
+ },
+   }
+ else
+   # We can build a cut-down version of this test without libdbus
+   gio_tests += {
+-'gdbus-server-auth' : {},
++'gdbus-server-auth' : {'suite' : ['flaky']},
+   }
+ endif
+ 
+-- 
+2.24.1
+

diff --git a/dev-libs/glib/glib-2.50.2.ebuild b/dev-libs/glib/glib-2.50.2.ebuild
deleted file mode 

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2020-11-28 Thread Fabian Groffen
commit: 7cb5959940da8564a30e3cfd9d579ef87bdb35fd
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sat Nov 28 13:40:36 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sat Nov 28 13:40:36 2020 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7cb59599

dev-libs/glib-2.56.2: fix macOS compilation using GCC

Package-Manager: Portage-3.0.10-prefix, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/glib-2.56.2.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/glib/glib-2.56.2.ebuild b/dev-libs/glib/glib-2.56.2.ebuild
index a15483a56d..791f5bf75b 100644
--- a/dev-libs/glib/glib-2.56.2.ebuild
+++ b/dev-libs/glib/glib-2.56.2.ebuild
@@ -156,6 +156,10 @@ src_prepare() {
glib/giounix.c || die
fi
 
+   # disable native macOS integrations
+   sed -i -e '/glib_have_\(carbon\|cocoa\)=yes/s/yes/no/' \
+   configure{.ac,} || die
+
gnome2_src_prepare
 }
 



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2020-02-26 Thread Fabian Groffen
commit: a7b0089ed7bc675ecba44539552946942bee0b0d
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Feb 26 12:04:11 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Feb 26 12:04:11 2020 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=a7b0089e

dev-libs/glib: drop epunt_cxx

Package-Manager: Portage-2.3.84-prefix, Repoman-2.3.20
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-libs/glib/glib-2.50.2.ebuild | 4 +---
 dev-libs/glib/glib-2.52.3.ebuild | 6 ++
 dev-libs/glib/glib-2.56.2.ebuild | 5 ++---
 3 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/dev-libs/glib/glib-2.50.2.ebuild b/dev-libs/glib/glib-2.50.2.ebuild
index 92de7eb640..e6d26981a0 100644
--- a/dev-libs/glib/glib-2.50.2.ebuild
+++ b/dev-libs/glib/glib-2.50.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -161,8 +161,6 @@ src_prepare() {
eautoreconf
 
gnome2_src_prepare
-
-   epunt_cxx
 }
 
 multilib_src_configure() {

diff --git a/dev-libs/glib/glib-2.52.3.ebuild b/dev-libs/glib/glib-2.52.3.ebuild
index 29b94af7ff..b650356604 100644
--- a/dev-libs/glib/glib-2.52.3.ebuild
+++ b/dev-libs/glib/glib-2.52.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Until bug #537330 glib is a reverse dependency of pkgconfig and, then
@@ -11,7 +11,7 @@ PYTHON_COMPAT=( python2_7 )
 # pkg-config
 GNOME2_LA_PUNT="yes"
 
-inherit autotools bash-completion-r1 epunt-cxx flag-o-matic gnome2 libtool 
linux-info \
+inherit autotools bash-completion-r1 flag-o-matic gnome2 libtool linux-info \
multilib multilib-minimal pax-utils python-r1 toolchain-funcs 
versionator virtualx
 
 DESCRIPTION="The GLib library of C routines"
@@ -163,8 +163,6 @@ src_prepare() {
eautoreconf
 
gnome2_src_prepare
-
-   epunt_cxx
 }
 
 multilib_src_configure() {

diff --git a/dev-libs/glib/glib-2.56.2.ebuild b/dev-libs/glib/glib-2.56.2.ebuild
index 9b685289c1..a15483a56d 100644
--- a/dev-libs/glib/glib-2.56.2.ebuild
+++ b/dev-libs/glib/glib-2.56.2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
 GNOME2_EAUTORECONF=yes
 
-inherit autotools bash-completion-r1 epunt-cxx flag-o-matic gnome2 libtool 
linux-info \
+inherit autotools bash-completion-r1 flag-o-matic gnome2 libtool linux-info \
multilib multilib-minimal pax-utils python-any-r1 toolchain-funcs 
virtualx
 
 # Until bug #537330 glib is a reverse dependency of pkgconfig and, then
@@ -157,7 +157,6 @@ src_prepare() {
fi
 
gnome2_src_prepare
-   epunt_cxx
 }
 
 multilib_src_configure() {



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2019-05-17 Thread Michael Haubenwallner
commit: be444da99d70735ce2c735e97e5f840401e6a303
Author: Michael Haubenwallner  gentoo  org>
AuthorDate: Tue May 14 13:51:37 2019 +
Commit: Michael Haubenwallner  gentoo  org>
CommitDate: Fri May 17 13:03:26 2019 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=be444da9

dev-libs/glib: adjust for prefix-stack

Package-Manager: Portage-2.3.62-prefix, Repoman-2.3.12
Signed-off-by: Michael Haubenwallner  gentoo.org>

 dev-libs/glib/glib-2.56.2.ebuild | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-libs/glib/glib-2.56.2.ebuild b/dev-libs/glib/glib-2.56.2.ebuild
index 31cbe3d8a8..9b685289c1 100644
--- a/dev-libs/glib/glib-2.56.2.ebuild
+++ b/dev-libs/glib/glib-2.56.2.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
>=virtual/libffi-3.0.13-r1[${MULTILIB_USEDEP}]
>=virtual/libintl-0-r2[${MULTILIB_USEDEP}]
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
-   kernel_linux? ( sys-apps/util-linux[${MULTILIB_USEDEP}] )
+   !prefix-stack? ( kernel_linux? ( 
sys-apps/util-linux[${MULTILIB_USEDEP}] ) )
selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
xattr? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] )
fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] )
@@ -66,7 +66,7 @@ DEPEND="${RDEPEND}
 # python depending package, which can be buildtime depended in packages that
 # need these tools, without pulling in python at runtime.
 RDEPEND="${RDEPEND}
-   >=dev-util/glib-utils-${PV}"
+   !prefix-stack? ( >=dev-util/glib-utils-${PV} )"
 PDEPEND="
dbus? ( gnome-base/dconf )
mime? ( x11-misc/shared-mime-info )
@@ -205,6 +205,11 @@ multilib_src_configure() {
append-libs "-L${EPREFIX}/usr/$(get_libdir)"
fi
 
+   local xmlcatalog="${EPREFIX}/etc/xml/catalog"
+   grep -q catalog= "${xmlcatalog}" ||
+   grep -q catalog= "${BROOT-${PORTAGE_OVERRIDE_EPREFIX}}/etc/xml/catalog" 
&&
+   xmlcatalog="${BROOT-${PORTAGE_OVERRIDE_EPREFIX}}/etc/xml/catalog"
+
# libelf used only by the gresource bin
ECONF_SOURCE="${S}" gnome2_src_configure ${myconf} \
$(usex debug --enable-debug=yes ' ') \
@@ -220,7 +225,7 @@ multilib_src_configure() {
--disable-compile-warnings \
--enable-man \
--with-pcre=system \
-   --with-xml-catalog="${EPREFIX}/etc/xml/catalog"
+   --with-xml-catalog="${xmlcatalog}"
 
if multilib_is_native_abi; then
local d



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/files/, dev-libs/glib/

2019-02-15 Thread Michael Haubenwallner
commit: 21ec96d581bdc46be9a6ec64bc5cbf581f2403dd
Author: Michael Haubenwallner  gentoo  org>
AuthorDate: Fri Feb 15 12:16:27 2019 +
Commit: Michael Haubenwallner  gentoo  org>
CommitDate: Fri Feb 15 12:16:31 2019 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=21ec96d5

dev-libs/glib: bump cygwin patches

Package-Manager: Portage-2.3.55.1-prefix, Repoman-2.3.12
Signed-off-by: Michael Haubenwallner  gentoo.org>

 dev-libs/glib/Manifest|   3 +-
 dev-libs/glib/files/2.56-gmodule-cygwin.patch | 149 ++
 dev-libs/glib/glib-2.56.2.ebuild  |  29 ++---
 3 files changed, 168 insertions(+), 13 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 1a2a1b7d65..654849c16b 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,5 +1,6 @@
-DIST 07d4a86e74b9b12a562b57ce5fa3a275bf0fe774.zip 13852 SHA256 
decff3d1b7f259154940153cc65994fdc9d6a6ffe32e0e99334fe2163844ac4f SHA512 
971a0519b53e066adcce27176bc134f6ccd6660d85113d5be10fa7cd421ef1e089a1780459de63234de618abd68df62d308f409a7097fe6a9e91e20510af40b9
 WHIRLPOOL 
0d2908fdd3c355479886387fd2619ae16470e971948a1af4a4a499a3d00dcbaeaf3b0dbe6115f06eca74bb99a40ce5e670bc8c14a1deb15450fd4a06aa642320
+DIST 07d4a86e74b9b12a562b57ce5fa3a275bf0fe774.zip 13852 BLAKE2B 
a272281e4850b11b1632593155ed6bcbea73ccae4e6a7083c70dfd1ba207b5ae66d981445e08aca34287a6631ddcee7c832be152a9a3f62f470b17819c7949b6
 SHA512 
971a0519b53e066adcce27176bc134f6ccd6660d85113d5be10fa7cd421ef1e089a1780459de63234de618abd68df62d308f409a7097fe6a9e91e20510af40b9
 DIST glib-2.50.2.tar.xz 7582312 BLAKE2B 
1faa4bec57b0dc9538a5d86b6530b5b60c37d01c6b1e3d3667c1e0204bb78fa5890699456425f302f33b48792af0fe448c17760614895d10b27358a5c187a518
 SHA512 
63d7b5ece8d7d15b10e06ef10a8e0a4446f30a8d9c97daa3352ec00dfef622728bd42ed24cbf67e553166a0f9e29a3e3d024d1d085b9804fd67608db438b6771
 DIST glib-2.52.3.tar.xz 7679972 BLAKE2B 
8d9f6b714571bd04ab9717fbf9ded8556664e43dcdb7dd59436b8b7f1a8a5cdf98e9ce60ca1ead941af1d57688044fefb6c749fa735084622a3482b058864ff6
 SHA512 
a068f2519cfb82de8d4b7f004e7c1f15e841cad4046430a83b02b359d011e0c4077cdff447a1687ed7c68f1a11b4cf66b9ed9fc23ab5f0c7c6be84eb0ddc3017
 DIST glib-2.56.2.tar.xz 8041756 BLAKE2B 
1af5bb37378856e959602bcb9299266bba46b990839c923f6b9881624aed306af0779005281b3e3a46b5994c54812edc86aade9cb782c596fd63b6fd91baba51
 SHA512 
8201ea82d3613d2e879284abe01520b766da30957c5a1a22f3e6019b0cce6bf95d25beae78867b6a133401c4165153c0c92974dd459ab12f9e0e9dd0c95df5d4
+DIST glib-cygwinports-3a873fdd1b9a9e649563fe8e6b8ae6951b0dd3be.zip 13038 
BLAKE2B 
08f217e204c8518137722dcd535c100cbdc56e43dcf3d16a339c93353c594287670215c130b2c7f83235145632fad6d30903ae099f5999bf72ec070a12da4484
 SHA512 
fd4925d6a2380c5ff551e812a182de20f7b59e5d134a2c54b985efe85ab334499b0050097ca5c3271f14e2c3c5e89650e134a01e4c5be06bad05a12eaaf9fe53
 DIST pkg-config-0.28.tar.gz 1931203 BLAKE2B 
bafdd4e838623965c6bd454421ddd9051fc43fc29948e1615b49fef463c3c3a18807aabe6416f96cfdf58d6b1c9e114d77f97bd985facee7c14284a8a64a768b
 SHA512 
6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320

diff --git a/dev-libs/glib/files/2.56-gmodule-cygwin.patch 
b/dev-libs/glib/files/2.56-gmodule-cygwin.patch
new file mode 100644
index 00..4665a2901a
--- /dev/null
+++ b/dev-libs/glib/files/2.56-gmodule-cygwin.patch
@@ -0,0 +1,149 @@
+This is derived from github/cygwinports/glib2.0/2.50-gmodule-cygwin.patch
+as of commit id 3a873fdd1b9a9e649563fe8e6b8ae6951b0dd3be for glib-2.54.3,
+and rebased for glib-2.56.2.
+--- origsrc/glib-2.50.3/gmodule/gmodule-win32.c
 src/glib-2.50.3/gmodule/gmodule-win32.c
+@@ -37,7 +37,20 @@
+ 
+ #ifdef G_WITH_CYGWIN
+ #include 
+-#endif
++#include 
++
++static gchar*
++fetch_dlerror (gboolean replace_null)
++{
++  gchar *msg = dlerror ();
++
++  if (!msg && replace_null)
++return "unknown dl-error";
++
++  return msg;
++}
++
++#else
+ 
+ static void
+ set_error (const gchar *format,
+@@ -62,22 +75,26 @@ set_error (const gchar *format,
+   g_free (error);
+ }
+ 
++#endif /* G_WITH_CYGWIN */
++
+ /* --- functions --- */
+ static gpointer
+ _g_module_open (const gchar *file_name,
+   gboolean bind_lazy,
+   gboolean bind_local)
+ {
++#ifdef G_WITH_CYGWIN
++  gpointer handle;
++
++  handle = dlopen (file_name,
++  (bind_local ? RTLD_LOCAL : RTLD_GLOBAL) | (bind_lazy ? RTLD_LAZY : 
RTLD_NOW));
++  if (!handle)
++g_module_set_error (fetch_dlerror (TRUE));
++#else
+   HINSTANCE handle;
+   wchar_t *wfilename;
+   DWORD old_mode;
+   BOOL success;
+-#ifdef G_WITH_CYGWIN
+-  gchar tmp[MAX_PATH];
+-
+-  cygwin_conv_to_win32_path(file_name, tmp);
+-  file_name = tmp;
+-#endif
+   wfilename = g_utf8_to_utf16 (file_name, -1, NULL, NULL, NULL);
+ 
+   /* suppress error dialog */
+@@ -91,26 +108,44 @@ _g_module_open (const gchar *file_name,
+   
+   if (!handle)
+ set_error 

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/files/, dev-libs/glib/

2018-11-19 Thread Fabian Groffen
commit: fd250250914cb74a246d985614e9b737601148b3
Author: Fabian Groffen  gentoo  org>
AuthorDate: Mon Nov 19 13:46:57 2018 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Mon Nov 19 13:46:57 2018 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=fd250250

dev-libs/glib: sync

Signed-off-by: Fabian Groffen  gentoo.org>
Package-Manager: Portage-2.3.40.3-prefix, Repoman-2.3.9

 dev-libs/glib/Manifest |   1 +
 .../files/glib-2.54.3-external-gdbus-codegen.patch |  86 ++
 dev-libs/glib/glib-2.56.2.ebuild   | 337 +
 3 files changed, 424 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 96bc816c50..1a2a1b7d65 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,4 +1,5 @@
 DIST 07d4a86e74b9b12a562b57ce5fa3a275bf0fe774.zip 13852 SHA256 
decff3d1b7f259154940153cc65994fdc9d6a6ffe32e0e99334fe2163844ac4f SHA512 
971a0519b53e066adcce27176bc134f6ccd6660d85113d5be10fa7cd421ef1e089a1780459de63234de618abd68df62d308f409a7097fe6a9e91e20510af40b9
 WHIRLPOOL 
0d2908fdd3c355479886387fd2619ae16470e971948a1af4a4a499a3d00dcbaeaf3b0dbe6115f06eca74bb99a40ce5e670bc8c14a1deb15450fd4a06aa642320
 DIST glib-2.50.2.tar.xz 7582312 BLAKE2B 
1faa4bec57b0dc9538a5d86b6530b5b60c37d01c6b1e3d3667c1e0204bb78fa5890699456425f302f33b48792af0fe448c17760614895d10b27358a5c187a518
 SHA512 
63d7b5ece8d7d15b10e06ef10a8e0a4446f30a8d9c97daa3352ec00dfef622728bd42ed24cbf67e553166a0f9e29a3e3d024d1d085b9804fd67608db438b6771
 DIST glib-2.52.3.tar.xz 7679972 BLAKE2B 
8d9f6b714571bd04ab9717fbf9ded8556664e43dcdb7dd59436b8b7f1a8a5cdf98e9ce60ca1ead941af1d57688044fefb6c749fa735084622a3482b058864ff6
 SHA512 
a068f2519cfb82de8d4b7f004e7c1f15e841cad4046430a83b02b359d011e0c4077cdff447a1687ed7c68f1a11b4cf66b9ed9fc23ab5f0c7c6be84eb0ddc3017
+DIST glib-2.56.2.tar.xz 8041756 BLAKE2B 
1af5bb37378856e959602bcb9299266bba46b990839c923f6b9881624aed306af0779005281b3e3a46b5994c54812edc86aade9cb782c596fd63b6fd91baba51
 SHA512 
8201ea82d3613d2e879284abe01520b766da30957c5a1a22f3e6019b0cce6bf95d25beae78867b6a133401c4165153c0c92974dd459ab12f9e0e9dd0c95df5d4
 DIST pkg-config-0.28.tar.gz 1931203 BLAKE2B 
bafdd4e838623965c6bd454421ddd9051fc43fc29948e1615b49fef463c3c3a18807aabe6416f96cfdf58d6b1c9e114d77f97bd985facee7c14284a8a64a768b
 SHA512 
6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320

diff --git a/dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch 
b/dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch
new file mode 100644
index 00..a27966e039
--- /dev/null
+++ b/dev-libs/glib/files/glib-2.54.3-external-gdbus-codegen.patch
@@ -0,0 +1,86 @@
+From 2e47d49bc91d83cd0abea4c1944bfca4336040fa Mon Sep 17 00:00:00 2001
+From: Sobhan Mohammadpour 
+Date: Fri, 23 Feb 2018 15:27:33 +0330
+Subject: [PATCH] glib-2.54.3-external-gdbus-codegen-for-autotools
+
+---
+ configure.ac   |  1 -
+ docs/reference/gio/Makefile.am |  1 -
+ gio/Makefile.am|  2 +-
+ gio/tests/Makefile.am  |  6 ++
+ gio/tests/gdbus-object-manager-example/Makefile.am |  6 ++
+ 5 files changed, 5 insertions(+), 11 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 0457c90..07166c9 100644
+--- a/configure.ac
 b/configure.ac
+@@ -3469,7 +3469,6 @@ gobject/glib-mkenums
+ gobject/tests/Makefile
+ gthread/Makefile
+ gio/Makefile
+-gio/gdbus-2.0/codegen/Makefile
+ gio/gdbus-2.0/codegen/config.py
+ gio/gnetworking.h
+ gio/xdgmime/Makefile
+diff --git a/docs/reference/gio/Makefile.am b/docs/reference/gio/Makefile.am
+index 5741a3e..d38e768 100644
+--- a/docs/reference/gio/Makefile.am
 b/docs/reference/gio/Makefile.am
+@@ -177,7 +177,6 @@ man_MANS +=\
+   gsettings.1 \
+   gresource.1 \
+   gdbus.1 \
+-  gdbus-codegen.1 \
+   gio.1   \
+   $(NULL)
+ 
+diff --git a/gio/Makefile.am b/gio/Makefile.am
+index b2db995..53d7162 100644
+--- a/gio/Makefile.am
 b/gio/Makefile.am
+@@ -1,6 +1,6 @@
+ include $(top_srcdir)/glib.mk
+ 
+-SUBDIRS = gdbus-2.0/codegen
++SUBDIRS = 
+ 
+ if OS_UNIX
+ if !OS_COCOA
+diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
+index acc1da4..7c51eab 100644
+--- a/gio/tests/Makefile.am
 b/gio/tests/Makefile.am
+@@ -460,10 +460,8 @@ gnotification_SOURCES= 
$(gdbus_sessionbus_sources) gnotifica
+ 
+ BUILT_SOURCES += gdbus-test-codegen-generated.c gdbus-test-codegen-generated.h
+ gdbus-test-codegen.o: gdbus-test-codegen-generated.h
+-gdbus-test-codegen-generated.h: test-codegen.xml Makefile 
$(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen
+-  $(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
+-  

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2017-11-13 Thread Fabian Groffen
commit: 2609c818f49e98b940e1eb6a14e4c6964903b8d1
Author: Fabian Groffen  gentoo  org>
AuthorDate: Mon Nov 13 19:09:10 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Mon Nov 13 19:09:10 2017 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2609c818

dev-libs/glib: sync

Package-Manager: Portage-2.3.13-prefix, Repoman-2.3.4

 dev-libs/glib/Manifest |   4 +-
 dev-libs/glib/glib-1.2.10-r6.ebuild|  77 
 .../{glib-2.46.2-r1.ebuild => glib-2.52.3.ebuild}  | 134 ++---
 3 files changed, 64 insertions(+), 151 deletions(-)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index 76db1b5042..4ec3c10153 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,6 +1,4 @@
 DIST 07d4a86e74b9b12a562b57ce5fa3a275bf0fe774.zip 13852 SHA256 
decff3d1b7f259154940153cc65994fdc9d6a6ffe32e0e99334fe2163844ac4f SHA512 
971a0519b53e066adcce27176bc134f6ccd6660d85113d5be10fa7cd421ef1e089a1780459de63234de618abd68df62d308f409a7097fe6a9e91e20510af40b9
 WHIRLPOOL 
0d2908fdd3c355479886387fd2619ae16470e971948a1af4a4a499a3d00dcbaeaf3b0dbe6115f06eca74bb99a40ce5e670bc8c14a1deb15450fd4a06aa642320
-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.46.2.tar.xz 7344636 SHA256 
5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db SHA512 
8b5298712710d77b4a47367071f782d2bb3042b149ec8fde8c065f80bf3c5375c94318d19665c0092572e4895e590231a47324d25f371310f02b43feb3009588
 WHIRLPOOL 
700b69360110351544780ace4dcb14f29505f63d8840882532a4b7c017860b6da86e09cbabca691b7b24cb08b8722e772555de044b8b21e4b0952c8a8e4e6ecb
 DIST glib-2.50.2.tar.xz 7582312 SHA256 
be68737c1f268c05493e503b3b654d2b7f43d7d0b8c5556f7e4651b870acfbf5 SHA512 
63d7b5ece8d7d15b10e06ef10a8e0a4446f30a8d9c97daa3352ec00dfef622728bd42ed24cbf67e553166a0f9e29a3e3d024d1d085b9804fd67608db438b6771
 WHIRLPOOL 
f7a005c0ad0edd0a9010aec60c4df907f79c45948b7bb583d70c378557c2a2f63383ebbaded9074b319a669bdf0532d78ce41a4f98d80d53a3a151a4a69be2a2
+DIST glib-2.52.3.tar.xz 7679972 SHA256 
25ee7635a7c0fcd4ec91cbc3ae07c7f8f5ce621d8183511f414ded09e7e4e128 SHA512 
a068f2519cfb82de8d4b7f004e7c1f15e841cad4046430a83b02b359d011e0c4077cdff447a1687ed7c68f1a11b4cf66b9ed9fc23ab5f0c7c6be84eb0ddc3017
 WHIRLPOOL 
733ab64abbd60c633833d662d6b58e011478f85d1b0ab48a4af4cbe79e6c9973ccc86247dec2897a0c7663edeee516a3f034c14ac9b5e7a3dba97a04a88298f0
 DIST pkg-config-0.28.tar.gz 1931203 SHA256 
6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 
6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320
 WHIRLPOOL 
db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486

diff --git a/dev-libs/glib/glib-1.2.10-r6.ebuild 
b/dev-libs/glib/glib-1.2.10-r6.ebuild
deleted file mode 100644
index 4a098907d4..00
--- a/dev-libs/glib/glib-1.2.10-r6.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-1.2.10-r6.ebuild,v 1.8 
2015/07/17 15:32:53 ago Exp $
-
-EAPI=5
-GNOME_TARBALL_SUFFIX="gz"
-GNOME2_LA_PUNT="yes"
-
-inherit autotools eutils gnome2 libtool flag-o-matic portability 
multilib-minimal
-
-DESCRIPTION="The GLib library of C routines"
-HOMEPAGE="http://www.gtk.org/;
-SRC_URI="${SRC_URI}
-mirror://gentoo/glib-1.2.10-r1-as-needed.patch.bz2
-"
-
-LICENSE="LGPL-2.1+"
-SLOT="1"
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~x64-solaris"
-IUSE="hardened static-libs"
-
-DEPEND=""
-RDEPEND=""
-
-MULTILIB_CHOST_TOOLS=(/usr/bin/glib-config)
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-automake.patch
-   epatch "${FILESDIR}"/${P}-m4.patch
-   epatch "${FILESDIR}"/${P}-configure-LANG.patch #133679
-
-   # Allow glib to build with gcc-3.4.x #47047
-   epatch "${FILESDIR}"/${P}-gcc34-fix.patch
-
-   # Fix for -Wl,--as-needed (bug #133818)
-   epatch "${DISTDIR}"/glib-1.2.10-r1-as-needed.patch.bz2
-
-   # build failure with automake-1.13
-   epatch "${FILESDIR}/${P}-automake-1.13.patch"
-
-

[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2016-05-23 Thread Michael Haubenwallner
commit: 32d63248f704855502be84ea57d07c29e314701b
Author: Michael Haubenwallner  ssi-schaefer 
 com>
AuthorDate: Mon May 23 17:22:57 2016 +
Commit: Michael Haubenwallner  gentoo  org>
CommitDate: Mon May 23 17:22:57 2016 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=32d63248

dev-libs/glib-2.46.2-r1: apply cygwinports patches on Cygwin

Package-Manager: portage-2.2.28-prefix

 dev-libs/glib/Manifest  |  1 +
 dev-libs/glib/glib-2.46.2-r1.ebuild | 15 +++
 2 files changed, 16 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index ebeb275..97b3e28 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -1,3 +1,4 @@
+DIST 07d4a86e74b9b12a562b57ce5fa3a275bf0fe774.zip 13852 SHA256 
decff3d1b7f259154940153cc65994fdc9d6a6ffe32e0e99334fe2163844ac4f SHA512 
971a0519b53e066adcce27176bc134f6ccd6660d85113d5be10fa7cd421ef1e089a1780459de63234de618abd68df62d308f409a7097fe6a9e91e20510af40b9
 WHIRLPOOL 
0d2908fdd3c355479886387fd2619ae16470e971948a1af4a4a499a3d00dcbaeaf3b0dbe6115f06eca74bb99a40ce5e670bc8c14a1deb15450fd4a06aa642320
 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.42.1.tar.xz 6985120 SHA256 
8f3f0865280e45b8ce840e176ef83bcfd511148918cc8d39df2ee89b67dcf89a SHA512 
0d273e3e24f164f16f6663f88866ae412714eab7d15c1901fdef61f13649a08f9962e49f9d52e8a1683100f9c2dcc468b9a5bf8a9b3d6ca7b0d9488bc58f3f1e
 WHIRLPOOL 
5cf0dbce9890a61210f0c1c0b43a6147bfff107ee8d37de959fc533b56fa9e253d74996ed3ad05b2d756aecf65c1bd8cb1f50096304df2b2f09d05b28804

diff --git a/dev-libs/glib/glib-2.46.2-r1.ebuild 
b/dev-libs/glib/glib-2.46.2-r1.ebuild
index 901f977..7cc5486 100644
--- a/dev-libs/glib/glib-2.46.2-r1.ebuild
+++ b/dev-libs/glib/glib-2.46.2-r1.ebuild
@@ -24,6 +24,11 @@ HOMEPAGE="http://www.gtk.org/;
 SRC_URI="${SRC_URI}
http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz; # 
pkg.m4 for eautoreconf
 
+CYGWINPORTS_GITREV="07d4a86e74b9b12a562b57ce5fa3a275bf0fe774"
+
+[[ -n ${CYGWINPORTS_GITREV} ]] &&
+SRC_URI+=" elibc_Cygwin? ( 
https://github.com/cygwinports/glib2.0/archive/${CYGWINPORTS_GITREV}.zip )"
+
 LICENSE="LGPL-2+"
 SLOT="2"
 IUSE="dbus fam kernel_linux +mime selinux static-libs systemtap test utils 
xattr"
@@ -148,6 +153,16 @@ src_prepare() {
sed -e '/${PYTHON}/d' \
-i glib/Makefile.{am,in} || die
 
+   if [[ -n ${CYGWINPORTS_GITREV} ]] && use elibc_Cygwin; then
+   local p d="${WORKDIR}/glib2.0-${CYGWINPORTS_GITREV}"
+   for p in $(
+   eval "$(sed -ne '/PATCH_URI="/,/"/p' < 
"${d}"/glib2.0.cygport)"
+   echo ${PATCH_URI}
+   ); do
+   epatch "${d}/${p}"
+   done
+   fi
+
epatch_user
 
# make default sane for us



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2016-05-23 Thread Michael Haubenwallner
commit: 1ac98c88092e2dd0ed1cc05b61cc044225a950ad
Author: Michael Haubenwallner  ssi-schaefer 
 com>
AuthorDate: Mon May 23 17:21:30 2016 +
Commit: Michael Haubenwallner  gentoo  org>
CommitDate: Mon May 23 17:21:30 2016 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=1ac98c88

dev-libs/glib: update metadata.xml

Package-Manager: portage-2.2.28-prefix

 dev-libs/glib/metadata.xml | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/glib/metadata.xml b/dev-libs/glib/metadata.xml
index 8f096da..b73f9ed 100644
--- a/dev-libs/glib/metadata.xml
+++ b/dev-libs/glib/metadata.xml
@@ -1,7 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  gnome
+  
+gn...@gentoo.org
+Gentoo GNOME Desktop
+  
   
Enable dependencies required by glib libraries
using dbus service to manage settings saving
@@ -11,7 +14,8 @@
Build support for profiling and tracing using 
dev-util/systemtap
Install gtester-report utility to generate test
-   report files for your software.
+   report files for your software; build gresource utility with
+   ELF support.
   
   
 cpe:/a:gnome:glib



[gentoo-commits] repo/proj/prefix:master commit in: dev-libs/glib/

2016-01-16 Thread Fabian Groffen
commit: 81c3044c06bcbd831f36614e1c2b00116dc51ec4
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sat Jan 16 15:53:26 2016 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sat Jan 16 15:53:26 2016 +
URL:https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=81c3044c

dev-libs/glib: sync latest version from gx86

Package-Manager: portage-2.2.20-prefix

 dev-libs/glib/Manifest  |   1 +
 dev-libs/glib/glib-2.46.2-r1.ebuild | 336 
 2 files changed, 337 insertions(+)

diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest
index c735024..ebeb275 100644
--- a/dev-libs/glib/Manifest
+++ b/dev-libs/glib/Manifest
@@ -2,4 +2,5 @@ DIST glib-1.2.10-r1-as-needed.patch.bz2 9099 SHA256 
3bb8c45706f97b526da851061c89
 DIST glib-1.2.10.tar.gz 421480 SHA256 
6e1ce7eedae713b11db82f11434d455d8a1379f783a79812cd2e05fc024a8d9f SHA512 
4452b741382194d4ca425f084fa60e1a9e30040ac2e839c9136047d0461cf4b1ebcc16aac4e65998d1b9329ead8f617966b3d09317a83634f14d556a7e14b7a8
 WHIRLPOOL 
478957ce8e49228d022bae50b042cdfc6d522d0d4880a0328b5695471295450c81c5e186e1760e56e317a4c4c95aabc5f2010d7a9b912fc451d04e14610e7dca
 DIST glib-2.42.1.tar.xz 6985120 SHA256 
8f3f0865280e45b8ce840e176ef83bcfd511148918cc8d39df2ee89b67dcf89a SHA512 
0d273e3e24f164f16f6663f88866ae412714eab7d15c1901fdef61f13649a08f9962e49f9d52e8a1683100f9c2dcc468b9a5bf8a9b3d6ca7b0d9488bc58f3f1e
 WHIRLPOOL 
5cf0dbce9890a61210f0c1c0b43a6147bfff107ee8d37de959fc533b56fa9e253d74996ed3ad05b2d756aecf65c1bd8cb1f50096304df2b2f09d05b28804
 DIST glib-2.44.1.tar.xz 7132940 SHA256 
8811deacaf8a503d0a9b701777ea079ca6a4277be10e3d730d2112735d5eca07 SHA512 
c24d307408e061b2657f7e7d1b8245c55605ebda26ee2dcc3497ee9d90bfc137d8e5f42f0cd5acf4b49ea28c424fa901e81f75ecf81833f6d0fe51d5e36e5888
 WHIRLPOOL 
6a1eef94b3ffed4d5cb551f4def6859ddff8ea0aac50048e706863f2bd4957c40b7034946852fa4604a109eb121c55b94ec51b3708a325ace5692f61fd1babb7
+DIST glib-2.46.2.tar.xz 7344636 SHA256 
5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db SHA512 
8b5298712710d77b4a47367071f782d2bb3042b149ec8fde8c065f80bf3c5375c94318d19665c0092572e4895e590231a47324d25f371310f02b43feb3009588
 WHIRLPOOL 
700b69360110351544780ace4dcb14f29505f63d8840882532a4b7c017860b6da86e09cbabca691b7b24cb08b8722e772555de044b8b21e4b0952c8a8e4e6ecb
 DIST pkg-config-0.28.tar.gz 1931203 SHA256 
6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 
6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320
 WHIRLPOOL 
db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486

diff --git a/dev-libs/glib/glib-2.46.2-r1.ebuild 
b/dev-libs/glib/glib-2.46.2-r1.ebuild
new file mode 100644
index 000..901f977
--- /dev/null
+++ b/dev-libs/glib/glib-2.46.2-r1.ebuild
@@ -0,0 +1,336 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# Until bug #537330 glib is a reverse dependency of pkgconfig and, then
+# adding new dependencies end up making stage3 to grow. Every addition needs
+# then to be think very closely.
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+# 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.
+GCONF_DEBUG="yes"
+# Completely useless with or without USE static-libs, people need to use
+# pkg-config
+GNOME2_LA_PUNT="yes"
+
+inherit autotools bash-completion-r1 gnome2 libtool eutils flag-o-matic
multilib \
+   pax-utils python-r1 toolchain-funcs versionator virtualx linux-info 
multilib-minimal
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="http://www.gtk.org/;
+SRC_URI="${SRC_URI}
+   http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz; # 
pkg.m4 for eautoreconf
+
+LICENSE="LGPL-2+"
+SLOT="2"
+IUSE="dbus fam kernel_linux +mime selinux static-libs systemtap test utils 
xattr"
+REQUIRED_USE="
+   utils? ( ${PYTHON_REQUIRED_USE} )
+   test? ( ${PYTHON_REQUIRED_USE} )
+"
+
+KEYWORDS="~ppc-aix ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+
+RDEPEND="
+   !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
+   >=virtual/libffi-3.0.13-r1[${MULTILIB_USEDEP}]
+   >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+   selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] )
+   xattr? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] )
+   fam? ( >=virtual/fam-0-r1[${MULTILIB_USEDEP}] )
+   utils? (
+   ${PYTHON_DEPS}
+   >=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}]
+   kernel_linux? ( || (
+   >=dev-libs/elfutils-0.142