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

Eduard Bloch blade@haydn.debian.org
Sun, 06 Jun 2004 17:08:33 -0600


Author: blade
Date: 2004-06-06 17:08:23 -0600 (Sun, 06 Jun 2004)
New Revision: 902

Modified:
   mono/trunk/debian/changelog
   mono/trunk/debian/control
   mono/trunk/debian/rules
Log:
Lib version trough version provides


Modified: mono/trunk/debian/changelog
===================================================================
--- mono/trunk/debian/changelog	2004-06-06 22:50:04 UTC (rev 901)
+++ mono/trunk/debian/changelog	2004-06-06 23:08:23 UTC (rev 902)
@@ -1,12 +1,16 @@
-mono (0.95-0pre1) unstable; urgency=low
+mono (0.95-0pre1v1) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * (NOT RELEASED YET) New upstream release
+  * Eduard Bloch
+    + setting virtual ".shlibs" via provides, currently libmono-0.95
   * Mirco 'meebey' Bauer
     + New upstream release
     + enabled preview features (.NET 1.2 / gmcs)
     + disabled explicit icu support
+  * FIXME: enable ICU when the lib packages are accepted, add build-deps
+    hm... does mono really link directly with libicu*?
 
- -- Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>  Wed, 02 Jun 2004 18:39:16 +0200
+ --  Mono Group <pkg-mono-group@lists.alioth.debian.org>  Mon,  7 Jun 2004 00:54:51 +0200
 
 mono (0.91-1) unstable; urgency=low
 

Modified: mono/trunk/debian/control
===================================================================
--- mono/trunk/debian/control	2004-06-06 22:50:04 UTC (rev 901)
+++ mono/trunk/debian/control	2004-06-06 23:08:23 UTC (rev 902)
@@ -84,6 +84,7 @@
 Architecture: i386 powerpc s390
 Depends: ${shlibs:Depends}
 Conflicts: libmint0
+Provides: libmono-${mono:upversion}
 Description: libraries for the Mono interpreter
  Shared libraries for Mono, used for embedding/hosting of the
  JIT. The package also contains libmono-profiler-cov used for

Modified: mono/trunk/debian/rules
===================================================================
--- mono/trunk/debian/rules	2004-06-06 22:50:04 UTC (rev 901)
+++ mono/trunk/debian/rules	2004-06-06 23:08:23 UTC (rev 902)
@@ -12,6 +12,7 @@
 
 # include /usr/share/dpatch/dpatch.make
 VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
+UPVERSION = $(shell echo $(VERSION) | sed 's,-.*,,')
 
 cli-wrapper: debian/cli-wrapper.c
 	$(CC) -o cli-wrapper debian/cli-wrapper.c `pkg-config glib-2.0 --cflags --libs`
@@ -112,7 +113,8 @@
 	dh_strip -s
 	dh_compress -s
 	dh_fixperms -s
-	if test -d debian/libmono0 ; then dh_makeshlibs -plibmono0 -V 'libmono0 (= $(VERSION))' ;fi
+	echo "mono:upversion=$(UPVERSION)" >> $(CURDIR)/debian/libmono0.substvars
+	if test -d debian/libmono0 ; then dh_makeshlibs -plibmono0 -V 'libmono-$(UPVERSION)' ;fi
 	#dh_makeshlibs -plibmint0 -V 'libmint0 (= $(VERSION))'
 	dh_installdeb -s
 	dh_shlibdeps -s -Xlibmono-profiler-cov