debian/0000775000000000000000000000000012277235021007171 5ustar debian/copyright0000664000000000000000000000761311772275744011152 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gbemol Source: http://gbemol.sourceforge.net/ Files: * Copyright: 2007, Felipe Weckx License: GPL-2+ Files: src/bacon-volume.c src/bacon-volume.h Copyright: 2005, Ronald S. Bultje License: LGPL-2+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library 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 Library General Public License for more details. . You should have received a copy of the GNU Library General Public License along with this library; 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/LGPL-2'. Files: src/libmpdclient.c src/libmpdclient.h Copyright: 2003-2006, Warren Dukes License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . - 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. . - Neither the name of the Music Player Daemon nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``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 FOUNDATION OR CONTRIBUTORS 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. Files: mkinstalldirs Copyright: public domain License: public-domain Author: Noah Friedman Created: 1993-05-16 Public domain Files: depcomp Copyright: 1999, 2000, 2003-2006 Free Software Foundation, Inc. License: GPL-2+ Files: debian/* Copyright: 2008, Andrea Colangelo License: GPL-2+ 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; 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 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/changelog0000664000000000000000000000437612277235015011060 0ustar gbemol (0.3.2-2ubuntu1) trusty; urgency=low * Use autotools-dev for arm64. -- Daniel T Chen Thu, 13 Feb 2014 16:31:55 -0500 gbemol (0.3.2-2) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format. (Closes: #668023) * debian/patches/*: rename and update accordingly. * debian/patches/fix_FTBFS_po.patch: add to fix FTBFS. * debian/patches/lintian_spelling_error.patch: add to fix lintian warning. * debian/patches/fix_hardening_FTBFS.patch: add to fix FTBFS. * Switch to debhelper 9. * debian/compat: update accordingly. * debian/control: + Drop useless dpatch build-depend. + Bump Standards-Version to 3.9.3, no changes required. + add misc-depends to fix lintian warning. * debian/rules: modify to use debhelper 9. * debian/copyright: update to DEP 5. * debian/{manpage.sgml,gbemol.1}: correct lintian spelling error. -- Andrea Colangelo Tue, 26 Jun 2012 17:36:06 +0200 gbemol (0.3.2-1) unstable; urgency=low * New upstream release (just a few minor bugfixes). * debian/control: + demote mpd to the "Suggests:" field, since gbemol doesn't actually needs mpd to run. (Closes: #506483) + add intltool as a build-dep to fix FTBFS. + update Standards-Version to 3.8.1. -- Andrea Colangelo Sat, 02 May 2009 19:24:46 +0200 gbemol (0.3.1-2) unstable; urgency=low * debian/control: update Standards-Version to 3.8.0. * debian/patches/10_desktop_file.dpatch: modify to fix some other errors in gbemol.desktop. * debian/patches/20_implicit_pointer_conversion.dpatch: add to fix segfaults happening on architectures where the size of a pointer is greater than the size of an integer. Thanks to dann frazier for the patch. (Closes: #469410) * debian/patches/30_fix_FTFBS_glibc2.8.dpatch: add to avoid FTBFS when building under glibc2.8. * debian/patches/00list: update accordingly. -- Andrea Colangelo Thu, 26 Jun 2008 21:54:10 +0200 gbemol (0.3.1-1) unstable; urgency=low * Initial release (Closes: #468150) * debian/patches/10_desktop_file.dpatch: removes the obsolete Encoding: key from the .desktop file to fix lintian warning. -- Andrea Colangelo Wed, 06 Feb 2008 23:58:37 +0100 debian/manpage.sgml0000664000000000000000000001137411772277401011502 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Andrea"> Colangelo"> febbraio 6, 2008"> 1"> warp10@ubuntu.com"> GBEMOL"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2003 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; graphical frontend for the Music Player Daemon (MPD) &dhpackage; DESCRIPTION &dhpackage; is a graphical frontend for the Music Player Daemon (MPD), written in C and using GTK+ toolkit. It allows one to use MPD with a user-friendly interface. Features include an easy-to-use, tag-oriented library browser, a two mode playlist, cover art support (APIC tag only, for now), system tray icon docking, song, album and artist information More info at project homepage: http://gbemol.sourceforge.net/ OPTIONS Start minimized to tray Start on full mode. Start on compact mode Start with library selected Start with playlist selected Help message SEE ALSO mpd (1) Project homepage: http://gbemol.sourceforge.net/ 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-2.
debian/patches/0000775000000000000000000000000011772354401010623 5ustar debian/patches/desktop_file.patch0000664000000000000000000000060711772066634014327 0ustar Description: Misc fixes to gbemol.desktop. Author: Andrea Colangelo --- gbemol-0.3.2.orig/gbemol.desktop +++ gbemol-0.3.2/gbemol.desktop @@ -1,9 +1,8 @@ [Desktop Entry] -Encoding=UTF-8 Name=gbemol Comment=MPD client Exec=gbemol -Icon=gbemol.png +Icon=gbemol Terminal=false Type=Application -Categories=Application;AudioVideo;Player; +Categories=AudioVideo;Player; debian/patches/fix_FTBFS_glibc2.8.patch0000664000000000000000000000070111772067216014751 0ustar Description: Specify mode for an open() call to avoid FTFBS with glibc2.8 Author: Andrea Colangelo --- gbemol-0.3.2.orig/src/gbemol-utils.c +++ gbemol-0.3.2/src/gbemol-utils.c @@ -155,7 +155,7 @@ gboolean gbemol_cfg_create_file () path = g_strdup_printf ("%s/.gbemol.cfg", g_get_home_dir()); - if ((fd = open (path, O_CREAT)) != -1) + if ((fd = open (path, O_CREAT, 0777)) != -1) { chmod (path, 0644); close (fd); debian/patches/fix_FTBFS_po.patch0000664000000000000000000000063511772105673014065 0ustar Description: Fix FTBFS due to wrong file list in po/POTFILES.in Author: Andrea Colangelo --- gbemol-0.3.2.orig/po/POTFILES.in +++ gbemol-0.3.2/po/POTFILES.in @@ -1,3 +1,8 @@ # List of source files containing translatable strings. - -src/main.c +src/bacon-volume.c +src/gbemol-app.c +src/gbemol-info.c +src/gbemol-library.c +src/gbemol-main.c +src/gbemol-playlist.c +src/gbemol-preferences.c debian/patches/implicit_pointer_conversion.patch0000664000000000000000000000052511772067016017470 0ustar Description: Fix to avoid segfaults on some architectures. Author: Andrea Colangelo --- gbemol-0.3.2.orig/src/libmpdclient.c +++ gbemol-0.3.2/src/libmpdclient.c @@ -30,6 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#define _GNU_SOURCE #include "libmpdclient.h" #include debian/patches/fix_hardening_FTBFS.patch0000664000000000000000000000323311772353324015401 0ustar Description: fix FTBFS related to -Wformat-security enabled by default Author: Andrea Colangelo --- gbemol-0.3.2.orig/src/gbemol-utils.c +++ gbemol-0.3.2/src/gbemol-utils.c @@ -209,7 +209,7 @@ gboolean gbemol_cfg_save_file (GKeyFile* if (cfg) { - fprintf (cfg, data); + fprintf (cfg, "%s", data); fclose (cfg); g_free (path); g_free (data); @@ -447,7 +447,7 @@ GdkPixbuf* gbemol_utils_get_cover_image_ img = gdk_pixbuf_new_from_file (str, &e); if (e) { - g_message (e->message); + g_message (e->message, "%s"); img = NULL; } } @@ -479,7 +479,7 @@ GdkPixbuf* gbemol_utils_get_cover_image_ gbemol_net_download_file(result, str, &err); if (err != NULL) { - g_message(err->message); + g_message(err->message, "%s"); } else { --- gbemol-0.3.2.orig/src/gbemol-app.c +++ gbemol-0.3.2/src/gbemol-app.c @@ -1134,7 +1134,7 @@ void gbemol_app_error_dialog_new (Gbemol if (str1) gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dlg), str1); if (str2) - gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dlg), str2); + gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dlg), "%s", str2); gtk_dialog_run (GTK_DIALOG (dlg)); gtk_widget_destroy (dlg); @@ -1169,7 +1169,7 @@ void gbemol_app_reconnect_dialog_new (Gb gtk_widget_show_all (btn); gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dlg), str1); - gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dlg), str2); + gtk_message_dialog_format_secondary_markup (GTK_MESSAGE_DIALOG (dlg), "%s", str2); if (gtk_dialog_run (GTK_DIALOG (dlg)) == GTK_RESPONSE_ACCEPT) gbemol_app_connect_mpd (app); debian/patches/series0000664000000000000000000000023011772353237012041 0ustar desktop_file.patch implicit_pointer_conversion.patch fix_FTBFS_glibc2.8.patch fix_FTBFS_po.patch lintian_spelling_error.patch fix_hardening_FTBFS.patch debian/patches/lintian_spelling_error.patch0000664000000000000000000000136411772277217016425 0ustar Description: Fix for a lintian spelling error in /usr/bin/gbemol Author: Andrea Colangelo --- gbemol-0.3.2.orig/src/gbemol-preferences.c +++ gbemol-0.3.2/src/gbemol-preferences.c @@ -234,7 +234,7 @@ gbemol_preferences_new (GbemolApp* app) obj->priv->chk_update = gtk_check_button_new_with_label (_("Update library on start?")); gtk_misc_set_alignment (GTK_MISC (lbl), 0.0, 0.5); gtk_tooltips_set_tip (obj->priv->tips, obj->priv->chk_update, - _("Wheter the music library should be updated when the program is started"), NULL); + _("Whether the music library should be updated when the program is started"), NULL); gtk_table_attach_defaults (GTK_TABLE (table), obj->priv->chk_update, 0, 1, 6, 7); /**** Audio Tab ****/ debian/watch0000664000000000000000000000006311772062177010232 0ustar version=3 http://sf.net/gbemol/gbemol-(.*)\.tar.gz debian/gbemol.menu0000664000000000000000000000014611772062177011336 0ustar ?package(gbemol):needs="X11" section="Applications/Sound"\ title="gbemol" command="/usr/bin/gbemol" debian/control0000664000000000000000000000217712277234670010614 0ustar Source: gbemol Section: sound Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Andrea Colangelo Build-Depends: debhelper (>= 9), autotools-dev, libxml-parser-perl, pkg-config, libglib2.0-dev, libcurl4-gnutls-dev, libxml2-dev, libgtk2.0-dev, intltool Standards-Version: 3.9.3 Homepage: http://gbemol.sourceforge.net/ Package: gbemol Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: mpd Description: Graphical frontend for the Music Player Daemon (MPD) gbemol allows you to use MPD with a userfriendly interface. Features include an easy-to-use, tag-oriented library browser, a two mode playlist, cover art support (APIC tag only, for now), system tray icon docking, song, album and artist information. . Music Player Daemon is a server that allows remote access for playing audio files, streams and managing playlists. The daemon is controlled through a client which need not run on the same computer mpd runs on. debian/source/0000775000000000000000000000000011772062661010500 5ustar debian/source/format0000664000000000000000000000001411772062661011706 0ustar 3.0 (quilt) debian/gbemol.docs0000664000000000000000000000001411772062177011314 0ustar NEWS README debian/gbemol.10000664000000000000000000000302511772301220010512 0ustar .TH "GBEMOL" "1" .SH "NAME" gbemol \(em graphical frontend for the Music Player Daemon (MPD) .SH "SYNOPSIS" .PP \fBgbemol\fR [\fB-mclphf\fP] .SH "DESCRIPTION" .PP \fBgbemol\fR is a graphical frontend for the Music Player Daemon (MPD), written in C and using GTK+ toolkit. It allows one to use MPD with a user-friendly interface. .PP Features include an easy-to-use, tag-oriented library browser, a two mode playlist, cover art support (APIC tag only, for now), system tray icon docking, song, album and artist information .PP More info at project homepage: http://gbemol.sourceforge.net/ .SH "OPTIONS" .IP "\fB-m\fP " 10 Start minimized to tray .IP "\fB-f\fP " 10 Start on full mode. .IP "\fB-c\fP " 10 Start on compact mode .IP "\fB-l\fP " 10 Start with library selected .IP "\fB-p\fP " 10 Start with playlist selected .IP "\fB-h\fP " 10 Help message .SH "SEE ALSO" .PP mpd (1) .PP Project homepage: http://gbemol.sourceforge.net/ .SH "AUTHOR" .PP This manual page was written by Andrea Colangelo for the \fBDebian\fP 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. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2. .\" created by instant / docbook-to-man, Tue 26 Jun 2012, 11:21 debian/compat0000664000000000000000000000000211772065116010374 0ustar 9 debian/rules0000775000000000000000000000114212277234712010255 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) override_dh_auto_configure: dh_auto_configure -- -host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" override_dh_installman: dh_installman $(CURDIR)/debian/gbemol.1 %: dh $@ --with autotools-dev