--- bluez-gnome-0.23.orig/debian/watch +++ bluez-gnome-0.23/debian/watch @@ -0,0 +1,4 @@ +version=3 +# this is ugly +opts=downloadurlmangle=s@.*download%2F(.*)@http://bluez.sf.net/download/$1@,filenamemangle=s/.*download%2F(.*)/$1/ \ +http://www.bluez.org/download.html .*bluez-gnome-(.+)\.tar\.gz --- bluez-gnome-0.23.orig/debian/compat +++ bluez-gnome-0.23/debian/compat @@ -0,0 +1 @@ +5 --- bluez-gnome-0.23.orig/debian/bluez-gnome.preinst +++ bluez-gnome-0.23/debian/bluez-gnome.preinst @@ -0,0 +1,26 @@ +#!/bin/sh + +# snip from http://www.dpkg.org/ConffileHandling + +# Prepare to move a conffile without triggering a dpkg question +prep_mv_conffile() { + PKGNAME="$1" + CONFFILE="$2" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "0.5-2"; then + prep_mv_conffile "/etc/xdg/autostart/bt-applet.desktop" + fi +esac + +#DEBHELPER# --- bluez-gnome-0.23.orig/debian/rules +++ bluez-gnome-0.23/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +DEB_CONFIGURE_EXTRA_FLAGS += --disable-mime-update --disable-desktop-update + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/gnome.mk + +binary-post-install/bluez-gnome:: + rm -f debian/bluez-gnome/usr/share/mime/XMLnamespaces + rm -f debian/bluez-gnome/usr/share/mime/aliases + rm -f debian/bluez-gnome/usr/share/mime/globs + rm -f debian/bluez-gnome/usr/share/mime/magic + rm -f debian/bluez-gnome/usr/share/mime/mime.cache + rm -f debian/bluez-gnome/usr/share/mime/subclasses --- bluez-gnome-0.23.orig/debian/patches/02_MenusRevisited.patch +++ bluez-gnome-0.23/debian/patches/02_MenusRevisited.patch @@ -0,0 +1,8 @@ +diff -Nur -x '*.orig' -x '*~' bluez-gnome-0.21/analyzer/bluetooth-analyzer.desktop.in bluez-gnome-0.21.new/analyzer/bluetooth-analyzer.desktop.in +--- bluez-gnome-0.21/analyzer/bluetooth-analyzer.desktop.in 2008-02-11 23:04:17.000000000 +0530 ++++ bluez-gnome-0.21.new/analyzer/bluetooth-analyzer.desktop.in 2008-02-19 18:14:14.000000000 +0530 +@@ -9,3 +9,4 @@ + Type=Application + Categories=Application;Utility; + OnlyShowIn=GNOME; ++NoDisplay=true --- bluez-gnome-0.23.orig/debian/copyright +++ bluez-gnome-0.23/debian/copyright @@ -0,0 +1,58 @@ +This package was debianized by Filippo Giunchedi on +Tue Sep 19 14:54:10 CEST 2006 + +It was downloaded from http://bluez.sf.net/ + +Upstream Author: Marcel Holtmann + +Copyright: + + BlueZ - Bluetooth protocol stack for Linux + + Copyright (C) 2005-2006 Marcel Holtmann + + additional copyrights: + - compat/: + Copyright (C) 2005 Novell, Inc. + Copyright (C) 2002 Anders Carlsson + Copyright (C) 2003 Sun Microsystems, Inc. + Copyright (C) 2005 Hans Breuer + + The contents of compat/ are licensed under the LGPL. (excerpt below) + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser 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 complete text of the GNU Lesser General + Public License can be found in `/usr/share/common-licenses/LGPL'. + + +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. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. +IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY CLAIM, +OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER +RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE +USE OR PERFORMANCE OF THIS SOFTWARE. + +ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS, COPYRIGHTS, +TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS SOFTWARE IS DISCLAIMED. --- bluez-gnome-0.23.orig/debian/changelog +++ bluez-gnome-0.23/debian/changelog @@ -0,0 +1,211 @@ +bluez-gnome (0.23-0ubuntu3) hardy; urgency=low + + * Drop 01_dont_run_update-mime-database.patch and just pass + --disable-mime-update and --disable-desktop-update to configure + instead. + * Fix it so we are no longer a native package. LP: #196319 + + -- Tollef Fog Heen Mon, 10 Mar 2008 14:10:18 +0100 + +bluez-gnome (0.23-0ubuntu2) hardy; urgency=low + + * Remove unneeded dependency on gnome-vfs-obexftp. Gvfs now supports + OBEX itself. + + -- Tollef Fog Heen Sat, 08 Mar 2008 08:46:14 +0100 + +bluez-gnome (0.23-0ubuntu1) hardy; urgency=low + + [ Onkar Shinde ] + * debian/control + - Add 'obex-data-server' instead for file transfer support. + - Remove gnome-icon-theme dependency as the application now has its own + Tango friendly icon. + - Add 'Homepage' field and remove url from description. + - Update 'Standards-Version' to 3.7.3. + * debian/patches/ + - 01_dont_run_update-mime-database.patch, 02_MenusRevisited.patch - + Refreshed for new release. + - 03_disable_browse_menu.patch - Disable 'Browse Device...' menu in the + applet as gnome-vfs-obexftp is not working currently. + * debian/watch + - Copied from the version in Debian unstable. + + [ Tollef Fog Heen ] + * New upstream release + + -- Tollef Fog Heen Mon, 25 Feb 2008 08:14:27 +0100 + +bluez-gnome (0.15-0ubuntu2) hardy; urgency=low + + * debian/patches/02_MenusRevisited.patch: + - Hide the bluetooth analyzer menu item (MenusRevisited) (LP: #151321). + + -- Matti Lindell Tue, 15 Jan 2008 19:10:50 +0200 + +bluez-gnome (0.15-0ubuntu1) hardy; urgency=low + + * New upstream release (LP: #176664, LP: #181304): + - Use buttons in notification popups. + - Use CreateSecureDevice for input device setup. + - Add remove button for network connections. + - Enable connect/disconnect button for network devices. + - Enable singleton support. + - Update device selection widget. + - Make tooltips HIG compliant (LP: #138085). + * debian/control: + - bluez-gnome: Depends on gnome-vfs-obexftp (LP: #131530). + - bluez-gnome: Change home page link in description (LP: #135501). + + -- Matti Lindell Tue, 08 Jan 2008 18:41:00 +0200 + +bluez-gnome (0.14-0ubuntu2) gutsy; urgency=low + + * debian/control: + - Build-Depends on intltool so the translations template is updated + (LP: #139891) + + -- Sebastien Bacher Thu, 27 Sep 2007 11:18:52 +0200 + +bluez-gnome (0.14-0ubuntu1) gutsy; urgency=low + + * New upstream release: + - Add support for Bluetooth mime types. + - Add support for service specific actions. + - Ask user to confirm when deleting a bonding. + * debian/control: added libhal-dev to Build-Depends. + * debian/rules: + - don't install /usr/share/mime/XMLnamespaces, /usr/share/mime/aliases, + /usr/share/mime/globs, /usr/share/mime/magic, + /usr/share/mime/mime.cache, /usr/share/mime/subclasses. + * debian/patches/01_dont_run_update-mime-database.patch: fix FTBFS. + + -- Daniel Holbach Fri, 07 Sep 2007 10:15:13 +0200 + +bluez-gnome (0.13-1ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - Munge Maintainer field as per spec. + - Update prep_mv_conffile in preinst to use dpkg-query instead of + frobbing the status database directly. + + -- Matti Lindell Sun, 26 Aug 2007 13:06:38 +0300 + +bluez-gnome (0.13-1) unstable; urgency=low + + * New upstream release (Closes: #435343) + + -- Filippo Giunchedi Wed, 01 Aug 2007 20:17:09 +0200 + +bluez-gnome (0.11-0ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, remaining changes: + - Munge Maintainer field as per spec. + * New upstream release + * Update prep_mv_conffile in preinst to use dpkg-query instead of + frobbing the status database directly. + + -- Tollef Fog Heen Tue, 31 Jul 2007 12:52:39 +0200 + +bluez-gnome (0.9-1) unstable; urgency=low + + * New upstream release. + * Removed debian/patches/01_pt_BR_i18n.patch, it's fixed upstream now. + * Removed dependency on gconf2 and added one on ${misc:Depends}, dh_gconf + will then care about that and use the correct version. + + -- Mario Iseli Mon, 2 Jul 2007 14:33:10 +0200 + +bluez-gnome (0.9-0ubuntu1) gutsy; urgency=low + + * New upstream release: + - 0.9: + - Simplify the GConf callbacks. + - Make some strings more translator friendly. + - Don't translate command-line warnings. + - Rename Brazilian translation file. + - Update Polish translation. + - Add Romanian translation. + - 0.8: + - Add support for limited discovery mode. + + -- Daniel Holbach Tue, 26 Jun 2007 11:10:18 +0200 + +bluez-gnome (0.7-2) unstable; urgency=low + + * Added myself to the Uploaders field. + * Added debian/patches/01_pt_BR_i18n.patch to fix locale in configure.in and + rename po/pt-br.po to po/pt_BR.po (Closes: #429747). + * Set DEB_AUTO_UPDATE_AUTOCONF to use apply from the locale patch and + rebuild the configure script. + + -- Mario Iseli Wed, 20 Jun 2007 13:48:36 +0100 + +bluez-gnome (0.7-1ubuntu1) gutsy; urgency=low + + * Merge from Debian unstable. + * Remaining Ubuntu changes: + - debian/patches/01-fix-POTFILES.in.patch: Include files that also have + translatable strings. + - Munge Maintainer field as per spec. + * Ubuntu changes dropped: + - debian/patches/02-fix_desktop_translations.patch, + debian/patches/03-make_tooltip_and_dialog_name_translatable.patch: + Included upstream. + + -- Steve Kowalik Mon, 18 Jun 2007 17:01:34 +1000 + +bluez-gnome (0.7-1) unstable; urgency=low + + * New upstream release, add gconf2 depends + * gah, move gnome-icon-theme from build-depends to depends, this ought to + fix #420447 + * remove our manpages, now integrated upstream + + -- Filippo Giunchedi Sun, 20 May 2007 15:37:53 +0200 + +bluez-gnome (0.6-2ubuntu1) gutsy; urgency=low + + * Resynchronized with Debian, remaining Ubuntu changes: + - debian/control: Maintainer: Ubuntu Core Developers + + - debian/patches/01-fix-POTFILES.in.patch, + debian/patches/02-fix_desktop_translations.patch + debian/patches/03-make_tooltip_and_dialog_name_translatable.patch: + Distro fixes. + + -- Daniel Holbach Tue, 15 May 2007 14:21:05 +0200 + +bluez-gnome (0.6-2) unstable; urgency=low + + * add Recommends: bluez-utils (Closes: #405251) + * add gnome-icon-theme (>= 2.16) as a dependency for stock_bluetooth.png + (Closes: #420447) + * rebuild against current gtk, fixes black background (Closes: #392539) + + -- Filippo Giunchedi Tue, 15 May 2007 11:39:53 +0200 + +bluez-gnome (0.6-1) unstable; urgency=low + + * New upstream release (moves bt-applet to bluetooth-applet to avoid + confusion with BitTorrent, and also Closes: #396088, #395173) + * merge bluez-passkey-gnome into bluez-gnome as it will grow to a + full-fletched bluetooth manager + * fix some copyrights in debian/copyright, thanks to Daniel Holdbach + * /etc/xdg/autostart/bt-applet.desktop is renamed to + bluetooth-applet.desktop, if bt-applet.desktop is found to be modified it + will be moved to bluetooth-applet.desktop.dpkg-old + + -- Filippo Giunchedi Sun, 5 Nov 2006 16:19:29 +0100 + +bluez-gnome (0.5-2) unstable; urgency=low + + * build-dep on intltool as well, thus fixing FTBFS + + -- Filippo Giunchedi Fri, 6 Oct 2006 02:38:28 +0200 + +bluez-gnome (0.5-1) unstable; urgency=low + + * First upload to debian (Closes: #387923) + + -- Filippo Giunchedi Mon, 2 Oct 2006 21:42:48 +0200 --- bluez-gnome-0.23.orig/debian/control +++ bluez-gnome-0.23/debian/control @@ -0,0 +1,19 @@ +Source: bluez-gnome +Section: gnome +Priority: optional +XSBC-Original-Maintainer: Debian Bluetooth Maintainers +Maintainer: Ubuntu Core Developers +Uploaders: Edd Dumbill , Filippo Giunchedi , Mario Iseli +Build-Depends: libnotify-dev (>= 0.3.2), libgtk2.0-dev (>= 2.8), libgconf2-dev (>= 2.14), libdbus-glib-1-dev (>= 0.60), autotools-dev, cdbs, debhelper (>= 5), intltool, libhal-dev, intltool +Standards-Version: 3.7.3 +Homepage: http://www.bluez.org/ + +Package: bluez-gnome +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dbus, obex-data-server (>= 0.3) +Conflicts: bluez-passkey-gnome (<= 0.5-2) +Replaces: bluez-passkey-gnome +Recommends: bluez-utils +Description: Bluetooth utilities for GNOME + This package contains various GNOME applets to detect bluetooth adapters and + configure them. --- bluez-gnome-0.23.orig/debian/bluez-gnome.postinst +++ bluez-gnome-0.23/debian/bluez-gnome.postinst @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e +case "$1" in + configure) + # the old conffile got renamed, but contains an executable path that + # changed as well so it is modified for sure. Moving to + # $NEWCONFFILE.dpkg-old if it has been modified by the user + OLDCONFFILE="/etc/xdg/autostart/bt-applet.desktop" + if [ -e "$OLDCONFFILE" ]; then + mv -f "$OLDCONFFILE" "/etc/xdg/autostart/bluetooth-applet.desktop.dpkg-old" + fi + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER#