Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Alistair Bush (ali_bush)" <ali_bush@g.o>
Subject: gentoo-x86 commit in dev-java/freemarker: ChangeLog freemarker-2.3.10-r1.ebuild
Date: Sat, 01 Mar 2008 02:36:40 +0000
ali_bush    08/03/01 02:36:40

  Modified:             ChangeLog
  Added:                freemarker-2.3.10-r1.ebuild
  Log:
  Bump freemarker with patch to support latest jython version. see #211503 and #106239
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.18                 dev-java/freemarker/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/freemarker/ChangeLog?rev=1.18&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/freemarker/ChangeLog?rev=1.18&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/freemarker/ChangeLog?r1=1.17&r2=1.18

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/freemarker/ChangeLog,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- ChangeLog	21 Jan 2008 11:06:50 -0000	1.17
+++ ChangeLog	1 Mar 2008 02:36:39 -0000	1.18
@@ -1,6 +1,13 @@
 # ChangeLog for dev-java/freemarker
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/ChangeLog,v 1.17 2008/01/21 11:06:50 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/ChangeLog,v 1.18 2008/03/01 02:36:39 ali_bush Exp $
+
+*freemarker-2.3.10-r1 (01 Mar 2008)
+
+  01 Mar 2008; Alistair Bush <ali_bush@g.o>
+  +files/freemarker-jython-2.2.patch, +freemarker-2.3.10-r1.ebuild:
+  Bump freemarker with patch to support latest jython version. see #211503 and
+  #106239
 
   21 Jan 2008; Krzysiek Pawlik <nelchael@g.o>
   +files/freemarker-2.3.10-gentoo.patch, +freemarker-2.3.10.ebuild:



1.1                  dev-java/freemarker/freemarker-2.3.10-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/freemarker/freemarker-2.3.10-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/freemarker/freemarker-2.3.10-r1.ebuild?rev=1.1&content-type=text/plain

Index: freemarker-2.3.10-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/freemarker-2.3.10-r1.ebuild,v 1.1 2008/03/01 02:36:39 ali_bush Exp $

JAVA_PKG_IUSE="doc source"
WANT_ANT_TASKS="ant-nodeps"

inherit java-pkg-2 java-ant-2 eutils

DESCRIPTION=" FreeMarker is a template engine; a generic tool to generate text output based on templates."
HOMEPAGE="http://freemarker.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="freemarker"
SLOT="2.3"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

COMMON_DEP="dev-java/javacc
	>=dev-java/jython-2.2.1
	=dev-java/servletapi-2.3*
	=dev-java/jaxen-1.1*"

DEPEND=">=virtual/jdk-1.4
	${COMMON_DEP}"
RDEPEND=">=virtual/jre-1.4
	${COMMON_DEP}"

src_unpack() {

	unpack ${A}

	cd "${S}"
	epatch "${FILESDIR}/${P}-gentoo.patch"
	#If you remove this patch, remove the postinst function.
	epatch "${FILESDIR}/${PN}-jython-2.2.patch"

	cd "${S}/lib/"
	rm -f *.jar

	rm -f "${S}/src/freemarker/testcase/servlets/WEB-INF/taglib2.jar"
	rm -f "${S}/src/freemarker/testcase/servlets/WEB-INF/lib/taglib-foo.jar"

}

src_compile() {

	# BIG FAT WARNING:
	# clean target removes lib/ directory!!
	eant clean

	mkdir lib/
	cd lib/
	java-pkg_jar-from servletapi-2.3
	java-pkg_jar-from jaxen-1.1
	java-pkg_jar-from jython

	cd "${S}"
	eant jar $(use_doc) -Djavacc.home=/usr/share/javacc/lib
}

src_install() {

	java-pkg_dojar lib/${PN}.jar
	dodoc README.txt || die

	use doc && java-pkg_dojavadoc build/api
	use source && java-pkg_dosrc src/*
}

pkg_postinst() {
	elog "This version of freemarker has been patched to allow use with"
	elog ">=dev-java/jython-2.2.1.  This patch breaks compatibility with"
	elog "the upstream supported jython-2.1.  Please be aware of this before"
	elog "using and file bugs at https://bugs.gentoo.org, not upstream."
}



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in sys-kernel/vanilla-sources: ChangeLog vanilla-sources-2.6.17.14.ebuild vanilla-sources-2.4.34.1.ebuild vanilla-sources-2.6.16.19.ebuild
Next by thread:
gentoo-x86 commit in dev-java/freemarker: ChangeLog freemarker-2.3.10-r1.ebuild
Previous by date:
gentoo-x86 commit in sys-kernel/vanilla-sources: ChangeLog vanilla-sources-2.6.17.14.ebuild vanilla-sources-2.4.34.1.ebuild vanilla-sources-2.6.16.19.ebuild
Next by date:
gentoo-x86 commit in dev-java/freemarker/files: freemarker-jython-2.2.patch


Updated Jun 08, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.