[banshee] [build] build gtk-sharp from svn, fix up .configs
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [build] build gtk-sharp from svn, fix up .configs
- Date: Tue, 29 Dec 2009 13:13:08 +0000 (UTC)
commit 9c3729de6121e3b6b7a4401e9176ea9d3bcf3d74
Author: Aaron Bockover <abockover novell com>
Date: Tue Dec 29 08:09:49 2009 -0500
[build] build gtk-sharp from svn, fix up .configs
The gtk/gdk-sharp-2.0 assembly config files map to the x11 variant
of the GDK/GTK native libraries, so after make install we change
them to map to quartz.
build/bundle/packages/gtk-sharp.py | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/build/bundle/packages/gtk-sharp.py b/build/bundle/packages/gtk-sharp.py
index 1dbc3ee..99f4d0c 100644
--- a/build/bundle/packages/gtk-sharp.py
+++ b/build/bundle/packages/gtk-sharp.py
@@ -1,8 +1,31 @@
+def svn_co_or_up (package):
+ os.chdir ('..')
+ if os.path.isdir ('gtk-sharp-svn'):
+ os.chdir ('gtk-sharp-svn')
+ os.system ('svn up')
+ else:
+ os.system ('svn co http://anonsvn.mono-project.com/source/trunk/gtk-sharp gtk-sharp-svn')
+ os.chdir ('gtk-sharp-svn')
+ os.chdir ('..')
+
package = {
'name': 'gtk-sharp',
- 'version': '2.12.9',
+ 'version': 'svn.HEAD',
'branch': '212',
'sources': [
- 'http://ftp.novell.com/pub/mono/sources/%{name}%{branch}/%{name}-%{version}.tar.bz2'
+ # 'http://ftp.novell.com/pub/mono/sources/%{name}%{branch}/%{name}-%{version}.tar.bz2'
+ ],
+ 'prep': [
+ svn_co_or_up,
+ 'cp -a gtk-sharp-svn _build',
+ 'cd _build/gtk-sharp-svn'
+ ],
+ 'build': [
+ './bootstrap-for-the-insane --prefix=%{_prefix}',
+ '%{__make}'
+ ],
+ 'install': [
+ '%{__makeinstall}',
+ 'find %{_prefix}/lib/mono/gac -iregex ".*/g[td]k-sharp.dll.config" -exec sed -ie "s/x11/quartz/g" "{}" \;'
]
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]