[banshee] [build] build GTK# from the 2.12 branch, not trunk



commit b20b8c70b07d8043b22a6c8043e82deecee7f000
Author: Aaron Bockover <abockover novell com>
Date:   Tue Dec 29 11:05:23 2009 -0500

    [build] build GTK# from the 2.12 branch, not trunk
    
    That explains all the strange issues I was running into ;-)

 build/bundle/packages/gtk-sharp.py |   20 ++++++++------------
 1 files changed, 8 insertions(+), 12 deletions(-)
---
diff --git a/build/bundle/packages/gtk-sharp.py b/build/bundle/packages/gtk-sharp.py
index 99f4d0c..2dd0019 100644
--- a/build/bundle/packages/gtk-sharp.py
+++ b/build/bundle/packages/gtk-sharp.py
@@ -1,31 +1,27 @@
 def svn_co_or_up (package):
 	os.chdir ('..')
-	if os.path.isdir ('gtk-sharp-svn'):
-		os.chdir ('gtk-sharp-svn')
+	if os.path.isdir ('svn'):
+		os.chdir ('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.system ('svn co http://anonsvn.mono-project.com/source/branches/gtk-sharp-2-12-branch svn')
+		os.chdir ('svn')
 	os.chdir ('..')
 
 package = {
 	'name':    'gtk-sharp',
-	'version': 'svn.HEAD',
+	'version': '2.12.10-svn',
 	'branch':  '212',
 	'sources': [
 		# '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'
+		'cp -a svn _build',
+		'cd _build/svn'
 	],
 	'build': [
-		'./bootstrap-for-the-insane --prefix=%{_prefix}',
+		'./bootstrap-2.12 --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]