[gl2ps] 12/15: Do not install extra license files.

Anton Gladky gladk at moszumanska.debian.org
Thu May 19 20:47:31 UTC 2016


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

gladk pushed a commit to branch master
in repository gl2ps.

commit 53746fc6cd401625b9ed4291ca3f5edb05d0a38a
Author: Anton Gladky <gladk at debian.org>
Date:   Thu May 19 22:27:57 2016 +0200

    Do not install extra license files.
---
 debian/patches/2000_FixTestLinkage.patch | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/debian/patches/2000_FixTestLinkage.patch b/debian/patches/2000_FixTestLinkage.patch
index b059deb..e39effb 100644
--- a/debian/patches/2000_FixTestLinkage.patch
+++ b/debian/patches/2000_FixTestLinkage.patch
@@ -2,10 +2,10 @@ Description: fix linkage of test-binaries
 Author: Anton Gladky <gladk at debian.org>
 Last-Update: 2016-05-19
 
-Index: gl2ps-1.3.8-source/CMakeLists.txt
+Index: gl2ps/CMakeLists.txt
 ===================================================================
---- gl2ps-1.3.8-source.orig/CMakeLists.txt
-+++ gl2ps-1.3.8-source/CMakeLists.txt
+--- gl2ps.orig/CMakeLists.txt
++++ gl2ps/CMakeLists.txt
 @@ -55,6 +55,8 @@ set(GL2PS_EXTRA_VERSION "" CACHE STRING
  set(GL2PS_VERSION "${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}")
  set(GL2PS_VERSION "${GL2PS_VERSION}.${GL2PS_PATCH_VERSION}${GL2PS_EXTRA_VERSION}")
@@ -15,6 +15,15 @@ Index: gl2ps-1.3.8-source/CMakeLists.txt
  execute_process(COMMAND date "+%Y%m%d" OUTPUT_VARIABLE DATE 
                  OUTPUT_STRIP_TRAILING_WHITESPACE)
  if(NOT DATE)
+@@ -113,7 +115,7 @@ if(OPENGL_FOUND)
+   set_target_properties(lib PROPERTIES OUTPUT_NAME gl2ps)
+ 
+   add_library(shared SHARED gl2ps.c gl2ps.h)
+-  target_link_libraries(shared ${EXTERNAL_LIBRARIES})
++  target_link_libraries(shared ${EXTERNAL_LLICIBRARIES})
+   set_target_properties(shared PROPERTIES OUTPUT_NAME gl2ps)
+   set_target_properties(shared PROPERTIES
+                         VERSION ${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}.${GL2PS_PATCH_VERSION}
 @@ -122,7 +124,7 @@ if(OPENGL_FOUND)
      set_target_properties(shared PROPERTIES COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS")
    endif(MSVC)
@@ -24,7 +33,14 @@ Index: gl2ps-1.3.8-source/CMakeLists.txt
  endif(OPENGL_FOUND)
  
  if(WIN32)
-@@ -140,9 +142,9 @@ install(FILES ${CMAKE_SOURCE_DIR}/gl2psT
+@@ -133,16 +135,14 @@ endif(WIN32)
+ 
+ install(FILES gl2ps.h DESTINATION include)
+ install(FILES ${CMAKE_SOURCE_DIR}/README.txt DESTINATION ${GL2PS_DOC})
+-install(FILES ${CMAKE_SOURCE_DIR}/COPYING.LGPL DESTINATION ${GL2PS_DOC})
+-install(FILES ${CMAKE_SOURCE_DIR}/COPYING.GL2PS DESTINATION ${GL2PS_DOC})
+ install(FILES ${CMAKE_SOURCE_DIR}/gl2psTest.c DESTINATION ${GL2PS_DOC})
+ install(FILES ${CMAKE_SOURCE_DIR}/gl2psTestSimple.c DESTINATION ${GL2PS_DOC})
  
  if(GLUT_FOUND)
    add_executable(gl2psTest WIN32 gl2psTest.c)

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



More information about the debian-science-commits mailing list