[graywolf] 01/03: Soname for library

Ruben Undheim rubund-guest at moszumanska.debian.org
Sun Jun 21 10:17:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository graywolf.

commit d426d49e79cb6738fed8c07bf23a933913074b0c
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sun Jun 21 12:03:14 2015 +0200

    Soname for library
---
 debian/patches/name_of_lib.patch | 122 +++++++++++++++++++++++++++++++++++++++
 debian/patches/series            |   2 +
 debian/patches/soname.patch      |  37 ++++++++++++
 3 files changed, 161 insertions(+)

diff --git a/debian/patches/name_of_lib.patch b/debian/patches/name_of_lib.patch
new file mode 100644
index 0000000..7b9cce6
--- /dev/null
+++ b/debian/patches/name_of_lib.patch
@@ -0,0 +1,122 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ graywolf (0.1.0-1) UNRELEASED; urgency=low
+ .
+   * Initial release (Closes: #789467)
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+Bug-Debian: https://bugs.debian.org/789467
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+Index: debian-graywolf/src/Ylib/CMakeLists.txt
+===================================================================
+--- debian-graywolf.orig/src/Ylib/CMakeLists.txt
++++ debian-graywolf/src/Ylib/CMakeLists.txt
+@@ -3,10 +3,10 @@
+ #add_executable(mincut main.c output.c readcells.c ${CMAKE_SOURCE_DIR}/src/date/date.c)
+ 
+ 
+-add_library(ycadgraywolf.sys SHARED assign.c buster.c cleanup.c colors.c deck.c dialog.c draw.c dset.c edcolors.c file.c getftime.c graph.c grid.c hash.c heap.c list.c log.c matrix.c menus.c message.c mst.c mytime.c okmalloc.c path.c plot.c program.c project.c queue.c quicksort.c radixsort.c rand.c rbtree.c relpath.c set.c stat.c stats.c string.c svd.c system.c time.c timer.c trans.c wgraphics.c ydebug.c yreadpar.c )
++add_library(ycadgraywolf SHARED assign.c buster.c cleanup.c colors.c deck.c dialog.c draw.c dset.c edcolors.c file.c getftime.c graph.c grid.c hash.c heap.c list.c log.c matrix.c menus.c message.c mst.c mytime.c okmalloc.c path.c plot.c program.c project.c queue.c quicksort.c radixsort.c rand.c rbtree.c relpath.c set.c stat.c stats.c string.c svd.c system.c time.c timer.c trans.c wgraphics.c ydebug.c yreadpar.c )
+ 
+-set_target_properties(ycadgraywolf.sys PROPERTIES VERSION 0.0.0 SOVERSION 0)
++set_target_properties(ycadgraywolf PROPERTIES VERSION 0.0.0 SOVERSION 0)
+ 
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
+ 
+-install(TARGETS ycadgraywolf.sys DESTINATION lib)
++install(TARGETS ycadgraywolf DESTINATION lib)
+Index: debian-graywolf/src/genrows/CMakeLists.txt
+===================================================================
+--- debian-graywolf.orig/src/genrows/CMakeLists.txt
++++ debian-graywolf/src/genrows/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ 
+ add_executable(genrows draw.c genrows.c main.c merge.c readpar.c ${CMAKE_SOURCE_DIR}/src/date/date.c)
+ 
+-target_link_libraries(genrows ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.sys.so)
++target_link_libraries(genrows ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.so)
+ target_link_libraries(genrows X11)
+ target_link_libraries(genrows m)
+ 
+Index: debian-graywolf/src/syntax/CMakeLists.txt
+===================================================================
+--- debian-graywolf.orig/src/syntax/CMakeLists.txt
++++ debian-graywolf/src/syntax/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ 
+ add_executable(syntax main.c output.c readcells.c ${CMAKE_SOURCE_DIR}/src/date/date.c)
+ 
+-target_link_libraries(syntax ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.sys.so)
++target_link_libraries(syntax ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.so)
+ target_link_libraries(syntax X11)
+ target_link_libraries(syntax m)
+ 
+Index: debian-graywolf/src/twflow/CMakeLists.txt
+===================================================================
+--- debian-graywolf.orig/src/twflow/CMakeLists.txt
++++ debian-graywolf/src/twflow/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ 
+ add_executable(graywolf autoflow.c findflow.c graphics.c io.c main.c program.c readobjects.c ${CMAKE_SOURCE_DIR}/src/date/date.c)
+ 
+-target_link_libraries(graywolf ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.sys.so)
++target_link_libraries(graywolf ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.so)
+ target_link_libraries(graywolf X11)
+ target_link_libraries(graywolf m)
+ 
+Index: debian-graywolf/src/twmc/CMakeLists.txt
+===================================================================
+--- debian-graywolf.orig/src/twmc/CMakeLists.txt
++++ debian-graywolf/src/twmc/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ 
+ add_executable(TimberWolfMC acceptt.c analyze.c compact.c config1.c config2.c configpads.c debug.c finalout.c finalpin.c gmain.c findcheck.c findcost.c findloc.c findside.c fixcell.c genorient.c graphics.c initialize.c initnets.c loadbins.c main.c makebins.c makesite.c mergecell.c neworient.c newtemp.c outgeo.c outpin.c output.c overlap.c paths.c partition.c penalties.c perimeter.c placepads.c placepin.c prboard.c readcells.c readnets.c rmain.c readpar.c reconfig.c savewolf.c scrapnet.c [...]
+ 
+-target_link_libraries(TimberWolfMC ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.sys.so)
++target_link_libraries(TimberWolfMC ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.so)
+ target_link_libraries(TimberWolfMC X11)
+ target_link_libraries(TimberWolfMC m)
+ 
+Index: debian-graywolf/src/twsc/CMakeLists.txt
+===================================================================
+--- debian-graywolf.orig/src/twsc/CMakeLists.txt
++++ debian-graywolf/src/twsc/CMakeLists.txt
+@@ -3,7 +3,7 @@
+ 
+ add_executable(TimberWolfSC acceptt.c     coarseglb.c   debug2.c    findcostf.c  globroute.c  newtemp.c   overlap.c    readcell.c   rowevener.c  sortpin.c  ucxxo1.c  upair.c buildimp.c    configpads.c  debug.c     findrcost.c  graphics.c   outcm.c     parser.c     readnets.c   savewolf.c   steiner.c  ucxxo2.c  urcost.c cell_width.c  configure.c   dimbox.c    findunlap.c  main.c       outpins1.c  paths.c      readpar.c    seagate.c    uc0.c      ucxxp.c   utemp.c cglbroute.c   countf.c   [...]
+ 
+-target_link_libraries(TimberWolfSC ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.sys.so)
++target_link_libraries(TimberWolfSC ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.so)
+ target_link_libraries(TimberWolfSC X11)
+ target_link_libraries(TimberWolfSC m)
+ 
+Index: debian-graywolf/src/mincut/CMakeLists.txt
+===================================================================
+--- debian-graywolf.orig/src/mincut/CMakeLists.txt
++++ debian-graywolf/src/mincut/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ 
+ add_executable(Mincut main.c output.c readcells.c ${CMAKE_SOURCE_DIR}/src/date/date.c)
+ 
+-target_link_libraries(Mincut ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.sys.so)
++target_link_libraries(Mincut ${CMAKE_BINARY_DIR}/src/Ylib/libycadgraywolf.so)
+ target_link_libraries(Mincut X11)
+ target_link_libraries(Mincut m)
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 099357b..d1bb70e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,3 @@
 01_no_rpath_in_debian_package.patch
+soname.patch
+name_of_lib.patch
diff --git a/debian/patches/soname.patch b/debian/patches/soname.patch
new file mode 100644
index 0000000..ac7c849
--- /dev/null
+++ b/debian/patches/soname.patch
@@ -0,0 +1,37 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ graywolf (0.1.0-1) UNRELEASED; urgency=low
+ .
+   * Initial release (Closes: #789467)
+Author: Ruben Undheim <ruben.undheim at gmail.com>
+Bug-Debian: https://bugs.debian.org/789467
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- graywolf-0.1.0.orig/src/Ylib/CMakeLists.txt
++++ graywolf-0.1.0/src/Ylib/CMakeLists.txt
+@@ -5,6 +5,8 @@
+ 
+ add_library(ycadgraywolf.sys SHARED assign.c buster.c cleanup.c colors.c deck.c dialog.c draw.c dset.c edcolors.c file.c getftime.c graph.c grid.c hash.c heap.c list.c log.c matrix.c menus.c message.c mst.c mytime.c okmalloc.c path.c plot.c program.c project.c queue.c quicksort.c radixsort.c rand.c rbtree.c relpath.c set.c stat.c stats.c string.c svd.c system.c time.c timer.c trans.c wgraphics.c ydebug.c yreadpar.c )
+ 
++set_target_properties(ycadgraywolf.sys PROPERTIES VERSION 0.0.0 SOVERSION 0)
++
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
+ 
+ install(TARGETS ycadgraywolf.sys DESTINATION lib)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/graywolf.git



More information about the debian-science-commits mailing list