summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-02-11 23:14:34 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-02-11 23:14:34 +0000
commit9a5744657866150cbaf433bd3b32253fe26421ea (patch)
tree12eb35a959c219a5b0093a12de9b9031dc13fc0e
parent3326472c3a600c74d0acd5c4b1ec3588ca30aad8 (diff)
logic-analyzer: Small fixes.
- added java2-runtime RDEPENDS - added classpath-awt RDEPENDS - added patch to make capture dialog scrollable (for small screens)
-rw-r--r--packages/logic-analyzer/files/scrolling-capture-dialog.patch21
-rw-r--r--packages/logic-analyzer/logic-analyzer_0.8.bb5
2 files changed, 25 insertions, 1 deletions
diff --git a/packages/logic-analyzer/files/scrolling-capture-dialog.patch b/packages/logic-analyzer/files/scrolling-capture-dialog.patch
new file mode 100644
index 0000000000..91e9ce0766
--- /dev/null
+++ b/packages/logic-analyzer/files/scrolling-capture-dialog.patch
@@ -0,0 +1,21 @@
+Index: LogicAnalyzer/client/org/sump/analyzer/DeviceController.java
+===================================================================
+--- LogicAnalyzer.orig/client/org/sump/analyzer/DeviceController.java 2008-02-11 23:34:01.000000000 +0100
++++ LogicAnalyzer/client/org/sump/analyzer/DeviceController.java 2008-02-11 23:35:17.000000000 +0100
+@@ -43,6 +43,7 @@
+ import javax.swing.JProgressBar;
+ import javax.swing.JTabbedPane;
+ import javax.swing.JTextField;
++import javax.swing.JScrollPane;
+ import javax.swing.Timer;
+
+ import org.sump.util.Properties;
+@@ -312,7 +313,7 @@
+ // if no valid dialog exists, create one
+ if (dialog == null) {
+ dialog = new JDialog(frame, "Capture", true);
+- dialog.getContentPane().add(this);
++ dialog.getContentPane().add(new JScrollPane(this));
+ dialog.setResizable(false);
+ dialog.setSize(this.getPreferredSize());
+ // dialog.pack();
diff --git a/packages/logic-analyzer/logic-analyzer_0.8.bb b/packages/logic-analyzer/logic-analyzer_0.8.bb
index f66752ad31..863a7a3e00 100644
--- a/packages/logic-analyzer/logic-analyzer_0.8.bb
+++ b/packages/logic-analyzer/logic-analyzer_0.8.bb
@@ -2,15 +2,18 @@ DESCRIPTION = "A Java-based logical analyzer for home use."
LICENSE = "GPL"
HOMEPAGE = "http://sump.org/projects/analyzer/"
+PR = "r1"
+
inherit java
DEPENDS = "rxtx"
-RDEPENDS = "librxtx-java"
+RDEPENDS = "java2-runtime classpath-awt librxtx-java"
SRC_URI = "\
http://sump.org/projects/analyzer/downloads/la-src-${PV}.tar.bz2 \
file://cp-run-fix.patch;patch=1 \
file://client-makefile.patch;patch=1 \
+ file://scrolling-capture-dialog.patch;patch=1 \
"
S = "${WORKDIR}/LogicAnalyzer"