debian: Sync patches with Debian
authorBalint Reczey <balint@balintreczey.hu>
Tue, 15 Dec 2015 16:30:40 +0000 (17:30 +0100)
committerAnders Broman <a.broman58@gmail.com>
Wed, 16 Dec 2015 05:34:22 +0000 (05:34 +0000)
Change-Id: Iec369a7c5ecd559310198efca2cadb56a449de49
Reviewed-on: https://code.wireshark.org/review/12662
Reviewed-by: Anders Broman <a.broman58@gmail.com>
debian/patches/04_asn2wrs_ply.patch
debian/patches/05_note-README-when-running-as-root.patch
debian/patches/06_release-version.patch
debian/patches/08_wireshark-desktop-menu.patch [changed mode: 0644->0755]
debian/patches/09_idl2wrs.patch [changed mode: 0644->0755]
debian/patches/16_licence_about_location.patch [changed mode: 0644->0755]
debian/patches/series

index 2cf2bae9c919d466850999b681fa1e98367c7b1f..bc700467c62ff6c18bc01d3d2e8413d6d30a4574 100644 (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
index 68872b317f22c30fc6bc71a950c027b5077b3684..2abed19e97d7705c3fb608c60761ba20e68f318f 100644 (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"
index ee5584fd590ed44e3097307ce2340800f29aa9bc..6a0d2fd4d4b9cf8a6036d2dffb7cdc07decaa067 100644 (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)
  #
old mode 100644 (file)
new mode 100755 (executable)
index db6ddd5..e23a503
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index f479ba6..9879ce3
@@ -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
old mode 100644 (file)
new mode 100755 (executable)
index 36cebff..0806d53
@@ -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);
index dd30417d28d7e67cc12115b8c235eb7799b0239e..2224742cb33c26a810fb7ad89b897ee736b4ad39 100644 (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