--- gnomeradio-1.7.orig/debian/gnomeradio.sgml
+++ gnomeradio-1.7/debian/gnomeradio.sgml
@@ -0,0 +1,123 @@
+
+ Moritz">
+ Breit">
+
+ 2005-08-03">
+
+ 1">
+ mail@mobr.de">
+
+ GNOMERADIO">
+
+
+ Ubuntu">
+ GNU">
+ GPL">
+]>
+
+
+
+
+ &dhemail;
+
+
+ &dhfirstname;
+ &dhsurname;
+
+
+ 2005
+ &dhusername;
+
+ &dhdate;
+
+
+ &dhucpackage;
+
+ &dhsection;
+
+
+ &dhpackage;
+
+ FM-radio tuner for the GNOME desktop
+
+
+
+ &dhpackage;
+
+
+
+
+ DESCRIPTION
+
+ This manual page documents briefly the
+ &dhpackage; command.
+
+ This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.
+
+ &dhpackage; is a FM-radio tuner for
+ the GNOME desktop (version 1 and 2).
+ It should work with every FM tuner card that is supported by
+ video4linux.
+ Remote controls are supported via (optional) LIRC-support.
+ Gnomeradio can also record radio as a Wave, MP3 or Ogg files.
+
+
+
+
+ OPTIONS
+
+ These programs follow the usual &gnu; command line syntax,
+ with long options starting with two dashes (`-').
+ It has only the standard gtk command line parameters which
+ the help option will show you.
+
+
+
+
+
+
+
+ Show summary of options.
+
+
+
+
+
+ AUTHOR
+
+ This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+
+
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+
+
+
+
+
+
+
+
--- gnomeradio-1.7.orig/debian/watch
+++ gnomeradio-1.7/debian/watch
@@ -0,0 +1,4 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+http://www.wh-hms.uni-ulm.de/~mfcn/gnomeradio/packages/gnomeradio-(.*)\.tar\.gz
--- gnomeradio-1.7.orig/debian/control
+++ gnomeradio-1.7/debian/control
@@ -0,0 +1,16 @@
+Source: gnomeradio
+Section: sound
+Priority: optional
+Maintainer: Francesco Namuri
+Build-Depends: debhelper (>= 5), libgnome2-dev, liblircclient-dev, cdbs, libxml-sax-expat-perl, libgnomeui-dev, scrollkeeper, docbook-to-man, libgnome-media-dev, libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev, gnome-doc-utils, imagemagick, patchutils
+Standards-Version: 3.7.3
+Homepage: http://www.wh-hms.uni-ulm.de/~mfcn/gnomeradio
+
+Package: gnomeradio
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: FM-radio tuner for the GNOME desktop
+ Gnomeradio is a FM-radio tuner for the GNOME desktop (version 1 and 2).
+ It should work with every FM tuner card that is supported by video4linux.
+ Remote controls are supported via (optional) LIRC-support.
+ Gnomeradio can also record radio as a Wave, MP3 or Ogg files.
--- gnomeradio-1.7.orig/debian/gnomeradio.install
+++ gnomeradio-1.7/debian/gnomeradio.install
@@ -0,0 +1 @@
+gnomeradio.xpm usr/share/pixmaps/
--- gnomeradio-1.7.orig/debian/menu
+++ gnomeradio-1.7/debian/menu
@@ -0,0 +1,3 @@
+?package(gnomeradio):needs="X11" section="Applications/Sound"\
+ icon="gnomeradio.xpm" title="Gnomeradio"\
+ longtitle="Gnomeradio FM-Radio tuner for the GNOME desktop" command="/usr/bin/gnomeradio"
--- gnomeradio-1.7.orig/debian/docs
+++ gnomeradio-1.7/debian/docs
@@ -0,0 +1,3 @@
+README
+README.lirc
+README.recording
--- gnomeradio-1.7.orig/debian/compat
+++ gnomeradio-1.7/debian/compat
@@ -0,0 +1 @@
+5
--- gnomeradio-1.7.orig/debian/rules
+++ gnomeradio-1.7/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/gnome.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --disable-scrollkeeper
+DEB_INSTALL_MANPAGES_gnomeradio := debian/gnomeradio.1
+
+SAVERESTORE := \
+ data/gnomeradio.desktop \
+ data/gnomeradio.schemas \
+ gnome-doc-utils.make \
+ gnomeradio.spec \
+ help/sv/gnomeradio.xml
+
+update-config::
+ for f in $(SAVERESTORE) ; do [ -e $$f.d-r-orig ] || cp -p -r $$f $$f.d-r-orig ; done
+
+clean::
+ for f in $(SAVERESTORE) ; do [ ! -e $$f.d-r-orig ] || mv $$f.d-r-orig $$f ; done
+
+cleanbuilddir/gnomeradio::
+ rm -f debian/gnomeradio.1
+ rm -f gnomeradio.xpm
+
+makebuilddir/gnomeradio::
+ /usr/bin/docbook-to-man debian/gnomeradio.sgml > debian/gnomeradio.1
+
+build/gnomeradio::
+ convert -resize 32x32 data/icons/32x32/gnomeradio.png gnomeradio.xpm
--- gnomeradio-1.7.orig/debian/changelog
+++ gnomeradio-1.7/debian/changelog
@@ -0,0 +1,101 @@
+gnomeradio (1.7-6) unstable; urgency=low
+
+ * debian/changelog: sync with the one from ubuntu.
+ * debian/patches/prefs.c.patch: fixed. In 1.7-6 I've uploaded a wrong
+ version of the patch, now it's the right one that Cesare Tirabassi
+ has included in the ubuntu's package. (Closes: #468796, #462891)
+
+ -- Francesco Namuri Mon, 12 May 2008 00:36:27 +0200
+
+gnomeradio (1.7-5ubuntu1) intrepid; urgency=low
+
+ * modified debian/patches/prefs.c.patch so that assertion is not
+ failed too. (LP: #197257)
+ Patch from http://bugzilla.gnome.org/attachment.cgi?id=104558
+ by Francesco Namuri.
+ * Modify Maintainer value to match the DebianMaintainerField
+ specification.
+
+ -- Cesare Tirabassi Sat, 03 May 2008 21:33:27 +0200
+
+gnomeradio (1.7-5) unstable; urgency=low
+
+ * added debian/patches/prefs.c.patch to avoid crashes when modifies a preset
+ label. (Closes: #462891)
+ * debian/control: updated to starndards-version 3.7.3.
+ * debian/control: moved project homepage field from description to the
+ correct location.
+
+ -- Francesco Namuri Tue, 05 Feb 2008 22:44:34 +0100
+
+gnomeradio (1.7-4) unstable; urgency=low
+
+ * debian/menu: some style fixes.
+ * debian/patches/fix_missing_description_in_gnomeradio.xml.patch: fixed
+ wrong application entity. (Closes: #445892)
+
+ -- Francesco Namuri Tue, 09 Oct 2007 11:35:03 +0200
+
+gnomeradio (1.7-3) unstable; urgency=low
+
+ * added debian/patches/GLib_threading.patch to fix: GStreamer-WARNING:
+ GLib threading system has not been initialised yet (Closes: #444119)
+ * added debian/patches/gnomeradio.desktop.patch to fix invalid category in
+ desktop file.
+ * debian/menu: updated to fit with new hierarchy.
+ * debian/control: added build-dep on patchutils, fixed typo.
+
+ -- Francesco Namuri Sun, 07 Oct 2007 19:44:40 +0200
+
+gnomeradio (1.7-2) unstable; urgency=low
+
+ * added debian/patches/trayicon.c.patch to fix: egg_tray_icon_new()
+ implicitly converted to pointer (Closes: #433235)
+
+ -- Francesco Namuri Mon, 16 Jul 2007 00:45:44 +0200
+
+gnomeradio (1.7-1) unstable; urgency=low
+
+ * Initial release. (Closes: #422553: ITP: gnomeradio -- FM-radio tuner
+ for the GNOME desktop - Debian Bug report logs)
+ * debian/control: changed Standards-Version to 3.7.2
+ * debian/control: added build-dep on libgnome-media-dev,
+ libgstreamer0.10-dev, libgstreamer-plugins-base0.10-dev, gnome-doc-utils,
+ imagemagick
+ * debian/control: updated build-depends on debhelper (>= 5)
+ * debian/compat: changed to 5
+ * removed debian/patches/radio-device-file.patch
+ * added debian/patches/fix_missing_description_in_gnomeradio.xml.patch to
+ fix missing description in help/C/gnomeradio.xml
+ * debian/copyright: added some copyright/license informations
+ * added debian menu entry
+ * debian/rules: added --disable-scrollkeeper to configure flags to avoid
+ inclusion of scroolkeeper XML files in /var/lib/scrollpkeeper in the deb,
+ added a rule to convert icon from png to xpm
+ * added debian/gnomeradio.install to install xpm icon
+ * added debian/watch
+
+ -- Francesco Namuri Mon, 07 May 2007 00:27:11 +0200
+
+gnomeradio (1.6-0ubuntu3) dapper; urgency=low
+
+ * Added homepage url to the description in debian/control
+ * Added debian/patches/radio-device-file.patch:
+ change default location of the radio device file from
+ /dev/radio to /dev/radio0
+ * Changed debian/rules to include simple patchsys
+
+ -- Moritz Breit Wed, 18 Jan 2006 17:21:34 +0100
+
+gnomeradio (1.6-0ubuntu2) breezy; urgency=low
+
+ * Rebuild with the new cairo version
+
+ -- Sebastien Bacher Thu, 18 Aug 2005 17:19:18 +0000
+
+gnomeradio (1.6-0ubuntu1) breezy; urgency=low
+
+ * Initial release
+
+ -- Moritz Breit Sun, 31 Jul 2005 16:08:57 +0200
+
--- gnomeradio-1.7.orig/debian/copyright
+++ gnomeradio-1.7/debian/copyright
@@ -0,0 +1,134 @@
+This package was debianized by Moritz Breit on
+Sun, 31 Jul 2005 16:08:57 +0200.
+
+It was downloaded from http://www.wh-hms.uni-ulm.de/~mfcn/gnomeradio/
+
+Upstream Author: Jörgen Scheibengruber
+
+Copyright (C) 2001,2006 Jörgen Scheibengruber
+Copyright (C) 2005 Ronald S. Bultje
+Copyright (C) 1996-2005 Free Software Foundation.
+Copyright (C) 1994 X Consortium
+Copyright (C) 2002 Anders Carlsson
+Copyright (C) 2004-2005 Shaun McCance
+Copyright (C) 2000, 2001 Eazel, Inc
+Copyright (C) 1995, 1996, 1997 by Ulrich Drepper
+Copyright (C) 2004-2005 Shaun McCance
+Copyright (C) 2005 Miloslav Trmac
+Copyright (C) 2004-2005 Adam Weinberger and the GNOME Foundation
+Copyright (C) Croatiann team
+Copyright (C) 2002-2006 Gnome i18n Project for Vietnamese.
+
+License:
+
+ Gnomeradio 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.
+
+ Gnomeradio 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.
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+
+Some parts of the program are under the GNU General Public License,
+on Debian systems, the complete text of the GNU General Public
+License, can be found in /usr/share/common-licenses/GPL.
+
+The Debian packaging is
+Copyright (C) 2005 Sebastien Bacher
+Copyright (C) 2005, 2006 Moritz Breit
+Copyright (C) 2007 Francesco Namuri
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+The file intltool-merge.in:
+
+# Copyright (C) 2000, 2003 Free Software Foundation.
+# Copyright (C) 2000, 2001 Eazel, Inc
+#
+# Intltool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# version 2 published by the Free Software Foundation.
+#
+# Intltool 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.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+#
+# Authors: Maciej Stachowiak
+# Kenneth Christiansen
+# Darin Adler
+
+The File intltool-update.in:
+
+# Copyright (C) 2000-2003 Free Software Foundation.
+#
+# Intltool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# version 2 published by the Free Software Foundation.
+#
+# Intltool 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.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+#
+# Authors: Kenneth Christiansen
+# Maciej Stachowiak
+# Darin Adler
+
+Some files in help/* are licensed under the terms of
+the GNU Free Documentation License:
+
+ Permission is granted to copy, distribute and/or modify this
+ document under the terms of the GNU Free Documentation
+ License (GFDL), Version 1.1 or any later version published
+ by the Free Software Foundation with no Invariant Sections,
+ no Front-Cover Texts, and no Back-Cover Texts.
+
+On Debian systems, the complete text of the GNU Free Documentation
+License, can be found in /usr/share/common-licenses/GFDL
+
+The files src/eggtrayicon.c and src/eggtrayicon.h:
+
+* Copyright (C) 2002 Anders Carlsson
+*
+* This library 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 library 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 library; 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 Lesser General Public
+License, can be found in /usr/share/common-licenses/LGPL
--- gnomeradio-1.7.orig/debian/patches/fix_missing_description_in_gnomeradio.xml.patch
+++ gnomeradio-1.7/debian/patches/fix_missing_description_in_gnomeradio.xml.patch
@@ -0,0 +1,20 @@
+diff -Nur trunk/help/C/gnomeradio.xml trunk.new/help/C/gnomeradio.xml
+--- trunk/help/C/gnomeradio.xml 2006-12-02 12:35:19.000000000 +0100
++++ trunk.new/help/C/gnomeradio.xml 2007-05-07 01:18:13.000000000 +0200
+@@ -69,7 +69,15 @@
+ Feedback
+ To report a bug or make a suggestion regarding &app; or this
+ manual, send a e-mail to Jörgen Scheibengruber.
+-
++
++
++ &app; allows you to listen FM radio in your GNOME desktop.
++ It should work with every FM tuner card that is supported by video4linux.
++ Remote controls are supported via (optional) LIRC-support. &app;
++ can also record radio as a Wave, MP3 or Ogg files.
++ This manual introduces you to &app;
++
++
+
+
+ &app;
--- gnomeradio-1.7.orig/debian/patches/trayicon.c.patch
+++ gnomeradio-1.7/debian/patches/trayicon.c.patch
@@ -0,0 +1,11 @@
+diff -Nur trunk/src/trayicon.c trunk.new/src/trayicon.c
+--- trunk/src/trayicon.c 2006-11-05 18:42:57.000000000 +0100
++++ trunk.new/src/trayicon.c 2007-07-16 00:40:37.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include
+ #include "gui.h"
+ #include "trayicon.h"
++#include "eggtrayicon.h"
+
+ static GtkWidget *showwindow_menuitem;
+
--- gnomeradio-1.7.orig/debian/patches/gnomeradio.desktop.patch
+++ gnomeradio-1.7/debian/patches/gnomeradio.desktop.patch
@@ -0,0 +1,12 @@
+diff -Nur trunk/data/gnomeradio.desktop.in trunk.new/data/gnomeradio.desktop.in
+--- trunk/data/gnomeradio.desktop.in 2006-11-25 13:06:06.000000000 +0100
++++ trunk.new/data/gnomeradio.desktop.in 2007-10-07 19:14:06.000000000 +0200
+@@ -3,7 +3,7 @@
+ _Comment=Listen to FM-radio
+ Exec=gnomeradio
+ Icon=gnomeradio
+-Categories=Application;AudioVideo;
++Categories=AudioVideo;Audio;Tuner
+ StartupNotify=true
+ Terminal=false
+ Type=Application
--- gnomeradio-1.7.orig/debian/patches/GLib_threading.patch
+++ gnomeradio-1.7/debian/patches/GLib_threading.patch
@@ -0,0 +1,11 @@
+diff -Nur trunk/src/gui.c trunk.new/src/gui.c
+--- trunk/src/gui.c 2006-11-25 12:46:54.000000000 +0100
++++ trunk.new/src/gui.c 2007-10-07 18:57:16.000000000 +0200
+@@ -1079,6 +1079,7 @@
+
+ #if GNOME_14
+ ctx = g_option_context_new("- Gnomeradio");
++ if (!g_thread_supported ()) g_thread_init(NULL);
+ g_option_context_add_main_entries(ctx, entries, GETTEXT_PACKAGE);
+ g_option_context_add_group(ctx, gst_init_get_option_group());
+ g_option_context_set_ignore_unknown_options(ctx, TRUE);
--- gnomeradio-1.7.orig/debian/patches/prefs.c.patch
+++ gnomeradio-1.7/debian/patches/prefs.c.patch
@@ -0,0 +1,13 @@
+diff -Nur gnomeradio-1.7/src/prefs.c gnomeradio-1.7.new/src/prefs.c
+--- gnomeradio-1.7/src/prefs.c 2006-11-25 12:33:57.000000000 +0100
++++ gnomeradio-1.7.new/src/prefs.c 2008-02-05 23:11:32.000000000 +0100
+@@ -411,7 +411,8 @@
+
+ gtk_combo_box_remove_text(GTK_COMBO_BOX(preset_combo), *row + 1);
+ gtk_combo_box_insert_text(GTK_COMBO_BOX(preset_combo), *row + 1, ps->title);
+- preset_combo_set_item(mom_ps);
++ mom_ps = *row;
++ preset_combo_set_item(mom_ps);
+
+ menuitems = GTK_MENU_SHELL(tray_menu)->children;
+ g_assert(mom_ps < g_list_length(menuitems));