diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-libs/gl2ps/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-libs/gl2ps/files')
-rw-r--r-- | x11-libs/gl2ps/files/gl2ps-1.3.6-CMakeLists.patch | 61 | ||||
-rw-r--r-- | x11-libs/gl2ps/files/gl2ps-1.3.7-cmake.patch | 74 | ||||
-rw-r--r-- | x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch | 74 |
3 files changed, 209 insertions, 0 deletions
diff --git a/x11-libs/gl2ps/files/gl2ps-1.3.6-CMakeLists.patch b/x11-libs/gl2ps/files/gl2ps-1.3.6-CMakeLists.patch new file mode 100644 index 000000000000..53e0fba7e493 --- /dev/null +++ b/x11-libs/gl2ps/files/gl2ps-1.3.6-CMakeLists.patch @@ -0,0 +1,61 @@ +--- CMakeLists.txt.orig 2011-08-14 18:15:31.000000000 +0100 ++++ CMakeLists.txt 2011-11-27 05:25:50.000000000 +0000 +@@ -46,6 +46,7 @@ + + option(ENABLE_ZLIB "Enable compression using ZLIB" ON) + option(ENABLE_PNG "Enable PNG support" ON) ++option(ENABLE_DOC "Enable documentation" OFF) + + set(GL2PS_MAJOR_VERSION 1) + set(GL2PS_MINOR_VERSION 3) +@@ -103,8 +104,6 @@ + include_directories(${EXTERNAL_INCLUDES}) + + if(OPENGL_FOUND) +- add_library(lib STATIC gl2ps.c gl2ps.h) +- set_target_properties(lib PROPERTIES OUTPUT_NAME gl2ps) + + add_library(shared SHARED gl2ps.c gl2ps.h) + target_link_libraries(shared ${EXTERNAL_LIBRARIES}) +@@ -116,29 +115,22 @@ + set_target_properties(shared PROPERTIES COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS") + endif(MSVC) + +- install(TARGETS lib shared DESTINATION lib) ++ install(TARGETS shared DESTINATION lib${LIB_SUFFIX}) + endif(OPENGL_FOUND) + + if(WIN32) + set(GL2PS_DOC .) + else(WIN32) +- set(GL2PS_DOC share/doc/gl2ps) ++ set(GL2PS_DOC share/doc/gl2ps-${GL2PS_VERSION}) + 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}/TODO.txt DESTINATION ${GL2PS_DOC}) + install(FILES ${CMAKE_SOURCE_DIR}/gl2psTestSimple.c DESTINATION ${GL2PS_DOC}) + +-if(GLUT_FOUND) +- add_executable(gl2psTest WIN32 gl2psTest.c) +- target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES}) +- add_executable(gl2psTestSimple WIN32 gl2psTestSimple.c) +- target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES}) +-endif(GLUT_FOUND) +- ++if(ENABLE_DOC) + find_package(LATEX) + if(PDFLATEX_COMPILER) + add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex +@@ -157,6 +149,7 @@ + add_custom_target(html DEPENDS gl2ps.html) + endif(TTH) + endif(PDFLATEX_COMPILER) ++endif(ENABLE_DOC) + + set(CPACK_PACKAGE_VENDOR "Christophe Geuzaine") + set(CPACK_PACKAGE_VERSION_MAJOR ${GL2PS_MAJOR_VERSION}) diff --git a/x11-libs/gl2ps/files/gl2ps-1.3.7-cmake.patch b/x11-libs/gl2ps/files/gl2ps-1.3.7-cmake.patch new file mode 100644 index 000000000000..5382b5b3ae73 --- /dev/null +++ b/x11-libs/gl2ps/files/gl2ps-1.3.7-cmake.patch @@ -0,0 +1,74 @@ +From: Sebastien Fabbro <bicatali@gentoo.org> + +Patch to add various enhancements to cmake: +* use GNU standard CMAKE_INSTALL_DOCDIR +* optional documenation building +* optional examples building +* do not install static libraries + +--- CMakeLists.txt 2012-09-02 02:07:33.000000000 -0700 ++++ CMakeLists.txt 2012-09-17 13:51:58.337832078 -0700 +@@ -46,6 +46,8 @@ + + option(ENABLE_ZLIB "Enable compression using ZLIB" ON) + option(ENABLE_PNG "Enable PNG support" ON) ++option(ENABLE_DOC "Enable documentation" OFF) ++option(ENABLE_EXAMPLES "Build and install examples" OFF) + + set(GL2PS_MAJOR_VERSION 1) + set(GL2PS_MINOR_VERSION 3) +@@ -103,8 +105,6 @@ + include_directories(${EXTERNAL_INCLUDES}) + + if(OPENGL_FOUND) +- add_library(lib STATIC gl2ps.c gl2ps.h) +- set_target_properties(lib PROPERTIES OUTPUT_NAME gl2ps) + + add_library(shared SHARED gl2ps.c gl2ps.h) + target_link_libraries(shared ${EXTERNAL_LIBRARIES}) +@@ -116,29 +116,32 @@ + set_target_properties(shared PROPERTIES COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS") + endif(MSVC) + +- install(TARGETS lib shared DESTINATION lib${LIB_SUFFIX}) ++ install(TARGETS shared DESTINATION lib${LIB_SUFFIX}) + endif(OPENGL_FOUND) + + if(WIN32) + set(GL2PS_DOC .) + else(WIN32) +- set(GL2PS_DOC share/doc/gl2ps) ++ set(GL2PS_DOC ${CMAKE_INSTALL_DOCDIR}) + 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}/TODO.txt DESTINATION ${GL2PS_DOC}) ++ ++ ++if(ENABLE_EXAMPLES) + 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) + target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES}) + add_executable(gl2psTestSimple WIN32 gl2psTestSimple.c) + target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES}) + endif(GLUT_FOUND) ++endif(ENABLE_EXAMPLES) + ++if(ENABLE_DOC) + find_package(LATEX) + if(PDFLATEX_COMPILER) + add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex +@@ -157,6 +160,7 @@ + add_custom_target(html DEPENDS gl2ps.html) + endif(TTH) + endif(PDFLATEX_COMPILER) ++endif(ENABLE_DOC) + + set(CPACK_PACKAGE_VENDOR "Christophe Geuzaine") + set(CPACK_PACKAGE_VERSION_MAJOR ${GL2PS_MAJOR_VERSION}) diff --git a/x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch b/x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch new file mode 100644 index 000000000000..5382b5b3ae73 --- /dev/null +++ b/x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch @@ -0,0 +1,74 @@ +From: Sebastien Fabbro <bicatali@gentoo.org> + +Patch to add various enhancements to cmake: +* use GNU standard CMAKE_INSTALL_DOCDIR +* optional documenation building +* optional examples building +* do not install static libraries + +--- CMakeLists.txt 2012-09-02 02:07:33.000000000 -0700 ++++ CMakeLists.txt 2012-09-17 13:51:58.337832078 -0700 +@@ -46,6 +46,8 @@ + + option(ENABLE_ZLIB "Enable compression using ZLIB" ON) + option(ENABLE_PNG "Enable PNG support" ON) ++option(ENABLE_DOC "Enable documentation" OFF) ++option(ENABLE_EXAMPLES "Build and install examples" OFF) + + set(GL2PS_MAJOR_VERSION 1) + set(GL2PS_MINOR_VERSION 3) +@@ -103,8 +105,6 @@ + include_directories(${EXTERNAL_INCLUDES}) + + if(OPENGL_FOUND) +- add_library(lib STATIC gl2ps.c gl2ps.h) +- set_target_properties(lib PROPERTIES OUTPUT_NAME gl2ps) + + add_library(shared SHARED gl2ps.c gl2ps.h) + target_link_libraries(shared ${EXTERNAL_LIBRARIES}) +@@ -116,29 +116,32 @@ + set_target_properties(shared PROPERTIES COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS") + endif(MSVC) + +- install(TARGETS lib shared DESTINATION lib${LIB_SUFFIX}) ++ install(TARGETS shared DESTINATION lib${LIB_SUFFIX}) + endif(OPENGL_FOUND) + + if(WIN32) + set(GL2PS_DOC .) + else(WIN32) +- set(GL2PS_DOC share/doc/gl2ps) ++ set(GL2PS_DOC ${CMAKE_INSTALL_DOCDIR}) + 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}/TODO.txt DESTINATION ${GL2PS_DOC}) ++ ++ ++if(ENABLE_EXAMPLES) + 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) + target_link_libraries(gl2psTest lib ${EXTERNAL_LIBRARIES}) + add_executable(gl2psTestSimple WIN32 gl2psTestSimple.c) + target_link_libraries(gl2psTestSimple lib ${EXTERNAL_LIBRARIES}) + endif(GLUT_FOUND) ++endif(ENABLE_EXAMPLES) + ++if(ENABLE_DOC) + find_package(LATEX) + if(PDFLATEX_COMPILER) + add_custom_command(OUTPUT gl2ps.pdf DEPENDS gl2ps.tex +@@ -157,6 +160,7 @@ + add_custom_target(html DEPENDS gl2ps.html) + endif(TTH) + endif(PDFLATEX_COMPILER) ++endif(ENABLE_DOC) + + set(CPACK_PACKAGE_VENDOR "Christophe Geuzaine") + set(CPACK_PACKAGE_VERSION_MAJOR ${GL2PS_MAJOR_VERSION}) |