Update debian packaging.

This commit is contained in:
Emmanuel Bouthenot 2009-05-08 19:32:39 +02:00
parent 50b6fefdeb
commit efa37abdb8
10 changed files with 74 additions and 43 deletions

10
debian/changelog vendored
View File

@ -1,15 +1,19 @@
weechat (0.2.7-1) unstable; urgency=low weechat (0.2.7-1) experimental; urgency=low
* New (major) upstream release. * New (major) upstream release.
- Fix the excessive number of wakeups (Closes: #461945)
* Packaging changes: * Packaging changes:
- Drop weechat-common - Drop weechat-common
- Add weechat-doc (Documentation) - Add weechat-doc (Documentation)
- Add weechat-core (locales files, essential plugins) - Add weechat-core (locales files, essential plugins)
- Add weechat-dbg (gdb debugging symbols) - Add weechat-dbg (gdb debugging symbols)
* Adjust Build-Depends for new tcl plugin (update debian/copyright). * Adjust Build-Depends for new tcl plugin (update debian/copyright).
* Remove quilt from Build-Depends (patch merged upstream). * Remove quilt from Build-Depends (patches merged upstream).
* Switch packaging from cdbs to plain debhelper.
* Update packages descriptions.
* Add a lintian-override against manpage line wrapping error.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 30 Nov 2008 16:38:56 +0100 -- Emmanuel Bouthenot <kolter@openics.org> Fri, 08 May 2009 13:36:39 +0000
weechat (0.2.6-2) unstable; urgency=low weechat (0.2.6-2) unstable; urgency=low

2
debian/compat vendored
View File

@ -1 +1 @@
5 7

45
debian/control vendored
View File

@ -3,10 +3,10 @@ Section: net
Priority: optional Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@openics.org> Maintainer: Emmanuel Bouthenot <kolter@openics.org>
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
Build-Depends: debhelper (>= 5), cdbs (>= 0.4.37), cmake, libncursesw5-dev, Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev, ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl8.5-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.8.0 Standards-Version: 3.8.1
Homepage: http://weechat.flashtux.org/ Homepage: http://weechat.flashtux.org/
Package: weechat Package: weechat
@ -28,7 +28,7 @@ Package: weechat-curses
Architecture: any Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version}) Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
Recommends: weechat-plugins (= ${binary:Version}) Recommends: weechat-plugins (= ${binary:Version})
Description: Fast, light and extensible IRC client Description: Fast, light and extensible IRC client - console client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard. for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with plugins/scripts, and includes: It is customizable and extensible with plugins/scripts, and includes:
@ -39,34 +39,55 @@ Description: Fast, light and extensible IRC client
- double charset support (decode/encode) - double charset support (decode/encode)
- FIFO pipe for remote control - FIFO pipe for remote control
- and much more! - and much more!
.
This package provides the console client (ncurses).
Package: weechat-core Package: weechat-core
Architecture: any Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends} Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: weechat-doc (= ${source:Version})
Conflicts: weechat-common, weechat-plugins (<< 0.2.7) Conflicts: weechat-common, weechat-plugins (<< 0.2.7)
Description: Core files for WeeChat Description: Fast, light and extensible IRC client - core files
This package provides core plugins and locales files for WeeChat. It currently WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
ships the following plugins: irc, xfer, charset and logger. for many operating systems. Everything can be done with a keyboard.
.
This package provides core plugins and locales files for WeeChat. It
currently ships the following plugins: xfer, notify, irc, charset and
logger. It is useless without weechat-curses.
Package: weechat-plugins Package: weechat-plugins
Architecture: any Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version}) Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
Suggests: weechat-scripts Suggests: weechat-scripts
Description: Plugins for WeeChat Description: Fast, light and extensible IRC client - plugins
This package provides some plugins to enhance WeeChat. It currently ships WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
the following plugins: Perl, Python, Ruby, Lua, Tcl, Aspell, Relay and Fifo. for many operating systems. Everything can be done with a keyboard.
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, and Tcl scripting.
- Spell checking (thanks to aspell).
- Charsets management
- And many others (Relay, Fifo, ...)
Package: weechat-doc Package: weechat-doc
Section: doc Section: doc
Architecture: all Architecture: all
Depends: ${misc:Depends} Depends: ${misc:Depends}
Description: Documentation for WeeChat Description: Fast, light and extensible IRC client - documentation
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard.
.
This package contains the html documentation for WeeChat. This package contains the html documentation for WeeChat.
Package: weechat-dbg Package: weechat-dbg
Section: debug
Priority: extra Priority: extra
Architecture: any Architecture: any
Depends: ${misc:Depends}, weechat-curses (= ${binary:Version}) | Depends: ${misc:Depends}, weechat-curses (= ${binary:Version}) |
weechat-core (= ${binary:Version}), weechat-plugins (= ${binary:Version}) weechat-core (= ${binary:Version}), weechat-plugins (= ${binary:Version})
Description: Debugging symbols for WeeChat Description: Fast, light and extensible IRC client - debugging symbols
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
for many operating systems. Everything can be done with a keyboard.
.
This package contains gdb debugging symbols for the WeeChat packages. This package contains gdb debugging symbols for the WeeChat packages.

View File

@ -1 +0,0 @@
weechat-curses: menu-icon-missing /usr/share/pixmaps/weechat.xpm

46
debian/rules vendored
View File

@ -1,28 +1,32 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk builddir/Makefile:
include /usr/share/cdbs/1/class/cmake.mk mkdir -p builddir
cd builddir && \
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="$(CFLAGS)" \
-DCMAKE_LD_FLAGS="-Wl,-z,defs" \
-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON
DEB_STRIP_EXCLUDE := libperl.a build: build-stamp
DEB_DH_INSTALL_SOURCEDIR := $(CURDIR)/debian/tmp build-stamp: builddir/Makefile
dh_testdir
$(MAKE) -C builddir
touch $@
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) override_dh_install:
CFLAGS += -O0 $(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
else dh_install
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) override_dh_strip:
INSTALL_PROGRAM += -s dh_strip --dbg-package=weechat-dbg
endif
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) clean:
ifeq ($(DEB_HOST_ARCH_OS),hurd) rm -rf builddir
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-lpthread" dh $@
endif
install/weechat-core:: %:
install -D -o root -g root -m 644 debian/weechat.xpm $(CURDIR)/debian/weechat-core/usr/share/pixmaps/weechat.xpm dh $@
install/weechat-curses::
install -D -o root -g root -m 644 debian/lintian-override $(CURDIR)/debian/weechat-curses/usr/share/lintian/overrides/weechat-curses

5
debian/weechat-core.docs vendored Normal file
View File

@ -0,0 +1,5 @@
AUTHORS
BUGS
NEWS
README
TODO

View File

@ -1 +1,2 @@
usr/bin usr/bin
usr/share/pixmaps

View File

@ -1 +1,2 @@
usr/bin/weechat-curses usr/bin/weechat-curses
debian/weechat.xpm usr/share/pixmaps

View File

@ -0,0 +1 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 54: warning [p 1, 8.2i]: cannot adjust line

View File

@ -1,7 +1,2 @@
AUTHORS
BUGS
FAQ FAQ
FAQ.fr FAQ.fr
NEWS
README
TODO