Skip to content

Commit

Permalink
Fixed all lintian except ITP
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Apr 26, 2015
1 parent f503ed9 commit d3769f3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 50 deletions.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vala-panel (0.2.6.1-1) unstable; urgency=low
vala-panel (0.2.6.2-1) unstable; urgency=low

* Initial release

Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Source: vala-panel
Section: x11
Priority: optional
Maintainer: Konstantin P. <ria.freelander@gmail.com>
Build-Depends: debhelper (>= 9), cmake (>= 2.8.0), libpeas-dev (>= 1.2.0), libgtk-3-dev (>= 3.12.0), libwnck-3-dev (>= 3.4.0), docbook-xsl, docbook-xml, xsltproc
Build-Depends: debhelper (>= 9), cmake (>= 2.8.0), libpeas-dev (>= 1.2.0), libgtk-3-dev (>= 3.12.0), libwnck-3-dev (>= 3.4.0), docbook-to-man
Standards-Version: 3.9.6
Homepage: https://github.com/rilian-la-te/vala-panel
Vcs-Git: https://github.com/rilian-la-te/vala-panel.git
Expand Down
8 changes: 1 addition & 7 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ override_dh_auto_clean:
dh_auto_clean --buildsystem=cmake

override_dh_auto_build:
xsltproc --nonet \
--param make.year.ranges 1 \
--param make.single.year.ranges 1 \
--param man.charmap.use.subset 0 \
-o debian/ \
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl\
debian/vala-panel.1.xml
docbook-to-man debian/vala-panel.1.sgml > debian/vala-panel.1
dh_auto_build --buildsystem=cmake

# consider using -DUSE_VERSIONED_DIR=ON if backporting
Expand Down
52 changes: 12 additions & 40 deletions debian/vala-panel.1.xml → debian/vala-panel.1.sgml
Original file line number Diff line number Diff line change
@@ -1,48 +1,20 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [

<!--
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:

`xsltproc -''-nonet \
-''-param man.charmap.use.subset "0" \
-''-param make.year.ranges "1" \
-''-param make.single.year.ranges "1" \
/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl \
manpage.xml'
manpage.1: manpage.sgml
docbook-to-man $< > $@

A manual page <package>.<section> will be generated. You may view the
manual page with: nroff -man <package>.<section> | less'. A typical entry
in a Makefile or Makefile.am is:

DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl
XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.

manpage.1: manpage.xml
$(XP) $(DB2MAN) $<

The xsltproc binary is found in the xsltproc package. The XSL files are in
docbook-xsl. A description of the parameters you can use can be found in the
docbook-xsl-doc-* packages. Please remember that if you create the nroff
version in one of the debian/rules file targets (such as build), you will need
to include xsltproc and docbook-xsl in your Build-Depends control field.
Alternatively use the xmlto command/package. That will also automatically
pull in xsltproc and docbook-xsl.

Notes for using docbook2x: docbook2x-man does not automatically create the
AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as
<refsect1> ... </refsect1>.

To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections
read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be
found in the docbook-xsl-doc-html package.

Validation can be done using: `xmllint -''-noout -''-valid manpage.xml`

General documentation about man-pages and man-page-formatting:
man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/

-->
-->

<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "Konstantin">
Expand Down
2 changes: 1 addition & 1 deletion debian/vala-panel.manpages
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docs/vala-panel.1
debian/vala-panel.1

0 comments on commit d3769f3

Please sign in to comment.