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

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 19 09:52:08 UTC 2014


    Date: Monday, May 19, 2014 @ 11:52:07
  Author: spupykin
Revision: 111484

archrelease: copy trunk to community-any

Added:
  wqy-zenhei/repos/community-any/44-wqy-zenhei.conf.diff
    (from rev 111483, wqy-zenhei/trunk/44-wqy-zenhei.conf.diff)
  wqy-zenhei/repos/community-any/PKGBUILD
    (from rev 111483, wqy-zenhei/trunk/PKGBUILD)
  wqy-zenhei/repos/community-any/wqy-zenhei.install
    (from rev 111483, 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      |   59 +++++++++++++++----------------
 3 files changed, 86 insertions(+), 87 deletions(-)

Deleted: 44-wqy-zenhei.conf.diff
===================================================================
--- 44-wqy-zenhei.conf.diff	2014-05-19 09:51:52 UTC (rev 111483)
+++ 44-wqy-zenhei.conf.diff	2014-05-19 09:52:07 UTC (rev 111484)
@@ -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 111483, wqy-zenhei/trunk/44-wqy-zenhei.conf.diff)
===================================================================
--- 44-wqy-zenhei.conf.diff	                        (rev 0)
+++ 44-wqy-zenhei.conf.diff	2014-05-19 09:52:07 UTC (rev 111484)
@@ -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	2014-05-19 09:51:52 UTC (rev 111483)
+++ PKGBUILD	2014-05-19 09:52:07 UTC (rev 111484)
@@ -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=3
-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')
-
-build() {
-  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 111483, wqy-zenhei/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-05-19 09:52:07 UTC (rev 111484)
@@ -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=4
+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	2014-05-19 09:51:52 UTC (rev 111483)
+++ wqy-zenhei.install	2014-05-19 09:52:07 UTC (rev 111484)
@@ -1,30 +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 -f /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.
-    For those who want to use bitmap font rendering (for 9pt-12pt),
-    you can modify the enclosed 44-wqy-zenhei.conf and change the line
-	<edit name=\"embeddedbitmap\"><bool>false</bool></edit>
-    to
-	<edit name=\"embeddedbitmap\"><bool>true</bool></edit>"
-
-    Remove 44-wqy-zenhei.conf and 66-wqy-zenhei-sharp.conf symlinks
-    from /etc/fonts/conf.d/ directory 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 111483, wqy-zenhei/trunk/wqy-zenhei.install)
===================================================================
--- wqy-zenhei.install	                        (rev 0)
+++ wqy-zenhei.install	2014-05-19 09:52:07 UTC (rev 111484)
@@ -0,0 +1,29 @@
+post_install() {
+  echo -n "Updating font cache... "
+  mkfontscale /usr/share/fonts/wenquanyi/wqy-zenhei
+  mkfontdir /usr/share/fonts/wenquanyi/wqy-zenhei
+  fc-cache -f /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/
+}




More information about the arch-commits mailing list