tags 562259 patch
thanks

A fix for this bug (and some others) has been attached and uploaded to
the DELAYED queue.
reverted:
--- libkarma-0.0.6/patch
+++ libkarma-0.0.6.orig/patch
@@ -1,25 +0,0 @@
-diff -u libkarma-0.0.6/debian/control libkarma-0.0.6/debian/control
---- libkarma-0.0.6/debian/control
-+++ libkarma-0.0.6/debian/control
-@@ -2,7 +2,7 @@
- Priority: extra
- Maintainer: Joe Nahmias <je...@debian.org>
- Build-Depends: debhelper (>= 6), dpatch, zlib1g-dev, libtagc0-dev, libusb-dev
--Build-Depends-Indep: cli-common-dev (>= 0.4.4), mono-gmcs (>= 1.0) | 
c-sharp-2.0-compiler, libmono2.0-cil
-+Build-Depends-Indep: cli-common-dev (>= 0.4.4), mono-devel | 
c-sharp-2.0-compiler, libmono2.0-cil
- Standards-Version: 3.8.0
- Section: libs
- Homepage: http://www.freakysoft.de/html/libkarma/
-diff -u libkarma-0.0.6/debian/rules libkarma-0.0.6/debian/rules
---- libkarma-0.0.6/debian/rules
-+++ libkarma-0.0.6/debian/rules
-@@ -30,7 +30,7 @@
-       touch $@
- build-indep: patch
-       dh_testdir
--      $(MAKE) karma-sharp
-+      $(MAKE) karma-sharp MCS=/usr/bin/csc
-       touch $@
- 
- clean: clean-patched unpatch
-diff -u libkarma-0.0.6/debian/changelog libkarma-0.0.6/debian/changelog
diff -u libkarma-0.0.6/debian/rules libkarma-0.0.6/debian/rules
--- libkarma-0.0.6/debian/rules
+++ libkarma-0.0.6/debian/rules
@@ -30,7 +30,7 @@
        touch $@
 build-indep: patch
        dh_testdir
-       $(MAKE) karma-sharp MCS=/usr/bin/csc
+       $(MAKE) karma-sharp MCS=/usr/bin/mono-csc
        touch $@
 
 clean: clean-patched unpatch
@@ -47,13 +47,13 @@
        dh_testdir
        dh_testroot
        dh_installdirs
-       cd src && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-       cd tools && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+       cd src && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install VERSION=0.0.6
+       cd tools && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install VERSION=0.0.6
 install-indep: build-indep
        dh_testdir
        dh_testroot
        dh_installdirs
-       cd karma-sharp && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+       cd karma-sharp && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install 
VERSION=0.0.6
 
 binary-indep: export DH_OPTIONS := -i
 binary-indep: build-indep install-indep
diff -u libkarma-0.0.6/debian/control libkarma-0.0.6/debian/control
--- libkarma-0.0.6/debian/control
+++ libkarma-0.0.6/debian/control
@@ -1,7 +1,7 @@
 Source: libkarma
 Priority: extra
 Maintainer: Joe Nahmias <je...@debian.org>
-Build-Depends: debhelper (>= 6), dpatch, zlib1g-dev, libtagc0-dev, libusb-dev, 
mono-devel (>= 2.0.1)
+Build-Depends: debhelper (>= 6), dpatch, zlib1g-dev, libtagc0-dev, libusb-dev, 
mono-devel (>= 2.4.2.3)
 Build-Depends-Indep: cli-common-dev (>= 0.4.4), libmono2.0-cil (>= 2.0.1)
 Standards-Version: 3.8.0
 Section: libs
@@ -64,0 +65,12 @@
+Package: libkarma-cil-dev
+Section: libs
+Architecture: all
+Depends: libkarma-cil (= ${binary:Version}), ${misc:Depends}
+Replaces: libkarma-cil (<< 0.0.6-4.3)
+Description: Rio Karma access library [CLI library development files]
+ Also known as karma-sharp, this is a CLI library (.dll) that
+ provides (read/write) access to the Rio Karma music player using
+ either the usb (with OMFS) or network (PEARL) interface.
+ .
+ This package contains development files for the karma-sharp library used for
+ compilation.
diff -u libkarma-0.0.6/debian/libkarma-cil.install 
libkarma-0.0.6/debian/libkarma-cil.install
--- libkarma-0.0.6/debian/libkarma-cil.install
+++ libkarma-0.0.6/debian/libkarma-cil.install
@@ -2 +1,0 @@
-usr/lib/pkgconfig/*
diff -u libkarma-0.0.6/debian/changelog libkarma-0.0.6/debian/changelog
--- libkarma-0.0.6/debian/changelog
+++ libkarma-0.0.6/debian/changelog
@@ -1,3 +1,16 @@
+libkarma (0.0.6-4.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/control:
+    + Bump mono-devel version to 2.4.2.3 for mono-csc
+    + Create -cil-dev package containing pcfiles
+  * debian/rules:
+    + Use MCS=/usr/bin/mono-csc instead of /usr/bin/csc (Closes: #562259)
+    + Add VERSION=0.0.6 to karma-sharp $(MAKE) invocations to ensure
+      Version: field of .pc file is populated (Closes: #551049)
+
+ -- Chow Loong Jin <hyper...@ubuntu.com>  Thu, 21 Jan 2010 19:31:18 +0800
+
 libkarma (0.0.6-4.2) unstable; urgency=low
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- libkarma-0.0.6.orig/debian/libkarma-cil-dev.install
+++ libkarma-0.0.6/debian/libkarma-cil-dev.install
@@ -0,0 +1 @@
+usr/lib/pkgconfig/*

Reply via email to