1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
This patch contains all the Debian-specific
changes mixed together. To review them
separately, please inspect the GIT history
at http://gitorious.net/visolate.
--- visolate-2.1.6~svn8+dfsg1.orig/visolate/src/visolate/Main.java
+++ visolate-2.1.6~svn8+dfsg1/visolate/src/visolate/Main.java
@@ -61,8 +61,8 @@ public class Main extends JApplet {
CommandLineParser parser = new PosixParser();
Options options = new Options();
- options.addOption( "x", "flip-x", false, "flip around x axis" );
- options.addOption( "y", "flip-y", false, "flip around y axis" );
+ options.addOption( "x", "flip-x", false, "flip x coordinates (reflection across y axis)" );
+ options.addOption( "y", "flip-y", false, "flip y coordinates (reflection across x axis)" );
options.addOption( "absolute", false, "use absolute cooridnates" );
options.addOption( "d", "dpi", true, "dpi to use for rastering");
options.addOption( "a", "auto", false, "auto-mode (run, save and exit)");
--- visolate-2.1.6~svn8+dfsg1.orig/visolate/src/visolate/Visolate.java
+++ visolate-2.1.6~svn8+dfsg1/visolate/src/visolate/Visolate.java
@@ -48,7 +48,7 @@ import org.apache.commons.cli.CommandLin
public class Visolate extends JPanel implements SimulatorUI {
- public static final String DEMO_FILE = "example.grb";
+ public static final String DEMO_FILE = "/usr/share/visolate/example.grb";
/**
* kept here so it is available in the invokeLater Runnable in Main
*/
@@ -752,7 +752,7 @@ public class Visolate extends JPanel imp
}
public void loadDemo() {
- loadURL(getClass().getResource(DEMO_FILE));
+ loadFile(new File(DEMO_FILE));
loadField.setText("[built-in demo]");
}
|