tetromino    15/06/05 01:29:16

  Modified:             ChangeLog
  Added:                glib-1.2.10-r6.ebuild
  Log:
  Add multilib support for glib-1 since it seems a few users still need it; 
thanks to  Ian Stakenvicius for the ebuild (bug #534016).
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
0x18E5B6F2D8D5EC8D)

Revision  Changes    Path
1.647                dev-libs/glib/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.647&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.647&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/ChangeLog?r1=1.646&r2=1.647

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v
retrieving revision 1.646
retrieving revision 1.647
diff -u -r1.646 -r1.647
--- ChangeLog   8 Apr 2015 17:51:56 -0000       1.646
+++ ChangeLog   5 Jun 2015 01:29:16 -0000       1.647
@@ -1,6 +1,13 @@
 # ChangeLog for dev-libs/glib
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.646 2015/04/08 
17:51:56 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.647 2015/06/05 
01:29:16 tetromino Exp $
+
+*glib-1.2.10-r6 (05 Jun 2015)
+
+  05 Jun 2015; Alexandre Rostovtsev <[email protected]>
+  +glib-1.2.10-r6.ebuild:
+  Add multilib support for glib-1 since it seems a few users still need it;
+  thanks to Ian Stakenvicius for the ebuild (bug #534016).
 
   08 Apr 2015; Michał Górny <[email protected]> glib-2.40.2.ebuild:
   Drop old Python implementations



1.1                  dev-libs/glib/glib-1.2.10-r6.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/glib-1.2.10-r6.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/glib/glib-1.2.10-r6.ebuild?rev=1.1&content-type=text/plain

Index: glib-1.2.10-r6.ebuild
===================================================================
# 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.1 
2015/06/05 01:29:16 tetromino 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd"
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"

        use ppc64 && use hardened && replace-flags -O[2-3] -O1
        append-ldflags $(dlopen_lib)

        rm -f acinclude.m4 #168198
        eautoreconf
        elibtoolize
        gnome2_src_prepare
}

multilib_src_configure() {
        # Bug 48839: pam fails to build on ia64
        # The problem is that it attempts to link a shared object against
        # libglib.a; this library needs to be built with -fPIC.  Since
        # this package doesn't contain any significant binaries, build the
        # whole thing with -fPIC (23 Apr 2004 agriffis)
        append-flags -fPIC

        ECONF_SOURCE="${S}" \
        gnome2_src_configure \
                --with-threads=posix \
                --enable-debug=yes \
                $(use_enable static-libs static)
}

multilib_src_install() {
        gnome2_src_install

        chmod 755 "${ED}"/usr/$(get_libdir)/libgmodule-1.2.so.* || die
}

multilib_src_install_all() {
        einstalldocs
        dohtml -r docs
}




Reply via email to