diff options
-rw-r--r-- | debian/changelog | 19 | ||||
-rw-r--r-- | debian/control | 6 | ||||
-rw-r--r-- | debian/patches/README | 2 | ||||
-rw-r--r-- | debian/patches/brl-enlarge.diff | 40 | ||||
-rw-r--r-- | debian/patches/brl-menu.diff | 57 | ||||
-rw-r--r-- | debian/patches/brl-menu.reconf | 16 | ||||
-rw-r--r-- | debian/patches/restorededication.patch | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rw-r--r-- | debian/ratpoison.doc-base | 1 | ||||
-rw-r--r-- | debian/ratpoison.install | 4 | ||||
-rwxr-xr-x | debian/rules | 51 | ||||
-rw-r--r-- | debian/watch | 3 |
12 files changed, 128 insertions, 85 deletions
diff --git a/debian/changelog b/debian/changelog index 4b37b71..f5c0a94 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,23 @@ ratpoison (1.4.2~CVS-0) UNRELEASED; urgency=low - -- Bernhard R. Link <brlink@debian.org> Tue, 20 Dec 2006 20:23:00 +0100 + -- Bernhard R. Link <brlink@debian.org> Wed, 18 Apr 2007 10:05:48 +0200 + +ratpoison (1.4.1-3) unstable; urgency=low + + * change doc-base file to satisfy new doc-base package (Closes: 419783) + + -- Bernhard R. Link <brlink@debian.org> Wed, 18 Apr 2007 10:05:48 +0200 + +ratpoison (1.4.1-2) unstable; urgency=low + + * first upload to unstable of new upstream version + - slit.sh fixed (Closes: 398048) + - supports window titles in different encodings (Closes: 376067) + * install rpws into /usr/bin instead of doc/examples/ + * fix bug to not restore dedicateness of frames + * some little cleanups of the packaging + + -- Bernhard R. Link <brlink@debian.org> Tue, 17 Apr 2007 12:09:14 +0200 ratpoison (1.4.1-1) experimental; urgency=low diff --git a/debian/control b/debian/control index b6efcda..a7a2339 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: ratpoison Section: x11 Priority: extra Maintainer: Bernhard R. Link <brlink@debian.org> -Build-Depends: debhelper (>= 4.0.0), libx11-dev, libxext-dev, x11proto-core-dev | x-dev, libxinerama-dev | xlibs-static-dev (<< 1:7.0), libxtst-dev, libreadline5-dev | libreadline4-dev +Build-Depends: debhelper (>= 4.0.0), libx11-dev, libxext-dev, x11proto-core-dev, libxinerama-dev, libxtst-dev, libreadline5-dev, perl Standards-Version: 3.7.2 Package: ratpoison @@ -12,8 +12,8 @@ Recommends: 9menu (>= 1.6), menu, rxvt | x-terminal-emulator Suggests: xbindkeys, xclip Provides: x-window-manager Description: keyboard-only window manager - ratpoison is a simple window manager with no fancy graphics, - no window decorations, and no rodent dependence. + ratpoison is a simple window manager with no fancy graphics, + no window decorations, and no rodent dependence. It is largely modelled after GNU Screen. . The screen can be split into non-overlapping frames. All diff --git a/debian/patches/README b/debian/patches/README index 544c90c..bc24704 100644 --- a/debian/patches/README +++ b/debian/patches/README @@ -5,7 +5,7 @@ by the .diff.gz all together. * If you are NMUing the Debian package: Just ignore this directory (unless it helps you to understand what I did). - Everything applicaple to you .orig.tar.gz should already be in the + Everything applicaple to your .orig.tar.gz should already be in the .diff.gz you have. Just modify the actual code, submit a patch with what you did to the BTS and let me sort it out and include the patch in this directory. diff --git a/debian/patches/brl-enlarge.diff b/debian/patches/brl-enlarge.diff index 6d62032..2bcc350 100644 --- a/debian/patches/brl-enlarge.diff +++ b/debian/patches/brl-enlarge.diff @@ -1,7 +1,7 @@ Index: ChangeLog =================================================================== ---- ChangeLog.orig 2006-10-28 19:56:37.000000000 +0200 -+++ ChangeLog 2006-10-28 19:56:41.000000000 +0200 +--- ChangeLog.orig 2007-04-16 18:33:29.000000000 +0200 ++++ ChangeLog 2007-04-16 18:33:33.000000000 +0200 @@ -1,1 +1,18 @@ +2005-06-28 Bernhard R. Link <brlink@debian.org> + @@ -20,11 +20,11 @@ Index: ChangeLog + + * doc/ratpoison.1: Document the new commands and keybindings. + - 2006-10-03 Shawn Betts <sabetts@vcn.bc.ca> + 2006-12-19 Shawn Betts <sabetts@shitbender.gagrod> Index: doc/ratpoison.1 =================================================================== ---- doc/ratpoison.1.orig 2006-10-28 19:56:37.000000000 +0200 -+++ doc/ratpoison.1 2006-10-28 19:56:41.000000000 +0200 +--- doc/ratpoison.1.orig 2007-04-16 18:33:29.000000000 +0200 ++++ doc/ratpoison.1 2007-04-16 18:33:33.000000000 +0200 @@ -499,6 +499,18 @@ .cmd remove ( C\-t R ) Remove the current frame and extend some frames around to fill the remaining @@ -46,9 +46,9 @@ Index: doc/ratpoison.1 by that (i.e. move the bottom right corner by the given offsets and then Index: src/actions.c =================================================================== ---- src/actions.c.orig 2006-10-28 19:56:37.000000000 +0200 -+++ src/actions.c 2006-10-28 19:56:41.000000000 +0200 -@@ -281,6 +281,10 @@ +--- src/actions.c.orig 2007-04-16 18:33:29.000000000 +0200 ++++ src/actions.c 2007-04-16 18:33:33.000000000 +0200 +@@ -283,6 +283,10 @@ "Hook: ", arg_HOOK, "Command: ", arg_REST); add_command ("remove", cmd_remove, 0, 0, 0); @@ -59,7 +59,7 @@ Index: src/actions.c add_command ("resize", cmd_resize, 2, 0, 2, "", arg_NUMBER, "", arg_NUMBER); -@@ -742,6 +746,10 @@ +@@ -744,6 +748,10 @@ add_keybinding (XK_Down, 0, "focusdown", map); add_keybinding (XK_Q, 0, "only", map); add_keybinding (XK_R, 0, "remove", map); @@ -70,7 +70,7 @@ Index: src/actions.c add_keybinding (XK_f, 0, "fselect", map); add_keybinding (XK_f, RP_CONTROL_MASK, "fselect", map); add_keybinding (XK_F, 0, "curframe", map); -@@ -2869,6 +2877,38 @@ +@@ -2871,6 +2879,38 @@ } cmdret * @@ -111,8 +111,8 @@ Index: src/actions.c push_frame_undo (current_screen()); /* fdump to stack */ Index: src/actions.h =================================================================== ---- src/actions.h.orig 2006-10-28 19:56:37.000000000 +0200 -+++ src/actions.h 2006-10-28 19:56:41.000000000 +0200 +--- src/actions.h.orig 2007-04-16 18:33:29.000000000 +0200 ++++ src/actions.h 2007-04-16 18:33:33.000000000 +0200 @@ -165,6 +165,10 @@ RP_CMD (redisplay); RP_CMD (remhook); @@ -126,8 +126,8 @@ Index: src/actions.h RP_CMD (restart); Index: src/split.c =================================================================== ---- src/split.c.orig 2006-10-28 19:56:37.000000000 +0200 -+++ src/split.c 2006-10-28 19:56:41.000000000 +0200 +--- src/split.c.orig 2007-04-16 18:33:29.000000000 +0200 ++++ src/split.c 2007-04-16 18:33:33.000000000 +0200 @@ -703,6 +703,147 @@ return 0; } @@ -295,7 +295,7 @@ Index: src/split.c else { memcpy (cur, &tmp_frame, sizeof (rp_frame)); -@@ -1002,16 +1133,24 @@ +@@ -1025,16 +1156,24 @@ rp_screen *s = frames_screen (frame); rp_frame *cur; @@ -321,7 +321,7 @@ Index: src/split.c } rp_frame * -@@ -1020,16 +1159,24 @@ +@@ -1043,16 +1182,24 @@ rp_screen *s = frames_screen (frame); rp_frame *cur; @@ -347,7 +347,7 @@ Index: src/split.c } rp_frame * -@@ -1038,16 +1185,24 @@ +@@ -1061,16 +1208,24 @@ rp_screen *s = frames_screen (frame); rp_frame *cur; @@ -373,7 +373,7 @@ Index: src/split.c } rp_frame * -@@ -1056,16 +1211,24 @@ +@@ -1079,16 +1234,24 @@ rp_screen *s = frames_screen (frame); rp_frame *cur; @@ -401,8 +401,8 @@ Index: src/split.c rp_frame * Index: src/split.h =================================================================== ---- src/split.h.orig 2006-10-28 19:56:37.000000000 +0200 -+++ src/split.h 2006-10-28 19:56:41.000000000 +0200 +--- src/split.h.orig 2007-04-16 18:33:29.000000000 +0200 ++++ src/split.h 2007-04-16 18:33:33.000000000 +0200 @@ -33,6 +33,10 @@ void resize_frame_horizontally (rp_frame *frame, int diff); void resize_frame_vertically (rp_frame *frame, int diff); diff --git a/debian/patches/brl-menu.diff b/debian/patches/brl-menu.diff index e4b8e47..8a02db1 100644 --- a/debian/patches/brl-menu.diff +++ b/debian/patches/brl-menu.diff @@ -1,7 +1,19 @@ -Index: ratpoison/src/main.c +Index: ratpoison-1.4.1/ChangeLog =================================================================== ---- ratpoison.orig/src/main.c 2006-10-28 19:56:35.000000000 +0200 -+++ ratpoison/src/main.c 2006-10-28 19:56:48.000000000 +0200 +--- ratpoison-1.4.1.orig/ChangeLog 2007-04-16 18:33:33.000000000 +0200 ++++ ratpoison-1.4.1/ChangeLog 2007-04-16 18:34:44.000000000 +0200 +@@ -1,1 +1,7 @@ ++2005-01-15 Bernhard R. Link <brlink@debian.org> ++ ++ * configure.in: add --with-menu to specify a menu program ++ * src/action.c: add menu alias and binding if menu specified ++ * src/main.c: tell menu command if menu specified ++ + 2005-06-28 Bernhard R. Link <brlink@debian.org> +Index: ratpoison-1.4.1/src/main.c +=================================================================== +--- ratpoison-1.4.1.orig/src/main.c 2007-04-16 18:33:29.000000000 +0200 ++++ ratpoison-1.4.1/src/main.c 2007-04-16 18:34:44.000000000 +0200 @@ -458,7 +458,13 @@ { rp_action *help_action; @@ -72,11 +84,11 @@ Index: ratpoison/src/main.c free (prefix); } -Index: ratpoison/src/actions.c +Index: ratpoison-1.4.1/src/actions.c =================================================================== ---- ratpoison.orig/src/actions.c 2006-10-28 19:56:41.000000000 +0200 -+++ ratpoison/src/actions.c 2006-10-28 19:56:48.000000000 +0200 -@@ -682,6 +682,9 @@ +--- ratpoison-1.4.1.orig/src/actions.c 2007-04-16 18:33:33.000000000 +0200 ++++ ratpoison-1.4.1/src/actions.c 2007-04-16 18:34:44.000000000 +0200 +@@ -684,6 +684,9 @@ add_keybinding (prefix_key.sym, prefix_key.state, "other", map); add_keybinding (prefix_key.sym, 0, "meta", map); add_keybinding (XK_g, RP_CONTROL_MASK, "abort", map); @@ -86,7 +98,7 @@ Index: ratpoison/src/actions.c add_keybinding (XK_0, 0, "select 0", map); add_keybinding (XK_1, 0, "select 1", map); add_keybinding (XK_2, 0, "select 2", map); -@@ -766,6 +769,10 @@ +@@ -768,6 +771,10 @@ add_alias ("unbind", "undefinekey " ROOT_KEYMAP); add_alias ("bind", "definekey " ROOT_KEYMAP); add_alias ("split", "vsplit"); @@ -96,23 +108,11 @@ Index: ratpoison/src/actions.c +#endif } - static cmdret * -Index: ratpoison/ChangeLog -=================================================================== ---- ratpoison.orig/ChangeLog 2006-10-28 19:56:41.000000000 +0200 -+++ ratpoison/ChangeLog 2006-10-28 19:56:48.000000000 +0200 -@@ -1,1 +1,7 @@ -+2005-01-15 Bernhard R. Link <brlink@debian.org> -+ -+ * configure.in: add --with-menu to specify a menu program -+ * src/action.c: add menu alias and binding if menu specified -+ * src/main.c: tell menu command if menu specified -+ - 2005-06-28 Bernhard R. Link <brlink@debian.org> -Index: ratpoison/configure.in + cmdret * +Index: ratpoison-1.4.1/configure.in =================================================================== ---- ratpoison.orig/configure.in 2006-10-28 19:56:36.000000000 +0200 -+++ ratpoison/configure.in 2006-10-28 19:56:48.000000000 +0200 +--- ratpoison-1.4.1.orig/configure.in 2007-04-16 18:33:29.000000000 +0200 ++++ ratpoison-1.4.1/configure.in 2007-04-16 18:34:44.000000000 +0200 @@ -45,6 +45,15 @@ term_prog=$withval, term_prog="xterm") AC_DEFINE_UNQUOTED(TERM_PROG, "$term_prog", X terminal emulator to use) @@ -129,11 +129,11 @@ Index: ratpoison/configure.in dnl Checks for programs. AC_CHECK_TOOL(CC, gcc) AC_PROG_CC -Index: ratpoison/src/messages.h +Index: ratpoison-1.4.1/src/messages.h =================================================================== ---- ratpoison.orig/src/messages.h 2006-10-28 19:56:35.000000000 +0200 -+++ ratpoison/src/messages.h 2006-10-28 19:56:48.000000000 +0200 -@@ -50,7 +50,8 @@ +--- ratpoison-1.4.1.orig/src/messages.h 2007-04-16 18:33:29.000000000 +0200 ++++ ratpoison-1.4.1/src/messages.h 2007-04-16 18:34:44.000000000 +0200 +@@ -50,6 +50,7 @@ #define MESSAGE_PROMPT_VAR_VALUE "Value: " #define MESSAGE_WELCOME "Welcome to ratpoison! Hit `%s %s' for help." @@ -141,4 +141,3 @@ Index: ratpoison/src/messages.h #define EMPTY_FRAME_MESSAGE "Current Frame" - #endif /* ! _RATPOISON_MESSAGES_H */ diff --git a/debian/patches/brl-menu.reconf b/debian/patches/brl-menu.reconf index db2e287..ad24132 100644 --- a/debian/patches/brl-menu.reconf +++ b/debian/patches/brl-menu.reconf @@ -1,8 +1,8 @@ -Index: ratpoison/configure +Index: ratpoison-1.4.1/configure =================================================================== ---- ratpoison.orig/configure 2006-10-30 17:37:33.000000000 +0100 -+++ ratpoison/configure 2006-10-30 17:38:43.000000000 +0100 -@@ -1295,6 +1295,7 @@ +--- ratpoison-1.4.1.orig/configure 2007-04-16 18:45:18.000000000 +0200 ++++ ratpoison-1.4.1/configure 2007-04-16 18:47:11.000000000 +0200 +@@ -864,6 +864,7 @@ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-xterm=PROG set the x terminal emulator used by ratpoison @@ -10,7 +10,7 @@ Index: ratpoison/configure --with-x use the X Window System Some influential environment variables: -@@ -2343,6 +2344,27 @@ +@@ -1872,6 +1873,27 @@ _ACEOF @@ -38,10 +38,10 @@ Index: ratpoison/configure if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -Index: ratpoison/src/config.h.in +Index: ratpoison-1.4.1/src/config.h.in =================================================================== ---- ratpoison.orig/src/config.h.in 2006-10-30 17:38:06.000000000 +0100 -+++ ratpoison/src/config.h.in 2006-10-30 17:38:31.000000000 +0100 +--- ratpoison-1.4.1.orig/src/config.h.in 2007-04-16 18:45:18.000000000 +0200 ++++ ratpoison-1.4.1/src/config.h.in 2007-04-16 18:47:11.000000000 +0200 @@ -72,6 +72,9 @@ /* Define to 1 if you have the <X11/extensions/Xinerama.h> header file. */ #undef HAVE_X11_EXTENSIONS_XINERAMA_H diff --git a/debian/patches/restorededication.patch b/debian/patches/restorededication.patch new file mode 100644 index 0000000..991dfac --- /dev/null +++ b/debian/patches/restorededication.patch @@ -0,0 +1,13 @@ +Index: ratpoison-1.4.1/src/frame.c +=================================================================== +--- ratpoison-1.4.1.orig/src/frame.c 2007-04-16 18:39:47.000000000 +0200 ++++ ratpoison-1.4.1/src/frame.c 2007-04-16 18:49:17.000000000 +0200 +@@ -248,7 +248,7 @@ + read_slot(dedicated); + if (dedicated <= 0) + f->dedicated = 0; +- else if (f->dedicated >= 1) ++ else + f->dedicated = 1; + } + else if (!strcmp(tmp, ")")) diff --git a/debian/patches/series b/debian/patches/series index ebfdaf9..a670386 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ brl-enlarge.diff -p0 brl-menu.diff brl-menu.reconf +restorededication.patch diff --git a/debian/ratpoison.doc-base b/debian/ratpoison.doc-base index a8268e9..8cabe9c 100644 --- a/debian/ratpoison.doc-base +++ b/debian/ratpoison.doc-base @@ -5,4 +5,5 @@ Abstract: This manual describes the ratpoison window manager Section: X11/Window Managers Format: info +Index: /usr/share/info/ratpoison.info.gz Files: /usr/share/info/ratpoison.info.gz diff --git a/debian/ratpoison.install b/debian/ratpoison.install new file mode 100644 index 0000000..c6bab11 --- /dev/null +++ b/debian/ratpoison.install @@ -0,0 +1,4 @@ +contrib/Ratpoison.pm /usr/share/perl5/ +contrib/ratpoison.rb /usr/lib/ruby/1.8/ +contrib/ratpoison.py /usr/share/python-support/ratpoison/ +contrib/ratpoison-cmd.el /usr/share/emacs/site-lisp/ratpoison/ diff --git a/debian/rules b/debian/rules index 0e7aec7..e64174f 100755 --- a/debian/rules +++ b/debian/rules @@ -13,11 +13,11 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 - DEPENDENCIES = + DEPENDENCIES = else CFLAGS += -O2 ifneq (,$(findstring ratpoison:gendeps,$(DEB_BUILD_OPTIONS))) - DEPENDENCIES = + DEPENDENCIES = else DEPENDENCIES = --disable-dependency-tracking endif @@ -38,64 +38,73 @@ config.status: configure --x-includes="" --x-libraries="" \ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,syms" -build: build-stamp - -build-stamp: config.status +build-arch: build-arch-stamp +build-arch-stamp: config.status dh_testdir $(MAKE) + # bindings for the different languages cd contrib && ./genrpbindings - touch build-stamp + # manpage for rpws + pod2man contrib/rpws rpws.1 + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: + touch build-indep-stamp +build: build-arch build-indep clean: dh_testdir dh_testroot - rm -f build-stamp + rm -f build-arch-stamp build-indep-stamp if [ -e config.status ] ; then $(MAKE) distclean ; fi -rm -f contrib/Ratpoison.pm contrib/ratpoison-cmd.el contrib/ratpoison.lisp contrib/ratpoison.py contrib/ratpoison.rb + -rm -f rpws.1 ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - dh_clean + dh_clean + +install: install-arch install-indep -install: build +install-indep: build-indep + +install-arch: build-arch dh_testdir dh_testroot - dh_clean -k + dh_clean -k dh_installdirs $(MAKE) install pkgdatadir=/usr/share/doc/ratpoison/examples DESTDIR=$(CURDIR)/debian/ratpoison - rm $(CURDIR)/debian/ratpoison/usr/bin/rpws - -rm -r $(CURDIR)/debian/ratpoison/usr/share/ratpoison # Those are installed to different places already by dh_* rm $(CURDIR)/debian/ratpoison/usr/share/doc/ratpoison/COPYING rm $(CURDIR)/debian/ratpoison/usr/share/doc/ratpoison/ChangeLog + # not needed two times: + rm $(CURDIR)/debian/ratpoison/usr/share/doc/ratpoison/examples/rpws # The menu command: - install -m 0755 debian/callmenu.sh $(CURDIR)/debian/ratpoison/etc/X11/ratpoison/ratpoisonmenu - # bindings for the different languages: - install -m 0644 $(CURDIR)/contrib/Ratpoison.pm $(CURDIR)/debian/ratpoison/usr/share/perl5/ - install -m 0644 $(CURDIR)/contrib/ratpoison.rb $(CURDIR)/debian/ratpoison/usr/lib/ruby/1.8/ - install -m 0644 $(CURDIR)/contrib/ratpoison.py $(CURDIR)/debian/ratpoison/usr/share/python-support/ratpoison/ - install -m 0644 $(CURDIR)/contrib/ratpoison-cmd.el $(CURDIR)/debian/ratpoison/usr/share/emacs/site-lisp/ratpoison/ + install -D -m 0755 debian/callmenu.sh $(CURDIR)/debian/ratpoison/etc/X11/ratpoison/ratpoisonmenu # Build architecture-independent files here. -binary-indep: build install +binary-indep: build-indep install-indep # We have nothing to do # Build architecture-dependent files here. -binary-arch: build install +binary-arch: build-arch install-arch dh_testdir dh_testroot + dh_install dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_installemacsen dh_installmenu dh_installinfo doc/ratpoison.info + dh_installman rpws.1 dh_link dh_strip dh_compress @@ -141,7 +150,7 @@ maintainer-cvs: ./debian/rules maintainer-ready RATPOISON_VERSION="$(RATPOISON_CVSVERSION)" cd "../ratpoison-$(RATPOISON_CVSVERSION)" && ./debian/rules maintainer-clean cd "../ratpoison-$(RATPOISON_CVSVERSION)" && dch -v "$(RATPOISON_CVSVERSION)-0" -D "LOCAL" - + binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install get-orig-source make-orig-source-working diff --git a/debian/watch b/debian/watch index da14b45..0b40dd7 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,3 @@ # See uscan(1) for format version=2 -opts=dversionmangle=s/\.dfsg$// \ - http://savannah.nongnu.org/download/ratpoison/ratpoison-([0-9.]*)\.tar\.gz +http://savannah.nongnu.org/download/ratpoison/ratpoison-([0-9.]*)\.tar\.gz |