diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | 0001-no-unconditional-xft-please.all.patch | 116 | ||||
-rw-r--r-- | 0002-msvc-is-impotent-but-not.mingw.patch | 13 | ||||
-rw-r--r-- | PKGBUILD | 16 |
4 files changed, 9 insertions, 150 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Aug 19 22:16:11 UTC 2016 +# Mon Aug 29 19:03:22 UTC 2016 pkgbase = mingw-w64-pango pkgdesc = A library for layout and rendering of text (mingw-w64) - pkgver = 1.40.1 - pkgrel = 2 + pkgver = 1.40.2 + pkgrel = 1 url = http://www.pango.org arch = any license = LGPL @@ -15,12 +15,8 @@ pkgbase = mingw-w64-pango options = !strip options = !buildflags options = !emptydirs - source = http://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.1.tar.xz - source = 0001-no-unconditional-xft-please.all.patch - source = 0002-msvc-is-impotent-but-not.mingw.patch - sha256sums = e27af54172c72b3ac6be53c9a4c67053e16c905e02addcf3a603ceb2005c1a40 - sha256sums = eccc044bbd156b252f5a13f7894c3a6cd1efc6ea80eaee57a5865895b192616d - sha256sums = 240d21474157c0deabc2660593ac0414565ddf30c304b08b74a09072c910b34d + source = http://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.2.tar.xz + sha256sums = 90582a02bc89318d205814fc097f2e9dd164d26da5f27c53ea42d583b34c3cd1 pkgname = mingw-w64-pango diff --git a/0001-no-unconditional-xft-please.all.patch b/0001-no-unconditional-xft-please.all.patch deleted file mode 100644 index 9c6b81da83a..00000000000 --- a/0001-no-unconditional-xft-please.all.patch +++ /dev/null @@ -1,116 +0,0 @@ ---- pango-1.30.0/docs/pango.types.in.orig 2012-04-03 09:28:11 +0400 -+++ pango-1.30.0/docs/pango.types.in 2012-04-03 09:27:43 +0400 -@@ -0,0 +1,77 @@ -+#include <pango/pango-attributes.h> -+#include <pango/pango-context.h> -+#include <pango/pango-engine.h> -+#include <pango/pango-enum-types.h> -+#include <pango/pango-font.h> -+#include <pango/pango-fontmap.h> -+#include <pango/pango-fontset.h> -+#include <pango/pango-glyph-item.h> -+#include <pango/pango-glyph.h> -+#include <pango/pango-item.h> -+#include <pango/pango-language.h> -+#include <pango/pango-layout.h> -+#include <pango/pango-matrix.h> -+#include <pango/pango-ot.h> -+#include <pango/pango-renderer.h> -+#include <pango/pango-tabs.h> -+#include <pango/pangocairo-fc.h> -+#include <pango/pangocairo.h> -+#include <pango/pangofc-decoder.h> -+#include <pango/pangofc-font.h> -+#include <pango/pangofc-fontmap.h> -+#include <pango/pangoft2.h> -+@PANGO_INCLUDE_XFT@ -+ -+pango_alignment_get_type -+pango_attr_list_get_type -+pango_attr_type_get_type -+pango_bidi_type_get_type -+pango_cairo_fc_font_map_get_type -+pango_cairo_font_get_type -+pango_cairo_font_map_get_type -+pango_color_get_type -+pango_context_get_type -+pango_coverage_level_get_type -+pango_direction_get_type -+pango_ellipsize_mode_get_type -+pango_engine_get_type -+pango_engine_lang_get_type -+pango_engine_shape_get_type -+pango_fc_decoder_get_type -+pango_fc_font_get_type -+pango_fc_font_map_get_type -+pango_font_description_get_type -+pango_font_face_get_type -+pango_font_family_get_type -+pango_font_get_type -+pango_font_map_get_type -+pango_font_mask_get_type -+pango_font_metrics_get_type -+pango_fontset_get_type -+pango_fontset_simple_get_type -+pango_ft2_font_map_get_type -+pango_glyph_item_get_type -+pango_glyph_item_iter_get_type -+pango_glyph_string_get_type -+pango_gravity_get_type -+pango_gravity_hint_get_type -+pango_item_get_type -+pango_language_get_type -+pango_layout_get_type -+pango_layout_iter_get_type -+pango_layout_line_get_type -+pango_matrix_get_type -+pango_ot_info_get_type -+pango_ot_ruleset_get_type -+pango_render_part_get_type -+pango_renderer_get_type -+pango_script_get_type -+pango_stretch_get_type -+pango_style_get_type -+pango_tab_align_get_type -+pango_tab_array_get_type -+pango_underline_get_type -+pango_variant_get_type -+pango_weight_get_type -+pango_wrap_mode_get_type -+@PANGO_XFT_TYPES@ -\ No newline at end of file ---- pango-1.32.6/configure.ac.orig 2013-01-19 18:11:30 +0400 -+++ pango-1.32.6/configure.ac 2013-01-19 18:13:05 +0400 -@@ -257,6 +257,8 @@ - # Checks for Xft/XRender - # - have_xft=false -+pango_include_xft= -+pango_xft_types= - AC_ARG_WITH(xft, - AS_HELP_STRING([--with-xft], [build xft backend]), - [], [with_xft=yes]) -@@ -265,8 +267,15 @@ - fi - if test "x$with_xft" = xyes && $have_xft ; then - AC_DEFINE(HAVE_XFT, 1, [Have Xft library]) -+ pango_include_xft="#include <pango/pangoxft-render.h> -+#include <pango/pangoxft.h>" -+ psnho_xft_types="pango_xft_font_get_type -+pango_xft_font_map_get_type -+pango_xft_renderer_get_type" - fi - AM_CONDITIONAL(HAVE_XFT, test "x$with_xft" = xyes && $have_xft ) -+AC_SUBST(PANGO_INCLUDE_XFT, $pango_include_xft) -+AC_SUBST(PANGO_XFT_TYPES, $pango_xft_types) - - # - # Checks for Win32 GDI -@@ -935,6 +944,7 @@ - build/win32/vs11/Makefile - build/win32/vs12/Makefile - build/win32/vs14/Makefile -+docs/pango.types - pango.pc - pangowin32.pc - pangoft2.pc diff --git a/0002-msvc-is-impotent-but-not.mingw.patch b/0002-msvc-is-impotent-but-not.mingw.patch deleted file mode 100644 index 710feaeb898..00000000000 --- a/0002-msvc-is-impotent-but-not.mingw.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- pango-1.30.0/pango/pangocairo.def.orig 2011-08-16 05:11:08 +0400 -+++ pango-1.30.0/pango/pangocairo.def 2012-04-03 10:07:15 +0400 -@@ -8,8 +8,8 @@ - pango_cairo_create_context - pango_cairo_create_layout - pango_cairo_error_underline_path --; pango_cairo_fc_font_get_type --; pango_cairo_fc_font_map_get_type -+ pango_cairo_fc_font_get_type -+ pango_cairo_fc_font_map_get_type - pango_cairo_font_get_type - pango_cairo_font_get_scaled_font - pango_cairo_font_map_create_context @@ -1,6 +1,6 @@ pkgname=mingw-w64-pango -pkgver=1.40.1 -pkgrel=2 +pkgver=1.40.2 +pkgrel=1 pkgdesc="A library for layout and rendering of text (mingw-w64)" arch=(any) url="http://www.pango.org" @@ -8,19 +8,12 @@ license=("LGPL") makedepends=(mingw-w64-configure gtk-doc) depends=(mingw-w64-harfbuzz mingw-w64-cairo) options=(staticlibs !strip !buildflags !emptydirs) -source=("http://ftp.gnome.org/pub/gnome/sources/pango/${pkgver:0:4}/pango-${pkgver}.tar.xz" -"0001-no-unconditional-xft-please.all.patch" -"0002-msvc-is-impotent-but-not.mingw.patch") -sha256sums=('e27af54172c72b3ac6be53c9a4c67053e16c905e02addcf3a603ceb2005c1a40' - 'eccc044bbd156b252f5a13f7894c3a6cd1efc6ea80eaee57a5865895b192616d' - '240d21474157c0deabc2660593ac0414565ddf30c304b08b74a09072c910b34d') +source=("http://ftp.gnome.org/pub/gnome/sources/pango/${pkgver:0:4}/pango-${pkgver}.tar.xz") +sha256sums=('90582a02bc89318d205814fc097f2e9dd164d26da5f27c53ea42d583b34c3cd1') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" prepare() { cd "$srcdir/pango-$pkgver" - patch -p1 -i ${srcdir}/0001-no-unconditional-xft-please.all.patch - patch -p1 -i ${srcdir}/0002-msvc-is-impotent-but-not.mingw.patch - autoreconf -fi sed -i 's/have_libthai=true/have_libthai=false/' configure } @@ -45,6 +38,5 @@ package() { find "$pkgdir/usr/${_arch}" -name '*.exe' -exec ${_arch}-strip {} \; find "$pkgdir/usr/${_arch}" -name '*.dll' -exec ${_arch}-strip --strip-unneeded {} \; find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs ${_arch}-strip -g - #rm -r "$pkgdir/usr/${_arch}/share" done } |