From b249a804812635bf5540a88cf1e08c9cb0cb7acf Mon Sep 17 00:00:00 2001 From: Matthew Marlowe Date: Mon, 9 Jan 2012 00:56:32 +0000 Subject: [PATCH] Partial fix for bug #397753, 3.2.0 does not include AUTHORS file in docs. Package-Manager: portage-2.1.10.41/cvs/Linux x86_64 --- net-libs/wt/ChangeLog | 7 ++- net-libs/wt/Manifest | 17 +++--- net-libs/wt/wt-3.2.0-r1.ebuild | 107 +++++++++++++++++++++++++++++++++ 3 files changed, 122 insertions(+), 9 deletions(-) create mode 100644 net-libs/wt/wt-3.2.0-r1.ebuild diff --git a/net-libs/wt/ChangeLog b/net-libs/wt/ChangeLog index 5cddbf772a18..9e91c5a44d35 100644 --- a/net-libs/wt/ChangeLog +++ b/net-libs/wt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/wt # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v 1.5 2012/01/05 10:43:59 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v 1.6 2012/01/09 00:56:32 mattm Exp $ + +*wt-3.2.0-r1 (09 Jan 2012) + + 09 Jan 2012; Matthew Marlowe +wt-3.2.0-r1.ebuild: + Partial fix for bug #397753, 3.2.0 does not include AUTHORS file in docs. *wt-3.2.0 (05 Jan 2012) diff --git a/net-libs/wt/Manifest b/net-libs/wt/Manifest index 28fc9156bb22..1f01c3c4c03a 100644 --- a/net-libs/wt/Manifest +++ b/net-libs/wt/Manifest @@ -9,17 +9,18 @@ DIST wt-3.2.0.tar.gz 17781351 RMD160 82c6ec1f3f80884982111d86694ca1fd3005a4be SH EBUILD wt-3.1.5.ebuild 2608 RMD160 5967892f35d1f026afb27b1299b371416de27c47 SHA1 b58cc43a04df60a1b67d7ddecc94de8e10306c96 SHA256 cf490317e36da1f9ddbdbaaa691efe1d4f75817261cdbf10861f50923c1f7cb8 EBUILD wt-3.1.6.ebuild 2550 RMD160 5fafe2666266e16ed4e846f2450f5aacdb37fa70 SHA1 e908807a7094d03d1f35f4e278d52c82c2be664a SHA256 49de1b990fbce9acc90bca353219237a5fc252b11dbdf3870e5442f1efcec99a EBUILD wt-3.1.7.ebuild 2550 RMD160 137f2ed313f8229bd3f00dedb2c20b0e53ad3b5d SHA1 f073aaf1237df9cb21cb487223dfc4f35efdb0a6 SHA256 cd378213856e863d2f687e663b57edf443fbc934c72f6a532c2db216681613e6 +EBUILD wt-3.2.0-r1.ebuild 2543 RMD160 4d618a1b7cf57ef0608a28f62040f8a940fb7261 SHA1 f41861f5ac5a436262b4293cde12060fbd45a737 SHA256 79872262b68ab0b357cacde1e8cc474f59aa046b00d1ba1d703b4d681a92d8c3 EBUILD wt-3.2.0.ebuild 2548 RMD160 5a26952eb03592576d0c9f061a8b75218455e988 SHA1 dbad367a5679087c05d4b907544514f3676b08d2 SHA256 8c68207525800c20418ffee1fd81c52260677af0606aa2f9f3e3658612e2e588 -MISC ChangeLog 1210 RMD160 ffaedf48ea6f77c3ff37f5680987ad11457d45ff SHA1 b7ac2e3db33ae5ccfb56db84dfaf9bbd18c8036a SHA256 94e00a903f810aa66878c2d56d65c09111dfde51e71691293b0e6fae359c276b +MISC ChangeLog 1386 RMD160 3a09e06fdadd387c084b388236062dd51e5c229c SHA1 19c520e464d75cedbd15b2d866fb1420e95e4b7f SHA256 5a9c338b6f1bc3fb7f834211576961ac99e1936c2971096b61db658db130a952 MISC metadata.xml 659 RMD160 5052d254d32be09b73aa5d2078a47ba8a74224e1 SHA1 596cbd4b093b829a142deccfa0f1766408f1dc65 SHA256 d9b27ad5d75e6e1f82062eb4c261e1d4a1f447339487c0cd5523d8bff267d224 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQEcBAEBAgAGBQJPBX76AAoJEC1LWXx4YDenHT8H/3EeWQNaPKOulNVeqtJcj6K4 -lWxeXpBG8uW1KmuShy3AcTcTO8mUHe02JaXjC2TzFRWfjLSXVS6F87jzjh79tYDn -lit0VPY60fTt8sFCb1wn3xiUlo2Hg7Rw8IapsRZXLOEZLoLLxeTVTWgx/S7UecH2 -URhfz6fzpApb9/YTCwoiPb36ct+2mdJ0cRBy9miJnT6H1/4fSCiro5Gl3EFd8dJD -npG6Dkdz2nwMXJhglFsad8Dn1ySZonTdOP7/174XZWbUwPC8jCNCD+5aIj29wcgt -Pz+gk1576mUQnvyQu9vhshyuDj25XMEZMw73QS/3f1O+900RCWMDGmbDHRDAIuA= -=v1i3 +iQEcBAEBAgAGBQJPCjtMAAoJEC1LWXx4YDenntwH/jKQ6Li62hWO+KhEtNkisK8m +zzw0ONhArnPOMvl9BuzIlKtbwuX6w4rLksRgeeZADZOpHrd+8VIefQGWpMl6W7fK +6XIiZ/ZA2hPA1f3+tFuWIXVjc6V7Nz/p2MuLX5dHk7koMtnUmJkijeuqP0BuLGx8 +NtWWX8CRtrV+EbqvOwDNiKq+UYoE1IaM+ewWQHyvkfJ95N9TwqSg00jxj9T3hrS+ +C+xjokZ41CTFW0tpd4mHG5KSViUAzO8ooWucRSVKkSzX4guqFQzo3Bg0W7xU8B3F +JSBYHhDCBwtQPvczU5TB/NrNdHklkJIAOgHO5A0vWK4scmULt6Pvafe5Zm2CJUM= +=kgi5 -----END PGP SIGNATURE----- diff --git a/net-libs/wt/wt-3.2.0-r1.ebuild b/net-libs/wt/wt-3.2.0-r1.ebuild new file mode 100644 index 000000000000..d67a45b63004 --- /dev/null +++ b/net-libs/wt/wt-3.2.0-r1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/wt-3.2.0-r1.ebuild,v 1.1 2012/01/09 00:56:32 mattm Exp $ + +EAPI="2" + +inherit cmake-utils + +DESCRIPTION="C++ library for developing interactive web applications." +HOMEPAGE="http://webtoolkit.eu/" +SRC_URI="mirror://sourceforge/witty/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="doc +extjs fcgi graphicsmagick pdf postgres resources +server ssl +sqlite test zlib" + +RDEPEND=" + >=dev-libs/boost-1.36 + graphicsmagick? ( media-gfx/graphicsmagick ) + pdf? ( media-libs/libharu ) + postgres? ( dev-db/postgresql-base ) + sqlite? ( dev-db/sqlite:3 ) + fcgi? ( + dev-libs/fcgi + virtual/httpd-fastcgi + ) + server? ( + ssl? ( dev-libs/openssl ) + zlib? ( sys-libs/zlib ) + ) +" +DEPEND="${RDEPEND}" + +DOCS="Changelog INSTALL" + +pkg_setup() { + if use !server && use !fcgi; then + ewarn "You have to select at least built-in server support or fcgi support." + ewarn "Invalid use flag combination, enable at least one of: server, fcgi" + fi + + if use test && use !sqlite; then + ewarn "Tests need sqlite, disabling." + fi +} + +src_prepare() { + # just to be sure + rm -rf Wt/Dbo/backend/amalgamation + + # fix png linking + if use pdf; then + sed -e 's/-lpng12/-lpng/' \ + -i cmake/WtFindHaru.txt || die + fi + + base_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DDESTDIR="${D}" + -DLIB_INSTALL_DIR=$(get_libdir) + $(cmake-utils_use test BUILD_TESTS) + -DSHARED_LIBS=ON + -DMULTI_THREADED=ON + -DUSE_SYSTEM_SQLITE3=ON + $(cmake-utils_use extjs ENABLE_EXT) + $(cmake-utils_use graphicsmagick ENABLE_GM) + $(cmake-utils_use pdf ENABLE_HARU) + $(cmake-utils_use postgres ENABLE_POSTGRES) + $(cmake-utils_use sqlite ENABLE_SQLITE) + $(cmake-utils_use fcgi CONNECTOR_FCGI) + $(cmake-utils_use server CONNECTOR_HTTP) + $(cmake-utils_use ssl WT_WITH_SSL) + $(cmake-utils_use zlib HTTP_WITH_ZLIB) + -DBUILD_EXAMPLES=OFF + $(cmake-utils_use resources INSTALL_RESOURCES) + ) + + cmake-utils_src_configure +} + +src_test() { + # Tests need sqlite + if use sqlite; then + pushd "${CMAKE_BUILD_DIR}" > /dev/null + ./test/test || die + popd > /dev/null + fi +} + +src_install() { + cmake-utils_src_install + + use doc && dohtml -A pdf,xhtml -r doc/* +} + +pkg_postinst() { + if use fcgi; then + elog "You selected fcgi support. Please make sure that the web-server" + elog "has fcgi support and access to the fcgi socket." + elog "You can use spawn-fcgi to spawn the witty-processes and run them" + elog "in a chroot environment." + fi +} -- 2.26.2