diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-12-16 21:10:16 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-12-16 21:10:16 +0000 |
commit | a44c73dbd8c07178837c265be9ef244ad172fe28 (patch) | |
tree | 52df26312e9ab6f718de1cd0441c086934f80a3f /dev-java | |
parent | Add odbc USE flag and revdep-rebuild control file for bug #177925, tweak the ... (diff) | |
download | gentoo-2-a44c73dbd8c07178837c265be9ef244ad172fe28.tar.gz gentoo-2-a44c73dbd8c07178837c265be9ef244ad172fe28.tar.bz2 gentoo-2-a44c73dbd8c07178837c265be9ef244ad172fe28.zip |
Add odbc USE flag and revdep-rebuild control file for bug #177925, tweak the deps.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sun-jdk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild | 32 | ||||
-rw-r--r-- | dev-java/sun-jdk/sun-jdk-1.5.0.13.ebuild | 29 | ||||
-rw-r--r-- | dev-java/sun-jdk/sun-jdk-1.6.0.03.ebuild | 31 |
4 files changed, 35 insertions, 64 deletions
diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog index 2ae971e60155..ac586b9067bb 100644 --- a/dev-java/sun-jdk/ChangeLog +++ b/dev-java/sun-jdk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/sun-jdk # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.221 2007/11/25 13:51:01 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.222 2007/12/16 21:10:16 caster Exp $ + + 16 Dec 2007; Vlastimil Babka <caster@gentoo.org> sun-jdk-1.4.2.16.ebuild, + sun-jdk-1.5.0.13.ebuild, sun-jdk-1.6.0.03.ebuild: + Add odbc USE flag and revdep-rebuild control file for bug #177925, tweak the + deps. 25 Nov 2007; Vlastimil Babka <caster@gentoo.org> sun-jdk-1.4.2.16.ebuild, sun-jdk-1.5.0.13.ebuild, sun-jdk-1.6.0.03.ebuild: diff --git a/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild b/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild index bb0e630ae919..215348a2a11a 100644 --- a/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild +++ b/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild,v 1.5 2007/11/25 13:51:01 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.4.2.16.ebuild,v 1.6 2007/12/16 21:10:16 caster Exp $ JAVA_SUPPORTS_GENERATION_1="true" inherit pax-utils java-vm-2 eutils @@ -22,21 +22,23 @@ LICENSE="sun-bcla-java-vm" KEYWORDS="x86" # files are prestripped RESTRICT="fetch strip" -IUSE="X alsa doc examples nsplugin jce" +IUSE="X alsa doc examples jce nsplugin odbc" DEPEND="sys-apps/sed app-arch/unzip" -RDEPEND="alsa? ( media-libs/alsa-lib ) +RDEPEND="net-libs/libnet + alsa? ( media-libs/alsa-lib ) doc? ( =dev-java/java-sdk-docs-1.4.2* ) X? ( - x11-libs/libX11 x11-libs/libXext x11-libs/libXi x11-libs/libXp - x11-libs/libXt x11-libs/libXtst - )" + x11-libs/libXt + x11-libs/libX11 + ) + odbc? ( dev-db/unixODBC )" JAVA_PROVIDE="jdbc-stdext" @@ -108,7 +110,7 @@ src_install() { # the heap by the JIT compiler. pax-mark srpm $(list-paxables "${D}"/opt/${P}/{,/jre}/bin/*) - dodoc COPYRIGHT README LICENSE THIRDPARTYLICENSEREADME.txt || die + dodoc COPYRIGHT README THIRDPARTYLICENSEREADME.txt || die dohtml README.html || die if use examples; then cp -pPR demo "${D}/opt/${P}/" || die @@ -162,19 +164,5 @@ src_install() { domenu "${T}/sun_java-${SLOT}.desktop" set_java_env -} - -pkg_postinst() { - # Set as default VM if none exists - java-vm-2_pkg_postinst - - if ! use X; then - ewarn "Some parts of Sun's JDK require X11 libraries to be installed." - ewarn "Be careful which Java libraries you attempt to use." - fi - elog "Starting with 1.4.2.14 the src.zip is installed to the standard" - elog "location only (/opt/${P}/) and not /opt/${P}/share/" - elog "as we used to. See https://bugs.gentoo.org/show_bug.cgi?id=2241 and" - elog "http://java.sun.com/j2se/1.4.2/docs/tooldocs/linux/jdkfiles.html" - elog "for more details." + java-vm_revdep-mask } diff --git a/dev-java/sun-jdk/sun-jdk-1.5.0.13.ebuild b/dev-java/sun-jdk/sun-jdk-1.5.0.13.ebuild index 683012fbc446..432b8f4cd143 100644 --- a/dev-java/sun-jdk/sun-jdk-1.5.0.13.ebuild +++ b/dev-java/sun-jdk/sun-jdk-1.5.0.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.5.0.13.ebuild,v 1.4 2007/11/25 13:51:01 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.5.0.13.ebuild,v 1.5 2007/12/16 21:10:16 caster Exp $ inherit versionator java-vm-2 eutils pax-utils @@ -17,7 +17,7 @@ SLOT="1.5" LICENSE="dlj-1.1" KEYWORDS="amd64 x86" RESTRICT="strip" -IUSE="X alsa doc examples jce nsplugin" +IUSE="X alsa doc examples jce nsplugin odbc" QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/motif21/libmawt.so opt/${P}/jre/lib/i386/libdeploy.so" @@ -25,18 +25,19 @@ DEPEND=" doc? ( =dev-java/java-sdk-docs-1.5.0* ) jce? ( =dev-java/sun-jce-bin-1.5.0* )" -RDEPEND=" +RDEPEND="x86? ( net-libs/libnet ) sys-libs/glibc alsa? ( media-libs/alsa-lib ) doc? ( =dev-java/java-sdk-docs-1.5.0* ) X? ( - x11-libs/libX11 x11-libs/libXext x11-libs/libXi x11-libs/libXp - x11-libs/libXt x11-libs/libXtst - )" + x11-libs/libXt + x11-libs/libX11 + ) + odbc? ( dev-db/unixODBC )" S="${WORKDIR}/jdk$(replace_version_separator 3 _)" @@ -117,27 +118,13 @@ src_install() { newins "${FILESDIR}"/fontconfig.Gentoo.properties fontconfig.properties set_java_env + java-vm_revdep-mask } pkg_postinst() { # Set as default VM if none exists java-vm-2_pkg_postinst - if ! use X; then - local xwarn="X11 libraries and/or" - fi - - echo - ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed." - ewarn "Be careful which Java libraries you attempt to use." - - echo - elog " Be careful: ${P}'s Java compiler uses" - elog " '-source 1.5' as default. Some keywords such as 'enum'" - elog " are not valid identifiers any more in that mode," - elog " which can cause incompatibility with certain sources." - - echo elog "Beginning with 1.5.0.10 the hotspot vm can use epoll" elog "The epoll-based implementation of SelectorProvider is not selected by" elog "default." diff --git a/dev-java/sun-jdk/sun-jdk-1.6.0.03.ebuild b/dev-java/sun-jdk/sun-jdk-1.6.0.03.ebuild index 0bcf3d41d57e..885c08443f0b 100644 --- a/dev-java/sun-jdk/sun-jdk-1.6.0.03.ebuild +++ b/dev-java/sun-jdk/sun-jdk-1.6.0.03.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.6.0.03.ebuild,v 1.4 2007/11/25 13:51:01 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.6.0.03.ebuild,v 1.5 2007/12/16 21:10:16 caster Exp $ inherit versionator java-vm-2 eutils pax-utils @@ -22,7 +22,7 @@ SLOT="1.6" LICENSE="dlj-1.1" KEYWORDS="amd64 x86" RESTRICT="strip" -IUSE="X alsa doc examples jce nsplugin" +IUSE="X alsa doc examples jce nsplugin odbc" QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/motif21/libmawt.so opt/${P}/jre/lib/i386/libdeploy.so @@ -35,16 +35,21 @@ DEPEND=" RDEPEND=" ${DEPEND} - x86? ( =virtual/libstdc++-3.3 ) + x86? ( + =virtual/libstdc++-3.3 + net-libs/libnet + ) sys-libs/glibc alsa? ( media-libs/alsa-lib ) X? ( - x11-libs/libX11 x11-libs/libXext x11-libs/libXi x11-libs/libXp x11-libs/libXtst - )" + amd64? ( x11-libs/libXt ) + x11-libs/libX11 + ) + odbc? ( dev-db/unixODBC )" JAVA_PROVIDE="jdbc-stdext jdbc-rowset" @@ -123,27 +128,13 @@ src_install() { newins "${FILESDIR}"/fontconfig.Gentoo.properties fontconfig.properties set_java_env + java-vm_revdep-mask } pkg_postinst() { # Set as default VM if none exists java-vm-2_pkg_postinst - if ! use X; then - local xwarn="X11 libraries and/or" - fi - - echo - ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed." - ewarn "Be careful which Java libraries you attempt to use." - - echo - elog " Be careful: ${P}'s Java compiler uses" - elog " '-source 1.6' as default. Some keywords such as 'enum'" - elog " are not valid identifiers any more in that mode," - elog " which can cause incompatibility with certain sources." - - echo elog "Beginning with 1.5.0.10 the hotspot vm can use epoll" elog "The epoll-based implementation of SelectorProvider is not selected by" elog "default." |