Codebase list openbox-menu / 731bbc8
Imported Upstream version 0.7.0 Mateusz Łukasik 9 years ago
19 changed file(s) with 7 addition(s) and 180 deletion(s). Raw diff Collapse all Expand all
+0
-7
debian/README.source less more
0 openbox-menu for Debian
1 -----------------------
2
3 Both the "archlinux" directory as well as the Mercuial VCS
4 files have been removed from the original tarball.
5
6 -- Mateusz Łukasik <mati75@linuxmint.pl> Fri, 01 Nov 2013 15:59:43 +0100
+0
-24
debian/changelog less more
0 openbox-menu (0.5.1-2) unstable; urgency=high
1
2 * Add debian/patches/fix_missing_double_quote.patch from upstream
3 to fix XML parser error.
4
5 -- Mateusz Łukasik <mati75@linuxmint.pl> Tue, 03 Dec 2013 09:13:30 +0100
6
7 openbox-menu (0.5.1-1) unstable; urgency=low
8
9 * New upstream release.
10 * debian/rules:
11 + install binary to usr/bin.
12 + disable tests.
13 * debian/control:
14 + add depends to packages provides menu files.
15 * Refresh debian/patches/debian_build.patch.
16
17 -- Mateusz Łukasik <mati75@linuxmint.pl> Sat, 30 Nov 2013 11:43:27 +0100
18
19 openbox-menu (0.5.0-1) unstable; urgency=low
20
21 * Initial release. (Closes: #671862)
22
23 -- Mateusz Łukasik <mati75@linuxmint.pl> Fri, 01 Nov 2013 14:17:43 +0100
+0
-1
debian/compat less more
0 9
+0
-17
debian/control less more
0 Source: openbox-menu
1 Section: x11
2 Priority: optional
3 Maintainer: Mateusz Łukasik <mati75@linuxmint.pl>
4 Build-Depends: debhelper (>= 9), libgtk2.0-dev, libmenu-cache-dev, libglib2.0-dev
5 Standards-Version: 3.9.5.0
6 Homepage: https://bitbucket.org/fabriceT/openbox-menu
7 Vcs-Browser: https://github.com/mati75/openbox-menu.git
8 Vcs-Git: git://github.com/mati75/openbox-menu.git
9
10 Package: openbox-menu
11 Architecture: any
12 Depends: ${misc:Depends}, ${shlibs:Depends}, openbox, lxmenu-data | gnome-menus | libgarcon-common
13 Description: openbox pipe-menu to display entries in *.desktop files
14 openbox-menu is a pipemenu for the openbox window manager. It provides
15 a dynamic menu listing of installed applications. Most of the work is
16 done by the LXDE library menu-cache.
+0
-28
debian/copyright less more
0 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: openbox-menu
2 Source: https://bitbucket.org/fabriceT/openbox-menu/downloads
3
4 Files: *
5 Copyright: 2012-2013, mimas <mimasgpc@free.fr>
6 License: GPL-3+
7
8 Files: debian/*
9 Copyright: 2013, Mateusz Łukasik <mati75@linuxmint.pl>
10 License: GPL-3+
11
12 License: GPL-3+
13 This program is free software; you can redistribute it and/or modify it under
14 the terms of the GNU General Public License as published by the Free Software
15 Foundation; either version 3 of the License, or (at your option) any later
16 version.
17 .
18 This program is distributed in the hope that it will be useful, but WITHOUT ANY
19 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
20 PARTICULAR PURPOSE. See the GNU General Public License for more details.
21 .
22 You should have received a copy of the GNU General Public License along with
23 this package; if not, write to the Free Software Foundation, Inc., 51 Franklin
24 St, Fifth Floor, Boston, MA 02110-1301 USA
25 .
26 On Debian systems, the full text of the GNU General Public License version 3
27 can be found in the file `/usr/share/common-licenses/GPL-3'.
+0
-45
debian/openbox-menu.1 less more
0 .TH OPENBOX-MENU "1" "November 2013"
1 .SH NAME
2 openbox-menu \- Openbox pipe-menu to display entries in *.desktop files
3 .SH DESCRIPTION
4 .SS "Usage:"
5 .TP
6 openbox\-menu [OPTION...] [file.menu]
7 .SS "Help Options:"
8 .TP
9 \fB\-h\fR, \fB\-\-help\fR
10 Show help options
11 .SS "Application Options:"
12 .TP
13 \fB\-c\fR, \fB\-\-comment\fR
14 Show generic name instead of application name
15 .TP
16 \fB\-t\fR, \fB\-\-terminal\fR=\fIcmd\fR
17 Terminal command (default xterm \fB\-e\fR)
18 .TP
19 \fB\-g\fR, \fB\-\-gnome\fR
20 Show GNOME entries
21 .TP
22 \fB\-k\fR, \fB\-\-kde\fR
23 Show KDE entries
24 .TP
25 \fB\-x\fR, \fB\-\-xfce\fR
26 Show XFCE entries
27 .TP
28 \fB\-r\fR, \fB\-\-rox\fR
29 Show ROX entries
30 .TP
31 \fB\-p\fR, \fB\-\-persistent\fR
32 stay active
33 .TP
34 \fB\-s\fR, \fB\-\-sn\fR
35 Enable startup notification
36 .TP
37 \fB\-o\fR, \fB\-\-output\fR
38 file to write data to
39 .TP
40 \fB\-i\fR, \fB\-\-noicons\fR
41 Don't display icons in menu
42 .PP
43 This manual page was written by Mateusz Łukasik <mati75@linuxmint.pl>,
44 for the Debian project (and may be used by others).
+0
-1
debian/openbox-menu.dirs less more
0 usr/bin
+0
-1
debian/openbox-menu.manpages less more
0 debian/openbox-menu.1
+0
-15
debian/patches/debian_build.patch less more
0 Description: Make makefile compatible with Debian's standards.
1 Author: Mateusz Łukasik <mati75@linuxmint.pl>
2 Last-Update: 2013-11-30
3
4 --- a/Makefile
5 +++ b/Makefile
6 @@ -7,7 +7,7 @@ CC=gcc
7 CFLAGS+=-DWITH_ICONS
8 # Uncomment this line if Openbox can display SVG icons
9 # Check SVG support with '$ ldd /usr/bin/openbox | grep svg', librsvg must appear..
10 -# CFLAGS+=-DWITH_SVG
11 +CFLAGS+=-DWITH_SVG
12
13 prefix= /usr/local
14 DESTDIR ?= $(prefix)
+0
-17
debian/patches/fix_missing_double_quote.patch less more
0 Description: Fix missing double quote
1 Author: Mateusz Łukasik <mati75@linuxmint.pl>
2
3 Origin: Upstream, https://bitbucket.org/fabriceT/openbox-menu/commits/2c8ef0cbc8f4500db530e3d005484e0722dd0c64
4 Bug: https://bitbucket.org/fabriceT/openbox-menu/issue/3/xml-parser-error
5
6 --- b/ob_display.c
7 +++ a/ob_display.c
8 @@ -21,7 +21,7 @@ const gchar *default_template =
9 "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
10 "<openbox_pipe_menu xmlns=\"http://openbox.org/\""
11 " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
12 - " xsi:schemaLocation=\"http://openbox.org/ >"
13 + " xsi:schemaLocation=\"http://openbox.org/\" >"
14 "%MENU%</openbox_pipe_menu>\n";
15
16 /****f* ob_display/menu_directory
+0
-2
debian/patches/series less more
0 debian_build.patch
1 fix_missing_double_quote.patch
+0
-14
debian/rules less more
0 #!/usr/bin/make -f
1 export DEB_BUILD_OPTIONS=nocheck
2
3 %:
4 dh $@
5
6 override_dh_auto_install:
7 $(MAKE) install BINDIR=$(CURDIR)/debian/openbox-menu/usr/bin
8
9 override_dh_installman:
10 dh_installman
11
12 override_dh_builddeb:
13 dh_builddeb -- -Zxz -z9
+0
-1
debian/source/format less more
0 3.0 (quilt)
+0
-2
debian/source/options less more
0 compression = "xz"
1 compression-level = 9
+0
-2
debian/watch less more
0 version=3
1 https://bitbucket.org/fabriceT/openbox-menu/downloads/openbox-menu-([\d.]+).tar.bz2
5555 gchar *xdg_prefix = getenv("XDG_MENU_PREFIX");
5656 if (xdg_prefix)
5757 {
58 g_warning ("XDG_MENU_PREFIX environment variable set, this could prevent the menu from loading. Unset it if an error happens");
5859 g_snprintf (menu, APPMENU_SIZE, "%sapplications.menu", xdg_prefix);
5960 }
6061 else
2020 "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
2121 "<openbox_pipe_menu xmlns=\"http://openbox.org/\""
2222 " xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
23 " xsi:schemaLocation=\"http://openbox.org/ >"
23 " xsi:schemaLocation=\"http://openbox.org/\" >"
2424 "%MENU%</openbox_pipe_menu>\n";
2525
2626 /****f* ob_display/menu_directory
2020 #define __OPENBOXMENU_APP__
2121 #include <menu-cache.h>
2222
23 #define VERSION "0.5.1"
23 #define VERSION "0.7.0"
2424 #define APPMENU_SIZE 30
2525 #define TERMINAL_CMD "xterm -e"
2626
5050 g_string_append (cmd, "&gt;");
5151 break;
5252 case '"':
53 g_string_append (cmd, "&quote;");
53 g_string_append (cmd, "&quot;");
5454 break;
5555 default:
5656 g_string_append_c (cmd, *name);
8080 {
8181 gchar *filepath = NULL;
8282 const char *exec = menu_cache_app_get_exec (MENU_CACHE_APP(app));
83
84 g_return_val_if_fail(exec,"");
85
8386 GString *cmd = g_string_sized_new (64);
8487
8588 for (;*exec; ++exec)