diff options
author | Vlastimil Babka <caster@gentoo.org> | 2008-04-03 19:40:30 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2008-04-03 19:40:30 +0000 |
commit | a483c97c8602b3149ac30a773312c48b52759e64 (patch) | |
tree | 85e07baecc3962a188dae5128ab132d688c1eed1 /dev-java/swt | |
parent | Add ~sparc wrt #214957 (diff) | |
download | gentoo-2-a483c97c8602b3149ac30a773312c48b52759e64.tar.gz gentoo-2-a483c97c8602b3149ac30a773312c48b52759e64.tar.bz2 gentoo-2-a483c97c8602b3149ac30a773312c48b52759e64.zip |
Revbump to change slot to 3.4 so that eclipse-3.3 still works, bug #241012. Swt 3.4_pre6 in slot 3 has to be downgraded or uninstalled first. Add x11-proto/inputproto to DEPEND, bug #215998.
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-java/swt')
-rw-r--r-- | dev-java/swt/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/swt/swt-3.4_pre6-r1.ebuild (renamed from dev-java/swt/swt-3.4_pre6.ebuild) | 21 |
2 files changed, 23 insertions, 8 deletions
diff --git a/dev-java/swt/ChangeLog b/dev-java/swt/ChangeLog index ec43ed47f509..6bd14e82d20e 100644 --- a/dev-java/swt/ChangeLog +++ b/dev-java/swt/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/swt # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/ChangeLog,v 1.85 2008/04/03 09:35:34 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/ChangeLog,v 1.86 2008/04/03 19:40:30 caster Exp $ + +*swt-3.4_pre6-r1 (03 Apr 2008) + + 03 Apr 2008; Vlastimil Babka <caster@gentoo.org> -swt-3.4_pre6.ebuild, + +swt-3.4_pre6-r1.ebuild: + Revbump to change slot to 3.4 so that eclipse-3.3 still works, bug + #241012. Swt 3.4_pre6 in slot 3 has to be downgraded or uninstalled first. + Add x11-proto/inputproto to DEPEND, bug #215998. 03 Apr 2008; Vlastimil Babka <caster@gentoo.org> swt-3.4_pre6.ebuild: Add a pkg_postinst elog about possibility of having to run eclipse-3.3 diff --git a/dev-java/swt/swt-3.4_pre6.ebuild b/dev-java/swt/swt-3.4_pre6-r1.ebuild index efe8df5db688..befec9bd6eb9 100644 --- a/dev-java/swt/swt-3.4_pre6.ebuild +++ b/dev-java/swt/swt-3.4_pre6-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.4_pre6.ebuild,v 1.2 2008/04/03 09:35:34 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-3.4_pre6-r1.ebuild,v 1.1 2008/04/03 19:40:30 caster Exp $ EAPI="1" @@ -25,7 +25,7 @@ SRC_URI="x86? ( http://${MY_DMF}/${MY_P}-gtk-linux-ppc.zip )" -SLOT="3" +SLOT="3.4" LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1" KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" @@ -61,6 +61,7 @@ DEPEND=">=virtual/jdk-1.4 x11-libs/libXrender x11-libs/libXt x11-proto/xextproto + x11-proto/inputproto ${COMMON}" RDEPEND=">=virtual/jre-1.4 @@ -69,6 +70,17 @@ RDEPEND=">=virtual/jre-1.4 S="${WORKDIR}" +pkg_setup() { + java-pkg-2_pkg_setup + # We cannot use slotmove, java packages are expected to be in /usr/share/PN-SLOT + # so this is the only way to prevent collisions + if has_version =dev-java/swt-3.4_pre6; then + elog "Please uninstall or downgrade dev-java/swt-3.4_pre6 first" + elog "before installing this version." + die "Please uninstall or downgrade dev-java/swt-3.4_pre6" + fi +} + src_unpack() { local DISTFILE="${A}" unzip -jq "${DISTDIR}"/${DISTFILE} "*src.zip" || die "unable to extract distfile" @@ -213,8 +225,3 @@ src_install() { dohtml about.html || die } - -pkg_postinst() { - elog "In case this swt upgrade prevents your eclipse-3.3 from starting," - elog "try running it once with -clean parameter: 'eclipse-3.3 -clean'" -} |