Package: gtksourceview2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch

In Ubuntu, I've done some work to update gtksourceview to the GTK+ 3.0 branch.
Specifically, this involved creating a new source package and associated
binaries.

There are two things I did that I wanted to make sure were coordinated with
Debian, so please let me know ASAP if you are OK with and plan to make the
same changes as I've made:

1) Add a new gir binary package with the name gir1.0-gtksource-3.0.  I used
the name gtksource instead of gtksourceview because that is the namespace
upstream gave the gir file.  I'm not sure why, but there you go.

2) I renamed all the existing binary packages to include a dash before the
3.0.  For example, the library package went from libgtksourceview2.0-0 to
libgtksourceview-3.0-0.  The soname is libgtksourceview-3.0.so.0, so I
believe my change makes the names "more correct".  I *really* don't want a
delta with Debian here, so I want to make sure that you all think the same.

I know you may not apply this patch/update to gtksourceview3 yet given your
release schedule, but I'm just looking for an ACK here. 

My debdiff from 2.10.4 to 2.91.1 is attached.

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-1-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -uprN gtksourceview2-2.10.4/debian/control gtksourceview3-2.91.1/debian/control
--- gtksourceview2-2.10.4/debian/control	2010-08-16 13:21:52.000000000 -0400
+++ gtksourceview3-2.91.1/debian/control	2010-11-15 12:55:29.676131002 -0500
@@ -3,47 +3,50 @@
 # Modifications should be made to debian/control.in instead.
 # This file is regenerated automatically in the clean target.
 
-Source: gtksourceview2
+Source: gtksourceview3
 Section: libs
 Priority: optional
 Maintainer: Debian GNOME Maintainers <[email protected]>
 Uploaders: Emilio Pozuelo Monfort <[email protected]>, Josselin Mouette <[email protected]>, Sebastian Dröge <[email protected]>
 Build-Depends: autotools-dev,
                cdbs,
                debhelper (>= 5),
                gnome-pkg-tools (>= 0.7),
                dpkg-dev (>= 1.13.19),
-               libgtk2.0-dev (>= 2.12.0),
-               libxml2-dev (>= 2.5),
+               libgtk3.0-dev (>= 2.91.4),
+               libxml2-dev (>= 2.6),
                intltool (>= 0.40),
                gtk-doc-tools (>= 1.11),
                libglib2.0-dev (>= 2.16.0),
-               libgladeui-1-dev (>= 3.2)
-Build-Depends-Indep: libglib2.0-doc, libgtk2.0-doc
+               libgladeui-1-dev (>= 3.2),
+               gobject-introspection,
+               libgirepository1.0-dev (>= 0.9.0),
+               gir1.0-gtk-3.0
+Build-Depends-Indep: libglib2.0-doc, libgtk3.0-doc
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gtksourceview2
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/unstable/gtksourceview2
 Homepage: http://projects.gnome.org/gtksourceview/
 
-Package: libgtksourceview2.0-0
+Package: libgtksourceview-3.0-0
 Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends},
-         libgtksourceview2.0-common (>= ${gnome:Version}),
-         libgtksourceview2.0-common (<< ${gnome:NextVersion})
+         libgtksourceview-3.0-common (>= ${gnome:Version}),
+         libgtksourceview-3.0-common (<< ${gnome:NextVersion})
 Description: shared libraries for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
  This package contains the shared libraries required by applications to use
  this widget.
 
-Package: libgtksourceview2.0-common
+Package: libgtksourceview-3.0-common
 Architecture: all
 Depends: ${misc:Depends}
 Description: common files for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
@@ -53,28 +55,40 @@ Description: common files for the GTK+ s
  (gettext), Python, R, Ruby, sh, SQL, Tcl, Texinfo, VB.NET, Verilog, VHDL and
  XML.
 
-Package: libgtksourceview2.0-dev
+Package: libgtksourceview-3.0-dev
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
-         libgtksourceview2.0-0 (= ${binary:Version}),
-         libgtk2.0-dev (>= 2.12.0),
-         libxml2-dev (>= 2.5.0)
-Suggests: libgtksourceview2.0-doc
+         libgtksourceview-3.0-0 (= ${binary:Version}),
+         libgtk3.0-dev (>= 2.91.4),
+         libxml2-dev (>= 2.6.0)
+Suggests: libgtksourceview-3.0-doc
 Description: development files for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
  This package contains the header files required if you wish to develop
  software that uses the GtkSourceView widget.
 
-Package: libgtksourceview2.0-doc
+Package: gir1.0-gtksource-3.0
+Section: libs
+Architecture: any
+Depends: ${misc:Depends},
+         ${gir:Depends}
+Description: gir files for the GTK+ syntax highlighting widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
+ GtkTextView. It improves GtkTextView by implementing syntax highlighting and
+ other features typical of a source editor.
+ .
+ This package contains gobject introspection information.
+
+Package: libgtksourceview-3.0-doc
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
 Description: documentation for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
diff -uprN gtksourceview2-2.10.4/debian/control.in gtksourceview3-2.91.1/debian/control.in
--- gtksourceview2-2.10.4/debian/control.in	2010-03-29 06:19:09.000000000 -0400
+++ gtksourceview3-2.91.1/debian/control.in	2010-11-15 12:50:14.896131002 -0500
@@ -1,44 +1,47 @@
-Source: gtksourceview2
+Source: gtksourceview3
 Section: libs
 Priority: optional
 Maintainer: Debian GNOME Maintainers <[email protected]>
 Uploaders: @GNOME_TEAM@
 Build-Depends: autotools-dev,
                cdbs,
                debhelper (>= 5),
                gnome-pkg-tools (>= 0.7),
                dpkg-dev (>= 1.13.19),
-               libgtk2.0-dev (>= 2.12.0),
-               libxml2-dev (>= 2.5),
+               libgtk3.0-dev (>= 2.91.4),
+               libxml2-dev (>= 2.6),
                intltool (>= 0.40),
                gtk-doc-tools (>= 1.11),
                libglib2.0-dev (>= 2.16.0),
-               libgladeui-1-dev (>= 3.2)
-Build-Depends-Indep: libglib2.0-doc, libgtk2.0-doc
+               libgladeui-1-dev (>= 3.2),
+               gobject-introspection,
+               libgirepository1.0-dev (>= 0.9.0),
+               gir1.0-gtk-3.0
+Build-Depends-Indep: libglib2.0-doc, libgtk3.0-doc
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gtksourceview2
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-gnome/desktop/unstable/gtksourceview2
 Homepage: http://projects.gnome.org/gtksourceview/
 
-Package: libgtksourceview2.0-0
+Package: libgtksourceview-3.0-0
 Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends},
-         libgtksourceview2.0-common (>= ${gnome:Version}),
-         libgtksourceview2.0-common (<< ${gnome:NextVersion})
+         libgtksourceview-3.0-common (>= ${gnome:Version}),
+         libgtksourceview-3.0-common (<< ${gnome:NextVersion})
 Description: shared libraries for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
  This package contains the shared libraries required by applications to use
  this widget.
 
-Package: libgtksourceview2.0-common
+Package: libgtksourceview-3.0-common
 Architecture: all
 Depends: ${misc:Depends}
 Description: common files for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
@@ -48,28 +50,40 @@ Description: common files for the GTK+ s
  (gettext), Python, R, Ruby, sh, SQL, Tcl, Texinfo, VB.NET, Verilog, VHDL and
  XML.
 
-Package: libgtksourceview2.0-dev
+Package: libgtksourceview-3.0-dev
 Section: libdevel
 Architecture: any
 Depends: ${misc:Depends},
-         libgtksourceview2.0-0 (= ${binary:Version}),
-         libgtk2.0-dev (>= 2.12.0),
-         libxml2-dev (>= 2.5.0)
-Suggests: libgtksourceview2.0-doc
+         libgtksourceview-3.0-0 (= ${binary:Version}),
+         libgtk3.0-dev (>= 2.91.4),
+         libxml2-dev (>= 2.6.0)
+Suggests: libgtksourceview-3.0-doc
 Description: development files for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
  This package contains the header files required if you wish to develop
  software that uses the GtkSourceView widget.
 
-Package: libgtksourceview2.0-doc
+Package: gir1.0-gtksource-3.0
+Section: libs
+Architecture: any
+Depends: ${misc:Depends},
+         ${gir:Depends}
+Description: gir files for the GTK+ syntax highlighting widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
+ GtkTextView. It improves GtkTextView by implementing syntax highlighting and
+ other features typical of a source editor.
+ .
+ This package contains gobject introspection information.
+
+Package: libgtksourceview-3.0-doc
 Section: doc
 Architecture: all
 Depends: ${misc:Depends}
 Description: documentation for the GTK+ syntax highlighting widget
- GtkSourceView is a text widget that extends the standard GTK+ 2.x text widget
+ GtkSourceView is a text widget that extends the standard GTK+ 3.x text widget
  GtkTextView. It improves GtkTextView by implementing syntax highlighting and
  other features typical of a source editor.
  .
diff -uprN gtksourceview2-2.10.4/debian/gir1.0-gtksource-3.0.install gtksourceview3-2.91.1/debian/gir1.0-gtksource-3.0.install
--- gtksourceview2-2.10.4/debian/gir1.0-gtksource-3.0.install	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/gir1.0-gtksource-3.0.install	2010-11-15 12:31:35.856131002 -0500
@@ -0,0 +1 @@
+debian/tmp/usr/lib/girepository-1.0/
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview2.0-0.install gtksourceview3-2.91.1/debian/libgtksourceview2.0-0.install
--- gtksourceview2-2.10.4/debian/libgtksourceview2.0-0.install	2007-09-20 03:52:37.000000000 -0400
+++ gtksourceview3-2.91.1/debian/libgtksourceview2.0-0.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-debian/tmp/usr/lib/lib*.so.*
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview2.0-common.install gtksourceview3-2.91.1/debian/libgtksourceview2.0-common.install
--- gtksourceview2-2.10.4/debian/libgtksourceview2.0-common.install	2010-03-29 06:19:09.000000000 -0400
+++ gtksourceview3-2.91.1/debian/libgtksourceview2.0-common.install	1969-12-31 19:00:00.000000000 -0500
@@ -1,3 +0,0 @@
-debian/tmp/usr/share/gtksourceview-2.0
-debian/tmp/usr/share/locale
-debian/tmp/usr/share/glade3
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview2.0-dev.install gtksourceview3-2.91.1/debian/libgtksourceview2.0-dev.install
--- gtksourceview2-2.10.4/debian/libgtksourceview2.0-dev.install	2007-09-20 03:52:37.000000000 -0400
+++ gtksourceview3-2.91.1/debian/libgtksourceview2.0-dev.install	1969-12-31 19:00:00.000000000 -0500
@@ -1,4 +0,0 @@
-debian/tmp/usr/include
-debian/tmp/usr/lib/lib*.a
-debian/tmp/usr/lib/lib*.so
-debian/tmp/usr/lib/pkgconfig/*
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview2.0-doc.doc-base gtksourceview3-2.91.1/debian/libgtksourceview2.0-doc.doc-base
--- gtksourceview2-2.10.4/debian/libgtksourceview2.0-doc.doc-base	2008-09-24 18:08:39.000000000 -0400
+++ gtksourceview3-2.91.1/debian/libgtksourceview2.0-doc.doc-base	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
-Document: gtksourceview-2.0
-Title: GtkSourceView Reference Manual
-Author: The GtkSourceView team
-Abstract: This manual describes the GtkSourceView text widget. It extends the
- standard GTK+ 2.x text widget GtkTextView by implementing syntax highlighting
- and other features typical of a source editor.
-Section: Programming
-
-Format: HTML
-Index: /usr/share/gtk-doc/html/gtksourceview-2.0/index.html
-Files: /usr/share/gtk-doc/html/gtksourceview-2.0/*.html
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview2.0-doc.install gtksourceview3-2.91.1/debian/libgtksourceview2.0-doc.install
--- gtksourceview2-2.10.4/debian/libgtksourceview2.0-doc.install	2007-09-20 03:52:37.000000000 -0400
+++ gtksourceview3-2.91.1/debian/libgtksourceview2.0-doc.install	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-debian/tmp/usr/share/gtk-doc
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview2.0-doc.links gtksourceview3-2.91.1/debian/libgtksourceview2.0-doc.links
--- gtksourceview2-2.10.4/debian/libgtksourceview2.0-doc.links	2007-09-20 03:52:37.000000000 -0400
+++ gtksourceview3-2.91.1/debian/libgtksourceview2.0-doc.links	1969-12-31 19:00:00.000000000 -0500
@@ -1 +0,0 @@
-usr/share/gtk-doc/html/gtksourceview-2.0 usr/share/doc/libgtksourceview2.0-doc/html
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview-3.0-0.install gtksourceview3-2.91.1/debian/libgtksourceview-3.0-0.install
--- gtksourceview2-2.10.4/debian/libgtksourceview-3.0-0.install	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/libgtksourceview-3.0-0.install	2010-11-15 10:29:30.286131002 -0500
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview-3.0-common.install gtksourceview3-2.91.1/debian/libgtksourceview-3.0-common.install
--- gtksourceview2-2.10.4/debian/libgtksourceview-3.0-common.install	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/libgtksourceview-3.0-common.install	2010-11-15 10:31:01.546131001 -0500
@@ -0,0 +1,3 @@
+debian/tmp/usr/share/gtksourceview-3.0
+debian/tmp/usr/share/locale
+debian/tmp/usr/share/glade3
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview-3.0-dev.install gtksourceview3-2.91.1/debian/libgtksourceview-3.0-dev.install
--- gtksourceview2-2.10.4/debian/libgtksourceview-3.0-dev.install	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/libgtksourceview-3.0-dev.install	2010-11-15 12:15:56.716131001 -0500
@@ -0,0 +1,5 @@
+debian/tmp/usr/include
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
+debian/tmp/usr/lib/pkgconfig/*
+debian/tmp/usr/share/gir-1.0
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview-3.0-doc.doc-base gtksourceview3-2.91.1/debian/libgtksourceview-3.0-doc.doc-base
--- gtksourceview2-2.10.4/debian/libgtksourceview-3.0-doc.doc-base	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/libgtksourceview-3.0-doc.doc-base	2010-11-15 10:31:11.956131002 -0500
@@ -0,0 +1,11 @@
+Document: gtksourceview-3.0
+Title: GtkSourceView Reference Manual
+Author: The GtkSourceView team
+Abstract: This manual describes the GtkSourceView text widget. It extends the
+ standard GTK+ 3.x text widget GtkTextView by implementing syntax highlighting
+ and other features typical of a source editor.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/gtk-doc/html/gtksourceview-3.0/index.html
+Files: /usr/share/gtk-doc/html/gtksourceview-3.0/*.html
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview-3.0-doc.install gtksourceview3-2.91.1/debian/libgtksourceview-3.0-doc.install
--- gtksourceview2-2.10.4/debian/libgtksourceview-3.0-doc.install	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/libgtksourceview-3.0-doc.install	2010-11-15 10:29:30.286131002 -0500
@@ -0,0 +1 @@
+debian/tmp/usr/share/gtk-doc
diff -uprN gtksourceview2-2.10.4/debian/libgtksourceview-3.0-doc.links gtksourceview3-2.91.1/debian/libgtksourceview-3.0-doc.links
--- gtksourceview2-2.10.4/debian/libgtksourceview-3.0-doc.links	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/libgtksourceview-3.0-doc.links	2010-11-15 10:31:18.926131002 -0500
@@ -0,0 +1 @@
+usr/share/gtk-doc/html/gtksourceview-3.0 usr/share/doc/libgtksourceview3.0-doc/html
diff -uprN gtksourceview2-2.10.4/debian/patches/15-fix-catalog-var-name.patch gtksourceview3-2.91.1/debian/patches/15-fix-catalog-var-name.patch
--- gtksourceview2-2.10.4/debian/patches/15-fix-catalog-var-name.patch	1969-12-31 19:00:00.000000000 -0500
+++ gtksourceview3-2.91.1/debian/patches/15-fix-catalog-var-name.patch	2010-11-15 12:06:58.886131002 -0500
@@ -0,0 +1,53 @@
+Description: Fix variable typo
+Author: Michael Terry <[email protected]>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- gtksourceview3-2.91.1.orig/data/glade/Makefile.am
++++ gtksourceview3-2.91.1/data/glade/Makefile.am
+@@ -1,4 +1,4 @@
+-cataloguedir = $(GLADE_CATALOGUE_DIR)
++cataloguedir = $(GLADE_CATALOG_DIR)
+ catalogue_in_files = gtksourceview.xml.in
+ catalogue_DATA = $(catalogue_in_files:.xml.in=.xml)
+ 
+@@ -6,7 +6,7 @@ EXTRA_DIST = \
+ 	$(catalogue_in_files)
+ 
+ validate: $(catalogue_DATA)
+-	xmllint --dtdvalid $(GLADE_CATALOGUE_DIR)/glade-catalog.dtd --noout $<
++	xmllint --dtdvalid $(GLADE_CATALOG_DIR)/glade-catalog.dtd --noout $<
+ 
+ CLEANFILES = $(catalogue_DATA)
+ 
+--- gtksourceview3-2.91.1.orig/data/glade/Makefile.in
++++ gtksourceview3-2.91.1/data/glade/Makefile.in
+@@ -248,7 +248,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-cataloguedir = $(GLADE_CATALOGUE_DIR)
++cataloguedir = $(GLADE_CATALOG_DIR)
+ catalogue_in_files = gtksourceview.xml.in
+ catalogue_DATA = $(catalogue_in_files:.xml.in=.xml)
+ EXTRA_DIST = \
+@@ -466,7 +466,7 @@ uninstall-am: uninstall-catalogueDATA
+ 
+ 
+ validate: $(catalogue_DATA)
+-	xmllint --dtdvalid $(GLADE_CATALOGUE_DIR)/glade-catalog.dtd --noout $<
++	xmllint --dtdvalid $(GLADE_CATALOG_DIR)/glade-catalog.dtd --noout $<
+ 
+ @INTLTOOL_XML_NOMERGE_RULE@
+ 
diff -uprN gtksourceview2-2.10.4/debian/patches/series gtksourceview3-2.91.1/debian/patches/series
--- gtksourceview2-2.10.4/debian/patches/series	2010-03-31 06:23:23.000000000 -0400
+++ gtksourceview3-2.91.1/debian/patches/series	2010-11-15 12:55:21.266131001 -0500
@@ -1 +1 @@
-99_ltmain_as-needed.patch
+15-fix-catalog-var-name.patch
diff -uprN gtksourceview2-2.10.4/debian/rules gtksourceview3-2.91.1/debian/rules
--- gtksourceview2-2.10.4/debian/rules	2010-03-31 06:23:23.000000000 -0400
+++ gtksourceview3-2.91.1/debian/rules	2010-11-15 12:13:05.846131002 -0500
@@ -19,6 +19,9 @@ DEB_CONFIGURE_EXTRA_FLAGS +=	--enable-st
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 # Debhelper Arguments
-DEB_DH_MAKESHLIBS_ARGS += -V 'libgtksourceview2.0-0 (>= 2.10.0)'
+DEB_DH_MAKESHLIBS_ARGS += -V 'libgtksourceview3.0-0 (>= 2.91.0)'
 
-DEB_MAKE_CHECK_TARGET := -C gtksourceview/language-specs check
+DEB_MAKE_CHECK_TARGET := -C data/language-specs check
+
+binary-predeb/gir%::
+	dh_girepository -p$(cdbs_curpkg)
diff -uprN gtksourceview2-2.10.4/debian/watch gtksourceview3-2.91.1/debian/watch
--- gtksourceview2-2.10.4/debian/watch	2009-06-28 20:49:03.000000000 -0400
+++ gtksourceview3-2.91.1/debian/watch	2010-11-15 10:29:30.286131002 -0500
@@ -1,3 +1,3 @@
-version=2
-http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/([\d\.]+)[02468]/ \
-	gtksourceview-(.*)\.tar\.gz
+version=3
+http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/([\d\.]+)/ \
+	gtksourceview-(.*)\.tar\.bz2

Reply via email to