[Pkg-electronics-commits] [pcb] 07/14: another patch no longer needed
Bdale Garbee
bdale at moszumanska.debian.org
Mon Mar 17 15:56:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
bdale pushed a commit to branch master
in repository pcb.
commit 3f5a79f416bd8b25734e16c3ced63f53c1b60d62
Author: Bdale Garbee <bdale at gag.com>
Date: Mon Mar 17 09:11:33 2014 -0600
another patch no longer needed
---
debian/patches/default_GtkFileChooser_cwd.diff | 55 --------------------------
debian/patches/series | 1 -
2 files changed, 56 deletions(-)
diff --git a/debian/patches/default_GtkFileChooser_cwd.diff b/debian/patches/default_GtkFileChooser_cwd.diff
deleted file mode 100644
index fb02177..0000000
--- a/debian/patches/default_GtkFileChooser_cwd.diff
+++ /dev/null
@@ -1,55 +0,0 @@
-Description: Set default path in GTK file choosers to cwd
-Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
-Bug: https://bugs.launchpad.net/pcb/+bug/855621
-Bug-Debian: http://bugs.debian.org/642060
-Forwarded: https://bugs.launchpad.net/pcb/+bug/855621/+attachment/2436146/+files/default_GtkFileChooser_cwd.diff
-
---- a/src/hid/gtk/gtkhid-main.c
-+++ b/src/hid/gtk/gtkhid-main.c
-@@ -11,6 +11,7 @@
- #endif
- #include <math.h>
- #include <time.h>
-+#include <unistd.h>
-
-
- #include "action.h"
-@@ -1230,6 +1231,13 @@
- static gchar *current_layout_dir = NULL;
- static gchar *current_netlist_dir = NULL;
-
-+ if(!current_element_dir)
-+ current_element_dir = get_current_dir_name();
-+ if(!current_layout_dir)
-+ current_layout_dir = get_current_dir_name();
-+ if(!current_netlist_dir)
-+ current_netlist_dir = get_current_dir_name();
-+
- /* we've been given the file name */
- if (argc > 1)
- return hid_actionv ("LoadFrom", argc, argv);
-@@ -1303,6 +1311,9 @@
-
- static gchar *current_dir = NULL;
-
-+ if(!current_dir)
-+ current_dir = get_current_dir_name();
-+
- if (argc > 1)
- return hid_actionv ("SaveTo", argc, argv);
-
-@@ -1986,6 +1997,9 @@
- static int I_am_recursing = 0;
- int rv;
-
-+ if(!current_layout_dir)
-+ current_layout_dir = get_current_dir_name();
-+
- if (I_am_recursing)
- return 1;
-
---- a/po/POTFILES.skip
-+++ b/po/POTFILES.skip
-@@ -1 +1,2 @@
- .pc/fix_pan_action.diff/src/hid/gtk/gtkhid-main.c
-+.pc/default_GtkFileChooser_cwd.diff/src/hid/gtk/gtkhid-main.c
diff --git a/debian/patches/series b/debian/patches/series
index 1aa2669..8d8aea9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,5 +1,4 @@
outdated_config.diff
-default_GtkFileChooser_cwd.diff
disable_hid_png3_test.diff
drop_check_global_included.patch
fix_CPPFLAGS.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/pcb.git
More information about the Pkg-electronics-commits
mailing list