the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: gclasspath
Version: 0.97.2
Revision: 1
Distribution: 10.4, 10.5
Architecture: powerpc, i386
Description: Essential libraries for Java
License: GPL
Maintainer: Trevor Harmon
# The gcc43 dependency is an anomaly; see DescPackaging
Depends: libiconv, system-java (>= 1.5), gcc43 (>= 4.3.2), gconf2-shlibs (>= 2.6.0), gtk+2-shlibs (>= 2.8), glib2-shlibs (>= 2.18.2), pango1-xft2-ft219-shlibs (>= 1.22.0-4), atk1-shlibs (>= 1.24.0-1), orbit2 (>= 2.14.16-2), dbus-shlibs (>= 1.2.6-1), libgettext3-shlibs, cairo-shlibs (>= 1.8.4-1), glitz-shlibs (>= 0.5.6-3), pixman-shlibs (>= 0.12.0-1), libpng3-shlibs (>= 1:1.2.33-1), freetype219-shlibs (>=2.3.7-7), fontconfig2-shlibs (>= 2.4.1), expat1-shlibs (>= 2.0.1-1)
BuildDepends: classpath (= 0.97.2-1),libiconv-dev, ecj (>= 3.2.2), system-java-dev (>= 1.4), fink (>= 0.28), gconf2-dev (>= 2.6.0), gtk+2-dev (>= 2.8), glib2-dev (>= 2.18.2), pango1-xft2-ft219-dev (>= 1.22.0-4), atk1 (>= 1.24.0-1), orbit2-dev (>= 2.14.16-2), dbus-dev (>= 1.2.6-1), libgettext3-dev, cairo (>=1.8.4-1), glitz (>= 0.5.6-3), pixman (>= 0.12.0-1), libpng3 (>= 1:1.2.33-1), freetype219 (>= 2.3.7-7), fontconfig2-dev (>= 2.4.1), expat1 (>= 2.0.1-1)
# AKH classpath-0.97-2-1 is a dummy upgrade package to get rid of overlapping files between the
# prior classpath package and gcc43.
Conflicts: classpath (<< 0.97.2-1)
Replaces: classpath (<< 0.97.2-1)
# classpath includes header files and a dylib, but it's not BuildDependsOnly
BuildDependsOnly: false
ConfigureParams: --disable-dependency-tracking --disable-plugin --infodir=%p/share/info --with-ecj-jar=%p/share/java/ecj/ecj.jar --with-vm=java --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
InstallScript: <<
make install DESTDIR=%d
# Do not install these files; see DescPackaging
rm -f %i/bin/grmic
rm -f %i/bin/grmiregistry
rm -f %i/share/info/cp-tools.info
rm -f %i/share/man/man1/gappletviewer.1
rm -f %i/share/man/man1/gcjh.1
rm -f %i/share/man/man1/gjar.1
rm -f %i/share/man/man1/gjarsigner.1
rm -f %i/share/man/man1/gjavah.1
rm -f %i/share/man/man1/gkeytool.1
rm -f %i/share/man/man1/gnative2ascii.1
rm -f %i/share/man/man1/gorbd.1
rm -f %i/share/man/man1/grmid.1
rm -f %i/share/man/man1/grmiregistry.1
rm -f %i/share/man/man1/gserialver.1
rm -f %i/share/man/man1/gtnameserv.1
# Remove the class packages; they will be installed using the JarFiles field
rm -f %i/share/glibj.zip
rm -f %i/share/tools.zip
<<
Source: mirror:gnu:classpath/classpath-%v.tar.gz
Source-MD5: 6a35347901ace03c31cc49751b338f31
# classpath includes some dylibs, but these are used by classpath itself and are
# not intended to be shared. Therefore, a -shlibs SplitOff isn't necessary.
Shlibs: <<
!%p/lib/classpath/libgconfpeer.dylib
!%p/lib/classpath/libgtkpeer.dylib
!%p/lib/classpath/libjavaio.0.dylib
!%p/lib/classpath/libjavalang.0.dylib
!%p/lib/classpath/libjavalangmanagement.0.dylib
!%p/lib/classpath/libjavalangreflect.0.dylib
!%p/lib/classpath/libjavanet.0.dylib
!%p/lib/classpath/libjavanio.0.dylib
!%p/lib/classpath/libjavautil.0.dylib
!%p/lib/classpath/libjawt.dylib
<<
JarFiles: lib/glibj.zip:glibj.jar tools/tools.zip:tools.jar
DocFiles: AUTHORS BUGS COPYING ChangeLog HACKING INSTALL LICENSE NEWS README THANKYOU TODO
# Cannot install cp-tools.info due to gcc43 conflict (see DescPackaging)
InfoDocs: cp-hacking.info cp-vmintegration.info
Homepage: http://www.gnu.org/software/classpath/classpath.html
DescDetail: <<
GNU Classpath, Essential Libraries for Java, is a GNU project to create free
core class libraries for use with virtual machines and compilers for the Java
programming language.
<<
DescPackaging: <<
The package is called "gclasspath" instead of "classpath" because Fink has a
bug preventing packages that install JAR files from being called "classpath."
See: http://article.gmane.org/gmane.os.apple.fink.devel/17181
The ConfigureParams field disables web browser plugin integration. If enabled,
pkg-config reports that it can find none of the following: mozilla-plugin,
firefox-plugin, xulrunner-plugin, mozilla-firefox-plugin, seamonkey-plugin,
and iceape-plugin. While it may be possible to support these in Fink, I'm not
sure how.
The ConfigureParams field also sets the infodir parameter to prevent Classpath
from installing files into the deprecated %p/info directory. Note that to get
this to work, the DESTDIR parameter also had to be set in the InstallScript.
The gcc43 package includes some Classpath files that are redundant with and
conflict with this package. For example, gcc43 installs grmic and grmiregistry
into %p/bin. As a workaround, this package simply avoids installing these
files and instead requires gcc43 to be installed. Therefore, gcc43 is listed as
a dependency even though this package does not actually depend on it. (gcc43
should be fixed so that it does not install Classpath files.)
This is a one-time build, so the disable-dependency-tracking parameter is added
to speed up compilation.
<<