diff options
author | Matthew Marlowe <mattm@gentoo.org> | 2013-09-27 05:13:00 +0000 |
---|---|---|
committer | Matthew Marlowe <mattm@gentoo.org> | 2013-09-27 05:13:00 +0000 |
commit | a4e533e78438e56c975ce2cff1e993088a9f9fa5 (patch) | |
tree | 4ce4b5b07dd89decb213eeb1cece79168fcfc892 /net-libs/wt | |
parent | Remove old. (diff) | |
download | historical-a4e533e78438e56c975ce2cff1e993088a9f9fa5.tar.gz historical-a4e533e78438e56c975ce2cff1e993088a9f9fa5.tar.bz2 historical-a4e533e78438e56c975ce2cff1e993088a9f9fa5.zip |
First test ebuild for wt-3.3.0
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0x786037A7
Diffstat (limited to 'net-libs/wt')
-rw-r--r-- | net-libs/wt/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/wt/Manifest | 28 | ||||
-rw-r--r-- | net-libs/wt/wt-3.3.0.ebuild | 143 |
3 files changed, 161 insertions, 17 deletions
diff --git a/net-libs/wt/ChangeLog b/net-libs/wt/ChangeLog index b00359db407e..4bc879b83c90 100644 --- a/net-libs/wt/ChangeLog +++ b/net-libs/wt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/wt # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v 1.23 2013/09/22 06:44:07 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v 1.24 2013/09/27 05:12:50 mattm Exp $ + +*wt-3.3.0 (27 Sep 2013) + + 27 Sep 2013; Matthew Marlowe <mattm@gentoo.org> +wt-3.3.0.ebuild: + First test ebuild for wt-3.3.0 22 Sep 2013; Agostino Sarubbo <ago@gentoo.org> wt-3.2.2_p1-r1.ebuild: Stable for x86, wrt bug #460292 diff --git a/net-libs/wt/Manifest b/net-libs/wt/Manifest index e0450c4b261c..d53b5bb8c7f2 100644 --- a/net-libs/wt/Manifest +++ b/net-libs/wt/Manifest @@ -1,30 +1,26 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX cmakelist.patch 325 SHA256 a6edf1aa6bc44f73a1dc8c8dff41312f5ea90f061b511e8e65d0b4e3134a8a7a SHA512 dcab00789ff537c76ba40a4610bbe2957b6cb1c6404299d5f14dfac366d87afbbc05fdd6b3f73525b1749c0893204213560dbcfb688414264ea4a47829432481 WHIRLPOOL c1627ea7ba639bff58f021e4177717fc03e4ea18ac73b760f4996ea495698366db16a6f8432b5ba9681b46a196a9827acd67927dd7c73be3fe1d2cd744b2d26a AUX wt-fix-automagic.patch 8672 SHA256 991db3f4c7ff8715828f7f24c0d6ac6b5629da5380e6036e75d81244823aba70 SHA512 6591e3af9032c948b047c0ac1ca16b3b6731e866ec5037d2a969fa18a5431643b3f6917666435dbec599559101b6b71c562d2cf9f5974888c47ccb8392217164 WHIRLPOOL b6d8fc251935970c135b23869577eecbf27e4d4b65114909ddee6847da8a96d52d658f5de5f6a39a4f99b8bb5bd112004b22a5cabc093a7e5fa3d41c365a7bd3 DIST wt-3.2.0.tar.gz 17781351 SHA256 b461073096e1284bde6900392fee776fd50da048294073cb2e1e6ab5c024ec56 SHA512 d6df3cd3f0bdacf5d460b03573b3a54485a8dc23d9bc401afc15902c08c17c9b8a10d45e40bbe14e8b023497476ee8d2765776b96f08fa0aa12e5f6a8a102d14 WHIRLPOOL 33554f53a6e6493bc43f6bb69ef4f9445865cdb142dec22d428bb5ae2f06dbfa4c563788e095bdccbead681b0e4aef431c7537a2592178d0799a4d803b651534 DIST wt-3.2.2-p1.tar.gz 17312758 SHA256 1610b1950eda3614a12e915f5968d7b8659eb17231622681c9a1eafc586c8f05 SHA512 4ffce2ab65fc8286a9d54194cdd4efaa521245f78fa6cce9b24694611cbf392b7d8072e02c8d75115f40594893086c5646ec3926f2e8c8e404369bdd30df0164 WHIRLPOOL 48d2cd14866a510350cec6afce18466abaa9cc12af8b55bc6986ca89fbd5f8998b1ce328cac0b706b06fc497e4580d444cfd64e0553d72e90573cc3aa9558d93 DIST wt-3.2.3.tar.gz 27599742 SHA256 94526ca44e6c83dcfe9820931fb3f4af31ca0d59f2e1bb06ae1aa377fc709485 SHA512 8cd3d866aa35603ae32b3043ec36ee41a7ed3105d153e4781cac8d5efd3856afabcb9ec36b0ffa7398e3b1d902d0f5ffab049f3240f56400d92551b3e743ad3a WHIRLPOOL 901f1a9b0abb61af31c291cd34dce07b2cb87699da11ad011ed2cd81c823e2c76699bbeb29573292357fffc21cd761ce4b05f5fa4c02b8b0d34fd03a5d7149dd +DIST wt-3.3.0.tar.gz 28068379 SHA256 b7cefccd765ec52f76625eabc1905a9fe22e953cc29a49d51f0ec315a76ab8e2 SHA512 76ff969f238a68bd05e1904547de65ea4c479a72981d93ff9253040a272311dc47b335275fdb4b7a1dfbc7e52d4d1a0f1019f747633a2a25c101e843a4518759 WHIRLPOOL 84906174b39aa3c1f38eb6084b3917c308d7633dec95f67c2b9ac1dc4a70d0e1df3d88989e10d2f3557b88bb0128e85291ff4a98aff77ba5076851d960648c37 EBUILD wt-3.2.0-r1.ebuild 2562 SHA256 f47d5996fc01325871598e9249a88b40d11dcaf3d2112a18972a7962b0f56bb9 SHA512 d6e521e047a00bb772c757e63ddf5f8a7c49e32e7bb5f3ff89387e336d999380e7bc016cfc6688a2b37527a60ba47bea5bd2b922331957bb2b4e3eb92dd732bb WHIRLPOOL 16739bda000f67213e52aea317e68cc5cfb034926f305e79c01c5088d712bc5b66b8c48d1d09e0f83fff73147bec90f4e4fc827807fb78a2329a3bacd39fe872 EBUILD wt-3.2.2_p1-r1.ebuild 3148 SHA256 f5d6f81a0f15339a2eea602d017f059cc0df43b69b5bdc6108fc37b1dde1e502 SHA512 c85929a0688013d91a74e88afe146c84d30f20e928e3f5932b646111fcaa66ba681e0b7be04dde3f157d872e9479497291ca606c4e39255e3b608f42b738e436 WHIRLPOOL eaa5d660b8a2d3b973178ec6334e8dbcba539f641eec48acfe5007229596b7cf6061c1e0ab76b77f56d80e34c3cd04aeb629f90f9d898ce54394d97979703a74 EBUILD wt-3.2.3.ebuild 3138 SHA256 09e715281299af669b6cd45bd53c76cf4d941c2741a0d01dcb1a78f214ab1cda SHA512 6dec1e3d69167096b37874cc9fa10d3ce389b896e10e77aae21bfcb6630845c99ba1f05a58a8b7ae526c470646969c7884af28a258d848b45b573c97e176a2db WHIRLPOOL b7c63d4e307e350f3b40f86813f5d80d097bd82f9fac5821cc2a9bd6c73891fead0528d67b6a0783ae7cad445c346916a18661f600f39807d99b55ca8953f5fb -MISC ChangeLog 4666 SHA256 221e59c90eca25ebd363eed32f236afbd91fceb2fb2e5ef9fcce25af717a5237 SHA512 380517868a148c225e239e89c8828666510bb9fa236361e4045ffd25cd03e2f3662fee44f46d83a5fc72638184175c68c1293316739c385818f98d480ec7d75b WHIRLPOOL 2bbffb2473df5e99fa0c31e42d9692e1d4490fa9da879c58b62759fbb2c9adc7f91a25f85a02619433c94fa3af5ef45f0aa5b27fa6e133d9da73e0ff1300cdc3 +EBUILD wt-3.3.0.ebuild 3254 SHA256 c3819f8da3430a7c7c40bc9ee2efa3b6e4ff43f3c446c02be480d207bf346316 SHA512 29ab1bceea0536c4f79e21ea8a8116870857aaa5febf18c7f31f65f704fa51ed9fa30b79073ca9b4d43438cc5de91330b3ad8abb88ecf2f4dd5a1ebd92afc50b WHIRLPOOL b6a4a627330f960425af9d5d163190024aee9ae2c8d8a74d315959464cd669e064c0020438578ce6e0e1cd47cbcba7754b54c92eb41d1ad20a199dd6e7fc3972 +MISC ChangeLog 4795 SHA256 425cd0872f24c780486caac2a20d2c733ae591b0b01304f5c3d873006ae98a24 SHA512 cfd8f3e13ded8887b13fedb5c1a8373ca0e07f4308dda3e2bb526cb7918286cd63ba99b48cff1404776b668af9a1c9c60e7bb233c803f17c57aa1ff83498a24e WHIRLPOOL 949f657e544719b6e88b0c377514c7382e9212d9362cf7518c26b949ecb9ca08fc33e173948b34e2f3c78f18922289c0e7c74a030533af244c8ee3eb534c1e87 MISC metadata.xml 659 SHA256 d9b27ad5d75e6e1f82062eb4c261e1d4a1f447339487c0cd5523d8bff267d224 SHA512 d6edeba32e15e4d8b92570e655f5205266f62d2922b49c4beac055ce4a095f611a2cf487759d58cd7985704a21a5274061336dc56890e2f9344205f0866cd87d WHIRLPOOL bd64a339f9609ba280c92c0a0349601ead9e75de0cfb03edb95d6103ce33d9871aff57a58f161bd3dd5c5aadcecbe06fe8c10f3d6fc807e8b800c834d788f9ab -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJSPpG1AAoJELp701BxlEWffD8P/0eE9CRUiLJy/SfQEyllNCuy -hVUki1yF4DML75MQfc76u3lStPoUAgNJAmck0+2A+WgPOQRSlTDjyviEUY3pWr+y -KWQb9JlYYC8imGiLCcBpt0a/JfBZtD78WNrZg5N2mc6aKdrzfsjjgAgcvHMlQupt -HNyrpWpYUujPGKIKqs8fOr9zJqcVoQ8YRqJXFnocbwbenOYURw327ltWv1FXX8r5 -dzcrrkYRyWy614FAtNGLogE9xLTgUnLWWyIRcWit+tF3wM9r0Vf+vKuZeUiTJfOi -OaRMU0orkWbB7nviNAJi/AIM7fWIfYSjc7+6+boQckhEgvfOlPvKGA/DPI6Mys9h -M+EBvx4HYBzlW2Am+2jvAZG1shsUMwxD1kEB+Fv0FADTa5NqcLGA9T8mCzjZaeoU -4FldSBXZXTIGgAZyiId3dRMCpqtuBL0nyjjur2aSY22bIEzFNo0XUj4qyrSEK2s3 -H7YhmQHWIMUe17BM1uusuNxQUmS+JKG4Ef6uO70GgULmkLqkd6TSpol2BWU9ZhKa -tMjdKqa0Jg7LT806QbtCCFDsrdklajUNtIlk1uENklfI+2xw3xS+0/EZFiT1prms -EcJMJAPwLYeccvcESg4TiAk52HcRqrKoBsiz0uvLQ7AXWDNNIlTWWHolMxgmP/rH -lecYE3sY7J630eI+J9Sa -=d2+G +iQEcBAEBCAAGBQJSRRPYAAoJEC1LWXx4YDenxB4IAKKLi/DZbefV/MXTV5PwDDNx +VHmXotKNuyIeXz+dcmT8tA5RHaDcG03gYiO15cqgyJTNLamu2x5sCGjy9PdwEXOh +KLqQqAMAlvU08PLgkvIaNyxtDE1eW6SmfxkA2RHX8FaLBnzSfx4VFYFn5BjswaNw +bDmOoqHEhsjzfAVWQzolwPqnac3ruC6oLAZRlpQA8OKcO4xjrHHwByV6TOJSh0ZM +lZTBnI067ACtrZRnhh1tRar5NeyR8fcU/yxB+B1hzJsfQHGldo+cvaJVxUmHOAge +Ts3NEmr+onlECqGA1OfFXDA7IDKrJ/lL6bKSJdUAtLa+193S78qPVzoG4LFQRWQ= +=J8Lh -----END PGP SIGNATURE----- diff --git a/net-libs/wt/wt-3.3.0.ebuild b/net-libs/wt/wt-3.3.0.ebuild new file mode 100644 index 000000000000..10f13229178f --- /dev/null +++ b/net-libs/wt/wt-3.3.0.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/wt-3.3.0.ebuild,v 1.1 2013/09/27 05:12:50 mattm Exp $ + +EAPI="2" + +inherit cmake-utils versionator eutils user + +DESCRIPTION="C++ library for developing interactive web applications." +MY_P=${P/_/-} +HOMEPAGE="http://webtoolkit.eu/" +SRC_URI="mirror://sourceforge/witty/wt/3.3.0/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="doc +extjs fcgi graphicsmagick mysql pdf postgres resources +server ssl +sqlite test zlib" + +RDEPEND=" + >=dev-libs/boost-1.41 + graphicsmagick? ( media-gfx/graphicsmagick ) + pdf? ( + media-libs/libharu + x11-libs/pango + ) + postgres? ( dev-db/postgresql-base ) + mysql? ( virtual/mysql ) + sqlite? ( dev-db/sqlite:3 ) + fcgi? ( + dev-libs/fcgi + virtual/httpd-fastcgi + ) + server? ( + ssl? ( dev-libs/openssl ) + zlib? ( sys-libs/zlib ) + ) +" +DEPEND=" + ${RDEPEND} + >=dev-util/cmake-2.6 +" + +DOCS="Changelog INSTALL" +S=${WORKDIR}/${MY_P} + +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 + + enewgroup wt + enewuser wt -1 -1 /var/lib/wt/home wt +} + +src_prepare() { + epatch "$FILESDIR/cmakelist.patch" + + # 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 + + cmake-utils_src_prepare +} + +src_configure() { + BOOST_PKG="$(best_version ">=dev-libs/boost-1.41.0")" + BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" + BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" + BOOST_INC="/usr/include/boost-${BOOST_VER}" + + 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 + -DWEBUSER=wt + -DWEBGROUP=wt + $(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 mysql ENABLE_MYSQL) + $(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() { + + dodir \ + /var/lib/wt \ + /var/lib/wt/home + + 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 + + chown -R wt:wt \ + "${ROOT}"/var/lib/wt + + chmod 0750 \ + "${ROOT}"/var/lib/wt \ + "${ROOT}"/var/lib/wt/home + +} |