debian/0000700000000000000000000000000012053047763007163 5ustar debian/pycompat0000600000000000000000000000000211535102221010715 0ustar 2 debian/watch0000600000000000000000000000006211535114413010203 0ustar version=3 http://sf.net/obmenu/obmenu-(.+).tar.gz debian/changelog0000600000000000000000000000214012053047763011034 0ustar obmenu (1.0-2+nmu1) unstable; urgency=medium * Non-maintainer upload. * Handle insufficient number of command-line arguments in obm-xdg (closes: #693319). -- Michael Gilbert Wed, 21 Nov 2012 03:44:13 +0000 obmenu (1.0-2) unstable; urgency=low [ Edgar Antonio Palma de la Cruz ] * New maintainer. Closes: #583246, #512607 * Bumped Standards-Version to 3.9.2 * Bumped compat file and debhelper to 8 * Added misc depends to control file. * Switch to dpkg-source 3.0 (quilt) format. * Removed cdbs and dpatch from control file. * Added a watch file. * Fixed a few typos on manpages of obm-dir and obm-moz. Closes: #573819 * Fix the python2.5 dependency. Closes: #623012 * Removed post*debhelper. * Added python-Depends to binary. * Added a homepage. * Moved to Applications/System/Administration section on menu file. -- Edgar Antonio Palma de la Cruz Mon, 02 May 2011 00:32:41 +0200 obmenu (1.0-1) unstable; urgency=low * Initial release (Closes: #433520) -- Davide Truffa Thu, 02 Aug 2007 11:50:50 +0200 debian/python-module-stampdir/0000700000000000000000000000000011535110277013603 5ustar debian/compat0000600000000000000000000000000211555354350010362 0ustar 8 debian/dirs0000600000000000000000000000001111535102221010022 0ustar /usr/bin debian/patches/0000700000000000000000000000000012053050115010573 5ustar debian/patches/arguments.patch0000600000000000000000000000110712053050115013622 0ustar Description: Handle insufficient number of command-line arguments in obm-xdg Author: Michael Gilbert Bug-Debian: http://bugs.debian.org/693319 --- obmenu-1.0.orig/pipes/obm-xdg +++ obmenu-1.0/pipes/obm-xdg @@ -426,7 +426,11 @@ if __name__ == "__main__": if os.path.isfile("%s/menus/applications.menu"%(cdir)): filename = "%s/menus/applications.menu"%(cdir) break - + + if len( sys.argv ) < 2: + print 'usage: %s [options] /path/to/system.menu'%sys.argv[0] + sys.exit(1) + for arg in sys.argv[1:]: if arg == "--import": role = "import" debian/patches/series0000600000000000000000000000017312053050054012015 0ustar 01_python_package 02_obm-nav_sort 03_about-dialog_fix 04_obmenu-copy-default-xdg-menu debian-changes-1.0-2 arguments.patch debian/patches/03_about-dialog_fix0000600000000000000000000000354211535130774014261 0ustar Description: Some bug fixes on about-dialog Origin: vendor Author: --- a/obmenu +++ b/obmenu @@ -462,8 +462,11 @@ self.remove(None) def show_about(self, args): - #gtk.glade.XML("/usr/local/share/obmenu/obmenu.glade", "aboutdialog1") - gtk.glade.XML(self.gladefile, "aboutdialog1") + self.aboutdialog.show() + + def close_about(self, *args): + self.aboutdialog.hide() + return True # application init def init(self): @@ -503,7 +506,10 @@ # Set the basics for GTK self.arbol = gtk.glade.XML(self.gladefile, "window1") - + self.about = gtk.glade.XML(self.gladefile, "aboutdialog1") + self.aboutdialog=self.about.get_widget("aboutdialog1") + self.aboutdialog.connect ('delete-event', self.close_about) + self.aboutdialog.connect ('response', self.close_about) self.treeview=self.arbol.get_widget("treeview1") self.label_entry = self.arbol.get_widget("entry1") self.action_entry = self.arbol.get_widget("combobox1") --- a/obmenu.glade +++ b/obmenu.glade @@ -727,7 +727,7 @@ - True + False True Openbox Menu Editor Thank you for using this sofware. @@ -752,7 +752,7 @@ Website Manuel Colmenero <m.kolme@gmail.com> translator-credits - mnu48.png + /usr/share/obmenu/mnu48.png debian/patches/05_manpages-dir-moz0000600000000000000000000000167211535137046014221 0ustar --- a/debian/man/obm-dir.1 +++ b/debian/man/obm-dir.1 @@ -8,7 +8,7 @@ .SH "DESCRIPTION" .LP \fBObm\-dir\fR is a pipe menu for openbox. -It builds a menu from a directory, alphabetically sorted and can be used inside your openbox's menu to generate menus dinamically. +It builds a menu from a directory, alphabetically sorted and can be used inside your openbox's menu to generate menus dynamically. .LP More information about pipe\-menus can be found on http://icculus.org/openbox/index.php/Openbox:Pipemenus .SH "EXAMPLES" --- a/debian/man/obm-moz.1 +++ b/debian/man/obm-moz.1 @@ -22,7 +22,7 @@ .IP "\fB\-f\fR, \fB\-\-firefox\fR" 10 Look for Firefox bookmarks .IP "\fB\-b\fR FILENAME, \fB\-\-bookmarks\fR=FILENAME" 10 -Especify the path to the bookmarks.html file +Specify the path to the bookmarks.html file .IP "\fB\-r ROOT\fR, \fB\-\-root=ROOT\fR" 10 Root folder of the bookmarks .IP "\fB\-n\fR BROWSER, \fB\-\-navigator=BROWSER\fR" 10 debian/patches/debian-changes-1.0-20000600000000000000000000000422411557357744014037 0ustar Description: Upstream changes introduced in version 1.0-2 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . obmenu (1.0-2) unstable; urgency=low . [ Edgar Antonio Palma de la Cruz ] * New maintainer. Closes: #583246, #512607 * Bumped Standards-Version to 3.9.2 * Bumped compat file and debhelper to 8 * Added misc depends to control file. * Switch to dpkg-source 3.0 (quilt) format. * Removed cdbs and dpatch from control file. * Added a watch file. * Fixed a few typos on manpages of obm-dir and obm-moz. Closes: #573819 * Fix the python2.5 dependency. Closes: #623012 * Removed post*debhelper. * Added python-Depends to binary. * Added a homepage. * Moved to Applications/System/Administration section on menu file. . The person named in the Author field signed this changelog entry. Author: Edgar Antonio Palma de la Cruz Bug-Debian: http://bugs.debian.org/512607 Bug-Debian: http://bugs.debian.org/573819 Bug-Debian: http://bugs.debian.org/583246 Bug-Debian: http://bugs.debian.org/623012 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- /dev/null +++ obmenu-1.0/Changelog @@ -0,0 +1,11 @@ +- Automatically reconfigures Openbox + +- Create and modify pipemenus. Pipemenus are a way of creating menus + dynamically. For more info, visit openbox documentation. + +- The same with "link" menus, which are references to other menus by their IDs. + That way you can reproduce a menu in several places of your file. + +- Lot's of GUI enhancements + +- Multifile support (New, open, save, ..) debian/patches/04_obmenu-copy-default-xdg-menu0000700000000000000000000000251611535131102016431 0ustar Description: Copy the default /etx/xdg menu stuff if on does not exist on the first run. Origin: vendor Author: --- a/obmenu +++ b/obmenu @@ -475,6 +475,35 @@ self.menu_path = sys.argv[1] elif len(sys.argv) == 1: self.menu_path = os.getenv("HOME") + "/.config/openbox/menu.xml" + if not os.path.isfile("%s/.config/openbox/menu.xml" % (os.getenv("HOME"))): + if not os.path.isdir("%s/.config/" % (os.getenv("HOME"))): + try: + os.mkdir("%s/.config/" % (os.getenv("HOME"))) + except: + print "Error: Can't create ~/.config directory!" + return + + if not os.path.isdir("%s/.config/openbox" % (os.getenv("HOME"))): + try: + os.mkdir("%s/.config/openbox" % (os.getenv("HOME"))) + except: + print "Error: Can't create ~/.config/openbox directory!" + return + + if not os.path.isfile("/etc/xdg/openbox/menu.xml"): + print "Error: Couldn't find default menu file!" + return + + try: + orig = open("/etc/xdg/openbox/menu.xml", "r") + dest = open("%s/.config/openbox/menu.xml" % (os.getenv("HOME")), "w") + dest.write(orig.read()) + orig.close() + dest.close() + except: + print "Error: Couldn't create default menu file!" + return + else: print "Error: Wrong number of arguments" print "Usage: obmenu /path/to/menu.xml" debian/patches/02_obm-nav_sort0000700000000000000000000000040011535115462013435 0ustar Description: Sort by name obm-nav pipes-menu Origin: vendor Author: --- a/pipes/obm-nav +++ b/pipes/obm-nav @@ -45,6 +45,8 @@ n = 0 p = 1 mid = None +files.sort() +dirs.sort() for d in dirs: if n > 15: menu.createSep(mid,0) debian/patches/01_python_package0000700000000000000000000000107311535115313014024 0ustar Description: non-standard python package Origin: vendor Author: --- a/obxml.py +++ b/obxml.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +# obxml.py # # Openbox Menu Editor 1.0 beta # --- a/setup.py +++ b/setup.py @@ -7,6 +7,8 @@ setup(name='obMenu', version='1.0', description='Openbox Menu Editor', + license='GPL', + url='http://obmenu.sourceforge.net/', author='Manuel Colmenero', author_email='m.kolme@gmail.com', scripts=['obmenu', 'pipes/obm-xdg','pipes/obm-dir','pipes/obm-moz','pipes/obm-nav'], debian/patches/05_manpages-moz-dir0000600000000000000000000000201411535135221014201 0ustar Description: It fix a few typos Origin: vendor Author: A. Costa --- a/debian/man/obm-dir.1 +++ b/debian/man/obm-dir.1 @@ -8,7 +8,7 @@ .SH "DESCRIPTION" .LP \fBObm\-dir\fR is a pipe menu for openbox. -It builds a menu from a directory, alphabetically sorted and can be used inside your openbox's menu to generate menus dinamically. +It builds a menu from a directory, alphabetically sorted and can be used inside your openbox's menu to generate menus dynamically. .LP More information about pipe\-menus can be found on http://icculus.org/openbox/index.php/Openbox:Pipemenus .SH "EXAMPLES" --- a/debian/man/obm-moz.1 +++ b/debian/man/obm-moz.1 @@ -22,7 +22,7 @@ .IP "\fB\-f\fR, \fB\-\-firefox\fR" 10 Look for Firefox bookmarks .IP "\fB\-b\fR FILENAME, \fB\-\-bookmarks\fR=FILENAME" 10 -Especify the path to the bookmarks.html file +Specify the path to the bookmarks.html file .IP "\fB\-r ROOT\fR, \fB\-\-root=ROOT\fR" 10 Root folder of the bookmarks .IP "\fB\-n\fR BROWSER, \fB\-\-navigator=BROWSER\fR" 10 debian/control0000600000000000000000000000152511557357637010607 0ustar Source: obmenu Section: x11 Priority: extra Maintainer: Edgar Antonio Palma de la Cruz Build-Depends: debhelper (>= 8), python-all-dev, python-support (>= 0.90) Standards-Version: 3.9.2 Homepage: http://obmenu.sourceforge.net/ Package: obmenu Architecture: any Depends: ${misc:Depends}, ${python:Depends}, python-glade2 Recommends: openbox Description: Graphical menu editor for openbox Obmenu is a graphical menu editor for the Openbox window manager. Openbox uses XML to store its menu preferences, and editing these by hand can quickly become tedious. This utility provides a convenient method of editing the menu in a graphical interface, while not losing the powerful features of Openbox such as its pipe menus. . This also provides a Python module named obxml that can be used to further script Openbox's menu system. debian/man/0000700000000000000000000000000011535137146007735 5ustar debian/man/obm-nav.10000600000000000000000000000135311535102221011344 0ustar .TH "obm-nav" "1" "1.0" "Davide Truffa" "Openbox Pipe Menu" .SH "NAME" .LP obm\-nav \- a pipe\-menu for openbox .SH "SYNTAX" .LP obm\-nav .SH "DESCRIPTION" .LP \fBObm\-moz\fR is a pipe menu for openbox. It recursively builds a menu to navigate directories. .LP More information about pipe\-menus can be found on http://icculus.org/openbox/index.php/Openbox:Pipemenus .SH "EXAMPLES" .LP obm\-nav /home/bull rox xterm .LP .SH "AUTHORS" .LP obm\-dir was written by Manuel Colmenero as part of obmenu. This manual page was originally written for the Debian GNU/Linux system by Davide Truffa . .SH "SEE ALSO" .LP obmenu(1), obm\-dir(1), obm\-moz(1), obm\-xdg(1), openbox(1) debian/man/obm-xdg.10000600000000000000000000000150011535102221011334 0ustar .TH "obm-xdg" "1" "1.0" "Davide Truffa" "Openbox Pipe Menu" .SH "NAME" .LP obm\-xdg \- a pipe\-menu for openbox .SH "SYNTAX" .LP obm\-xdg [options] /path/to/system.menu .SH "DESCRIPTION" .LP \fBObm\-xdg\fR is a free desktop menus implementation for openbox. .LP More information about pipe\-menus can be found on http://icculus.org/openbox/index.php/Openbox:Pipemenus .SH "OPTIONS" .LP .PP .IP "\fB\-\-import\fR" 10 Creates a file called "gnome\-menus.xml" .IP "\fB\-\-replace\fR" 10 Replaces the Openbox menu with the Gnome menus .SH "AUTHORS" .LP obm\-dir was written by Manuel Colmenero as part of obmenu. This manual page was originally written for the Debian GNU/Linux system by Davide Truffa . .SH "SEE ALSO" .LP obmenu(1), obm\-dir(1), obm\-moz(1), obm\-nav(1), openbox(1) debian/man/obm-moz.10000600000000000000000000000254311535137174011406 0ustar .TH "obm-moz" "1" "1.0" "Davide Truffa" "Openbox Pipe Menu" .SH "NAME" .LP obm\-moz \- a pipe\-menu for openbox .SH "SYNTAX" .LP obm\-moz [options] .SH "DESCRIPTION" .LP \fBObm\-moz\fR is a pipe menu for openbox. It translates any mozilla\-compatible bookmarks into an openbox menu. If no arguments are given, it'll try to find your bookmarks. A bookmarks folder can be passed as an argument, it'll try to find it and build the menu out of that folder. .LP More information about pipe\-menus can be found on http://icculus.org/openbox/index.php/Openbox:Pipemenus .SH "OPTIONS" .LP .PP .IP "\fB\-h\fR, \fB\-\-help\fR" 10 Show this help message and exit .IP "\fB\-f\fR, \fB\-\-firefox\fR" 10 Look for Firefox bookmarks .IP "\fB\-b\fR FILENAME, \fB\-\-bookmarks\fR=FILENAME" 10 Specify the path to the bookmarks.html file .IP "\fB\-r ROOT\fR, \fB\-\-root=ROOT\fR" 10 Root folder of the bookmarks .IP "\fB\-n\fR BROWSER, \fB\-\-navigator=BROWSER\fR" 10 Command to run the web browser. .SH "EXAMPLES" .LP obm\-moz \-b "/path/to/bookmarks.html" \-r "Bookmarks Toolbar Folder" .LP .SH "AUTHORS" .LP obm\-dir was written by Manuel Colmenero as part of obmenu. This manual page was originally written for the Debian GNU/Linux system by Davide Truffa . .SH "SEE ALSO" .LP obmenu(1), obm\-dir(1), obm\-nav(1), obm\-xdg(1), openbox(1) debian/man/obm-dir.10000600000000000000000000000147411535137165011361 0ustar .TH "obm-dir" "1" "1.0" "Davide Truffa" "Openbox Pipe Menu" .SH "NAME" .LP obm\-dir \- a pipe\-menu for openbox .SH "SYNTAX" .LP obm\-dir .SH "DESCRIPTION" .LP \fBObm\-dir\fR is a pipe menu for openbox. It builds a menu from a directory, alphabetically sorted and can be used inside your openbox's menu to generate menus dynamically. .LP More information about pipe\-menus can be found on http://icculus.org/openbox/index.php/Openbox:Pipemenus .SH "EXAMPLES" .LP obm\-dir /home/bull/wallpaper fbsetbg .LP .SH "AUTHORS" .LP obm\-dir was written by Manuel Colmenero as part of obmenu. This manual page was originally written for the Debian GNU/Linux system by Davide Truffa . .SH "SEE ALSO" .LP obmenu(1), obm\-moz(1), obm\-nav(1), obm\-xdg(1), openbox(1) debian/man/obmenu.10000600000000000000000000000160411535102221011271 0ustar .TH "obmenu" "1" "1.0" "Davide Truffa" "Openbox menu editor" .SH "NAME" .LP obmenu \- a menu editor for openbox .SH "SYNTAX" .LP obmenu .SH "DESCRIPTION" .LP \fBObmenu\fR is a menu editor designed for openbox. .LP It\'s easy to use, allowing to get the most out of the powerful Openbox menu system, while hiding the xml layout from the user. It also provides a bunch of dynamic menus (pipe menus), such as Gnome menus or a quick\-navigator. .LP You can also use the obxml module to easily write pipe menus of your own in Python. .LP Most updated info about obmenu can be found on its home page: http://obmenu.sf.net/ .SH "AUTHORS" .LP obmenu was written by Manuel Colmenero . This manual page was originally written for the Debian GNU/Linux system by Davide Truffa . .SH "SEE ALSO" .LP obm\-dir(1), obm\-moz(1), obm\-nav(1), obm\-xdg(1), openbox(1) debian/source/0000700000000000000000000000000011535104105010447 5ustar debian/source/format0000600000000000000000000000001411535104105011657 0ustar 3.0 (quilt) debian/copyright0000600000000000000000000000350011555361423011114 0ustar Format: Upstream-Name: Obmenu Source: http://obmenu.sourceforge.net/ Files: * Copyright: Copyright 2007 Manuel Colmenero License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: Copyright 2007 Davide Truffa License: GPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/menu0000600000000000000000000000021411555357522010054 0ustar ?package(obmenu):needs="X11"\ section="Applications/System/Administration"\ title="Openbox Menu Editor"\ command="/usr/bin/obmenu" debian/docs0000600000000000000000000000003511535102221010017 0ustar README obxml-help pipes-help debian/rules0000711000000000000000000000012211555354336010243 0ustar #!/usr/bin/make -f %: dh $@ override_dh_installman: dh_installman debian/man/*