--- linux-libertine-4.4.1.orig/debian/rules +++ linux-libertine-4.4.1/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +SHELL := sh -e + +%: + dh ${@} --with quilt + +override_dh_auto_clean: + dh_auto_clean + + rm -f *.afm *.pfb *.ttf + +override_dh_auto_build: + chmod 0755 debian/local/convert.pe + debian/local/convert.pe --format ".ttf" *.sfd + +override_dh_auto_install: + mkdir -p debian/ttf-linux-libertine/usr/share/fonts/truetype/linux-libertine + cp *.ttf debian/ttf-linux-libertine/usr/share/fonts/truetype/linux-libertine + + # Removing version from filenames + for FILE in LinLibertine_Re LinLibertine_It LinLibertineC_Re LinLibertine_Bd LinLibertine_BI; \ + do \ + mv debian/ttf-linux-libertine/usr/share/fonts/truetype/linux-libertine/$$FILE-*.ttf debian/ttf-linux-libertine/usr/share/fonts/truetype/linux-libertine/$$FILE.ttf; \ + done + + # Fontconf workaround for fontname alias + install -D -m 0644 debian/local/ttf-linux-libertine.conf debian/ttf-linux-libertine/etc/fonts/conf.avail/90-ttf-linux-libertine.conf + mkdir -p debian/ttf-linux-libertine/etc/fonts/conf.d + ln -s ../conf.avail/90-ttf-linux-libertine.conf debian/ttf-linux-libertine/etc/fonts/conf.d/90-ttf-linux-libertine.conf + + # Installing bug scripts + install -D -m 0644 debian/local/ttf-linux-libertine.presubj debian/ttf-linux-libertine/usr/share/bug/ttf-linux-libertine/presubj + install -D -m 0755 debian/local/ttf-linux-libertine.script debian/ttf-linux-libertine/usr/share/bug/ttf-linux-libertine/script --- linux-libertine-4.4.1.orig/debian/compat +++ linux-libertine-4.4.1/debian/compat @@ -0,0 +1 @@ +7 --- linux-libertine-4.4.1.orig/debian/control +++ linux-libertine-4.4.1/debian/control @@ -0,0 +1,21 @@ +Source: linux-libertine +Section: fonts +Priority: optional +Maintainer: Debian QA Group +Build-Depends: debhelper (>= 7.0.50~), quilt +Build-Depends-Indep: defoma, fontforge +Standards-Version: 3.8.3 +Homepage: http://linuxlibertine.sourceforge.net/ +Vcs-Browser: http://git.debian.net/?p=debian/linux-libertine.git +Vcs-Git: git://git.debian.net/git/debian/linux-libertine.git + +Package: ttf-linux-libertine +Architecture: all +Depends: ${misc:Depends}, defoma +Recommends: x-ttcidfont-conf | fontconfig +Description: The Linux Libertine family of free fonts + The Linux Libertine Open Font project is designed to give you a free + alternative for fonts like Times New Roman. Unlike other "free" fonts, all + fonts from Linux Libertine are provided with full sources (FontForge). + . + This package contains transformations to TrueType (.ttf). --- linux-libertine-4.4.1.orig/debian/changelog +++ linux-libertine-4.4.1/debian/changelog @@ -0,0 +1,146 @@ +linux-libertine (4.4.1-3) unstable; urgency=low + + * Removing vcs fields. + * Orphaning package. + + -- Daniel Baumann Thu, 27 Aug 2009 10:33:06 +0200 + +linux-libertine (4.4.1-2) unstable; urgency=low + + * Updating sections field. + * Using correct rfc-2822 date formats in changelog. + * Adding patch from Chris Lawrence to correct + wrong font naming (Closes: #523186). + * Updating package to standards version 3.8.3. + * Minimalizing rules file. + * Adding misc depends. + + -- Daniel Baumann Sun, 23 Aug 2009 09:52:19 +0200 + +linux-libertine (4.4.1-1) unstable; urgency=low + + * Replacing obsolete dh_clean -k with dh_prep. + * Merging upstream version 4.4.1. + * Updating year in copyright. + * Updating to standards 3.8.1. + * Removing old conflicts, replaces, transitional packages. + * Prefixing debhelper files with package name. + * Updating rules to current state of the art. + * Adding defoma hints for biolinum. + * Adding fontconfig workaround (Closes: #511145). + * Updating copyright file to mention font exception. + + -- Daniel Baumann Tue, 24 Mar 2009 09:42:00 +0100 + +linux-libertine (4.1.8-1) unstable; urgency=low + + * Merging upstream version 4.1.8. + * Removing docs debhelper file, references docs are not relevant anymore. + * Updating hints and rules as LinLibertineU_Re got removed. + + -- Daniel Baumann Wed, 05 Nov 2008 19:26:00 +0100 + +linux-libertine (2.8.14-2) unstable; urgency=medium + + * Adding versioned conflicts against libpango1.0-0, see #488015 for details. + Thanks to Nathan Myers . + * Updating vcs fields in control file. + * Renaming binary package from linux-libertine to ttf-linux-libertine + (Closes: #499107). + + -- Daniel Baumann Tue, 16 Sep 2008 11:38:00 +0200 + +linux-libertine (2.8.14-1) unstable; urgency=medium + + * Reordering rules file. + * Rewriting copyright file in machine-interpretable format. + * Adding vcs fields in control file. + * Upgrading package to standards 3.8.0. + * Upgrading package to debhelper 7. + * Removing watch file. + * Merging upstream version 2.8.14. + + -- Daniel Baumann Sun, 22 Jun 2008 22:43:00 +0200 + +linux-libertine (2.7-1) unstable; urgency=low + + * New upstream release: + - Fixes problem with standard font selection (Closes: #433421). + + -- Daniel Baumann Tue, 01 Jan 2008 23:42:00 +0100 + +linux-libertine (2.6-3) unstable; urgency=low + + * Bumping to new policy. + * Using new homepage field in control. + * Removing watch file (Closes: #450195). + * Renaming font files to not contain version in the filenames + (Closes: #457879). + + -- Daniel Baumann Wed, 26 Dec 2007 21:04:00 +0100 + +linux-libertine (2.6-2) unstable; urgency=medium + + * Disabling type1 conversion until a fixed convert.pe has been made. + + -- Daniel Baumann Wed, 10 Oct 2007 10:36:00 +0200 + +linux-libertine (2.6-1) unstable; urgency=low + + * New upstream release (Closes: #429040). + + -- Daniel Baumann Fri, 06 Jul 2007 21:03:00 +0200 + +linux-libertine (2.5.9-1) unstable; urgency=low + + * New upstream release. + * Added patch from Ludovic Courtes to update type1 + defoma-hints (Closes: #422108). + + -- Daniel Baumann Mon, 07 May 2007 15:33:00 +0200 + +linux-libertine (2.4.9-2) unstable; urgency=low + + * Fixed typo in hints (Closes: #415300). + + -- Daniel Baumann Sun, 18 Mar 2007 05:35:00 +0100 + +linux-libertine (2.4.9-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Sat, 17 Mar 2007 09:54:00 +0100 + +linux-libertine (2.3.2-1) unstable; urgency=low + + * New upstream release. + * Bumped to debhelper 5. + + -- Daniel Baumann Sun, 04 Mar 2007 23:21:00 +0100 + +linux-libertine (2.2.0-2) unstable; urgency=medium + + * Corrected defoma-hints as reported by Peter Marschall + (Closes: #400469). + + -- Daniel Baumann Sun, 26 Nov 2006 15:35:00 +0100 + +linux-libertine (2.2.0-1) unstable; urgency=low + + * New upstream release. + + -- Daniel Baumann Sat, 07 Oct 2006 00:51:00 +0200 + +linux-libertine (2.1.9-1) unstable; urgency=low + + * New upstream release: + - instead of GPL only, the new release is dual-licensed under GPL and OFL, + hence updated debian/copyright. + + -- Daniel Baumann Sun, 03 Sep 2006 22:38:00 +0200 + +linux-libertine (2.1.0-1) unstable; urgency=low + + * Initial release (Closes: #350302). + + -- Daniel Baumann Tue, 01 Aug 2006 13:53:00 +0200 --- linux-libertine-4.4.1.orig/debian/copyright +++ linux-libertine-4.4.1/debian/copyright @@ -0,0 +1,57 @@ +Author: Philipp H. Poll +Download: http://linuxlibertine.sourceforge.net/ + +Files: * +Copyright: (C) 2003-2009 Philipp H. Poll +License: GPL2+ | OFL + The linux-libertine fonts are dual-licensed + under the GNU General Public License (GPL) with font exception, + and the SIL Open Font License (OFL). + . + In Debian, linux-libertine is distributed under GPL. + . + 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 Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + As a special exception, if you create a document which uses this font, and + embed this font or unaltered portions of this font into the document, this font + does not by itself cause the resulting document to be covered by the GNU + General Public License. This exception does not however invalidate any other + reasons why the document might be covered by the GNU General Public License. If + you modify this font, you may extend this exception to your version of the + font, but you are not obligated to do so. If you do not wish to do so, delete + this exception statement from your version. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: debian/* +Copyright: (C) 2006-2009 Daniel Baumann +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 Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. --- linux-libertine-4.4.1.orig/debian/ttf-linux-libertine.postinst +++ linux-libertine-4.4.1/debian/ttf-linux-libertine.postinst @@ -0,0 +1,31 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + if [ -x /usr/bin/fc-cache ] + then + echo -n "Regenerating fonts cache... " + + HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \ + (echo "failed; see /var/log/fontconfig.log for more information."; \ + exit 1) + + echo "done." + fi + ;; + + abort-upgrade|abort-deconfigure|abort-remove) + + ;; + + *) + echo "${0} called with unknown argument \`${1}'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- linux-libertine-4.4.1.orig/debian/ttf-linux-libertine.defoma-hints +++ linux-libertine-4.4.1/debian/ttf-linux-libertine.defoma-hints @@ -0,0 +1,106 @@ +category truetype + +begin /usr/share/fonts/truetype/linux-libertine/LinLibertine_Re.ttf + Family = Linux-Libertine + FontName = Linux-Libertine + Encoding = Unicode + Location = English + Charset = ISO8859-1 + UniCharset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Serif Upright + Foundry = Philipp-Poll + Priority = 20 +end + +begin /usr/share/fonts/truetype/linux-libertine/LinLibertineC_Re.ttf + Family = Linux-Libertine + FontName = Linux-Libertine-Condensed + Encoding = Unicode + Location = English + Charset = ISO8859-1 + UniCharset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Serif Upright + Foundry = Philipp-Poll + Priority = 20 +end + +begin /usr/share/fonts/truetype/linux-libertine/LinLibertine_Bd.ttf + Family = Linux-Libertine + FontName = Linux-Libertine-Bold + Encoding = Unicode + Location = English + Charset = ISO8859-1 + UniCharset = ISO8859-1 + GeneralFamily = Roman + Weight = Bold + Width = Variable + Shape = Serif Upright + Foundry = Philipp-Poll + Priority = 20 +end + +begin /usr/share/fonts/truetype/linux-libertine/LinLibertine_BI.ttf + Family = Linux-Libertine + FontName = Linux-Libertine-Bold-Oblique + Encoding = Unicode + Location = English + Charset = ISO8859-1 + UniCharset = ISO8859-1 + GeneralFamily = Roman + Weight = Bold + Width = Variable + Shape = Serif Oblique + Foundry = Philipp-Poll + Priority = 20 +end + +begin /usr/share/fonts/truetype/linux-libertine/LinLibertine_It.ttf + Family = Linux-Libertine + FontName = Linux-Libertine-Oblique + Encoding = Unicode + Location = English + Charset = ISO8859-1 + UniCharset = ISO8859-1 + GeneralFamily = Roman + Weight = Medium + Width = Variable + Shape = Serif Oblique + Foundry = Philipp-Poll + Priority = 20 +end + +begin /usr/share/fonts/truetype/linux-libertine/Biolinum_Re.ttf + Family = Linux-Biolinum + FontName = Linux-Biolinum + Encoding = Unicode + Location = English + Charset = ISO8859-1 + UniCharset = ISO8859-1 + GeneralFamily = SansSerif + Weight = Medium + Width = Variable + Shape = NoSerif Upright + Foundry = Philipp-Poll + Priority = 20 +end + +begin /usr/share/fonts/truetype/linux-libertine/Biolinum_Bd.ttf + Family = Linux-Biolinum + FontName = Linux-Biolinum-Bold + Encoding = Unicode + Location = English + Charset = ISO8859-1 + UniCharset = ISO8859-1 + GeneralFamily = SansSerif + Weight = Bold + Width = Variable + Shape = NoSerif Upright + Foundry = Philipp-Poll + Priority = 20 +end --- linux-libertine-4.4.1.orig/debian/patches/01-fontname.patch +++ linux-libertine-4.4.1/debian/patches/01-fontname.patch @@ -0,0 +1,16 @@ +Author: Chris Lawrence +Description: Corrects wrong font naming (Closes: #523186). + +diff -Naurp linux-libertine.orig/LinLibertine_Bd-4.1.0RO.sfd linux-libertine/LinLibertine_Bd-4.1.0RO.sfd +--- linux-libertine.orig/LinLibertine_Bd-4.1.0RO.sfd 2009-06-08 15:50:02.000000000 +0000 ++++ linux-libertine/LinLibertine_Bd-4.1.0RO.sfd 2009-08-23 07:32:21.000000000 +0000 +@@ -1,7 +1,7 @@ + SplineFontDB: 3.0 + FontName: LinLibertineB +-FullName: Linux Libertine Bold +-FamilyName: Linux Libertine ++FullName: Linux Libertine O Bold ++FamilyName: Linux Libertine O + Weight: Bold + Copyright: Linux Libertine by Philipp H. Poll, Open Font under Terms of following Free Software Licenses:\nGPL (General Public License) with font-exception and OFL (Open Font License).\nCreated with FontForge (http://fontforge.sf.net) Sept 2003, 2004, 2005, 2006, 2007, 2008, 2009 + UComments: "2003-08-29: Created.+AAoA-2004-07-25: v(1.0) release candidate+AAoA-2005-12-28: v(1.1.0) stable+AAoA-2006-01-01: v(2.0.0) stable+AAoA-2006-09-05: v(2.2.0) stable+AAoA-2006-12-04: v(2.3.0) stable+AAoA-2007-03-11: v(2.4.0) stable+AAoA-2007-06-11: v(2.6.0) stable+AAoA-2007-12-00: v(2.7.0) stable+AAoA-2008-06-00: v(2.8.14) stable+AAoA" --- linux-libertine-4.4.1.orig/debian/patches/series +++ linux-libertine-4.4.1/debian/patches/series @@ -0,0 +1 @@ +01-fontname.patch --- linux-libertine-4.4.1.orig/debian/local/convert.pe +++ linux-libertine-4.4.1/debian/local/convert.pe @@ -0,0 +1,58 @@ +#!/usr/bin/fontforge +# +# This script is take from: +# http://fontforge.sourceforge.net/scripting-tutorial.html +# +# Copyright (C) 2000-2006 George Williams +# +# 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. +# +# The name of the author may not be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. + +i=1 +format=".ttf" +while ( i<$argc ) + if ( $argv[i]=="-format" || $argv[i]=="--format" ) + i=i+1 + if ( i<$argc ) + format = $argv[i] + if ( format!=".ttf" && format!=".otf" && \ + format!=".pfb" && format!=".svg" ) + Error( "Expected one of '.ttf', '.otf', '.pfb' or '.svg' for format" ) + endif + endif + else + Open($argv[i]) + if ( $order==2 && (format==".otf" || format==".pfb" )) + SetFontOrder(3) + SelectAll() + Simplify(128+32+8,1.5) + ScaleToEm(1000) + elseif ( $order==3 && format==".ttf" ) + ScaleToEm(2048) + RoundToInt() + endif + Generate($argv[i]:r + format) + endif + i = i+1 +endloop --- linux-libertine-4.4.1.orig/debian/local/ttf-linux-libertine.conf +++ linux-libertine-4.4.1/debian/local/ttf-linux-libertine.conf @@ -0,0 +1,11 @@ + + + + + + + Linux Libertine + Linux Libertine O + + + --- linux-libertine-4.4.1.orig/debian/local/ttf-linux-libertine.presubj +++ linux-libertine-4.4.1/debian/local/ttf-linux-libertine.presubj @@ -0,0 +1,14 @@ +When reporting bugs in the fonts themselves (i.e. not just in the packaging), +please be sure to include the following information as far as applicable: + + * The versions of your libfreetype6, libxft2 and fontconfig packages, + * all relevant configuration (especially anti-aliasing and hinting), + * the application being used, + * the affected unicode code points. + +It may also be helpful if you can provide a screenshot demonstrating the +problem, however please don't attach it to the initial bug report (especially +not if it is large). Please also try to make sure that it is actually a bug in +the fonts and not e.g. in freetype (if a problem appears after a freetype update +or if other fonts exhibit similar problems it is a sure sign that the problem is +in freetype). --- linux-libertine-4.4.1.orig/debian/local/ttf-linux-libertine.script +++ linux-libertine-4.4.1/debian/local/ttf-linux-libertine.script @@ -0,0 +1,3 @@ +#!/bin/sh + +dpkg -l libfreetype6 libxft2 fontconfig >&3