debian/0000775000000000000000000000000012275433172007176 5ustar debian/patches/0000775000000000000000000000000012275425274010631 5ustar debian/patches/series0000664000000000000000000000014112275425274012042 0ustar ftbfs-curl-types.patch ftbfs-hardening.patch fix_curl_segfault.patch fix-redeclaration-DIR.patch debian/patches/fix_curl_segfault.patch0000664000000000000000000000356411733153123015354 0ustar Description: Free escaped strings with curl_free instead of g_free Author: Vincent Legout Last-Update: 2012-03-23 Index: gimmix/src/gimmix-lyrics.c =================================================================== --- gimmix.orig/src/gimmix-lyrics.c 2012-03-23 20:52:34.081280063 +0100 +++ gimmix/src/gimmix-lyrics.c 2012-03-23 20:54:54.925279308 +0100 @@ -316,8 +316,8 @@ char *artist_e = lyrics_url_encode (search_artist); char *title_e = lyrics_url_encode (search_title); url = g_strdup_printf ("%s&artist=%s&songtitle=%s", SEARCH_URL, artist_e, title_e); - g_free (artist_e); - g_free (title_e); + curl_free (artist_e); + curl_free (title_e); //g_print ("%s\n", url); ret = lyrics_perform_search (url); g_free (url); Index: gimmix/src/gimmix-covers.c =================================================================== --- gimmix.orig/src/gimmix-covers.c 2012-03-23 20:52:34.081280063 +0100 +++ gimmix/src/gimmix-covers.c 2012-03-23 20:57:28.825280835 +0100 @@ -609,8 +609,8 @@ g_free (old_path); g_free (new_path); - g_free (artist_e); - g_free (album_e); + curl_free (artist_e); + curl_free (album_e); //g_free (key); return; @@ -640,8 +640,8 @@ } g_free (temp); g_free (path); - g_free (artist_e); - g_free (album_e); + curl_free (artist_e); + curl_free (album_e); return; } @@ -670,8 +670,8 @@ album_e = gimmix_url_encode (s->album); temp = cfg_get_path_to_config_file (COVERS_DIR); path = g_strdup_printf ("%s/%s-%s.albuminfo", temp, artist_e, album_e); - g_free (artist_e); - g_free (album_e); + curl_free (artist_e); + curl_free (album_e); if ((fp=fopen(path,"r"))) { @@ -695,8 +695,8 @@ path = g_strdup_printf ("%s/%s-%s.albuminfo", p, artist_e, album_e); g_free (p); g_free (temp); - g_free (artist_e); - g_free (album_e); + curl_free (artist_e); + curl_free (album_e); if ((fp=fopen(path,"r"))) { debian/patches/fix-redeclaration-DIR.patch0000664000000000000000000000612712275426513015671 0ustar Description: Since glib2.0 2.38, /usr/include/dirent.h is included in gdir.h. This means that "DIR" is already defined and used there, causing build to fail with: gimmix-playlist.c:42:2: error: 'DIR' redeclared as different kind of symbol Author: Andreas Moog, Bug: https://bugs.launchpad.net/gimmix/+bug/1277864 Forwarded: Yes, https://bugs.launchpad.net/gimmix/+bug/1277864/+attachment/3973807/+files/fix-redclaration-DIR.patch --- gimmix-0.5.7.1.orig/src/gimmix-playlist.c +++ gimmix-0.5.7.1/src/gimmix-playlist.c @@ -39,7 +39,7 @@ typedef enum { typedef enum { SONG = 1, - DIR, + GIMMIX_DIR, PLAYLIST } GimmixFileType; @@ -149,7 +149,7 @@ on_drag_data_get (GtkWidget *widget, Gdk gtk_tree_model_get_iter (model, &iter, list->data); gtk_tree_model_get (model, &iter, 2, &path, 3, &type, -1); - if (type == DIR || type == SONG) + if (type == GIMMIX_DIR || type == SONG) { switch (target_type) { @@ -696,7 +696,7 @@ gimmix_library_and_playlists_populate (v 0, dir_pixbuf, 1, path, 2, data->directory, - 3, DIR, + 3, GIMMIX_DIR, -1); g_free (path); } @@ -954,7 +954,7 @@ cb_library_dir_activated (gpointer data) gtk_tree_model_get_iter (model, &iter, list->data); gtk_tree_model_get (model, &iter, 2, &path, 3, &type, -1); - if (type == DIR) + if (type == GIMMIX_DIR) { gimmix_update_library_with_dir (path); } @@ -1005,7 +1005,7 @@ cb_library_popup_add_clicked (GtkWidget gtk_tree_model_get_iter (model, &iter, list->data); gtk_tree_model_get (model, &iter, 2, &path, 3, &type, -1); - if (type == DIR) + if (type == GIMMIX_DIR) { mpd_playlist_queue_add (gmo, path); } @@ -1023,7 +1023,7 @@ cb_library_popup_add_clicked (GtkWidget gtk_tree_model_get (model, &iter, 2, &path, 3, &type, -1); - if (type == DIR) + if (type == GIMMIX_DIR) { mpd_playlist_queue_add (gmo, path); g_free (path); @@ -1081,7 +1081,7 @@ cd_library_popup_replace_clicked (GtkWid gtk_tree_model_get_iter (model, &iter, list->data); gtk_tree_model_get (model, &iter, 2, &path, 3, &type, -1); - if (type == DIR) + if (type == GIMMIX_DIR) { mpd_playlist_queue_add (gmo, path); } @@ -1099,7 +1099,7 @@ cd_library_popup_replace_clicked (GtkWid gtk_tree_model_get (model, &iter, 2, &path, 3, &type, -1); - if (type == DIR) + if (type == GIMMIX_DIR) { mpd_playlist_queue_add (gmo, path); g_free (path); @@ -1245,7 +1245,7 @@ gimmix_update_library_with_dir (gchar *d 0, dir_pixbuf, 1, "..", 2, parent, - 3, DIR, + 3, GIMMIX_DIR, -1); g_free (parent); } @@ -1260,7 +1260,7 @@ gimmix_update_library_with_dir (gchar *d 0, dir_pixbuf, 1, directory, 2, data->directory, - 3, DIR, + 3, GIMMIX_DIR, -1); g_free (directory); } @@ -1341,7 +1341,7 @@ gimmix_library_song_info (void) gtk_tree_model_get_iter (model, &iter, list->data); gtk_tree_model_get (model, &iter, 2, &path, 3, &type, 4, &id, -1); - if (type == DIR) + if (type == GIMMIX_DIR) { g_free (path); return; debian/patches/ftbfs-hardening.patch0000664000000000000000000000541411733152166014712 0ustar Description: Fix ftbfs with -Werror=format-security Bug-Debian: http://bugs.debian.org/646261 Forwarded: https://bugs.launchpad.net/gimmix/+bug/880289 Author: Vincent Legout Last-Update: 2011-10-23 Index: gimmix/src/gimmix-config.c =================================================================== --- gimmix.orig/src/gimmix-config.c 2011-10-23 12:17:55.204200757 +0200 +++ gimmix/src/gimmix-config.c 2011-10-23 12:18:07.696200791 +0200 @@ -93,7 +93,6 @@ int cmpval = strncasecmp (cfg_get_key_value(conf,(char*)key), "true", 4); if (cmpval == 0) { - g_print (""); ret = true; } @@ -146,7 +145,7 @@ } else { - ret = g_strdup_printf (host); + ret = g_strdup_printf ("%s", host); } } Index: gimmix/src/gimmix-playlist.c =================================================================== --- gimmix.orig/src/gimmix-playlist.c 2011-10-23 12:17:55.212200757 +0200 +++ gimmix/src/gimmix-playlist.c 2011-10-23 12:18:07.696200791 +0200 @@ -532,7 +532,7 @@ } else { - title = g_markup_printf_escaped (g_path_get_basename(data->song->file)); + title = g_markup_printf_escaped ("%s", g_path_get_basename(data->song->file)); gimmix_strip_file_ext (title); } if (data->song->artist) Index: gimmix/src/gimmix-lyrics.c =================================================================== --- gimmix.orig/src/gimmix-lyrics.c 2011-10-23 12:17:55.232200757 +0200 +++ gimmix/src/gimmix-lyrics.c 2011-10-23 12:18:07.696200791 +0200 @@ -168,7 +168,7 @@ nxml_get_string (nndata, &str); if (str) { - node->lyrics = g_strdup_printf (str); + node->lyrics = g_strdup_printf ("%s", str); g_free (str); ret = TRUE; } Index: gimmix/src/gimmix-covers.c =================================================================== --- gimmix.orig/src/gimmix-covers.c 2011-10-23 12:17:55.220200757 +0200 +++ gimmix/src/gimmix-covers.c 2011-10-23 12:18:07.696200791 +0200 @@ -635,7 +635,7 @@ path = g_strdup_printf ("%s/%s-%s.albuminfo", temp, artist_e, album_e); if ((fp=fopen(path, "w"))) { - fprintf (fp, info); + fprintf (fp, "%s", info); fclose (fp); } g_free (temp); Index: gimmix/src/gimmix.c =================================================================== --- gimmix.orig/src/gimmix.c 2011-10-23 12:17:55.192200757 +0200 +++ gimmix/src/gimmix.c 2011-10-23 12:18:07.696200791 +0200 @@ -78,7 +78,7 @@ gchar *error = NULL; error = g_strdup_printf ("Error:(%d):%s\n", error_id, msg); - printf (error); + printf ("%s", error); g_free (error); if (last_error!=NULL) { @@ -266,7 +266,7 @@ g_ascii_strdown(APPNAME,strlen(APPNAME)), VERSION, "Copyright 2006, 2007, 2008, 2009 Priyank Gosalia"); - fprintf (stdout, vstr); + fprintf (stdout, "%s", vstr); g_free (vstr); goto cleanup; break; debian/patches/ftbfs-curl-types.patch0000664000000000000000000000206411666453654015073 0ustar Description: Do not include libcurl4-gnutls-dev no longer comes with types.h. But this file was empty in previous versions and can be safely removed Author: Vincent Legout Index: gimmix/src/gimmix-covers.c =================================================================== --- gimmix.orig/src/gimmix-covers.c 2011-08-02 21:26:53.253203823 +0200 +++ gimmix/src/gimmix-covers.c 2011-08-02 21:26:57.949203978 +0200 @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include Index: gimmix/src/gimmix-lyrics.c =================================================================== --- gimmix.orig/src/gimmix-lyrics.c 2011-08-02 21:27:23.377204604 +0200 +++ gimmix/src/gimmix-lyrics.c 2011-08-02 21:27:26.705204751 +0200 @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include "gimmix-lyrics.h" debian/control0000664000000000000000000000237712275432265010614 0ustar Source: gimmix Section: sound Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: mpd maintainers Uploaders: Vincent Legout Build-Depends: debhelper (>= 9), libglade2-dev, libmpd-dev, libtagc0-dev, libnxml0-dev, libcurl4-gnutls-dev, intltool, autotools-dev Standards-Version: 3.9.3 Homepage: http://gimmix.berlios.de/index.php Vcs-Browser: http://git.debian.org/?p=pkg-mpd/gimmix.git Vcs-Git: git://git.debian.org/pkg-mpd/gimmix.git Package: gimmix Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: graphical music player daemon (MPD) client using GTK+2 Gimmix is a graphical music player daemon (MPD) client using GTK+2. It's very simple and easy to use, yet offers many features to make your audio experience a pleasant one. . Features : * Simple and Clean Interface. * Library Browser. * Library search. (search by artist, album, filename, etc) * Playlist management (manage mpd playlists) * ID3v2 tag editing support. * System tray icon support. * Support for controlling gimmix through Keyboard. * Notification support (Displays the currently playing song in systray). * Small memory footprint. debian/source/0000775000000000000000000000000012275417102010471 5ustar debian/source/include-binaries0000664000000000000000000000013412275417102013627 0ustar src/eggtrayicon.o src/gimmix-config.o src/gimmix-core.o src/sexy-tooltip.o src/wejpconfig.o debian/source/format0000664000000000000000000000001411666453654011716 0ustar 3.0 (quilt) debian/docs0000664000000000000000000000003111666453654010055 0ustar AUTHORS NEWS README TODO debian/gimmix.xpm0000664000000000000000000000350511666453654011233 0ustar /* XPM */ static char * gimmix_logo_small_xpm[] = { "24 24 75 1", " c None", ". c #3283BA", "+ c #2A68A3", "@ c #3686BF", "# c #3684BE", "$ c #2F6EAA", "% c #3785BF", "& c #3884BF", "* c #3982C0", "= c #367AB8", "- c #306AA9", "; c #3883C0", "> c #3A81C0", ", c #3B80C1", "' c #3C7FC1", ") c #3876B8", "! c #3167A9", "~ c #3A82C0", "{ c #3472B3", "] c #3A7BBE", "^ c #3D7DC1", "/ c #3E7CC2", "( c #3F7BC2", "_ c #3970B6", ": c #3B80C0", "< c #3368AB", "[ c #386FB4", "} c #4079C2", "| c #417AC3", "1 c #3F77C0", "2 c #3367AB", "3 c #3D7EC1", "4 c #3569AE", "5 c #3F77BF", "6 c #3A6FB6", "7 c #3B71B8", "8 c #3A71B7", "9 c #3F7CC2", "0 c #407AC2", "a c #3568AD", "b c #3467AC", "c c #396EB4", "d c #386CB2", "e c #3468AC", "f c #376CB2", "g c #376BB1", "h c #3F78C1", "i c #3F78C0", "j c #3E76BF", "k c #3D74BC", "l c #3264A8", "m c #3E76BE", "n c #3C72BA", "o c #2E5FA1", "p c #3164A7", "q c #3D75BD", "r c #3A70B7", "s c #366AB0", "t c #3B72B9", "u c #3163A6", "v c #3A70B6", "w c #3062A5", "x c #3C73BA", "y c #3265A9", "z c #4079C1", "A c #3366AA", "B c #3265A8", "C c #3C73BB", "D c #3C74BB", "E c #3160A0", "F c #23487B", "G c #264F84", "H c #295289", "I c #224575", "J c #1C3861", " ", " .+ ", " @#$ ", " %&*=- ", " ;*>,')! ", " ~>{]^/(_ ", " :' <[}|12 ", " '3 45|6 ", " ^/ 7|8 ", " 90 a}b", " 0| cd", " || ef", " || gb", " }h g ", " ij e ", " 5k l ", " mn op ", " qr ", " st}||}tukv ", " w5|||||||||c ", " x||||||||||y ", " 1||||||||zA ", " BC|||||DEF ", " GHIJ "}; debian/gimmix.menu0000664000000000000000000000031511666453654011367 0ustar ?package(gimmix):needs="X11" section="Applications/Sound"\ title="Gimmix"\ description="Graphical music player daemon (MPD) client"\ command="/usr/bin/gimmix"\ icon="/usr/share/pixmaps/gimmix.xpm" debian/rules0000775000000000000000000000017512275432300010251 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS := hardening=+all %: dh $@ --with autotools-dev override_dh_auto_test: debian/compat0000664000000000000000000000000211666455145010403 0ustar 9 debian/changelog0000664000000000000000000000734712275432365011066 0ustar gimmix (0.5.7.1-4ubuntu2) trusty; urgency=medium * Build-Depend on autotools-dev and use its debhelper plugin to update config.guess/sub for newer arches, fixes build on arm64. -- Andreas Moog Sat, 08 Feb 2014 14:44:40 +0100 gimmix (0.5.7.1-4ubuntu1) trusty; urgency=medium * Recent versions of glib #include /usr/include/dirent.h, whose declaration of DIR clashes with gimmix, causing a build failure. * Include a patch to rename DIR to GIMMIX_DIR in order to fix FTBFS: gimmix-playlist.c:42 error: 'DIR' redeclared as different kind of symbol -- Andreas Moog Sat, 08 Feb 2014 13:10:55 +0100 gimmix (0.5.7.1-4) unstable; urgency=low * Use my debian.org email address * Update to debhelper 9 (debian/compat, debhelper Build-Depends) * debian/rules: Enable all hardening flags * ftbfs-hardening.patch: Added, fix ftbfs with -Werror=format-security (Closes: #646261) * fix_curl_segfault.patch: Added, fix segfault * Standards-Version 3.9.3 (No changes) -- Vincent Legout Sat, 24 Mar 2012 15:00:43 +0100 gimmix (0.5.7.1-3) unstable; urgency=low * ftbfs-curl-types.patch: Added, fix ftbfs with new curl versions (Closes: #634540) * debian/rules: Disable tests. intltool-update fails because the new patch introduces new files with translated strings in .pc/ -- Vincent Legout Wed, 03 Aug 2011 18:34:10 +0200 gimmix (0.5.7.1-2) unstable; urgency=low * Set maintainer to pkg-mpd-maintainers team * Set myself as uploader * Add Vcs headers in debian/control * Update Standards-Version to 3.9.2 (No changes needed) * Update to debhelper 8: - Bump debian/compat to 8 - Update debhelper build dependency in debian/control -- Vincent Legout Sat, 18 Jun 2011 10:35:19 +0200 gimmix (0.5.7.1-1) unstable; urgency=low * New Upstream Version - Fix FTBFS with binutils-gold (Closes: #554550) * Switch to 3.0 (quilt) source format * debian/control: - Remove Build-Depends on autotools-dev - Update Standards-Version to 3.8.3. No changes needed -- Vincent Legout Sun, 22 Nov 2009 22:31:00 +0800 gimmix (0.5.6.1-2) unstable; urgency=low * debian/control: - Changed the libcurl build dependency to libcurl4-gnutls-dev (Closes: #531642) - Updated Standards-Version to 3.8.1. No changes needed * debian/copyright: Updated -- Vincent Legout Wed, 03 Jun 2009 22:51:18 +0200 gimmix (0.5.6.1-1) unstable; urgency=low * New Upstream Version -- Vincent Legout Fri, 13 Feb 2009 17:56:51 +0100 gimmix (0.5.5-1) unstable; urgency=low * New Upstream Version * debian/gimmix.1: Remove manpage, upstream included it * debian/control: - Removed dpatch from Build-Depends - Added ${misc:Depends} to Depends * debian/rules: Use rules.tiny * debian/changelog: Fix copyright-with-old-dh-make-debian-copyright lintian warning * debian/patches/01_gimmix.desktop.dpatch: Dropped, merged upstream * debian/docs: Added * debian/gimmix.install: Added -- Vincent Legout Thu, 01 Jan 2009 17:58:38 +0100 gimmix (0.5.2-1) unstable; urgency=low * New upstream release * debian/copyright: Updated * debian/gimmix.1: Updated * debian/rules: - Build with --enable-cover and --enable-lyrics * debian/control: - Added autotools-dev, libnxml0-dev and libcurl3-dev to Build-Depends - Removed libtool and automake1.10 from Build-Depends -- Vincent Legout Mon, 27 Oct 2008 15:03:56 +0100 gimmix (0.4.3-1) unstable; urgency=low * Initial release (Closes: #431051) -- Vincent Legout Mon, 07 Jul 2008 00:20:43 +0200 debian/watch0000664000000000000000000000026611666453654010245 0ustar version=3 opts=downloadurlmangle=s/prdownload/download/ \ http://developer.berlios.de/project/showfiles.php?group_id=7601 \ http://prdownload.berlios.de/gimmix/gimmix-(.*).tar.bz2 debian/copyright0000664000000000000000000000677711666453654011164 0ustar This package was debianized by Vincent Legout on Mon, 07 Jul 2008 00:20:43 +0200. It was downloaded from http://gimmix.berlios.de Upstream Authors: Priyank Gosalia Copyright Copyright (C) by 2006-2007 Priyank Gosalia Autoconf support Copyright (C) 2006-2007 by Alex Smith Files: src/gimmix* Copyright (C) 2006-2008 Priyank Gosalia License: GPL-2+ Files: src/eggtrayicon.* Copyright (C) 2002 Anders Carlsson License: LGPL-2+ Files: src/wejpconfig.* Copyright (c) 2003-2004 Johannes Heimansberg License: GPL-2 Files: src/sexy-tooltip.* Copyright (C) 2006 Christian Hammond License: LGPL-2+ File: po/de.po Copyright: Copyright 2006-2007 Priyank Gosalia Copyright 2008, Martin Stromberger , 2008. License: GPL-2+ File: po/tr.po Copyright: Copyright 2006-2007 Priyank Gosalia Copyright 2007, yavuz selim burgu License: GPL-2+ File: po/zh_TW.po Copyright: Copyright 2006-2007 Priyank Gosalia Copyright 2007, Cheng-Wei Chien License: GPL-2+ License: LGPL-2+ This program 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 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA License: GPL-2 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 St, Fifth Floor, Boston, MA 02110-1301 USA License: GPL-2+ 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 St, Fifth Floor, Boston, MA 02110-1301 USA The Debian packaging is: Copyright C) 2008, Vincent Legout and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/gimmix.install0000664000000000000000000000004611666453654012072 0ustar debian/gimmix.xpm /usr/share/pixmaps/