debian: Sync patches with Debian

Change-Id: Iec369a7c5ecd559310198efca2cadb56a449de49
Reviewed-on: https://code.wireshark.org/review/12662
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Balint Reczey 2015-12-15 17:30:40 +01:00 committed by Anders Broman
parent 04d72727a8
commit 7ce903bee7
7 changed files with 42 additions and 14 deletions

View File

@ -8,10 +8,11 @@ Author: Jakub Wilk <ubanus@users.sf.net>
@@ -70,8 +70,8 @@
import getopt
import traceback
-import lex
-import yacc
+from ply import lex
+from ply import yacc
from functools import partial
if sys.version_info[0] < 3:
from string import maketrans

View File

@ -4,7 +4,7 @@ Author: Balint Reczey <balint@balintreczey.hu>
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2085,7 +2085,7 @@
@@ -2102,7 +2102,7 @@
"This could be dangerous.\n\n"
"If you're running Wireshark this way in order to perform live capture, "
"you may want to be aware that there is a better way documented at\n"

View File

@ -4,12 +4,12 @@ Author: Balint Reczey <balint@balintreczey.hu>
--- a/Makefile.am
+++ b/Makefile.am
@@ -638,7 +638,7 @@
@@ -676,7 +676,7 @@
am__v_PERL_0 = @echo " PERL " $@;
am__v_PERL_1 =
-version.h: FORCE
+version.h:
$(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
$(AM_V_PERL)$(PERL) $(srcdir)/make-version.pl $(srcdir)
#

13
debian/patches/08_wireshark-desktop-menu.patch vendored Normal file → Executable file
View File

@ -4,10 +4,19 @@ Author: <fred@candle>
--- a/wireshark.desktop
+++ b/wireshark.desktop
@@ -75,4 +75,5 @@
MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;
@@ -108,4 +108,5 @@
MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;application/x-tektronix-rf5;
# Category entry according to:
# http://standards.freedesktop.org/menu-spec/1.0/
-Categories=System;Monitor;Qt;
+Categories=Network;
+Encoding=UTF-8
--- a/wireshark-gtk.desktop
+++ b/wireshark-gtk.desktop
@@ -108,4 +108,5 @@
MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;application/x-tektronix-rf5;
# Category entry according to:
# http://standards.freedesktop.org/menu-spec/1.0/
-Categories=System;Monitor;GTK;
+Categories=Network;
+Encoding=UTF-8

6
debian/patches/09_idl2wrs.patch vendored Normal file → Executable file
View File

@ -7,7 +7,7 @@ Author: Frederic Peters <fpeters@debian.org>
@@ -65,41 +65,8 @@
exit 1;
fi
-#
-# Run wireshark backend, looking for wireshark_be.py and wireshark_gen.py
-# in pythons's "site-packages" directory. If cannot find that, then
@ -31,7 +31,7 @@ Author: Frederic Peters <fpeters@debian.org>
-# set up a valid path.
-
exec omniidl -b wireshark_be $@
-old code: not reached
-
-echo "idl2wrs Error: Could not find both wireshark_be.py AND wireshark_gen.py."
@ -43,6 +43,6 @@ Author: Frederic Peters <fpeters@debian.org>
-
-exit 2
-
#
# Editor modelines - http://www.wireshark.org/tools/modelines.html

14
debian/patches/16_licence_about_location.patch vendored Normal file → Executable file
View File

@ -4,7 +4,7 @@ Author: Frederic Peters <fpeters@debian.org>
--- a/ui/gtk/about_dlg.c
+++ b/ui/gtk/about_dlg.c
@@ -506,7 +506,7 @@
@@ -502,7 +502,7 @@
#if defined(_WIN32)
absolute_path = get_datafile_path("COPYING.txt");
#else
@ -12,3 +12,15 @@ Author: Frederic Peters <fpeters@debian.org>
+ absolute_path = get_datafile_path("ABOUT.GPL");
#endif
page = text_page_new(absolute_path);
--- a/ui/qt/about_dialog.cpp
+++ b/ui/qt/about_dialog.cpp
@@ -312,7 +312,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
#if defined(_WIN32)
f_license.setFileName(get_datafile_path("COPYING.txt"));
#else
- f_license.setFileName(get_datafile_path("COPYING"));
+ f_license.setFileName(get_datafile_path("ABOUT.GPL"));
#endif
f_license.open(QFile::ReadOnly | QFile::Text);

View File

@ -1 +1,7 @@
02_use_packaged_openlayers_js.patch
04_asn2wrs_ply.patch
05_note-README-when-running-as-root.patch
06_release-version.patch
08_wireshark-desktop-menu.patch
09_idl2wrs.patch
16_licence_about_location.patch