debian/0000755000000000000000000000000012204663275007175 5ustar debian/patches/0000755000000000000000000000000012204663517010623 5ustar debian/patches/MacOSX.patch0000644000000000000000000000232712204663511012734 0ustar diff -ur jeuclid-3.1.9.orig/jeuclid-mathviewer/src/main/java/net/sourceforge/jeuclid/app/mathviewer/MathViewer.java jeuclid-3.1.9/jeuclid-mathviewer/src/main/java/net/sourceforge/jeuclid/app/mathviewer/MathViewer.java --- jeuclid-3.1.9.orig/jeuclid-mathviewer/src/main/java/net/sourceforge/jeuclid/app/mathviewer/MathViewer.java 2010-02-12 15:10:32.000000000 +0100 +++ jeuclid-3.1.9/jeuclid-mathviewer/src/main/java/net/sourceforge/jeuclid/app/mathviewer/MathViewer.java 2011-11-19 14:21:49.939037763 +0100 @@ -86,13 +86,13 @@ public void run() { final MainFrame mainFrame = new MainFrame(); mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); - if (MathViewer.OSX) { +/* if (MathViewer.OSX) { final Application a = Application.getApplication(); a.setEnabledAboutMenu(true); a.setEnabledPreferencesMenu(true); a.addApplicationListener(new MainFrameAppListener( mainFrame)); - } + }*/ if (MathViewer.source != null) { mainFrame.loadFile(MathViewer.source); } debian/patches/AppleJavaExtensions.patch0000644000000000000000000002453012204663511015565 0ustar --- jeuclid-3.1.1.orig/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationAdapter.java 1970-01-01 01:00:00.000000000 +0100 +++ jeuclid-3.1.1/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationAdapter.java 2008-08-15 19:46:42.000000000 +0200 @@ -0,0 +1,36 @@ +/* + * Sun Public License Notice + * + * The contents of this file are subject to the Sun Public License + * Version 1.0 (the "License"). You may not use this file except in + * compliance with the License. A copy of the License is available at + * http://www.sun.com/ + * + * The Original Code is NetBeans. The Initial Developer of the Original + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun + * Microsystems, Inc. All Rights Reserved. + */ + +/* this is stub code written based on Apple EAWT package javadoc +published at + * http://developer.apple.com. It makes compiling code which uses Apple +EAWT + * on non-Mac platforms possible. The compiled stub classes should +never be + * included in the final product. + */ + +package com.apple.eawt; + +public class ApplicationAdapter { + public void handleAbout(ApplicationEvent event) {} + public void handleOpenApplication(ApplicationEvent event) {} + public void handleOpenFile(ApplicationEvent event) {} + public void handlePreferences(ApplicationEvent event) {} + public void handlePrintFile(ApplicationEvent event) {} + public void handleQuit(ApplicationEvent event) {} + public void handleReOpenApplication(ApplicationEvent event) {} +} + + + --- jeuclid-3.1.1.orig/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationBeanInfo.java 1970-01-01 01:00:00.000000000 +0100 +++ jeuclid-3.1.1/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationBeanInfo.java 2008-08-15 19:46:42.000000000 +0200 @@ -0,0 +1,29 @@ +/* + * Sun Public License Notice + * + * The contents of this file are subject to the Sun Public License + * Version 1.0 (the "License"). You may not use this file except in + * compliance with the License. A copy of the License is available at + * http://www.sun.com/ + * + * The Original Code is NetBeans. The Initial Developer of the Original + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun + * Microsystems, Inc. All Rights Reserved. + */ + +/* this is stub code written based on Apple EAWT package javadoc +published at + * http://developer.apple.com. It makes compiling code which uses Apple +EAWT + * on non-Mac platforms possible. The compiled stub classes should +never be + * included in the final product. + */ + +package com.apple.eawt; + +public class ApplicationBeanInfo extends java.beans.SimpleBeanInfo +{ + public java.awt.Image getIcon(int iconKind) { return null; } +} + --- jeuclid-3.1.1.orig/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationEvent.java 1970-01-01 01:00:00.000000000 +0100 +++ jeuclid-3.1.1/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationEvent.java 2008-08-15 19:46:42.000000000 +0200 @@ -0,0 +1,34 @@ +/* + * Sun Public License Notice + * + * The contents of this file are subject to the Sun Public License + * Version 1.0 (the "License"). You may not use this file except in + * compliance with the License. A copy of the License is available at + * http://www.sun.com/ + * + * The Original Code is NetBeans. The Initial Developer of the Original + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun + * Microsystems, Inc. All Rights Reserved. + */ + +/* this is stub code written based on Apple EAWT package javadoc +published at + * http://developer.apple.com. It makes compiling code which uses Apple +EAWT + * on non-Mac platforms possible. The compiled stub classes should +never be + * included in the final product. + */ + +package com.apple.eawt; + +public class ApplicationEvent extends java.util.EventObject implements +java.io.Serializable +{ + public ApplicationEvent(Object source) { super(source); } + public java.lang.String getFilename() { return null; } + public boolean isHandled() { return false; } + public void setHandled(boolean state) {} +} + + --- jeuclid-3.1.1.orig/jeuclid-mathviewer/src/main/java/com/apple/eawt/Application.java 1970-01-01 01:00:00.000000000 +0100 +++ jeuclid-3.1.1/jeuclid-mathviewer/src/main/java/com/apple/eawt/Application.java 2008-08-15 19:46:42.000000000 +0200 @@ -0,0 +1,45 @@ +/* + * Sun Public License Notice + * + * The contents of this file are subject to the Sun Public License + * Version 1.0 (the "License"). You may not use this file except in + * compliance with the License. A copy of the License is available at + * http://www.sun.com/ + * + * The Original Code is NetBeans. The Initial Developer of the Original + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun + * Microsystems, Inc. All Rights Reserved. + */ + +/* this is stub code written based on Apple EAWT package javadoc +published at + * http://developer.apple.com. It makes compiling code which uses Apple +EAWT + * on non-Mac platforms possible. The compiled stub classes should +never be + * included in the final product. + */ + +package com.apple.eawt; + +public class Application +{ + public Application() { } + public void addAboutMenuItem() {} + public void addApplicationListener(ApplicationListener listener) {} + public void addPreferencesMenuItem() {} + public static Application getApplication() { return null; } + public boolean getEnabledAboutMenu() { return false; } + public boolean getEnabledPreferencesMenu() { return false; } + public static java.awt.Point getMouseLocationOnScreen() { return +null; } + public boolean isAboutMenuItemPresent() { return false; } + public boolean isPreferencesMenuItemPresent() { return false; } + public void removeAboutMenuItem() {} + public void removeApplicationListener(ApplicationListener listener) +{} + public void removePreferencesMenuItem() {} + public void setEnabledAboutMenu(boolean enable) {} + public void setEnabledPreferencesMenu(boolean enable) {} +} + --- jeuclid-3.1.1.orig/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationListener.java 1970-01-01 01:00:00.000000000 +0100 +++ jeuclid-3.1.1/jeuclid-mathviewer/src/main/java/com/apple/eawt/ApplicationListener.java 2008-08-15 19:47:48.000000000 +0200 @@ -0,0 +1,35 @@ +/* + * Sun Public License Notice + * + * The contents of this file are subject to the Sun Public License + * Version 1.0 (the "License"). You may not use this file except in + * compliance with the License. A copy of the License is available at + * http://www.sun.com/ + * + * The Original Code is NetBeans. The Initial Developer of the Original + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun + * Microsystems, Inc. All Rights Reserved. + */ + +/* this is stub code written based on Apple EAWT package javadoc +published at + * http://developer.apple.com. It makes compiling code which uses Apple +EAWT + * on non-Mac platforms possible. The compiled stub classes should +never be + * included in the final product. + */ + +package com.apple.eawt; + +public interface ApplicationListener extends java.util.EventListener +{ + public void handleAbout(ApplicationEvent event); + public void handleOpenApplication(ApplicationEvent event); + public void handleOpenFile(ApplicationEvent event); + public void handlePreferences(ApplicationEvent event); + public void handlePrintFile(ApplicationEvent event); + public void handleQuit(ApplicationEvent event); + public void handleReOpenApplication(ApplicationEvent event); +} + --- jeuclid-3.1.1.orig/jeuclid-mathviewer/src/main/java/com/apple/eawt/CocoaComponent.java 1970-01-01 01:00:00.000000000 +0100 +++ jeuclid-3.1.1/jeuclid-mathviewer/src/main/java/com/apple/eawt/CocoaComponent.java 2008-08-15 19:46:42.000000000 +0200 @@ -0,0 +1,31 @@ +/* + * Sun Public License Notice + * + * The contents of this file are subject to the Sun Public License + * Version 1.0 (the "License"). You may not use this file except in + * compliance with the License. A copy of the License is available at + * http://www.sun.com/ + * + * The Original Code is NetBeans. The Initial Developer of the Original + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun + * Microsystems, Inc. All Rights Reserved. + */ + +/* this is stub code written based on Apple EAWT package javadoc published at + * http://developer.apple.com. It makes compiling code which uses Apple EAWT + * on non-Mac platforms possible. + */ + + +package com.apple.eawt; + +public abstract class CocoaComponent extends java.awt.Canvas +{ + public abstract int createNSView(); + public long createNSViewLong() { return 0; } + public abstract java.awt.Dimension getMaximumSize(); + public abstract java.awt.Dimension getMinimumSize(); + public abstract java.awt.Dimension getPreferredSize(); + public void sendMessage(int messageID, java.lang.Object message) {} +} + --- jeuclid-3.1.1.orig/jeuclid-mathviewer/src/main/java/com/apple/eawt/package 1970-01-01 01:00:00.000000000 +0100 +++ jeuclid-3.1.1/jeuclid-mathviewer/src/main/java/com/apple/eawt/package 2008-08-15 19:46:42.000000000 +0200 @@ -0,0 +1,35 @@ +/* + * Sun Public License Notice + * + * The contents of this file are subject to the Sun Public License + * Version 1.0 (the "License"). You may not use this file except in + * compliance with the License. A copy of the License is available at + * http://www.sun.com/ + * + * The Original Code is NetBeans. The Initial Developer of the Original + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun + * Microsystems, Inc. All Rights Reserved. + */ + +/* this is stub code written based on Apple EAWT package javadoc +published at + * http://developer.apple.com. It makes compiling code which uses Apple +EAWT + * on non-Mac platforms possible. The compiled stub classes should +never be + * included in the final product. + */ + +package com.apple.eawt; + +public interface ApplicationListener extends java.util.EventListener +{ + public void handleAbout(ApplicationEvent event); + public void handleOpenApplication(ApplicationEvent event); + public void handleOpenFile(ApplicationEvent event); + public void handlePreferences(ApplicationEvent event); + public void handlePrintFile(ApplicationEvent event); + public void handleQuit(ApplicationEvent event); + public void handleReOpenApplication(ApplicationEvent event); +} + debian/patches/jeuclid-cli-name.diff0000644000000000000000000000236312204663511014555 0ustar Index: jeuclid-3.1.8/jeuclid-cli/src/main/java/net/sourceforge/jeuclid/app/Mml2xxx.java =================================================================== --- jeuclid-3.1.8.orig/jeuclid-cli/src/main/java/net/sourceforge/jeuclid/app/Mml2xxx.java 2010-01-25 09:59:29.000000000 +0100 +++ jeuclid-3.1.8/jeuclid-cli/src/main/java/net/sourceforge/jeuclid/app/Mml2xxx.java 2010-01-25 09:59:48.000000000 +0100 @@ -228,14 +228,14 @@ final String lineSep = hf.getNewLine(); hf .printHelp( - "mml2xxx [options]", + "jeuclid-cli [options]", "source is the path to the source file (MathML or ODF format)" + lineSep + "target is the path to the target file / directory" + lineSep + "If multiple source files are given, target must be a directory", options, - "Example: mml2xxx a.mml a.png -backgroundColor white"); + "Example: jeuclid-cli a.mml a.png -backgroundColor white"); } } debian/patches/series0000644000000000000000000000011512204663544012035 0ustar AppleJavaExtensions.patch MacOSX.patch jeuclid-cli-name.diff cast-issue.diff debian/patches/cast-issue.diff0000644000000000000000000000176012204663511013533 0ustar Index: jeuclid-parent-3.1.9/jeuclid-core/src/main/java/net/sourceforge/jeuclid/converter/ConverterRegistry.java =================================================================== --- jeuclid-parent-3.1.9.orig/jeuclid-core/src/main/java/net/sourceforge/jeuclid/converter/ConverterRegistry.java 2010-02-12 15:10:32.000000000 +0100 +++ jeuclid-parent-3.1.9/jeuclid-core/src/main/java/net/sourceforge/jeuclid/converter/ConverterRegistry.java 2013-08-20 14:55:16.000000000 +0200 @@ -52,10 +52,10 @@ */ @SuppressWarnings("unchecked") protected ConverterRegistry() { - final Iterator it = Service - .providers(ConverterDetector.class); + final Iterator it = Service + .providers(ConverterDetector.class); while (it.hasNext()) { - final ConverterDetector det = it.next(); + final ConverterDetector det = (ConverterDetector) it.next(); det.detectConversionPlugins(this); } } debian/control0000644000000000000000000000544012204663256010602 0ustar Source: jeuclid Section: java Priority: optional Maintainer: Debian Science Team Uploaders: Sylvestre Ledru , Torsten Werner Build-Depends: debhelper (>= 5), autotools-dev, cdbs, default-jdk, ant, junit, libxmlgraphics-commons-java (>= 1.3.0), libcommons-logging-java, libbatik-java (>= 1.7), libcommons-cli-java, libcommons-lang-java, fop (>= 0.95), libcommons-io-java, libjcip-annotations-java Standards-Version: 3.9.4 Homepage: http://jeuclid.sourceforge.net Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/jeuclib/trunk Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/jeuclid/trunk Package: libjeuclid-core-java Architecture: all Depends: libxmlgraphics-commons-java (>= 1.3.0), libcommons-logging-java, libbatik-java (>= 1.7), ${misc:Depends} Description: Complete MathML rendering solution (java classes) JEuclid is a complete MathML rendering solution, consisting of: * A MathViewer application * Command line converters from MathML to other formats * An ant task for automated conversion * Display components for AWT and Swing * A component for Apache Cocoon . This package contains the basic JEuclid rendering and document handling classes. Package: jeuclid-mathviewer Architecture: all Depends: libjeuclid-core-java, java-wrappers, libcommons-io-java, ${misc:Depends}, jeuclid-cli Description: Complete MathML rendering solution (Swing MathViewer) JEuclid is a complete MathML rendering solution, consisting of: * A MathViewer application * Command line converters from MathML to other formats * An ant task for automated conversion * Display components for AWT and Swing * A component for Apache Cocoon . This package contains the Swing MathViewer application. Package: jeuclid-cli Architecture: all Depends: libjeuclid-core-java, libcommons-cli-java, libcommons-lang-java, java-wrappers, ${misc:Depends} Description: Complete MathML rendering solution (command line tools) JEuclid is a complete MathML rendering solution, consisting of: * A MathViewer application * Command line converters from MathML to other formats * An ant task for automated conversion * Display components for AWT and Swing * A component for Apache Cocoon . This package contains the command line tools. . Package: libjeuclid-fop-java Architecture: all Depends: libjeuclid-core-java, fop (>= 0.95), ${misc:Depends} Description: Complete MathML rendering solution (fop plugin) JEuclid is a complete MathML rendering solution, consisting of: * A MathViewer application * Command line converters from MathML to other formats * An ant task for automated conversion * Display components for AWT and Swing * A component for Apache Cocoon . This package contains the fop plugin. debian/compat0000644000000000000000000000000211076105314010362 0ustar 5 debian/watch0000644000000000000000000000012711076105314010215 0ustar version=3 http://sf.net/jeuclid/jeuclid-parent-(.*)-src\.zip debian debian/orig-tar.sh debian/changelog0000644000000000000000000000522212204663556011052 0ustar jeuclid (3.1.9-3) unstable; urgency=low * Fix the FTBFS due to update in xmlgraphics. Thanks to Calixte Denizet for the fix. (Closes: #713778) * Standards-Version updated to version 3.9.4 -- Sylvestre Ledru Tue, 20 Aug 2013 14:53:16 +0200 jeuclid (3.1.9-2) unstable; urgency=low * Standards-Version updated to version 3.9.2 * Fix the path to the java vm (Closes: #642779) * Missing dependency on jeuclid-cli from jeuclid-mathviewer (LP: #449956) * Switch to dpkg-source 3.0 (quilt) format * manpage for jeuclid-cli added * Fix some various lintian warnings (description-synopsis-starts-with-article, needless-dependency-on-jre) -- Sylvestre Ledru Sat, 19 Nov 2011 14:14:57 +0100 jeuclid (3.1.9-1) unstable; urgency=low * New upstream release * Standards-Version updated to version 3.8.4 -- Sylvestre Ledru Wed, 17 Mar 2010 22:25:03 +0100 jeuclid (3.1.8-2) unstable; urgency=low * mml2xxx is named jeuclid-cli in Debian. Update help. (Closes: #566800) * Fixed a typo in README.Debian -- Sylvestre Ledru Mon, 25 Jan 2010 10:20:38 +0100 jeuclid (3.1.8-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Wed, 14 Oct 2009 22:39:36 +0200 jeuclid (3.1.7-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Fri, 02 Oct 2009 17:00:23 +0200 jeuclid (3.1.6-1) unstable; urgency=low * New upstream release * Standards-Version updated to 3.8.3 * DM-Upload-Allowed removed * Add all jar to the startup script since they are no longer loading automatically (LP: #370404) * patch freehep.patch removed * missing ${misc:Depends} added -- Sylvestre Ledru Wed, 02 Sep 2009 11:24:47 +0200 jeuclid (3.1.5-1) unstable; urgency=low * New upstream release -- Sylvestre Ledru Wed, 02 Sep 2009 11:24:45 +0200 jeuclid (3.1.4-1) unstable; urgency=low [ Sylvestre Ledru ] * New upstream release * Missing copyright information about jeuclid-core/src/test/resources/VeraMono.ttf * Upload to unstable * Dep to libjcip-annotations-java added and patch jcip.patch removed [ Christoph Korn ] * debian/control: Changed the unique package descriptions to make lintian happy. * removed debian/copyright entry for a *.ttf file that is not in the tarball -- Sylvestre Ledru Wed, 18 Feb 2009 10:59:05 +0100 jeuclid (3.1.3-1) experimental; urgency=low * Initial release. (Closes: #490749) -- Sylvestre Ledru Thu, 18 Dec 2008 17:50:26 +0100 debian/copyright0000644000000000000000000000713511150015630011117 0ustar This package was debianized by Sylvestre Ledru on Mon Jul 14 00:59:27 CEST 2008. Some pieces of the build.xml file come Gentoo's package. It was downloaded from Upstream Authors: Max Berger Erik Putrycz Ernest Mishkin Emmanuel Pietriga PetrProchy Copyright: 2002-2008 JEuclid, http://jeuclid.sf.net License: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The full text of the Apache 2 license can be found in `/usr/share/common-licenses/Apache-2.0` The Debian packaging is (C) 2008, Sylvestre Ledru and is licensed under the Apache 2. File: jeuclid-core/src/main/resources/mathml.2.0/mathml2.dtd Copyright: 1998-2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. License: Permission to use, copy, modify and distribute the MathML 2.0 DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. File: jeuclid-core/src/main/resources/mathml.2.0/mathml2-qname-1.mod Copyright: 1998-2000 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. License: Permission to use, copy, modify and distribute the XHTML 1.1 DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. File: jeuclid-core/src/main/resources/mathml.2.0/xhtml-math11-f.dtd Copyright: 2002 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. License: Permission to use, copy, modify and distribute this DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. File: jeuclid-core/src/main/resources/openoffice.mathml.1.0.1/math.dtd Copyright: 1997-1999 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. License: Permission to use, copy, modify and distribute this DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose.debian/rules0000755000000000000000000000330412120622752010245 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILDFILE := $(CURDIR)/debian/build.xml DEB_JARS := ant-nodeps junit commons-lang commons-cli fop jcip DEB_ANT_BUILD_TARGET := compile-core compile-mathviewer compile-cli compile-fop makebuilddir:: if [ -d jeuclid-testsuite ]; then \ echo "You are shipping non-free code!"; \ exit 1; \ fi install/libjeuclid-core-java:: install -m 644 -D target/jeuclid-core.jar debian/libjeuclid-core-java/usr/share/java/jeuclid-core-${DEB_UPSTREAM_VERSION}.jar ln -s jeuclid-core-${DEB_UPSTREAM_VERSION}.jar debian/libjeuclid-core-java/usr/share/java/jeuclid-core.jar install/jeuclid-mathviewer:: install -m 644 -D target/jeuclid-mathviewer.jar debian/jeuclid-mathviewer/usr/share/java/jeuclid-mathviewer-${DEB_UPSTREAM_VERSION}.jar ln -s jeuclid-mathviewer-${DEB_UPSTREAM_VERSION}.jar debian/jeuclid-mathviewer/usr/share/java/jeuclid-mathviewer.jar cp debian/jeuclid-mathviewer.sh debian/jeuclid-mathviewer/usr/bin/jeuclid-mathviewer install/jeuclid-cli:: install -m 644 -D target/jeuclid-cli.jar debian/jeuclid-cli/usr/share/java/jeuclid-cli-${DEB_UPSTREAM_VERSION}.jar ln -s jeuclid-cli-${DEB_UPSTREAM_VERSION}.jar debian/jeuclid-cli/usr/share/java/jeuclid-cli.jar cp debian/jeuclid-cli.sh debian/jeuclid-cli/usr/bin/jeuclid-cli install/libjeuclid-fop-java:: install -m 644 -D target/jeuclid-fop.jar debian/libjeuclid-fop-java/usr/share/java/jeuclid-fop-${DEB_UPSTREAM_VERSION}.jar ln -s jeuclid-fop-${DEB_UPSTREAM_VERSION}.jar debian/libjeuclid-fop-java/usr/share/java/jeuclid-fop.jar get-orig-source: uscan --force-download --rename debian/build.xml0000644000000000000000000002312211120473706011010 0ustar debian/source/0000755000000000000000000000000012120622752010465 5ustar debian/source/format0000644000000000000000000000001412120622752011673 0ustar 3.0 (quilt) debian/orig-tar.sh0000755000000000000000000000104711126666425011264 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' DIR=jeuclid-parent-$2 TAR=../jeuclid_$2.orig.tar.gz # clean up the upstream tarball unzip $3 # Remove jeuclid-testsuite because it is not used and there are some license # issues # Remove the license file of FreeHEP because we disabled the used of this # feature tar -c -z -X debian/orig-tar.exclude -f $TAR $DIR/ rm -rf $DIR $3 # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/README.Debian0000644000000000000000000000101111327261134011220 0ustar jeuclid for Debian ------------------ mathviewer has a dependency over the library AppleJavaExtensions: http://developer.apple.com/samplecode/AppleJavaExtensions/index.html Obviously, this dependency is useless for Debian. Therefore, I added empty class which are faking AppleJavaExtensions for the build time. Another solution could be to patch massively jeuclid-mathviewer. As a matter of consistency with the package name, mml2xxx script has been renamed to jeuclid-cli. -- Sylvestre Ledru debian/jeuclid-mathviewer.sh0000644000000000000000000000120711247436700013316 0ustar #! /bin/sh # Shell script wrapper around the jeuclid-mathviewer program, # Copyright 2008 by Sylvestre Ledru # # Licensed under the same terms as jeuclid-mathviewer itself, that is under # the conditions of the Apache 2 licencee. # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh # We prefer to use openjdk or Sun's java if available find_java_runtime openjdk sun || find_java_runtime find_jars jeuclid-cli commons-cli commons-logging batik-all xmlgraphics-commons find_jars commons-io jeuclid-mathviewer jeuclid-core run_java net.sourceforge.jeuclid.app.mathviewer.MathViewer "$@" debian/jeuclid-cli.dirs0000644000000000000000000000002711102027571012230 0ustar usr/share/java usr/bin debian/jeuclid-mathviewer.dirs0000644000000000000000000000002711102027571013634 0ustar usr/share/java usr/bin debian/jeuclid-cli.sh0000644000000000000000000000114511247436650011717 0ustar #! /bin/sh # Shell script wrapper around the jeuclid-cli program, # Copyright 2008 by Sylvestre Ledru # # Licensed under the same terms as jeuclid-cli itself, that is under # the conditions of the Apache 2 licencee. # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh # We prefer to use openjdk or Sun's java if available find_java_runtime openjdk sun || find_java_runtime find_jars jeuclid-cli commons-cli commons-logging batik-all xmlgraphics-commons find_jars commons-io commons-lang jeuclid-core run_java net.sourceforge.jeuclid.app.Mml2xxx "$@" debian/jeuclid-cli.10000644000000000000000000001406712120622752011443 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.40.4. .TH USAGE: "1" "November 2011" "usage: jeuclid-cli [options]" "User Commands" .SH NAME usage: \- manual page for usage: jeuclid-cli [options] .SH DESCRIPTION usage: jeuclid\-cli [options] source is the path to the source file (MathML or ODF format) target is the path to the target file / directory If multiple source files are given, target must be a directory .TP \fB\-antiAlias\fR anti\-alias mode [default: true] .TP \fB\-antiAliasMinSize\fR minimum font size for which anti\-alias is turned on [default: 10.0] .TP \fB\-backgroundColor\fR default background color (mathbackground) .TP \fB\-debug\fR debug mode \- if on, elements will have borders drawn around them [default: false] .TP \fB\-display\fR display style [default: BLOCK] .TP \fB\-fontsDoublestruck\fR list of font families for Double\-Struck [default: MSBM10, Mathematica7, Caslon Open Face, Caslon Openface, Cloister Open Face, Academy Engraved LET, Colonna MT, Imprint MT Shadow] .TP \fB\-fontsFraktur\fR list of font families for Fraktur [default: EUFM10, Mathematica6, FetteFraktur, Fette Fraktur, Euclid Fraktur, Lucida Blackletter, Blackmoor LET] .TP \fB\-fontSize\fR font size used for the output (mathsize) [default: 12.0] .TP \fB\-fontsMonospaced\fR list of font families for Monospaced [default: Andale Mono, Courier, Courier Mono, Courier New, Lucida Sans Typewriter, DejaVu Sans Mono, DejaVuSansMono, Bitstream Vera Sans Mono, Luxi Mono, FreeMono, monospaced] .TP \fB\-fontsSansSerif\fR list of font families for Sans\-Serif [default: Verdana, Helvetica, Arial, Arial Unicode MS, Lucida Sans Unicode, Lucida Sans, Lucida Grande, DejaVu Sans, DejaVuSans, Bitstream Vera Sans, Luxi Sans, FreeSans, sansserif] .TP \fB\-fontsScript\fR list of font families for Script [default: EUSM10, cmsy10, Math5, Mathematica5, Savoye LET, Brush Script MT, Zapfino, Apple Chancery, Edwardian Script ITC, Lucida Handwriting, Monotype Corsiva, Santa Fe LET] .TP \fB\-fontsSerif\fR list of font families for Serif [default: Constantina, Cambria, Times, Times New Roman, Lucida Bright, DejaVu Serif, DejaVuSerif, Bitstream Vera Serif, Luxi Serif, FreeSerif, serif] .TP \fB\-foregroundColor\fR default foreground color (mathcolor) [default: black] .TP \fB\-mfracKeepScriptLevel\fR if true, element will NEVER increase children's scriptlevel (in violation of the spec) [default: false] .TP \fB\-outFileType\fR output file mime type [default: derived from the target file's extention]; available values are: image/jpeg image/png image/x\-png image/vnd.wap.wbmp image/svg+xml image/gif image/bmp .TP \fB\-scriptLevel\fR script level [default: 0] .TP \fB\-scriptMinSize\fR font size to be used for smallest script [default: 8.0] .TP \fB\-scriptSizeMult\fR script size multiplier [default: 0.71] .PP Example: jeuclid\-cli a.mml a.png \fB\-backgroundColor\fR white .PP source is the path to the source file (MathML or ODF format) target is the path to the target file / directory If multiple source files are given, target must be a directory .TP \fB\-antiAlias\fR anti\-alias mode [default: true] .TP \fB\-antiAliasMinSize\fR minimum font size for which anti\-alias is turned on [default: 10.0] .TP \fB\-backgroundColor\fR default background color (mathbackground) .TP \fB\-debug\fR debug mode \- if on, elements will have borders drawn around them [default: false] .TP \fB\-display\fR display style [default: BLOCK] .TP \fB\-fontsDoublestruck\fR list of font families for Double\-Struck [default: MSBM10, Mathematica7, Caslon Open Face, Caslon Openface, Cloister Open Face, Academy Engraved LET, Colonna MT, Imprint MT Shadow] .TP \fB\-fontsFraktur\fR list of font families for Fraktur [default: EUFM10, Mathematica6, FetteFraktur, Fette Fraktur, Euclid Fraktur, Lucida Blackletter, Blackmoor LET] .TP \fB\-fontSize\fR font size used for the output (mathsize) [default: 12.0] .TP \fB\-fontsMonospaced\fR list of font families for Monospaced [default: Andale Mono, Courier, Courier Mono, Courier New, Lucida Sans Typewriter, DejaVu Sans Mono, DejaVuSansMono, Bitstream Vera Sans Mono, Luxi Mono, FreeMono, monospaced] .TP \fB\-fontsSansSerif\fR list of font families for Sans\-Serif [default: Verdana, Helvetica, Arial, Arial Unicode MS, Lucida Sans Unicode, Lucida Sans, Lucida Grande, DejaVu Sans, DejaVuSans, Bitstream Vera Sans, Luxi Sans, FreeSans, sansserif] .TP \fB\-fontsScript\fR list of font families for Script [default: EUSM10, cmsy10, Math5, Mathematica5, Savoye LET, Brush Script MT, Zapfino, Apple Chancery, Edwardian Script ITC, Lucida Handwriting, Monotype Corsiva, Santa Fe LET] .TP \fB\-fontsSerif\fR list of font families for Serif [default: Constantina, Cambria, Times, Times New Roman, Lucida Bright, DejaVu Serif, DejaVuSerif, Bitstream Vera Serif, Luxi Serif, FreeSerif, serif] .TP \fB\-foregroundColor\fR default foreground color (mathcolor) [default: black] .TP \fB\-mfracKeepScriptLevel\fR if true, element will NEVER increase children's scriptlevel (in violation of the spec) [default: false] .TP \fB\-outFileType\fR output file mime type [default: derived from the target file's extention]; available values are: image/jpeg image/png image/x\-png image/vnd.wap.wbmp image/svg+xml image/gif image/bmp .TP \fB\-scriptLevel\fR script level [default: 0] .TP \fB\-scriptMinSize\fR font size to be used for smallest script [default: 8.0] .TP \fB\-scriptSizeMult\fR script size multiplier [default: 0.71] .PP Example: jeuclid\-cli a.mml a.png \fB\-backgroundColor\fR white .SH "SEE ALSO" The full documentation for .B usage: is maintained as a Texinfo manual. If the .B info and .B usage: programs are properly installed at your site, the command .IP .B info usage: .PP should give you access to the complete manual. debian/jeuclid-cli.manpages0000644000000000000000000000002512120622752013063 0ustar debian/jeuclid-cli.1 debian/orig-tar.exclude0000644000000000000000000000011111126666425012267 0ustar */jeuclid-testsuite* */LICENSE.FreeHEP */LICENSE.VeraMono */VeraMono.ttf