diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-12-06 14:08:47 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-12-06 14:08:47 +0000 |
commit | 0f0502eb1ff1218eff7736418b11df9328f3d2c5 (patch) | |
tree | abb9c295268c6f6022b955b602926e4b2a51d239 /x11-libs | |
parent | app-benchmarks/i7z: Drop old (diff) | |
download | historical-0f0502eb1ff1218eff7736418b11df9328f3d2c5.tar.gz historical-0f0502eb1ff1218eff7736418b11df9328f3d2c5.tar.bz2 historical-0f0502eb1ff1218eff7736418b11df9328f3d2c5.zip |
x11-libs/gl2ps: Version Bump
Package-Manager: portage-2.2.0_alpha144/cvs/Linux x86_64
Manifest-Sign-Key: 0x70EB7916
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/gl2ps/ChangeLog | 8 | ||||
-rw-r--r-- | x11-libs/gl2ps/Manifest | 11 | ||||
-rw-r--r-- | x11-libs/gl2ps/files/gl2ps-1.3.8-cmake.patch | 74 | ||||
-rw-r--r-- | x11-libs/gl2ps/gl2ps-1.3.8.ebuild | 49 |
4 files changed, 137 insertions, 5 deletions
diff --git a/x11-libs/gl2ps/ChangeLog b/x11-libs/gl2ps/ChangeLog index c4645cfca3b3..b9d25eeb3c1d 100644 --- a/x11-libs/gl2ps/ChangeLog +++ b/x11-libs/gl2ps/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-libs/gl2ps # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gl2ps/ChangeLog,v 1.23 2012/09/30 17:57:40 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gl2ps/ChangeLog,v 1.24 2012/12/06 14:08:46 jlec Exp $ + +*gl2ps-1.3.8 (06 Dec 2012) + + 06 Dec 2012; Justin Lecher <jlec@gentoo.org> +gl2ps-1.3.8.ebuild, + +files/gl2ps-1.3.8-cmake.patch: + Version Bump 30 Sep 2012; Raúl Porcel <armin76@gentoo.org> gl2ps-1.3.6.ebuild, gl2ps-1.3.7.ebuild: diff --git a/x11-libs/gl2ps/Manifest b/x11-libs/gl2ps/Manifest index 1729f904107e..24c323e727ab 100644 --- a/x11-libs/gl2ps/Manifest +++ b/x11-libs/gl2ps/Manifest @@ -3,16 +3,19 @@ Hash: SHA256 AUX gl2ps-1.3.6-CMakeLists.patch 2145 SHA256 817248b2bc3db4b1033a4adbf4493fb1e449f49ad9dd8bb0acb0975a45a1b814 SHA512 48fb1639b7666aaa1bde7b37407a49c76f7ea89e91f9aad521846d0996c72b213d9056a27a339d21d799832704707ab1f68af3418e27459a1f10fa94c8f2cb7d WHIRLPOOL 74d20099c69b86abbdbf8cf6ed0e7455d096afa31862adadeca8d09545bfe5af030062b2f9354e8553dcb7d590605ee928c1491244c39019440e625c82cdd958 AUX gl2ps-1.3.7-cmake.patch 2478 SHA256 ac164704ca2affa9f18d9d3fbe962a654fc2a4b686a0232a34ae98ae9ce495c8 SHA512 c72ce82398cbf1428a8297f9548cd21d28da1ea88cac4cfa40dd1942291bbaebd043a05eb70848c2935e1a5583ee219c9e147894cbe3732c279a33797ad62712 WHIRLPOOL be275708f7f785c1f26e33f8108a9ffad8b38122d7ea4b8ca7d0f71d300136e7e9f312fd3718f81ce0f6b1d00d314941049c6138d737bcd3e2c93f76ca67103f +AUX gl2ps-1.3.8-cmake.patch 2478 SHA256 ac164704ca2affa9f18d9d3fbe962a654fc2a4b686a0232a34ae98ae9ce495c8 SHA512 c72ce82398cbf1428a8297f9548cd21d28da1ea88cac4cfa40dd1942291bbaebd043a05eb70848c2935e1a5583ee219c9e147894cbe3732c279a33797ad62712 WHIRLPOOL be275708f7f785c1f26e33f8108a9ffad8b38122d7ea4b8ca7d0f71d300136e7e9f312fd3718f81ce0f6b1d00d314941049c6138d737bcd3e2c93f76ca67103f DIST gl2ps-1.3.6.tgz 294517 SHA256 fd78ded7c4a323a23c3e75f160ca2800401b1771fd4183ca52d233cce892d589 DIST gl2ps-1.3.7.tgz 294704 SHA256 e916a35a8d35a928aa3404377b579054a5775ef1c88f0fcab4e275d6fe774ff5 SHA512 0824e4214c25f97b96f634b3e16b78bdbade42919e5a7aad09c92eae17a24b61416a25606ceaf5224c53e0d7b1190636e4f925e85eff6272381692f9ba9dcc91 WHIRLPOOL e48561330e609679ef11e1ec655c3333f7abe1a408fb8efe32a3c01b14847edfa9078ac63387e47a70381f241a629a9a84433889aaa7a8d8057dd92cf9edbbb6 +DIST gl2ps-1.3.8.tgz 296245 SHA256 2fe58dd95df06688a8c188e70b1803093ebf0797954901f4a36a403dbc301ee5 SHA512 76e90d675764196d249d87c6041088736a8b41d9b93620c6171a40362a259d50e34d5efc06e4ea17e6c147bc26b6a3a7356d95ea5e204193ef631fb48e0c0a4e WHIRLPOOL 85d93e744824f1681f562f791e07411cb5d815575847466a235e9952f2061c970cbf546e0dc6c5ed36f0261943814ce1a978f497f58b29b2a527245ad856b90b EBUILD gl2ps-1.3.6.ebuild 1209 SHA256 e695d1e8d956e0f9505395db551c6878ec68c77972f6fac13ca65fc7b09aefa1 SHA512 fe52ad8c0fc4e269b11ed5d339a890ad776e654074570b8e3efe4dbe1fe12f5da3920bd6762fe78c8149e60bce07daa3032e37bcf7e7c0cf4eb76f3974c7eeb0 WHIRLPOOL 3d7423d9b4807507b522953693ee97473ef2d1bd281bd555e3fd64cfeaed0631637e959561a1ea187be48afa4e4fb6f7f8736289eb5ab8edb60a4129a22806d3 EBUILD gl2ps-1.3.7.ebuild 1252 SHA256 a933c76e379b6aa2a5e56c3b5a7848417f9a00670401412a6de7dcf63f279db8 SHA512 23faf38a09dfcca1563a501ed02479912cb68a1a81fc23c7147846ec003c94a9aeeba3dee05711bc9550ac73644a8bf2801626a6a48f0663d04e29bd676e58a8 WHIRLPOOL 5c8c30c6e5370a336545b3f6ebefcd79dc2b035f60002d926e3e9692d2ef2b6f9ddddf73f5d8e16403390b7046e96ca822e474c381edaaf43c5a94de4c17b3ca -MISC ChangeLog 3495 SHA256 17135d9968cf9d022b1b6b34b9562dcfb9b3ab4066961556625df447b63a64dc SHA512 cccf57d4f0cb7e6d1a9bf2403a0bff6027416b3c03814e19fc8130bb10423ffb9be5a1ab4b7f30e367152322defb4936de460f0ca674ce159e1b96f9b6fc470e WHIRLPOOL 43bc93bf2ead8e4f82ee6e3490d0deb99f598dd4c394e99b0b9f01f5d0737b42832a55a4c670d693d09b85dd116ad6ea24be92214680bb90a5c5f5a89877be9b +EBUILD gl2ps-1.3.8.ebuild 1249 SHA256 0c125b98b628c8e6b77e215ba263266113e5713bfd041aa25940035d90505067 SHA512 709cb281464360d9df0d370ed3c9a8083643991eb5d8a92910cc9a5b234320a23474b0532dd503c88b381e6731008dc0baf5851f862ee2c4a8f5be06d99b32de WHIRLPOOL 558a57a5973aac3a4716cbb4a935f15f746ce158d35e1adc65e48faba87ce73ad2c3bef14499fb93a041ebdfc9eb1a23387524943bc7df1ba1c9dabe8b4c59ac +MISC ChangeLog 3638 SHA256 962e76ab9d1e15098fb894e945195fc3340a0a4c658d1bfe2907565d6ff78b6e SHA512 8f5542b247cb0673027316abdc5ee0f8a038f90d95d1dd02feb7330a4d8123568fac658f14a06864fe18c7466e22c8a93b1ee10d51f529b9c17e727fe977fae7 WHIRLPOOL 2e221defb85784f1ff30dbefbce6de4ea829fb7387b7d73c6c6aff5738569ac37e976a605bf2f2f2a770bf9a538dfc278a52e543535aebd3e86bc5903ef05cf2 MISC metadata.xml 625 SHA256 f025cb0e9be6bbd45f1eb4445c41a3f6db2fc1e4a5671117bbf061ed69f03333 SHA512 89f4c9960ae759945dc3408cdf39c795deb7ce524aa57d2a0f82a8a65ce125a8af71829c31a55ff56d4bd77691394b1f88a5c08e28271969cbde8d0fc648057a WHIRLPOOL eb76382316ffd81bc23f4c804b750ac8f8dfc5d386da81c468602f1f95f42429750e36cb9a4076bb290b0bc618e27faa352bff8eed3c793e740b02c8ca1d33a9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlBoiBoACgkQuQc30/atMkD33ACfU7bHSGISYe8pQm76q3WNVV9p -ulkAn0HqzzgIywUaiP3t6ZO/Kp7DK5i5 -=Te3s +iEYEAREIAAYFAlDApu4ACgkQgAnW8HDreRYCSwCcDM36781f1mTZ1MoMtkaGNuUv +NuUAoM3/tpNGc7BbHlHeQ6ql7tdWo61Q +=tCly -----END PGP SIGNATURE----- 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}) diff --git a/x11-libs/gl2ps/gl2ps-1.3.8.ebuild b/x11-libs/gl2ps/gl2ps-1.3.8.ebuild new file mode 100644 index 000000000000..9fa6ea3fa338 --- /dev/null +++ b/x11-libs/gl2ps/gl2ps-1.3.8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gl2ps/gl2ps-1.3.8.ebuild,v 1.1 2012/12/06 14:08:46 jlec Exp $ + +EAPI=4 +inherit cmake-utils multilib + +DESCRIPTION="OpenGL to PostScript printing library" +HOMEPAGE="http://www.geuz.org/gl2ps/" +SRC_URI="http://geuz.org/${PN}/src/${P}.tgz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc png zlib" + +RDEPEND=" + media-libs/freeglut + x11-libs/libXmu + png? ( media-libs/libpng ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + doc? ( + dev-tex/tth + dev-texlive/texlive-latex + dev-texlive/texlive-latexrecommended )" + +S=${WORKDIR}/${P}-source + +PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + $(cmake-utils_use_enable png PNG) + $(cmake-utils_use_enable zlib ZLIB) + $(cmake-utils_use_enable doc DOC) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + if [[ ${CHOST} == *-darwin* ]] ; then + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libgl2ps.dylib \ + "${D%/}${EPREFIX}"/usr/$(get_libdir)/libgl2ps.dylib || die + fi +} |