[banshee] [build] do not include pango modules
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [build] do not include pango modules
- Date: Mon, 11 Jan 2010 18:31:53 +0000 (UTC)
commit e59eb550033c40515c2a7dbbc7fc140d450efea1
Author: Aaron Bockover <abockover novell com>
Date: Mon Jan 11 13:23:49 2010 -0500
[build] do not include pango modules
build pango with modules external, and apply the relative path
patch from bgo#321419 so modules can be loaded in a relative
way.
build/bundle/packages/pango.py | 35 +++++++++++++++++++++--------------
1 files changed, 21 insertions(+), 14 deletions(-)
---
diff --git a/build/bundle/packages/pango.py b/build/bundle/packages/pango.py
index 42ce6ee..2d72a48 100644
--- a/build/bundle/packages/pango.py
+++ b/build/bundle/packages/pango.py
@@ -1,14 +1,21 @@
-GnomePackage ('pango',
- version_major = '1.26',
- version_minor = '2',
- configure_flags = [
- '--without-x',
- '--with-included-modules=basic-atsui'
- ],
- override_properties = {
- 'make':
- '( make -j%s -k -C modules || true ); '
- 'make -j%s' % \
- (Package.profile.cpu_count, Package.profile.cpu_count)
- }
-)
+class PangoPackage (GnomePackage):
+ def __init__ (self):
+ GnomePackage.__init__ (self,
+ 'pango',
+ version_major = '1.26',
+ version_minor = '2',
+ configure_flags = [
+ '--without-x'
+ ]
+ )
+
+ self.sources.extend ([
+ # patch from bgo#321419
+ 'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023'
+ ])
+
+ def prep (self):
+ GnomePackage.prep (self)
+ self.sh ('patch -p0 < "%{sources[1]}"')
+
+PangoPackage ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]