[Pkg-electronics-commits] [SCM] Packaging for Pcb branch, master, updated. 111a4cff82319d19a2a5f1f64a2470fa248ae863
أحمد المحمودي (Ahmed El-Mahmoudy)
aelmahmoudy at users.sourceforge.net
Sun Nov 15 17:30:12 UTC 2009
The following commit has been merged in the master branch:
commit d8f0a383bb51c062eff66b2071de732bf8ac64e7
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
Date: Sun Nov 15 19:02:19 2009 +0200
* debian/control: Remove pcb-common's circular dependency with pcb-gtk | pcb-lesstif (Closes: #478710)
* Add patch tryexec.diff to replace Exec with TryExec in desktop try for
the case that neither pcb-gtk nor pcb-lesstif got installed.
diff --git a/debian/control b/debian/control
index 1e316be..fd6d3dd 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Browser: http://git.debian.org/?p=pkg-electronics/pcb.git
Package: pcb
Architecture: all
-Depends: ${misc:Depends}, pcb-gtk | pcb-lesstif, pcb-common
+Depends: ${misc:Depends}, pcb-common
Description: printed circuit board (pcb) design program - meta-package
PCB is an interactive printed circuit board editor for the X11 window
system. PCB includes a rats nest feature, design rule checking, and can
diff --git a/debian/patches/series b/debian/patches/series
index 5c48d0f..3d0aeea 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
outdated_config.diff
desktop.diff
+tryexec.diff
manpage.diff
diff --git a/debian/patches/tryexec.diff b/debian/patches/tryexec.diff
new file mode 100644
index 0000000..b54e13f
--- /dev/null
+++ b/debian/patches/tryexec.diff
@@ -0,0 +1,14 @@
+Description: Replace Exec with TryExec in case that neither pcb-gtk nor pcb-lesstif got installed.
+Forwarded: no
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at users.sourceforge.net>
+--- a/data/pcb.desktop.in
++++ b/data/pcb.desktop.in
+@@ -4,7 +4,7 @@
+ _GenericName=PCB Design
+ _Comment=Create and edit printed circuit board designs
+ Type=Application
+-Exec=pcb %f
++TryExec=pcb %f
+ Icon=pcb
+ MimeType=application/x-pcb-layout;application/x-pcb-footprint;
+ Categories=Education;Science;Engineering;Electronics;
--
Packaging for Pcb
More information about the Pkg-electronics-commits
mailing list