diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2021-02-23 17:35:28 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-02-27 16:35:46 +0100 |
commit | 628990d3b2a7ce7b4bb8938d72b9af754cc8ae74 (patch) | |
tree | 2a836316598fefd980e5ec9fee1087ef790025ca /x11-libs | |
parent | x11-drivers/nvidia-drivers: remove unused patch (diff) | |
download | gentoo-628990d3b2a7ce7b4bb8938d72b9af754cc8ae74.tar.gz gentoo-628990d3b2a7ce7b4bb8938d72b9af754cc8ae74.tar.bz2 gentoo-628990d3b2a7ce7b4bb8938d72b9af754cc8ae74.zip |
x11-libs/gl2ps: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/19618
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch b/x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch deleted file mode 100644 index f22760fd6eca..000000000000 --- a/x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch +++ /dev/null @@ -1,74 +0,0 @@ -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 - ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -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}) |