head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.82 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.80 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.78 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.76 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.74 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.72 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.70 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.68 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.66 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.64 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.62 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.60 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.58 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.56 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.54 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.52 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.50 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.48 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.46 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.44 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.42 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.40 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.38 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.34 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.14 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.36 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.32 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.30 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.28 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.26 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.24 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.22 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.20 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.18 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.16 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.12 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.10 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.8 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.6 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.4 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.2 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.3.0.76 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.74 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.72 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.70 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.68 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.66 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.64 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.62 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.60 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.58 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.56 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.54 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.52 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.50 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.48 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.46 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.44 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.42 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.40 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.38 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.36 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.34 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.32 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.30 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.28 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.26 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.24 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.22 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.20 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.18 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.16 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.14 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.12 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.24 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.22 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.20 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.18 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.16 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.14 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.12 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.0.2 pkgsrc-2003Q4-base:1.1; locks; strict; comment @# @; 1.4 date 2015.12.29.23.34.45; author dholland; state Exp; branches; next 1.3; commitid J5mAcuIF0darSTOy; 1.3 date 2007.01.05.16.48.58; author obache; state Exp; branches; next 1.2; 1.2 date 2004.03.07.21.31.09; author jmmv; state dead; branches; next 1.1; 1.1 date 2003.06.25.20.50.45; author jmc; state Exp; branches; next ; desc @@ 1.4 log @Add patch comments. @ text @$NetBSD: patch-ab,v 1.3 2007/01/05 16:48:58 obache Exp $ Add needed include on NetBSD. --- native/jni/native-lib/cpnet.h.orig 2006-09-08 08:59:57.000000000 +0000 +++ native/jni/native-lib/cpnet.h @@@@ -43,6 +43,9 @@@@ exception statement from your version. * #include #include +#ifdef __NetBSD__ +#include +#endif #include #include @ 1.3 log @Update classpath{,-gui} to 0.93. Patch provided by pancake@@youterm.com in PR 35262. And add patches to build with NetBSD 3. New in release 0.93 (Dec 8, 2006) * CORBA objects that exist on the same virtual machine and only are connected to another ORB are now accessed directly and no longer via network. It is the same feature that RMI implementation provides. These faster calls should be completely transparent, as the parameters are cloned, where required. Currently the direct calls are only possible for the non-deprecated objects that are connected to the ORB via POA. * The 'javah' tool has been added. It requires the ASM library (see asm.objectweb.org); it can be enabled with the --with-asm option to configure * Added the rmi and corbaname URL context factories for JNDI. * Fixes in the JNDI InitialContext now allows to plug-in user implementation. * Removed currentClassLoader method from vm/reference/java/io/ObjectInputStream.java. * Added firstNonNullClassLoader method to vm/reference/gnu/classpath/VMStackWalker.java. VMs are encouraged to provide a more efficient implementation. * Added aton method to vm/reference/java/net/VMInetAddress.java. * NetworkInterface has been implemented for systems that provide the `getifaddrs' function. * java.nio.channels.Selector implementations have been added that use the kqueue notification mechanism on Mac OS X and *BSD, and that use the epoll notification mechanism on Linux 2.6. * java.nio has been refactored to support more non-blocking operations natively. Blocking IO classes have been refactored to call non-blocking classes. Non-blocking accepts, connects, and scatter-gather IO should now be better supported. * HTML support for Swing has been greatly enhanced. Runtime interface changes: * java.net.VMNetworkInterface and java.net.NetworkInterface have been updated to keep native-modified state in the former, and to simplify the native code in our reference implementation. * gnu.java.nio.VMChannel has been expanded to better support native non-blocking IO. Most native state data (such as file descriptor integers) has been abstracted away into private state in the runtime interface. * gnu.java.nio.VMPipe has been similarly changed. * gnu.java.net.VMPlainSocketImpl has been changed to remove some functionality now provided by VMChannel; datagram socket-specific methods have also been moved here, deprecating VMPlainDatagramSocketImpl. * gnu.java.net.VMPlainDatagramSocketImpl removed. New in release 0.92 (Aug 9, 2006) * GConf is used as a backend for java.util.prefs. GNU Classpath thanks to Mario Torre for this contribution! * libjawtgnu.so has been renamed libjawt.so for binary compatibility. libjawt.so should be installed in a VM-specific directory rather than directly in /usr/lib. Proprietary VMs put their libjawt.so implementations in VM-specific directories but search /usr/lib first. If GNU Classpath's libjawt.so is installed in /usr/lib it will create problems for people who use a proprietary VM to run AWT Native Interface applications. * The GdkGraphics2D backend has been made the default. There is no longer an explicit dependency on Cairo, the --enable-gtk-cairo configure option is gone, and GTK 2.8 or higher is now required to build the GTK peers. * A Mozilla plugin, 'gcjwebplugin', is now included. It introduces a dependency on the Mozilla plugin support headers and libraries. * New java implementations of png and gif imageio readers and writers. * A tools.texinfo document has been created and now includes documentation about: * appletviewer * gcjwebplugin * jarsigner * keytool * Several new tools are now included: * appletviewer * jar * native2ascii * serialver * keytool * jarsigner A new configure option --enable-tool-wrappers causes wrapper binaries to be built for VMs that support the JNI Invocation API. * javax.sound.midi providers have been added to read and write standard MIDI files. * A javax.sound.sampled .au and .wav file readers have been added. * New Java Virtual Machine Tool Interface header, jvmti.h. * AWT peers for X Windows based on Escher (a pure java X protocol implementation) have been added. So far it supports AWT 1.1 style Graphics, image loading via ImageIO (PNG, GIF and BMP images in this release), top level components as well as mouse and keyboard input. It is capable of running many Swing applications. Graphics2D and AWT widgets are not yet supported with this peer set. * GConf based util.peers backend (see the --enable-gconf-peer and --enable-default-preferences-peer configure options). * Support for batch importing trusted certificates for use with ssl connections (see script/import-cacerts.sh). * NIO scatter-gather channel support. Runtime interface changes: * A new class, VMURLConnection, is used to implement URLConnection.guessContentTypeFromStream. The reference implementation uses libmagic (and falls back to doing nothing if libmagic is not available). * The method gnu.java.io.PlatformHelper.toCanonicalForm() has been replaced with a JNI implementation of VMFile.toCanonicalForm() for GNU/Posix systems. * A new class, VMRuntimeMXBeanImpl, is used to implement the low-level support of the runtime management bean. VMs should use it to supply the input arguments and start time of the VM. In addition, one of sun.boot.class.path or java.boot.class.path should be defined by the VM to support the optional boot class path access functionality. * The Unsafe class was moved back to the place expected by the JSR 166 reference implementation. We've also added a couple other new VM classes to support the JSR 166 code -- sun.reflect.Reflection and sun.reflect.misc.ReflectUtil. * Another new class, VMClassLoadingMXBeanImpl, is used to implement the low-level support of the class loading management bean. VMs need to supply it with information about how many classes are currently loaded, how many have been unloaded and whether verbose class loading output is on or off. Provision should also be made for the latter to be toggled at runtime. * VMThreadMXBeanImpl is used to implement the low-level support of the thread management bean. Providing this interface requires providing a fair amount of information about threads, including optional time and contention monitoring, and instances of the new ThreadInfo class in java.lang.management. getState() has also been added to the VMThread interface; this is required by the bean as well as java.lang.Thread. * VMMemoryMXBeanImpl is used to implement the low-level support of the memory management bean. Providing this interface requires providing information about the levels of heap and non-heap memory, and the number of objects eligible for garbage collection. * VMCompilationMXBeanImpl is used to allow for optional compilation time support for Just-In-Time compilers. * VMMemoryPoolMXBeanImpl is used to implement the low-level support of the memory pool beans. Providing this interface requires providing memory usage statistics for each supported bean. * VMManagementFactory provides the names of the memory pools, memory managers and garbage collectors maintained by the virtual machine. These are used to create the beans by the ManagementFactory. * VMMemoryManagerMXBeanImpl and VMGarbageCollectorMXBeanImpl provide low-level support for memory managers (including the specific subclass of garbage collecting memory managers). The interfaces for these require no more than enumerating the number of collections and the time spent (for garbage collectors) and a relationship to the memory pools (for all), along with a validity check. @ text @d1 3 a3 1 $NetBSD$ @ 1.2 log @Update to 0.07: New in release 0.07 (2003/30/11) * Works with libtool 1.5 (and 1.4.3). * java.awt gtk+ peers now depend on gtk+ 2.2.x and uses pango. Lots and lots improvements on the peers. * java.awt.geom.CubicCurve2D, java.awt.geom.QuadCurve2D: Subdivision and flatness calculation implemented. * java.awt.geom.FlatteningPathIterator: Working implementation. * gnu.java.awt.BitwiseXORComposite helper class. * New rmic compilers (jikes, kjc) support. * java.text bug fixing and 1.4 updates (Currency). * Hashtable and HashMap function more similar to other implementations. * javax.naming and java.beans classloader fixes. * URL parsing, URLConnection, protocol and (needed) permission fixes. * More java.nio implementation (API complete, but implementation not finished yet). * Lots of java.net code cleanup. * Improved documentation. * Numerous bug fixes in almost every package, and lots of updates for 1.4 functionality. * Fixed Classpath bugs: #2944 Incorrect synchronization in java.util.logging.ErrorManager #6075 java.awt.geom.GeneralPath.getCurrentPoint returns wrong results #6076 java.awt.geom.GeneralPath constructor sometimes hangs #6089 java.awt.geom.GeneralPath.getPathIterator does not work [...] VM Interface changes: * Thread has been split in a VM-independent Thread class and a VM-dependent VMThread class. New in release 0.06 (2003/22/08) * Update java.awt peers to GTK+2. * java.awt.GridBagLayout implementation. * javax.swing.border implementation. * java.security and java.security.cert updated to 1.4 spec. * New JNI native target code layer. See native/target/readme.txt. * --enable-regen-headers configure flag for automatic jni .h file generation. * Removed workaround for gcj 3.2 and lower, gcj 3.3+ or jikes 1.18+ is now needed for compiling. * Lots of improvements and/or new classes for java.awt, java.awt.dnd, java.awt.font, java.awt.geom, java.awt.image, java.io, java.math, java.net, java.nio, java.rmi, java.text, java.util, javax.swing, javax.swing.plaf, javax.swing.text. VM Interface changes: * VMClassLoader.loadClass(), the bootstrap classloader called by Class.forName() and ClassLoader.loadClass(), may now return null when a class is not found instead of throwing a new ClassNotFoundException. This is a performance optimization in some cases. This also changes the Class.forName() reference code. * Native methods in Class have been moved to VMClass. A few additional methods are also available in VMClass to provide optional performance improvements. * A VM can now supply its own String.intern() strategy through the VMString class. The supplied VMString reference class implements the original WeakHashMap strategy. * Float and Double to/from bits conversion functions can now be supplied by the VM through VMFloat and VMDouble. Default JNI conversion methods are supplied. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2003/06/25 20:50:45 jmc Exp $ d3 11 a13 20 --- lib/Makefile.am.orig Sat Feb 1 05:44:14 2003 +++ lib/Makefile.am Wed Jun 25 14:56:02 2003 @@@@ -45,10 +45,10 @@@@ # handling javac definition including programs like jikes here #----------------------------------------------------------------- if FOUND_JIKES -JAVAC = $(JIKES) +F -bootclasspath '' -extdirs '' -sourcepath '' $(ARG_CLASSPATH_JAVAC) $(top_srcdir):$(top_srcdir)/external/jaxp/source:$(top_builddir)/vm/current:.:$(USER_CLASSLIB) -d . @@classes +JAVAC = $(JIKES) +F -bootclasspath '' -extdirs '' -sourcepath '' $(ARG_CLASSPATH_JAVAC) $(top_srcdir):$(top_srcdir)/external/jaxp/jaxp/source:$(top_builddir)/vm/current:.:$(USER_CLASSLIB) -d . @@classes else if FOUND_GCJ -JAVAC = $(GCJ) --bootclasspath '' $(ARG_CLASSPATH_JAVAC) $(top_srcdir):$(top_srcdir)/external/jaxp/source:$(top_builddir)/vm/current:.:$(USER_CLASSLIB) -C -d . @@classes +JAVAC = $(GCJ) --bootclasspath '' $(ARG_CLASSPATH_JAVAC) $(top_srcdir):$(top_srcdir)/external/jaxp/jaxp/source:$(top_builddir)/vm/current:.:$(USER_CLASSLIB) -C -d . @@classes else if FOUND_KJC JAVAC = $(USER_JABBA) $(ARG_CLASSPATH_VM) $(KJC_CLASSPATH):$(USER_CLASSLIB) $(KJC_MAIN) $(ARG_CLASSPATH_JAVAC) .:$(USER_CLASSLIB) -d . @@classes @@@@ -89,6 +89,7 @@@@ if ! [ -e glibj.zip ]; then cp -R java $(DESTDIR)$(pkgdatadir); fi if ! [ -e glibj.zip ]; then cp -R javax $(DESTDIR)$(pkgdatadir); fi if ! [ -e glibj.zip ]; then cp -R org $(DESTDIR)$(pkgdatadir); fi + if [ -e glibj.zip ]; then cp glibj.zip $(DESTDIR)$(pkgdatadir); fi a14 2 # FIXME - should mimic doc/api/Makefile.am instead... uninstall-local: @ 1.1 log @Add some patches to fix some compile/install errors and make sure to actually install the zip file if it's there. @ text @d1 1 a1 1 $NetBSD$ @