================================
pango:source=1.13.3-1
cvc rdiff pango -1 /[EMAIL PROTECTED]:1-devel/1.13.3-1
================================
1.13.3-1 Ken VanDine ([EMAIL PROTECTED]) Sat Jul 29 18:40:25 2006
Merged from fl:desktop
pangomodule.tagdescription: new
--- /dev/null
+++ pangomodule.tagdescription
@@ -0,0 +5 @@
+file %(taghandlerdir)s/pangomodule
+include %(libdir)s/pango/[^/]*/modules/[^/]*.so
+implements files update
+implements files remove
+implements files preremove
pango-1.2.5-lib64.patch: new
--- /dev/null
+++ pango-1.2.5-lib64.patch
@@ -0,0 +30 @@
+--- pango-1.2.5/pango/Makefile.am.lib64 2003-08-25 10:12:45.000000000
-0400
++++ pango-1.2.5/pango/Makefile.am 2003-12-08 18:43:51.000000000 -0500
+@@ -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-1.2.5/pango/modules.c.lib64 2002-12-06 19:54:27.000000000 -0500
++++ pango-1.2.5/pango/modules.c 2003-12-08 18:43:51.000000000 -0500
+@@ -353,6 +353,7 @@
+
+ if (!file_str)
+ file_str = g_build_filename (pango_get_sysconf_subdirectory (),
++ HOST,
+ "pango.modules",
+ NULL);
+
+--- pango-1.2.5/pango/Makefile.in.lib64 2003-12-09 10:48:24.000000000
-0500
++++ pango-1.2.5/pango/Makefile.in 2003-12-09 10:48:32.000000000 -0500
+@@ -135,6 +135,7 @@
+ -DPANGO_ENABLE_BACKEND \
+ -DPANGO_ENABLE_ENGINE \
+ -DSYSCONFDIR=\"$(sysconfdir)\" \
++ -DHOST=\"$(host_triplet)\" \
+ -DLIBDIR=\"$(libdir)\" \
+ -DMODULE_VERSION=\"$(PANGO_MODULE_VERSION)\" \
+ -DG_DISABLE_DEPRECATED \
pango-1.13.3.tar.bz2: new
pango.recipe: new
--- /dev/null
+++ pango.recipe
@@ -0,0 +52 @@
+#
+# Copyright (c) 2004-2005 rpath, Inc.
+# All rights reserved
+#
+
+loadRecipe('gnomepackage.recipe')
+class Pango(GnomePackageRecipe):
+
+ buildRequires = [ 'libtool:runtime', 'glib:devel', 'freetype:devel',
+ 'fontconfig:devel', 'xorg-x11:devel', 'cairo:devel',
+ 'libpng:devel', 'perl:runtime', 'glib:runtime' ]
+
+ extraConfig = GnomePackageRecipe.extraConfig + ' --build=%(host)s'
+
+ if not Use.qt:
+ extraConfig += ' --without-qt'
+
+ name = 'pango'
+ version = '1.13.3'
+
+ docs = ['README', 'AUTHORS', 'COPYING', 'ChangeLog',
+ 'examples/HELLO.utf8']
+
+ def unpack(r):
+ GnomePackageRecipe.unpack(r)
+ r.addPatch('pango-1.2.5-lib64.patch')
+ r.addSource('pangomodule.tagdescription', macros=True,
+ dest='%(tagdescriptiondir)s/pangomodule')
+ r.addSource('pangomodule.taghandler', macros=True,
+ dest='%(taghandlerdir)s/pangomodule', mode=0755)
+ r.macros.optflags = '-g -Os'
+
+ def install(r):
+ GnomePackageRecipe.install(r)
+
+ # set up HOST definition for pango.modules location
+ r.macros.host = r.macros.target
+ if r.macros.target.endswith("linux"):
+ # autotools appends -gnu to -linux
+ r.macros.host += '-gnu'
+ r.macros.qm = '%(bindir)s/pango-querymodules-%(host)s'
+ r.macros.pm = '%(sysconfdir)s/pango/%(host)s/pango.modules'
+
+ # separate querymodules for multilib installation
+ r.Move('%(bindir)s/pango-querymodules', '%(qm)s')
+ r.Remove('%(sysconfdir)s/pango/pango.modules')
+ # zero-length config file
+ r.Create('%(pm)s')
+
+ # Files with %(host)s are really part of the library
+ r.ComponentSpec('lib', '%(qm)s', '%(pm)s')
+ r.ComponentSpec(catchall='data')
pangomodule.taghandler: new
--- /dev/null
+++ pangomodule.taghandler
@@ -0,0 +27 @@
+#!/bin/bash
+
+if [ $# -lt 2 ]; then
+ echo "not enough arguments: $0 $*" >&2
+ exit 1
+fi
+
+type="$1"
+shift
+action="$1"
+shift
+
+case $type in
+ files)
+ case $action in update|remove|preremove)
+ # rather than try to determine which databases might need
+ # updating, just update them all
+ for qm in %(bindir)s/pango-querymodules-* ; do
+ HOST=$(basename $qm)
+ HOST=${HOST//pango-querymodules-/}
+ $qm > %(sysconfdir)s/pango/$HOST/pango.modules
+ done
+ ;;
+ esac
+esac
+
+exit 0
Committed by: krv
_______________________________________________
Desktop-commits mailing list
[email protected]
http://lists.bizrace.com/mailman/listinfo/desktop-commits