[arch-commits] Commit in wqy-zenhei/repos/community-any (6 files)

Sergej Pupykin spupykin at archlinux.org
Mon Jan 23 17:21:22 UTC 2017


    Date: Monday, January 23, 2017 @ 17:21:22
  Author: spupykin
Revision: 208618

archrelease: copy trunk to community-any

Added:
  wqy-zenhei/repos/community-any/44-wqy-zenhei.conf.diff
    (from rev 208617, wqy-zenhei/trunk/44-wqy-zenhei.conf.diff)
  wqy-zenhei/repos/community-any/PKGBUILD
    (from rev 208617, wqy-zenhei/trunk/PKGBUILD)
  wqy-zenhei/repos/community-any/wqy-zenhei.install
    (from rev 208617, wqy-zenhei/trunk/wqy-zenhei.install)
Deleted:
  wqy-zenhei/repos/community-any/44-wqy-zenhei.conf.diff
  wqy-zenhei/repos/community-any/PKGBUILD
  wqy-zenhei/repos/community-any/wqy-zenhei.install

-------------------------+
 44-wqy-zenhei.conf.diff |   28 +++++++-------
 PKGBUILD                |   86 +++++++++++++++++++++++-----------------------
 wqy-zenhei.install      |   44 ++++++++---------------
 3 files changed, 72 insertions(+), 86 deletions(-)

Deleted: 44-wqy-zenhei.conf.diff
===================================================================
--- 44-wqy-zenhei.conf.diff	2017-01-23 17:21:10 UTC (rev 208617)
+++ 44-wqy-zenhei.conf.diff	2017-01-23 17:21:22 UTC (rev 208618)
@@ -1,14 +0,0 @@
---- 44-wqy-zenhei.conf.org	2009-05-18 00:25:41.000000000 +0400
-+++ 44-wqy-zenhei.conf	2012-09-25 19:21:44.000000000 +0400
-@@ -6,7 +6,11 @@
-   <match target="font">
-         <test qual="any" name="family">
-                 <string>WenQuanYi Zen Hei</string>
-+        </test> 
-+        <test qual="any" name="family">
-                 <string>文泉驿正黑</string>
-+        </test> 
-+        <test qual="any" name="family">
-                 <string>文泉驛正黑</string>
-         </test> 
-         <edit name="globaladvance"><bool>false</bool></edit>

Copied: wqy-zenhei/repos/community-any/44-wqy-zenhei.conf.diff (from rev 208617, wqy-zenhei/trunk/44-wqy-zenhei.conf.diff)
===================================================================
--- 44-wqy-zenhei.conf.diff	                        (rev 0)
+++ 44-wqy-zenhei.conf.diff	2017-01-23 17:21:22 UTC (rev 208618)
@@ -0,0 +1,14 @@
+--- 44-wqy-zenhei.conf.org	2009-05-18 00:25:41.000000000 +0400
++++ 44-wqy-zenhei.conf	2012-09-25 19:21:44.000000000 +0400
+@@ -6,7 +6,11 @@
+   <match target="font">
+         <test qual="any" name="family">
+                 <string>WenQuanYi Zen Hei</string>
++        </test> 
++        <test qual="any" name="family">
+                 <string>文泉驿正黑</string>
++        </test> 
++        <test qual="any" name="family">
+                 <string>文泉驛正黑</string>
+         </test> 
+         <edit name="globaladvance"><bool>false</bool></edit>

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-23 17:21:10 UTC (rev 208617)
+++ PKGBUILD	2017-01-23 17:21:22 UTC (rev 208618)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-#$Id$
-# Maintainer: JJDaNiMoTh <jjdanimoth.aur at gmail.com>
-# Contributor: zlowly <zlowly [at] archlinux.org>
-
-pkgname=wqy-zenhei
-pkgver=0.9.45
-pkgrel=5
-pkgdesc="A Hei Ti Style (sans-serif) Chinese Outline Font."
-arch=('any')
-license=('GPL2' 'custom:"font embedding exception"')
-install=wqy-zenhei.install
-url="http://wenq.org/enindex.cgi"
-depends=('fontconfig' 'xorg-font-utils')
-source=("http://downloads.sourceforge.net/project/wqy/wqy-zenhei/$pkgver%20%28Fighting-state%20RC1%29/wqy-zenhei-$pkgver.tar.gz"
-	"44-wqy-zenhei.conf.diff")
-md5sums=('4c6c3f4e902dd5ee0a121e8c41d040bd'
-         '1cdbb5dd5ea90faf48cf1ba61077da15')
-
-package() {
-  cd $srcdir/$pkgname
-
-  patch -p0 44-wqy-zenhei.conf <$srcdir/44-wqy-zenhei.conf.diff
-
-  grep README -e "GPL v2 license with font embedding exception" -A 12 >| FONTEXCEPTION
-
-  mkdir -p $pkgdir/usr/share/fonts/wenquanyi/wqy-zenhei/
-  mkdir -p $pkgdir/etc/fonts/conf.avail/
-  mkdir -p $pkgdir/etc/fonts/conf.d
-
-  install -m644 -D FONTEXCEPTION $pkgdir/usr/share/licenses/${pkgname}/FONTEXCEPTION
-  install -m644 *.ttc $pkgdir/usr/share/fonts/wenquanyi/wqy-zenhei/
-  install -m644 *.conf $pkgdir/etc/fonts/conf.avail/
-  install -m755 -D zenheiset $pkgdir/usr/bin/zenheiset
-
-  # https://bugs.archlinux.org/task/24177
-  mv $pkgdir/etc/fonts/conf.avail/44-wqy-zenhei.conf $pkgdir/etc/fonts/conf.avail/65-wqy-zenhei.conf
-
-  cd $pkgdir/etc/fonts/conf.d/
-  ln -s ../conf.avail/65-wqy-zenhei.conf .
-#  ln -s ../conf.avail/66-wqy-zenhei-sharp.conf .
-}

Copied: wqy-zenhei/repos/community-any/PKGBUILD (from rev 208617, wqy-zenhei/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-23 17:21:22 UTC (rev 208618)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+#$Id$
+# Maintainer: JJDaNiMoTh <jjdanimoth.aur at gmail.com>
+# Contributor: zlowly <zlowly [at] archlinux.org>
+
+pkgname=wqy-zenhei
+pkgver=0.9.45
+pkgrel=6
+pkgdesc="A Hei Ti Style (sans-serif) Chinese Outline Font."
+arch=('any')
+license=('GPL2' 'custom:"font embedding exception"')
+install=wqy-zenhei.install
+url="http://wenq.org/enindex.cgi"
+depends=('fontconfig' 'xorg-font-utils')
+source=("http://downloads.sourceforge.net/project/wqy/wqy-zenhei/$pkgver%20%28Fighting-state%20RC1%29/wqy-zenhei-$pkgver.tar.gz"
+	"44-wqy-zenhei.conf.diff")
+md5sums=('4c6c3f4e902dd5ee0a121e8c41d040bd'
+         '1cdbb5dd5ea90faf48cf1ba61077da15')
+
+package() {
+  cd "$srcdir"/$pkgname
+
+  patch -p0 44-wqy-zenhei.conf <"$srcdir"/44-wqy-zenhei.conf.diff
+
+  grep README -e "GPL v2 license with font embedding exception" -A 12 >| FONTEXCEPTION
+
+  mkdir -p "$pkgdir"/usr/share/fonts/wenquanyi/wqy-zenhei/
+  mkdir -p "$pkgdir"/etc/fonts/conf.avail/
+  mkdir -p "$pkgdir"/etc/fonts/conf.d
+
+  install -m644 -D FONTEXCEPTION "$pkgdir"/usr/share/licenses/${pkgname}/FONTEXCEPTION
+  install -m644 *.ttc "$pkgdir"/usr/share/fonts/wenquanyi/wqy-zenhei/
+  install -m644 *.conf "$pkgdir"/etc/fonts/conf.avail/
+  install -m755 -D zenheiset "$pkgdir"/usr/bin/zenheiset
+
+  # https://bugs.archlinux.org/task/24177
+  mv "$pkgdir"/etc/fonts/conf.avail/44-wqy-zenhei.conf "$pkgdir"/etc/fonts/conf.avail/65-wqy-zenhei.conf
+
+  cd "$pkgdir"/etc/fonts/conf.d/
+  ln -s ../conf.avail/65-wqy-zenhei.conf .
+#  ln -s ../conf.avail/66-wqy-zenhei-sharp.conf .
+}

Deleted: wqy-zenhei.install
===================================================================
--- wqy-zenhei.install	2017-01-23 17:21:10 UTC (rev 208617)
+++ wqy-zenhei.install	2017-01-23 17:21:22 UTC (rev 208618)
@@ -1,29 +0,0 @@
-post_install() {
-  echo -n "Updating font cache... "
-  mkfontscale /usr/share/fonts/wenquanyi/wqy-zenhei
-  mkfontdir /usr/share/fonts/wenquanyi/wqy-zenhei
-  fc-cache -s /usr/share/fonts/wenquanyi/wqy-zenhei > /dev/null
-  echo "done."
-  echo "wqy-zenhei post install message"
-cat <<EOF
-==> Special Note: By default, we disabled the embedded bitmaps, so that the
-    characters will be displayed as anti-aliased glyphs.  Those who want to 
-    use bitmap font rendering (for 9pt-12pt) can do the following:
-
-cd /etc/fonts/conf.d
-rm 65-wqy-zenhei.conf
-ln -s ../conf.avail/43-wqy-zenhei-sharp.conf .
-
-    Remove the symlinks 43-wqy-zenhei-sharp.conf and 65-wqy-zenhei.conf from 
-    /etc/fonts/conf.d if you have problems with this package.
-EOF
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  rm -r /usr/share/fonts/wenquanyi/wqy-zenhei
-  rmdir --ignore-fail-on-non-empty /usr/share/fonts/wenquanyi/
-}

Copied: wqy-zenhei/repos/community-any/wqy-zenhei.install (from rev 208617, wqy-zenhei/trunk/wqy-zenhei.install)
===================================================================
--- wqy-zenhei.install	                        (rev 0)
+++ wqy-zenhei.install	2017-01-23 17:21:22 UTC (rev 208618)
@@ -0,0 +1,15 @@
+post_install() {
+  echo "wqy-zenhei post install message"
+cat <<EOF
+==> Special Note: By default, we disabled the embedded bitmaps, so that the
+    characters will be displayed as anti-aliased glyphs.  Those who want to 
+    use bitmap font rendering (for 9pt-12pt) can do the following:
+
+cd /etc/fonts/conf.d
+rm 65-wqy-zenhei.conf
+ln -s ../conf.avail/43-wqy-zenhei-sharp.conf .
+
+    Remove the symlinks 43-wqy-zenhei-sharp.conf and 65-wqy-zenhei.conf from 
+    /etc/fonts/conf.d if you have problems with this package.
+EOF
+}



More information about the arch-commits mailing list