diff --git a/.gitattributes b/.gitattributes index 0b0a673b4..d4d3e0a3c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,7 @@ # files/directories excluded from tarballs .git* export-ignore +debian-devel export-ignore debian-stable export-ignore weechat.spec export-ignore .mailmap export-ignore diff --git a/.gitignore b/.gitignore index 093be90ba..641f5c078 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,8 @@ config.rpath config.status config.sub configure +debian-devel/changelog +debian-devel/*.log debian-stable/*.log depcomp insert-header.sin diff --git a/debian-devel/compat b/debian-devel/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/debian-devel/compat @@ -0,0 +1 @@ +9 diff --git a/debian-devel/control b/debian-devel/control new file mode 100644 index 000000000..a12df19bb --- /dev/null +++ b/debian-devel/control @@ -0,0 +1,127 @@ +Source: weechat-devel +Section: net +Priority: optional +Maintainer: Sébastien Helleu +Build-Depends: + asciidoc (>= 8.5), + source-highlight, + xsltproc, + docbook-xsl, + docbook-xml, + debhelper (>= 9), + cmake, pkg-config, + libncursesw5-dev, + gem2deb, + libperl-dev, + python-dev, + libaspell-dev, + liblua5.1-0-dev, + tcl8.5-dev, + guile-2.0-dev, + libv8-dev, + libcurl4-gnutls-dev, + libgcrypt20-dev, + libgnutls28-dev, + zlib1g-dev +Standards-Version: 3.9.6 +Homepage: https://weechat.org/ +Vcs-Git: https://github.com/weechat/weechat.git +Vcs-Browser: https://github.com/weechat/weechat + +Package: weechat-devel +Architecture: all +Depends: ${misc:Depends}, weechat-devel-curses (>= ${source:Version}) +Description: Fast, light and extensible chat client + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client + for many operating systems. Everything can be done with a keyboard. + It is customizable and extensible with plugins/scripts, and includes: + - support of IRC protocol (native) + - support of XMPP/Jabber protocol (with additional script) + - nicklist + - smart hotlist + - horizontal and vertical split + - double charset support (decode/encode) + - FIFO pipe for remote control + - 256 colors support + - incremental text search + - dynamic filtering of buffer content + - Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting + - scripts manager + - spell checking + - highly customizable and extensible + - and much more! + +Package: weechat-devel-curses +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-core (= ${binary:Version}) +Recommends: weechat-devel-plugins (= ${binary:Version}) +Description: Fast, light and extensible chat client - console client + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client + for many operating systems. Everything can be done with a keyboard. + It is customizable and extensible with plugins/scripts, and includes: + - support of IRC protocol (native) + - support of XMPP/Jabber protocol (with additional script) + - nicklist + - smart hotlist + - horizontal and vertical split + - double charset support (decode/encode) + - FIFO pipe for remote control + - 256 colors support + - incremental text search + - dynamic filtering of buffer content + - Perl, Python, Ruby, Lua, Tcl, Scheme and Javascript scripting + - scripts manager + - spell checking + - highly customizable and extensible + - and much more! + . + This package provides the console client (ncurses). + +Package: weechat-devel-core +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Fast, light and extensible chat client - core files + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client + 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: alias, xfer, irc, charset and + logger. It is useless without weechat-curses. + +Package: weechat-devel-plugins +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-devel-curses (= ${binary:Version}) +Description: Fast, light and extensible chat client - plugins + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client + 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, Tcl, Scheme and Javascript scripting + - scripts manager + - Spell checking (thanks to aspell) + - FIFO pipe for remote control + - IRC proxy + - Trigger + +Package: weechat-devel-dev +Section: devel +Architecture: all +Depends: ${misc:Depends} +Description: Fast, light and extensible chat client - development headers + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client + for many operating systems. Everything can be done with a keyboard. + . + This package contains the headers needed to build plugins. + +Package: weechat-devel-dbg +Section: debug +Priority: extra +Architecture: any +Depends: ${misc:Depends}, weechat-devel-curses (= ${binary:Version}) | + weechat-devel-core (= ${binary:Version}), weechat-devel-plugins (= ${binary:Version}) +Description: Fast, light and extensible chat client - debugging symbols + WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client + for many operating systems. Everything can be done with a keyboard. + . + This package contains gdb debugging symbols for the WeeChat packages. diff --git a/debian-devel/copyright b/debian-devel/copyright new file mode 120000 index 000000000..19c92d2ba --- /dev/null +++ b/debian-devel/copyright @@ -0,0 +1 @@ +../debian-stable/copyright \ No newline at end of file diff --git a/debian-devel/gbp.conf b/debian-devel/gbp.conf new file mode 120000 index 000000000..9325bb6e1 --- /dev/null +++ b/debian-devel/gbp.conf @@ -0,0 +1 @@ +../debian-stable/gbp.conf \ No newline at end of file diff --git a/debian-devel/rules b/debian-devel/rules new file mode 100755 index 000000000..012d7d40a --- /dev/null +++ b/debian-devel/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +BUILDDIR = builddir + +$(BUILDDIR)/Makefile: + mkdir -p $(BUILDDIR) + cd $(BUILDDIR) && \ + cmake .. \ + -DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \ + -DENABLE_DOC:BOOL=OFF \ + -DENABLE_MAN:BOOL=ON \ + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ + -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \ + -DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON + +override_dh_auto_build: $(BUILDDIR)/Makefile + dh_auto_build + +override_dh_auto_configure: + # the package also has autotools buildsys and + # debhelper try to use it but that's not needed + echo + +override_dh_installchangelogs: + dh_installchangelogs ChangeLog.asciidoc + +override_dh_strip: + dh_strip --dbg-package=weechat-devel-dbg + +%: + dh $@ --parallel --builddirectory=$(BUILDDIR) diff --git a/debian-devel/watch b/debian-devel/watch new file mode 120000 index 000000000..89ff7353d --- /dev/null +++ b/debian-devel/watch @@ -0,0 +1 @@ +../debian-stable/watch \ No newline at end of file diff --git a/debian-devel/weechat-devel-core.docs b/debian-devel/weechat-devel-core.docs new file mode 120000 index 000000000..3e5d2fe2e --- /dev/null +++ b/debian-devel/weechat-devel-core.docs @@ -0,0 +1 @@ +../debian-stable/weechat-core.docs \ No newline at end of file diff --git a/debian-devel/weechat-devel-core.install b/debian-devel/weechat-devel-core.install new file mode 120000 index 000000000..423039c91 --- /dev/null +++ b/debian-devel/weechat-devel-core.install @@ -0,0 +1 @@ +../debian-stable/weechat-core.install \ No newline at end of file diff --git a/debian-devel/weechat-devel-curses.dirs b/debian-devel/weechat-devel-curses.dirs new file mode 120000 index 000000000..e6f6e5364 --- /dev/null +++ b/debian-devel/weechat-devel-curses.dirs @@ -0,0 +1 @@ +../debian-stable/weechat-curses.dirs \ No newline at end of file diff --git a/debian-devel/weechat-devel-curses.install b/debian-devel/weechat-devel-curses.install new file mode 120000 index 000000000..d3d16cbd1 --- /dev/null +++ b/debian-devel/weechat-devel-curses.install @@ -0,0 +1 @@ +../debian-stable/weechat-curses.install \ No newline at end of file diff --git a/debian-devel/weechat-devel-curses.links b/debian-devel/weechat-devel-curses.links new file mode 120000 index 000000000..3a674e332 --- /dev/null +++ b/debian-devel/weechat-devel-curses.links @@ -0,0 +1 @@ +../debian-stable/weechat-curses.links \ No newline at end of file diff --git a/debian-devel/weechat-devel-curses.menu b/debian-devel/weechat-devel-curses.menu new file mode 120000 index 000000000..77cab7df7 --- /dev/null +++ b/debian-devel/weechat-devel-curses.menu @@ -0,0 +1 @@ +../debian-stable/weechat-curses.menu \ No newline at end of file diff --git a/debian-devel/weechat-devel-dev.dirs b/debian-devel/weechat-devel-dev.dirs new file mode 120000 index 000000000..cdb6d97e5 --- /dev/null +++ b/debian-devel/weechat-devel-dev.dirs @@ -0,0 +1 @@ +../debian-stable/weechat-dev.dirs \ No newline at end of file diff --git a/debian-devel/weechat-devel-dev.install b/debian-devel/weechat-devel-dev.install new file mode 120000 index 000000000..5fa15681e --- /dev/null +++ b/debian-devel/weechat-devel-dev.install @@ -0,0 +1 @@ +../debian-stable/weechat-dev.install \ No newline at end of file diff --git a/debian-devel/weechat-devel-plugins.dirs b/debian-devel/weechat-devel-plugins.dirs new file mode 120000 index 000000000..709f740b5 --- /dev/null +++ b/debian-devel/weechat-devel-plugins.dirs @@ -0,0 +1 @@ +../debian-stable/weechat-plugins.dirs \ No newline at end of file diff --git a/debian-devel/weechat-devel-plugins.install b/debian-devel/weechat-devel-plugins.install new file mode 120000 index 000000000..a4083b44e --- /dev/null +++ b/debian-devel/weechat-devel-plugins.install @@ -0,0 +1 @@ +../debian-stable/weechat-plugins.install \ No newline at end of file diff --git a/debian-devel/weechat.xpm b/debian-devel/weechat.xpm new file mode 120000 index 000000000..d83e22c09 --- /dev/null +++ b/debian-devel/weechat.xpm @@ -0,0 +1 @@ +../debian-stable/weechat.xpm \ No newline at end of file