debian/0000755000000000000000000000000011752525562007200 5ustar debian/compat0000644000000000000000000000000211560266221010365 0ustar 7 debian/patches/0000755000000000000000000000000011752523535010625 5ustar debian/patches/series0000644000000000000000000000005611752523475012046 0ustar 0001-nonexistent_cache.patch 1001-gcc47.patch debian/patches/1001-gcc47.patch0000644000000000000000000000105111752525055013130 0ustar Description: Fix missing #includes to prevent FTBFS with GCC 4.7. Author: Alessio Treglia Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672043 Forwarded: http://code.google.com/p/font-manager/issues/detail?id=71 --- src/lib/fm-fontutils.c | 1 + 1 file changed, 1 insertion(+) --- font-manager.orig/src/lib/fm-fontutils.c +++ font-manager/src/lib/fm-fontutils.c @@ -21,6 +21,7 @@ * Boston, MA 02110-1301, USA */ +#include #include #include #include debian/patches/0001-nonexistent_cache.patch0000644000000000000000000000560011560266221015717 0ustar Description: Don't remove cache dir if non-existent. Origin: upstream, http://code.google.com/p/font-manager/source/detail?r=261 Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=658328 --- src/lib/fm-fontutils.c | 16 ++++++++-------- src/ui/fontconfig.py | 8 +++++--- 2 files changed, 13 insertions(+), 11 deletions(-) --- font-manager.orig/src/lib/fm-fontutils.c +++ font-manager/src/lib/fm-fontutils.c @@ -72,8 +72,8 @@ FcListFiles() { FcChar8 *file; - FcPatternGetString(fontset->fonts[i], FC_FILE, 0, &file); - filelist = g_slist_prepend(filelist, g_strdup((const gchar *) file)); + if (FcPatternGetString(fontset->fonts[i], FC_FILE, 0, &file) == FcResultMatch) + filelist = g_slist_prepend(filelist, g_strdup((const gchar *) file)); } if (objectset) @@ -272,7 +272,7 @@ _get_base_font_info(FontInfo *fontinfo, PangoFontDescription *descr; /* Need to add this font to the configuration, it may not be there in the - * case where this the font is not installed yet or possibly just installed + * case where this font is not installed yet or possibly just installed */ FcConfigAppFontAddFile(FcConfigGetCurrent(), filepath); @@ -287,10 +287,10 @@ _get_base_font_info(FontInfo *fontinfo, FcChar8 *family, *style; - FcPatternGetString(fontset->fonts[i], FC_FAMILY, 0, &family); - FcPatternGetString(fontset->fonts[i], FC_STYLE, 0, &style); - ADD_PROP(fontinfo->family, family); - ADD_PROP(fontinfo->style, style); + if (FcPatternGetString(fontset->fonts[i], FC_FAMILY, 0, &family) == FcResultMatch) + ADD_PROP(fontinfo->family, family); + if (FcPatternGetString(fontset->fonts[i], FC_STYLE, 0, &style) == FcResultMatch) + ADD_PROP(fontinfo->style, style); } descr = pango_fc_font_description_from_pattern(pattern, FALSE); @@ -539,7 +539,7 @@ static const struct } NoticeData[] = { - {"Bigelow", "B&H"}, + {"Bigelow", "Bigelow & Holmes"}, {"Adobe", "Adobe"}, {"Bitstream", "Bitstream"}, {"Monotype", "Monotype"}, --- font-manager.orig/src/ui/fontconfig.py +++ font-manager/src/ui/fontconfig.py @@ -376,9 +376,11 @@ class ConfigEdit(gtk.Window): for name in self.cache.iterkeys(): discard_fontconfig_settings(self.cache[name]) self.save_settings(None) - os.unlink(join(CACHE_DIR, CACHED_SETTINGS)) - os.unlink(join(USER_FONT_CONFIG_DIR, - '25-{0}.conf'.format(self.selected_family.get_name()))) + cache = join(CACHE_DIR, CACHED_SETTINGS) + not exists(cache) or os.unlink(cache) + cache = join(USER_FONT_CONFIG_DIR, + '25-{0}.conf'.format(self.selected_family.get_name())) + not exists(cache) or os.unlink(cache) return def save_cache(self): debian/font-manager.manpages0000644000000000000000000000002611560266221013260 0ustar debian/font-manager.1 debian/rules0000755000000000000000000000023011560267727010256 0ustar #!/usr/bin/make -f LDFLAGS+=-Wl,--as-needed %: dh $@ --with=autoreconf,python2 override_dh_auto_configure: dh_auto_configure -- --enable-debuginfo debian/docs0000644000000000000000000000002111560266221010033 0ustar NEWS README TODO debian/control0000644000000000000000000000263211752525344010604 0ustar Source: font-manager Section: graphics Priority: optional Maintainer: Alessio Treglia Uploaders: Andrea Colangelo Build-Depends: autotools-dev (>= 20100122.1~), debhelper (>= 7.0.50~), dh-autoreconf, libfontconfig-dev, libfreetype6-dev, libglib2.0-dev, libpango1.0-dev, libsqlite3-dev, python-all-dev (>= 2.6.6-3) X-Python-Version: >= 2.6 Standards-Version: 3.9.3 Homepage: http://code.google.com/p/font-manager/ Vcs-Git: git://git.debian.org/collab-maint/font-manager.git Vcs-Browser: http://git.debian.org/?p=collab-maint/font-manager.git Package: font-manager Architecture: any Depends: python-dbus, python-gobject, python-gtk2, python-libxml2, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends} Suggests: python-reportlab Description: font management application for the GNOME desktop Font Manager currently allows the user to: - Preview installed fonts - Compare installed fonts - Easily install or remove fonts - Easily activate and de-activate installed fonts - Specify different directories to search for fonts - Group fonts into "Collections", and easily activate or de-activate groups of fonts - Export "Collections" to an archive for easy backup, sharing, etc. - Provides quick access to all GNOME font utilities. . Font Manager suggests the installation of python-reportlab to allow users to export font collections in the PDF format. debian/font-manager.10000644000000000000000000000204011560266221011623 0ustar .TH FONT-MANAGER 1 "August 5, 2010" .SH NAME font-manager \- font management application for the GNOME desktop .SH SYNOPSIS .B font-manager .SH DESCRIPTION This manual page documents briefly the .B font-manager and .B font-sampler commands. .PP \fBFont Manager\fP is a font management application for the GNOME desktop. It is not intended to be a professional-grade font management solution, but rather a simple application suitable for the needs of most desktop users and even some graphics designers who may need to manage just a few thousand font files. Although designed with the GNOME desktop environment in mind, it works well with most major desktop environments such as XFCE, Enlightenment, and KDE. .PP .B font-manager has been written with Python and GTK+2 and after installing the application you can run it from the .B Applications menu. .SH AUTHOR font-manager was written by Jerry Casiano . .PP This manual page was written by Alessio Treglia , for the Debian project (and may be used by others). debian/changelog0000644000000000000000000000363711752525411011054 0ustar font-manager (0.5.7-4) unstable; urgency=low * Fix missing #includes to prevent FTBFS with GCC 4.7. (Closes: #672043) * debian/copyright: - Update copyright years. - Update to machine-readable format. * Bump Standards. -- Alessio Treglia Wed, 09 May 2012 10:35:16 -0700 font-manager (0.5.7-3) unstable; urgency=low * debian/rules: - Enable dh-autoreconf add-on. - Pass --enable-debuginfo to configure to not strip objects from the library by default. * debian/control: - Bump debhelper build-dependency, override_* rules need dh >= 7.0.50~. - Build-depend on python-all-dev (>= 2.6.6-3). -- Alessio Treglia Mon, 14 Mar 2011 12:35:50 +0100 font-manager (0.5.7-2) unstable; urgency=low * Don't remove cache dir if non-existent. -- Alessio Treglia Mon, 24 Jan 2011 18:43:57 +0100 font-manager (0.5.7-1) unstable; urgency=low * New upstream release. * Switch to use dh_python2. * debian/control: - Drop build-dep on python-support. - Update build-dependency on debhelper. - Build-depend on libsqlite3-dev. - Replace XS-Python-Version field with X-Python-Version. * Add sign-tags = True in debian/gbp.conf. * Update watch file to use debian.net's redirector. -- Alessio Treglia Wed, 29 Dec 2010 01:44:08 +0100 font-manager (0.5.6-1) unstable; urgency=low * New upstream release. * Build-Depends on libpango1.0-dev. * Add Vcs fields. * Drop 01-desktop_file.patch, applied upstream. * Pass -Wl,--as-needed to the linker. * Use 'dh --with foo' for compatibility with DH v8. * Add the kind Andrea Colangelo to the Uploaders list. -- Alessio Treglia Tue, 10 Aug 2010 15:59:35 +0200 font-manager (0.5.5-1) unstable; urgency=low * Initial release (Closes: #591790). -- Alessio Treglia Thu, 05 Aug 2010 16:59:42 +0200 debian/font-manager.links0000644000000000000000000000011211560266221012601 0ustar usr/share/man/man1/font-manager.1.gz usr/share/man/man1/font-sampler.1.gz debian/gbp.conf0000644000000000000000000000010311560266221010600 0ustar [DEFAULT] pristine-tar = True sign-tags = True compression = bzip2 debian/copyright0000644000000000000000000000224011752525275011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Font Manager Upstream-Contact: Jerry Casiano Source: http://code.google.com/p/font-manager/downloads/list Files: * Copyright: 2009,2010 Jerry Casiano License: GPL-3+ Files: debian/* Copyright: 2010-2012 Alessio Treglia License: GPL-3+ License: GPL-3+ 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 3 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. Comment: On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. . You should have received a copy of the GNU General Public License along with this program. If not, see . debian/source/0000755000000000000000000000000011560266221010467 5ustar debian/source/format0000644000000000000000000000001411560266221011675 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000012511560266221010216 0ustar version=3 http://googlecode.debian.net/p/font-manager/font-manager-(\d+.*)\.tar\.bz2 debian/menu0000644000000000000000000000017611560266221010062 0ustar ?package(font-manager):needs="X11"\ section="Applications/Graphics"\ title="Font Manager"\ command="/usr/bin/font-manager"