[pkg-java] r17984 - in trunk/electric/debian: . bin icons patches

Markus Koschany apo-guest at moszumanska.debian.org
Fri Apr 4 19:20:48 UTC 2014


Author: apo-guest
Date: 2014-04-04 19:20:48 +0000 (Fri, 04 Apr 2014)
New Revision: 17984

Added:
   trunk/electric/debian/bin/
   trunk/electric/debian/bin/electric
   trunk/electric/debian/icons/
   trunk/electric/debian/icons/electric.svg
   trunk/electric/debian/icons/electric.xpm
   trunk/electric/debian/patches/build.patch
Removed:
   trunk/electric/debian/README.source
   trunk/electric/debian/TODO.Debian
   trunk/electric/debian/ant.properties
   trunk/electric/debian/electric.svg
   trunk/electric/debian/orig-tar.sh
   trunk/electric/debian/patches/01_fix_build_xml.patch
   trunk/electric/debian/wrappers/
Modified:
   trunk/electric/debian/changelog
   trunk/electric/debian/compat
   trunk/electric/debian/control
   trunk/electric/debian/copyright
   trunk/electric/debian/electric.desktop
   trunk/electric/debian/electric.docs
   trunk/electric/debian/install
   trunk/electric/debian/menu
   trunk/electric/debian/patches/series
   trunk/electric/debian/rules
   trunk/electric/debian/watch
Log:
Debian release 9.04+dfsg-1


Deleted: trunk/electric/debian/README.source
===================================================================
--- trunk/electric/debian/README.source	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/README.source	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,32 +0,0 @@
-This package uses quilt in order to apply patches to the upstream source.  
-Patches are stored in debian/patches. For further details, see the man page for 
-quilt.
-
-All commands described below should be run from the top directory of the 
-package source tree, unless otherwise stated.
-
- * To generate the fully patched source, in a form ready for editing, that 
-   would be built to create Debian packages, run: 
- 
-     export QUILT_PATCHES=debian/patches
-     quilt push -a
-
- * To modify the source and save those modifications so that they will be 
-   applied when building the package, pick a suitably informative patch file 
-   name, for example Modify_README.source, and then run:
-
-     export QUILT_PATCHES=debian/patches
-     quilt new Modify_README.source
-     quilt edit README.source
-
-   This will place you in your default editor to modify the file.
-   Once your are done editing, save the file and run:
-
-     quilt refresh
-
- * To remove source modifications that are currently being applied when 
-   building the package, run:
-
-     export QUILT_PATCHES=debian/patches
-     quilt top
-

Deleted: trunk/electric/debian/TODO.Debian
===================================================================
--- trunk/electric/debian/TODO.Debian	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/TODO.Debian	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1 +0,0 @@
-- add icon for electric in the debian menu system

Deleted: trunk/electric/debian/ant.properties
===================================================================
--- trunk/electric/debian/ant.properties	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/ant.properties	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,4 +0,0 @@
-ant.build.javac.source=1.5
-ant.build.javac.target=1.5
-GNU=1
-NOMAC=1

Added: trunk/electric/debian/bin/electric
===================================================================
--- trunk/electric/debian/bin/electric	                        (rev 0)
+++ trunk/electric/debian/bin/electric	2014-04-04 19:20:48 UTC (rev 17984)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# Include the wrappers utility script
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+find_java_runtime openjdk
+
+find_jars bsh jython electric
+find_jars vecmath j3dcore j3dutils slf4j-simple
+
+run_java com.sun.electric.Launcher "$@"

Modified: trunk/electric/debian/changelog
===================================================================
--- trunk/electric/debian/changelog	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/changelog	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,3 +1,38 @@
+electric (9.04+dfsg-1) unstable; urgency=medium
+
+  * Imported Upstream version 9.04. (Closes: #598445)
+  * Declare compliance with Debian Policy 3.9.5.
+  * Use compat level 9 and require debhelper >= 9.
+  * debian/control:
+    - Remove Onkar Shinde from Uploaders. He is apparently not active anymore.
+    - Add myself to Uploaders.
+    - Use canonical VCS fields.
+    - New build-dependencies for plugins and additional features:
+     + scala, jython, libslf4j-java.
+    - Use ${java:Depends} substvar.
+    - Remove recommendation for libjava3d-java. It is a dependency now.
+    - Depend on default-jre | java7-runtime.
+  * electric.desktop: Add comment in German and Keywords.
+  * Drop README.source since source format 3.0 uses quilt by default.
+  * Drop TODO.Debian. Done.
+  * Drop ant.properties files. Not needed.
+  * Drop orig.tar.sh script and use the Files-Excluded mechanism.
+  * Update menu file. Add longtitle and icon entry.
+  * Add electric.xpm icon and install it to /usr/share/pixmaps.
+  * wrap-and-sort -sa.
+  * debian/patches:
+    - Drop 01_fix_build_xml.patch. It is obsolete.
+    - Add build.patch.
+      + Search for jars in /usr/share/java.
+      + Use UTF-8 for encoding.
+      + Do not build MacOSX specific code.
+  * Switch from cdbs to javahelper and dh sequencer.
+  * Move icons to debian/icons subdirectory.
+  * Rename wrappers directory to bin.
+  * Improve watch file. Mangle version correctly.
+
+ -- Markus Koschany <apo at gambaru.de>  Fri, 04 Apr 2014 13:51:14 +0200
+
 electric (8.10-2) unstable; urgency=low
 
   * Team upload

Modified: trunk/electric/debian/compat
===================================================================
--- trunk/electric/debian/compat	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/compat	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1 +1 @@
-7
+9

Modified: trunk/electric/debian/control
===================================================================
--- trunk/electric/debian/control	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/control	2014-04-04 19:20:48 UTC (rev 17984)
@@ -2,21 +2,34 @@
 Section: electronics
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: "Barak A. Pearlmutter" <bap at debian.org>, Onkar Shinde <onkarshinde at ubuntu.com>
-Build-Depends: debhelper (>= 7), cdbs, ant
-Build-Depends-Indep: default-jdk, bsh, libjava3d-java
-Standards-Version: 3.8.3
-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/electric
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/electric
+Uploaders:
+ Barak A. Pearlmutter <bap at debian.org>,
+ Markus Koschany <apo at gambaru.de>
+Build-Depends:
+ ant,
+ debhelper (>= 9),
+ javahelper
+Build-Depends-Indep:
+ bsh,
+ default-jdk,
+ jython,
+ libjava3d-java,
+ libslf4j-java,
+ scala
+Standards-Version: 3.9.5
+Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/electric
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/electric
 Homepage: http://www.staticfreesoft.com/productsFree.html
 
 Package: electric
 Architecture: all
-Depends: ${misc:Depends}, default-jre, bsh, java-wrappers
-Recommends: libjava3d-java
+Depends:
+ default-jre | java7-runtime,
+ java-wrappers,
+ ${java:Depends},
+ ${misc:Depends}
 Description: electrical CAD system
  Electric is a sophisticated electrical CAD system that can handle many forms
  of circuit design, including custom IC layout (ASICs), schematic drawing,
  hardware description language specifications, and electro-mechanical hybrid
  layout.
-

Modified: trunk/electric/debian/copyright
===================================================================
--- trunk/electric/debian/copyright	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/copyright	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,19 +1,30 @@
-This package was debianized by Chris Ruffin <cmruffin at debian.org> on
-Sat,  9 Sep 2000 16:50:25 -0400.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Electric
+Source: ftp://ftp.gnu.org/pub/gnu/electric
+Files-Excluded:
+ *.jar
+ *.class
+ com/sun/electric/tool/user/MacOSXInterface.java
 
-It was downloaded from ftp://ftp.gnu.org/pub/gnu/electric/
 
-Upstream Author:    Static Free Software <info at staticfreesoft.com>
-                    or
-                    Steven Rubin <strubin at staticfreesoft.com>
+Files: *
+Copyright: 2000-2013, Oracle and/or its affiliates
+                      Static Free Software
+                      Sun Microsystems
+                      Karlsruhe Institute of Technology (KIT)
+                      and other contributors
+License: GPL-3+
 
-Copyright:
+Files: debian/*
+Copyright: 2000-2002, Chris Ruffin <cmruffin at debian.org>
+           2004-2005, Kyle McMartin <kyle at debian.org>
+           2006,      Kai Hendry <hendry at iki.fi>
+           2008,      Ralf Treinen <treinen at debian.org>
+           2008-2010, Onkar Shinde <onkarshinde at gmail.com>
+           2011,      Torsten Werner <twerner at debian.org>
+           2014,      Markus Koschany <apo at gambaru.de>
+License: GPL-3+
 
-Copyright (c) 2003 Sun Microsystems and Static Free Software
-These scripts are free software; you can redistribute it and/or modify it
-under the terms of the GNU General Public License as published by the
-Free Software Foundation; either version 3, or (at your option) any
-later version.
-
-On Debian GNU/Linux systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL'.
+License: GPL-3+
+ On Debian systems the complete text of the GNU General Public License 3
+ can be found in `/usr/share/common-licenses/GPL-3'.

Modified: trunk/electric/debian/electric.desktop
===================================================================
--- trunk/electric/debian/electric.desktop	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/electric.desktop	2014-04-04 19:20:48 UTC (rev 17984)
@@ -3,7 +3,9 @@
 Name=electric
 GenericName=Electrical CAD
 Comment=Electrical CAD System
+Comment[de]=CAD-System für elektrische Schaltpläne
 Type=Application
 Exec=electric
 Icon=electric
 Categories=Education;Electronics;Engineering;
+Keywords=CAD;editor;electrical;circuits;engineering;

Modified: trunk/electric/debian/electric.docs
===================================================================
--- trunk/electric/debian/electric.docs	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/electric.docs	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,3 +1 @@
 README.txt
-#ChangeLog.txt
-

Deleted: trunk/electric/debian/electric.svg
===================================================================
--- trunk/electric/debian/electric.svg	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/electric.svg	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-<svg
-   xmlns:dc="http://purl.org/dc/elements/1.1/"
-   xmlns:cc="http://web.resource.org/cc/"
-   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-   xmlns:svg="http://www.w3.org/2000/svg"
-   xmlns="http://www.w3.org/2000/svg"
-   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
-   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-   width="490"
-   height="490"
-   id="svg2"
-   sodipodi:version="0.32"
-   inkscape:version="0.43"
-   version="1.0"
-   sodipodi:docbase="/home/phil/programming/ubuntu"
-   sodipodi:docname="electric_icon.svg">
-  <defs
-     id="defs4" />
-  <sodipodi:namedview
-     id="base"
-     pagecolor="#ffffff"
-     bordercolor="#666666"
-     borderopacity="1.0"
-     inkscape:pageopacity="0.0"
-     inkscape:pageshadow="2"
-     inkscape:zoom="0.70710678"
-     inkscape:cx="309.85939"
-     inkscape:cy="286.49377"
-     inkscape:document-units="px"
-     inkscape:current-layer="layer1"
-     inkscape:window-width="872"
-     inkscape:window-height="587"
-     inkscape:window-x="229"
-     inkscape:window-y="68" />
-  <metadata
-     id="metadata7">
-    <rdf:RDF>
-      <cc:Work
-         rdf:about="">
-        <dc:format>image/svg+xml</dc:format>
-        <dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-      </cc:Work>
-    </rdf:RDF>
-  </metadata>
-  <g
-     inkscape:label="Layer 1"
-     inkscape:groupmode="layer"
-     id="layer1">
-    <g
-       id="g3981"
-       transform="translate(-2.828427,24.04163)">
-      <g
-         transform="translate(-156.9777,-282.8427)"
-         style="fill:none;fill-opacity:1"
-         id="g3086">
-        <path
-           style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M 508.60066,293.71334 C 587.84982,330.45927 642.85714,410.74023 642.85714,503.79076 L 642.85716,503.79076 C 642.85715,596.83988 587.85148,677.11982 508.60424,713.86651"
-           id="path1320" />
-        <path
-           style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M 302.82433,713.86651 C 223.57709,677.11982 168.57143,596.83987 168.57143,503.79075 C 168.57143,410.74022 223.57875,330.45926 302.82791,293.71333"
-           id="path1316" />
-        <path
-           style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M 508.64337,293.71731 L 303.07733,293.71731"
-           id="path1322"
-           sodipodi:nodetypes="cc" />
-        <path
-           style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-           d="M 508.40524,713.85827 L 302.8392,713.85827"
-           id="path2201"
-           sodipodi:nodetypes="cc" />
-      </g>
-      <rect
-         rx="4.1999998"
-         ry="4.1999998"
-         y="87.51947"
-         x="133.23659"
-         height="120"
-         width="58"
-         id="rect3092"
-         style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
-      <rect
-         rx="4.1999998"
-         ry="4.1999998"
-         y="87.51947"
-         x="306.2366"
-         height="120"
-         width="58"
-         id="rect3094"
-         style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
-      <path
-         sodipodi:nodetypes="cccccc"
-         id="rect3099"
-         d="M 216.36159,297.01947 L 248.73659,279.76947 L 281.11159,297.01947 L 281.11159,359.01947 L 216.36159,359.01947 L 216.36159,297.01947 z "
-         style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
-    </g>
-  </g>
-</svg>

Added: trunk/electric/debian/icons/electric.svg
===================================================================
--- trunk/electric/debian/icons/electric.svg	                        (rev 0)
+++ trunk/electric/debian/icons/electric.svg	2014-04-04 19:20:48 UTC (rev 17984)
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://web.resource.org/cc/"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="490"
+   height="490"
+   id="svg2"
+   sodipodi:version="0.32"
+   inkscape:version="0.43"
+   version="1.0"
+   sodipodi:docbase="/home/phil/programming/ubuntu"
+   sodipodi:docname="electric_icon.svg">
+  <defs
+     id="defs4" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.70710678"
+     inkscape:cx="309.85939"
+     inkscape:cy="286.49377"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     inkscape:window-width="872"
+     inkscape:window-height="587"
+     inkscape:window-x="229"
+     inkscape:window-y="68" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1">
+    <g
+       id="g3981"
+       transform="translate(-2.828427,24.04163)">
+      <g
+         transform="translate(-156.9777,-282.8427)"
+         style="fill:none;fill-opacity:1"
+         id="g3086">
+        <path
+           style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="M 508.60066,293.71334 C 587.84982,330.45927 642.85714,410.74023 642.85714,503.79076 L 642.85716,503.79076 C 642.85715,596.83988 587.85148,677.11982 508.60424,713.86651"
+           id="path1320" />
+        <path
+           style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="M 302.82433,713.86651 C 223.57709,677.11982 168.57143,596.83987 168.57143,503.79075 C 168.57143,410.74022 223.57875,330.45926 302.82791,293.71333"
+           id="path1316" />
+        <path
+           style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="M 508.64337,293.71731 L 303.07733,293.71731"
+           id="path1322"
+           sodipodi:nodetypes="cc" />
+        <path
+           style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="M 508.40524,713.85827 L 302.8392,713.85827"
+           id="path2201"
+           sodipodi:nodetypes="cc" />
+      </g>
+      <rect
+         rx="4.1999998"
+         ry="4.1999998"
+         y="87.51947"
+         x="133.23659"
+         height="120"
+         width="58"
+         id="rect3092"
+         style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <rect
+         rx="4.1999998"
+         ry="4.1999998"
+         y="87.51947"
+         x="306.2366"
+         height="120"
+         width="58"
+         id="rect3094"
+         style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccc"
+         id="rect3099"
+         d="M 216.36159,297.01947 L 248.73659,279.76947 L 281.11159,297.01947 L 281.11159,359.01947 L 216.36159,359.01947 L 216.36159,297.01947 z "
+         style="fill:#515151;fill-opacity:1;stroke:#000000;stroke-width:12;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1" />
+    </g>
+  </g>
+</svg>

Added: trunk/electric/debian/icons/electric.xpm
===================================================================
--- trunk/electric/debian/icons/electric.xpm	                        (rev 0)
+++ trunk/electric/debian/icons/electric.xpm	2014-04-04 19:20:48 UTC (rev 17984)
@@ -0,0 +1,81 @@
+/* XPM */
+static char *electric[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 43 1 ",
+"  c black",
+". c #020202",
+"X c #030303",
+"o c #040404",
+"O c #050505",
+"+ c #070707",
+"@ c #090909",
+"# c #0A0A0A",
+"$ c #0C0C0C",
+"% c #101010",
+"& c #111111",
+"* c #121212",
+"= c #161616",
+"- c #181818",
+"; c #191919",
+": c #1C1C1C",
+"> c #1D1D1D",
+", c #1F1F1F",
+"< c #232323",
+"1 c #242424",
+"2 c #262626",
+"3 c #292929",
+"4 c #2D2D2D",
+"5 c #323232",
+"6 c #333333",
+"7 c #343434",
+"8 c #353535",
+"9 c #383838",
+"0 c #3B3B3B",
+"q c #3C3C3C",
+"w c #414141",
+"e c #424242",
+"r c #434343",
+"t c #494949",
+"y c #4A4A4A",
+"u c #4B4B4B",
+"i c #4D4D4D",
+"p c #4E4E4E",
+"a c #4F4F4F",
+"s c #515151",
+"d c #525252",
+"f c #545454",
+"g c None",
+/* pixels */
+"gggggggggggggggggggggggggggggggg",
+"gggggggggggggggggggggggggggggggg",
+"gggggggg                gggggggg",
+"ggggggg gggggggggggggggg  gggggg",
+"ggggg gggggggggggggggggggg ggggg",
+"gggg gggggggggggggggggggggg gggg",
+"ggg gggggggggggggggggggggggg ggg",
+"ggg ggggo;<;oggggggg;,,$gggg ggg",
+"gg ggggg&yswoggggggo9si;ggggg gg",
+"gggggggg&ysw$ggggggoqsi;gggggggg",
+"g gggggg&ysw$ggggggoqsi;gggggg g",
+"g gggggg&yfw$ggggggoqfi=gggggg g",
+"gggggggg&yfw$gggggg$qfi;ggggggg ",
+" ggggggg&ifr$ggggggoqfs;ggggggg ",
+" ggggggg$794ogggggg 397&ggggggg ",
+" gggggggg o gggggggg o gggggggg ",
+" gggggggggggggggggggggggggggggg ",
+" gggggggggggggggggggggggggggggg ",
+" gggggggggggggggggggggggggggggg ",
+"ggggggggggggggggggggggggggggggg ",
+"g gggggggggggg$<3$gggggggggggg g",
+"g gggggggggggg4ss7oggggggggggg g",
+"gggggggggggggg7ssqoggggggggggggg",
+"gg ggggggggggg7ffqogggggggggg gg",
+"ggg gggggggggg,551oggggggggg ggg",
+"ggg gggggggggggggggggggggggg ggg",
+"gggg gggggggggggggggggggggg gggg",
+"ggggg  ggggggggggggggggggg ggggg",
+"ggggggg gggggggggggggggg  gggggg",
+"gggggggg                gggggggg",
+"gggggggggggggggggggggggggggggggg",
+"gggggggggggggggggggggggggggggggg"
+};

Modified: trunk/electric/debian/install
===================================================================
--- trunk/electric/debian/install	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/install	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,4 +1,5 @@
-electric.jar usr/share/java/
-debian/electric.svg usr/share/icons/hicolor/scalable/apps/
-debian/electric.desktop usr/share/applications/
-debian/wrappers/electric usr/bin/
+debian/bin/electric usr/bin
+debian/electric.desktop usr/share/applications
+debian/icons/electric.svg usr/share/icons/hicolor/scalable/apps
+debian/icons/electric.xpm usr/share/pixmaps
+electric.jar usr/share/java

Modified: trunk/electric/debian/menu
===================================================================
--- trunk/electric/debian/menu	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/menu	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,5 +1,7 @@
-?package(electric):needs="X11"\
-  section="Applications/Science/Engineering"\
-  hints="CAD,Electric"\
-  title="electric" \
-  command="/usr/bin/electric"
+?package(electric):needs="X11" \
+  section="Applications/Science/Engineering" \
+  hints="CAD,Electric" \
+  title="Electric" \
+  longtitle="Electric - electrical CAD system" \
+  command="/usr/bin/electric" \
+  icon="/usr/share/pixmaps/electric.xpm"

Deleted: trunk/electric/debian/orig-tar.sh
===================================================================
--- trunk/electric/debian/orig-tar.sh	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/orig-tar.sh	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,20 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-TAR=../electric_$2.orig.tar.gz
-DIR=electric-$2
-JAR=$3
-
-# clean up the upstream tarball
-mkdir $DIR && cd $DIR && jar -xvf ../$JAR
-cd ../ && find $DIR/ -name *.class | xargs rm -f
-tar -czvf $TAR $DIR
-rm -rf $DIR
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
-    . .svn/deb-layout
-    mv $TAR $origDir
-    echo "moved $TAR to $origDir"
-fi
-

Deleted: trunk/electric/debian/patches/01_fix_build_xml.patch
===================================================================
--- trunk/electric/debian/patches/01_fix_build_xml.patch	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/patches/01_fix_build_xml.patch	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,31 +0,0 @@
-Index: electric-8.10/build.xml
-===================================================================
---- electric-8.10.orig/build.xml	2010-01-04 23:42:20.000000000 +0530
-+++ electric-8.10/build.xml	2010-01-04 23:46:41.000000000 +0530
-@@ -371,10 +371,10 @@
-             </antcall>
-     </target>
- 
--    <target name="jarWithTests" depends="clean,init,compileTests" description="Make binary Jar file">
--        <antcall target="unjarSUN"></antcall>
--        <copy file="../packaging/electric.mf" tofile="electric.mf"/>
--        <jar basedir="." compress="true" jarfile="electric.jar" manifest="electric.mf">
-+    <target name="jarWithTests" depends="clean,init,compile" description="Make binary Jar file">
-+        <!--antcall target="unjarSUN"></antcall-->
-+        <!--copy file="../packaging/electric.mf" tofile="electric.mf"/-->
-+        <jar basedir="." compress="true" jarfile="electric.jar">
-             <exclude name="**/.nfs*"/>
-             <exclude name="apidoc/"/>
-             <exclude name="build.xml" unless="source"/>
-@@ -393,8 +393,9 @@
-             <patternset refid="exclusion" />
-             <exclude name="**/*.java" unless="source"/>
-             <exclude name="**/*.form" unless="source"/>
--            <zipfileset src="${AppleJava}" excludes="META-INF/**"/>
--            <zipfileset src="${JUnit}" excludes="META-INF/**"/>
-+            <exclude name="debian/"/>
-+            <!--zipfileset src="${AppleJava}" excludes="META-INF/**"/>
-+            <zipfileset src="${JUnit}" excludes="META-INF/**"/-->
-             <!--
-             <zipfileset src="${beanshell}" excludes="META-INF/**">
-                 <selector if="SUN">

Added: trunk/electric/debian/patches/build.patch
===================================================================
--- trunk/electric/debian/patches/build.patch	                        (rev 0)
+++ trunk/electric/debian/patches/build.patch	2014-04-04 19:20:48 UTC (rev 17984)
@@ -0,0 +1,51 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Fri, 4 Apr 2014 17:29:02 +0200
+Subject: build
+
+---
+ build.xml | 18 +++++++++++-------
+ 1 file changed, 11 insertions(+), 7 deletions(-)
+
+diff --git a/build.xml b/build.xml
+index 2d5b1a9..ac20f5c 100644
+--- a/build.xml
++++ b/build.xml
+@@ -26,7 +26,7 @@
+ 	<!-- *********************************** MAIN TARGET *********************************** -->
+ 
+ 	<target name="jar" depends="initialize" description="Make Jar file incrementally">
+-		<property name="jarname" value="electric-${version}.jar" />
++		<property name="jarname" value="electric.jar" />
+ 		<echo message="Building ${jarname}" />
+ 		<mkdir dir="${antBuild}"/>
+ 		<antcall target="compile" />
+@@ -43,7 +43,6 @@
+ 
+ 		<!-- the location of various JAR files -->
+ 		<property name="org"                value="${packaging}/org" />
+-		<property name="AppleJava"          value="${packaging}/AppleJavaExtensions-1.4.jar" />
+ 
+ 		<!-- does the build directory already exist? -->
+ 		<condition property="buildDirExists">
+@@ -65,11 +64,16 @@
+ 	</target>
+ 
+ 	<target name="compile" description="Compile Electric">
+-		<javac debug="true" includeantruntime="false" destdir="${antBuild}" srcdir="${ElectricJavaLoc}"
+-			   fork="true" memoryMaximumSize="1024m" source="1.6" target="1.6">
+-			<classpath>
+-				<pathelement location="${packaging}" />
+-				<pathelement location="${AppleJava}" />
++		<javac encoding="UTF-8" debug="true" includeantruntime="false" destdir="${antBuild}" srcdir="${ElectricJavaLoc}"
++			   fork="true" memoryMaximumSize="1024m" source="1.6" target="1.6">
++			<classpath>
++                <pathelement location="/usr/share/java/bsh.jar" />
++                <pathelement location="/usr/share/java/vecmath.jar" />
++                <pathelement location="/usr/share/java/j3dcore.jar" />
++                <pathelement location="/usr/share/java/j3dutils.jar" />
++                <pathelement location="/usr/share/java/slf4j-api.jar" />
++                <pathelement location="/usr/share/java/scala-library.jar" />
++                <pathelement location="/usr/share/java/jython.jar" />
+ 			</classpath>
+ 		</javac>
+ 		<copy todir="${antBuild}/com">

Modified: trunk/electric/debian/patches/series
===================================================================
--- trunk/electric/debian/patches/series	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/patches/series	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1 +1 @@
-01_fix_build_xml.patch
+build.patch

Modified: trunk/electric/debian/rules
===================================================================
--- trunk/electric/debian/rules	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/rules	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,12 +1,10 @@
 #!/usr/bin/make -f
+export JAVA_HOME=/usr/lib/jvm/default-java
+export CLASSPATH=/usr/share/java/bsh.jar:/usr/share/java/j3dcore.jar:/usr/share/java/j3dutils.jar:/usr/share/java/vecmath.jar:/usr/share/java/slf4j-simple.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/jython.jar
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/ant.mk
+%:
+	dh $@ --parallel --with javahelper
 
-JAVA_HOME			:= /usr/lib/jvm/default-java
-DEB_JARS			:= bsh vecmath j3dcore j3dutils
-DEB_INSTALL_CHANGELOGS_ALL	:= ChangeLog.txt
 
-
 get-orig-source::
-	uscan --verbose --download-version $(DEB_UPSTREAM_VERSION) --force-download
+	uscan --verbose --repack --force-download

Modified: trunk/electric/debian/watch
===================================================================
--- trunk/electric/debian/watch	2014-04-04 15:29:55 UTC (rev 17983)
+++ trunk/electric/debian/watch	2014-04-04 19:20:48 UTC (rev 17984)
@@ -1,7 +1,4 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# Site		Directory		Pattern			Version	Script
 version=3
-
-http://ftp.gnu.org/pub/gnu/electric/electric-(.*)\.jar debian debian/orig-tar.sh
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
+dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/ \
+http://ftp.gnu.org/pub/gnu/electric/electric-(.*)\.(?:jar|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz)




More information about the pkg-java-commits mailing list