r35212 - in /packages/kwwidgets/trunk/debian/patches: 12_path.dpatch 35_tcl.dpatch 66_soname.dpatch
domibel-guest at users.alioth.debian.org
domibel-guest at users.alioth.debian.org
Sat Sep 13 10:17:36 UTC 2008
Author: domibel-guest
Date: Sat Sep 13 10:17:35 2008
New Revision: 35212
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35212
Log:
patches added
Added:
packages/kwwidgets/trunk/debian/patches/12_path.dpatch (with props)
packages/kwwidgets/trunk/debian/patches/35_tcl.dpatch (with props)
packages/kwwidgets/trunk/debian/patches/66_soname.dpatch (with props)
Added: packages/kwwidgets/trunk/debian/patches/12_path.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/kwwidgets/trunk/debian/patches/12_path.dpatch?rev=35212&op=file
==============================================================================
--- packages/kwwidgets/trunk/debian/patches/12_path.dpatch (added)
+++ packages/kwwidgets/trunk/debian/patches/12_path.dpatch Sat Sep 13 10:17:35 2008
@@ -1,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 12_path.dpatch by <domibel at sid1500>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Install libraries to /usr/lib/
+
+ at DPATCH@
+diff -urNad kwwidgets-1.0.0~/CMakeLists.txt kwwidgets-1.0.0/CMakeLists.txt
+--- kwwidgets-1.0.0~/CMakeLists.txt 2008-07-01 20:43:48.000000000 +0200
++++ kwwidgets-1.0.0/CMakeLists.txt 2008-09-04 23:01:10.000000000 +0200
+@@ -107,7 +107,7 @@
+ endif(NOT KWWidgets_INSTALL_BIN_DIR)
+
+ if(NOT KWWidgets_INSTALL_LIB_DIR)
+- set(KWWidgets_INSTALL_LIB_DIR "/lib/${PROJECT_NAME}")
++ set(KWWidgets_INSTALL_LIB_DIR "/lib")
+ endif(NOT KWWidgets_INSTALL_LIB_DIR)
+
+ if(NOT KWWidgets_INSTALL_DATA_DIR)
+@@ -120,7 +120,7 @@
+ endif(NOT KWWidgets_INSTALL_INCLUDE_DIR)
+
+ if(NOT KWWidgets_INSTALL_PACKAGE_DIR)
+- set(KWWidgets_INSTALL_PACKAGE_DIR ${KWWidgets_INSTALL_LIB_DIR}
++ set(KWWidgets_INSTALL_PACKAGE_DIR "/lib/${PROJECT_NAME}"
+ CACHE INTERNAL "")
+ endif(NOT KWWidgets_INSTALL_PACKAGE_DIR)
+
Propchange: packages/kwwidgets/trunk/debian/patches/12_path.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: packages/kwwidgets/trunk/debian/patches/35_tcl.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/kwwidgets/trunk/debian/patches/35_tcl.dpatch?rev=35212&op=file
==============================================================================
--- packages/kwwidgets/trunk/debian/patches/35_tcl.dpatch (added)
+++ packages/kwwidgets/trunk/debian/patches/35_tcl.dpatch Sat Sep 13 10:17:35 2008
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 35_tcl.dpatch by <domibel at sid1500>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Chane tcl path
+
+ at DPATCH@
+diff -urNad kwwidgets-1.0.0~/Wrapping/Tcl/CMakeLists.txt kwwidgets-1.0.0/Wrapping/Tcl/CMakeLists.txt
+--- kwwidgets-1.0.0~/Wrapping/Tcl/CMakeLists.txt 2008-04-30 17:23:40.000000000 +0200
++++ kwwidgets-1.0.0/Wrapping/Tcl/CMakeLists.txt 2008-09-04 23:49:37.000000000 +0200
+@@ -47,7 +47,7 @@
+ ${KWWidgets_BINARY_DIR}/Wrapping/Tcl/Install/Hide/pkgIndex.tcl
+ @ONLY IMMEDIATE)
+ if(NOT KWWidgets_INSTALL_NO_RUNTIME)
+- install_files(${KWWidgets_INSTALL_LIB_DIR}/tcl FILES
++ install_files(${KWWidgets_INSTALL_LIB_DIR}/KWWidgets/tcl FILES
+ ${KWWidgets_BINARY_DIR}/Wrapping/Tcl/Install/Hide/pkgIndex.tcl)
+ endif(NOT KWWidgets_INSTALL_NO_RUNTIME)
+
Propchange: packages/kwwidgets/trunk/debian/patches/35_tcl.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: packages/kwwidgets/trunk/debian/patches/66_soname.dpatch
URL: http://svn.debian.org/wsvn/debian-science/packages/kwwidgets/trunk/debian/patches/66_soname.dpatch?rev=35212&op=file
==============================================================================
--- packages/kwwidgets/trunk/debian/patches/66_soname.dpatch (added)
+++ packages/kwwidgets/trunk/debian/patches/66_soname.dpatch Sat Sep 13 10:17:35 2008
@@ -1,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 66_soname.dpatch by <domibel at sid1500>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Sets the SONAME
+
+ at DPATCH@
+diff -urNad kwwidgets-1.0.0~/CMakeLists.txt kwwidgets-1.0.0/CMakeLists.txt
+--- kwwidgets-1.0.0~/CMakeLists.txt 2008-09-04 23:14:37.000000000 +0200
++++ kwwidgets-1.0.0/CMakeLists.txt 2008-09-04 23:15:37.000000000 +0200
+@@ -865,3 +865,17 @@
+ if(KWWidgets_NEED_TO_BUILD_EXAMPLES)
+ subdirs(Examples)
+ endif(KWWidgets_NEED_TO_BUILD_EXAMPLES)
++
++
++IF (NOT DEFINED KWWidgets_SHAREDLIB_VERSION)
++ SET ( KWWidgets_SHAREDLIB_VERSION ${KWWidgets_VERSION} )
++ STRING ( REGEX MATCH "^[0-9]+" KWWidgets_SHAREDLIB_SOVERSION ${KWWidgets_SHAREDLIB_VERSION})
++ENDIF (NOT DEFINED KWWidgets_SHAREDLIB_VERSION)
++
++
++IF(KWWidgets_BUILD_SHARED_LIBS)
++ SET_TARGET_PROPERTIES(KWWidgetsPythonD KWWidgets PROPERTIES
++ SOVERSION ${KWWidgets_SHAREDLIB_SOVERSION}
++ VERSION ${KWWidgets_SHAREDLIB_VERSION}
++ )
++ENDIF (KWWidgets_BUILD_SHARED_LIBS)
Propchange: packages/kwwidgets/trunk/debian/patches/66_soname.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the debian-science-commits
mailing list