[Pkg-mono-svn-commits] rev 3923 - mono/trunk/debian

Mirco Bauer meebey at alioth.debian.org
Tue Feb 24 23:24:20 UTC 2009


Author: meebey
Date: 2009-02-24 23:24:20 +0000 (Tue, 24 Feb 2009)
New Revision: 3923

Modified:
   mono/trunk/debian/changelog
   mono/trunk/debian/control
   mono/trunk/debian/shlibs.local
   mono/trunk/debian/update-shlibs.local.sh
Log:
  * debian/control:
    + Removed libgamin-dev, libcups2-dev, librsvg2-dev, libgtk2.0-dev and
      libgnomeui-dev from build-deps-indep as those packages are only needed
      to generate the debian/shlibs.local file using the
      debian/update-shlibs.local.sh script (the script checks now if those
      are installed). This extended hack is needed as shared-mime-info in
      unstable conflicts with gnome < 2.24 and gnome 2.24 is blocked by
      the Mono 2.0 transition.
  * debian/shlibs.local:
    + Updated using the debian/update-shlibs.local.sh script.



Modified: mono/trunk/debian/changelog
===================================================================
--- mono/trunk/debian/changelog	2009-02-24 22:15:00 UTC (rev 3922)
+++ mono/trunk/debian/changelog	2009-02-24 23:24:20 UTC (rev 3923)
@@ -6,8 +6,17 @@
   * debian/control:
     + The compilers (mono-mcs and mono-gmcs) are not forward compatible with
       newer upstream versions, thus added stronger dependencies.
+    + Removed libgamin-dev, libcups2-dev, librsvg2-dev, libgtk2.0-dev and
+      libgnomeui-dev from build-deps-indep as those packages are only needed
+      to generate the debian/shlibs.local file using the
+      debian/update-shlibs.local.sh script (the script checks now if those
+      are installed). This extended hack is needed as shared-mime-info in
+      unstable conflicts with gnome < 2.24 and gnome 2.24 is blocked by
+      the Mono 2.0 transition.
+  * debian/shlibs.local:
+    + Updated using the debian/update-shlibs.local.sh script.
 
- -- Mirco Bauer <meebey at debian.org>  Tue, 24 Feb 2009 23:12:16 +0100
+ -- Mirco Bauer <meebey at debian.org>  Wed, 25 Feb 2009 00:10:02 +0100
 
 mono (2.0.1-4) experimental; urgency=low
 

Modified: mono/trunk/debian/control
===================================================================
--- mono/trunk/debian/control	2009-02-24 22:15:00 UTC (rev 3922)
+++ mono/trunk/debian/control	2009-02-24 23:24:20 UTC (rev 3923)
@@ -3,8 +3,18 @@
 Priority: optional
 Maintainer: Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
 Uploaders: Mirco Bauer <meebey at debian.org>, Sebastian Dröge <slomo at debian.org>, Jo Shields <directhex at apebox.org>
-Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.13.19), libglib2.0-dev (>= 2.4), bison, libtool, dpatch, libxml-dom-perl, libxslt1-dev, dc, libx11-dev, libxt-dev, zlib1g-dev
-Build-Depends-Indep: libgamin-dev, libcups2-dev, librsvg2-dev, libgtk2.0-dev, libgnomeui-dev
+Build-Depends: debhelper (>= 5),
+	dpkg-dev (>= 1.13.19),
+	libglib2.0-dev (>= 2.4),
+	bison,
+	libtool,
+	dpatch,
+	libxml-dom-perl,
+	libxslt1-dev,
+	dc,
+	libx11-dev,
+	libxt-dev,
+	zlib1g-dev
 Standards-Version: 3.8.0
 Homepage: http://www.mono-project.com/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-mono/mono/trunk

Modified: mono/trunk/debian/shlibs.local
===================================================================
--- mono/trunk/debian/shlibs.local	2009-02-24 22:15:00 UTC (rev 3922)
+++ mono/trunk/debian/shlibs.local	2009-02-24 23:24:20 UTC (rev 3923)
@@ -1,9 +1,14 @@
 libMonoPosixHelper 0 libmono0 (>= 2.0)
 libgdiplus 0 libgdiplus (>= 2.0)
 libgluezilla 0 libgluezilla (>= 2.0)
-libcairo 2 libcairo2 (>= 1.6.4-6.1)
+libcairo 2 libcairo2 (>= 1.8.0-2)
 libfbclient 2 libfbclient2 (>= 2.0.4)
 libsqlite 0 libsqlite0 (>= 2.8.17)
 libsqlite3 0 libsqlite3-0 (>= 3.5.9)
 libasound 2 libasound2 (>> 1.0.16)
 libgda-2 3 libgda2-3
+libgamin-1 0 libgamin0
+libcups 2 libcups2 (>= 1.3.8)
+librsvg-2 2 librsvg2-2 (>= 2.18.1)
+libgtk-x11-2.0 0 libgtk2.0-0 (>= 2.12.0)
+libgnomeui-2 0 libgnomeui-0 (>= 2.17.1)

Modified: mono/trunk/debian/update-shlibs.local.sh
===================================================================
--- mono/trunk/debian/update-shlibs.local.sh	2009-02-24 22:15:00 UTC (rev 3922)
+++ mono/trunk/debian/update-shlibs.local.sh	2009-02-24 23:24:20 UTC (rev 3923)
@@ -2,25 +2,47 @@
 
 VERSION=$(dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
 UPVERSION=$(echo $VERSION | sed 's,-.*,,' | sed 's,+dfsg,,')
+MAJOR_MINOR_UPVERSION=$(perl -e '$_=pop; print m/^(\d+\.\d+)/g;' $UPVERSION)
 
+dpkg-checkbuilddeps -d "\
+	libcairo2-dev, \
+	firebird2.0-dev, \
+	libsqlite0-dev, \
+	libsqlite3-dev, \
+	libasound2-dev, \
+	libgda2-dev, \
+	libgamin-dev, \
+	libcups2-dev, \
+	librsvg2-dev, \
+	libgtk2.0-dev, \
+	libgnomeui-dev
+"
+	
 echo -n "Updating shlibs.local for Mono $UPVERSION..."
 
-# libgamin-dev, libcupsys2-dev, librsvg2-dev, libgtk2.0-dev, libgnomeui-dev
-
 cp debian/shlibs.local debian/shlibs.local.backup
 rm -f debian/shlibs.local.new
 
 # libs that don't ship shlibs
-echo "libMonoPosixHelper 0 libmono0 (>= $UPVERSION)"	>> debian/shlibs.local.new
-echo "libgdiplus 0 libgdiplus (>= $UPVERSION)"		>> debian/shlibs.local.new
-echo "libgluezilla 0 libgluezilla (>= $UPVERSION)"	>> debian/shlibs.local.new
+echo "libMonoPosixHelper 0 libmono0 (>= $MAJOR_MINOR_UPVERSION)"	>> debian/shlibs.local.new
+echo "libgdiplus 0 libgdiplus (>= $MAJOR_MINOR_UPVERSION)"		>> debian/shlibs.local.new
+echo "libgluezilla 0 libgluezilla (>= $MAJOR_MINOR_UPVERSION)"		>> debian/shlibs.local.new
 
-grep --no-filename "^libcairo 2"	/var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve libcairo"
-grep --no-filename "^libfbclient 2"	/var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve libfbclient"
-grep --no-filename "^libsqlite 0"	/var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve libsqlite"
-grep --no-filename "^libsqlite3 0"	/var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve libsqlite3"
-grep --no-filename "^libasound 2"	/var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve libasound"
-grep --no-filename "^libgda-2 3"	/var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve libgda-2"
+for SONAME in \
+	"^libcairo 2" \
+	"^libfbclient 2" \
+	"^libsqlite 0" \
+	"^libsqlite3 0" \
+	"^libasound 2" \
+	"^libgda-2 3" \
+	"^libgamin-1 0" \
+	"^libcups 2" \
+	"^librsvg-2 2" \
+	"^libgtk-x11-2.0 0" \
+	"^libgnomeui-2 0" \
+	; do
+	grep --no-filename "$SONAME" /var/lib/dpkg/info/*.shlibs >> debian/shlibs.local.new || echo "ERROR: could not resolve $SONAME"
+done
 
 cp debian/shlibs.local.new debian/shlibs.local
 




More information about the Pkg-mono-svn-commits mailing list