Wireshark-bugs: [Wireshark-bugs] [Bug 1916] New: Can't build wireshark packages from svn on Debi
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1916
Summary: Can't build wireshark packages from svn on Debian
unstable
Product: Wireshark
Version: SVN
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: max@xxxxxxx
Build Information:
SVN from 15 oct 2007
--
Can't build wireshark debian packages from current svn without some fixes on
current Debian unstable because unsatisfied build-dep and some patches produce
rejects
with patches beloe package builds ok for me
but i can't test build-depends on debian stable
steps to reproduce:
checkout svn trunk
debuild -us -uc -b
Please review patches
Below patches for debian/ directory
---
Index: control
===================================================================
--- control (revision 23186)
+++ control (working copy)
@@ -3,8 +3,8 @@
Priority: optional
Maintainer: Frederic Peters <fpeters@xxxxxxxxxx>
Standards-Version: 3.7.2.0
-Build-Depends: libgtk2.0-dev (>=2.4.0-0), libpcap0.8-dev, flex, libz-dev,
dpatch, debhelper (>= 5.0.37.2), libtool, python, automake1.9, autoconf,
autotools-dev, libadns1-dev, xsltproc, docbook-xsl (>= 1.64.1.0-0),
libpcre3-dev, libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], bison,
libgnutls-dev, python-support (>= 0.3), libportaudio-dev, libkrb5-dev
-Build-Conflicts: libsnmp4.2-dev, libsnmp-dev
+Build-Depends: libgtk2.0-dev (>=2.4.0-0), libpcap0.8-dev, flex, libz-dev,
dpatch, debhelper (>= 5.0.37.2), libtool, python, automake1.9, autoconf,
autotools-dev, libadns1-dev, xsltproc, docbook-xsl (>= 1.64.1.0-0),
libpcre3-dev, libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], bison,
libgnutls-dev, python-support (>= 0.3), portaudio19-dev, libkrb5-dev
+Build-Conflicts: libsnmp4.2-dev
XS-Python-Version: all
Package: wireshark-common
Index: patches/08_wireshark-desktop-menu.dpatch
===================================================================
--- patches/08_wireshark-desktop-menu.dpatch (revision 23186)
+++ patches/08_wireshark-desktop-menu.dpatch (working copy)
@@ -5,10 +5,10 @@
## DP: No description.
@DPATCH@
-diff -urNad wireshark-0.99.4/wireshark.desktop
/tmp/dpep.1jXNTW/wireshark-0.99.4/wireshark.desktop
---- wireshark-0.99.4/wireshark.desktop 2006-11-01 10:31:40.011860048 +0100
-+++ /tmp/dpep.1jXNTW/wireshark-0.99.4/wireshark.desktop 2006-11-01
10:32:13.727816940 +0100
-@@ -68,11 +68,11 @@
+diff -urNad wireshark~/wireshark.desktop wireshark/wireshark.desktop
+--- wireshark~/wireshark.desktop 2007-10-15 20:13:56.000000000 +0400
++++ wireshark/wireshark.desktop 2007-10-15 20:18:52.000000000 +0400
+@@ -68,9 +68,9 @@
Comment[fi]=Verkkoliikenne analysaattori
Comment[fr]=Analyseur de trafic r├йseau
Comment[sv]=N├дtverkstrafikanalysator
@@ -16,9 +16,7 @@
+Icon=hi48-app-wireshark.png
TryExec=wireshark
Exec=wireshark
- Path=
Terminal=false
- MimeType=
--Categories=Application;GTK;Network;X-Red-Hat-Extra;
+-Categories=GTK;Network;X-Red-Hat-Extra;
+Categories=GNOME;Application;Network;
X-KDE-SubstituteUID=true
Index: patches/03_preferences.dpatch
===================================================================
--- patches/03_preferences.dpatch (revision 23186)
+++ patches/03_preferences.dpatch (working copy)
@@ -5,22 +5,22 @@
## DP: use Debian sensible-browser
@DPATCH@
-diff -urNad wireshark-0.10.13~/configure.in wireshark-0.10.13/configure.in
---- wireshark-0.10.13~/configure.in 2005-12-08 12:47:00.000000000 +0100
-+++ wireshark-0.10.13/configure.in 2005-12-08 12:53:33.000000000 +0100
-@@ -38,12 +38,12 @@
- #
- AC_MSG_ERROR(I couldn't find pod2html; make sure it's installed and in
your path)
- fi
--AC_PATH_PROG(HTML_VIEWER, htmlview)
-+AC_PATH_PROG(HTML_VIEWER, sensible-browser)
+diff -urNad wireshark~/configure.in wireshark/configure.in
+--- wireshark~/configure.in 2007-10-15 19:47:35.000000000 +0400
++++ wireshark/configure.in 2007-10-15 19:55:45.000000000 +0400
+@@ -47,12 +47,12 @@
+ AC_PATH_PROG(HTML_VIEWER, xdg-open)
if test "x$HTML_VIEWER" = x
then
-- AC_DEFINE_UNQUOTED(HTML_VIEWER, "mozilla", [HTML viewer, e.g. mozilla])
-+ AC_DEFINE_UNQUOTED(HTML_VIEWER, "sensible-browser", [HTML viewer, e.g.
sensible-browser])
+- AC_PATH_PROG(HTML_VIEWER, htmlview)
++ AC_PATH_PROG(HTML_VIEWER, sensible-browser)
+ if test "x$HTML_VIEWER" = x
+ then
+- AC_DEFINE_UNQUOTED(HTML_VIEWER, "mozilla", [HTML viewer, e.g.
mozilla])
++ AC_DEFINE_UNQUOTED(HTML_VIEWER, "sensible-browser", [HTML
viewer, e.g. sensible-browser])
+ else
+- AC_DEFINE_UNQUOTED(HTML_VIEWER, "htmlview", [HTML viewer, e.g.
mozilla])
++ AC_DEFINE_UNQUOTED(HTML_VIEWER, "sensible-browser", [HTML
viewer, e.g. sensible-browser])
+ fi
else
-- AC_DEFINE_UNQUOTED(HTML_VIEWER, "htmlview", [HTML viewer, e.g.
mozilla])
-+ AC_DEFINE_UNQUOTED(HTML_VIEWER, "sensible-browser", [HTML viewer, e.g.
mozilla])
- fi
-
- AC_PATH_PROG(LEX, flex)
+ AC_DEFINE_UNQUOTED(HTML_VIEWER, "xdg-open", [HTML viewer, e.g.
mozilla])
Index: patches/05_plugin-libdir.dpatch
===================================================================
--- patches/05_plugin-libdir.dpatch (revision 23186)
+++ patches/05_plugin-libdir.dpatch (working copy)
@@ -5,19 +5,19 @@
## DP: No description.
@DPATCH@
-diff -urNad --exclude=CVS --exclude=.svn ./configure.in
/tmp/dpep-work.avwGQ1/wireshark-0.10.11/configure.in
---- ./configure.in 2005-05-02 23:28:53.000000000 +0200
-+++ /tmp/dpep-work.avwGQ1/wireshark-0.10.11/configure.in 2005-07-17
18:46:26.000000000 +0200
-@@ -1130,7 +1130,7 @@
- dnl check whether plugins should be enabled and, if they should be,
+diff -urNad wireshark~/configure.in wireshark/configure.in
+--- wireshark~/configure.in 2007-10-15 20:01:14.000000000 +0400
++++ wireshark/configure.in 2007-10-15 20:07:42.000000000 +0400
+@@ -1456,7 +1456,7 @@
dnl check for plugins directory - stolen from Amanda's configure.in
dnl
--plugindir="$libdir/wireshark/plugins/$VERSION"
-+plugindir="$libdir/plugins/$VERSION"
+ dnl we don't wish to expand ${libdir} yet
+-plugindir='${libdir}/wireshark/plugins/${VERSION}'
++plugindir='${libdir}/plugins/${VERSION}'
AC_ARG_WITH(plugins,
- [ --with-plugins[[=DIR]] support plugins (installed in DIR, if
supplied).],
- [
-@@ -1172,7 +1172,7 @@
+ AC_HELP_STRING( [--with-plugins@<:@=DIR@:>@],
+ [support plugins (installed in DIR, if supplied).
@<:@default=yes, if possible@:>@]),
+@@ -1481,7 +1481,7 @@
#
# The plugin dissectors reside in ./plugins/PROTO/
#
Index: rules
===================================================================
--- rules (revision 23186)
+++ rules (working copy)
@@ -27,7 +27,7 @@
xsltproc --nonet --novalid $(DB2MAN) $<
-CONFIGURE_FLAGS=--prefix=/usr --sysconfdir=/usr/share/wireshark
--datadir=/usr/share/wireshark --disable-static --disable-ssl --without-ucdsnmp
--enable-gtk2 --libdir=/usr/lib/wireshark CFLAGS="$(CFLAGS)";
+CONFIGURE_FLAGS=--prefix=/usr --sysconfdir=/usr/share/wireshark
--datadir=/usr/share/wireshark --disable-static --without-ucdsnmp
--with-lua=/usr --with-ssl=/usr --enable-gtk2 --libdir=/usr/lib/wireshark
--enable-warnings-as-errors=no
configure: configure-stamp
configure-stamp: patch
@@ -35,14 +35,15 @@
cp /usr/share/misc/config.guess /usr/share/misc/config.sub .
libtoolize --force --copy
- autoheader
- autoconf
+# autoheader
+# autoconf
-mkdir aclocal-missing
- (if [ ! -x ./configure ]; then \
- ./autogen.sh $(CONFIGURE_FLAGS) CFLAGS="$(CFLAGS)"; \
- fi)
+ ./autogen.sh
+# (if [ ! -x ./configure ]; then \
+# ./autogen.sh $(CONFIGURE_FLAGS) CFLAGS="$(CFLAGS)"; \
+# fi)
- ./configure $(CONFIGURE_FLAGS) CFLAGS="$(CFLAGS)"
+ CFLAGS="$(CFLAGS)" ./configure $(CONFIGURE_FLAGS)
touch configure-stamp
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.