[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian-fixes / manpages



Hi,

here are the fixes for the lintian errors including manpages.

Please apply the patch.

Regards,

Rene
diff -urN debian.orig/local/scripts/fixperms.sh debian/local/scripts/fixperms.sh
--- debian.orig/local/scripts/fixperms.sh	Thu Jan  1 01:00:00 1970
+++ debian/local/scripts/fixperms.sh	Wed Jul 17 18:02:11 2002
@@ -0,0 +1,17 @@
+#!/bin/sh
+# script to tidy up to get the permissions in the package right to
+# get the package itself lintian-clean
+
+for i in `find . -type f -name "*.xpt"`; do
+	chmod ugo-x $i
+done
+for i in `find . -type f -name "*.js"`; do
+	chmod ugo-x $i
+done
+for i in `find . -type f -name "*en_US*"`; do
+	chmod ugo-x $i
+done
+for i in `find . -type f -name "*.pl"`; do
+	chmod ugo+x $i
+done
+
diff -urN debian.orig/oopadmin.1 debian/oopadmin.1
--- debian.orig/oopadmin.1	Thu Jan  1 01:00:00 1970
+++ debian/oopadmin.1	Wed Jul 17 15:33:54 2002
@@ -0,0 +1,26 @@
+.TH oopadmin "1" "April 2002" "OpenOffice.org 1.0.1" "User Commands"
+.SH NAME
+oopadmin \- Admin tool for OpenOffice.org to add printer and fonts
+.SH SYNOPSIS
+.B spadmin
+.SH DESCRIPTION
+oopadmin is a tool belonging to the OpenOffice.org office suite.
+
+With oopadmin, you can tune some options for OpenOffice.org.
+Even as a "normal" user, you can add fonts which should be used by
+OpenOffice.org and you can add a new printer or tune your printer
+configuration.
+
+After doing that, OpenOffice.org has to be restarted to let the
+settings take effect.
+
+You also can print a test page to test if your printer configuration
+is working.
+
+.SS "Generic options:"
+There are no command line options
+.SH SEE ALSO
+.BR openoffice (1)
+.SH AUTHOR
+This manual page was created newly by Rene Engelhard
+<rene@openoffice.org> for the Debian GNU/Linux Distribution, because the original package does not have one.
diff -urN debian.orig/openoffice.1 debian/openoffice.1
--- debian.orig/openoffice.1	Thu Jan  1 01:00:00 1970
+++ debian/openoffice.1	Wed Jul 17 15:34:05 2002
@@ -0,0 +1,33 @@
+.TH openoffice "1" "April 2002" "OpenOffice.org 1.0.1" "User Commands"
+.SH NAME
+openoffice \- wrapper script to start OpenOffice.org
+.SH SYNOPSIS
+.B openoffice <args>
+.SH DESCRIPTION
+OpenOffice.org is a fully featured office suite for the daily use with all features you'd normally expect in a office suite.
+
+This script runs OpenOffice with the arguments <args> given on the command line
+
+There are also some wrapper scripts in /usr/bin:
+.TP
+oocalc
+.TP 
+oodraw
+.TP
+ooimpress
+.TP
+oomath
+.TP
+oowriter
+
+which are calling the "normal" openoffice script and runs the wanted OpenOffice.org module
+
+.SS "Generic options:"
+.TP
+\fB<args>\fB
+These args are passed directly to the real start binary. It mostly contains the file name which should be opened directly with starting OpenOffice.org.
+.SH SEE ALSO
+.BR oopadmin (1)
+.SH AUTHOR
+This manual page was created newly by Rene Engelhard
+<rene@openoffice.org> for the Debian GNU/Linux Distribution, because the original package does not have one.
diff -urN debian.orig/rules debian/rules
--- debian.orig/rules	Wed Jul 17 14:49:35 2002
+++ debian/rules	Wed Jul 17 15:38:00 2002
@@ -422,6 +422,11 @@
 	install -m755 debian/local/ooffice debian/openoffice.org/usr/bin/openoffice
 	install -m755 debian/local/spadmin debian/openoffice.org/usr/bin/oopadmin
 
+	install -m755 -D openoffice.1 \
+		debian/openoffice.org/usr/share/man/man1/openoffice.1
+	install -m755 -D oopadmin.1 \
+		debian/openoffice.org/usr/share/man/man1/oopadmin.1
+	
 	# Remove packaging prefix from configuration files
 	# and set default install directory to ~/.openoffice/<version>
 	for FILE in program/instdb.ins \
@@ -501,14 +506,24 @@
 	dh_testroot
 
 	dh_installdocs
-	dh_undocumented
+	dh_installman
 	dh_installchangelogs
 	dh_installmime
 	dh_installmenu
 	dh_link
 	dh_strip
 	dh_compress
+	ln -s openoffice.1 debian/openoffice.org/usr/share/man/man1/oocalc.1.gz
+	ln -s openoffice.1 debian/openoffice.org/usr/share/man/man1/oodraw.1.gz
+	ln -s openoffice.1 \
+		debian/openoffice.org/usr/share/man/man1/ooimpress.1.gz
+	ln -s openoffice.1 debian/openoffice.org/usr/share/man/man1/oomath.1.gz
+	ln -s openoffice.1 \
+		debian/openoffice.org/usr/share/man/man1/oowriter.1.gz
 	dh_fixperms
+	# after dh_fixperms, there are some wrong permissions left, so we
+	# fix them ourselves :)
+	/bin/sh debian/local/scripts/fixperms.sh
 	dh_installdeb
 	dh_shlibdeps
 ifeq "$(ARCH)" "powerpc"

Reply to: