debian/0000755000000000000000000000000012161367756007204 5ustar debian/watch0000644000000000000000000000006311537206671010226 0ustar version=3 http://sf.net/gdmap/gdmap-(.*)\.tar\.gz debian/changelog0000644000000000000000000000643712161366707011063 0ustar gdmap (0.8.1-3) unstable; urgency=low * Import math-underlink.patch from Ubuntu, to link libm explicitly (Closes: #713618). Thanks to Daniel T Chen! * Switch to my Debian address. * Use canonical VCS URIs. * Add format-strings.patch to fix format string vulnerabilites identified with hardening options enabled. * Add gtk-set-locale.patch to drop deprecated gtk_set_locale(). * Switch to debhelper compat level 9 to enable automatic hardening. * Use the final 1.0 copyright-format URL. * Standards-Version 3.9.4, no further change required. -- Stephen Kitt Sat, 22 Jun 2013 20:32:35 +0200 gdmap (0.8.1-2) unstable; urgency=low * New maintainer (Closes: #594406). * Switch to source format "(3.0) quilt": - Drop dependency on dpatch. - Drop 01_gtktooltip.dpatch, unused. - Drop 02_gtk-disable-deprecated.dpatch, unused. - Import 03_manpage.dpatch as manpage.patch. - Import 04_deprecated_GTK.dpatch as gtk-widget-macros.patch and handle GTK_WIDGET_SET_FLAGS as well (Closes: #621983). - Drop data/gdmap.desktop, intltool-extract, intltool-merge and intltool-update (they are generated during the build). * Simplify debian/rules using dh 7 and autotools-dev. * Correctly load gdmap's icon, and avoid printing an error message if the settings file doesn't exist (Closes: #579043). * Use link to specific GPL version in debian/copyright, and update copyright dates. * Add ${misc:Depends} dependency since we're using debhelper. * Add watch file. * Remove the obsolete "Encoding" directive from the desktop file. * Import patch adding new file types from Ubuntu. * Standards-Version 3.9.2, no further change required. * Convert debian/copyright to DEP5 format. * Reduce dependencies by linking with --as-needed (thanks to Stefano Rivera for this and other suggestions!). * Fix grammatical mistake (as suggested by Lintian). * Wrap and sort dependencies. -- Stephen Kitt Tue, 07 Jun 2011 20:18:18 +0200 gdmap (0.8.1-1.1) unstable; urgency=medium * Non-maintainer upload. * debian/patches/04_deprecated_GTK.dpatch: - Replace deprecated GTK macro with related function (Closes: #577374). -- Luca Falavigna Sun, 09 May 2010 20:23:08 +0200 gdmap (0.8.1-1) unstable; urgency=low * New upstream release. -- Mario Iseli Tue, 18 Aug 2009 07:59:54 +0200 gdmap (0.7.5-4) unstable; urgency=low * Added 02_disable_gtk_deprecated.dpatch to fix implicit pointer conversion, thanks to Dann Frazier (Closes: #445881). -- Mario Iseli Tue, 20 Nov 2007 11:42:11 +0100 gdmap (0.7.5-3) unstable; urgency=low * New maintainer E-Mail. * Build-depend on dpatch. * Added 01_tooltip.dpatch to avoid FTBFS (Closes: #444522). * Updated debian/menu to new menu structure. -- Mario Iseli Sat, 06 Oct 2007 23:03:36 +0200 gdmap (0.7.5-2) unstable; urgency=medium * Support for files > 2.0GB, done by adding AC_SYS_LARGEFILE to configure.ac, this sets _FILE_OFFSET_BITS to 64. (Closes: #367663). -- Mario Iseli Sun, 21 May 2006 23:30:51 +0200 gdmap (0.7.5-1) unstable; urgency=low * Initial release (Closes: #345898). -- Mario Iseli Fri, 3 Feb 2006 23:27:25 +0100 debian/compat0000644000000000000000000000000212161335063010364 0ustar 9 debian/gdmap.install0000644000000000000000000000005011573465403011651 0ustar debian/gdmap_icon.xpm usr/share/pixmaps debian/copyright0000644000000000000000000000227012161364540011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gdmap Source: http://gdmap.sourceforge.net Files: * Copyright: 2005-2008 Markus Lausser License: GPL-2+ Files: debian/* Copyright: 2006-2009 Mario Iseli 2011-2013 Stephen Kitt 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 complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/gdmap_icon.xpm0000644000000000000000000001041211537143611012014 0ustar /* XPM */ static char * gdmap_icon_xpm[] = { "32 32 133 2", " c None", ". c #001800", "+ c #001A00", "@ c #001B00", "# c #001D00", "$ c #001F00", "% c #002100", "& c #002300", "* c #002500", "= c #002700", "- c #002800", "; c #002900", "> c #002A00", ", c #001C00", "' c #002000", ") c #002200", "! c #002400", "~ c #002B00", "{ c #002C00", "] c #001E00", "^ c #002D00", "/ c #002E00", "( c #002F00", "_ c #003000", ": c #003200", "< c #003300", "[ c #001900", "} c #002600", "| c #003100", "1 c #003400", "2 c #003800", "3 c #003900", "4 c #003700", "5 c #003500", "6 c #003600", "7 c #003F00", "8 c #004300", "9 c #004100", "0 c #003C00", "a c #003D00", "b c #003B00", "c c #004D00", "d c #005200", "e c #005000", "f c #004B00", "g c #004600", "h c #003A00", "i c #004000", "j c #004400", "k c #004200", "l c #005100", "m c #006100", "n c #006700", "o c #005F00", "p c #005500", "q c #004700", "r c #004A00", "s c #004F00", "t c #004800", "u c #003E00", "v c #006200", "w c #007B00", "x c #008100", "y c #007000", "z c #006000", "A c #005400", "B c #004C00", "C c #005700", "D c #005E00", "E c #005C00", "F c #005600", "G c #004500", "H c #007100", "I c #009400", "J c #009900", "K c #007F00", "L c #006900", "M c #005A00", "N c #006F00", "O c #006B00", "P c #004900", "Q c #007800", "R c #009D00", "S c #00A200", "T c #008600", "U c #006E00", "V c #006300", "W c #007A00", "X c #008400", "Y c #005D00", "Z c #007700", "` c #009800", " . c #008500", ".. c #008C00", "+. c #008900", "@. c #007400", "#. c #006400", "$. c #005800", "%. c #008A00", "&. c #007E00", "*. c #005B00", "=. c #007600", "-. c #009700", ";. c #00A500", ">. c #009300", ",. c #006800", "'. c #005300", "). c #006A00", "!. c #007C00", "~. c #007500", "{. c #005900", "]. c #007900", "^. c #009500", "/. c #007D00", "(. c #009100", "_. c #009C00", ":. c #009000", "<. c #006C00", "[. c #006600", "}. c #008700", "|. c #008800", "1. c #008000", "2. c #006500", "3. c #007300", "4. c #007200", "5. c #006D00", "6. c #004E00", "7. c #009E00", "8. c #00CB00", "9. c #00D600", "0. c #00B100", "a. c #00BC00", "b. c #008E00", " ", " ", " ", " ", " . + + @ # $ % & * = - ; ; > , + @ # ' ) * = - ; > = ", " . + @ # $ ) ! = - > ~ { { { , @ ] % ! = > { ^ / / > ", " . @ # ' ) * - > { / ( ( ( ( ] ] % * ; ^ _ : < < : / ", " [ # ' ) } ; { ( | : < < : : % ) } > _ 1 2 3 3 2 4 | ", " @ ' ) } ; / : 5 4 4 4 6 6 5 ! } > | 2 7 8 8 9 7 0 5 ", " # ) * ; / < 2 0 a a 0 b 3 2 = > _ 3 8 c d e f g 9 3 ", " $ * ; ^ < h i j g j k i a b ~ / 6 k l m n o p c q a ", " ) - { : 3 k r s e c t j 9 u / < 0 f v w x y z A B 9 ", " ! ~ _ 4 i B C D E F s r G k : 4 k A H I J K L M e j ", " } / 1 0 q C n N O z C s P G 5 b q M Q R S T U o A q ", " - | 4 9 s V W X w O Y A c t 2 u r E Z I ` .y m C r ", " ~ < b g F U ..J +.@.#.$.e f h i B E H .%.&.U v $.f ", " ^ 6 u r *.=.-.;.>.W ,.E '.c 0 k c M ).Q !.~.O m {.B ", " ( 3 9 c o ].` ;.^./.O o F s u 8 B $.#.U H U n o $.B ", " | b 8 s z Q (._.:./.<.z C l 7 8 B p o [.L n V Y C B ", " : 0 G e z @.}.:.|.W <.m {.d 7 8 f '.M z V v o *.F B ", " 1 u g l D N &.X 1.=.O m {.'.i 8 r e F *.D D E {.p f ", " 5 7 q l E ).~.w Q H ,.z M '.b a k t c e d '.'.d e t ", " 6 i q e M 2.U 3.4.5.[.o {.A % $ * ~ / / > _ h k G i ", " 4 9 q s $.m ,.<.<.,.V D {.A - ~ 4 i 7 h 5 k F m Y s ", " 4 9 q 6.F Y V n n 2.m E $.'.| 0 *.5.$.P 8 Y (.7.!.m ", " 2 9 q c A M o v V m D *.C '.3 B &.-.5.A l =.8.9.^.N ", " 2 9 q B d C E D o D E {.F '.7 l H x <.$.M !.0.a.` ~. ", " 3 9 g f e p {.*.E *.M $.p d k 6.z ,.v C D Z >._.b.~. ", " 1 0 i j P B s l d d l s c f a G s A '.6.C L ].K W L ", " ", " ", " "}; debian/patches/0000755000000000000000000000000012161343327010617 5ustar debian/patches/manpage.patch0000644000000000000000000000070011537176305013253 0ustar Description: Correct the "whatis" information in the manpage Author: Mario Iseli diff -urNad gdmap-0.8.1~/data/gdmap.1 gdmap-0.8.1/data/gdmap.1 --- gdmap-0.8.1~/data/gdmap.1 2005-10-16 16:36:31.000000000 +0200 +++ gdmap-0.8.1/data/gdmap.1 2009-08-18 09:09:38.000000000 +0200 @@ -1,6 +1,6 @@ .TH GDMAP 1 "16 Oct 2005" .SH NAME -\fBGraphical Disk Map +gdmap -\ Graphical Disk Map .SH SYNOPSIS gdmap [\fB\-?\fR|\fB--help\fR] debian/patches/series0000644000000000000000000000040212161343177012033 0ustar manpage.patch desktop.patch gtk-widget-macros.patch pixmap-location.patch no-error-on-missing-settings.patch dk-to-da.patch add-filetypes.patch ignore-missing-po-files.patch spelling-fixes.patch math-underlink.patch format-strings.patch gtk-set-locale.patch debian/patches/ignore-missing-po-files.patch0000644000000000000000000000132511555641332016312 0ustar Description: Ignore missing files when updating i18n quilt's .pc directory causes the build to fail when using “intltool-update -m”. For now we'll just ignore missing files since it's unlikely any will be added in the near future. Author: Stephen Kitt --- gdmap.orig/po/Makefile.in.in +++ gdmap/po/Makefile.in.in @@ -145,8 +145,10 @@ check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m +# Ignore missing files for now, the .pc directory ends up containing +# untranslated files as far as intltool-update is concerned if [ -r missing -o -r notexist ]; then \ - exit 1; \ + echo Warning: untranslated files detected.; \ fi mostlyclean: debian/patches/spelling-fixes.patch0000644000000000000000000001306611573465326014611 0ustar Description: Fix various spelling mistakes. Author: Stephen Kitt Last-Update: 2011-06-07 --- gdmap.orig/po/bg.po +++ gdmap/po/bg.po @@ -116,7 +116,7 @@ msgstr "Изберете папка" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "" "GdMap е инструмент който ви позволява да преглеждате диска си в графичен " "режим." --- gdmap.orig/po/da.po +++ gdmap/po/da.po @@ -115,7 +115,7 @@ msgstr "Vlg mappe" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "" "GdMap er et vrktj som giver dig mulighed for at udforske din disk grafisk" --- gdmap.orig/po/de.po +++ gdmap/po/de.po @@ -115,7 +115,7 @@ msgstr "Verzeichnis wählen" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "" "GdMap ist ein Tool, das es ermöglicht\\nden Festplatteninhalt graphisch " "darzustellen" --- gdmap.orig/po/es.po +++ gdmap/po/es.po @@ -114,7 +114,7 @@ msgstr "Seleccionar carpeta" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "" "GdMap es una herramienta que permite explorar tus discos de forma gráfica." --- gdmap.orig/po/fr.po +++ gdmap/po/fr.po @@ -120,7 +120,7 @@ msgstr "Choisir un dossier" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "" "GdMap est un logiciel qui permet l'exploration graphique de vos disques." --- gdmap.orig/po/he.po +++ gdmap/po/he.po @@ -116,7 +116,7 @@ msgstr "בחר תיקיה" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "התוכנה היא כלי המאפשר לך לחקור את הדיסקים בצורה גרפית" #: ../src/about.c:62 --- gdmap.orig/po/hr.po +++ gdmap/po/hr.po @@ -116,7 +116,7 @@ msgstr "Odaberi mapu" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "GdMap je alat koji vam omogucava graficki pregled diska." #: ../src/about.c:62 --- gdmap.orig/po/it.po +++ gdmap/po/it.po @@ -113,7 +113,7 @@ msgstr "Scegli una cartella" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "" "GdMap è un programma che permette di esplorare graficamente il contenuto dei " "dischi." --- gdmap.orig/po/nb.po +++ gdmap/po/nb.po @@ -115,7 +115,7 @@ msgstr "Velg mappe" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "GdMap er et verktøy som gir deg en grafisk visning av diskbruken." #: ../src/about.c:62 --- gdmap.orig/po/no.po +++ gdmap/po/no.po @@ -115,7 +115,7 @@ msgstr "Velg mappe" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "GdMap er et verktøy som gir deg en grafisk visning av diskbruken." #: ../src/about.c:62 --- gdmap.orig/po/ru.po +++ gdmap/po/ru.po @@ -116,7 +116,7 @@ msgstr "Выберите папку" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "GdMap это инструмент позволяющий графически исследовать ваши диски." #: ../src/about.c:62 --- gdmap.orig/po/sv.po +++ gdmap/po/sv.po @@ -116,7 +116,7 @@ msgstr "Välj mapp" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "GdMap är ett verktyg som låter dig utforska dina diskar grafiskt." #: ../src/about.c:62 --- gdmap.orig/po/tr.po +++ gdmap/po/tr.po @@ -117,7 +117,7 @@ msgstr "Klasor sec" #: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." +msgid "GdMap is a tool which allows you to graphically explore your disks." msgstr "GdMap, disklerinizde görsel olarak gezinmenizi saglayan bir aractir." #: ../src/about.c:62 --- gdmap.orig/src/about.c +++ gdmap/src/about.c @@ -57,7 +57,7 @@ gtk_about_dialog_set_license(AboutWin, "GPL (GNU General Public License)\n\nsee http://www.gnu.org/licenses/gpl.html"); gtk_about_dialog_set_website(AboutWin, "http://gdmap.sourceforge.net"); gtk_about_dialog_set_authors(AboutWin, authors); - gtk_about_dialog_set_comments(AboutWin, _("GdMap is a tool which allows to graphically explore your disks.")); + gtk_about_dialog_set_comments(AboutWin, _("GdMap is a tool which allows you to graphically explore your disks.")); gtk_about_dialog_set_logo(AboutWin, create_pixbuf("gdmap_icon.png")); gtk_about_dialog_set_translator_credits(AboutWin, _("translator-credits")); debian/patches/gtk-set-locale.patch0000644000000000000000000000076712161342636014467 0ustar Description: Drop gtk_set_locale() which is deprecated Author: Stephen Kitt gtk_init() does everything necessary anyway... Index: gdmap/src/main.c =================================================================== --- gdmap.orig/src/main.c 2013-06-22 17:19:57.688844857 +0200 +++ gdmap/src/main.c 2013-06-22 17:21:43.915514364 +0200 @@ -60,7 +60,6 @@ } g_option_context_free(context); - gtk_set_locale(); gtk_init(&argc, &argv); gtk_rc_parse_string(GtkResource); debian/patches/format-strings.patch0000644000000000000000000000214512161342272014617 0ustar Description: Specify format strings where appropriate Author: Stephen Kitt Index: gdmap/src/main.c =================================================================== --- gdmap.orig/src/main.c 2011-03-13 14:32:57.964160454 +0100 +++ gdmap/src/main.c 2013-06-22 17:22:24.000000000 +0200 @@ -54,7 +54,7 @@ g_option_context_set_help_enabled(context, TRUE); g_option_context_add_main_entries(context, Options, NULL); if (!g_option_context_parse(context, &argc, &argv, &error)) { - g_warning(error->message); + g_warning("%s", error->message); g_option_context_free(context); return 0; } Index: gdmap/src/preferences.c =================================================================== --- gdmap.orig/src/preferences.c 2013-06-22 16:53:02.000000000 +0200 +++ gdmap/src/preferences.c 2013-06-22 17:23:01.110547024 +0200 @@ -660,7 +660,7 @@ { if (error->code != G_FILE_ERROR_NOENT) { // The settings file is allowed to not exist - g_message(error->message); + g_message("%s", error->message); } g_error_free(error); return; debian/patches/no-error-on-missing-settings.patch0000644000000000000000000000103311537176473017333 0ustar Description: Avoid printing an error message when the settings file isn't found Author: Stephen Kitt Last-Update: 2011-03-13 --- gdmap.orig/src/preferences.c +++ gdmap/src/preferences.c @@ -658,7 +658,10 @@ if (!g_key_file_load_from_file(file, filename, 0, &error)) { - g_message(error->message); + if (error->code != G_FILE_ERROR_NOENT) { + // The settings file is allowed to not exist + g_message(error->message); + } g_error_free(error); return; } debian/patches/math-underlink.patch0000644000000000000000000000202712161333111014551 0ustar Description: Add missing libm Author: Daniel T Chen Index: gdmap-0.8.1/src/Makefile.am =================================================================== --- gdmap-0.8.1.orig/src/Makefile.am 2008-05-23 08:46:24.000000000 -0400 +++ gdmap-0.8.1/src/Makefile.am 2013-04-07 18:18:34.052526861 -0400 @@ -16,5 +16,5 @@ gdmap_CFLAGS = \ -DGDMAP_LOCALE_DIR=\""$(localedir)"\" -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" @UI_CFLAGS@ @LIBXML_CFLAGS@ -gdmap_LDADD = @UI_LIBS@ @LIBXML_LIBS@ +gdmap_LDADD = @UI_LIBS@ @LIBXML_LIBS@ -lm Index: gdmap-0.8.1/src/Makefile.in =================================================================== --- gdmap-0.8.1.orig/src/Makefile.in 2008-06-15 09:44:10.000000000 -0400 +++ gdmap-0.8.1/src/Makefile.in 2013-04-07 18:18:44.276365301 -0400 @@ -213,7 +213,7 @@ gdmap_CFLAGS = \ -DGDMAP_LOCALE_DIR=\""$(localedir)"\" -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\" @UI_CFLAGS@ @LIBXML_CFLAGS@ -gdmap_LDADD = @UI_LIBS@ @LIBXML_LIBS@ +gdmap_LDADD = @UI_LIBS@ @LIBXML_LIBS@ -lm all: all-am .SUFFIXES: debian/patches/pixmap-location.patch0000644000000000000000000000162411537176364014762 0ustar Description: Look in the correct directory for the application's icon Author: Stephen Kitt Last-Update: 2011-03-13 --- gdmap.orig/src/about.c +++ gdmap/src/about.c @@ -24,7 +24,7 @@ #ifdef PACKAGE_SOURCE_DIR temp = g_strdup_printf("%s/data/%s", PACKAGE_SOURCE_DIR, filename); #else - temp = g_strdup_printf("%s/pixmaps/%s", PACKAGE_DATA_DIR, filename); + temp = g_strdup_printf("/usr/share/pixmaps/%s", filename); #endif pix = gdk_pixbuf_new_from_file(temp, NULL); g_free(temp); --- gdmap.orig/src/gui_main.c +++ gdmap/src/gui_main.c @@ -829,7 +829,7 @@ #ifdef PACKAGE_SOURCE_DIR temp = g_strdup_printf("%s/data/%s", PACKAGE_SOURCE_DIR, filename); #else - temp = g_strdup_printf("%s/pixmaps/%s", PACKAGE_DATA_DIR, filename); + temp = g_strdup_printf("/usr/share/pixmaps/%s", filename); #endif pix = gdk_pixbuf_new_from_file(temp, NULL); g_free(temp); debian/patches/add-filetypes.patch0000644000000000000000000000400711537236612014377 0ustar Description: Recognize more file extensions by default Author: Andres Rodriguez Origin: http://patches.ubuntu.com/g/gdmap/gdmap_0.8.1-1.1ubuntu1.patch --- gdmap.orig/src/colors.c +++ gdmap/src/colors.c @@ -306,15 +306,14 @@ Colors = g_list_append(Colors, color_new(0x0f0f, 0xffff, 0xffff, COLOR_MARK2)); Colors = g_list_append(Colors, color_new(0x2222, 0x4444, 0x0000, COLOR_FOLDER)); - Colors = g_list_append(Colors, color_new_with_exts("#DD0000", "asf avi mpg mpeg wmv")); - Colors = g_list_append(Colors, color_new_with_exts("#FF00FF", "exe")); + Colors = g_list_append(Colors, color_new_with_exts("#DD0000", "asf avi mpg mpeg wmv mov")); + Colors = g_list_append(Colors, color_new_with_exts("#FF00FF", "exe msi deb rpm run")); Colors = g_list_append(Colors, color_new_with_exts("#BB00BB", "dll o lo a so")); - Colors = g_list_append(Colors, color_new_with_exts("#00AA00", "c cc cpp")); + Colors = g_list_append(Colors, color_new_with_exts("#00AA00", "c cc cpp py php php3 php4 php5 js sh bat")); Colors = g_list_append(Colors, color_new_with_exts("#00FF00", "h hh")); - Colors = g_list_append(Colors, color_new_with_exts("#EEEE00", "eps bmp svg gif png jpg jpeg tif tiff")); - Colors = g_list_append(Colors, color_new_with_exts("#00DDDD", "mp3 ogg flac wav")); -/* Colors = g_list_append(Colors, color_new_with_exts("#d8def1", "odp ods odt otp ots ott stc stw sxc sxi sxw")); */ - Colors = g_list_append(Colors, color_new_with_exts("#66aaff", "mdb doc pdf ps ppt txt po xsl xls xml html htm")); + Colors = g_list_append(Colors, color_new_with_exts("#EEEE00", "eps bmp svg gif png jpg jpeg tif tiff xpm")); + Colors = g_list_append(Colors, color_new_with_exts("#00DDDD", "mp3 ogg flac wav wma m4a")); + Colors = g_list_append(Colors, color_new_with_exts("#66aaff", "mdb doc pdf ps ppt txt po pot xsl xls xml html htm odp ods otp ots ott stc stw sxc sxi sxw hlp tex")); Colors = g_list_append(Colors, color_new_with_exts("#0000AA", "zip gz tgz rar bz2 7z")); } debian/patches/dk-to-da.patch0000644000000000000000000002507611537224721013254 0ustar Description: Use correct "da" language code instead of "dk" Author: Stephen Kitt Last-Update: 2011-03-13 --- /dev/null +++ gdmap/po/da.po @@ -0,0 +1,234 @@ +# GdMap. +# Markus Lausser , 2005 +# +# +msgid "" +msgstr "" +"Project-Id-Version: GdMap\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-06-15 15:51+0200\n" +"PO-Revision-Date: 2008-05-25 17:34-0100\n" +"Last-Translator: Jesenko Mehmedbasic \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../data/gdmap.desktop.in.h:1 +msgid "Display disk space using tree maps" +msgstr "Vis disk plads som tr" + +#: ../data/gdmap.desktop.in.h:2 +msgid "Graphical Disk Map" +msgstr "Grafisk Kortlgning af Disken" + +#: ../src/gui_main.c:94 +msgid "_File" +msgstr "_Fil" + +#: ../src/gui_main.c:95 +msgid "_View" +msgstr "_Vis" + +#: ../src/gui_main.c:96 +msgid "_Help" +msgstr "_Hjlp" + +#: ../src/gui_main.c:97 +msgid "_Open..." +msgstr "_bn..." + +#: ../src/gui_main.c:98 +msgid "Open a folder" +msgstr "ben en mappe" + +#: ../src/gui_main.c:101 +msgid "_Quit" +msgstr "_Afslut" + +#: ../src/gui_main.c:102 +msgid "Exit program" +msgstr "Afslut program" + +#: ../src/gui_main.c:105 +msgid "_Back" +msgstr "_Tilbage" + +#: ../src/gui_main.c:106 +msgid "Go back one step" +msgstr "G et skridt tilbage" + +#: ../src/gui_main.c:109 +msgid "_Forward" +msgstr "_Frem" + +#: ../src/gui_main.c:110 +msgid "Go forward one step" +msgstr "G et skridt fremad" + +#: ../src/gui_main.c:113 +msgid "_Up" +msgstr "_Op" + +#: ../src/gui_main.c:114 +msgid "Go up one level" +msgstr "G et niveau op" + +#: ../src/gui_main.c:117 +msgid "_Top" +msgstr "_Til top" + +#: ../src/gui_main.c:118 +msgid "Goto toplevel folder" +msgstr "G til verste niveau" + +#: ../src/gui_main.c:121 +msgid "_Settings..." +msgstr "_Indstillinger..." + +#: ../src/gui_main.c:122 +msgid "Edit settings" +msgstr "Rediger indstillinger" + +#: ../src/gui_main.c:125 +msgid "_About..." +msgstr "_Om..." + +#: ../src/gui_main.c:126 +msgid "About this program" +msgstr "Om det her program" + +#: ../src/gui_main.c:129 +msgid "_Refresh" +msgstr "_Opdater" + +#: ../src/gui_main.c:130 +msgid "Refresh current view" +msgstr "Genopfrisk nuvrende skrmbillede" + +#: ../src/gui_main.c:402 +msgid "scanning..." +msgstr "skanner..." + +#: ../src/gui_main.c:441 +msgid "Choose folder" +msgstr "Vlg mappe" + +#: ../src/about.c:60 +msgid "GdMap is a tool which allows to graphically explore your disks." +msgstr "" +"GdMap er et vrktj som giver dig mulighed for at udforske din disk grafisk" + +#: ../src/about.c:62 +msgid "translator-credits" +msgstr "Jesenko Mehmedbasic " + +#: ../src/preferences.c:288 +msgid "Default color" +msgstr "Standardfarve" + +#: ../src/preferences.c:292 +msgid "Color for file position" +msgstr "Fil positions farve" + +#: ../src/preferences.c:296 +msgid "Color for folder position" +msgstr "Mappe positions farve" + +#: ../src/preferences.c:300 +msgid "Color for folders" +msgstr "Mappe farve" + +#: ../src/preferences.c:306 ../src/preferences.c:309 +msgid "Enter file extensions here" +msgstr "Indtast filtype her" + +#: ../src/preferences.c:341 +msgid "Delete" +msgstr "Slet" + +#: ../src/preferences.c:360 +msgid "Color profile" +msgstr "Farveskema" + +#: ../src/preferences.c:380 +msgid "Basic colors" +msgstr "Basisfarver" + +#: ../src/preferences.c:396 +msgid "File colors" +msgstr "Filfarver" + +#: ../src/preferences.c:420 +msgid "add new color" +msgstr "tilfj ny farve" + +#: ../src/preferences.c:485 +msgid "Preferences" +msgstr "Indstillinger" + +#: ../src/preferences.c:496 +msgid "Display type" +msgstr "Display type" + +#: ../src/preferences.c:502 +msgid "Standard cushioned treemaps" +msgstr "Standard udlignet troversigt" + +#: ../src/preferences.c:506 +msgid "Squarified cushioned treemaps" +msgstr "Kvadratisk udlignet troversigt" + +#: ../src/preferences.c:520 +msgid "Cushion settings" +msgstr "Udligningsindstillinger" + +#: ../src/preferences.c:528 +msgid "Height factor:" +msgstr "Hjde faktor" + +#: ../src/preferences.c:540 +msgid "Decreasing height:" +msgstr "Aftagende hjde" + +#: ../src/preferences.c:553 +msgid "General display" +msgstr "Generelt display" + +#: ../src/preferences.c:561 +msgid "Maximum depth:" +msgstr "Maximal dybde" + +#. pre instance +#: ../src/preferences.c:567 +msgid "Use average color of children for folders" +msgstr "Brug gennemsnitsfarven af underelementer som mappefarve" + +#: ../src/preferences.c:576 +msgid "(0=unlimited)" +msgstr "(0=ubegrnset)" + +#: ../src/preferences.c:582 +msgid "Color settings" +msgstr "Farveindstillinger" + +#. gtk_table_set_homogeneous(GTK_TABLE(table), TRUE); +#: ../src/preferences.c:591 +msgid "Enable colors" +msgstr "Benyt farver" + +#: ../src/preferences.c:598 +msgid "Color profile..." +msgstr "Farveskema..." + +#: ../src/preferences.c:613 +msgid "Scanning options (requires re-scan)" +msgstr "" + +#: ../src/preferences.c:619 +msgid "Descend directories on other filesystems" +msgstr "" + +#: ../src/preferences.c:624 +msgid "Use allocated disk size of files" +msgstr "" --- gdmap.orig/po/dk.po +++ /dev/null @@ -1,234 +0,0 @@ -# GdMap. -# Markus Lausser , 2005 -# -# -msgid "" -msgstr "" -"Project-Id-Version: GdMap\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-06-15 15:51+0200\n" -"PO-Revision-Date: 2008-05-25 17:34-0100\n" -"Last-Translator: Jesenko Mehmedbasic \n" -"Language-Team: Danish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=iso-8859-1\n" -"Content-Transfer-Encoding: 8bit\n" - -#: ../data/gdmap.desktop.in.h:1 -msgid "Display disk space using tree maps" -msgstr "Vis disk plads som tr" - -#: ../data/gdmap.desktop.in.h:2 -msgid "Graphical Disk Map" -msgstr "Grafisk Kortlgning af Disken" - -#: ../src/gui_main.c:94 -msgid "_File" -msgstr "_Fil" - -#: ../src/gui_main.c:95 -msgid "_View" -msgstr "_Vis" - -#: ../src/gui_main.c:96 -msgid "_Help" -msgstr "_Hjlp" - -#: ../src/gui_main.c:97 -msgid "_Open..." -msgstr "_bn..." - -#: ../src/gui_main.c:98 -msgid "Open a folder" -msgstr "ben en mappe" - -#: ../src/gui_main.c:101 -msgid "_Quit" -msgstr "_Afslut" - -#: ../src/gui_main.c:102 -msgid "Exit program" -msgstr "Afslut program" - -#: ../src/gui_main.c:105 -msgid "_Back" -msgstr "_Tilbage" - -#: ../src/gui_main.c:106 -msgid "Go back one step" -msgstr "G et skridt tilbage" - -#: ../src/gui_main.c:109 -msgid "_Forward" -msgstr "_Frem" - -#: ../src/gui_main.c:110 -msgid "Go forward one step" -msgstr "G et skridt fremad" - -#: ../src/gui_main.c:113 -msgid "_Up" -msgstr "_Op" - -#: ../src/gui_main.c:114 -msgid "Go up one level" -msgstr "G et niveau op" - -#: ../src/gui_main.c:117 -msgid "_Top" -msgstr "_Til top" - -#: ../src/gui_main.c:118 -msgid "Goto toplevel folder" -msgstr "G til verste niveau" - -#: ../src/gui_main.c:121 -msgid "_Settings..." -msgstr "_Indstillinger..." - -#: ../src/gui_main.c:122 -msgid "Edit settings" -msgstr "Rediger indstillinger" - -#: ../src/gui_main.c:125 -msgid "_About..." -msgstr "_Om..." - -#: ../src/gui_main.c:126 -msgid "About this program" -msgstr "Om det her program" - -#: ../src/gui_main.c:129 -msgid "_Refresh" -msgstr "_Opdater" - -#: ../src/gui_main.c:130 -msgid "Refresh current view" -msgstr "Genopfrisk nuvrende skrmbillede" - -#: ../src/gui_main.c:402 -msgid "scanning..." -msgstr "skanner..." - -#: ../src/gui_main.c:441 -msgid "Choose folder" -msgstr "Vlg mappe" - -#: ../src/about.c:60 -msgid "GdMap is a tool which allows to graphically explore your disks." -msgstr "" -"GdMap er et vrktj som giver dig mulighed for at udforske din disk grafisk" - -#: ../src/about.c:62 -msgid "translator-credits" -msgstr "Jesenko Mehmedbasic " - -#: ../src/preferences.c:288 -msgid "Default color" -msgstr "Standardfarve" - -#: ../src/preferences.c:292 -msgid "Color for file position" -msgstr "Fil positions farve" - -#: ../src/preferences.c:296 -msgid "Color for folder position" -msgstr "Mappe positions farve" - -#: ../src/preferences.c:300 -msgid "Color for folders" -msgstr "Mappe farve" - -#: ../src/preferences.c:306 ../src/preferences.c:309 -msgid "Enter file extensions here" -msgstr "Indtast filtype her" - -#: ../src/preferences.c:341 -msgid "Delete" -msgstr "Slet" - -#: ../src/preferences.c:360 -msgid "Color profile" -msgstr "Farveskema" - -#: ../src/preferences.c:380 -msgid "Basic colors" -msgstr "Basisfarver" - -#: ../src/preferences.c:396 -msgid "File colors" -msgstr "Filfarver" - -#: ../src/preferences.c:420 -msgid "add new color" -msgstr "tilfj ny farve" - -#: ../src/preferences.c:485 -msgid "Preferences" -msgstr "Indstillinger" - -#: ../src/preferences.c:496 -msgid "Display type" -msgstr "Display type" - -#: ../src/preferences.c:502 -msgid "Standard cushioned treemaps" -msgstr "Standard udlignet troversigt" - -#: ../src/preferences.c:506 -msgid "Squarified cushioned treemaps" -msgstr "Kvadratisk udlignet troversigt" - -#: ../src/preferences.c:520 -msgid "Cushion settings" -msgstr "Udligningsindstillinger" - -#: ../src/preferences.c:528 -msgid "Height factor:" -msgstr "Hjde faktor" - -#: ../src/preferences.c:540 -msgid "Decreasing height:" -msgstr "Aftagende hjde" - -#: ../src/preferences.c:553 -msgid "General display" -msgstr "Generelt display" - -#: ../src/preferences.c:561 -msgid "Maximum depth:" -msgstr "Maximal dybde" - -#. pre instance -#: ../src/preferences.c:567 -msgid "Use average color of children for folders" -msgstr "Brug gennemsnitsfarven af underelementer som mappefarve" - -#: ../src/preferences.c:576 -msgid "(0=unlimited)" -msgstr "(0=ubegrnset)" - -#: ../src/preferences.c:582 -msgid "Color settings" -msgstr "Farveindstillinger" - -#. gtk_table_set_homogeneous(GTK_TABLE(table), TRUE); -#: ../src/preferences.c:591 -msgid "Enable colors" -msgstr "Benyt farver" - -#: ../src/preferences.c:598 -msgid "Color profile..." -msgstr "Farveskema..." - -#: ../src/preferences.c:613 -msgid "Scanning options (requires re-scan)" -msgstr "" - -#: ../src/preferences.c:619 -msgid "Descend directories on other filesystems" -msgstr "" - -#: ../src/preferences.c:624 -msgid "Use allocated disk size of files" -msgstr "" --- gdmap.orig/configure +++ gdmap/configure @@ -5732,7 +5732,7 @@ -ALL_LINGUAS="bg de dk es fr he hr it nb no ru sv tr" +ALL_LINGUAS="bg da de es fr he hr it nb no ru sv tr" --- gdmap.orig/configure.ac +++ gdmap/configure.ac @@ -34,7 +34,7 @@ AC_SUBST(LIBXML_CFLAGS) AC_SUBST(LIBXML_LIBS) -ALL_LINGUAS="bg de dk es fr he hr it nb no ru sv tr" +ALL_LINGUAS="bg da de es fr he hr it nb no ru sv tr" AM_GLIB_GNU_GETTEXT AC_PROG_INTLTOOL debian/patches/desktop.patch0000644000000000000000000000050211537224400013302 0ustar Description: Remove obsolete Encoding entry Author: Stephen Kitt Last-Update: 2011-03-13 --- gdmap.orig/data/gdmap.desktop.in +++ gdmap/data/gdmap.desktop.in @@ -1,6 +1,5 @@ [Desktop Entry] Version=0.8.0 -Encoding=UTF-8 _Name=Graphical Disk Map _Comment=Display disk space using tree maps Exec=gdmap debian/patches/gtk-widget-macros.patch0000644000000000000000000000211211555456675015205 0ustar Description: Replace deprecated GTK macros with appropriate function Author: Luca Falavigna Author: Stephen Kitt --- gdmap.orig/src/gui_support.c +++ gdmap/src/gui_support.c @@ -85,7 +85,7 @@ const char* text; (void)event; - if (GTK_WIDGET_SENSITIVE(label)) { + if (gtk_widget_get_sensitive(label)) { char* temp; text = g_object_get_data(G_OBJECT(label), "label"); @@ -129,7 +129,7 @@ void ui_event_label_set_sensitive(GtkWidget* ebox, gboolean set) { gpointer callback = g_object_get_data(G_OBJECT(ebox), "callback"); GtkWidget* child = GTK_BIN(ebox)->child; - if (GTK_WIDGET_SENSITIVE(child) == set) return; + if (gtk_widget_get_sensitive(child) == set) return; if (set && !callback) return; gtk_widget_set_sensitive(child, set); @@ -164,7 +164,7 @@ // GDK_FOCUS_CHANGE_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK); - GTK_WIDGET_SET_FLAGS(ebox, GTK_CAN_FOCUS); + gtk_widget_set_can_focus(ebox, TRUE); gtk_widget_show(ebox); debian/menu0000644000000000000000000000023111537143611010053 0ustar ?package(gdmap):needs="X11" section="Applications/File Management"\ icon="/usr/share/pixmaps/gdmap_icon.xpm" title="gdmap"\ command="/usr/bin/gdmap" debian/source/0000755000000000000000000000000011555632015010471 5ustar debian/source/format0000644000000000000000000000001411537143660011702 0ustar 3.0 (quilt) debian/control0000644000000000000000000000154412161365427010604 0ustar Source: gdmap Section: graphics Priority: optional Maintainer: Stephen Kitt Build-Depends: autotools-dev, debhelper (>= 9), libgtk2.0-dev, libxml-parser-perl, libxml2-dev Homepage: http://gdmap.sourceforge.net Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/collab-maint/gdmap.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/gdmap.git;a=summary Package: gdmap Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: Tool to visualize diskspace GdMap is a tool which allows you to visualize disk space. Ever wondered why your hard disk is full or what directory and files take up most of the space? With GdMap these questions can be answered quickly. To display directory structures cushion treemaps are used which visualize a complete folder or even the whole hard drive with one picture. debian/rules0000755000000000000000000000051712161341077010253 0ustar #!/usr/bin/make -f DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed export DEB_LDFLAGS_MAINT_APPEND %: dh $@ --with autotools_dev override_dh_auto_install: dh_auto_install rm -rf $(CURDIR)/debian/gdmap/usr/share/gdmap override_dh_clean: rm -rf intltool-extract intltool-merge intltool-update po/missing data/gdmap.desktop dh_clean