--- kupfer-0+c5.orig/debian/rules +++ kupfer-0+c5/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ + +clean: + waf distclean + rm -fr build + dh --with quilt $@ + +override_dh_auto_configure: + PYTHONDIR=/usr/share/kupfer waf configure --prefix=/usr --bindir=/usr/share/kupfer + +override_dh_auto_install: + waf install --nopyc --nopyo --destdir=$(CURDIR)/debian/kupfer + +override_dh_fixperms: + dh_fixperms + chmod +x debian/kupfer/usr/share/kupfer/kupfer.py + --- kupfer-0+c5.orig/debian/se.kaizer.kupfer.service +++ kupfer-0+c5/debian/se.kaizer.kupfer.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=se.kaizer.kupfer +Exec=/usr/share/kupfer/kupfer.py --- kupfer-0+c5.orig/debian/control +++ kupfer-0+c5/debian/control @@ -0,0 +1,25 @@ +Source: kupfer +Section: utils +Priority: optional +Maintainer: Luca Falavigna +Uploaders: Python Applications Packaging Team +Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7), waf +Build-Depends-Indep: python-support (>= 0.5.3), python (>= 2.5), gettext, intltool +Standards-Version: 3.8.2 +XS-Python-Version: >= 2.5 +Homepage: http://kaizer.se/wiki/kupfer/ +Vcs-Svn: svn://svn.debian.org/python-apps/packages/kupfer/trunk/ +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/kupfer/trunk/ + +Package: kupfer +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, python-gobject, python-gtk2, python-xdg, python-dbus, dbus, python-wnck, python-keybinder +Recommends: python-gnome2 +Description: fast and lightweight desktop summoner/launcher + Kupfer is a summoner/launcher in the style of Quicksilver or GNOME Do. It + can search and browse your files, launch desired applications and object you + need in a quicker way. + . + Kupfer is written in Python and has a flexible architecture based on plugins + to extend its features. + --- kupfer-0+c5.orig/debian/kupfer.py +++ kupfer-0+c5/debian/kupfer.py @@ -0,0 +1,4 @@ +#!/usr/bin/env python + +from kupfer import main +main.main() --- kupfer-0+c5.orig/debian/changelog +++ kupfer-0+c5/debian/changelog @@ -0,0 +1,42 @@ +kupfer (0+c5-0ubuntu2) karmic; urgency=low + + * Use packaged waf script instead of the local one. + + -- Luca Falavigna Sun, 02 Aug 2009 22:16:51 +0200 + +kupfer (0+c5-0ubuntu1) karmic; urgency=low + + * New upstream release. + * debian/control: + - Add python-gobject to Depends. + * debian/manpages, + debian/kupfer.1: + - Remove internal man page, use upstream one. + + -- Luca Falavigna Sat, 25 Jul 2009 16:14:12 +0200 + +kupfer (0+c4-0ubuntu1) karmic; urgency=low + + * New upstream release. + - Fix build failure with intltool. + * debian/patches/debian_wrappers.patch: + - Rename from debian/patches/debian_customization. + * debian/patches/no_buildtime_depends.patch: + - Remove check for dependencies at build time. + * debian/copyright: + - Fix some typos in license statements. + * debian/control: + - Remove unneeded build-dependencies. + - Move python-wnck to Depends. + * debian/rules: + - Adjust parameters to let localization working correctly. + * debian/docs: + - Add some documentation files. + + -- Luca Falavigna Wed, 15 Jul 2009 23:42:56 +0200 + +kupfer (0+c3-0ubuntu1) karmic; urgency=low + + * Initial release. + + -- Luca Falavigna Sat, 11 Jul 2009 14:18:39 +0200 --- kupfer-0+c5.orig/debian/install +++ kupfer-0+c5/debian/install @@ -0,0 +1,2 @@ +debian/se.kaizer.kupfer.service usr/share/dbus-1/services +debian/kupfer.py usr/share/kupfer --- kupfer-0+c5.orig/debian/links +++ kupfer-0+c5/debian/links @@ -0,0 +1 @@ +usr/share/kupfer/kupfer-activate.sh usr/bin/kupfer --- kupfer-0+c5.orig/debian/compat +++ kupfer-0+c5/debian/compat @@ -0,0 +1 @@ +7 --- kupfer-0+c5.orig/debian/watch +++ kupfer-0+c5/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/^/0\+/ \ +http://kaizer.se/publicfiles/kupfer/kupfer-([a-z][0-9.]+)\.tar\.gz --- kupfer-0+c5.orig/debian/menu +++ kupfer-0+c5/debian/menu @@ -0,0 +1,2 @@ +?package(kupfer):needs="X11" section="Applications/File Management"\ + title="kupfer" command="/usr/bin/kupfer" --- kupfer-0+c5.orig/debian/docs +++ kupfer-0+c5/debian/docs @@ -0,0 +1,4 @@ +AUTHORS +README +Documentation/kupfer_internals +Documentation/localization --- kupfer-0+c5.orig/debian/copyright +++ kupfer-0+c5/debian/copyright @@ -0,0 +1,136 @@ +This package was debianized by: + + Luca Falavigna on Wed, 15 Jul 2009 21:01:19 +0200 + +It was downloaded from: + + http://kaizer.se/publicfiles/kupfer/ + +Upstream Author: + + Ulrik Sverdrup + +Copyright: + + Copyright © 2007-2009 Ulrik Sverdrup + Copyright © 2008 Christian Hergert + Copyright © 2007 Chris Halse Rogers, DR Colkitt + David Siegel, James Walker + Jason Smith, Miguel de Icaza + Rick Harding, Thomsen Anders + Volker Braun, Jonathon Anderson + +License: + + This program 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, either version 3 of the License, or + (at your option) any later version. + + 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 program. If not, see . + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. + + +Copyright and licensing informations for kupfer/plugin/epiphany_support.py: + +Copyright: + + Copyright Nigel Tao + Copyright Raphael Slinckx + Copyright Mikkel Kamstrup Erlandsen + +License: + + This program 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; either version 2 of the License, or + (at your option) any later version. + + This program 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 program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + + +Copyright and licensing informations for kupfer/plugin/firefox_support.py: + +Copyright: + + Copyright Ulrik Sverdrup + +License: + + This program 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; either version 2 of the License, or + (at your option) any later version. + + This program 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 program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. + + +Copyright and licensing informations for waf: + +Copyright: + + Copyright © 2005-2009, Thomas Nagy + +License: + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + +The Debian packaging is: + + Copyright © 2009 Luca Falavigna + +and is licensed under the GPL version 3, see above. + --- kupfer-0+c5.orig/debian/patches/no_buildtime_depends.patch +++ kupfer-0+c5/debian/patches/no_buildtime_depends.patch @@ -0,0 +1,45 @@ +Description: Remove check for dependencies at build time, they are required at runtime only. +Origin: Debian +Forwarded: not-needed + +Index: kupfer-c4/wscript +=================================================================== +--- kupfer-c4.orig/wscript 2009-07-15 21:37:35.000000000 +0200 ++++ kupfer-c4/wscript 2009-07-15 21:38:03.000000000 +0200 +@@ -72,36 +72,6 @@ + # BUG: intltool requires gcc + conf.check_tool("gcc intltool") + +- python_modules = """ +- gio +- gtk +- xdg +- dbus +- wnck +- """ +- for module in python_modules.split(): +- conf.check_python_module(module) +- +- Utils.pprint("NORMAL", "Checking optional dependencies:") +- +- opt_programs = ["dbus-send"] +- opt_pymodules = "gnome.ui".split() +- for prog in opt_programs: +- prog_path = conf.find_program(prog) +- +- try: +- conf.check_python_module("keybinder") +- except Configure.ConfigurationError, e: +- Utils.pprint("RED", "Python module keybinder is recommended") +- Utils.pprint("RED", "Please see README") +- +- for mod in opt_pymodules: +- try: +- conf.check_python_module(mod) +- except Configure.ConfigurationError, e: +- pass +- #Utils.pprint("YELLOW", "python module %s is recommended" % prog) +- + conf.env["KUPFER"] = Utils.subst_vars("${BINDIR}/kupfer", conf.env) + conf.env["VERSION"] = VERSION + --- kupfer-0+c5.orig/debian/patches/debian_wrappers.patch +++ kupfer-0+c5/debian/patches/debian_wrappers.patch @@ -0,0 +1,40 @@ +Description: Adjust wrappers to use Debian custom ones +Origin: Debian +Forwarded: not-needed + +Index: kupfer-0+c1/wscript +=================================================================== +--- kupfer-0+c1.orig/wscript 2009-07-04 18:28:08.000000000 +0200 ++++ kupfer-0+c1/wscript 2009-07-05 01:00:36.000000000 +0200 +@@ -139,7 +139,7 @@ + binary_subst_file = "kupfer-activate.sh" + bin = bld.new_task_gen("subst", + source = binary_subst_file, +- target = "data/kupfer", ++ target = "data/kupfer-activate.sh", + install_path = "${BINDIR}", + chmod = 0755, + dict = {"PYTHON": bld.env["PYTHON"]} +Index: kupfer-0+c1/data/kupfer.desktop.in +=================================================================== +--- kupfer-0+c1.orig/data/kupfer.desktop.in.in 2009-07-05 01:00:42.000000000 +0200 ++++ kupfer-0+c1/data/kupfer.desktop.in.in 2009-07-05 01:01:17.000000000 +0200 +@@ -3,7 +3,7 @@ + _Name=Kupfer + _Comment=A simple flexible launcher + Icon=search +-Exec=@KUPFER@ ++Exec=kupfer + Type=Application + Categories=Utility; + StartupNotify=true +Index: kupfer-0+c1/kupfer-activate.sh +=================================================================== +--- kupfer-0+c1.orig/kupfer-activate.sh 2009-07-05 01:01:42.000000000 +0200 ++++ kupfer-0+c1/kupfer-activate.sh 2009-07-05 01:02:07.000000000 +0200 +@@ -7,4 +7,4 @@ + # but only if there are no arguments + test -z "$*" && dbus-send --print-reply --dest=se.kaizer.kupfer /interface se.kaizer.kupfer.Listener.ShowHide >/dev/null 2>&1 + +-test $? != 0 && exec ${PYTHON} -m kupfer.__init__ $* || ${PYTHON} -c "import gtk.gdk; gtk.gdk.notify_startup_complete()" ++test $? != 0 && cd /usr/share/kupfer && exec ${PYTHON} -m kupfer.__init__ $* || ${PYTHON} -c "import gtk.gdk; gtk.gdk.notify_startup_complete()" --- kupfer-0+c5.orig/debian/patches/series +++ kupfer-0+c5/debian/patches/series @@ -0,0 +1,2 @@ +debian_wrappers.patch +no_buildtime_depends.patch