[arch-commits] Commit in pangox-compat/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sat Nov 10 10:46:05 UTC 2018


    Date: Saturday, November 10, 2018 @ 10:46:04
  Author: felixonmars
Revision: 339017

archrelease: copy trunk to staging-x86_64

Added:
  pangox-compat/repos/staging-x86_64/
  pangox-compat/repos/staging-x86_64/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch
    (from rev 339016, pangox-compat/trunk/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch)
  pangox-compat/repos/staging-x86_64/PKGBUILD
    (from rev 339016, pangox-compat/trunk/PKGBUILD)

-----------------------------------------------------------------+
 0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch |   39 +++++++++
 PKGBUILD                                                        |   41 ++++++++++
 2 files changed, 80 insertions(+)

Copied: pangox-compat/repos/staging-x86_64/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch (from rev 339016, pangox-compat/trunk/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch)
===================================================================
--- staging-x86_64/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch	                        (rev 0)
+++ staging-x86_64/0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch	2018-11-10 10:46:04 UTC (rev 339017)
@@ -0,0 +1,39 @@
+From bd0fcfbd2f8f493e96955c1edd8a791de1e6568a Mon Sep 17 00:00:00 2001
+From: Jan de Groot <jgc at archlinux.org>
+Date: Sun, 19 Feb 2017 07:57:57 +0000
+Subject: [PATCH] Re-add pango_x_get_shaper_map, it is still used in the
+ fallback code
+
+---
+ pangox.c | 15 +++++++++++++++
+ 1 file changed, 15 insertions(+)
+
+diff --git a/pangox.c b/pangox.c
+index 0a66cc9..1e6efc6 100644
+--- a/pangox.c
++++ b/pangox.c
+@@ -1344,6 +1344,21 @@ pango_x_font_describe (PangoFont *font)
+     return NULL;
+ }
+ 
++PangoMap *
++pango_x_get_shaper_map (PangoLanguage *language)
++{
++  static guint engine_type_id = 0;
++  static guint render_type_id = 0;
++
++  if (engine_type_id == 0)
++    {
++      engine_type_id = g_quark_from_static_string (PANGO_ENGINE_TYPE_SHAPE);
++      render_type_id = g_quark_from_static_string (PANGO_RENDER_TYPE_X);
++    }
++
++  return pango_find_map (language, engine_type_id, render_type_id);
++}
++
+ static PangoCoverage *
+ pango_x_font_get_coverage (PangoFont     *font,
+ 			   PangoLanguage *language)
+-- 
+2.11.1
+

Copied: pangox-compat/repos/staging-x86_64/PKGBUILD (from rev 339016, pangox-compat/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-10 10:46:04 UTC (rev 339017)
@@ -0,0 +1,41 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=pangox-compat
+pkgver=0.0.2+2+gedb9e09
+pkgrel=3
+pkgdesc="X Window System font support for Pango"
+arch=('x86_64')
+license=('LGPL')
+depends=('pango')
+makedepends=(git)
+_commit=edb9e0904d04d1da02bba7b78601a2aba05aaa47  # master
+source=("git+https://gitlab.gnome.org/Archive/pangox-compat#commit=$_commit"
+        0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch)
+url="http://www.pango.org/"
+sha256sums=('SKIP'
+            'd5aad903439ede05b866c9a2962f293bec4897f07d5a7b07ebc5aa99eeb27e48')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  patch -Np1 -i ../0001-Re-add-pango_x_get_shaper_map-it-is-still-used-in-th.patch
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname
+  make -j1 DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list