diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/gnu-classpath | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/gnu-classpath')
-rw-r--r-- | dev-java/gnu-classpath/Manifest | 1 | ||||
-rw-r--r-- | dev-java/gnu-classpath/files/gnu-classpath-0.98-r3-freetype-2.5.3-support.patch | 32 | ||||
-rw-r--r-- | dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild | 115 | ||||
-rw-r--r-- | dev-java/gnu-classpath/metadata.xml | 17 |
4 files changed, 165 insertions, 0 deletions
diff --git a/dev-java/gnu-classpath/Manifest b/dev-java/gnu-classpath/Manifest new file mode 100644 index 000000000000..7a69675cd973 --- /dev/null +++ b/dev-java/gnu-classpath/Manifest @@ -0,0 +1 @@ +DIST classpath-0.98.tar.gz 11021342 SHA256 501b5acd4dff79b6100da22cef15080f31071821ce3cea6f1b739bc1b56fac3f SHA512 0d98f87cd78c166d566ecd8d0372f2d6cdf422e8c4c806ca01d3a77dafbdd80ee936de78a2c5d4226174027efdc053fe92669514bdd8acb3290a7b3ec002d31f WHIRLPOOL 1248288af3821fedae226852da41b1a176e0c03f83f95b7e7a123655e3b588f4b1716274aebd1b728b11a63e35c820994bce0293b4bed6ea8837dabb0bf90c7e diff --git a/dev-java/gnu-classpath/files/gnu-classpath-0.98-r3-freetype-2.5.3-support.patch b/dev-java/gnu-classpath/files/gnu-classpath-0.98-r3-freetype-2.5.3-support.patch new file mode 100644 index 000000000000..42828e2a4b8f --- /dev/null +++ b/dev-java/gnu-classpath/files/gnu-classpath-0.98-r3-freetype-2.5.3-support.patch @@ -0,0 +1,32 @@ +--- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c.orig 2014-03-18 10:35:50.904133661 +0100 ++++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c 2014-03-18 10:37:03.808131298 +0100 +@@ -42,8 +42,9 @@ + #include <pango/pango.h> + #include <pango/pangoft2.h> + #include <pango/pangofc-font.h> +-#include <freetype/ftglyph.h> +-#include <freetype/ftoutln.h> ++#include <ft2build.h> ++#include FT_GLYPH_H ++#include FT_OUTLINE_H + #include "jcl.h" + #include "gdkfont.h" + #include "gnu_java_awt_peer_gtk_FreetypeGlyphVector.h" +--- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c.orig 2014-03-18 10:37:12.048131031 +0100 ++++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 2014-03-18 10:37:58.416129528 +0100 +@@ -39,10 +39,11 @@ + #include <pango/pango.h> + #include <pango/pangoft2.h> + #include <pango/pangofc-font.h> +-#include <freetype/ftglyph.h> +-#include <freetype/ftoutln.h> +-#include <freetype/fttypes.h> +-#include <freetype/tttables.h> ++#include <ft2build.h> ++#include FT_GLYPH_H ++#include FT_OUTLINE_H ++#include FT_TYPES_H ++#include FT_TRUETYPE_TABLES_H + #include "gdkfont.h" + #include "gtkpeer.h" + #include "gnu_java_awt_peer_gtk_GdkFontPeer.h"
\ No newline at end of file diff --git a/dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild b/dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild new file mode 100644 index 000000000000..f3d5757c64e2 --- /dev/null +++ b/dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils java-pkg-2 multilib + +MY_P=${P/gnu-/} +DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java language" +SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/classpath" + +LICENSE="GPL-2-with-linking-exception" +SLOT="0.98" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" + +IUSE="alsa debug doc dssi examples gconf gjdoc gmp gtk gstreamer qt4 xml" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + doc? ( >=dev-java/gjdoc-0.7.9-r2 ) + dssi? ( >=media-libs/dssi-0.9 ) + gconf? ( gnome-base/gconf ) + gjdoc? ( >=dev-java/antlr-2.7.1:0 ) + gmp? ( >=dev-libs/gmp-4.2.4 ) + gstreamer? ( + >=media-libs/gstreamer-0.10.10:0.10 + >=media-libs/gst-plugins-base-0.10.10:0.10 + x11-libs/gtk+:2 + ) + gtk? ( + >=x11-libs/gtk+-2.8:2 + >=dev-libs/glib-2.0 + media-libs/freetype + >=x11-libs/cairo-1.1.9 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango + ) + qt4? ( dev-qt/qtgui:4 ) + xml? ( >=dev-libs/libxml2-2.6.8 >=dev-libs/libxslt-1.1.11 )" + +# java-config >2.1.11 needed for ecj version globbing +# We should make the build not pickup the wrong antlr binary from pccts +DEPEND="app-arch/zip + dev-java/eclipse-ecj + >=dev-java/java-config-2.1.11 + gjdoc? ( !!dev-util/pccts ) + gtk? ( + x11-libs/libXrender + || ( >=x11-libs/libXtst-1.1.0 <x11-proto/xextproto-7.1 ) + x11-proto/xproto + ) + >=virtual/jdk-1.5 + ${RDEPEND}" + +RDEPEND=">=virtual/jre-1.5 + ${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +java_prepare() { + epatch "${FILESDIR}"/${PF}-freetype-2.5.3-support.patch +} + +src_configure() { + # We require ecj anyway, so force it to avoid problems with bad versions of javac + export JAVAC="${EPREFIX}/usr/bin/ecj" + export JAVA="${EPREFIX}/usr/bin/java" + # build takes care of them itself, duplicate -source -target kills ecj + export JAVACFLAGS="-nowarn" + # build system is passing -J-Xmx768M which ecj however ignores + # this will make the ecj launcher do it (seen case where default was not enough heap) + export gjl_java_args="-Xmx768M" + + # don't use econf, because it ends up putting things under /usr, which may + # collide with other slots of classpath + local myconf + if use gjdoc; then + local antlr=$(java-pkg_getjar antlr antlr.jar) + myconf="--with-antlr-jar=${antlr}" + fi + + ANTLR= ./configure \ + $(use_enable alsa) \ + $(use_enable debug ) \ + $(use_enable examples) \ + $(use_enable gconf gconf-peer) \ + $(use_enable gjdoc) \ + $(use_enable gmp) \ + $(use_enable gtk gtk-peer) \ + $(use_enable gstreamer gstreamer-peer) \ + $(use_enable qt4 qt-peer) \ + $(use_enable xml xmlj) \ + $(use_enable dssi ) \ + $(use_with doc gjdoc) \ + --enable-jni \ + --disable-dependency-tracking \ + --disable-plugin \ + --host=${CHOST} \ + --prefix="${EPREFIX}"/usr/${PN}-${SLOT} \ + --with-ecj-jar=$(java-pkg_getjar --build-only eclipse-ecj-* ecj.jar) \ + --disable-Werror \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO + java-pkg_regjar /usr/${P}/share/classpath/glibj.zip +} diff --git a/dev-java/gnu-classpath/metadata.xml b/dev-java/gnu-classpath/metadata.xml new file mode 100644 index 000000000000..4feb4c23be56 --- /dev/null +++ b/dev-java/gnu-classpath/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <use> + <flag name="alsa">Build with ALSA javax.sound.midi provider</flag> + <flag name="dssi">Build with DSSI javax.sound.midi provider</flag> + <flag name="gconf">Build with GConf preferences backend</flag> + <flag name="gmp">Build with GMP backend for java.math.BigInteger</flag> + <flag name="gjdoc">Build GJDoc, a documentation generator</flag> + <flag name="gtk">Build with Gtk+ AWT peers</flag> + <flag name="gstreamer">Build with GStreamer javax.sound.sampler provider</flag> + <flag name="qt4">Build with Qt4 AWT peers</flag> + <flag name="xml">Build with native XML backend</flag> + </use> +</pkgmetadata> + |