Package: cbrowser
Version: 0.8-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my cbrowser 0.8-1.1 NMU.

-- 
 .''`.             Fuck your fascist beauty standards
: :' :   
`. `'           Proudly running unstable Debian GNU/Linux
  `-     www.amayita.com  www.malapecora.com  www.chicasduras.com
diff -u cbrowser-0.8/debian/menu cbrowser-0.8/debian/menu
--- cbrowser-0.8/debian/menu
+++ cbrowser-0.8/debian/menu
@@ -1,2 +1,2 @@
-?package(cbrowser):needs=X11 section=Apps/Programming\
+?package(cbrowser):needs="X11" section="Apps/Programming"\
   title="cbrowser" command="/usr/bin/cbrowser"
diff -u cbrowser-0.8/debian/changelog cbrowser-0.8/debian/changelog
--- cbrowser-0.8/debian/changelog
+++ cbrowser-0.8/debian/changelog
@@ -1,3 +1,13 @@
+cbrowser (0.8-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Rebuild to get rid of /usr/doc symlink (Closes: #359372).
+  * Revamped packaging as to make lintian happier:
+    Bumped Standards version to 3.7.2
+    - Updated to DH_COMPAT=4
+
+ -- Amaya Rodrigo Sastre <[EMAIL PROTECTED]>  Wed, 12 Jul 2006 19:44:36 +0200
+
 cbrowser (0.8-1) unstable; urgency=low
 
   * New upstream release.
@@ -17,3 +26,0 @@
-Local variables:
-mode: debian-changelog
-End:
diff -u cbrowser-0.8/debian/copyright cbrowser-0.8/debian/copyright
--- cbrowser-0.8/debian/copyright
+++ cbrowser-0.8/debian/copyright
@@ -29,7 +29,8 @@
    
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
    
    For more information about Cbrowser and its author see:
       URL:http://cbrowser.sourceforge.net/
reverted:
--- cbrowser-0.8/debian/ex.doc-base.package
+++ cbrowser-0.8.orig/debian/ex.doc-base.package
@@ -1,22 +0,0 @@
-Document: cbrowser
-Title: Debian cbrowser Manual
-Author: <insert document author here>
-Abstract: This manual describes what cbrowser is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/doc/cbrowser/cbrowser.sgml.gz
-
-Format: postscript
-Files: /usr/doc/cbrowser/cbrowser.ps.gz
-
-Format: text
-Files: /usr/doc/cbrowser/cbrowser.text.gz
-
-Format: HTML
-Index: /usr/doc/cbrowser/html/index.html
-Files: /usr/doc/cbrowser/html/*.html
-
-  
reverted:
--- cbrowser-0.8/debian/manpage.1.ex
+++ cbrowser-0.8.orig/debian/manpage.1.ex
@@ -1,60 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH CBROWSER SECTION "May 17, 2000"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-cbrowser \- program to do something
-.SH SYNOPSIS
-.B cbrowser
-.RI [ options ] " files" ...
-.br
-.B bar
-.RI [ options ] " files" ...
-.SH DESCRIPTION
-This manual page documents briefly the
-.B cbrowser
-and
-.B bar
-commands.
-This manual page was written for the Debian GNU/Linux distribution
-because the original program does not have a manual page.
-Instead, it has documentation in the GNU Info format; see below.
-.PP
-.\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
-.\" respectively.
-\fBcbrowser\fP is a program that...
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-For a complete description, see the Info files.
-.TP
-.B \-h, \-\-help
-Show summary of options.
-.TP
-.B \-v, \-\-version
-Show version of program.
-.SH SEE ALSO
-.BR bar (1),
-.BR baz (1).
-.br
-The programs are documented fully by
-.IR "The Rise and Fall of a Fooish Bar" ,
-available via the Info system.
-.SH AUTHOR
-This manual page was written by Anthony Fok <[EMAIL PROTECTED]>,
-for the Debian GNU/Linux system (but may be used by others).
reverted:
--- cbrowser-0.8/debian/watch.ex
+++ cbrowser-0.8.orig/debian/watch.ex
@@ -1,5 +0,0 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# Site         Directory               Pattern                 Version Script
-sunsite.unc.edu        /pub/Linux/Incoming     cbrowser-(.*)\.tar\.gz  debian  
uupdate
diff -u cbrowser-0.8/debian/control cbrowser-0.8/debian/control
--- cbrowser-0.8/debian/control
+++ cbrowser-0.8/debian/control
@@ -2,12 +2,12 @@
 Section: devel
 Priority: optional
 Maintainer: Anthony Fok <[EMAIL PROTECTED]>
-Build-Depends: debhelper
-Standards-Version: 3.1.1
+Build-Depends: debhelper (>=4)
+Standards-Version: 3.7.2
 
 Package: cbrowser
 Architecture: all
-Depends: wish, cscope
+Depends: cscope
 Description: a C/C++ source code indexing, querying and browsing tool
  Cbrowser is a graphical C/C++ source code searching and browsing tool,
  and a hierarchical function call viewer.                                      
   
diff -u cbrowser-0.8/debian/rules cbrowser-0.8/debian/rules
--- cbrowser-0.8/debian/rules
+++ cbrowser-0.8/debian/rules
@@ -10,7 +10,7 @@
 #export DH_VERBOSE=1
 
 # This is the debhelper compatability version to use.
-export DH_COMPAT=1
+export DH_COMPAT=4
 
 build: build-stamp
 build-stamp:
@@ -30,8 +30,8 @@
        dh_installdirs usr/bin usr/lib/cbrowser
 
        # Add here commands to install the package into debian/tmp.
-       cp -av cbrowser *.tcl tclIndex debian/tmp/usr/lib/cbrowser
-       ln -s ../lib/cbrowser/cbrowser debian/tmp/usr/bin/
+       cp -av cbrowser *.tcl tclIndex debian/cbrowser/usr/lib/cbrowser
+       ln -s ../lib/cbrowser/cbrowser debian/cbrowser/usr/bin/
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -43,7 +43,7 @@
 #      dh_installexamples
        dh_installmenu
 #      dh_installmanpages
-#      dh_undocumented
+       dh_undocumented
        dh_installchangelogs
        dh_link
        dh_compress
only in patch2:
unchanged:
--- cbrowser-0.8.orig/debian/postinst
+++ cbrowser-0.8/debian/postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$1" = "configure" ]; then
+        if [ -d /usr/doc -a -h /usr/doc/cbrowser -a -d /usr/share/doc/cbrowser 
]; then
+                rm -f /usr/doc/cbrowser
+        fi
+fi
+
+#DEBHELPER#
only in patch2:
unchanged:
--- cbrowser-0.8.orig/debian/postinst.debhelper
+++ cbrowser-0.8/debian/postinst.debhelper
@@ -0,0 +1,5 @@
+# Automatically added by dh_installmenu
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+       update-menus
+fi
+# End automatically added section
only in patch2:
unchanged:
--- cbrowser-0.8.orig/debian/postrm.debhelper
+++ cbrowser-0.8/debian/postrm.debhelper
@@ -0,0 +1,3 @@
+# Automatically added by dh_installmenu
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
+# End automatically added section

Reply via email to