diff options
author | Christian Parpart <trapni@gentoo.org> | 2005-09-15 21:01:57 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2005-09-15 21:01:57 +0000 |
commit | faf9d1014b87fa2e34bcd2727941feebaa0a3869 (patch) | |
tree | ca515fe8c3fd245ccc2ca31da40f6664369d47a1 /www-apps/mediawiki | |
parent | Added ~amd64 keywords. Closes bug #106012. (diff) | |
download | gentoo-2-faf9d1014b87fa2e34bcd2727941feebaa0a3869.tar.gz gentoo-2-faf9d1014b87fa2e34bcd2727941feebaa0a3869.tar.bz2 gentoo-2-faf9d1014b87fa2e34bcd2727941feebaa0a3869.zip |
fixing ghostscript depend and solved some more depend-on-useflag issues on mediawiki 1.5
(Portage version: 2.0.52-r1)
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/mediawiki/Manifest | 4 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.4.9-r1 | 1 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.5.0_rc4-r1 | 1 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.4.9-r1.ebuild | 114 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.5.0_rc4-r1.ebuild | 128 |
6 files changed, 257 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index 424478394296..8286119bb051 100644 --- a/www-apps/mediawiki/ChangeLog +++ b/www-apps/mediawiki/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-apps/mediawiki # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.28 2005/08/30 22:40:16 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.29 2005/09/15 21:01:57 trapni Exp $ + +*mediawiki-1.5.0_rc4-r1 (15 Sep 2005) +*mediawiki-1.4.9-r1 (15 Sep 2005) + + 15 Sep 2005; Christian Parpart <trapni@gentoo.org> + +mediawiki-1.4.9-r1.ebuild, +mediawiki-1.5.0_rc4-r1.ebuild: + fixing ghostscript depend and solved some more depend-on-useflag issues on + mediawiki 1.5 *mediawiki-1.5.0_rc4 (30 Aug 2005) *mediawiki-1.4.9 (30 Aug 2005) diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest index 4459fe29aedb..f5ebcab75d05 100644 --- a/www-apps/mediawiki/Manifest +++ b/www-apps/mediawiki/Manifest @@ -9,6 +9,8 @@ MD5 c5c75d463f4267ce9b1f328e2e2f3fba mediawiki-1.5.0_rc3.ebuild 2913 MD5 f8ccf56c5aaf7fa93b1bbfc2f59ff802 mediawiki-1.3.15.ebuild 2899 MD5 3219b106dec605bb1d275a0dc4ec1e3c mediawiki-1.4.9.ebuild 2788 MD5 21c484751b38dc6723904c4924630a9c mediawiki-1.5.0_rc4.ebuild 2913 +MD5 038e3b6bd23689205b683e9c2dd16166 mediawiki-1.5.0_rc4-r1.ebuild 2969 +MD5 0663b522dd70a88a29d69d3981d4bd0d mediawiki-1.4.9-r1.ebuild 2787 MD5 7ec90d807694699cb90d9a56ec2ff67b files/postinstall-1.4-en.txt 1843 MD5 85f32b5fca9afd6479cdcea022c096f2 files/postinstall-en.txt 1731 MD5 6bbb8b1b565c4c501fa6551f85956d95 files/digest-mediawiki-1.3.13 69 @@ -20,3 +22,5 @@ MD5 0654dfba1f053b84973463aea5a6b365 files/digest-mediawiki-1.5.0_rc3 69 MD5 7258757309ee4bf1c48769dcbfba8737 files/digest-mediawiki-1.3.15 69 MD5 fa7f17c613d569b12a8fc159c200119f files/digest-mediawiki-1.4.9 68 MD5 27d8115205843202a079bb0aebfefea7 files/digest-mediawiki-1.5.0_rc4 69 +MD5 27d8115205843202a079bb0aebfefea7 files/digest-mediawiki-1.5.0_rc4-r1 69 +MD5 fa7f17c613d569b12a8fc159c200119f files/digest-mediawiki-1.4.9-r1 68 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.4.9-r1 b/www-apps/mediawiki/files/digest-mediawiki-1.4.9-r1 new file mode 100644 index 000000000000..ac7a51f01a98 --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.4.9-r1 @@ -0,0 +1 @@ +MD5 fae30b065d08152735b2c2edd61aadf4 mediawiki-1.4.9.tar.gz 1981005 diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.5.0_rc4-r1 b/www-apps/mediawiki/files/digest-mediawiki-1.5.0_rc4-r1 new file mode 100644 index 000000000000..e9d99d906e11 --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.5.0_rc4-r1 @@ -0,0 +1 @@ +MD5 5a27beedfa4107813296307fe52b20ad mediawiki-1.5rc4.tar.gz 2216391 diff --git a/www-apps/mediawiki/mediawiki-1.4.9-r1.ebuild b/www-apps/mediawiki/mediawiki-1.4.9-r1.ebuild new file mode 100644 index 000000000000..312e8068f0e3 --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.4.9-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.4.9-r1.ebuild,v 1.1 2005/09/15 21:01:57 trapni Exp $ + +inherit webapp + +DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" +HOMEPAGE="http://www.mediawiki.org" +SRC_URI="mirror://sourceforge/wikipedia/${P/.0_/}.tar.gz" +RESTRICT="nomirror" +LICENSE="GPL-2" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="imagemagick math" + +S="${WORKDIR}/${P/.0_/}" + +DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" + +RDEPEND="virtual/php + >=dev-db/mysql-4 + math? ( virtual/tetex + virtual/ghostscript + media-gfx/imagemagick ) + imagemagick? ( media-gfx/imagemagick )" + +src_compile() { + if use math; then + einfo "Compiling math support" + cd math || die + emake || die + else + einfo "No math support enabled. Skipping." + fi + + # TODO: think about includes/zhtable/ support +} + +src_install() { + webapp_src_preinst + + # copy the app's main files excluding math support, docs, and tests + local DIRS=" + config + extensions + images + includes + includes/normal + includes/templates + includes/zhtable + irc + languages + maintenance + maintenance/archives + maintenance/postgresql + skins + skins/amethyst + skins/chick + skins/common + skins/common/images + skins/disabled + skins/monobook + skins/myskin + " + insinto ${MY_HTDOCSDIR} + doins *.php *.inc *.phtml + for DIR in ${DIRS}; do + dodir ${MY_HTDOCSDIR}/${DIR} + insinto ${MY_HTDOCSDIR}/${DIR} + doins ${DIR}/* + test -f ${DIR}/.htaccess && doins ${DIR}/.htaccess + done + + # installing some docs + local DOCS="AdminSettings.sample COPYING FAQ HISTORY INSTALL README RELEASE-NOTES UPGRADE" + for DOC in ${DOCS}; do + dodoc "${DOC}" + rm -f "${DOC}" + done + dodoc docs/*.doc + rm -f docs/*.doc + + docinto php-memcached + dodoc docs/php-memcached/* + + # If imagemagick is enabled then setup for image upload. + # We ensure the directory is prepared for writing. The post- + # install instructions guide the user to enable the feature. + if use imagemagick; then + webapp_serverowned ${MY_HTDOCSDIR}/images + fi + + # If we've enabled math USE-flag, install math support. + # We ensure the directories are prepared for writing. The post- + # install instructions guide the user to enable the feature. + if use math; then + einfo "Installing math support" + dodir ${MY_HTDOCSDIR}/math + exeinto ${MY_HTDOCSDIR}/math + doexe math/texvc + + # Docs + docinto math + dodoc math/README math/TODO + + # Working directories. Server writeable. + dodir ${MY_HTDOCSDIR}/images/math + webapp_serverowned ${MY_HTDOCSDIR}/images/math + dodir ${MY_HTDOCSDIR}/images/tmp + webapp_serverowned ${MY_HTDOCSDIR}/images/tmp + fi + + webapp_postinst_txt en ${FILESDIR}/postinstall-1.4-en.txt + webapp_src_install +} diff --git a/www-apps/mediawiki/mediawiki-1.5.0_rc4-r1.ebuild b/www-apps/mediawiki/mediawiki-1.5.0_rc4-r1.ebuild new file mode 100644 index 000000000000..0fe268d8ed0a --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.5.0_rc4-r1.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.5.0_rc4-r1.ebuild,v 1.1 2005/09/15 21:01:57 trapni Exp $ + +inherit webapp depend.php + +DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" +HOMEPAGE="http://www.mediawiki.org" +SRC_URI="mirror://sourceforge/wikipedia/${P/.0_/}.tar.gz" +RESTRICT="nomirror" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick math" + +S="${WORKDIR}/${P/.0_/}" + +DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" + +RDEPEND=" + >=dev-db/mysql-4 + math? ( + virtual/tetex + virtual/ghostscript + media-gfx/imagemagick + ) + imagemagick? ( + media-gfx/imagemagick + ) +" + +need_php4_httpd +require_php_with_use pcre +require_gd + +src_compile() { + if use math; then + einfo "Compiling math support" + cd math || die + emake || die + else + einfo "No math support enabled. Skipping." + fi + + # TODO: think about includes/zhtable/ support +} + +src_install() { + webapp_src_preinst + + # copy the app's main files excluding math support, docs, and tests + local DIRS=" + config + extensions + images + includes + includes/normal + includes/templates + includes/zhtable + languages + maintenance + maintenance/archives + maintenance/dtrace + maintenance/oracle + maintenance/oracle/archives + maintenance/postgresql + maintenance/storage + skins + skins/amethyst + skins/chick + skins/common + skins/common/images + skins/common/images/icons + skins/disabled + skins/monobook + skins/myskin + skins/simple + " + insinto ${MY_HTDOCSDIR} + doins *.php *.inc *.phtml + for DIR in ${DIRS}; do + dodir ${MY_HTDOCSDIR}/${DIR} + insinto ${MY_HTDOCSDIR}/${DIR} + doins ${DIR}/* + test -f ${DIR}/.htaccess && doins ${DIR}/.htaccess + done + + # installing some docs + local DOCS="AdminSettings.sample COPYING FAQ HISTORY INSTALL README RELEASE-NOTES UPGRADE" + for DOC in ${DOCS}; do + dodoc "${DOC}" + rm -f "${DOC}" + done + dodoc docs/*.txt + rm -f docs/*.txt + + docinto php-memcached + dodoc docs/php-memcached/* + + # If imagemagick is enabled then setup for image upload. + # We ensure the directory is prepared for writing. The post- + # install instructions guide the user to enable the feature. + if use imagemagick; then + webapp_serverowned ${MY_HTDOCSDIR}/images + fi + + # If we've enabled math USE-flag, install math support. + # We ensure the directories are prepared for writing. The post- + # install instructions guide the user to enable the feature. + if use math; then + einfo "Installing math support" + dodir ${MY_HTDOCSDIR}/math + exeinto ${MY_HTDOCSDIR}/math + doexe math/texvc + + # Docs + docinto math + dodoc math/README math/TODO + + # Working directories. Server writeable. + dodir ${MY_HTDOCSDIR}/images/math + webapp_serverowned ${MY_HTDOCSDIR}/images/math + dodir ${MY_HTDOCSDIR}/images/tmp + webapp_serverowned ${MY_HTDOCSDIR}/images/tmp + fi + + webapp_postinst_txt en ${FILESDIR}/postinstall-1.4-en.txt + webapp_src_install +} |