[SCM] libzen/master: Re-add missing cmake files in a patch

hyperair at users.alioth.debian.org hyperair at users.alioth.debian.org
Sun Apr 19 17:51:23 UTC 2015


The following commit has been merged in the master branch:
commit 8b3e3900af51aa927c979f568378d5e34862718f
Author: Chow Loong Jin <hyperair at debian.org>
Date:   Fri Jan 9 13:40:42 2015 +0800

    Re-add missing cmake files in a patch
    
    Thanks: Ivan Romanov

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..064f68b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+zenlib-missed-cmake-files.patch
diff --git a/debian/patches/zenlib-missed-cmake-files.patch b/debian/patches/zenlib-missed-cmake-files.patch
new file mode 100644
index 0000000..7747eaf
--- /dev/null
+++ b/debian/patches/zenlib-missed-cmake-files.patch
@@ -0,0 +1,53 @@
+diff --git a/Project/CMake/ZenLibConfig.cmake.in b/Project/CMake/ZenLibConfig.cmake.in
+new file mode 100644
+index 0000000..cb885f0
+--- /dev/null
++++ b/Project/CMake/ZenLibConfig.cmake.in
+@@ -0,0 +1,7 @@
++ at PACKAGE_INIT@
++
++if(NOT TARGET zen)
++  include(${CMAKE_CURRENT_LIST_DIR}/ZenLibTargets.cmake)
++endif()
++
++set(ZenLib_LIBRARY zen)
+diff --git a/Project/CMake/cmake_uninstall.cmake.in b/Project/CMake/cmake_uninstall.cmake.in
+new file mode 100644
+index 0000000..cdbfcb9
+--- /dev/null
++++ b/Project/CMake/cmake_uninstall.cmake.in
+@@ -0,0 +1,17 @@
++if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
++  message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
++endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
++
++file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
++string(REGEX REPLACE "\n" ";" files "${files}")
++foreach(file ${files})
++  message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
++  exec_program(
++    "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
++    OUTPUT_VARIABLE rm_out
++    RETURN_VALUE rm_retval
++    )
++  if(NOT "${rm_retval}" STREQUAL 0)
++    message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
++  endif(NOT "${rm_retval}" STREQUAL 0)
++endforeach(file)
+diff --git a/Project/CMake/libzen.pc.in b/Project/CMake/libzen.pc.in
+new file mode 100644
+index 0000000..908c163
+--- /dev/null
++++ b/Project/CMake/libzen.pc.in
+@@ -0,0 +1,11 @@
++prefix=@CMAKE_INSTALL_PREFIX@
++exec_prefix=${prefix}
++libdir=@LIB_INSTALL_DIR@
++includedir=@INCLUDE_INSTALL_DIR@
++
++Name: libzen
++Version: @ZenLib_VERSION_STRING@
++Description: ZenLib
++Libs: -L${libdir} -lzen -lpthread -lstdc++
++Cflags: -I${includedir} @ZenLib_CXXFLAGS@
++Requires: zlib

-- 
libzen packaging



More information about the pkg-multimedia-commits mailing list