From 9b3413e5fc675e26e3f6d3a31425cf5a94e3604e Mon Sep 17 00:00:00 2001 From: Ole Reifschneider Date: Thu, 16 Apr 2015 21:37:16 +0200 Subject: Add dev-libs/glib-2.44.0 Package-Manager: portage-2.2.14 Manifest-Sign-Key: 7E8B4D42 --- dev-libs/glib/Manifest | 13 +- dev-libs/glib/glib-2.44.0.ebuild | 270 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 279 insertions(+), 4 deletions(-) create mode 100644 dev-libs/glib/glib-2.44.0.ebuild (limited to 'dev-libs') diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest index 62acc180..f109d97f 100644 --- a/dev-libs/glib/Manifest +++ b/dev-libs/glib/Manifest @@ -1,11 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 +DIST glib-2.44.0.tar.xz 7239980 SHA256 f2d362b106a08fa801770d41829a06fcfe287a00421018869eebf5efc796f5b9 SHA512 479ecc27e7af1e540f780e192b1613603245f4a9baed71fb2f152376a0ce71d5f5d4c530202e1f276e448383a73728b9406bdc6dd8082585506d3be9a8f7ee0c WHIRLPOOL 619e9ca9cff823dc00cfbe2c9a12ec24e0de8456c723212a3ab9a889b760e5078d79024865c3e2183292b08c1e00619708d609f27450fccacfd5f75869eb59fd DIST pkg-config-0.28.tar.gz 1931203 SHA256 6b6eb31c6ec4421174578652c7e141fdaae2dabad1021f420d8713206ac1f845 SHA512 6eafa5ca77c5d44cd15f48457a5e96fcea2555b66d8e35ada5ab59864a0aa03d441e15f54ab9c6343693867b3b490f392c75b7d9312f024c9b7ec6a0194d8320 WHIRLPOOL db4ddb4ce61724e629931c5ffccb4d7a551b4dc0f4efed5a966822307e4b5a786adee5705dd80ec0a9aa32cb1af9ad9615e307360e131fc34688207216161486 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREKAAYFAlSOEUEACgkQ1fmVwcYIWAYWyACfZRMH9BsniIFC6QoXvffnD/nB -ipAAoKdYHGj4mwrD9Cw0QNM3IwnznXV2 -=lcZJ +iQEcBAEBCAAGBQJVMA9sAAoJEOnlaGd+i01CsBQH/jwK9QLuv4u4BzbkXNKHo/wl +pldsRgLJqS5B31oLScTvqxmzwrfQzRO+diCQAhHtQMjz0G40GMHfWo1WNk/fh4Ud +Cz5jgF2Jo3EPYBTgjJQlAd+qC1ogK4Ct6zr6OUATUK89RrWBsYDQm53AfRKqISDB +EA2SkkJI711Uai0Lp+U4vnMSyJArgQCSZfhLCDzqaJWjve5lQOAwEFDaH0X3TLOE +c4hynbEym+pooEacv0YbUJLJCpilcqmPdc6nhw0vFLV/HGscm9RPM4u9CTuuhT48 +7ojrcuY5k6s9Qup9yUwTBfrYMbNLQy2L1JLSxhs6mVDk5NJ7NMKNHH6iINDg1JA= +=Iv12 -----END PGP SIGNATURE----- diff --git a/dev-libs/glib/glib-2.44.0.ebuild b/dev-libs/glib/glib-2.44.0.ebuild new file mode 100644 index 00000000..4d1f9649 --- /dev/null +++ b/dev-libs/glib/glib-2.44.0.ebuild @@ -0,0 +1,270 @@ +# 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-2.42.2.ebuild,v 1.6 2015/03/29 10:14:34 jer Exp $ + +# 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="~alpha ~amd64 ~arm ~arm64 ~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-0-r1[${MULTILIB_USEDEP}] + >=virtual/libffi-3.0.13-r1[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + || ( + >=dev-libs/elfutils-0.142 + >=dev-libs/libelf-0.8.12 + >=sys-freebsd/freebsd-lib-9.2_rc1 + ) + 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}] ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-baselibs-20130224-r9 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] + ) +" +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.20 + 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/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 + + case "${CHOST}" in + *-mingw*) myconf="${myconf} --with-threads=win32" ;; + *) myconf="${myconf} --with-threads=posix" ;; + esac + + # Only used by the gresource bin + multilib_is_native_abi || myconf="${myconf} --disable-libelf" + + # FIXME: Always use internal libpcre, bug #254659 + # (maybe consider going back to system lib + ECONF_SOURCE="${S}" gnome2_src_configure ${myconf} \ + $(use_enable xattr) \ + $(use_enable fam) \ + $(use_enable selinux) \ + $(use_enable static-libs static) \ + $(use_enable systemtap dtrace) \ + $(use_enable systemtap systemtap) \ + --disable-compile-warnings \ + --enable-man \ + --with-pcre=internal \ + --with-xml-catalog="${EPREFIX}/etc/xml/catalog" + + if multilib_is_native_abi; then + local d + for d in glib gio gobject; do + ln -s "${S}"/docs/reference/${d}/html docs/reference/${d}/html || die + done + fi +} + +multilib_src_test() { + 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 "${BUILD_DIR}"/tests/.libs/assert-msg-test \ + || die "Hardened adjustment failed" + fi + + # Need X for dbus-launch session X11 initialization + Xemake check +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog* NEWS* README" + einstalldocs + + 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/" +} + +pkg_postinst() { + gnome2_pkg_postinst + if has_version '