Julien Jehannet avatar Julien Jehannet committed 6472b5d

backup debian dir

Comments (0)

Files changed (15)

debian/9menu.manpages

+9menu.1
+9menu (1.8-5) unstable; urgency=low
+
+  * Fix resource leak:fp LP: #479042
+    + New patch 07_remove-resource-leak.diff
+
+ -- Daniel Echeverry <epsilon77@gmail.com>  Thu, 16 Dec 2010 15:02:55 -0500
+
+9menu (1.8-4) unstable; urgency=low
+
+  * Switch from override_* targets to files in debian/
+  * Do not link with Xext: we do not use it
+    + Remove libxext-dev from Build-Depends
+    + New patch: 06_Imakefile.diff
+  * Added header description into old patches
+
+ -- Daniel Echeverry <epsilon77@gmail.com>  Mon, 01 Nov 2010 20:04:56 -0500
+
+9menu (1.8-3) unstable; urgency=low
+
+  * New maintainer. Closes: #525488
+  * Switch to dpkg-source 3.0 (quilt) format
+  * add debian/watch file
+  * debian/control
+    + Bumped standard versions 3.9.1
+    + Remove dpatch from Build-Depends
+    + Set myself as Maintainer
+    + Changed debhelper to 7.0.50 in B-D
+  * debian/patches
+    + Change all patches from dpatch to quilt
+  * debian/install
+    + Removed
+  * debian/compat
+    + Switch compat level 5 to 7
+
+ -- Daniel Echeverry <epsilon77@gmail.com>  Mon, 27 Sep 2010 19:54:44 -0500
+
+9menu (1.8-2) unstable; urgency=low
+
+  * QA upload.
+    + Set maintainer to Debian QA Group <packages@qa.debian.org>
+  * Acknowledge NMUs.
+  * Replace x-dev build-dep with x11proto-core-dev. (Closes: #515354).
+  * Replace xutils build-dep with xutils-dev.
+  * 05_morekeys.dpatch - Support more keys. (Closes: #513696).
+    + Thanks to Bernhard R. Link for the patch. 
+  * Make clean not ignore errors.
+  * Bump debhelper build-dep and compat to 5.
+  * Bump Standards Version to 3.8.1.
+
+ -- Barry deFreese <bdefreese@debian.org>  Fri, 24 Apr 2009 17:00:40 -0400
+
+9menu (1.8-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add build-dep on libxext-dev, fixes FTBFS (Closes: #486973, #464593)
+  * Add build-dep on xutils-dev for imake (Closes: #485188)x	
+
+ -- Moritz Muehlenhoff <jmm@debian.org>  Fri, 27 Jun 2008 21:52:55 +0200
+
+9menu (1.8-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Split xlibs-dev build-dep (Closes: #346610).
+
+ -- Luk Claes <luk@debian.org>  Thu, 12 Jan 2006 00:03:45 +0100
+
+9menu (1.8-1) unstable; urgency=low
+
+  * New upstream; popup-exec patch rolled in.
+
+ -- Andrew Stribblehill <ads@debian.org>  Fri,  9 Sep 2005 16:21:54 +0100
+
+9menu (1.7-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * The .orig.tar.gz is headed by a setgid directory, which can cause build
+    problems. Remove the setgid bit on clean (closes: #233320).
+
+ -- Colin Watson <cjwatson@debian.org>  Sun, 14 Mar 2004 12:30:25 +0000
+
+9menu (1.7-2) unstable; urgency=low
+
+  * Allow '-file -' to cause stdin to be read as the file. Thanks go to Peter
+    Bailey for the inspiration for the patch.
+
+ -- Andrew Stribblehill <ads@debian.org>  Tue,  2 Sep 2003 12:06:09 +0100
+
+9menu (1.7-1) unstable; urgency=low
+
+  * New upstream release. Clarified with Arnold (upstream) that binaries
+    compiled from patched source may be distributed. (Closes: Bug#178992)
+  
+ -- Andrew Stribblehill <ads@debian.org>  Tue,  1 Jul 2003 12:37:47 +0100
+
+9menu (1.6-3) unstable; urgency=low
+
+  * New maintainer; thanks Stephen
+  * Patch so 9menu just execs not fork/exec + exit on popup
+  * Move binary to /usr/bin and manpage to /usr/share/man
+  * Use debhelper wholesale
+
+ -- Andrew Stribblehill <ads@debian.org>  Sat, 14 Jun 2003 16:23:37 +0100
+
+9menu (1.6-2) unstable; urgency=low
+
+  * Fixed Build-Depends to include xutils.
+
+ -- Stephen Frost <sfrost@debian.org>  Thu, 25 Apr 2002 08:30:21 -0400
+
+9menu (1.6-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Stephen Frost <sfrost@debian.org>  Thu, 25 Apr 2002 01:05:04 -0400
+
+9menu (1.5-2) unstable; urgency=low
+
+  * Fixed Build-Depends line (added debhelper)
+  * Changed maintainer email address.
+
+ -- Stephen Frost <sfrost@debian.org>  Wed,  4 Jul 2001 11:39:45 -0400
+
+9menu (1.5-1) unstable; urgency=medium
+
+  * New upstream version
+  * Added md5sums correctly
+
+ -- Stephen Frost <sfrost@snowman.net>  Thu, 7 Dec 2000 22:44:38 -0500
+
+9menu (1.4-10.2) unstable; urgency=low
+
+  * New Maintainer
+  * Fixed gcc warnings.
+
+ -- Stephen Frost <sfrost@snowman.net>  Thu, 7 Dec 2000 20:58:13 -0500
+
+9menu (1.4-10.1) unstable; urgency=medium
+
+  * Non-maintainer upload 
+  * debian/postinst, debian/postrm: added missing "#!/bin/sh -e" line 
+    (closes: bug #77413).
+
+ -- An Thi-Nguyen Le <anle@debian.org>  Mon, 27 Nov 2000 18:46:45 -0600
+
+9menu (1.4-10) unstable; urgency=low
+
+  * /usr/doc -> /usr/share/doc
+  * Changed CFLAGS and INSTALL_PROGRAM in debian/rules according to
+    the new policy.
+  * Added build dependencies.
+  * Standards-Version: 3.2.1
+
+ -- Adrian Bunk <bunk@fs.tum.de>  Sat, 11 Nov 2000 22:37:30 +0100
+
+9menu (1.4-9) unstable; urgency=low
+
+  * Orphaned the package.
+
+ -- Joel Klecker <espy@debian.org>  Wed,  2 Jun 1999 00:42:15 -0700
+
+9menu (1.4-8) unstable; urgency=low
+
+  * New maintainer.
+
+ -- Joel Klecker <jk@espy.org>  Wed,  17 Dec 1997 09:59:05 -0800
+
+9menu (1.4-7) unstable; urgency=low
+
+  * Compile against libc6
+
+ -- Karl Sackett <krs@debian.org>  Mon,  3 Nov 1997 15:30:53 -0500
+
+9menu (1.4-6) unstable; urgency=low
+
+  * Changed maintainer's address.
+
+ -- Karl Sackett <krs@debian.org>  Thu, 31 Oct 1996 09:34:48 -0600
+
+9menu (1.4-5) unstable; urgency=low
+
+  * Converted to new package standards.
+
+ -- Karl Sackett <krs@caos.aamu.edu>  Thu, 3 Oct 1996 10:28:01 -0500
+
+1.4-4
+	* support files now architecture-independent
+1.4-3
+	* Added Debian support files.
+	* Corrected prefix, exec_prefix in debian.rules.
+	* Moved man page from 9menu.1x to 9menu.1
+
+Local variables:
+mode: debian-changelog
+End:
+changelog
+Source: 9menu
+Section: x11
+Priority: optional
+Maintainer: Daniel Echeverry <epsilon77@gmail.com>
+Build-Depends: libx11-dev, x11proto-core-dev, debhelper (>= 7.0.50), xutils-dev
+Standards-Version: 3.9.1
+
+Package: 9menu
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Creates X menus from the shell
+ This is a simple program that allows you to create X menus from
+ the shell, where each menu item will run a command. 9menu is intended
+ for use with 9wm, but can be used with any other window manager.
+
+This is the Debian GNU/Linux prepackaged version of 9menu.
+
+This package was put together by Stephen Frost <sfrost@debian.org>,
+from sources obtained from:
+
+	ftp://freefriends.org/arnold/Source/9menu-1.6.shar.gz
+
+Licence:
+
+  9menu is free software, and is Copyright (c) 1994 by David Hogan and
+  Arnold Robbins. Permission is granted to all sentient beings to use
+  this software, to make copies of it, and to distribute those copies,
+  provided that:
+
+      (1) the copyright and licence notices are left intact
+      (2) the recipients are aware that it is free software
+      (3) any unapproved changes in functionality are either
+            (i) only distributed as patches
+        or (ii) distributed as a new program which is not called 9menu
+                and whose documentation gives credit where it is due
+      (4) the authors are not held responsible for any defects
+          or shortcomings in the software, or damages caused by it.
+
+  There is no warranty for this software.  Have a nice day.

debian/patches/03_stdin.diff

+Description: Allow '-file -' to cause stdin to be read as the file
+Forwarded: yes
+Author: Andrew Stribblehill <ads@debian.org>
+Origin: vendor
+Last-Update: 2003-09-02
+
+--- a/9menu.1
++++ b/9menu.1
+@@ -99,7 +99,7 @@
+ in addition to any other command line arguments.  This is intended for use
+ with
+ .B #!
+-in scripts.
++in scripts. If the filename is "-" read from stdin.
+ .TP
+ .BI \-fg " foreground-color"
+ Set the foreground color to
+--- a/9menu.c
++++ b/9menu.c
+@@ -264,7 +264,11 @@
+ 		char fbuf[1024];
+ 		FILE *fp;
+ 
+-		fp = fopen(filename, "r");
++                if (strcmp(filename, "-") == 0) {
++                        fp = stdin;
++                } else {
++                        fp = fopen(filename, "r");
++                }
+ 		if (fp == NULL) {
+ 			fprintf(stderr, "%s: couldn't open '%s'\n", progname,
+ 				filename);

debian/patches/04_signedness.diff

+Description: popup-exec patch rolled in
+Forwarded: yes
+Author: Andrew Stribblehill <ads@debian.org>
+Origin: vendor
+Last-Update: 2005-09-05 
+
+--- a/9menu.c
++++ b/9menu.c
+@@ -101,7 +101,7 @@
+ /* the 9menu icon, for garish window managers */
+ #define nine_menu_width 40
+ #define nine_menu_height 40
+-static unsigned char nine_menu_bits[] = {
++static char nine_menu_bits[] = {
+    0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x00, 0x00, 0x04, 0x00,
+    0x80, 0x00, 0x00, 0x04, 0x00, 0x80, 0x00, 0x00, 0xfc, 0xff, 0xff, 0x00,
+    0x00, 0xfc, 0xff, 0xff, 0x00, 0x00, 0x04, 0x00, 0x80, 0x00, 0x00, 0x04,
+@@ -781,7 +781,7 @@
+ 	Window wdummy;
+ 
+ 	if (XQueryPointer(dpy, menuwin, &wdummy, &wdummy, &x, &y,
+-			       &dummy, &dummy, &dummy))
++			       &dummy, &dummy, (unsigned int *)&dummy))
+ 		XMoveWindow(dpy, menuwin, x-wide/2, y-cur*high-high/2);
+ }
+ 
+@@ -800,7 +800,7 @@
+ 	offset += 6;	/* fudge factor */
+ 
+ 	if (XQueryPointer(dpy, menuwin, &wdummy, &wdummy, &savex, &savey,
+-			       &dummy, &dummy, &dummy))
++			       &dummy, &dummy, (unsigned int *)&dummy))
+ 		XWarpPointer(dpy, None, menuwin, 0, 0, 0, 0,
+ 				wide/2, cur*high-high/2+offset);
+ }

debian/patches/05_morekeys.diff

+Description: Add more keys, especially Keypad Enter
+Forwarded: yes
+Author: Andrew Stribblehill <ads@debian.org>
+Origin: vendor
+Last-Update: 2009-04-24
+
+--- a/9menu.c
++++ b/9menu.c
+@@ -124,6 +124,14 @@
+ #define CONFIG_MENU_UP_KEY  XK_Up
+ #define CONFIG_MENU_DOWN_KEY    XK_Down
+ #define CONFIG_MENU_SELECT_KEY  XK_Return
++#define CONFIG_MENU_VI_UP_KEY  XK_k
++#define CONFIG_MENU_VI_DOWN_KEY  XK_j
++#define CONFIG_MENU_EMACS_UP_KEY  XK_p
++#define CONFIG_MENU_EMACS_DOWN_KEY  XK_n
++#define CONFIG_MENU_ALTERNATE_UP_KEY  XK_KP_Up
++#define CONFIG_MENU_ALTERNATE_DOWN_KEY  XK_KP_Down
++#define CONFIG_MENU_ALTERNATE_SELECT_KEY  XK_KP_Enter
++#define CONFIG_MENU_ABORT_KEY XK_Escape
+ 
+ char *progname;		/* my name */
+ char *displayname;	/* X display */
+@@ -573,13 +581,21 @@
+ 			key = XKeycodeToKeysym(dpy, ev.xkey.keycode, 0);	
+ 			if (key != CONFIG_MENU_UP_KEY
+ 			    && key != CONFIG_MENU_DOWN_KEY
+-			    && key != CONFIG_MENU_SELECT_KEY)
++			    && key != CONFIG_MENU_SELECT_KEY
++			    && key != CONFIG_MENU_ALTERNATE_DOWN_KEY
++			    && key != CONFIG_MENU_ALTERNATE_UP_KEY
++			    && key != CONFIG_MENU_ALTERNATE_SELECT_KEY
++			    && key != CONFIG_MENU_EMACS_DOWN_KEY
++			    && key != CONFIG_MENU_EMACS_UP_KEY
++			    && key != CONFIG_MENU_VI_DOWN_KEY
++			    && key != CONFIG_MENU_VI_UP_KEY
++			    && key != CONFIG_MENU_ABORT_KEY)
+ 				break;
+ 
+-			if (key == CONFIG_MENU_UP_KEY) {
++			if (key == CONFIG_MENU_UP_KEY || key == CONFIG_MENU_EMACS_UP_KEY || key == CONFIG_MENU_VI_UP_KEY || key == CONFIG_MENU_ALTERNATE_UP_KEY) {
+ 				old = cur;
+ 				cur--;
+-			} else if (key == CONFIG_MENU_DOWN_KEY) {
++			} else if (key == CONFIG_MENU_DOWN_KEY || key == CONFIG_MENU_EMACS_DOWN_KEY || key == CONFIG_MENU_VI_DOWN_KEY || key == CONFIG_MENU_ALTERNATE_DOWN_KEY) {
+ 				old = cur;
+ 				cur++;
+ 			}
+@@ -589,7 +605,10 @@
+ 		
+ 			cur %= numitems;
+ 
+-			if (key == CONFIG_MENU_UP_KEY || key == CONFIG_MENU_DOWN_KEY) {
++			if (key == CONFIG_MENU_UP_KEY || key == CONFIG_MENU_DOWN_KEY
++			    || key == CONFIG_MENU_EMACS_UP_KEY || key == CONFIG_MENU_EMACS_DOWN_KEY
++			    || key == CONFIG_MENU_VI_UP_KEY || key == CONFIG_MENU_VI_DOWN_KEY
++			    || key == CONFIG_MENU_ALTERNATE_UP_KEY || key == CONFIG_MENU_ALTERNATE_DOWN_KEY) {
+ 				if (cur == old)
+ 					break;
+ 				if (old >= 0 && old < numitems && cur != -1)
+@@ -601,7 +620,13 @@
+ 
+ 			if (warp)
+ 				restoremouse();
+-			if (key == CONFIG_MENU_SELECT_KEY) {
++			if (key == CONFIG_MENU_ABORT_KEY) {
++				if (commands[cur] != labels[cur]) {
++					spawn(commands[cur]);
++				}
++				return;
++			}
++			if (key == CONFIG_MENU_SELECT_KEY || key == CONFIG_MENU_ALTERNATE_SELECT_KEY) {
+ 				if (strcmp(labels[cur], "exit") == 0) {
+ 					if (commands[cur] != labels[cur]) {
+ 						spawn(commands[cur]);

debian/patches/06_Imakefile.diff

+Description: Fix dpkg-shlibdeps: warning: dependency on libXext.so.6
+Forwarded: yes
+Author: Daniel Echeverry <epsilon77@gmail.com>
+Origin: vendor
+Last-Update: 2010-11-06
+--- a/Imakefile
++++ b/Imakefile
+@@ -1,6 +1,6 @@
+        INCLUDES = -I$(TOP)
+-        DEPLIBS = $(DEPXLIB)
+-LOCAL_LIBRARIES = $(XLIB)
++        DEPLIBS = $(DEPXLIBONLY)
++LOCAL_LIBRARIES = $(XLIBONLY)
+         DEFINES = -DSHAPE #-DDEBUG -DDEBUG_EV
+            SRCS = 9menu.c
+            OBJS = 9menu.o

debian/patches/07_remove-resource-leak.diff

+Description: Fix resource leak:fp
+Forwarded: yes
+Author: Daniel Echeverry <epsilon77@gmail.com>
+Origin: vendor
+Last-Update: 2010-12-16
+
+--- a/9menu.c
++++ b/9menu.c
+@@ -326,6 +326,7 @@
+ 			strcpy(f_argv[nlabels], s);
+ 			++nlabels;
+ 		}
++	fclose(fp);
+ 	}
+ 
+ 	labels = (char **) malloc((numitems + nlabels) * sizeof(char *));

debian/patches/series

+03_stdin.diff
+04_signedness.diff
+05_morekeys.diff
+06_Imakefile.diff
+07_remove-resource-leak.diff
+#!/usr/bin/make -f
+
+CC = gcc
+CFLAGS = -g -Wall
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+
+%:
+	dh $@
+
+get-orig-source:
+	uscan --verbose --force-download --destdir=.
+	gunzip *.shar.gz
+	sh ./*.shar
+
+override_dh_auto_build:
+	xmkmf
+	dh_auto_build -- CC="$(CC)" CCOPTIONS+="$(CFLAGS)" 9menu
+
+override_dh_installchangelogs:
+	sed -n '1,/\*\// {s/^.*\*[ /]\?//; s/9menu.c/Taken from &/; p}' 9menu.c > changelog
+	dh_installchangelogs changelog

debian/source/format

+3.0 (quilt)
+version=3
+ftp://ftp.freefriends.org/arnold/Source/9menu-(.*)\.shar\.gz
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.