[Pkg-cli-apps-commits] r4824 - in /packages/monodevelop-boo/trunk/debian: changelog control patches/00list patches/build_against_gtksourceview2-sharp.dpatch

directhex-guest at users.alioth.debian.org directhex-guest at users.alioth.debian.org
Wed Apr 8 21:53:49 UTC 2009


Author: directhex-guest
Date: Wed Apr  8 21:53:49 2009
New Revision: 4824

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4824
Log:
  * debian/patches/build_against_gtksourceview2-sharp.dpatch,
    debian/control:
    + Port from old GTKSourceView API to current version - thanks to
      Peter Johanson for his help

Added:
    packages/monodevelop-boo/trunk/debian/patches/build_against_gtksourceview2-sharp.dpatch   (with props)
Modified:
    packages/monodevelop-boo/trunk/debian/changelog
    packages/monodevelop-boo/trunk/debian/control
    packages/monodevelop-boo/trunk/debian/patches/00list

Modified: packages/monodevelop-boo/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-boo/trunk/debian/changelog?rev=4824&op=diff
==============================================================================
--- packages/monodevelop-boo/trunk/debian/changelog (original)
+++ packages/monodevelop-boo/trunk/debian/changelog Wed Apr  8 21:53:49 2009
@@ -1,15 +1,19 @@
 monodevelop-boo (2.0-1) unstable; urgency=low
 
   [ Jo Shields ]
+  * New upstream release
   * debian/control:
     + Tweak build-deps to allow building against libgconf2.24-cil due to 
       broken ABI bump in Ubuntu
-  * New upstream release
+  * debian/patches/build_against_gtksourceview2-sharp.dpatch,
+    debian/control:
+    + Port from old GTKSourceView API to current version - thanks to
+      Peter Johanson for his help
 
   [ Iain Lane ]
   * Bump MD build-dep to >= 2.0 (configure checks) 
 
- -- Jo Shields <directhex at apebox.org>  Thu, 02 Apr 2009 22:16:27 +0100
+ -- Jo Shields <directhex at apebox.org>  Wed, 08 Apr 2009 22:42:33 +0100
 
 monodevelop-boo (1.9.3-1) unstable; urgency=low
 

Modified: packages/monodevelop-boo/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-boo/trunk/debian/control?rev=4824&op=diff
==============================================================================
--- packages/monodevelop-boo/trunk/debian/control (original)
+++ packages/monodevelop-boo/trunk/debian/control Wed Apr  8 21:53:49 2009
@@ -14,7 +14,7 @@
  libgtk2.0-cil (>= 2.8.3),
  libglib2.0-cil (>= 2.8.3),
  libgconf2.0-cil (>= 2.8.3) | libgconf2.24-cil,
- libgtksourceview2.0-cil (>= 0.11),
+ libgtksourceview2-2.0-cil (>= 2.20),
  libmono-system2.0-cil,
  libmono-system-runtime2.0-cil
 Standards-Version: 3.8.1

Modified: packages/monodevelop-boo/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-boo/trunk/debian/patches/00list?rev=4824&op=diff
==============================================================================
--- packages/monodevelop-boo/trunk/debian/patches/00list (original)
+++ packages/monodevelop-boo/trunk/debian/patches/00list Wed Apr  8 21:53:49 2009
@@ -1,1 +1,2 @@
 allow_minimal_configure_for_clean
+build_against_gtksourceview2-sharp

Added: packages/monodevelop-boo/trunk/debian/patches/build_against_gtksourceview2-sharp.dpatch
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/monodevelop-boo/trunk/debian/patches/build_against_gtksourceview2-sharp.dpatch?rev=4824&op=file
==============================================================================
--- packages/monodevelop-boo/trunk/debian/patches/build_against_gtksourceview2-sharp.dpatch (added)
+++ packages/monodevelop-boo/trunk/debian/patches/build_against_gtksourceview2-sharp.dpatch Wed Apr  8 21:53:49 2009
@@ -1,0 +1,67 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## build_against_gtksourceview2-sharp.dpatch by Jo Shields <directhex at apebox.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Port Boo addin to use GTKSourceView2 API. Thanks to Peter Johanson for
+## DP: providing the port for ShellTextView.boo
+
+ at DPATCH@
+diff -urNad monodevelop-boo-2.0~/BooBinding.make monodevelop-boo-2.0/BooBinding.make
+--- monodevelop-boo-2.0~/BooBinding.make	2009-04-08 22:34:09.000000000 +0100
++++ monodevelop-boo-2.0/BooBinding.make	2009-04-08 22:34:09.000000000 +0100
+@@ -93,7 +93,7 @@
+ 	-pkg:boo \
+ 	-pkg:gconf-sharp-2.0 \
+ 	-pkg:gtk-sharp-2.0 \
+-	-pkg:gtksourceview-sharp-2.0 \
++	-pkg:gtksourceview2-sharp \
+ 	-pkg:mono-addins \
+ 	-pkg:monodevelop \
+ 	-pkg:monodevelop-core-addins \
+diff -urNad monodevelop-boo-2.0~/Gui/ShellTextView.boo monodevelop-boo-2.0/Gui/ShellTextView.boo
+--- monodevelop-boo-2.0~/Gui/ShellTextView.boo	2009-04-08 22:29:41.000000000 +0100
++++ monodevelop-boo-2.0/Gui/ShellTextView.boo	2009-04-08 22:36:39.000000000 +0100
+@@ -76,17 +76,26 @@
+ 	
+ 	def constructor(model as IShellModel):
+ 		
+-		manager = SourceLanguagesManager()
+-		lang = manager.GetLanguageFromMimeType(model.MimeType)
++		manager = SourceLanguageManager()
++		for id in manager.LanguageIds:
++			lang = manager.GetLanguage(id)
++			continue if not lang
++
++			if Array.IndexOf (lang.MimeTypes, model.MimeType) < 0:
++				lang = null
++				continue
++			else:
++				break
++
+ 		if lang != null:
+ 			buf = SourceBuffer(lang)
+ 		else:
+-			buf = SourceBuffer(GtkSourceView.SourceTagTable())
++			buf = SourceBuffer(TextTagTable ())
+ 
+ 		// This freaks out booc for some reason.
+-		//super(buf, Highlight: true)
++		//super(buf, HighlightSyntax: true)
+ 		super(buf)
+-		buf.Highlight = true
++		buf.HighlightSyntax = true
+ 
+ 		self.model = model
+ 		self.WrapMode = Gtk.WrapMode.Word
+diff -urNad monodevelop-boo-2.0~/configure monodevelop-boo-2.0/configure
+--- monodevelop-boo-2.0~/configure	2009-04-08 22:34:09.000000000 +0100
++++ monodevelop-boo-2.0/configure	2009-04-08 22:34:09.000000000 +0100
+@@ -4,7 +4,7 @@
+ prefix=/usr/local
+ config=DEBUG
+ configurations=" RELEASE DEBUG"
+-required_packages="gtk-sharp-2.0;2.8.3 monodevelop;2.0 mono-addins;0.3 glib-sharp-2.0;2.8.3 monodevelop-core-addins;2.0 boo;0.7.9.2659 gconf-sharp-2.0;2.8.3 gtksourceview-sharp-2.0;0.11"
++required_packages="gtk-sharp-2.0;2.8.3 monodevelop;2.0 mono-addins;0.3 glib-sharp-2.0;2.8.3 monodevelop-core-addins;2.0 boo;0.7.9.2659 gconf-sharp-2.0;2.8.3 gtksourceview2-sharp;2.20"
+ 
+ usage ()
+ {

Propchange: packages/monodevelop-boo/trunk/debian/patches/build_against_gtksourceview2-sharp.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Pkg-cli-apps-commits mailing list