summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-10-29 21:25:57 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-10-29 21:25:57 +0000
commitbd13e645aa17727cc9bc1b0066e4ea716daf839c (patch)
treeac48e2da1a867aab0afc3492e6ca5cf622fe7a79 /x11-libs/pango
parentNew version for GNOME 2.28. (diff)
downloadhistorical-bd13e645aa17727cc9bc1b0066e4ea716daf839c.tar.gz
historical-bd13e645aa17727cc9bc1b0066e4ea716daf839c.tar.bz2
historical-bd13e645aa17727cc9bc1b0066e4ea716daf839c.zip
New version for GNOME 2.28. Clean up old revisions.
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/pango')
-rw-r--r--x11-libs/pango/ChangeLog9
-rw-r--r--x11-libs/pango/Manifest18
-rw-r--r--x11-libs/pango/files/pango-1.26.0-introspection-automagic.patch214
-rw-r--r--x11-libs/pango/files/pango-1.26.0-lib64.patch20
-rw-r--r--x11-libs/pango/pango-1.26.0.ebuild (renamed from x11-libs/pango/pango-1.24.2.ebuild)40
5 files changed, 281 insertions, 20 deletions
diff --git a/x11-libs/pango/ChangeLog b/x11-libs/pango/ChangeLog
index 0c44c427d4c2..ce23568b3407 100644
--- a/x11-libs/pango/ChangeLog
+++ b/x11-libs/pango/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-libs/pango
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.274 2009/10/26 18:13:45 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/ChangeLog,v 1.275 2009/10/29 21:25:57 eva Exp $
+
+*pango-1.26.0 (29 Oct 2009)
+
+ 29 Oct 2009; Gilles Dartiguelongue <eva@gentoo.org> -pango-1.24.2.ebuild,
+ +pango-1.26.0.ebuild, +files/pango-1.26.0-introspection-automagic.patch,
+ +files/pango-1.26.0-lib64.patch:
+ New version for GNOME 2.28. Clean up old revisions.
26 Oct 2009; Raúl Porcel <armin76@gentoo.org> pango-1.24.5-r1.ebuild:
ia64/s390/sh/sparc stable wrt #285586
diff --git a/x11-libs/pango/Manifest b/x11-libs/pango/Manifest
index 3d096c293d4e..f48c3ca235c2 100644
--- a/x11-libs/pango/Manifest
+++ b/x11-libs/pango/Manifest
@@ -1,7 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX pango-1.2.5-lib64.patch 1117 RMD160 3bab94ba930665dd8d4159f77ac8409d16340f02 SHA1 c7e9b0dc73110910dd75d6afbaa0df8cdbfb44be SHA256 a6a58d965fef42e5d4820d8292a4c7cde4aff3cfddaf184499d3bdae78a3f3db
-DIST pango-1.24.2.tar.bz2 1528238 RMD160 948bee4fa9725330e3f041758ef321d618bbdb9e SHA1 dbc418be727d522720cd280e4368ff5ba3133852 SHA256 f3617f8f32c45c57f19c0aa1d7334e1dc979b9b54e5bb4e78fba8ec80193c23c
+AUX pango-1.26.0-introspection-automagic.patch 8078 RMD160 1958beb426c8b7128231c1b5e9bb43bacaa402ac SHA1 2a16f0a8215249b1ef9ed1d8c3ba4f9568d00a0b SHA256 f9bc4093c6932838d7a673ac0c2c29a9dc4c888fbb1cee488176514352f88a20
+AUX pango-1.26.0-lib64.patch 499 RMD160 0056b738ff517c2b1eb1a6b8e8173d91af0ebeaf SHA1 d514148e6ffced2b4f350abe25cd41282dbb3aae SHA256 1bb2671d49c54caf70e9df104ca26af4e76a536db14150a472b093d05d9f6347
DIST pango-1.24.5.tar.bz2 1519944 RMD160 7e436752734c55950ad5feced7c7d5c3f040a1b4 SHA1 a5aa40b78546a7ee59f21804b172e5d47ef776ad SHA256 0f733d1ec3e8dafcae152d7ac58f1090bee1fd856176c8fee0e81b0e42392f4e
-EBUILD pango-1.24.2.ebuild 1933 RMD160 13d19eecc08d3ae5530cc2476d3b25ac50aa8c54 SHA1 c5dfd5133aa505a6cf96520c9c7fe8227a1c1c69 SHA256 30711020c0c5615cd5462f962fdaa5d18e49f9af076e98398eb13e2efbd56b87
+DIST pango-1.26.0.tar.bz2 1535736 RMD160 b3b64d6af1eb9cc27d23a7e58d118df8fed25502 SHA1 567f9ace5a8384b3a59dbf95304dc8b1a271d5b6 SHA256 e1bfaefd2614ff86d531152f31fbf4a61aea723eef19b132733ccd3eb8d9a6c3
EBUILD pango-1.24.5-r1.ebuild 1806 RMD160 f6b2472f8d5b3d4c62c0043cfd4f09344ec7cb73 SHA1 3bde582ad1278b0ae98c5dd550e2323941055d86 SHA256 e67c56a243302ab456446726ee310c22db2316751e2b9f88668a3c4fed6f3342
-MISC ChangeLog 33973 RMD160 0d900d789f5286cd662c5421dc09071d43a76e97 SHA1 6d0238a63421234edd3d6de0615b3e03e684ddf1 SHA256 148cd190efb2027c60b872705a083a578f311df9380e619b86557ac23360d7f2
+EBUILD pango-1.26.0.ebuild 2166 RMD160 d12f989f8efe0bbabf3c7655c8f44ebe7f84aa2b SHA1 93e6dc1be14d2d4cb1360a171c211a9b2d6c38cc SHA256 3631909ff56ab3c124059ce08650079ba35be575fb39313399c337303fcd6ed0
+MISC ChangeLog 34239 RMD160 b2e916e72607eb6ffa004ccd1ad85294242d878e SHA1 20c57e9410f83950fa5ed56f37fb659dd4d99e59 SHA256 1a80f072aecd78a57645364367da9329fac1d59d7d108995a8f56bdbde97cd08
MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkrqCGoACgkQ1fmVwcYIWAY7ogCfeqbbEOh5jDUctLZs2+PVecfE
+mn0AniBlWz+LR3qe368JmfGNUrhz/EJE
+=ObyH
+-----END PGP SIGNATURE-----
diff --git a/x11-libs/pango/files/pango-1.26.0-introspection-automagic.patch b/x11-libs/pango/files/pango-1.26.0-introspection-automagic.patch
new file mode 100644
index 000000000000..b699b176c094
--- /dev/null
+++ b/x11-libs/pango/files/pango-1.26.0-introspection-automagic.patch
@@ -0,0 +1,214 @@
+Use the introspection.m4 macro for checking for introspection. Fixes automagic,
+and keeps variable name consistency across modules.
+
+---
+--- configure.in
++++ configure.in
+@@ -58,6 +58,7 @@
+ AM_INIT_AUTOMAKE(1.9 gnits dist-bzip2 no-dist-gzip -Wno-portability)
+ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+ AM_CONFIG_HEADER([config.h])
++AC_CONFIG_MACRO_DIR([m4])
+
+
+ PANGO_VERSION_MAJOR=pango_version_major()
+@@ -493,27 +494,7 @@
+ #
+ # Checks for GObject Introspection
+ #
+-have_introspection=false
+-PKG_CHECK_MODULES(INTROSPECTION, gobject-introspection-1.0 >= 0.6.4, have_introspection=true, have_introspection=false)
+-AM_CONDITIONAL(HAVE_INTROSPECTION, $have_introspection)
+-
+-G_IR_SCANNER=
+-G_IR_COMPILER=
+-G_IR_GENERATE=
+-GIRDIR=
+-TYPELIBDIR=
+-if $have_introspection; then
+- G_IR_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
+- G_IR_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
+- G_IR_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
+- GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
+- TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
+-fi
+-AC_SUBST(G_IR_SCANNER)
+-AC_SUBST(G_IR_COMPILER)
+-AC_SUBST(G_IR_GENERATE)
+-AC_SUBST(GIRDIR)
+-AC_SUBST(TYPELIBDIR)
++GOBJECT_INTROSPECTION_CHECK(0.6.4)
+
+ #
+ # Modules to build
+--- m4/introspection.m4
++++ m4/introspection.m4
+@@ -0,0 +1,92 @@
++dnl -*- mode: autoconf -*-
++dnl Copyright 2009 Johan Dahlin
++dnl
++dnl This file is free software; the author(s) gives unlimited
++dnl permission to copy and/or distribute it, with or without
++dnl modifications, as long as this notice is preserved.
++dnl
++
++# serial 1
++
++m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
++[
++ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
++ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
++ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first
++
++ dnl enable/disable introspection
++ m4_if([$2], [require],
++ [dnl
++ enable_introspection=yes
++ ],[dnl
++ AC_ARG_ENABLE(introspection,
++ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]],
++ [Enable introspection for this build]),,
++ [enable_introspection=auto])
++ ])dnl
++
++ AC_MSG_CHECKING([for gobject-introspection])
++
++ dnl presence/version checking
++ AS_CASE([$enable_introspection],
++ [no], [dnl
++ found_introspection="no (disabled, use --enable-introspection to enable)"
++ ],dnl
++ [yes],[dnl
++ PKG_CHECK_EXISTS([gobject-introspection-1.0],,
++ AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
++ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1],
++ found_introspection=yes,
++ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
++ ],dnl
++ [auto],[dnl
++ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no)
++ ],dnl
++ [dnl
++ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
++ ])dnl
++
++ AC_MSG_RESULT([$found_introspection])
++
++ INTROSPECTION_SCANNER=
++ INTROSPECTION_COMPILER=
++ INTROSPECTION_GENERATE=
++ INTROSPECTION_GIRDIR=
++ INTROSPECTION_TYPELIBDIR=
++ if test "x$found_introspection" = "xyes"; then
++ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
++ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
++ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
++ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
++ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
++ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
++ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
++ fi
++ AC_SUBST(INTROSPECTION_SCANNER)
++ AC_SUBST(INTROSPECTION_COMPILER)
++ AC_SUBST(INTROSPECTION_GENERATE)
++ AC_SUBST(INTROSPECTION_GIRDIR)
++ AC_SUBST(INTROSPECTION_TYPELIBDIR)
++ AC_SUBST(INTROSPECTION_CFLAGS)
++ AC_SUBST(INTROSPECTION_LIBS)
++
++ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
++])
++
++
++dnl Usage:
++dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version])
++
++AC_DEFUN([GOBJECT_INTROSPECTION_CHECK],
++[
++ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1])
++])
++
++dnl Usage:
++dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version])
++
++
++AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE],
++[
++ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require])
++])
+--- Makefile.am
++++ Makefile.am
+@@ -2,6 +2,8 @@
+
+ SUBDIRS= pango modules pango-view examples docs tools tests
+
++ACLOCAL_AMFLAGS = -I m4 -I .
++
+ EXTRA_DIST = \
+ autogen.sh \
+ pango.pc.in \
+--- pango/Makefile.am
++++ pango/Makefile.am
+@@ -163,8 +163,8 @@
+ Pango-1.0.gir: $(libpango_1_0_la_SOURCES)
+ Pango-1.0.gir: $(pango_headers)
+ Pango-1.0.gir: libpango-1.0.la
+-Pango-1.0.gir: $(G_IR_SCANNER) Makefile
+- $(AM_V_GEN) $(G_IR_SCANNER) -v --namespace Pango --nsversion=1.0 \
++Pango-1.0.gir: $(INTROSPECTION_SCANNER) Makefile
++ $(AM_V_GEN) $(INTROSPECTION_SCANNER) -v --namespace Pango --nsversion=1.0 \
+ --add-include-path=$(srcdir) --add-include-path=. \
+ --include=GObject-2.0 \
+ --include=cairo-1.0 \
+@@ -278,8 +278,8 @@
+ PangoFT2-1.0.gir: $(pangoft2_headers)
+ PangoFT2-1.0.gir: $(libpangoft2_1_0_la_SOURCES)
+ PangoFT2-1.0.gir: libpangoft2-1.0.la
+-PangoFT2-1.0.gir: Pango-1.0.gir $(G_IR_SCANNER) Makefile
+- $(AM_V_GEN) $(G_IR_SCANNER) -v --namespace PangoFT2 --nsversion=1.0 \
++PangoFT2-1.0.gir: Pango-1.0.gir $(INTROSPECTION_SCANNER) Makefile
++ $(AM_V_GEN) $(INTROSPECTION_SCANNER) -v --namespace PangoFT2 --nsversion=1.0 \
+ --add-include-path=$(srcdir) --add-include-path=. \
+ --include=GObject-2.0 \
+ --include=Pango-1.0 \
+@@ -335,8 +335,8 @@
+ PangoXft-1.0.gir: $(pangoxft_headers)
+ PangoXft-1.0.gir: $(libpangoxft_1_0_la_SOURCES)
+ PangoXft-1.0.gir: libpangoxft-1.0.la
+-PangoXft-1.0.gir: Pango-1.0.gir PangoFT2-1.0.gir $(G_IR_SCANNER) Makefile
+- $(AM_V_GEN) $(G_IR_SCANNER) -v --namespace PangoXft --nsversion=1.0 \
++PangoXft-1.0.gir: Pango-1.0.gir PangoFT2-1.0.gir $(INTROSPECTION_SCANNER) Makefile
++ $(AM_V_GEN) $(INTROSPECTION_SCANNER) -v --namespace PangoXft --nsversion=1.0 \
+ --add-include-path=$(srcdir) --add-include-path=. \
+ --include=GObject-2.0 \
+ --include=xft-2.0 \
+@@ -424,8 +424,8 @@
+ PangoCairo-1.0.gir: $(libpangocairo_1_0_la_SOURCES)
+ PangoCairo-1.0.gir: $(pangocairo_headers)
+ PangoCairo-1.0.gir: libpangocairo-1.0.la
+-PangoCairo-1.0.gir: Pango-1.0.gir $(PANGOCAIRO_FONT_BACKEND_GI_MODULE).gir $(G_IR_SCANNER) Makefile
+- $(AM_V_GEN) $(G_IR_SCANNER) -v --namespace PangoCairo --nsversion=1.0 \
++PangoCairo-1.0.gir: Pango-1.0.gir $(PANGOCAIRO_FONT_BACKEND_GI_MODULE).gir $(INTROSPECTION_SCANNER) Makefile
++ $(AM_V_GEN) $(INTROSPECTION_SCANNER) -v --namespace PangoCairo --nsversion=1.0 \
+ --add-include-path=$(srcdir) --add-include-path=. \
+ --include=GObject-2.0 \
+ --include=cairo-1.0 \
+@@ -551,14 +551,14 @@
+
+ if HAVE_INTROSPECTION
+
+-girdir = $(GIRDIR)
++girdir = $(INTROSPECTION_GIRDIR)
+ gir_DATA = $(BUILT_GIRSOURCES)
+
+-typelibsdir = $(TYPELIBDIR)
++typelibsdir = $(INTROSPECTION_TYPELIBDIR)
+ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
+
+-%.typelib: %.gir $(G_IR_COMPILER)
+- $(AM_V_GEN) LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. $(G_IR_COMPILER) --includedir=$(srcdir) --includedir=. $(G_IR_COMPILER_OPTS) $< -o $(builddir)/$(@F)
++%.typelib: %.gir $(INTROSPECTION_COMPILER)
++ $(AM_V_GEN) LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. $(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=. $(INTROSPECTION_COMPILER_OPTS) $< -o $(builddir)/$(@F)
+
+ endif # HAVE_INTROSPECTION
+
diff --git a/x11-libs/pango/files/pango-1.26.0-lib64.patch b/x11-libs/pango/files/pango-1.26.0-lib64.patch
new file mode 100644
index 000000000000..cdbdd5024e28
--- /dev/null
+++ b/x11-libs/pango/files/pango-1.26.0-lib64.patch
@@ -0,0 +1,20 @@
+--- pango/Makefile.am
++++ pango/Makefile.am
+@@ -16,6 +16,7 @@
+ -DPANGO_ENABLE_BACKEND \
+ -DPANGO_ENABLE_ENGINE \
+ -DSYSCONFDIR=\"$(sysconfdir)\" \
++ -DHOST=\"$(host_triplet)\" \
+ -DLIBDIR=\"$(libdir)\" \
+ -DMODULE_VERSION=\"$(PANGO_MODULE_VERSION)\" \
+ -DG_DISABLE_DEPRECATED \
+--- pango/modules.c
++++ pango/modules.c
+@@ -353,6 +353,7 @@
+
+ if (!file_str)
+ file_str = g_build_filename (pango_get_sysconf_subdirectory (),
++ HOST,
+ "pango.modules",
+ NULL);
+
diff --git a/x11-libs/pango/pango-1.24.2.ebuild b/x11-libs/pango/pango-1.26.0.ebuild
index 34973df024a9..5b6fd860af2a 100644
--- a/x11-libs/pango/pango-1.24.2.ebuild
+++ b/x11-libs/pango/pango-1.26.0.ebuild
@@ -1,24 +1,24 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/pango-1.24.2.ebuild,v 1.6 2009/07/24 17:20:26 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/pango/pango-1.26.0.ebuild,v 1.1 2009/10/29 21:25:57 eva Exp $
EAPI="2"
+GCONF_DEBUG="yes"
-inherit eutils gnome2 multilib
+inherit autotools eutils gnome2 multilib
-DESCRIPTION="Text rendering and layout library"
+DESCRIPTION="Internationalized text layout and rendering library"
HOMEPAGE="http://www.pango.org/"
LICENSE="LGPL-2 FTL"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="X debug doc"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="X doc test"
-# FIXME: add gobject-introspection dependency when it is available
RDEPEND=">=dev-libs/glib-2.17.3
>=media-libs/fontconfig-2.5.0
- >=media-libs/freetype-2
- >=x11-libs/cairo-1.7.6[X?,svg]
+ media-libs/freetype:2
+ >=x11-libs/cairo-1.7.6[X?]
X? (
x11-libs/libXrender
x11-libs/libX11
@@ -29,6 +29,10 @@ DEPEND="${RDEPEND}
>=dev-util/gtk-doc-1
~app-text/docbook-xml-dtd-4.1.2
x11-libs/libXft )
+ test? (
+ >=dev-util/gtk-doc-1
+ ~app-text/docbook-xml-dtd-4.1.2
+ x11-libs/libXft )
X? ( x11-proto/xproto )"
DOCS="AUTHORS ChangeLog* NEWS README THANKS"
@@ -38,7 +42,10 @@ function multilib_enabled() {
}
pkg_setup() {
- G2CONF="${G2CONF} $(use_with X x) $(use_enable debug)"
+ # XXX: DO NOT add introspection support, collides with gir-repository[pango]
+ G2CONF="${G2CONF}
+ --disable-introspection
+ $(use_with X x)"
}
src_prepare() {
@@ -48,17 +55,18 @@ src_prepare() {
# wont fight with each other on a multilib system. Fix building for
# emul-linux-x86-gtklibs
if multilib_enabled ; then
- epatch "${FILESDIR}/${PN}-1.2.5-lib64.patch"
+ epatch "${FILESDIR}/${PN}-1.26.0-lib64.patch"
fi
# gtk-doc checks do not pass, upstream bug #578944
- sed 's:TESTS = check.docs: TESTS = :g'\
- -i docs/Makefile.am docs/Makefile.in || die "sed failed"
-}
+ sed -e 's:TESTS = check.docs: TESTS = :g' \
+ -i docs/Makefile.am || die "sed failed"
+
+ # Fix introspection automagic.
+ # https://bugzilla.gnome.org/show_bug.cgi?id=596506
+ epatch "${FILESDIR}/${PN}-1.26.0-introspection-automagic.patch"
-src_install() {
- gnome2_src_install
- rm "${D}/etc/pango/pango.modules"
+ eautoreconf
}
pkg_postinst() {