--- pango1.0-1.19.3.orig/debian/libpango1.0-0.links.in +++ pango1.0-1.19.3/debian/libpango1.0-0.links.in @@ -0,0 +1 @@ +usr/share/doc/libpango@APIVER@-common usr/share/doc/libpango@APIVER@-@SONAME@ --- pango1.0-1.19.3.orig/debian/libpango1.0-dev.manpages +++ pango1.0-1.19.3/debian/libpango1.0-dev.manpages @@ -0,0 +1 @@ +debian/dh_pangomodules.1 --- pango1.0-1.19.3.orig/debian/patches/10_scan-module-files-in-dirs.patch +++ pango1.0-1.19.3/debian/patches/10_scan-module-files-in-dirs.patch @@ -0,0 +1,55 @@ +Index: pango1.0-1.16.0/pango/modules.c +=================================================================== +--- pango1.0-1.16.0.orig/pango/modules.c 2007-01-23 00:41:43.000000000 +0100 ++++ pango1.0-1.16.0/pango/modules.c 2007-03-07 11:16:16.000000000 +0100 +@@ -40,6 +40,9 @@ + #define PANGO_MODULE(module) (G_TYPE_CHECK_INSTANCE_CAST ((module), PANGO_TYPE_MODULE, PangoModule)) + #define PANGO_IS_MODULE(module) (G_TYPE_CHECK_INSTANCE_TYPE ((module), PANGO_TYPE_MODULE)) + ++#define MODULEFILEEXT ".modules" ++#define MODULEFILEEXT_LEN ((int) strlen (MODULEFILEEXT)) ++ + typedef struct _PangoMapInfo PangoMapInfo; + typedef struct _PangoEnginePair PangoEnginePair; + typedef struct _PangoSubmap PangoSubmap; +@@ -519,11 +522,36 @@ + + while (n-- > 0) + { +- module_file = g_fopen (files[n], "r"); +- if (module_file) ++ GDir *dir = g_dir_open (files[n], 0, NULL); ++ if (dir) + { +- process_module_file(module_file); +- fclose(module_file); ++ const char *dent; ++ ++ while ((dent = g_dir_read_name (dir))) ++ { ++ int len = strlen (dent); ++ if (len > MODULEFILEEXT_LEN && strcmp (dent + len - MODULEFILEEXT_LEN, MODULEFILEEXT) == 0) ++ { ++ gchar *pathname = g_build_filename (files[n], dent, NULL); ++ module_file = g_fopen (pathname, "r"); ++ if (module_file) ++ { ++ process_module_file(module_file); ++ fclose(module_file); ++ } ++ g_free (pathname); ++ } ++ } ++ g_dir_close (dir); ++ } ++ else ++ { ++ module_file = g_fopen (files[n], "r"); ++ if (module_file) ++ { ++ process_module_file(module_file); ++ fclose(module_file); ++ } + } + } + --- pango1.0-1.19.3.orig/debian/patches/series +++ pango1.0-1.19.3/debian/patches/series @@ -0,0 +1,4 @@ +10_scan-module-files-in-dirs.patch +11_module-files-append-module-files-d.patch +12_module-files-append-compat-module-files-d.patch +30_anymetrics.patch --- pango1.0-1.19.3.orig/debian/patches/12_module-files-append-compat-module-files-d.patch +++ pango1.0-1.19.3/debian/patches/12_module-files-append-compat-module-files-d.patch @@ -0,0 +1,59 @@ +Index: pango1.0-1.16.0/pango/modules.c +=================================================================== +--- pango1.0-1.16.0.orig/pango/modules.c 2007-03-07 11:16:26.000000000 +0100 ++++ pango1.0-1.16.0/pango/modules.c 2007-03-07 11:16:33.000000000 +0100 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -508,6 +509,18 @@ + MODULE_VERSION, + "module-files.d", + NULL); ++ ++#if defined(__linux__) && defined (__i386__) ++ char *compat_module_files_d_str = g_build_filename ("/usr/lib32/pango", ++ MODULE_VERSION, ++ "module-files.d", ++ NULL); ++#elif defined(__linux__) && ( defined (__x86_64__) || defined(__ia64__) ) ++ char *compat_module_files_d_str = g_build_filename ("/usr/lib64/pango", ++ MODULE_VERSION, ++ "module-files.d", ++ NULL); ++#endif + char *list_str; + char **files; + int n; +@@ -519,6 +532,17 @@ + "pango.modules", + NULL); + ++#if defined(__linux__) && ( defined(__i386__) || defined (__x86_64__) || defined(__ia64__) ) ++ /* prefer compat_module_files_d_str over module_files_d_str on the above ++ * arches if it's usable */ ++ if (! g_access(compat_module_files_d_str, R_OK|X_OK)) ++ list_str = g_strjoin (G_SEARCHPATH_SEPARATOR_S, ++ file_str, ++ compat_module_files_d_str, ++ NULL); ++ else /* continued below */ ++#endif ++ + list_str = g_strjoin (G_SEARCHPATH_SEPARATOR_S, + file_str, + module_files_d_str, +@@ -568,6 +592,9 @@ + g_strfreev (files); + g_free (list_str); + g_free (module_files_d_str); ++#if defined(__linux__) && ( defined(__i386__) || defined (__x86_64__) || defined(__ia64__) ) ++ g_free (compat_module_files_d_str); ++#endif + g_free (file_str); + + dlloaded_engines = g_slist_reverse (dlloaded_engines); --- pango1.0-1.19.3.orig/debian/patches/11_module-files-append-module-files-d.patch +++ pango1.0-1.19.3/debian/patches/11_module-files-append-module-files-d.patch @@ -0,0 +1,39 @@ +Index: pango1.0-1.16.0/pango/modules.c +=================================================================== +--- pango1.0-1.16.0.orig/pango/modules.c 2007-03-07 11:16:16.000000000 +0100 ++++ pango1.0-1.16.0/pango/modules.c 2007-03-07 11:16:26.000000000 +0100 +@@ -504,6 +504,11 @@ + FILE *module_file; + + char *file_str = pango_config_key_get ("Pango/ModuleFiles"); ++ char *module_files_d_str = g_build_filename (pango_get_lib_subdirectory (), ++ MODULE_VERSION, ++ "module-files.d", ++ NULL); ++ char *list_str; + char **files; + int n; + +@@ -514,7 +519,12 @@ + "pango.modules", + NULL); + +- files = pango_split_file_list (file_str); ++ list_str = g_strjoin (G_SEARCHPATH_SEPARATOR_S, ++ file_str, ++ module_files_d_str, ++ NULL); ++ ++ files = pango_split_file_list (list_str); + + n = 0; + while (files[n]) +@@ -556,6 +566,8 @@ + } + + g_strfreev (files); ++ g_free (list_str); ++ g_free (module_files_d_str); + g_free (file_str); + + dlloaded_engines = g_slist_reverse (dlloaded_engines); --- pango1.0-1.19.3.orig/debian/patches/30_anymetrics.patch +++ pango1.0-1.19.3/debian/patches/30_anymetrics.patch @@ -0,0 +1,36 @@ +--- pango1.0-1.19.3.orig/pango/pangofc-fontmap.c 2008-01-22 19:25:54.000000000 +0100 ++++ pango1.0-1.19.3/pango/pangofc-fontmap.c 2008-01-22 19:25:58.000000000 +0100 +@@ -834,6 +834,7 @@ + #endif + FC_SIZE, FcTypeDouble, pixel_size * (72. / dpi), + FC_PIXEL_SIZE, FcTypeDouble, pixel_size, ++ FC_ANY_METRICS, FcTypeBool, FcTrue, + NULL); + + families = g_strsplit (pango_font_description_get_family (description), ",", -1); +@@ -993,6 +994,7 @@ + FcPattern *tmp = FcPatternBuild (NULL, + FC_FAMILY, FcTypeString, "Sans", + FC_SIZE, FcTypeDouble, 10., ++ FC_ANY_METRICS, FcTypeBool, FcTrue, + NULL); + if (tmp) + { +@@ -1673,6 +1675,7 @@ + match_pattern = FcPatternBuild (NULL, + FC_FAMILY, FcTypeString, fcfamily->family_name, + FC_STYLE, FcTypeString, fcface->style, ++ FC_ANY_METRICS, FcTypeBool, FcTrue, + NULL); + + g_assert (match_pattern); +--- pango1.0-1.19.3.orig/pango/pangoft2.c 2008-01-22 19:25:54.000000000 +0100 ++++ pango1.0-1.19.3/pango/pangoft2.c 2008-01-22 19:25:58.000000000 +0100 +@@ -96,6 +96,7 @@ + sans = FcPatternBuild (NULL, + FC_FAMILY, FcTypeString, "sans", + FC_PIXEL_SIZE, FcTypeDouble, (double)ft2font->size / PANGO_SCALE, ++ FC_ANY_METRICS, FcTypeBool, FcTrue, + NULL); + + _pango_ft2_font_map_default_substitute ((PangoFcFontMap *)fcfont->fontmap, sans); --- pango1.0-1.19.3.orig/debian/README.Defoma +++ pango1.0-1.19.3/debian/README.Defoma @@ -0,0 +1,17 @@ +Pango for Defoma +----------------- + +Right now /etc/pango/pangox.aliases should be generated by defoma script. +All of the fonts which are supported by defoma will also work for Pango. +Unfortunately, as of now most font packages don't support defoma; +so we need to help them along (of course I wish all of font packages would +support defoma :) + +If you can't found any fonts which you need in pangox.aliases file, please +let me know; but note that I maybe won't be supporting those fonts which are +not found in debian packages. + +However you can modify /etc/defoma/config/pango.conf. That list will be +appended to the pangox.aliases file. + + -- Akira TAGOH , Fri, 27 Sep 2002 09:39:30 +0900 --- pango1.0-1.19.3.orig/debian/libpango1.0-common.prerm +++ pango1.0-1.19.3/debian/libpango1.0-common.prerm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ]; then + /usr/bin/defoma-app purge pango +fi + +if [ "$1" = "upgrade" ]; then + /usr/bin/defoma-app clean pango +fi + +#DEBHELPER# --- pango1.0-1.19.3.orig/debian/libpango1.0-common.README.Debian +++ pango1.0-1.19.3/debian/libpango1.0-common.README.Debian @@ -0,0 +1,75 @@ +Pango for Debian +---------------- + +These packages provides the renderer as the follow: + + - X Window System + - Xft2 + - FreeType + + +pangox.aliases file: +I recommend strongly that /etc/pango/pangox.aliases is +managed by defoma, because you can also write some font +settings to ~/.pangox_aliases instead. this file will get +preference over /etc/pango/pangox.aliases. When you will +see some broken characters or empty squares, please try to +install suggested font packages. these packages supports +defoma, so pangox.aliases will be automatically generated, +when you install them. + +If you don't want to use defoma and you prefer to edit +pangox.aliases manually, please run 'dpkg-reconfigure +libpango1.0-common', and says 'No' for manage the file by +yourself. + + +Static-linked probram: +Right now the static version of Pango1.0 includes all of +modules. even if your program will links those static +libraries, your program should have no problem. However if +you see any problem, which is related the static libraries, +you may solve it - please try to make your program without +-static gcc option. I mean: + +gcc -export-dynamic -o foo foo.c -Wl,-Bstatic + `pkg-config --cflags --libs pango` -Wl,-Bdynamic + +Pango uses dlopen(3) function in order to load some +modules. Generally dynamic-linked programs/libraries has the +Procedure Linkage Table(PLT), and the undefined symbols are +resolved with it by the dynamic linker. however fully +static-linked programs has no PLT. so the dynamic linker has +no way to know what symbols they have. When the loadable +modules links another shared libraries and that shared +libraries has the same symbols with the static-linked +program, the problem may be caused. It's an ELF spec, but +not Pango bug. + + +Default renderer: +the default renderer has been changed to Xft2 since 1.2.0 +has been released. and your font configuration depends on a +fontconfig configuration file /etc/fonts/fonts.conf. If you +want to change any of the fonts, you need to change +/etc/fonts/fonts.conf. If you want to use the X window +system fonts, which is managed by pangox.aliases file, +rather than the Xft2 renderer, you need to set GDK_USE_XFT=0 +as an environment variable. + + +To work Pango for multilingualization: +You may need to install appropriate font packages to get +proper encodings for use with Pango. If you don't have +fonts installed that are compatible with the locales you +want to use, you may get empty squares instead of correct +glyphs. +If you add font packages: +- If you use Pango with GDK_USE_XFT=0, remember to modify +pangox.aliases file. especially that font packages doesn't +support the defoma mechanism. +- Otherwise, remember to run fc-cache. + + + -- Akira TAGOH Sat, 6 Sep 2003 14:04:28 +0900 + --- pango1.0-1.19.3.orig/debian/copyright +++ pango1.0-1.19.3/debian/copyright @@ -0,0 +1,60 @@ +This package was debianized by Akira TAGOH on +Sun, 10 Mar 2002 22:30:33 +0900. + +It was downloaded from: + + +Upstream Authors: + Owen Taylor + + Robert Brady (Indic shapers), Hans Breuer (Windows backend), Matthias + Clasen (Documentation), Sivaraj Doddannan (Tamil shaper), Dov Grobgeld + (Hebrew shaper), Karl Koehler (Arabic shaper), Alex Larsson (FreeType + and Windows backends), Tor Lillqvist (FreeType and Windows backends), + Changwoo Ryu (Hangul shaper), Havoc Pennington, Roozbeh Pournader + (Arabic shaper), Chookij Vanatham (Hebrew shaper). + +Copyright: + 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 Lesser 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 + + See /usr/share/common-licenses/LGPL-2 on your debian system. + + Pango includes HarfBuzz, an OpenType Layout engine library, below + pango/opentype: + Copyright (C) 1998-2004 David Turner and Werner Lemberg + Copyright (C) 2004,2007 Red Hat, Inc. + + This is part of HarfBuzz, an OpenType Layout engine library. + + Permission is hereby granted, without written agreement and without + license or royalty fees, to use, copy, modify, and distribute this + software and its documentation for any purpose, provided that the + above copyright notice and the following two paragraphs appear in + all copies of this software. + + IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR + DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN + IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + + THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO + PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + Red Hat Author(s): Owen Taylor, Behdad Esfahbod + --- pango1.0-1.19.3.orig/debian/libpango1.0-0.install.in +++ pango1.0-1.19.3/debian/libpango1.0-0.install.in @@ -0,0 +1,3 @@ +# from the shared flavor +debian/install/shared/@LIBDIR@/*.so.* @LIBDIR@ +debian/install/shared/@MODULES_PATH@/*.so @MODULES_PATH@ --- pango1.0-1.19.3.orig/debian/watch +++ pango1.0-1.19.3/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://ftp.gnome.org/pub/GNOME/sources/pango/([\d\.]+[02468])/pango-(.*)\.tar\.gz \ + debian uupdate --- pango1.0-1.19.3.orig/debian/pango.defoma +++ pango1.0-1.19.3/debian/pango.defoma @@ -0,0 +1,344 @@ +@ACCEPT_CATEGORIES = qw(xfont); + +# vim:syntax=perl + +package pango; + +use strict; +use POSIX; +use Debian::Defoma::Common; +use Debian::Defoma::Font; +use Debian::Defoma::Id; +use vars qw($ROOTDIR %UNSUPPORTED_XLFD); + +import Debian::Defoma::Common; +import Debian::Defoma::Font; +import Debian::Defoma::Id; + +my @Families = qw(sans serif monospace); +my @Encodings = qw(iso8859_X iso10646 other); + +my %Ids; +my $PkgDir = $ROOTDIR . '/pango.d'; +my $PangoAlias = $PkgDir . '/pangox.aliases'; +my $PangoAliases = '/etc/pango/pangox.aliases'; +my $ConfFile = '/etc/defoma/config/pango.conf'; +my $term = 0; +my $init = 0; + +## This function generates each element of XLFD from hashed hints, and +## returns in a hashed XLFD. + +sub get_xlfd_element { + my @xlfd = split (/-/, shift); + my $ret = {}; + + $ret->{Foundry} = $xlfd[1]; + $ret->{Family} = $xlfd[2]; + $ret->{Weight} = $xlfd[3]; + $ret->{Slant} = $xlfd[4]; + $ret->{SetWidth} = $xlfd[5]; + $ret->{Style} = $xlfd[6]; + $ret->{Pixel} = $xlfd[7]; + $ret->{Point} = $xlfd[8]; + $ret->{ResX} = $xlfd[9]; + $ret->{ResY} = $xlfd[10]; + $ret->{Spacing} = $xlfd[11]; + $ret->{AvgWidth} = $xlfd[12]; + $ret->{Encoding} = "$xlfd[13]-$xlfd[14]"; + + return $ret; +} + +## Returns a string XLFD from hashed XLFD. +sub generate_xlfd { + my $xe = shift; + my $enc = $xe->{Encoding}; + + $enc = '*-*' if ($xe->{Encoding} =~ /iso8859-[0-9]+/); + return join ('-', '', $xe->{Foundry}, $xe->{Family}, $xe->{Weight}, + $xe->{Slant}, $xe->{SetWidth}, $xe->{Style}, '*', '*', + '*', '*', '*', '*', $enc); +} + +# store XLFD +sub store_xlfd { + my $Id = shift; + my @cache = defoma_id_grep_cache ($Id, 'installed', sorttype => 'p'); + my @nnnn_xlfd = (); + my @innn_xlfd = (); + my @nnbn_xlfd = (); + my @inbn_xlfd = (); + my $xe; + my $xlfd; + + foreach my $i (@cache) { + my $font = $Id->{1}->[$i]; + $font =~ s/_/ /g; + $xe = get_xlfd_element ($font); + my $enc = "$xe->{Foundry}-$xe->{Family}-$xe->{Encoding}"; + $xlfd = generate_xlfd ($xe); + + if ($xe->{Weight} =~ /bold/ && ($xe->{Slant} eq 'o' || $xe->{Slant} eq 'i')) { + push (@inbn_xlfd, $xlfd) if (!grep (/\Q$enc/, @inbn_xlfd)); + next; + } + if ($xe->{Weight} !~ /bold/ && ($xe->{Slant} eq 'o' || $xe->{Slant} eq 'i')) { + push (@innn_xlfd, $xlfd) if (!grep (/\Q$enc/, @innn_xlfd)); + next; + } + if ($xe->{Weight} =~ /bold/ && $xe->{Slant} =~ /r/) { + push (@nnbn_xlfd, $xlfd) if (!grep (/\Q$enc/, @nnbn_xlfd)); + next; + } + push (@nnnn_xlfd, $xlfd) if (!grep (/\Q$enc/, @nnnn_xlfd)); + } + return \(@nnnn_xlfd, @innn_xlfd, @nnbn_xlfd, @inbn_xlfd); +} + +# write section +sub write_section { + my $file = shift; + my $family = shift; + + my @nnnn_iso8859_X = (); + my @innn_iso8859_X = (); + my @nnbn_iso8859_X = (); + my @inbn_iso8859_X = (); + my @nnnn_iso10646 = (); + my @innn_iso10646 = (); + my @nnbn_iso10646 = (); + my @inbn_iso10646 = (); + my @nnnn_other = (); + my @innn_other = (); + my @nnbn_other = (); + my @inbn_other = (); + my $id_iso8859_X = $family . '_iso8859_X'; + my $id_iso10646 = $family . '_iso10646'; + my $id_other = $family . '_other'; + my $hash; + my ($nnnn, $innn, $nnbn, $inbn); + + open (F, ">> $file"); + ($nnnn, $innn, $nnbn, $inbn) = store_xlfd ($Ids{$id_other}); + @nnnn_other = @{$nnnn}; + @innn_other = @{$innn}; + @nnbn_other = @{$nnbn}; + @inbn_other = @{$inbn}; + ($nnnn, $innn, $nnbn, $inbn) = store_xlfd ($Ids{$id_iso10646}); + @nnnn_iso10646 = @{$nnnn}; + @innn_iso10646 = @{$innn}; + @nnbn_iso10646 = @{$nnbn}; + @inbn_iso10646 = @{$inbn}; + ($nnnn, $innn, $nnbn, $inbn) = store_xlfd ($Ids{$id_iso8859_X}); + @nnnn_iso8859_X = @{$nnnn}; + @innn_iso8859_X = @{$innn}; + @nnbn_iso8859_X = @{$nnbn}; + @inbn_iso8859_X = @{$inbn}; + + print F "$family normal normal normal normal \\\n\t\""; + if (scalar (@nnnn_other) > 0) { + print F join (",\\\n\t", @nnnn_other); + print F ",\\\n\t"; + } + if (scalar (@nnnn_iso10646) > 0) { + print F join (",\\\n\t", @nnnn_iso10646); + print F ",\\\n\t"; + } + if (exists ($UNSUPPORTED_XLFD {"$family-normal-normal-normal-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-normal-normal-normal-normal"}; + print F ",\\\n\t"; + } + if (scalar (@nnnn_iso8859_X) > 0) { + print F join (",\\\n\t", @nnnn_iso8859_X); + print F ",\\\n\t"; + } + print F "-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*\"\n\n"; + + print F "$family italic normal normal normal \\\n\t\""; + if (scalar (@innn_other) > 0) { + print F join (",\\\n\t", @innn_other); + print F ",\\\n\t"; + } + if (scalar (@innn_iso10646) > 0) { + print F join (",\\\n\t", @innn_iso10646); + print F ",\\\n\t"; + } + if (exists ($UNSUPPORTED_XLFD {"$family-italic-normal-normal-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-italic-normal-normal-normal"}; + print F ",\\\n\t"; + } + if (scalar (@innn_iso8859_X) > 0) { + print F join (",\\\n\t", @innn_iso8859_X); + print F ",\\\n\t"; + } + print F "-*-fixed-medium-i-normal--*-*-*-*-*-*-*-*\"\n\n"; + + print F "$family normal normal bold normal \\\n\t\""; + if (scalar (@nnbn_other) > 0) { + print F join (",\\\n\t", @nnbn_other); + print F ",\\\n\t"; + } + if (scalar (@nnbn_iso10646) > 0) { + print F join (",\\\n\t", @nnbn_iso10646); + print F ",\\\n\t"; + } + if (exists ($UNSUPPORTED_XLFD {"$family-normal-normal-bold-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-normal-normal-bold-normal"}; + print F ",\\\n\t"; + } + if (scalar (@nnbn_iso8859_X) > 0) { + print F join (",\\\n\t", @nnbn_iso8859_X); + print F ",\\\n\t"; + } + print F "-*-fixed-bold-r-normal--*-*-*-*-*-*-*-*\"\n\n"; + + print F "$family italic normal bold normal \\\n\t\""; + if (scalar (@inbn_other) > 0) { + print F join (",\\\n\t", @inbn_other); + print F ",\\\n\t"; + } + if (scalar (@inbn_iso10646) > 0) { + print F join (",\\\n\t", @inbn_iso10646); + print F ",\\\n\t"; + } + if (exists ($UNSUPPORTED_XLFD {"$family-italic-normal-bold-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-italic-normal-bold-normal"}; + print F ",\\\n\t"; + } + if (scalar (@inbn_iso8859_X) > 0) { + print F join (",\\\n\t", @inbn_iso8859_X); + print F ",\\\n\t"; + } + print F "-*-fixed-bold-i-normal--*-*-*-*-*-*-*-*\"\n\n"; + close F; +} + +sub do_init { + return if ($init); + + $init = 1; + foreach my $i (@Families) { + foreach my $j (@Encodings) { + my $id = $i . '_' . $j; + $Ids{$id} = defoma_id_open_cache ($id); + } + } + if ( -f $ConfFile ) { + do "$ConfFile" or die ("$@\n"); + } + return 0; +} + +sub do_term { + unless ($term) { + $term = 1; + + my $xe; + my $xlfd; + + open (F, "> $PangoAlias.bak") or die "$PangoAlias.bak: $!"; + print F "## THIS FILE IS GENERATED BY DEFOMA, DO NOT EDIT\n\n"; + close F; + + ## Sans + write_section ("$PangoAlias.bak", "sans"); + + ## Serif + write_section ("$PangoAlias.bak", "serif"); + + ## Monospace + write_section ("$PangoAlias.bak", "monospace"); + + rename ("$PangoAlias.bak", "$PangoAlias"); + foreach my $i (@Families) { + foreach my $j (@Encodings) { + my $id = $i . '_' . $j; + defoma_id_close_cache ($Ids{$id}); + $Ids{$id} = undef; + } + } + } + return 0; +} + +sub actual_register { + my ($font, $h, $cache) = @_; + my $id_iso8859_X; + my $id_iso10646; + my $id_other; + my $xe; + + $id_iso8859_X = $cache . "_iso8859_X"; + $id_iso10646 = $cache . "_iso10646"; + $id_other = $cache . "_other"; + $xe = get_xlfd_element ($font); + if ($xe->{Encoding} =~ /iso8859-[0-9]+/) { + defoma_id_register ($Ids{$id_iso8859_X}, + type => 'real', + font => $font, + id => $font, + priority => $h->{Priority}); + } elsif ($xe->{Encoding} =~ /iso10646/) { + defoma_id_register ($Ids{$id_iso10646}, + type => 'real', + font => $font, + id => $font, + priority => $h->{Priority}); + } else { + defoma_id_register ($Ids{$id_other}, + type => 'real', + font => $font, + id => $font, + priority => $h->{Priority}); + } +} + +sub do_register { + my $font = shift; + my @hints = defoma_font_get_hints ('xfont', $font); + my $h = parse_hints_start ('', @hints); + my $cache = "monospace"; + my $registered = 0; + + if (exists ($h->{'Shape'}) && $h->{'Shape'} =~ /\bNoSerif\b/) { + $cache = "sans"; + actual_register ($font, $h, $cache); + $registered = 1; + } + if (exists ($h->{'Shape'}) && $h->{'Shape'} =~ /\bSerif\b/) { + $cache = "serif"; + actual_register ($font, $h, $cache); + $registered = 1; + } + if ((exists ($h->{'Width'}) && $h->{'Width'} =~ /\bFixed\b/) || !$registered) { + $cache = "monospace"; + actual_register ($font, $h, $cache); + } + + return 0; +} + +sub do_unregister { + my $font = shift; + + foreach my $i (@Families) { + foreach my $j (@Encodings) { + my $id = $i . '_' . $j; + defoma_id_unregister ($Ids{$id}, type => 'real', font => $font); + } + } +} + +sub xfont { + my $arg = shift; + + if ($arg eq 'init') { return do_init (); } + elsif ($arg eq 'term') { return do_term (); } + elsif ($arg eq 'register') { return do_register (@_); } + elsif ($arg eq 'unregister') { return do_unregister (@_); } + return 0; +} + +1; + --- pango1.0-1.19.3.orig/debian/control +++ pango1.0-1.19.3/debian/control @@ -0,0 +1,200 @@ +Source: pango1.0 +Section: libs +Priority: optional +Maintainer: Sebastien Bacher +Uploaders: Debian GNOME Maintainers , Loic Minier , Sebastian Dröge +Build-Depends: debhelper (>= 5.0.22), + libfreetype6-dev (>= 2.1.7), + libx11-dev (>= 2:1.0.0), + libxrender-dev (>= 1:0.9.0.2-2), + libxt-dev, + libglib2.0-dev (>= 2.14.0), + pkg-config, + defoma (>= 0.11.1), + libxft-dev, + libfontconfig1-dev (>= 2.1.91), + autotools-dev, + po-debconf, + gnome-pkg-tools (>= 0.11), + libcairo2-dev (>= 1.2.6), + libcairo-directfb2-dev (>= 1.2.6), + perl, + quilt, + dpkg-dev (>= 1.13.19), + libthai-dev (>= 0.1.9), + chrpath +Standards-Version: 3.7.3 + +Package: libpango1.0-0 +Section: libs +Architecture: any +Depends: libpango1.0-common (>= ${source:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Conflicts: pango-libthai +Provides: pango1.0-modver-1.6.0 +Description: Layout and rendering of internationalized text + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the shared libraries. + +Package: libpango1.0-udeb +XC-Package-Type: udeb +Section: debian-installer +Priority: optional +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Provides: pango1.0-modver-1.6.0 +Description: Layout and rendering of internationalized text - minimal runtime + This is a udeb, or a microdeb, for the debian-installer. + . + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the minimal runtime library needed by the Debian + installer. + +Package: libpango1.0-common +Section: misc +Architecture: all +Depends: ${misc:Depends}, + debconf | debconf-2.0, + defoma (>= 0.11.1), + fontconfig (>= 2.1.91) +Recommends: x-ttcidfont-conf, libpango1.0-0 +Suggests: ttf-kochi-gothic, + ttf-kochi-mincho, + ttf-thryomanes, + ttf-baekmuk, + ttf-arphic-gbsn00lp, + ttf-arphic-bsmi00lp, + ttf-arphic-gkai00mp, + ttf-arphic-bkai00mp +Replaces: libpango0, + libpango-common (<< 1.0.0) +Conflicts: pango-libthai (<< 0.1.6-2) +Description: Modules and configuration files for the Pango + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the Pango modules and the configuration files + which Pango needs. + +Package: libpango1.0-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libpango1.0-0 (= ${binary:Version}), + libglib2.0-dev (>= 2.12.0), + libfreetype6-dev (>= 2.1.3), + libx11-dev, + libxrender-dev, + pkg-config, + libxft-dev, + libfontconfig1-dev (>= 2.1.91), + libcairo2-dev (>= 1.2.6) +Suggests: libpango1.0-doc, + imagemagick +Replaces: libpango-dev, + libpango1.0-common (<< 1.14.5-1) +Conflicts: libpango-dev, + libpango1.0-common (<< 1.14.5-1) +Description: Development files for the Pango + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the header files and some files needed for development + with Pango. + +Package: libpango1.0-0-dbg +Section: libdevel +Priority: extra +Architecture: any +Depends: ${misc:Depends}, + libpango1.0-0 (= ${binary:Version}) +Conflicts: libpango1.0-dbg +Replaces: libpango1.0-dbg +Description: The Pango library and debugging symbols + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the debugging symbols. Most people will not need this + package. + +Package: libpango1.0-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, + lynx | www-browser +Replaces: libpango0-dev, + libpango-doc +Conflicts: libpango-doc +Recommends: libglib2.0-doc +Description: Documentation files for the Pango + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the HTML documentation for the Pango in + /usr/share/doc/libpango1.0-doc/ . + --- pango1.0-1.19.3.orig/debian/libpango1.0-dev.install.in +++ pango1.0-1.19.3/debian/libpango1.0-dev.install.in @@ -0,0 +1,12 @@ +# from Debian +debian/dh_pangomodules usr/bin +# from the shared flavor +debian/install/shared/usr/bin/pango-querymodules usr/bin +debian/install/shared/usr/bin/pango-view usr/bin +debian/install/shared/usr/include usr +debian/install/shared/@LIBDIR@/*.la @LIBDIR@ +debian/install/shared/@LIBDIR@/*.so @LIBDIR@ +debian/install/shared/@LIBDIR@/pkgconfig/*.pc @LIBDIR@/pkgconfig +debian/install/shared/usr/share/man usr/share +# from the static flavor +debian/install/static/@LIBDIR@/*.a @LIBDIR@ --- pango1.0-1.19.3.orig/debian/defoma/pango.conf +++ pango1.0-1.19.3/debian/defoma/pango.conf @@ -0,0 +1,35 @@ +## Defoma configuration file for Pango + +## @UNSUPPORTED_XLFD are the lists of XLFD which is not supported by defoma. +## this value will avoid when supported XLFD may be not enough. +## +## family(case sensitive)-style-variant-weight-stretch => XLFDs +%UNSUPPORTED_XLFD = ( + "sans-normal-normal-normal-normal" => + "-*-helvetica-medium-r-normal--*-*-*-*-*-*-*-*", + "sans-italic-normal-normal-normal" => + "-*-helvetica-medium-o-normal--*-*-*-*-*-*-*-*", + "sans-normal-normal-bold-normal" => + "-*-helvetica-bold-r-normal--*-*-*-*-*-*-*-*", + "sans-italic-normal-bold-normal" => + "-*-helvetica-bold-o-normal--*-*-*-*-*-*-*-*", + "serif-normal-normal-normal-normal" => + "-*-times-medium-r-normal--*-*-*-*-*-*-*-*", + "serif-italic-normal-normal-normal" => + "-*-times-medium-i-normal--*-*-*-*-*-*-*-*", + "serif-normal-normal-bold-normal" => + "-*-times-bold-r-normal--*-*-*-*-*-*-*-*", + "serif-italic-normal-bold-normal" => + "-*-times-bold-i-normal--*-*-*-*-*-*-*-*", +# "monospace-normal-normal-normal-normal" => +# "", +# "monospace-italic-normal-normal-normal" => +# "", +# "monospace-normal-normal-bold-normal" => +# "", +# "monospace-italic-normal-bold-normal" => +# "", +); + +## require this. do not delete. +1; --- pango1.0-1.19.3.orig/debian/rules +++ pango1.0-1.19.3/debian/rules @@ -0,0 +1,289 @@ +#!/usr/bin/make -f + +DISABLE_UPDATE_UPLOADERS := 1 +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk +include /usr/share/gnome-pkg-tools/1/rules/check-dist.mk +-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk + +GNOME_MODULE := pango + +STAMP_DIR := debian/stampdir + +PATCH_DIR := debian/patches + +# rules in this debian/rules Makefile can be built concurrently as well as +# upstream rules in Makefile; all $(MAKE) invocations will inherit this flag, +# if you recurse into debian/rules ($(MAKE) +# -f debian/rules in rules), you need to pass a flag to avoid adding "-jX" when +# the childs encounters this line +DEB_BUILD_OPTIONS_PARALLEL ?= $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +MAKEFLAGS += $(if $(DEB_BUILD_OPTIONS_PARALLEL),-j$(DEB_BUILD_OPTIONS_PARALLEL)) + +CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) + +# Ensure the build aborts when there are still references to undefined +# symbols +LDFLAGS += -Wl,-z,defs + +# Make the linker work a bit harder so dynamic loading can be done faster +LDFLAGS += -Wl,-O1 + +DEBVERSION := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') +VERSION := $(shell echo $(DEBVERSION) | sed -e 's/-[^-]*$$//') +APIVER := 1.0 +SONAME := 0 +MODVER := 1.6.0 + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# relative libdir +ifneq (,$(findstring multiarch,$(DEB_BUILD_OPTIONS))) +LIBDIR := usr/lib/$(DEB_HOST_GNU_TYPE) +else +LIBDIR := usr/lib +endif + +# relative Pango Modules Path (separated by ":") +MODULES_PATH := $(LIBDIR)/pango/$(MODVER)/modules + +# relative directory to store the generated Pango Module File +MODULE_FILES_D := $(LIBDIR)/pango/$(MODVER)/module-files.d + +# Pango Module API version virtual Provide +ifneq (,$(findstring multiarch,$(DEB_BUILD_OPTIONS))) +PANGO_MODVER_DEP := pango$(APIVER)-multiarch-modver-$(MODVER) +else +PANGO_MODVER_DEP := pango$(APIVER)-modver-$(MODVER) +endif + +# package names +SHARED_PKG := libpango$(APIVER)-$(SONAME) +UDEB_PKG := libpango$(APIVER)-udeb +COMMON_PKG := libpango$(APIVER)-common +DEV_PKG := libpango$(APIVER)-dev +DEBUG_PKG := libpango$(APIVER)-$(SONAME)-dbg +DOC_PKG := libpango$(APIVER)-doc + +# package groups, used in rule dependencies and in cleanup +BINARY_INDEP_PKGS := $(DOC_PKG) $(COMMON_PKG) +BINARY_ARCH_PKGS := $(SHARED_PKG) $(UDEB_PKG) $(DEV_PKG) $(DEBUG_PKG) +ALL_PKGS := $(BINARY_INDEP_PKGS) $(BINARY_ARCH_PKGS) + +# list of flavors we build; each gets a builddir, a configure pass (configure +# args are defined below), a build pass, and an install pass (in two steps) +# Note: the shared flavor is required +FLAVORS := shared static udeb + +# list of flavors to run the test suite on +CHECK_FLAVORS := $(filter shared, $(FLAVORS)) + +# build dir for the current flavor; this is only expanded in flavor specific +# targets +builddir = $(buildbasedir)/$* +buildbasedir = $(CURDIR)/debian/build + +# install dir for the current flavor; this is only expanded in flavor specific +# targets +installdir = $(installbasedir)/$* +installbasedir = $(CURDIR)/debian/install + +# configure flags +common_configure_flags := \ + --prefix=/usr \ + --libdir=/$(LIBDIR) \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --with-html-dir=\$${prefix}/share/doc/$(DOC_PKG) \ + --sysconfdir=/etc \ + --build=$(DEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + common_configure_flags += --host=$(DEB_HOST_GNU_TYPE) +endif + +shared_configure_flags := $(common_configure_flags) \ + --enable-shared \ + --disable-static +static_configure_flags := $(common_configure_flags) \ + --disable-shared \ + --with-included-modules \ + --enable-static +udeb_configure_flags := $(common_configure_flags) \ + --without-x \ + --enable-shared \ + --disable-debug + +# macro computing the list of 'debian/.*" files which have a corresponding +# ".in" file; pass the list of packages in $(1) +dh_subst_files = $(patsubst %.in,%,$(wildcard $(addprefix debian/, $(addsuffix *.in, $(1))))) + +debian/dh_pangomodules.1: debian/dh_pangomodules + cd debian && pod2man -c "Pango" -r "$(DEBVERSION)" dh_pangomodules dh_pangomodules.1 + +patch: $(STAMP_DIR)/patch-stamp + +$(STAMP_DIR)/patch-stamp: + dh_testdir + # apply patches + QUILT_PATCHES=$(PATCH_DIR) quilt --quiltrc /dev/null push -a || test $$? = 2 + # backup the original (potentially patched) files to restore them in + # the clean target + -test -r config.sub && cp config.sub config.sub.orig + -test -r config.guess && cp config.guess config.guess.orig + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess + -mkdir -p $(STAMP_DIR) + touch $@ + +$(STAMP_DIR)/configure-stamp-%: $(STAMP_DIR)/patch-stamp + dh_testdir + mkdir -p $(builddir) + cd $(builddir) && \ + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + $(CURDIR)/configure $($*_configure_flags) + touch $@ + +configure: $(addprefix $(STAMP_DIR)/configure-stamp-, $(FLAVORS)) + +$(STAMP_DIR)/build-stamp-%: $(STAMP_DIR)/configure-stamp-% + dh_testdir + LD_LIBRARY_PATH=$(builddir)/pango/.libs:$(LD_LIBRARY_PATH) \ + $(MAKE) -C $(builddir) + touch $@ + +build: $(addprefix $(STAMP_DIR)/build-stamp-, $(FLAVORS)) + +$(STAMP_DIR)/check-stamp-%: $(STAMP_DIR)/build-stamp-% + dh_testdir + # setting LD_LIBRARY_PATH for "make check" might be needed in the + # future, but doesn't seem necessary right now + #LD_LIBRARY_PATH=$(builddir)/pango/.libs:$(LD_LIBRARY_PATH) + # testsuite failures are ignored + -$(MAKE) -C $(builddir) check + touch $@ + +check: $(addprefix $(STAMP_DIR)/check-stamp-, $(CHECK_FLAVORS)) + +$(STAMP_DIR)/install-stamp-%: $(STAMP_DIR)/build-stamp-% + mkdir -p $(installdir) + $(MAKE) -C $(builddir) install \ + DESTDIR=$(installdir) + touch $@ + +install: $(addprefix $(STAMP_DIR)/install-stamp-, $(FLAVORS)) + +# gross kludge to force control generation with the %.in target +clean:: + touch debian/control.in + +# always update debian/foo (do not rely on the timestamp of debian/control +# versus debian/control.in which might break with svn, svn-buildpackage, or +# dpkg-source) +debian/%: debian/%.in + dh_testdir + sed -e "s#@SONAME@#$(SONAME)#g" \ + -e "s#@APIVER@#$(APIVER)#g" \ + -e "s#@VERSION@#$(VERSION)#g" \ + -e "s#@PANGO_MODVER_DEP@#$(PANGO_MODVER_DEP)#g" \ + -e "s#@LIBDIR@#$(LIBDIR)#g" \ + -e "s#@MODULES_PATH@#$(MODULES_PATH)#g" \ + -e "s#@MODULE_FILES_D@#$(MODULE_FILES_D)#g" \ + -e "s#@GNOME_TEAM@#$(UPLOADERS)#g" \ + $@.in >$@ + +clean:: debian/control + dh_testdir + dh_testroot + # remove install and build dirs + rm -rf $(installbasedir) + rm -rf $(buildbasedir) + # restore files from backup (before unpatching) + -test -r config.sub.orig && mv -f config.sub.orig config.sub + -test -r config.guess.orig && mv -f config.guess.orig config.guess + # unapply patches, if any + QUILT_PATCHES=$(PATCH_DIR) quilt --quiltrc /dev/null pop -a -R || test $$? = 2 + -rm -rf .pc + -rm -rf $(STAMP_DIR) + -rm -f $(call dh_subst_files,$(ALL_PKGS)) + -rm -f debian/dh_pangomodules debian/dh_pangomodules.1 + dh_clean + +maybe_check = $(if $(findstring nocheck,$(DEB_BUILD_OPTIONS)),,check) + +binary-indep: build $(maybe_check) install $(call dh_subst_files,$(BINARY_INDEP_PKGS)) + dh_testdir + dh_testroot + dh_installdirs -i + dh_install -i + dh_installchangelogs -i ChangeLog ChangeLog.* + dh_installdocs -i NEWS README + dh_installman -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: build $(maybe_check) install $(call dh_subst_files,$(BINARY_ARCH_PKGS)) debian/dh_pangomodules debian/dh_pangomodules.1 + dh_testdir + dh_testroot + dh_install -s + # remove the rpath in libs and modules since a spurious /usr/lib RPATH + # appears on 64-bits arches which confuses dh_shlibdeps; the RPATH + # isn't needed in the udeb anyway as libcairo's udeb ships libs in + # /usr/lib; see #432258 + chrpath -d debian/$(UDEB_PKG)/$(LIBDIR)/*.so.* \ + debian/$(UDEB_PKG)/$(MODULES_PATH)/*.so + # Remove the thai module to avoid extraneous dependencies + rm -f debian/$(UDEB_PKG)/$(MODULES_PATH)/pango-thai-lang.so + # empty the dependency_libs in the *.la files + sed -i "/dependency_libs/ s/'.*'/''/" \ + debian/$(DEV_PKG)/$(LIBDIR)/*.la + dh_installchangelogs -s -N$(SHARED_PKG) -N$(DEV_PKG) ChangeLog ChangeLog.* + dh_installdocs -s -N$(SHARED_PKG) -N$(DEV_PKG) NEWS README + dh_installdefoma -s + # fix the permissions of the development package because it ships + # dh_pangomodules which we need to invoke in this build + dh_fixperms -p$(DEV_PKG) + # generate $(SHARED_PKG).modules for the shared lib + LD_LIBRARY_PATH=$(CURDIR)/debian/$(SHARED_PKG)/$(LIBDIR):$(LD_LIBRARY_PATH) \ + PANGO_QUERYMODULES=$(buildbasedir)/shared/pango/pango-querymodules \ + debian/$(DEV_PKG)/usr/bin/dh_pangomodules \ + -p$(SHARED_PKG) -k + # generate $(UDEB_PKG).modules for the udeb + LD_LIBRARY_PATH=$(CURDIR)/debian/$(UDEB_PKG)/$(LIBDIR):$(LD_LIBRARY_PATH) \ + PANGO_QUERYMODULES=$(buildbasedir)/udeb/pango/pango-querymodules \ + debian/$(DEV_PKG)/usr/bin/dh_pangomodules \ + -p$(UDEB_PKG) -k + dh_installinfo -s + dh_installman -s + dh_link -s + dh_strip -s --dbg-package=$(DEBUG_PKG) + dh_compress -s + dh_fixperms -s + dh_makeshlibs -p$(SHARED_PKG) \ + -X$(MODULES_PATH) \ + -V '$(SHARED_PKG) (>= $(VERSION))' \ + --add-udeb=$(UDEB_PKG) + dh_installdeb -s + # override shlibs for libraries from this source before computing + # dependencies of packages generated from this source; we already have + # inter-dependencies expressed manually in the control file, we do not + # need the shlibs to add duplicates + sed -nr -e 's/(([^ ]+: )?([^ ]+) ([^ ]+)) .*/\1/p' \ + debian/*/DEBIAN/shlibs \ + >debian/shlibs.local + dh_shlibdeps -s -N$(UDEB_PKG) + dh_shlibdeps -p$(UDEB_PKG) -l/usr/lib/libcairo-directfb/lib/ + -rm -f debian/shlibs.local + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: patch configure build check install clean binary-indep binary-arch binary --- pango1.0-1.19.3.orig/debian/libpango1.0-common.install +++ pango1.0-1.19.3/debian/libpango1.0-common.install @@ -0,0 +1,4 @@ +# from Debian +debian/defoma/pango.conf etc/defoma/config +debian/pango.defoma usr/share/defoma/scripts +debian/update-pangox-aliases usr/sbin --- pango1.0-1.19.3.orig/debian/libpango1.0-udeb.install.in +++ pango1.0-1.19.3/debian/libpango1.0-udeb.install.in @@ -0,0 +1,3 @@ +# from the udeb flavor +debian/install/udeb/@LIBDIR@/*.so.* @LIBDIR@ +debian/install/udeb/@MODULES_PATH@/*.so @MODULES_PATH@ --- pango1.0-1.19.3.orig/debian/libpango1.0-doc.install.in +++ pango1.0-1.19.3/debian/libpango1.0-doc.install.in @@ -0,0 +1,2 @@ +# from the shared flavor +debian/install/shared/usr/share/doc/libpango@APIVER@-doc/pango usr/share/doc/libpango@APIVER@-doc --- pango1.0-1.19.3.orig/debian/update-pangox-aliases +++ pango1.0-1.19.3/debian/update-pangox-aliases @@ -0,0 +1,73 @@ +#!/usr/bin/perl -w + +use strict; +use POSIX; +use vars qw(%UNSUPPORTED_XLFD); + +my $PangoAlias = '/var/lib/defoma/pango.d/pangox.aliases'; +my $ConfFile = '/etc/defoma/config/pango.conf'; +my @clean = ("/usr/bin/defoma-app", "clean", "pango"); +my @update = ("/usr/bin/defoma-app", "update", "pango"); + +# write section +sub write_section { + my $file = shift; + my $family = shift; + + open (F, ">> $file"); + print F "$family normal normal normal normal \\\n\t\""; + if (exists ($UNSUPPORTED_XLFD {"$family-normal-normal-normal-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-normal-normal-normal-normal"}; + print F ",\\\n\t"; + } + print F "-*-fixed-medium-r-normal--*-*-*-*-*-*-*-*\"\n\n"; + + print F "$family italic normal normal normal \\\n\t\""; + if (exists ($UNSUPPORTED_XLFD {"$family-italic-normal-normal-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-italic-normal-normal-normal"}; + print F ",\\\n\t"; + } + print F "-*-fixed-medium-i-normal--*-*-*-*-*-*-*-*\"\n\n"; + + print F "$family normal normal bold normal \\\n\t\""; + if (exists ($UNSUPPORTED_XLFD {"$family-normal-normal-bold-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-normal-normal-bold-normal"}; + print F ",\\\n\t"; + } + print F "-*-fixed-bold-r-normal--*-*-*-*-*-*-*-*\"\n\n"; + + print F "$family italic normal bold normal \\\n\t\""; + if (exists ($UNSUPPORTED_XLFD {"$family-italic-normal-bold-normal"})) { + print F $UNSUPPORTED_XLFD {"$family-italic-normal-bold-normal"}; + print F ",\\\n\t"; + } + print F "-*-fixed-bold-i-normal--*-*-*-*-*-*-*-*\"\n\n"; + close F; +} + +system (@clean) == 0 or die "Failed to clean up for defoma: $?"; +system (@update) == 0 or die "Failed to update for defoma: $?"; + +if ( ! -e $PangoAlias ) { + print "*** You don't have any defomized font packages.\n"; + print "*** So we are trying to force to generate pangox.aliases...\n"; + + do "$ConfFile" or die ("$@\n"); + + open (F, "> $PangoAlias.bak") or die "Can't create $PangoAlias.bak: $?"; + print F "## THIS FILE IS GENERATED BY UPDATE-PANGOX-ALIAS, DO NOT EDIT\n\n"; + close F; + + ## Sans + write_section ("$PangoAlias.bak", "sans"); + + ## Serif + write_section ("$PangoAlias.bak", "serif"); + + ## Monospace + write_section ("$PangoAlias.bak", "monospace"); + + rename ("$PangoAlias.bak", "$PangoAlias"); +} + +1; --- pango1.0-1.19.3.orig/debian/changelog +++ pango1.0-1.19.3/debian/changelog @@ -0,0 +1,1169 @@ +pango1.0 (1.19.3-1ubuntu1) hardy; urgency=low + + * Sync with Debian; Ubuntu changes are: + - Add patch 30_anymetrics, turns on FC_ANY_METRICS whenever looking up + fonts with fontconfig; lets fontconfig's configuration know that we + don't care about getting a font with exactly the same shape as the + family we asked for and fixes (eg) a firefox vs. evince font metrics + ugliness issue. + * Refresh 30_anymetrics to apply cleanly. + + -- Loic Minier Tue, 22 Jan 2008 18:47:55 +0100 + +pango1.0 (1.19.3-1) experimental; urgency=low + + * Add ${shlibs:Depends} to libpango1.0-dev; thanks Niko Tyni. + * New upstream development release, the new API may still change + incompatibly; API additions. + - Update copyright for the new licensing of HarfBuzz, below + pango/opentype. + + -- Loic Minier Fri, 18 Jan 2008 11:12:28 +0100 + +pango1.0 (1.19.2-1) experimental; urgency=low + + * New upstream development release, the new API may still change + incompatibly; API addition. + * Bump up Standards-Version to 3.7.3. + + -- Loic Minier Tue, 18 Dec 2007 16:25:06 +0100 + +pango1.0 (1.19.1-1) experimental; urgency=low + + * New upstream development release, the new API may still change + incompatibly; no API change. + - Drop relibtoolizing patch, 70_relibtoolize, ltmain.sh updated upstream. + + -- Loic Minier Tue, 04 Dec 2007 09:15:19 +0100 + +pango1.0 (1.19.0-1) experimental; urgency=low + + * New upstream release series; these are development releases, the new API + may still change incompatibly. + - Target at experimental; include check-dist. + - Refresh relibtoolizing patch, 70_relibtoolize. + + -- Loic Minier Tue, 30 Oct 2007 01:55:50 +0100 + +pango1.0 (1.18.3-1) unstable; urgency=low + + * New upstream release; no API change; bug fixes. + - Update relibtoolizing patch, 70_relibtoolize, and move it to the end of + the series; update instructions to use aclocal-1.10 and no -I flag. + + -- Loic Minier Thu, 18 Oct 2007 16:55:44 +0200 + +pango1.0 (1.18.2-2) unstable; urgency=low + + * Add a relibtoolizing patch, 70_relibtoolize, to get some hurd-i386 fixes + in libtool; GNOME #484425; closes: #445001. + + -- Loic Minier Sun, 07 Oct 2007 17:56:34 +0200 + +pango1.0 (1.18.2-1) unstable; urgency=low + + * New upstream bugfix release: + + debian/control.in: + - Raise build dependency on libthai-dev to >= 0.1.9. + + -- Sebastian Dröge Tue, 18 Sep 2007 11:57:50 +0200 + +pango1.0 (1.18.1-1) unstable; urgency=low + + [ Alan Baghumian ] + * New upstream bug fix release: + - Addresses GNOME bugs: 463430, 468953 and 470042 + + [ Loic Minier ] + * Upload to unstable; drop check-dist include. + + -- Loic Minier Sun, 02 Sep 2007 19:56:43 +0200 + +pango1.0 (1.18.0-1) experimental; urgency=low + + * New upstream major stable release; no API change. + - Bump up libglib2.0-dev build-dep to >= 2.14.0. + + -- Loic Minier Tue, 21 Aug 2007 11:25:15 +0200 + +pango1.0 (1.17.5-1) experimental; urgency=low + + * New upstream development release; minor API change in the new API. + * Cleanups; set warnings in update-pangox-aliases (Perl). + * Drop /usr/share/doc/libpango1.0-doc/pango/pango during the postinst of + libpango1.0-doc if it's a symlink; should be dropped after lenny; + closes: #430040. + + -- Loic Minier Mon, 30 Jul 2007 20:50:58 +0200 + +pango1.0 (1.17.4-3) experimental; urgency=high + + * Strip the RPATH of libs and modules built in the udeb as these confuse + dh_shlibdeps on 64-bits arches where a spurious /usr/lib RPATH is added + (because of the /usr/lib versus /usr/lib64 issue); build-dep on chrpath; + thanks a lot to Frans Pop for discussion; closes: #432258. + + -- Loic Minier Mon, 16 Jul 2007 00:04:48 +0200 + +pango1.0 (1.17.4-2) experimental; urgency=high + + * Call dh_shlibdeps separately for the udeb and add a + -l/usr/lib/libcairo-directfb/lib/ flag to ensure libcairo-directfb2 is + found; thanks Frans Pop; closes: #432258. + + -- Loic Minier Tue, 10 Jul 2007 16:28:00 +0200 + +pango1.0 (1.17.4-1) experimental; urgency=low + + * New upstream development release; no API change. + * Cleanups. + + -- Loic Minier Mon, 02 Jul 2007 22:29:51 +0200 + +pango1.0 (1.17.3-1) experimental; urgency=low + + * New upstream development release; with API additions. + + -- Loic Minier Tue, 19 Jun 2007 10:26:23 +0200 + +pango1.0 (1.17.2-1) experimental; urgency=low + + [ Josselin Mouette ] + * Whoops. Re-commit some things that were uploaded as part of 1.16.2-2 + but not committed. + + [ Loic Minier ] + * Use printf instead of echo in dh_gtkmodules to write to write data to + files in complex_doit() calls as dash's echo will always honor escape + sequences. + * New upstream release series; these are development releases, the new API + may still change incompatibly. + - Target at experimental; include check-dist. + - Drop patch 21_malayalam-rendering, merged upstream. + * Build-dep on libcairo-directfb2-dev; thanks Frans Pop; doh! + + -- Loic Minier Wed, 11 Jul 2007 21:15:08 +0200 + +pango1.0 (1.16.4-1) unstable; urgency=low + + * Drop "libtool_is_fool" snippet patching hardcode_libdir_flag_spec and + archive_cmds which is probably dangerous with newer libtools. + * Let the udeb Provide on the special modver ABI tag. + * New upstream releases; no API change. + * Also honor parallel=n in DEB_BUILD_OPTIONS. + + -- Loic Minier Tue, 08 May 2007 10:54:01 +0200 + +pango1.0 (1.16.2-2) unstable; urgency=low + + * dh_pangomodules.in: add a "-k" option to avoid generating the + dependencies. + * rules: use it for libpango1.0-0 and libpango1.0-udeb to avoid a + self-dependency for the former, and an impossible dependency for the + latter (closes: #419593). + * rules: remove the pango-thai-lang module, as it introduces too many + dependencies for the udeb (closes: #419595). + * Fix the incorrect libpango1.0-common -> libpango1.0-0 documentation + link. + + Install docs in libpango1.0-common instead. + + Reverse the symlink. + + libpango1.0-common.preinst.in: remove the old symlink. + + libpango1.0-0.postinst.in: create the new one. + + -- Josselin Mouette Fri, 20 Apr 2007 20:53:39 +0200 + +pango1.0 (1.16.2-1) unstable; urgency=low + + * Fix control generation. + * Include the new uploaders.mk from gnome-pkg-tools instead of duplicating + its logic; build-dep on gnome-pkg-tools >= 0.11. + * Run "make check" test suite for the shared flavor except if + DEB_BUILD_OPTIONS contains the "nocheck" keyword; ignore failures. + * Add support for DEB_BUILD_OPTIONS_PARALLEL. + * Upload to unstable; drop check-dist include. + * New upstream stable release; no API change. + * Wrap build-deps and deps. + * Add ${misc:Depends}. + * Add hint for vim that debian/pango.defoma is Perl. + * Set sane default CFLAGS; pass debian/rules' CFLAGS and LDFLAGS to + configure, doh! + * Cleanups. + + -- Loic Minier Sat, 14 Apr 2007 16:30:10 +0200 + +pango1.0 (1.16.1-1) experimental; urgency=low + + * Drop TOP_SRC_DIR from rules. + * Make debian/control PHONY. + * Mist cleanups; remove some useless mkdirs. + * Tune udeb description. + * New upstream release. + - Drop patch 30_included-libthai-link-libthai, merged upstream. + + -- Loic Minier Tue, 13 Mar 2007 15:00:31 +0100 + +pango1.0 (1.16.0-1) experimental; urgency=low + + * New upstream releases, new upstream branch, with API additions and a new + new module ABI version (1.6.0). + - Bump up libcairo2-dev build-deps and dep to >= 1.2.6. + - Bump up libglib2.0-dev build-deps and dep to >= 2.12.0. + - Drop patch 20_fix-fontconfig-fcmatch, fixed upstream. + - Update patch 21_malayalam-rendering with respect to indentation. + - Update patch 30_included-libthai-link-libthai with an automake-1.9 run. + - Refresh patches 10_scan-module-files-in-dirs, + 11_module-files-append-module-files-d, + 12_module-files-append-compat-module-files-d. + - Bump up MODVER to 1.6.0. + * Revert to libthai-dev instead of libthai0-dev. + * Move build and install base dirs to debian/build and debian/install + instead of debian/tmp/build and debian/tmp/install. + + -- Loic Minier Wed, 7 Mar 2007 11:42:58 +0100 + +pango1.0 (1.14.10-1) experimental; urgency=low + + * Remove .pc during clean. + * New upstream releases; no API change. + - Target at experimental. + - Include the new check-dist Makefile to prevent accidental uploads to + unstable; bump build-dep on gnome-pkg-tools to >= 0.10. + - Build-depend on libthai0-dev (>= 0.1.7). + - Update patch 21_malayalam-rendering as some changes were not merged + upstream. + - New patch, 30_included-libthai-link-libthai, fixes the static build of + the thai lang module which wasn't linked to libthai; GNOME #414297. + - Let libpango1.0-0 conflict with pango-libthai as the thai lang module is + now in this package. + + -- Loic Minier Sat, 3 Mar 2007 18:02:25 +0100 + +pango1.0 (1.14.8-5) unstable; urgency=low + + * Use /usr/lib/$(DEB_HOST_GNU_TYPE) instead of /usr/$(DEB_HOST_GNU_TYPE)/lib + for multiarch builds. + * Add a get-orig-source target to retrieve the upstream tarball. + * New patch, 12_module-files-append-compat-module-files-d, for the embedded + copy of the binary packages in ia32-libs-gtk, uses + /usr/lib32/pango//module-files.d (respectively + /usr/lib64/pango//module-files.d) instead of + /usr/lib/pango//module-files.d on i386 (respectively amd64 + and ia64) if present; see #406455. + + -- Loic Minier Sun, 14 Jan 2007 21:31:37 +0100 + +pango1.0 (1.14.8-4) unstable; urgency=medium + + [ Loic Minier ] + * Let libpango1.0-dev suggest imagemagick for "convert" which might be used + in pango-view; thanks Davide Viti; closes: #404313. + + [ Josselin Mouette ] + * 21_malayalam-rendering.patch: patch from Praveen A to fix Malayalam + rendering (closes: #404727). + + -- Josselin Mouette Fri, 29 Dec 2006 00:26:19 +0100 + +pango1.0 (1.14.8-3) unstable; urgency=medium + + * New patch, 20_fix-fontconfig-fcmatch, to fix the match pattern prior to + FcFontMatch(); thanks Eugeniy Meshcheryako; closes: #401924. + + -- Loic Minier Fri, 15 Dec 2006 10:47:12 +0100 + +pango1.0 (1.14.8-2) unstable; urgency=low + + * Upload to unstable. + + -- Loic Minier Thu, 23 Nov 2006 16:51:22 +0100 + +pango1.0 (1.14.8-1) experimental; urgency=low + + * New upstream stable release; no API change; thread-safety fix (but pango + is not thread-safe), minor bug fixes and cleanups. + - Target at experimental for now. + + -- Loic Minier Tue, 21 Nov 2006 11:09:04 +0100 + +pango1.0 (1.14.7-1) unstable; urgency=low + + * New upstream releases; no API change. + + -- Loic Minier Fri, 13 Oct 2006 11:02:25 +0200 + +pango1.0 (1.14.5-1) unstable; urgency=medium + + * Fix some probably harmless typos. + * New upstream release; no API change. + - Switch from tar-in-tar and sys-build to regular source and quilt + patching; build-depend on quilt; set TOP_SRC_DIR to ".". + * Create the stampdir if necessary before writing stamps. + * Recommends libpango1.0-0, not libpango1.0; thanks Luk Claes; + closes: #391141. + * Backup config.guess and .sub after patching. + * Drop the old module files handling. + - Drop update-pango-modules and man pages. + - Conflict with packages using update-pango-modules in the past, i.e. + pango-libthai (<< 0.1.6-2). + - Delete /etc/pango/pango.modules on upgrades of libpango1.0-common. + * Ship pango-querymodules, pango-view, and their man pages in + libpango1.0-dev instead of -common; add conflicts/replaces. + * Switch libpango1.0-common to Arch: all. + - Build-depend on dpkg-dev >= 1.13.19. + - Use >= ${source:Version} instead of ${Source-Version} for references to + libpango1.0-common. + - List COMMON_PKG in BINARY_INDEP_PKGS instead of BINARY_ARCH_PKGS. + - Update dh_* calls. + - Drop ${shlibs:Depends} dep. + - Does not depend on libpango1.0-0 anymore, really fixes circular + dependency instead of working around it; see #309437. + * Remove the useless $PangoAliases from update-pangox-aliases. + * Centralize the definition of LIBDIR in debian/rules; defaults to + "usr/lib". + * Cleanup obsolete description of debug package. + * Multiarch support: building with multiarch in DEB_BUILD_OPTIONS will set + LIBDIR and PANGO_MODVER_DEP for multiarch; closes: #372508. + * Use ${binary:Version} instead of ${Source-Version} for consistency. + * Drop usage of Debconf; always use Defoma; closes: #308933, #330928. + * Cleanup maintainer scripts. + + -- Loic Minier Thu, 5 Oct 2006 14:11:00 +0200 + +pango1.0 (1.14.4-2) unstable; urgency=low + + * Install older ChangeLogs as well. + * Re-add update-pango-modules call in postinst during the mini-transition to + dh_pangomodules; remove warnings for now. + * Upload to unstable. + + -- Loic Minier Sun, 24 Sep 2006 18:05:53 +0200 + +pango1.0 (1.14.4-1) experimental; urgency=low + + * New upstream releases; no API change. + + -- Loic Minier Tue, 19 Sep 2006 18:52:52 +0200 + +pango1.0 (1.14.0-1) experimental; urgency=low + + * New upstream releases, with API additions. + - Target at experimental. + - Drop patch 10_allow-empty-gpos-table, merged upstream. + - shlibs bumped (follow upstream version). + - Run debconf-updatepo. + * Merge 1.12.3-2. + * Bump up Standards-Version to 3.7.2. + * New module files handling with *.modules files below + /usr/lib/pango//module-files.d. + - New patch, 10_scan-module-files-in-dirs, to read all *.modules files + when a directory is encountered in the Pango/ModuleFiles configuration + or in the default module search path. Forwarded in GNOME #355985. + - New patch, 11_module-files-append-module-files-d.patch, to append + /usr/lib/pango//module-files.d to the list of module + files to load modules from. Forwarded in GNOME #355985. + - Create a /usr/lib/pango//module-files.d/pango1.0.modules + instead of /etc/pango/pango.modules in install-udeb and add a similar + snippet in install-shared. + - Remove the update-pango-modules call from postinst. + - Warn of usage of update-pango-modules; the rest of the script is kept + intact for backwards compatibility during the transition and presumably + until the next Debian release. + - Fixes usage of Pango in a Debconf frontend just after Pango is unpacked + but before it is configured; this is Ubuntu #41297 but the fix is + different. + - Paves the way for multiarch support. + * Define the flags for each flavor (shared, static, and udeb) in Makefile + vars and share the common flags. + * Rewrite rule inter-dependencies to handle the udeb flavor equally as the + two others; misc cleanups. + * Drop very old find snippet which rmdired all directories below debian/; it + exists since before history tells us and breaks the build. + * Make BUILD_ directories absolute. + * Build flavors out-of-tree; saves 30% of required build space (28 MB) and + some build time / IO load; this also seems to make filenames printed in + assertions or other warnings to be the full pathname of files during the + build. + * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE + differ. + * Stop shipping *.la and *.a files of modules. + * Rewrite most of the build process to be simpler and share the code section + which permit it. + * Misc cleanups. + * Generate a Provides: pango1.0-modver-@MODVER@ in libpango1.0-@SONAME@ to + track the module version of Pango and to permit Pango modules to depend on + it. + * New Debhelper-based command, dh_pangomodules, to create a Pango Module + file for all Pango modules. + * Make use of the new dh_pangomodules during the build (override the path to + pango-querymodules). + * Make dh_pangomodules support dependency generation as well: if at least + one Pango module was found, add the current Pango module version virtual + provide to ${misc:Depends}. + * Use PANGO_MODVER_DEP instead of MODVER. + * Cleanup update-pango-modules. + * Install a man page for dh_pangomodules. + * Rewrite the other half of the build process, for my own sanity. + * Drop the debhelper dependency. + * Upgrade libpango-doc's Suggests: libglib2.0-doc to a Recommends. + * New shlibs handling for inter-dependencies; avoids the shlibs + self-dependencies for the shared package and the udeb, and requires manual + handling of inter-dependencies; helps working around the circular + dependencies, #309437. + * Let libpango1.0-common Recommend libpango1.0-0 instead of Depending on it + as it did in the past, since the update-pango-modules may now fail without + consequences (update-pango-aliases doesn't require libpango at all). + (Closes: #309437) + * Empty the dependency_libs in the *.la files of libpango1.0-dev. + * More build cleanups and simplifications. + * Move PANGO_MODVER_DEP at the top of dh_pangomodules.in. + * Update patch 11_module-files-append-module-files-d to use + G_SEARCHPATH_SEPARATOR_S and g_strjoin. + * Merge 1.12.4-1. + * Add missing dh_installdirs call and re-add /etc/pango to + libpango1.0-common since it's still needed. + + -- Loic Minier Tue, 19 Sep 2006 09:25:20 +0200 + +pango1.0 (1.13.2-1) experimental; urgency=low + + * New upstream version + * debian/control.in: + - require cairo 1.1.2 + * debian/watch: + - updated + + -- Sebastien Bacher Mon, 3 Jul 2006 15:03:53 +0200 + +pango1.0 (1.12.4-1) unstable; urgency=low + + * New upstram release; no API changes. + - Drop patch 10_allow-empty-gpos-table.patch, merged upstream. + + -- Loic Minier Sat, 16 Sep 2006 23:29:34 +0200 + +pango1.0 (1.12.3-2) unstable; urgency=low + + [ Oystein Gisnas ] + * debian/watch: + - Update watch file + * debian/copyright: + - Update source location + + [ Loic Minier ] + * New patch, 10_allow-empty-gpos-table, to allow an empty GPOS table, should + prevent warnings reported in Debian #377944, thanks John Wright; included + in upstream CVS and in >= 1.13.4 releases. + * Add Russian Debconf templates translation, thanks Yuri Kozlov. + (Closes: #380131) + * Sort modules in update-pango-modules(.in), as requested by Daniel Glassey. + (Closes: #341463) + + -- Loic Minier Thu, 17 Aug 2006 19:55:45 +0200 + +pango1.0 (1.12.3-1) unstable; urgency=low + + * New upstream version: + - Increased robustness against broken pango.modules + - Improved build infrastructure: + Remove CAIRO_CFLAGS from pangocairo.pc.in, as it Require's cairo already. + - Improved documentation. + - Misc fixes. + Bugs fixed in this release: + - With PangoFc and PangoWin32, approximate digit width is not what it says + - Pango needlessly falls back away from a Type 1 font into a TTF font + - pango should handle more characters as zero width + - pango_glyph_string_extents_range possible bug + - Unhinted fonts are measured incorrectly and + drawing problems occur as a result + + -- Sebastien Bacher Sat, 27 May 2006 13:59:43 +0200 + +pango1.0 (1.12.1-3) unstable; urgency=low + + * debian/compat: + - updated + * debian/control.in, debian/rules: + - patch by Frans Pop + - add --add-udeb option for dh_makeshlibs which autogenerates the + udeb: lines for the shlibs file (Closes: #365293) + - this requires debhelper 5.0.22 + - drop the Provides: libpango1.0-@SONAME@ + - add a temporary hack in debian/rules to create a correct dependency on + libcairo2-directfb-udeb + * debian/po/gl.po: + - Galician translation by Jacobo Tarrio + (Closes: #361268) + * debian/rules: + - updated the -dbg package name to work with the new compat + + -- Sebastien Bacher Sat, 6 May 2006 15:19:52 +0200 + +pango1.0 (1.12.1-2) unstable; urgency=low + + * debian/control.in: + - Build-Depends on new libx11-dev to workaround xrender not doing that + - require the new libxrender version + * debian/rules: + - use "-plibpango$(apiver)-udeb" for udeb build, doesn't run dh_strip when + not required + + -- Sebastien Bacher Thu, 13 Apr 2006 22:22:38 +0200 + +pango1.0 (1.12.1-1) unstable; urgency=low + + * New upstream version: + - Fix non-OpenType fonts losing kerning in 1.12.0 + - Fix blurred underlines on Win32 [#332656, Tor Lillqvist] + - Build fix when having both Win32 and FreeType cairo backends available + - Bugs fixed in this release: 334802,336026,332656,337502 + * debian/control.in: + - Renamed the debug package, Conflicts,Replaces with the previous one + * debian/rules: + - use dh_strip to make the debug package so it works automagically with gdb + - use the same regexp than glib to get the version, + fix the issue with binNMU (Closes: #358127) + + -- Sebastien Bacher Sat, 8 Apr 2006 00:41:25 +0200 + +pango1.0 (1.12.0-2) unstable; urgency=low + + * debian/rules: set modver to 1.5.0 (closes: #356661, #357981). + + -- Jordi Mallach Mon, 20 Mar 2006 19:04:16 +0100 + +pango1.0 (1.12.0-1) unstable; urgency=low + + * New upstream release. + * debian/control.in: Bump glib build and runtime dependencies again. + * debian/watch: use download.gnome.org and look in the 2.12 directory. + + -- Jordi Mallach Sun, 19 Mar 2006 12:11:29 +0100 + +pango1.0 (1.11.99-1) experimental; urgency=low + + * New upstream development release. + * [debian/control.in] Bumped glib build and runtime dependencies per + configure.in . + * [debian/docs.in] Remove TODO from list as it is no longer present + upstream. + + -- J.H.M. Dassen (Ray) Sat, 11 Mar 2006 14:39:21 +0100 + +pango1.0 (1.10.4-1) unstable; urgency=medium + + * New upstream release (crasher assertion fixed). + + -- J.H.M. Dassen (Ray) Mon, 27 Feb 2006 23:38:22 +0100 + +pango1.0 (1.10.3-1) unstable; urgency=low + + * New upstream release (various documentation improvements, achieving + 100% symbol coverage; minor bug fixes). + + -- J.H.M. Dassen (Ray) Mon, 6 Feb 2006 20:40:36 +0100 + +pango1.0 (1.10.2-1) unstable; urgency=low + + * New upstream release (mostly bugfixes and documentation updates). + * [debian/rules] Ensure the build aborts when there are still references + to undefined symbols; make the linker work a bit harder so dynamic + loading can be done faster. + + -- J.H.M. Dassen (Ray) Sat, 7 Jan 2006 10:08:56 +0100 + +pango1.0 (1.10.1-2) unstable; urgency=low + + * Upload to unstable + * debian/po/sv.po: + - Swedish translation by Daniel Nylander + (Closes: #338667) + * debian/rules: + - use debconf-updatepo instead of deconf2po-update + + [ Loic Minier ] + * Remove xlibs-dev deps and build-deps. + [debian/control, debian/control.in] + + -- Sebastien Bacher Thu, 15 Dec 2005 14:37:53 +0100 + +pango1.0 (1.10.1-1) experimental; urgency=low + + * New upstream version. + * debian/control.in: + - Build-Depends/Depends on libcairo. + * debian/patches/buildfix.patch, + debian/patches/pango-attr-list-splice-fix.patch: + - fixed with the new version. + * debian/po/vi.po: + - Vietnamese translation by Clytie Siddall + (Closes: #316697). + * debian/rules: + - fixed the clean rule (Closes: #332504). + * debian/watch: + - updated. + + -- Sebastien Bacher Mon, 17 Oct 2005 14:10:22 +0200 + +pango1.0 (1.8.2-3) unstable; urgency=high + + * Urgency high because of RC bug fix. + * Add "XC-Package-Type: udeb" to the udeb package and build-depend on + debhelper >= 4.9.12, patch by Frans Pop. (Closes: #331434) + [debian/control.in, debian/control] + * Depend on "debconf | debconf-2.0". (Closes: #332059) [debian/control.in, + debian/control] + * Templates German translation by Jens . + (Closes: #330926) [debian/po/de.po] + * Templates Danish translation by Claus Hindsgaul + (Closes: #320802) [debian/po/da.po] + + -- Loic Minier Thu, 6 Oct 2005 22:04:44 +0200 + +pango1.0 (1.8.2-2) unstable; urgency=medium + + * Add patch from CVS to fix an important bug in pango_attr_list_splice, see + . (Closes: #328091) + [debian/patches/pango-attr-list-splice-fix.patch] + * Update FSF address. [debian/copyright] + * Bump Standards-Version to 3.6.2. [debian/control, debian/control.in] + + -- Loic Minier Fri, 16 Sep 2005 16:23:20 +0200 + +pango1.0 (1.8.2-1) unstable; urgency=low + + * New upstream version. + * debian/patches/buildfix.patch: + - fix a build issue. + + -- Sebastien Bacher Fri, 29 Jul 2005 23:46:40 +0200 + +pango1.0 (1.8.1-1) unstable; urgency=medium + + * New upstream bugfix release. + * [debian/scripts/vars, debian/sources] Updated for new upstream release. + * [debian/patches/absolute-attribute.diff] Removed; this is now handled + upstream in a different way. + + -- J.H.M. Dassen (Ray) Sun, 6 Mar 2005 09:53:11 +0100 + +pango1.0 (1.8.0-3) unstable; urgency=low + + * Upload to unstable. + * debian/control.in: + - set myself as maintainer. + + -- Sebastien Bacher Mon, 31 Jan 2005 12:34:51 +0100 + +pango1.0 (1.8.0-2) experimental; urgency=low + + * debian/patches/absolute-attribute.diff: + - patch to fix absolute fonts (Closes: #289021). + + -- Sebastien Bacher Fri, 7 Jan 2005 11:27:16 +0100 + +pango1.0 (1.8.0-1) experimental; urgency=low + + * New upstream release. + * debian/control.in: + - updated the Build-Depends. + * debian/po/cs.po: + - Czech translation from Miroslav Kure + (Closes: #283224). + * debian/watch: + - updated. + + -- Sebastien Bacher Wed, 29 Dec 2004 17:45:00 +0100 + +pango1.0 (1.6.0-3) unstable; urgency=low + + * debian/rules: + - set modver to 1.4.0 (Closes: #281806). + + -- Sebastien Bacher Tue, 23 Nov 2004 18:35:04 +0100 + +pango1.0 (1.6.0-2) unstable; urgency=low + + * GNOME team upload. + * J.H.M. Dassen (Ray): + - [debian/rules] Changes from trunk: + + Derive "modver" value from "major" and "minor" rather than have it + hardwired. + - Fixed udeb name for the Hurd. + * Colin Watson (#274092): + - binary-arch depends on binary-arch-udeb. + - Strip udeb! + * Jordi Mallach: + - Upload to unstable. + + -- Jordi Mallach Wed, 17 Nov 2004 14:41:32 +0100 + +pango1.0 (1.6.0-1) experimental; urgency=low + + * New upstream release. + * [debian/watch] Updated. + + -- J.H.M. Dassen (Ray) Tue, 14 Sep 2004 21:37:45 +0200 + +pango1.0 (1.5.2-1) experimental; urgency=low + + * New upstream development release. + * [debian/pango.defoma] Fixed logic. + + -- J.H.M. Dassen (Ray) Sat, 7 Aug 2004 10:37:12 +0200 + +pango1.0 (1.5.0-2) experimental; urgency=low + + * debian/rules: + - modversion is still 1.4.0 since there is not compatibility breakage + for the moment. + + -- Sebastien Bacher Fri, 2 Jul 2004 11:49:31 +0200 + +pango1.0 (1.5.0-1) experimental; urgency=low + + * New development upstream release. + * debian/watch: Updated to the unstable branch. + * debian/pango.defoma: Use patch by Flavio Stanchina + to fix perl warnings in the defoma + script. Thanks for the patch! (Closes: #256335) + + -- Marc 'HE' Brockschmidt Mon, 28 Jun 2004 13:17:02 +0200 + +pango1.0 (1.4.0-4) unstable; urgency=high + + * debian/rules: + + reverted previous change to fix the breakages on ia64 and alpha + (Closes: #252401). + + -- Sebastien Bacher Sat, 5 Jun 2004 15:39:56 +0200 + +pango1.0 (1.4.0-3) unstable; urgency=low + + * GNOME Team Upload. + * Upload to unstable (Closes: #238663). + * Akira TAGOH + + backport from 1.2.5-4 + + debian/pango.defoma: + - fixed to avoid the regex fails due to unquoted strings. + + po/tr.po: + - added Turkish translation. + * J.H.M. Dassen (Ray) : + + debian/rules: Make the linker work a bit harder so dynamic loading can be + done faster; safety measure: ensure the build aborts when the library + still has references to undefined symbols. + + -- Sebastien Bacher Sat, 22 May 2004 14:52:43 +0200 + +pango1.0 (1.4.0-2) experimental; urgency=low + + * Akira TAGOH + + backport from 1.2.5-3 + - po/nl.po: added Dutch translation. + - debian/control: fixed the dependencies for the separated xlibs-dev. + - debian/rules: don't specify the modules for --with-included-modules for + the static build. that bug was already gone. + + -- Akira TAGOH Tue, 20 Apr 2004 00:23:25 +0900 + +pango1.0 (1.4.0-1) experimental; urgency=low + + * New upstream release (Closes: #238663). + * debian/pango-querymodules.1: + + removed since included in the new upstream release. + * debian/patches/000_pango1.0-1.2.5-fix-thai-sharper.patch: + + removed. + * debian/patches/001_new_freetype_build_system.patch: + + removed. + * debian/rules: + - don't claim the newer shlibs. + - updated modules list. + + -- Sebastien Bacher Thu, 18 Mar 2004 21:07:49 +0100 + +pango1.0 (1.2.5-5) unstable; urgency=low + + * Akira TAGOH + + debian/pango.defoma: + - fixed to avoid the regex fails due to unquoted strings. + Thanks to Flavio Stanchina + (closes: Bug#247198) + + po/tr.po: + - added Turkish translation. (closes: Bug#246079) + Thanks to Gürkan Aslan + + -- Akira TAGOH Mon, 10 May 2004 02:34:54 +0900 + +pango1.0 (1.2.5-3) unstable; urgency=low + + * Ack to NMU (closes: Bug#221431, Bug#220988) + * po/nl.po: added Dutch translation. + thanks to Luk Claes (closes: Bug#244321) + * debian/control: updated the dependencies for separated xlibs-dev. + thanks to Kevin B. McCarty (closes: Bug#241505) + + -- Akira TAGOH Mon, 19 Apr 2004 23:28:36 +0900 + +pango1.0 (1.2.5-2.1) unstable; urgency=high + + * NMU + * [debian/patches/001_new_freetype_build_system.patch] New, needed to work + with freetype 2.1.7. (Closes: #220988) + * [debian/control.in, debian/control] Bumped the freetype build dependency. + + -- J.H.M. Dassen (Ray) Tue, 18 Nov 2003 10:17:51 +0100 + +pango1.0 (1.2.5-2) unstable; urgency=low + + * acknowledge to NMU. (closes: Bug#216003, Bug#216091) + * debian/control: + - added Uploaders to maintain as team. + - added gnome-pkg-tools to Build-Depends. + * debian/rules: + - modified to generate debian/control using gnome-pkg-tools. + * debian/patches/000_pango1.0-1.2.5-fix-thai-sharper.patch: + - applied a patch to fix displaying always hexadecimal glyphs when using + Thai sharper. (closes: Bug#210557) + + -- Akira TAGOH Sat, 25 Oct 2003 04:16:52 +0900 + +pango1.0 (1.2.5-1.1) unstable; urgency=medium + + * NMU + * [debian/control.in] Follow the libxft2-dev -> libxft-dev renaming to + become installable again. (Closes: #216003) + + -- J.H.M. Dassen (Ray) Thu, 16 Oct 2003 09:39:38 +0200 + +pango1.0 (1.2.5-1) unstable; urgency=low + + * New upstream release. + * debian/README.Debian: + - moved some notices from libpango1.0-common.templetes. + (closes: Bug#206266) + * debian/control: + - bumped Standards-Version to 3.6.1.0. + * debian/rules: + - removed dh_undocumented. + * debian/po/pt_BR.po: + - updated Brazilian Portuguese translation from Andre Luis Lopes. + (closes: Bug#208037) + + -- Akira TAGOH Sun, 7 Sep 2003 19:21:40 +0900 + +pango1.0 (1.2.3-1) unstable; urgency=low + + * New upstream release. (closes: Bug#199965) + * debian/patches/: + - 000_pango-1.2.1-coverage-off-by-one.patch: removed. + - 000_pango1.0-1.2.1-dont_check_xft_if_without_x.patch: removed. + * debian/update-pangox-aliases: + - fix typo. (closes: Bug#199208) + * debian/pango.defoma: + - fix typo. + * debian/rules: + - don't claim the newer shlibs. + - don't statically link thai-ft2 module so that it's broken. + * debian/scripts/lib: + - redirect the echo back of cd command to /dev/null. (closes: Bug#199876) + * debian/pango-querymodules.1: + - added. + + -- Akira TAGOH Sun, 6 Jul 2003 09:58:36 +0900 + +pango1.0 (1.2.1-4) unstable; urgency=low + + * debian/libpango1.0-common.templates: + - fix typo. Thanks to Philippe Batailler + * debian/po/fr.po: + - add French translation. Philippe Batailler. (closes: Bug#188886) + * debian/control: + - bumped Standards-Version to 3.5.10.0. + - changed the sections for libpango1.0-dev and libpango1.0-dbg to + libdevel. + * debian/compat: + - use it instead of DH_COMPAT. + * debian/patches/000_pango-1.2.1-coverage-off-by-one.patch: + - applied a backport patch to fix off-by-one error. Thanks Roger So for + this notification. (closes: Bug#194661) + + -- Akira TAGOH Tue, 27 May 2003 02:52:56 +0900 + +pango1.0 (1.2.1-3) unstable; urgency=low + + * build against the latest fontconfig. 2.1.90-1 was broken. + (closes: Bug#183389) + * debian/control: + - update Build-Depends. + - rename libpango1.0-0-udeb to libpango1.0-udeb. + - delete Depends: libpango1.0-common for libpango1.0-udeb. + (closes: Bug#183748) + - add Provides: libpango1.0-0 for libpango1.0-udeb. + * debian/rules: + - doh! fixed the symlinks on /usr/share/gtk-doc/html (closes: Bug#183503) + - bumped DH_COMPAT to 4. + * debian/libpango1.0-udeb.files: + - contain the files in libpango1.0-common package to libpango1.0-udeb. + (closes: Bug#183746) + * debian/po/pt_BR.po: + - add Brazilian Portuguese translation from Andre Luis Lopes + (closes: Bug#183431) + + -- Akira TAGOH Sat, 8 Mar 2003 16:53:44 +0900 + +pango1.0 (1.2.1-2) unstable; urgency=low + + * debian/control: + - drop ", for the debian-installer" from description of libpango1.0-0-udeb. + (closes: Bug#180155) + - add po-debconf to Build-Depends. + - update Build-Depends for debhelper. + * debian/rules: + - create the symlinks on /usr/share/gtk-doc + * support po-debconf. + + -- Akira TAGOH Tue, 4 Mar 2003 02:34:08 +0900 + +pango1.0 (1.2.1-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - according to Michael Cardenas , create + libpango1.0-0-udeb. + - add autotools-dev to Build-Depends. + * debian/rules: + - modified to create udeb without X support. + - remove the old debug libraries on install process if exists. + * debian/patches/000_pango1.0-1.2.1-dont_check_xft_if_without_x.patch: + applied to fix the build-without-x stuff. + + -- Akira TAGOH Tue, 4 Feb 2003 23:55:50 +0900 + +pango1.0 (1.2.0-3) unstable; urgency=low + + * debian/control: + updated Build-Depends to fix the dependency issue. (closes: Bug#176034) + + -- Akira TAGOH Sat, 11 Jan 2003 03:51:51 +0900 + +pango1.0 (1.2.0-2) unstable; urgency=low + + * debian/control: + - added dependency of libpango1.0-common. (closes: Bug#175838) + - removed libpango-common package. it's no longer needed. I hope the loop + dependency will be disappeared. + + -- Akira TAGOH Thu, 9 Jan 2003 23:54:30 +0900 + +pango1.0 (1.2.0-1) unstable; urgency=low + + * New upstream release. + * debian/patches/000_pango1.0-1.0.5-fixbuild-libtool.patch: + removed. it should be no longer needed. + * debian/libpango1.0-common.templates{,.ja}: updated. + * debian/libpango1.0-common.config: notice changed default renderer. + * debian/README.Debian: updated. + * debian/control: updated Build-Depends. + * debian/xftconfig.sample: removed. + + -- Akira TAGOH Sun, 5 Jan 2003 23:13:46 +0900 + +pango1.0 (1.0.5-4) unstable; urgency=low + + * debian/patches/000_pango1.0-1.0.5-fixbuild-libtool.patch: + applied to fix the build issue on mips and mipsel. (closes: Bug#172416) + * debian/copyright: + fix copyright-lists-upstream-authors-with-dh_make-boilerplate issue. + * debian/control: + - bumped Standards-Version to 3.5.8. + - updated Build-Depends. + * debian/rules: + modified to build the static libraries. (closes: Bug#161937) + * debian/README.Debian: + updated the static-linked program issue. + + -- Akira TAGOH Thu, 12 Dec 2002 02:17:56 +0900 + +pango1.0 (1.0.5-3) unstable; urgency=low + + * debian/xftconfig.sample: add .xftconfig sample file. + + -- Akira TAGOH Fri, 25 Oct 2002 02:40:54 +0900 + +pango1.0 (1.0.5-2) unstable; urgency=low + + * debian/pango.defoma: uses the wild cards instead of all iso8859-x entries. + * debian/README.Debian: update about static libraries issue. + * debian/control: add 'libpango1.0-common Recommends: x-ttcidfont-conf'. If + you decided defoma manages /etc/pango/pangox.aliases file, you need to + install x-ttcidfont-conf. + + -- Akira TAGOH Fri, 25 Oct 2002 00:38:46 +0900 + +pango1.0 (1.0.5-1) unstable; urgency=low + + * New upstream release. + * debian/README.Defoma: improved the documentation. Thanks Jim W. Jaszewski. + * debian/control: bumped Standards-Version to 3.5.7. + * debian/rules: support noopt for DEB_BUILD_OPTIONS. + + -- Akira TAGOH Wed, 16 Oct 2002 00:38:06 +0900 + +pango1.0 (1.0.4-2) unstable; urgency=low + + * debian/update-pango-modules.fr.1: added. Thanks Julien Louis. + * debian/update-pangox-aliases.fr.1: (closes: Bug#156989) + * debian/control: + - bumped Standards-Version and depends debhelper (>> 4). + - add libglib2.0-doc to Suggests for -doc. + * debian/rules: + - add symlink to fix the missing symlink for glib, gobject. (closes: + Bug#158721) + + -- Akira TAGOH Sat, 31 Aug 2002 11:27:48 +0900 + +pango1.0 (1.0.4-1) unstable; urgency=low + + * New upstream release. + - needs to be re-ran xftcache and should be fixed by the upstream. see + http://bugzilla.gnome.org/show_bug.cgi?id=86911 for more details. + (closes: Bug#154985) + + -- Akira TAGOH Sun, 4 Aug 2002 18:08:10 +0900 + +pango1.0 (1.0.3-3) unstable; urgency=low + + * debian/libpango1.0-doc.doc-base: add a new line before Format: (closes: + Bug#152928) + * debian/libpango1.0-common.postinst: fix the creating pangox.aliases issue. + (closes: Bug#152806) + + -- Akira TAGOH Mon, 15 Jul 2002 00:11:29 +0900 + +pango1.0 (1.0.3-2) unstable; urgency=low + + * Build against the latest libfreetype6 + * debian/control: changed a summary from 'Dummy' to 'Empty'. + + -- Akira TAGOH Tue, 18 Jun 2002 02:04:37 +0900 + +pango1.0 (1.0.3-1) unstable; urgency=low + + * New upstream release. + + -- Akira TAGOH Sun, 16 Jun 2002 04:09:09 +0900 + +pango1.0 (1.0.2-1) unstable; urgency=low + + * New upstream release. + + -- Akira TAGOH Wed, 29 May 2002 01:48:35 +0900 + +pango1.0 (1.0.1-4) unstable; urgency=low + + * debian/pango.defoma: + - s/_/ / to fix wrong family name, and register to monospace when specify + 'Fixed' to Width. (closes: Bug#144941) + - fix the missing XLFDs. Thanks, ha shao. + - split the cache for iso10646. + - get the fonts in priority order. + * debian/update-pango-modules: create /etc/pango directory for workaround, + if it's not found. + * debian/libpango1.0-common.templates: fix typo. (closes: Bug#145473) + + -- Akira TAGOH Sun, 12 May 2002 05:26:25 +0900 + +pango1.0 (1.0.1-3) unstable; urgency=medium + + * debian/scripts/vars.build: fix bashism. + * debian/libpango1.0-common.{config,templates}: + fix my sucked english ;) (closes: Bug141108) + * debian/libpango1.0-common.postinst: + don't always call update-pangox-aliases. + * debian/README.Debian: add static link issue. libpango1.0-dev doesn't + provide some static libraries, but don't try to statically link this + library. + * debian/libpango1.0-common.templates-ja: add. + + -- Akira TAGOH Sun, 14 Apr 2002 08:08:43 +0900 + +pango1.0 (1.0.1-2) unstable; urgency=low + + * debian/control: + - add versioned dependency for libfreetype6-dev (closes: Bug#140728) + - forgot to update versioned dependency for -dev. + - move all recommended font packages to Suggests for f**kin' latin1 ONLY + users, because our packaging mechanism looks like they have a right to + an opinion. I'm disappointed. (closes: Bug#140621) + * debian/README.Debian: describe about pangox.aliases. + * debian/libpango1.0-common.config, + debian/libpango1.0-common.templates: + add a note for suggested font packages. + + -- Akira TAGOH Thu, 4 Apr 2002 01:55:18 +0900 + +pango1.0 (1.0.1-1) unstable; urgency=low + + * New upstream release. + * debian/README.Debian: fix typo. + * debian/libpango1.0-common.config: fix bashism. (closes: Bug#140074, + Bug#140220) + * debian/control: changed from Suggests to Recommends. those fonts is + necessary to use Pango for debian. + * debian/libpango1.0-common.templates: add some templates. + * debian/libpango1.0-common.postinst: (closes: Bug#140088) + - save an old pangox.aliases file. + - make sure entrust a management to defoma. + * debian/update-pango-modules: check a modules directory. + + -- Akira TAGOH Sat, 30 Mar 2002 17:33:42 +0900 + +pango1.0 (1.0.0-7) unstable; urgency=low + + * debian/rules: Oh.. don't clean up /var directories... (closes: Bug#139923) + + -- Akira TAGOH Tue, 26 Mar 2002 09:22:31 +0900 + +pango1.0 (1.0.0-6) unstable; urgency=low + + * debian/libpango1.0-common.templates: fix misspelling (closes: Bug#139831) + + -- Akira TAGOH Tue, 26 Mar 2002 00:29:48 +0900 + +pango1.0 (1.0.0-5) unstable; urgency=low + + * debian/update-pangox-aliases{,.1}: add. + * debian/libpango1.0-common.postinst: fix generating pangox.aliases even if + they have no defomized font packages. (closes: Bug#139695) + + -- Akira TAGOH Sun, 24 Mar 2002 22:11:35 +0900 + +pango1.0 (1.0.0-4) unstable; urgency=low + + * debian/libpango1.0-common.postinst: fix bashism. + + -- Akira TAGOH Sun, 17 Mar 2002 03:38:18 +0900 + +pango1.0 (1.0.0-3) unstable; urgency=low + + * debian/{rules,control}: add libpango-common as dummy package. + it will helps to upgrade -common package. + + -- Akira TAGOH Sat, 16 Mar 2002 01:30:12 +0900 + +pango1.0 (1.0.0-2) unstable; urgency=low + + * debian/control: add defomized font packages to Suggests + * debian/libpango1.0-common.{config,postinst}: + moved removing old pangox.aliases to postinst. + * debian/update-pango-modules: fix file attribute for pangox.aliases... + + -- Akira TAGOH Thu, 14 Mar 2002 06:42:41 +0900 + +pango1.0 (1.0.0-1) unstable; urgency=low + + * Initial Release. + * Defomized for pangox.aliases. + * update-pango-modules: provides wrapper script for updating pango modules. + + -- Akira TAGOH Tue, 12 Mar 2002 17:53:38 +0900 + --- pango1.0-1.19.3.orig/debian/libpango1.0-common.dirs +++ pango1.0-1.19.3/debian/libpango1.0-common.dirs @@ -0,0 +1,2 @@ +etc/pango +var/lib/defoma/pango.d --- pango1.0-1.19.3.orig/debian/update-pangox-aliases.1 +++ pango1.0-1.19.3/debian/update-pangox-aliases.1 @@ -0,0 +1,30 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH UPDATE\-PANGOX\-ALIASES 1 "24 March 2002" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +update\-pangox\-aliases \- Update wrapper script for the Pango X aliases file. +.SH SYNOPSIS +.B update\-pangox\-aliases +.SH DESCRIPTION +\fIupdate\-pangox\-aliases\fP is a wrapper script for updating /var/lib/defoma/pango.d/pangox.aliases via \fIdefoma\fP. +.br +If you don't have any defomized font packages, it will generate that file using default XLFD which pango's defoma script has. +.SH SEE ALSO +.BR defoma (1) +.SH AUTHOR +This manual page was written by Akira TAGOH , +for the Debian GNU/Linux system. --- pango1.0-1.19.3.orig/debian/libpango1.0-common.postrm +++ pango1.0-1.19.3/debian/libpango1.0-common.postrm @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +if [ "$1" = "purge" ]; then + rm -rf /etc/pango + rm -rf /var/lib/defoma/pango.d +fi + +#DEBHELPER# --- pango1.0-1.19.3.orig/debian/update-pangox-aliases.fr.1 +++ pango1.0-1.19.3/debian/update-pangox-aliases.fr.1 @@ -0,0 +1,35 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH UPDATE\-PANGOX\-ALIASES 1 "24 mars 2002" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +update\-pangox\-aliases \- Script de mise à jour du fichier +d'alias X de Pango. +.SH SYNOPSIS +.B update\-pangox\-aliases +.SH DESCRIPTION +\fIupdate\-pangox\-aliases\fP est un script pour la mise à jour de +/var/lib/defoma/pango.d/pangox.aliases via \fIdefoma\fP. +.br +Si vous n'avez pas de paquets de polices defoma, il génèrera ce fichier en +utilisant XLFD par défaut contenu dans le script pango de defoma. +.SH VOIR AUSSI +.BR defoma (1) +.SH AUTEUR +Cette page de manuel a été écrite par Akira TAGOH , +pour le système Debian GNU/Linux. +.SH TRADUCTION +Julien Louis --- pango1.0-1.19.3.orig/debian/libpango1.0-dev.links.in +++ pango1.0-1.19.3/debian/libpango1.0-dev.links.in @@ -0,0 +1 @@ +usr/share/doc/libpango@APIVER@-@SONAME@ usr/share/doc/libpango@APIVER@-dev --- pango1.0-1.19.3.orig/debian/libpango1.0-common.docs +++ pango1.0-1.19.3/debian/libpango1.0-common.docs @@ -0,0 +1 @@ +debian/README.Defoma --- pango1.0-1.19.3.orig/debian/dh_pangomodules.in +++ pango1.0-1.19.3/debian/dh_pangomodules.in @@ -0,0 +1,167 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_pangomodules - create a Pango Module file for all Pango modules + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; +use Cwd; + +=head1 SYNOPSIS + +B [S>] [S> ...] + +=head1 DESCRIPTION + +B is a debhelper program that handles correctly +generating Pango Module files with modules that it finds in the +Pango Modules Path, in directories you pass on the command line, +and on the command line. + +This command automatically adds a ".modules" file to +the current package with the package name. + +If this command finds at least one Pango module, it will generate +a dependency on the Module API version of pango in ${misc:Depends}. + +=head1 OPTIONS + +=over 4 + +=item B<-k> + +Do not generate any dependencies in ${misc:Depends}. + +=cut + +init(); + +# 'abs_path' from Cwd resolves symlinks, and we don't want that to happen +# (otherwise it's harder to remove the prefix of the generated output) +sub make_absolute_path { + my $path = shift; + if ($path =~ m#^/#) { + return $path; + } + my $cwd = getcwd; + return "$cwd/$path"; +} + +# pango-querymodules helper (generates a Pango Module File on its stdout with +# *.so passed on its command-line) +my $querymodules; +if ($ENV{PANGO_QUERYMODULES}) { + $querymodules = $ENV{PANGO_QUERYMODULES}; +} else { + $querymodules = '/usr/bin/pango-querymodules'; +} + +# relative Pango Modules Path (separated by ":") +my $modules_path = '@MODULES_PATH@'; + +# relative directory to store the generated Pango Module File +my $module_files_d = '@MODULE_FILES_D@'; + +# Pango Module API version virtual Provide +my $pango_modver_dep = '@PANGO_MODVER_DEP@'; + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + my @modules = (); + + # locations to search for modules + my @module_search_locations; + + # split the path + foreach my $dir (split(/:/, $modules_path)) { + push @module_search_locations, "$tmp/$dir" + } + + # append the remaining command line arguments (either modules or + # directories to scan for *.so modules) + push @module_search_locations, @ARGV if @ARGV; + + foreach (@module_search_locations) { + # it's necessary to make the path absolute to strip the build-time + # prefix later on + my $path = make_absolute_path($_); + if (! -e $path) { + warning("skipping $path."); + next; + } + if (-d $path) { + # if path is a directory (or symlink to a directory), search for + # *.so files or symlinks + open(FIND, + "find '$path' -name '*.so' \\( -type f -or -type l \\) |") + or die "Can't run find: $!"; + while () { + chomp; + push @modules, $_; + } + close FIND; + } elsif (-f $path or -l $path) { + # if path is a file or symlink, simply add it to the list + push @modules, $path; + } else { + error("$path has unknown file type."); + } + } + + if (0 == @modules) { + warning("couldn't find any Pango Modules for package $package."); + next; + } + + # since there's at least one module, generate a dependency on the + # Pango binary version + if (! $dh{K_FLAG}) { + addsubstvar($package, "misc:Depends", $pango_modver_dep); + } + + my $do_query = join ' ', $querymodules, @modules; + open(QUERY, "$do_query |") + or die "Can't query modules: $!"; + + my $module_file = "$tmp/$module_files_d/$package.modules"; + doit("rm", "-f", "$module_file"); + if (! -d "$tmp/$module_files_d") { + doit("install", "-d", "$tmp/$module_files_d"); + } + complex_doit("printf '%s\\n' '# automatically generated by dh_pangomodules, do not edit' >>$module_file"); + + my $absolute_tmp = make_absolute_path($tmp); + while () { + next if m/^#/; + chomp; + next if /^$/; + # strip build-time prefix from output + if (m#^\Q$absolute_tmp/\E#) { + s#^\Q$absolute_tmp/\E#/#; + complex_doit("printf '%s\\n' '$_' >>$module_file"); + next; + } + error("can't strip $absolute_tmp from output."); + } + + doit("chmod", 644, "$module_file"); + doit("chown", "0:0", "$module_file"); + + close QUERY; +} + +=head1 SEE ALSO + +L + +This program relies on Debhelper, but is shipped with the Pango +development files. + +=head1 AUTHOR + +Loic Minier + +=cut --- pango1.0-1.19.3.orig/debian/libpango1.0-common.manpages +++ pango1.0-1.19.3/debian/libpango1.0-common.manpages @@ -0,0 +1,2 @@ +debian/update-pangox-aliases.1 +debian/update-pangox-aliases.fr.1 --- pango1.0-1.19.3.orig/debian/libpango1.0-doc.postinst.in +++ pango1.0-1.19.3/debian/libpango1.0-doc.postinst.in @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +DOCDIR=/usr/share/doc/libpango@APIVER@-@SONAME@ +if [ -d $DOCDIR ] && [ ! -L $DOCDIR ]; then + rm -rf $DOCDIR + ln -sf libpango@APIVER@-common $DOCDIR +fi + +#DEBHELPER# --- pango1.0-1.19.3.orig/debian/libpango1.0-common.preinst.in +++ pango1.0-1.19.3/debian/libpango1.0-common.preinst.in @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ -L /usr/share/doc/libpango@APIVER@-common ]; then + rm -f /usr/share/doc/libpango@APIVER@-common +fi + +#DEBHELPER# --- pango1.0-1.19.3.orig/debian/libpango1.0-common.postinst +++ pango1.0-1.19.3/debian/libpango1.0-common.postinst @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +# until version 1.14.5-1, we generated a /etc/pango/pango.modules +if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "1.14.5-1"; then + echo "I: Purging /etc/pango/pango.modules" >&2 + rm -f /etc/pango/pango.modules +fi + +if [ "$1" = "configure" ]; then + /usr/sbin/update-pangox-aliases + if test -f /etc/pango/pangox.aliases && ! test -h /etc/pango/pangox.aliases; then + echo "I: Backuping /etc/pango/pangox.aliases as /etc/pango/pangox.aliases-old" >&2 + mv /etc/pango/pangox.aliases /etc/pango/pangox.aliases-old + fi + if ! test -e /etc/pango/pangox.aliases && test -f /var/lib/defoma/pango.d/pangox.aliases; then + ln -sf /var/lib/defoma/pango.d/pangox.aliases /etc/pango/pangox.aliases + fi +fi + +#DEBHELPER# --- pango1.0-1.19.3.orig/debian/libpango1.0-0.postinst.in +++ pango1.0-1.19.3/debian/libpango1.0-0.postinst.in @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +# Hey, I'm a snippet removing old cruft (Debian #430040); drop me after lenny! +BOGUSDOCDIR=/usr/share/doc/libpango@APIVER@-doc/pango/pango +if [ -L $BOGUSDOCDIR ]; then + rm -f $BOGUSDOCDIR +fi + +#DEBHELPER# --- pango1.0-1.19.3.orig/debian/libpango1.0-doc.doc-base +++ pango1.0-1.19.3/debian/libpango1.0-doc.doc-base @@ -0,0 +1,13 @@ +Document: pango +Title: Pango Reference Manual +Author: Owen Taylor et al +Abstract: The Pango internationalized font layout and rendering engine + provides a framework for X11 applications to use fonts outside the + usual Western world, and is based on Unicode. Deals with bi-directional + text, Indic scripts, and more. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/libpango1.0-doc/pango/index.html +Files: /usr/share/doc/libpango1.0-doc/pango/*.html + --- pango1.0-1.19.3.orig/debian/control.in +++ pango1.0-1.19.3/debian/control.in @@ -0,0 +1,200 @@ +Source: pango1.0 +Section: libs +Priority: optional +Maintainer: Sebastien Bacher +Uploaders: @GNOME_TEAM@ +Build-Depends: debhelper (>= 5.0.22), + libfreetype6-dev (>= 2.1.7), + libx11-dev (>= 2:1.0.0), + libxrender-dev (>= 1:0.9.0.2-2), + libxt-dev, + libglib2.0-dev (>= 2.14.0), + pkg-config, + defoma (>= 0.11.1), + libxft-dev, + libfontconfig1-dev (>= 2.1.91), + autotools-dev, + po-debconf, + gnome-pkg-tools (>= 0.11), + libcairo2-dev (>= 1.2.6), + libcairo-directfb2-dev (>= 1.2.6), + perl, + quilt, + dpkg-dev (>= 1.13.19), + libthai-dev (>= 0.1.9), + chrpath +Standards-Version: 3.7.3 + +Package: libpango1.0-@SONAME@ +Section: libs +Architecture: any +Depends: libpango1.0-common (>= ${source:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Conflicts: pango-libthai +Provides: @PANGO_MODVER_DEP@ +Description: Layout and rendering of internationalized text + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the shared libraries. + +Package: libpango1.0-udeb +XC-Package-Type: udeb +Section: debian-installer +Priority: optional +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Provides: @PANGO_MODVER_DEP@ +Description: Layout and rendering of internationalized text - minimal runtime + This is a udeb, or a microdeb, for the debian-installer. + . + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the minimal runtime library needed by the Debian + installer. + +Package: libpango1.0-common +Section: misc +Architecture: all +Depends: ${misc:Depends}, + debconf | debconf-2.0, + defoma (>= 0.11.1), + fontconfig (>= 2.1.91) +Recommends: x-ttcidfont-conf, libpango1.0-@SONAME@ +Suggests: ttf-kochi-gothic, + ttf-kochi-mincho, + ttf-thryomanes, + ttf-baekmuk, + ttf-arphic-gbsn00lp, + ttf-arphic-bsmi00lp, + ttf-arphic-gkai00mp, + ttf-arphic-bkai00mp +Replaces: libpango0, + libpango-common (<< 1.0.0) +Conflicts: pango-libthai (<< 0.1.6-2) +Description: Modules and configuration files for the Pango + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the Pango modules and the configuration files + which Pango needs. + +Package: libpango1.0-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libpango1.0-@SONAME@ (= ${binary:Version}), + libglib2.0-dev (>= 2.12.0), + libfreetype6-dev (>= 2.1.3), + libx11-dev, + libxrender-dev, + pkg-config, + libxft-dev, + libfontconfig1-dev (>= 2.1.91), + libcairo2-dev (>= 1.2.6) +Suggests: libpango1.0-doc, + imagemagick +Replaces: libpango-dev, + libpango1.0-common (<< 1.14.5-1) +Conflicts: libpango-dev, + libpango1.0-common (<< 1.14.5-1) +Description: Development files for the Pango + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the header files and some files needed for development + with Pango. + +Package: libpango1.0-@SONAME@-dbg +Section: libdevel +Priority: extra +Architecture: any +Depends: ${misc:Depends}, + libpango1.0-@SONAME@ (= ${binary:Version}) +Conflicts: libpango1.0-dbg +Replaces: libpango1.0-dbg +Description: The Pango library and debugging symbols + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the debugging symbols. Most people will not need this + package. + +Package: libpango1.0-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, + lynx | www-browser +Replaces: libpango0-dev, + libpango-doc +Conflicts: libpango-doc +Recommends: libglib2.0-doc +Description: Documentation files for the Pango + Pango is a library for layout and rendering of text, with an emphasis + on internationalization. Pango can be used anywhere that text layout is + needed. however, most of the work on Pango-1.0 was done using the GTK+ + widget toolkit as a test platform. Pango forms the core of text and + font handling for GTK+-2.0. + . + Pango is designed to be modular; the core Pango layout can be used with + four different font backends: + - Core X windowing system fonts + - Client-side fonts on X using the Xft library + - Direct rendering of scalable fonts using the FreeType library + - Native fonts on Microsoft backends + . + This package contains the HTML documentation for the Pango in + /usr/share/doc/libpango1.0-doc/ . + --- pango1.0-1.19.3.orig/debian/libpango1.0-doc.links.in +++ pango1.0-1.19.3/debian/libpango1.0-doc.links.in @@ -0,0 +1,3 @@ +usr/share/doc/libglib2.0-doc/glib usr/share/doc/libpango@APIVER@-doc/glib +usr/share/doc/libglib2.0-doc/gobject usr/share/doc/libpango@APIVER@-doc/gobject +usr/share/doc/libpango@APIVER@-doc/pango usr/share/gtk-doc/html/pango --- pango1.0-1.19.3.orig/debian/compat +++ pango1.0-1.19.3/debian/compat @@ -0,0 +1 @@ +5