summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Marlowe <mattm@gentoo.org>2012-01-05 10:43:59 +0000
committerMatthew Marlowe <mattm@gentoo.org>2012-01-05 10:43:59 +0000
commit055d921f0f7750eab488afbe20f1cb38713150cf (patch)
tree61472f10e4cff4d35c207cf72e7876ce3927828c
parentppc stable (bug 393415) (diff)
downloadhistorical-055d921f0f7750eab488afbe20f1cb38713150cf.tar.gz
historical-055d921f0f7750eab488afbe20f1cb38713150cf.tar.bz2
historical-055d921f0f7750eab488afbe20f1cb38713150cf.zip
First draft of wt 3.2.0 ebuild, masked until all major bugs resolved.
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
-rw-r--r--net-libs/wt/ChangeLog8
-rw-r--r--net-libs/wt/Manifest18
-rw-r--r--net-libs/wt/wt-3.2.0.ebuild107
3 files changed, 124 insertions, 9 deletions
diff --git a/net-libs/wt/ChangeLog b/net-libs/wt/ChangeLog
index 1f0626a05ecf..5cddbf772a18 100644
--- a/net-libs/wt/ChangeLog
+++ b/net-libs/wt/ChangeLog
@@ -1,6 +1,12 @@
# 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.4 2012/01/05 10:09:21 mattm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/wt/ChangeLog,v 1.5 2012/01/05 10:43:59 mattm Exp $
+
+*wt-3.2.0 (05 Jan 2012)
+
+ 05 Jan 2012; Matthew Marlowe <mattm@gentoo.org> +wt-3.2.0.ebuild:
+ first draft of wt 3.2.0 ebuild - it is temporarily masked until all major
+ bugs resolved
05 Jan 2012; Matthew Marlowe <mattm@gentoo.org> wt-3.1.5.ebuild,
wt-3.1.6.ebuild, wt-3.1.7.ebuild, metadata.xml:
diff --git a/net-libs/wt/Manifest b/net-libs/wt/Manifest
index d3d748981bf8..28fc9156bb22 100644
--- a/net-libs/wt/Manifest
+++ b/net-libs/wt/Manifest
@@ -5,19 +5,21 @@ AUX wt-fix-automagic.patch 8672 RMD160 5ef4f2acd21f0d91b35f7ef3b169574facd7bb44
DIST wt-3.1.5.tar.gz 14709947 RMD160 21bb737291f91364628bc45f7dfb5d364900cabb SHA1 7589d30e3d12a46d9e8d206bbde32734a611778d SHA256 5ecc5b4e9faa60b4efb2ef3ea4268862c9ff07f40189f34a5cb8e3a0887dad36
DIST wt-3.1.6.tar.gz 14008903 RMD160 bf55e00043751d8256fd13ba16c145d89463c734 SHA1 c7e614a4ccfeea737557e17af28ff4094c6711ae SHA256 99ea48074848a3752005c0f090abf41cdeea5c91105806d9ee3aeda4095b219b
DIST wt-3.1.7.tar.gz 14965327 RMD160 3a5518a6c5c0105b71a0be3730f54a5a83621f60 SHA1 8c0a81f10ae474f5c3aa96afa62ce22c386ff63b SHA256 0917e146f4973e4e875c856d8f6a6ff46a75bcf2a1d1ece63661a724c44f4571
+DIST wt-3.2.0.tar.gz 17781351 RMD160 82c6ec1f3f80884982111d86694ca1fd3005a4be SHA1 38cf20980f16b0970c42ace45fd62edb28b6358b SHA256 b461073096e1284bde6900392fee776fd50da048294073cb2e1e6ab5c024ec56
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
-MISC ChangeLog 1024 RMD160 4f65e4ea42eb1e0b897ae3ca46e7f9e91d36224c SHA1 658c6c9d68bb022139cffcbe2ff06c4aa29f1712 SHA256 d98c001480fc696c0fe3fc98485400985172724a38b01883bb6c79ef17974e66
+EBUILD wt-3.2.0.ebuild 2548 RMD160 5a26952eb03592576d0c9f061a8b75218455e988 SHA1 dbad367a5679087c05d4b907544514f3676b08d2 SHA256 8c68207525800c20418ffee1fd81c52260677af0606aa2f9f3e3658612e2e588
+MISC ChangeLog 1210 RMD160 ffaedf48ea6f77c3ff37f5680987ad11457d45ff SHA1 b7ac2e3db33ae5ccfb56db84dfaf9bbd18c8036a SHA256 94e00a903f810aa66878c2d56d65c09111dfde51e71691293b0e6fae359c276b
MISC metadata.xml 659 RMD160 5052d254d32be09b73aa5d2078a47ba8a74224e1 SHA1 596cbd4b093b829a142deccfa0f1766408f1dc65 SHA256 d9b27ad5d75e6e1f82062eb4c261e1d4a1f447339487c0cd5523d8bff267d224
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQEcBAEBAgAGBQJPBXbeAAoJEC1LWXx4YDenhW4H/iKfZhZCbiBt1PA76mA0txba
-ovLq4V+nI7BKJS1lqhtB/vyJuRFWd3hunKyJ3iQvxWWhQPV4ZNhfM5arFt5aWynf
-sjC+GDEitDFyaChbyKahY+0zcW2SRXIvGLtUNj1FRGin/w9oHCAFpFMyMZEXok/d
-NR3IF4plH23MpSk3F5/QubB8WMWnD8ydCGKIV67fGtE39yGglE6SoAUMLcspD6ug
-0AaIHc3odcdQX/seA6ljLGM6XMTgBSvMEwPEKPSKvttwCBrwdsWrvXM5lQuqG19I
-vndaTmEcJCJoPqxx+L6dA/FzjXQ2ehQyhcgHNbu0MYr1l5+WgBHlmT7J9KzG3vI=
-=aMx7
+iQEcBAEBAgAGBQJPBX76AAoJEC1LWXx4YDenHT8H/3EeWQNaPKOulNVeqtJcj6K4
+lWxeXpBG8uW1KmuShy3AcTcTO8mUHe02JaXjC2TzFRWfjLSXVS6F87jzjh79tYDn
+lit0VPY60fTt8sFCb1wn3xiUlo2Hg7Rw8IapsRZXLOEZLoLLxeTVTWgx/S7UecH2
+URhfz6fzpApb9/YTCwoiPb36ct+2mdJ0cRBy9miJnT6H1/4fSCiro5Gl3EFd8dJD
+npG6Dkdz2nwMXJhglFsad8Dn1ySZonTdOP7/174XZWbUwPC8jCNCD+5aIj29wcgt
+Pz+gk1576mUQnvyQu9vhshyuDj25XMEZMw73QS/3f1O+900RCWMDGmbDHRDAIuA=
+=v1i3
-----END PGP SIGNATURE-----
diff --git a/net-libs/wt/wt-3.2.0.ebuild b/net-libs/wt/wt-3.2.0.ebuild
new file mode 100644
index 000000000000..7d95eb231087
--- /dev/null
+++ b/net-libs/wt/wt-3.2.0.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.ebuild,v 1.1 2012/01/05 10:43:59 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="AUTHORS 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
+}