diff options
Diffstat (limited to 'x11-libs/gl2ps')
-rw-r--r-- | x11-libs/gl2ps/Manifest | 1 | ||||
-rw-r--r-- | x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch | 74 |
2 files changed, 0 insertions, 75 deletions
diff --git a/x11-libs/gl2ps/Manifest b/x11-libs/gl2ps/Manifest index 7ce356bdb04b..e5bcd3fbde0d 100644 --- a/x11-libs/gl2ps/Manifest +++ b/x11-libs/gl2ps/Manifest @@ -1,4 +1,3 @@ -AUX gl2ps-1.3.8-cmake.patch 2410 BLAKE2B 044a2b9cfd4b108e5e766f062123fec8ea9fe0ca51518419a76f70915501d5ba2e20301a80e92803dccdf90d33a086365e75b0b040bc5cd42ad0a7c9517e1b64 SHA512 9ae64f280ff72e88cccd8daedec283ffef3403a02dbfa5872ec8991a1b6f0c6e0afaa1ff5009ada99cf9a3bb051dccf61614a77947728140b516081de8a624bd AUX gl2ps-1.4.2-cmake.patch 1959 BLAKE2B 28725bdca4ec50c4cdb19100d30d3af4fe5705709b0aad92c79ca9d732da862170d922e037da29a43e174bf16b773d9ec73c2034a5f67803dd9e3c97dbc2f4d5 SHA512 a76a7649e8b2b62de6669f1bf1d3f4797708ae659ba8cdf9b3da21319dbc56035876d1b233c5b8934ee93a6b3d1b6562376734c6ef1da8764910a30b8849fe17 DIST gl2ps-1.4.2.tgz 301134 BLAKE2B 43c93f93d09dd7a6af0711819647f5f82c0853a80822dbc600b7502f2c86612f5cb2edc31729c67abbab44cc8fec7aa1fa7e13f0d115b0d79c7a7d45fa1a3079 SHA512 46652e1b3825ace61dbd77c4b0bf451e7671c248eb18bbd3369e2fac00056ea4cd5d2578561984313c239e3b02f78b9d9a76d963c935af65a13bc2abfc538620 EBUILD gl2ps-1.4.2.ebuild 1175 BLAKE2B 1d93619d65949298724339055bd760349d077b0cc0e5aadc80a7041c652406c9a83352260795b06ab0ddb7f941067dae3c09a81ad73e4cc6de556243e3b0233b SHA512 5c290a4ed8ab7ebff21a729196c64e013fa8f7df6dc93f7ca98937c7f1aafa6f4560edb5746855bd6ce399e88101fba16ab76a1d4b5e6822880143d5c7bbfa51 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}) |