diff options
author | Christian Parpart <trapni@gentoo.org> | 2007-05-01 05:59:19 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2007-05-01 05:59:19 +0000 |
commit | a1b9b82516326d1b9bd8c508e71a11444324f392 (patch) | |
tree | 7dcbd316f640ef506947501ef995db292e1d7205 /www-apps/mediawiki | |
parent | Remove VIDEO_CARDS flags for binary drivers and block binary ati and nvidia d... (diff) | |
download | gentoo-2-a1b9b82516326d1b9bd8c508e71a11444324f392.tar.gz gentoo-2-a1b9b82516326d1b9bd8c508e71a11444324f392.tar.bz2 gentoo-2-a1b9b82516326d1b9bd8c508e71a11444324f392.zip |
version bump
(Portage version: 2.1.2.5)
Diffstat (limited to 'www-apps/mediawiki')
-rw-r--r-- | www-apps/mediawiki/ChangeLog | 8 | ||||
-rw-r--r-- | www-apps/mediawiki/files/digest-mediawiki-1.10.0_rc1 | 3 | ||||
-rw-r--r-- | www-apps/mediawiki/mediawiki-1.10.0_rc1.ebuild | 166 |
3 files changed, 176 insertions, 1 deletions
diff --git a/www-apps/mediawiki/ChangeLog b/www-apps/mediawiki/ChangeLog index fa2d9af3d932..5a6aac29b832 100644 --- a/www-apps/mediawiki/ChangeLog +++ b/www-apps/mediawiki/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-apps/mediawiki # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.80 2007/02/21 15:44:13 tchiwam Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.81 2007/05/01 05:59:19 trapni Exp $ + +*mediawiki-1.10.0_rc1 (01 May 2007) + + 01 May 2007; Christian Parpart <trapni@gentoo.org> + +mediawiki-1.10.0_rc1.ebuild: + version bump to 1.10.0_rc1 *mediawiki-1.9.3 (21 Feb 2007) *mediawiki-1.8.4 (21 Feb 2007) diff --git a/www-apps/mediawiki/files/digest-mediawiki-1.10.0_rc1 b/www-apps/mediawiki/files/digest-mediawiki-1.10.0_rc1 new file mode 100644 index 000000000000..b0171fdb4aa6 --- /dev/null +++ b/www-apps/mediawiki/files/digest-mediawiki-1.10.0_rc1 @@ -0,0 +1,3 @@ +MD5 5dc4d3910c2e2f06ae341fcf56e63a81 mediawiki-1.10.0rc1.tar.gz 4373810 +RMD160 557cb19373a983f840ca84b45a20d4b86ac7dc81 mediawiki-1.10.0rc1.tar.gz 4373810 +SHA256 325fed1fb8adeefda32663c443e356e0e6eea7ad85d90c59070790e629c45b8a mediawiki-1.10.0rc1.tar.gz 4373810 diff --git a/www-apps/mediawiki/mediawiki-1.10.0_rc1.ebuild b/www-apps/mediawiki/mediawiki-1.10.0_rc1.ebuild new file mode 100644 index 000000000000..407a2b6dac5b --- /dev/null +++ b/www-apps/mediawiki/mediawiki-1.10.0_rc1.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.10.0_rc1.ebuild,v 1.1 2007/05/01 05:59:19 trapni Exp $ + +inherit webapp depend.php + +DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" +HOMEPAGE="http://www.mediawiki.org" +SRC_URI="http://download.wikipedia.org/mediawiki/1.10/${P/_/}.tar.gz" +#SRC_URI="mirror://sourceforge/wikipedia/${P/_/}.tar.gz" +RESTRICT="nomirror" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="imagemagick math mysql postgres restrict" + +S="${WORKDIR}/${P/.0_/}" + +DEPEND="math? ( >=dev-lang/ocaml-3.0.6 )" + +RDEPEND=" + >=dev-lang/php-5.1.4-r6 + math? ( + virtual/tetex + virtual/ghostscript + media-gfx/imagemagick + ) + imagemagick? ( + media-gfx/imagemagick + ) +" + +need_php + +pkg_setup() { + webapp_pkg_setup + require_php_with_use pcre session + if use mysql ; then + require_php_with_use mysql + fi + if use postgres ; then + require_php_with_use postgres + fi + require_gd +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/jobindexlength-mysql.patch + if use restrict ; then + epatch ${FILESDIR}/access_restrict.patch + fi +} + +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=( + "bin" + "config" + "extensions" + "images" + "includes" + "includes/api" + "includes/cbt" + "includes/media" + "includes/normal" + "includes/templates" + "includes/zhtable" + "languages" + "languages/classes" + "languages/messages" + "locale" + "maintenance" + "maintenance/archives" + "maintenance/dtrace" + "maintenance/language" + "maintenance/ora" + "maintenance/postgres" + "maintenance/postgres/archives" + "maintenance/storage" + "serialized" + "skins" + "skins/chick" + "skins/common" + "skins/common/images" + "skins/common/images/icons" + "skins/disabled" + "skins/htmldump" + "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.5-en.txt + webapp_src_install +} |