[banshee] [build] new packages, all deps now defined



commit a8f1bc99df3e7ccd6906e6898f9190d497dfeac1
Author: Aaron Bockover <abockover novell com>
Date:   Sat Dec 26 12:07:29 2009 -0500

    [build] new packages, all deps now defined

 build/bundle/packages/atk.py         |    9 +++++++++
 build/bundle/packages/banshee.py     |   20 ++++++++++++++++++++
 build/bundle/packages/cairo.py       |   11 +++++++++++
 build/bundle/packages/fontconfig.py  |   11 +++++++++++
 build/bundle/packages/freetype.py    |   11 +++++++++++
 build/bundle/packages/glib.py        |   27 +++++++++++++++++----------
 build/bundle/packages/gtk+.py        |   19 +++++++++++++++++++
 build/bundle/packages/gtk-sharp.py   |    8 ++++++++
 build/bundle/packages/libglade.py    |    9 +++++++++
 build/bundle/packages/libiconv.py    |    7 +++++++
 build/bundle/packages/libjpeg.py     |   11 +++++++++++
 build/bundle/packages/libogg.py      |    4 ++++
 build/bundle/packages/libpng.py      |   11 +++++++++++
 build/bundle/packages/mono-addins.py |    4 ++--
 build/bundle/packages/pango.py       |   13 +++++++++++++
 build/bundle/packages/pixman.py      |    7 +++++++
 build/bundle/packages/speex.py       |    3 +++
 build/bundle/packages/sqlite.py      |    7 +++++++
 18 files changed, 180 insertions(+), 12 deletions(-)
---
diff --git a/build/bundle/packages/atk.py b/build/bundle/packages/atk.py
new file mode 100644
index 0000000..cee6871
--- /dev/null
+++ b/build/bundle/packages/atk.py
@@ -0,0 +1,9 @@
+package = {
+	'name':          'atk',
+	'version_major': '1.26',
+	'version_minor': '0',
+	'version':       '%{version_major}.%{version_minor}',
+	'sources': [
+		'http://ftp.gnome.org/pub/gnome/sources/%{name}/%{version_major}/%{name}-%{version}.tar.gz'
+	]
+}
diff --git a/build/bundle/packages/banshee.py b/build/bundle/packages/banshee.py
new file mode 100644
index 0000000..92d3b8c
--- /dev/null
+++ b/build/bundle/packages/banshee.py
@@ -0,0 +1,20 @@
+configure_flags = [
+	'--disable-mtp',
+	'--disable-daap',
+	'--disable-ipod',
+	'--disable-boo',
+	'--disable-gnome',
+	'--disable-docs'
+]
+
+package = {
+	'name':    'banshee-1',
+	'version': '1.5.2',
+	'sources': [
+		'http://download.banshee-project.org/banshee/stable/%{version}/%{name}-%{version}.tar.bz2'
+	],
+	'build': [
+		'%{__configure} ' + ' '.join (configure_flags),
+		'%{__make}'
+	]
+}
diff --git a/build/bundle/packages/cairo.py b/build/bundle/packages/cairo.py
new file mode 100644
index 0000000..2cd836b
--- /dev/null
+++ b/build/bundle/packages/cairo.py
@@ -0,0 +1,11 @@
+package = {
+	'name':    'cairo',
+	'version': '1.8.8',
+	'sources': [
+		'http://cairographics.org/releases/%{name}-%{version}.tar.gz'
+	],
+	'build': [
+		'%{__configure} --enable-pdf --enable-quartz --enable-xlib=no --without-x',
+		'%{__make}'
+	]
+}
diff --git a/build/bundle/packages/fontconfig.py b/build/bundle/packages/fontconfig.py
new file mode 100644
index 0000000..19193d2
--- /dev/null
+++ b/build/bundle/packages/fontconfig.py
@@ -0,0 +1,11 @@
+package = {
+	'name':    'fontconfig',
+	'version': '2.7.3',
+	'sources': [
+		'http://www.fontconfig.org/release/%{name}-%{version}.tar.gz'
+	],
+	'build': [
+		'%{__configure} --disable-docs',
+		'%{__make}'
+	]
+}
diff --git a/build/bundle/packages/freetype.py b/build/bundle/packages/freetype.py
new file mode 100644
index 0000000..cc5bce2
--- /dev/null
+++ b/build/bundle/packages/freetype.py
@@ -0,0 +1,11 @@
+package = {
+	'name':    'freetype',
+	'version': '2.3.11',
+	'sources': [
+		'http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz'
+	],
+	'build': [
+		'./configure --prefix %{_prefix}',
+		'%{__make}'
+	]
+}
diff --git a/build/bundle/packages/glib.py b/build/bundle/packages/glib.py
index 3ad7c06..a8f490e 100644
--- a/build/bundle/packages/glib.py
+++ b/build/bundle/packages/glib.py
@@ -3,30 +3,37 @@ package = {
 	'version_major': '2.22',
 	'version_minor': '3',
 	'version':       '%{version_major}.%{version_minor}',
-	
 	'macports_svn':  'http://svn.macports.org/repository/macports/trunk/dports/devel/glib2/files',
 	'sources': [
 		'http://ftp.gnome.org/pub/gnome/sources/%{name}/%{version_major}/%{name}-%{version}.tar.gz',
+	]
+}
+
+if profile['name'] == 'osx':
+	package['sources'].extend ([
 		'%{macports_svn}/config.h.ed',
 		'%{macports_svn}/patch-configure.in.diff',
 		'%{macports_svn}/patch-glib-2.0.pc.in.diff',
 		'%{macports_svn}/patch-gi18n.h.diff',
-		'%{macports_svn}/patch-gio_xdgmime_xdgmime.c.diff',
 		'%{macports_svn}/patch-child-test.c.diff'
-	],
+	])
 
-	'prep': [
+	package['prep'] = [
 		'tar xf @{sources:0}',
 		'cd %{name}-%{version}'
-	],
-	
-	'build': [
+	]
+
+	package['prep'].extend (['patch -p0 < @{sources:%s}' % p
+		for p in range (2, len (package['sources']))])
+
+	package['build'] = [
 		'autoconf',
 		'%{__configure}',
 		'ed - config.h < @{sources:1}',
 		'%{__make}'
 	]
-}
 
-package['prep'].extend (['patch -p0 < @{sources:%s}' % p
-	for p in range (2, len (package['sources']))])
+	package['install'] = [
+		'%{__makeinstall}',
+		'rm %{_prefix}/lib/charset.alias'
+	]
diff --git a/build/bundle/packages/gtk+.py b/build/bundle/packages/gtk+.py
new file mode 100644
index 0000000..6080021
--- /dev/null
+++ b/build/bundle/packages/gtk+.py
@@ -0,0 +1,19 @@
+package = {
+	'name':          'gtk+',
+	'version_major': '2.18',
+	'version_minor': '5',
+	'version':       '%{version_major}.%{version_minor}',
+	'sources': [
+		'http://ftp.gnome.org/pub/gnome/sources/%{name}/%{version_major}/%{name}-%{version}.tar.gz',
+		'http://github.com/jralls/gtk-osx-build/raw/master/patches/gdk-quartz-input-window.patch'
+	],
+	'prep': [
+		'tar xf @{sources:0}',
+		'cd %{name}-%{version}',
+		'patch -p1 < @{sources:1}'
+	],
+	'build': [
+		'%{__configure} --with-gdktarget=quartz --without-libjasper --without-libtiff',
+		'%{__make}'
+	]
+}
diff --git a/build/bundle/packages/gtk-sharp.py b/build/bundle/packages/gtk-sharp.py
new file mode 100644
index 0000000..1dbc3ee
--- /dev/null
+++ b/build/bundle/packages/gtk-sharp.py
@@ -0,0 +1,8 @@
+package = {
+	'name':    'gtk-sharp',
+	'version': '2.12.9',
+	'branch':  '212',
+	'sources': [
+		'http://ftp.novell.com/pub/mono/sources/%{name}%{branch}/%{name}-%{version}.tar.bz2'
+	]
+}
diff --git a/build/bundle/packages/libglade.py b/build/bundle/packages/libglade.py
new file mode 100644
index 0000000..159ea80
--- /dev/null
+++ b/build/bundle/packages/libglade.py
@@ -0,0 +1,9 @@
+package = {
+	'name':          'libglade',
+	'version_major': '2.6',
+	'version_minor': '4',
+	'version':       '%{version_major}.%{version_minor}',
+	'sources': [
+		'http://ftp.gnome.org/pub/gnome/sources/%{name}/%{version_major}/%{name}-%{version}.tar.bz2'
+	]
+}
diff --git a/build/bundle/packages/libiconv.py b/build/bundle/packages/libiconv.py
new file mode 100644
index 0000000..4190bbb
--- /dev/null
+++ b/build/bundle/packages/libiconv.py
@@ -0,0 +1,7 @@
+package = {
+	'name':    'libiconv',
+	'version': '1.13.1',
+	'sources': [
+		'http://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz'
+	]
+}
diff --git a/build/bundle/packages/libjpeg.py b/build/bundle/packages/libjpeg.py
new file mode 100644
index 0000000..3925ccf
--- /dev/null
+++ b/build/bundle/packages/libjpeg.py
@@ -0,0 +1,11 @@
+package = {
+	'name':    'libjpeg',
+	'version': '7',
+	'sources': [
+		'http://www.ijg.org/files/jpegsrc.v%{version}.tar.gz'
+	],
+	'prep': [
+		'tar xf @{sources:0}',
+		'cd jpeg-%{version}'
+	]
+}
diff --git a/build/bundle/packages/libogg.py b/build/bundle/packages/libogg.py
index c433102..ccddb27 100644
--- a/build/bundle/packages/libogg.py
+++ b/build/bundle/packages/libogg.py
@@ -3,5 +3,9 @@ package = {
 	'version': '1.1.4',
 	'sources': [
 		'http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.gz'
+	],
+	'install': [
+		'make install'
 	]
+
 }
diff --git a/build/bundle/packages/libpng.py b/build/bundle/packages/libpng.py
new file mode 100644
index 0000000..ae97249
--- /dev/null
+++ b/build/bundle/packages/libpng.py
@@ -0,0 +1,11 @@
+package = {
+	'name':    'libpng',
+	'version': '1.2.40',
+	'sources': [
+		'http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz'
+	],
+	'build': [
+		'%{__configure} --enable-shared',
+		'%{__make}'
+	]
+}
diff --git a/build/bundle/packages/mono-addins.py b/build/bundle/packages/mono-addins.py
index 7f3c500..5f704d8 100644
--- a/build/bundle/packages/mono-addins.py
+++ b/build/bundle/packages/mono-addins.py
@@ -9,7 +9,7 @@ package = {
 		'cd %{name}-%{version}'
 	],
 	'build': [
-		'%{__configure} --disable-gui',
-		'%{__make}'
+		'%{__configure}',
+		'make'
 	]
 }
diff --git a/build/bundle/packages/pango.py b/build/bundle/packages/pango.py
new file mode 100644
index 0000000..72934ed
--- /dev/null
+++ b/build/bundle/packages/pango.py
@@ -0,0 +1,13 @@
+package = {
+	'name':          'pango',
+	'version_major': '1.26',
+	'version_minor': '2',
+	'version':       '%{version_major}.%{version_minor}',
+	'sources': [
+		'http://ftp.gnome.org/pub/gnome/sources/%{name}/%{version_major}/%{name}-%{version}.tar.gz'
+	],
+	'build': [
+		'%{__configure} --without-x',
+		'%{__make}'
+	]
+}
diff --git a/build/bundle/packages/pixman.py b/build/bundle/packages/pixman.py
new file mode 100644
index 0000000..63dcd5f
--- /dev/null
+++ b/build/bundle/packages/pixman.py
@@ -0,0 +1,7 @@
+package = {
+	'name':    'pixman',
+	'version': '0.17.2',
+	'sources': [
+		'http://www.cairographics.org/releases/%{name}-%{version}.tar.gz'
+	]
+}
diff --git a/build/bundle/packages/speex.py b/build/bundle/packages/speex.py
index b0fb308..e1389a4 100644
--- a/build/bundle/packages/speex.py
+++ b/build/bundle/packages/speex.py
@@ -3,5 +3,8 @@ package = {
 	'version': '1.2rc1',
 	'sources': [
 		'http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz'
+	],
+	'install': [
+		'make install'
 	]
 }
diff --git a/build/bundle/packages/sqlite.py b/build/bundle/packages/sqlite.py
new file mode 100644
index 0000000..43fa3b0
--- /dev/null
+++ b/build/bundle/packages/sqlite.py
@@ -0,0 +1,7 @@
+package = {
+	'name':    'sqlite',
+	'version': '3.6.21',
+	'sources': [
+		'http://www.sqlite.org/sqlite-amalgamation-%{version}.tar.gz'
+	]
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]