initial debian packaging
Sebastian Reichel
12 years ago
0 | This package contains of the following upstream source packages: | |
1 | * http://www.willuhn.de/products/jameica/releases/current/jameica/jameica.src.zip | |
2 | * http://www.willuhn.de/products/jameica/releases/current/util/de_willuhn_util.src.zip | |
3 | * http://www.willuhn.de/products/jameica/releases/current/datasource/de_willuhn_ds.src.zip | |
4 | ||
5 | Apart from merging these, some files have been moved or deleted: | |
6 | ||
7 | rm src/de/willuhn/datasource/db/EmbeddedDatabase.java | |
8 | this file pulls mckoiddb as dependency. It's removed | |
9 | to avoid linking against GPL software. | |
10 | ||
11 | mv build/jameica-icon.png jameica.png | |
12 | rm -rf build | |
13 | we don't need the build files |
0 | jameica (2.0.1+dfsg-1) unstable; urgency=low | |
1 | ||
2 | * Initial release (Closes: #562862) | |
3 | ||
4 | -- Sebastian Reichel <sre@debian.org> Tue, 05 Jul 2011 10:29:29 +0200 |
0 | 8 |
0 | Source: jameica | |
1 | Section: misc | |
2 | Priority: optional | |
3 | Maintainer: Debian Java maintainers <pkg-java-maintainers@lists.alioth.debian.org> | |
4 | Uploaders: Sebastian Reichel <sre@debian.org> | |
5 | Build-Depends: debhelper (>= 8), | |
6 | javahelper (>= 0.32) | |
7 | Build-Depends-Indep: default-jdk, | |
8 | eclipse-platform-data, | |
9 | eclipse-rcp, | |
10 | libbcprov-java, | |
11 | libcommons-cli-java, | |
12 | libcommons-collections3-java, | |
13 | libcommons-lang-java, | |
14 | libcommons-logging-java, | |
15 | libh2-java, | |
16 | libicu4j-java, | |
17 | libmysql-java, | |
18 | libnanoxml2-java, | |
19 | libpaperclips-java, | |
20 | libswt-gtk-3-java, | |
21 | libswtcalendar-java, | |
22 | libxmlrpc3-client-java, | |
23 | libxmlrpc3-common-java, | |
24 | velocity | |
25 | Standards-Version: 3.9.2 | |
26 | Homepage: http://www.willuhn.de/products/jameica/ | |
27 | ||
28 | Package: jameica | |
29 | Architecture: all | |
30 | Depends: ${java:Depends}, | |
31 | ${misc:Depends}, | |
32 | libswt-cairo-gtk-3-jni | |
33 | Recommends: ${java:Recommends} | |
34 | Description: Run-time system for Java applications | |
35 | runtime environment for Java applications, which are implemented as plugins. | |
36 | . | |
37 | Jameica takes care of recurring tasks, such as: | |
38 | * consistent Look & Feel | |
39 | * strict user- and programdata separation | |
40 | * standardized access to configuration files | |
41 | * common navigation- and menuelements | |
42 | * synchronous and asynchronous data exchange between plugins | |
43 | * Unterstützung bei Client-Server-Kommunikation via RMI, XML-RPC oder SOAP | |
44 | * supports client-server model via RMI, XML-RPC or SOAP | |
45 | * simplified usage of encryption methods (integrated wallet system) | |
46 | * headless support for servers | |
47 | * logging |
0 | Format: http://dep.debian.net/deps/dep5 | |
1 | Upstream-Name: Jameica | |
2 | Source: http://www.willuhn.de/products/jameica/download.php | |
3 | ||
4 | Files: * | |
5 | Copyright: 2004-2011 Olaf Willuhn | |
6 | License: GPL-3.0 | |
7 | This program is free software: you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation, version 3 of the License. | |
10 | . | |
11 | This package is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | . | |
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | . | |
19 | On Debian systems, the complete text of the GNU General | |
20 | Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". | |
21 | ||
22 | Files: src/de/willuhn/annotation/* src/de/willuhn/boot/* | |
23 | src/de/willuhn/datasource/* src/de/willuhn/io/* | |
24 | src/de/willuhn/logging/* src/de/willuhn/net/* | |
25 | src/de/willuhn/security/* src/de/willuhn/sql/* | |
26 | src/de/willuhn/util/* | |
27 | Copyright: 2004-2011 Olaf Willuhn | |
28 | License: LGPL-3.0 | |
29 | This program is free software: you can redistribute it and/or modify | |
30 | it under the terms of the Lesser GNU General Public License as | |
31 | published by the Free Software Foundation, version 3 of the License. | |
32 | . | |
33 | This package is distributed in the hope that it will be useful, | |
34 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
35 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
36 | GNU General Public License for more details. | |
37 | . | |
38 | You should have received a copy of the Lesser GNU General Public License | |
39 | along with this program. If not, see <http://www.gnu.org/licenses/>. | |
40 | . | |
41 | On Debian systems, the complete text of the Lesser GNU General Public | |
42 | License version 3 can be found in "/usr/share/common-licenses/LGPL-3". | |
43 | ||
44 | Files: debian/* | |
45 | Copyright: 2011 Sebastian Reichel <sre@debian.org> | |
46 | License: ISC | |
47 | Permission to use, copy, modify, and/or distribute this software for any | |
48 | purpose with or without fee is hereby granted, provided that the above | |
49 | copyright notice and this permission notice appear in all copies. | |
50 | . | |
51 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
52 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
53 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
54 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
55 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
56 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
57 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
0 | usr/share/jameica/plugins |
0 | jameica.jar usr/share/jameica/ | |
1 | lib/splash.jar usr/share/jameica/lib/ | |
2 | plugin.xml usr/share/jameica/ | |
3 | jameica.png usr/share/pixmaps/ | |
4 | debian/wrapper/jameica usr/bin/ | |
5 | debian/wrapper/jameica.desktop usr/share/applications/ |
0 | codeless-jar usr/share/jameica/lib/splash.jar |
0 | jameica.jar src |
0 | debian/wrapper/jameica.1 |
0 | ?package(jameica):needs="X11" section="Applications/Office"\ | |
1 | title="Jameica" command="/usr/bin/jameica" |
0 | #!/usr/bin/make -f | |
1 | CLASSPATH:=/usr/share/java/bcprov.jar | |
2 | CLASSPATH:=${CLASSPATH}:/usr/share/java/commons-cli.jar | |
3 | CLASSPATH:=${CLASSPATH}:/usr/share/java/commons-collections3.jar | |
4 | CLASSPATH:=${CLASSPATH}:/usr/share/java/commons-lang.jar | |
5 | CLASSPATH:=${CLASSPATH}:/usr/share/java/commons-logging.jar | |
6 | CLASSPATH:=${CLASSPATH}:/usr/share/java/h2.jar | |
7 | CLASSPATH:=${CLASSPATH}:/usr/share/java/mysql.jar | |
8 | CLASSPATH:=${CLASSPATH}:/usr/share/java/nanoxml.jar | |
9 | CLASSPATH:=${CLASSPATH}:/usr/share/java/paperclips.jar | |
10 | CLASSPATH:=${CLASSPATH}:/usr/share/java/swt-gtk-3.7.jar | |
11 | CLASSPATH:=${CLASSPATH}:/usr/share/java/swtcalendar.jar | |
12 | CLASSPATH:=${CLASSPATH}:/usr/share/java/xmlrpc-common-3.1.jar | |
13 | CLASSPATH:=${CLASSPATH}:/usr/share/java/xmlrpc-client-3.1.jar | |
14 | CLASSPATH:=${CLASSPATH}:/usr/share/java/velocity.jar | |
15 | CLASSPATH:=${CLASSPATH}:/usr/lib/eclipse/plugins/org.eclipse.ui.forms_3.4.1.v20090714_35x.jar | |
16 | CLASSPATH:=${CLASSPATH}:/usr/lib/eclipse/plugins/org.eclipse.jface_3.5.2.M20100120-0800.jar | |
17 | CLASSPATH:=${CLASSPATH}:/usr/lib/eclipse/plugins/org.eclipse.equinox.common_3.5.1.R35x_v20090807-1100.jar | |
18 | CLASSPATH:=${CLASSPATH}:/usr/lib/eclipse/plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar | |
19 | CLASSPATH:=${CLASSPATH}:/usr/lib/eclipse/plugins/org.eclipse.core.commands_3.5.0.I20090525-2000.jar | |
20 | CLASSPATH:=${CLASSPATH}:/usr/share/java/icu4j.jar | |
21 | ||
22 | export JAVA_HOME=/usr/lib/jvm/default-java | |
23 | export CLASSPATH | |
24 | ||
25 | %: | |
26 | dh $@ --with javahelper | |
27 | ||
28 | override_jh_build: | |
29 | @#jh_build generates a broken manifest file (classpath line is too long) | |
30 | @#jh_build --main=de.willuhn.jameica.Main --javacopts="-encoding iso-8859-1" --javadoc-opts="-encoding iso-8859-1" | |
31 | mkdir -p debian/_jh_build.jameica | |
32 | find src -name *.java -and -type f -print0 | xargs -0 /usr/lib/jvm/default-java/bin/javac -cp \ | |
33 | ${CLASSPATH}:debian/_jh_build.jameica -d debian/_jh_build.jameica -source 1.5 -encoding iso-8859-1 | |
34 | rm -f debian/_jh_manifest.jameica | |
35 | touch debian/_jh_manifest.jameica | |
36 | echo -n "Class-Path: " >> debian/_jh_manifest.jameica | |
37 | echo ${CLASSPATH} | sed 's/:/\n /g' >> debian/_jh_manifest.jameica | |
38 | echo "Main-Class: de.willuhn.jameica.Main" >> debian/_jh_manifest.jameica | |
39 | echo "Debian-Java-Home: ${JAVA_HOME}" >> debian/_jh_manifest.jameica | |
40 | # add *.class files and manifest | |
41 | cd debian/_jh_build.jameica ; /usr/lib/jvm/default-java/bin/jar cfm ../../jameica.jar ../_jh_manifest.jameica * | |
42 | # add img lang and help directories | |
43 | cd src ; /usr/lib/jvm/default-java/bin/jar uf ../jameica.jar img/* lang/* help/* |
0 | 3.0 (quilt) |
0 | #!/bin/sh | |
1 | # Simple wrapper script used to start Jameica in Debian | |
2 | set -e | |
3 | ||
4 | # Switch into jameica's system directory | |
5 | cd /usr/share/jameica | |
6 | ||
7 | # First, the alternative (if known to work) or users preference as defined by $JAVA_HOME. Next, use OpenJDK or Sun's proprietary JDK. | |
8 | # Override to a specific one using $JAVACMD | |
9 | ALTERNATIVE_JDK="`readlink -n -f /etc/alternatives/java`" | |
10 | ||
11 | # If OpenJDK 6 is only available headless, do not try it | |
12 | if dpkg --get-selections openjdk-6-jre | grep install$ > /dev/null ; then | |
13 | JAVA_CMDS="$JAVA_HOME/bin/java /usr/lib/jvm/java-6-openjdk/bin/java /usr/lib/jvm/java-6-sun/bin/java" | |
14 | else | |
15 | JAVA_CMDS="$JAVA_HOME/bin/java /usr/lib/jvm/java-6-sun/bin/java" | |
16 | fi | |
17 | ||
18 | JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true -Djava.net.useSystemProxies=true -Djava.library.path=/usr/lib/eclipse/debian-swt" | |
19 | ||
20 | for jcmd in $JAVA_CMDS; do | |
21 | if [ "z$ALTERNATIVE_JDK" = "z`readlink -n -f $jcmd`" ] && [ -z "${JAVACMD}" ]; then | |
22 | JAVACMD="$jcmd" | |
23 | fi | |
24 | done | |
25 | ||
26 | for jcmd in $JAVA_CMDS; do | |
27 | if [ -x "$jcmd" -a -z "${JAVACMD}" ]; then | |
28 | JAVACMD="$jcmd" | |
29 | fi | |
30 | done | |
31 | ||
32 | if [ "$JAVACMD" ]; then | |
33 | echo "Using $JAVACMD to execute jameica." | |
34 | exec $JAVACMD $JAVA_OPTS -jar /usr/share/jameica/jameica.jar "$@" | |
35 | else | |
36 | echo "No valid JVM found to run Jameica." | |
37 | exit 1 | |
38 | fi |
0 | .TH JAMEICA 1 "JULY 12, 2011" | |
1 | .\" Please adjust this date whenever revising the manpage. | |
2 | .SH NAME | |
3 | jameica \- run-time system for Java application | |
4 | .SH SYNOPSIS | |
5 | .B jameica [OPTIONS] | |
6 | .SH DESCRIPTION | |
7 | jameica is a runtime environment for Java applications, which | |
8 | are implemented as plugins. | |
9 | .SH OPTIONS | |
10 | A summary of the options supported by \fBjameica\fR is included below. | |
11 | ||
12 | .TP | |
13 | .B \-a, \-\-ask | |
14 | Ask for the user's directory at start time. This option is ignored in server mode. | |
15 | .TP | |
16 | .B \-c, \-\-client | |
17 | Start jameica in client mode (with user interface). | |
18 | .TP | |
19 | .B \-d, \-\-server | |
20 | Start jameica in server mode (without user interface). | |
21 | .TP | |
22 | \fB\-f, \-\-file\fR [\fIdir\fR] | |
23 | Use \fIdir\fR as user directory. | |
24 | .TP | |
25 | .B \-h, \-\-help | |
26 | Show a german help text. | |
27 | .TP | |
28 | .B \-l, \-\-ignore-lock | |
29 | Ignore existing lock files. | |
30 | .TP | |
31 | .B \-n, \-\-noninteractive | |
32 | Detach jameica from the terminal. This option is ignored in client mode. | |
33 | .TP | |
34 | .B \-o, \-\-force-password | |
35 | Ignore the master password specified via the command line interface. | |
36 | .TP | |
37 | \fB\-p, \-\-password\fR [\fIpw\fR] | |
38 | Use \fIpw\fR as master password. | |
39 | .TP | |
40 | .B \-s, \-\-standalone | |
41 | Start jameica in standalone mode with user interface (default) | |
42 | .TP | |
43 | \fB\-u, \-\-username\fR [\fIuser\fR] | |
44 | Use \fIuser\fR as username. | |
45 | .TP | |
46 | \fB\-w, \-\-passwordfile\fR [\fIfile\fR] | |
47 | Read master password from \fIfile\fR. | |
48 | ||
49 | .SH ENVIRONMENT | |
50 | .IP JAVA_HOME | |
51 | Specify an alternate Java environment. | |
52 | .IP JAVA_OPTS | |
53 | Specify Java options. | |
54 | For example, to use a HTTP proxy server with this program, set this environment variable | |
55 | to something like | |
56 | .I JAVA_OPTS="-Dhttp.proxyHost=yourProxyURL" | |
57 | before starting jameica. | |
58 | ||
59 | .SH AUTHOR | |
60 | jameica was written by Olaf Willuhn <info@willuhn.de>. | |
61 | .PP | |
62 | This manual page was written by Sebastian Reichel <sre@debian.org>, | |
63 | for the Debian project (but may be used by others). |