Files @ 7f52fc52f33b
Branch filter:

Location: ohnobinki_overlay/dev-java/gcj/gcj-4.3.0_alpha20080313-r1.ebuild

7f52fc52f33b 1.6 KiB application/vnd.gentoo.ebuild Show Annotation Show as Raw Download as Raw
binki
added libgphoto2-2.4.2 with a file listing length increase
A future version (beyond libgphoto2-2.4.3) will have this constant limit fixed: see https://sourceforge.net/tracker2/index.php?func=detail&aid=2055906&group_id=8874&atid=108874
libgphoto2-2.4.3 does not have this fix yet and libgphoto2-2.4.3 has EAPI="2", which requires =portage-2*
Increasing the constant number of images listable is the most practial way of fixing this. For an example, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425515
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Header: $

ECJ_VER="3.4"

inherit gcc-java-2 eutils

DESCRIPTION="The GNU Compiler for the Java(tm) Programming Language"
HOMEPAGE="http://gcc.gnu.org/java/"

LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
SLOT="4.3"

RDEPEND="virtual/libc
	virtual/libiconv
	=dev-java/eclipse-ecj-${ECJ_VER}*
	>=sys-libs/zlib-1.1.4
	>=dev-libs/gmp-4.2.1
	>=dev-libs/mpfr-2.2.0_p10
	!nogtk? ( >=x11-libs/gtk+-2.8
		>=x11-libs/cairo-1.0.2
		x11-libs/pango
		x11-libs/libXt
		x11-libs/libX11
		x11-libs/libXtst
		x11-proto/xproto
		x11-proto/xextproto )
	gconf? ( >=gnome-base/gconf-2.14 )
	>=media-libs/libart_lgpl-2.1
	>=sys-libs/ncurses-5.2-r2
	nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND}
	>=sys-apps/texinfo-4.2-r4
	>=sys-devel/bison-1.875
	>=sys-devel/binutils-2.16.1"

pkg_setup() {
	gcj_pkg_setup
}

src_unpack() {
	gcj_src_unpack
	epatch "${FILESDIR}/classpath_javax.swing.text.PlainView_divide_zero.patch"
}

src_compile() {
	gcj_src_compile
}

pkg_preinst() {
	:;
}

src_install() {
	gcj_src_install

	# copy scripts
	exeinto /usr/bin
	doexe ${FILESDIR}/gcj-config
	doexe ${FILESDIR}/rebuild-classmap-db
}

pkg_postinst() {
	ewarn "This gcj ebuild is provided for your convenience, and the use"
	ewarn "of this JDK replacement is not supported by the Gentoo Developers."
	ewarn
	ewarn "You are on your own using this! If you have any interesting news"
	ewarn "let us know: http://forums.gentoo.org/viewtopic-t-379693.html"

	gcj-config ${P}
}

pkg_prerm() {
	:;
}

pkg_postrm() {
	:;
}