Control: tags -1 + pending

Dear maintainer,

I've prepared an NMU for libcec (versioned as 1.6.2-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
-- 
Sebastian Ramacher
diff -Nru libcec-1.6.2/debian/changelog libcec-1.6.2/debian/changelog
--- libcec-1.6.2/debian/changelog	2012-05-03 04:35:31.000000000 +0200
+++ libcec-1.6.2/debian/changelog	2012-12-21 20:47:16.000000000 +0100
@@ -1,3 +1,12 @@
+libcec (1.6.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/695702.patch: Backport patch from upstream to load
+    libcec.so.1 instead of libcec.so. Thanks to Andrey Rahmatullin for
+    finding the patch in the upstream repository. (Closes: #695702)
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Fri, 21 Dec 2012 20:47:14 +0100
+
 libcec (1.6.2-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru libcec-1.6.2/debian/patches/695702.patch libcec-1.6.2/debian/patches/695702.patch
--- libcec-1.6.2/debian/patches/695702.patch	1970-01-01 01:00:00.000000000 +0100
+++ libcec-1.6.2/debian/patches/695702.patch	2012-12-21 20:47:12.000000000 +0100
@@ -0,0 +1,72 @@
+Description: open libcec.so.1 instead of libcec.so
+Origin: upstream, https://github.com/Pulse-Eight/libcec/commit/a71897f4
+Last-Modified: 2012-12-21
+Bug-Debian: http://bugs.debian.org/695702
+Bug: https://github.com/Pulse-Eight/libcec/issues/30
+
+--- a/include/cecloader.h
++++ b/include/cecloader.h
+@@ -159,15 +159,11 @@
+ #if defined(__APPLE__)
+     g_libCEC = dlopen(strLib ? strLib : "libcec.dylib", RTLD_LAZY);
+ #else
+-    g_libCEC = dlopen(strLib ? strLib : "libcec.so", RTLD_LAZY);
++    g_libCEC = dlopen(strLib ? strLib : "libcec.so." CEC_LIB_VERSION_MAJOR_STR, RTLD_LAZY);
+ #endif
+     if (!g_libCEC)
+     {
+-#if defined(__APPLE__)
+-      cout << "cannot find " << (strLib ? strLib : "libcec.dylib") << dlerror() << endl;
+-#else
+-      cout << "cannot find " << (strLib ? strLib : "libcec.so") << dlerror() << endl;
+-#endif
++      cout << dlerror() << endl;
+       return NULL;
+     }
+   }
+@@ -196,15 +192,11 @@
+ #if defined(__APPLE__)
+     g_libCEC = dlopen(strLib ? strLib : "libcec.dylib", RTLD_LAZY);
+ #else
+-    g_libCEC = dlopen(strLib ? strLib : "libcec.so", RTLD_LAZY);
++    g_libCEC = dlopen(strLib ? strLib : "libcec.so." CEC_LIB_VERSION_MAJOR_STR, RTLD_LAZY);
+ #endif
+     if (!g_libCEC)
+     {
+-#if defined(__APPLE__)
+-      cout << "cannot find " << (strLib ? strLib : "libcec.dylib") << dlerror() << endl;
+-#else
+-      cout << "cannot find " << (strLib ? strLib : "libcec.so") << dlerror() << endl;
+-#endif
++      cout << dlerror() << endl;
+       return NULL;
+     }
+   }
+@@ -246,15 +238,11 @@
+ #if defined(__APPLE__)
+     g_libCEC = dlopen(strLib ? strLib : "libcec.dylib", RTLD_LAZY);
+ #else
+-    g_libCEC = dlopen(strLib ? strLib : "libcec.so", RTLD_LAZY);
++    g_libCEC = dlopen(strLib ? strLib : "libcec.so." CEC_LIB_VERSION_MAJOR_STR, RTLD_LAZY);
+ #endif
+     if (!g_libCEC)
+     {
+-#if defined(__APPLE__)
+-      cout << "cannot find " << (strLib ? strLib : "libcec.dylib") << dlerror() << endl;
+-#else
+-      cout << "cannot find " << (strLib ? strLib : "libcec.so") << dlerror() << endl;
+-#endif
++      cout << dlerror() << endl;
+       return NULL;
+     }
+   }
+--- a/include/cectypes.h
++++ b/include/cectypes.h
+@@ -112,6 +112,7 @@
+ 
+ #define CEC_MIN_LIB_VERSION          1
+ #define CEC_LIB_VERSION_MAJOR        1
++#define CEC_LIB_VERSION_MAJOR_STR    "1"
+ #define CEC_LIB_VERSION_MINOR        6
+ 
+ typedef enum cec_abort_reason
diff -Nru libcec-1.6.2/debian/patches/series libcec-1.6.2/debian/patches/series
--- libcec-1.6.2/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ libcec-1.6.2/debian/patches/series	2012-12-21 00:23:35.000000000 +0100
@@ -0,0 +1 @@
+695702.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to