Skip navigation.

Guess what

, ,

其实我是一个很不喜欢参加猜谜或者类似活动的人,对于那种所谓的个性测验之类也不抱什么好感。因为我太过理性,知道那些个性测验的结果都是骗人的,是最标准的心理暗示,它会让你自动相信这些结果。

心理咨询师也一样,上次的经历让我对这种职业也产生了怀疑。那个心理咨询师会诱导你说出一些话,但你内心里并不是这么想的。因为在心理咨询那样一个静谧的环境里,你会非常放松,大脑也处于一种超级离散的状态,思绪不一定飘到什么地方去了。只有非常有经验的心理咨询师,才有可能从这些发散性的思维中找到你的内心。当然,上次的那次心理咨询体验,总体还是很成功的,让我很舒服,它毕竟帮我挖掘出了一些东西,但也有一些是我从来没有想到过的东西。

好了,不想说这个话题了,换一个更加实际的内容吧。Mandriva Linux 2007.1 Spring 正式发布了,fundawang.lcuc.org.cn 正在同步三个ISO,分别是KDE、KDE-extra-i18n和GNOME的Mandriva One/i586,预计在4月18日下午四点钟开始对外提供服务现已正式提供服务。我会根据服务器流量调整线程限制数。同时也请大家配合,谢谢。

NonsenseIncredible story

Comments

Anonymous 18. April 2007, 14:18

gearbox writes:

王老师,厚道人。有才。
ps:过几天写几篇使用心得吧,比如改进了的那个新3D怎么用。

Anonymous 20. April 2007, 12:00

Thruth writes:

烦请过目下,是在yunfa那里提的那个问题,wenquanyi打包碰上的,这个 spec 在 openSUSE 10.2 以前的版本都能顺利出包,10.2 10.3 就不行了。麻烦您帮忙看看。
# norootforbuild

%define fontdir %{_datadir}/fonts/wenquanyi/wqy-bitmapfont

Name: wqy-bitmapfont
Summary: WenQuanYi Bitmap CJK Fonts
Version: 0.8.1
Release: 2
License: GPL
URL: http://wenq.oeg
Group: System/X11/Fonts
Autoreqprov: on
Prereq: %suseconfig_fonts_prereq
Source: %{name}-pcf-%{version}-7.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: freetype, %{_datadir}/fonts

Conflicts: x11-font-wqy-bitmapfont
Obsoletes: wqy-bitmapfont $XORG_CONF.wqybk
mv $XORG_CONF.wqybk $XORG_CONF
fi

if [ -f $CONFAVAILPATH/85-wqy-bitmapsong.conf ]; then
rm -f $CONFAVAILPATH/85-wqy-bitmapsong.conf $CONFPATH/85-wqy-bitmapsong.conf
elif [ -f $CONFPATH/85-wqy-bitmapsong.conf ]; then
rm -f $CONFPATH/85-wqy-bitmapsong.conf
fi

if [ -f $FONTCONFIG_CONF ]; then
grep -v ' .*85-wqy-bitmapsong\.conf.*' $FONTCONFIG_CONF > $FONTCONFIG_CONF.wqybk
grep -v ' .*wqy-bitmapfont.*' $FONTCONFIG_CONF.wqybk > $FONTCONFIG_CONF
rm -f $FONTCONFIG_CONF.wqybk
fi
fi
} &> /dev/null || :

%postun
%run_suseconfig_fonts

%changelog
* Wed Apr 11 2007 Thruth Wang 0.8.1
- update to 0.8.1
* Tue Apr 03 2007 Thruth Wang
- initiated the openSUSE spec
* Sun Feb 18 2007 Qianqian Fang 0.8.0
- set all number glyphs ("0"-"9") equal width
- about 1/10 of all CJK characters were standardized with national standard GB19966
- more CJK glyphs were fine tuned
* Wed Dec 30 2006 Qianqian Fang 0.7.9
- replace 11pt and 12pt basic Latin with hand-hinted bitmap glyphs from Computer Modern Unicode Font Sans Serif face.
- set the width of "space" (U+0020) to half-width of CJK characters
- rebuild debian deb package from source, set xfonts-wqy as conflict package
- updated more than 100 CJK glyphs
- all 12pt CJK glyphs between U4E00-U9FA5 were replaced by Chinese bitmap font national standard GB19966-2005 (a mandatory standard which became active in May 2006)
- more than 2000 most frequently used Hanzi glyphs were optimized and re-adjusted
- more than 1000 non-CJK glyphs were updated including all 12pt Latin characters, IPA glyphs, arrows, mathematical symbols etc
- alias for Chinese encodings such as GB2312,GB18030, GBK and Big5 were included via font alias files
- an experimental fontconfig file was provided which allows the use of WenQuanYi bitmap font complementing with other existing vector CJK fonts
* Sun May 21 2006 Qianqian Fang 0.7.0
- about 541 glyphs of the most frequently used characters have been optimized since 0.6.9
- Latin glyphs were also improved significantly
- font baseline positions and underline positions were adjusted
- TTF format (sbit only TTF) is now provided
- more detailed installation instructions were added to the document
- major contributors for this release are FangQ and tchaikov
* Sun Mar 19 2006 Qianqian Fang 0.6.9
- removed all YanHuang GBK Bitmap fonts(the 12pt face of previous releases), replaced with 12pt GB2312 font by Chinese Academia Sinica and HabianCJK Project public domain fonts.
- dramatic improvement of the most frequently used characters for all other pixels sizes, the font quality is as good as commertial fonts.
- Latin characeters were adjusted, especially the spacings
- all glyphs in 9/10/11pt fonts were moved upward by 1px
- provided two optional font sizes: 10.5pt and 14pt (medium and bold) in a separate package
- used "Permission of font embedding clause" in GPL v2.0 license


10.2 以前版本均成功,10.2 出错的 building log 如下:


-----------------------------------------------------------------
----- building wqy-bitmapfont.spec (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.68607
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf wqy-bitmapfont
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/wqy-bitmapfont-pcf-0.8.1-7.tar.gz
+ tar -xvvf -
drwxr-xr-x fangq/fangq 0 2007-04-07 06:09:06 wqy-bitmapfont/
-rw-r--r-- fangq/fangq 1446 2007-04-07 05:48:54 wqy-bitmapfont/85-wqy-bitmapsong.conf
-rw-r--r-- fangq/fangq 18007 2007-04-07 05:48:54 wqy-bitmapfont/COPYING
-rw-r--r-- fangq/fangq 3752 2007-04-07 05:48:54 wqy-bitmapfont/fonts.alias
-rw-r--r-- fangq/fangq 1704008 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_9pt.pcf
-rw-r--r-- fangq/fangq 1703960 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_9ptb.pcf
-rw-r--r-- fangq/fangq 1791572 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_10pt.pcf
-rw-r--r-- fangq/fangq 1791556 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_10ptb.pcf
-rw-r--r-- fangq/fangq 1973288 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_11pt.pcf
-rw-r--r-- fangq/fangq 1973320 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_11ptb.pcf
-rw-r--r-- fangq/fangq 3046112 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_12pt.pcf
-rw-r--r-- fangq/fangq 3046096 2007-04-07 05:48:54 wqy-bitmapfont/wenquanyi_12ptb.pcf
-rw-r--r-- fangq/fangq 18995 2007-02-18 20:04:14 wqy-bitmapfont/AUTHORS
-rw-r--r-- fangq/fangq 4811 2007-04-07 05:53:14 wqy-bitmapfont/ChangeLog
-rw-r--r-- fangq/fangq 9246 2007-02-18 20:04:14 wqy-bitmapfont/INSTALL
-rw-r--r-- fangq/fangq 6788 2007-02-18 20:04:14 wqy-bitmapfont/INSTALL.zh.gb2312
-rw-r--r-- fangq/fangq 8384 2007-02-18 20:04:14 wqy-bitmapfont/LOGO.png
-rw-r--r-- fangq/fangq 6571 2007-04-07 05:49:22 wqy-bitmapfont/README
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd wqy-bitmapfont
++ /usr/bin/id -u
+ '[' 99 = 0 ']'
++ /usr/bin/id -u
+ '[' 99 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.68607
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/wqy-bitmapfont-0.8.1-build
++ dirname /var/tmp/wqy-bitmapfont-0.8.1-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/wqy-bitmapfont-0.8.1-build
+ cd wqy-bitmapfont
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.68607
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd wqy-bitmapfont
+ rm -rf /var/tmp/wqy-bitmapfont-0.8.1-build
+ install -d /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont
+ install -p -m644 wenquanyi_10pt.pcf wenquanyi_10ptb.pcf wenquanyi_11pt.pcf wenquanyi_11ptb.pcf wenquanyi_12pt.pcf wenquanyi_12ptb.pcf wenquanyi_9pt.pcf wenquanyi_9ptb.pcf /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont/
+ install -p -m644 85-wqy-bitmapsong.conf /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont/
+ install -p -m644 fonts.alias /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont/
+ /usr/lib/rpm/brp-lib64-linux
sf@suse.de: if you find problems with this script, drop me a note
+ RPM_BUILD_ROOT=/var/tmp/wqy-bitmapfont-0.8.1-build
+ export RPM_BUILD_ROOT
+ test -x /usr/sbin/Check -a 99 = 0 -o -x /usr/sbin/Check -a '!' -z /var/tmp/wqy-bitmapfont-0.8.1-build
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
-rw-r--r-- 1 abuild abuild 806733 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_12ptb.pcf.gz
-rw-r--r-- 1 abuild abuild 584836 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_10pt.pcf.gz
-rw-r--r-- 1 abuild abuild 488247 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_9ptb.pcf.gz
-rw-r--r-- 1 abuild abuild 680075 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_11pt.pcf.gz
-rw-r--r-- 1 abuild abuild 844173 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_12pt.pcf.gz
-rw-r--r-- 1 abuild abuild 630665 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_11ptb.pcf.gz
-rw-r--r-- 1 abuild abuild 531121 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_10ptb.pcf.gz
-rw-r--r-- 1 abuild abuild 544096 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/wenquanyi_9pt.pcf.gz
-rw-r--r-- 1 abuild abuild 453 Apr 7 05:48 /var/tmp/wqy-bitmapfont-0.8.1-build//usr/share/fonts/wenquanyi/wqy-bitmapfont/85-wqy-bitmapsong.conf.gz
Checking permissions and ownerships - using the permissions files
/tmp/Check.perms.VI2032
setting /var/tmp/wqy-bitmapfont-0.8.1-build/ to root:root 0755. (wrong owner/group abuild:abuild)
setting /var/tmp/wqy-bitmapfont-0.8.1-build/usr to root:root 0755. (wrong owner/group abuild:abuild)
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-symlink
Processing files: wqy-bitmapfont-0.8.1-9.1
error: File not found by glob: /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont/*.pcf
error: File not found: /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont/85-wqy-bitmapsong.conf
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.85179
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd wqy-bitmapfont
+ DOCDIR=/var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/doc/packages/wqy-bitmapfont
+ export DOCDIR
+ rm -rf /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/doc/packages/wqy-bitmapfont
+ /bin/mkdir -p /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/doc/packages/wqy-bitmapfont
+ cp -pr AUTHORS README COPYING ChangeLog 85-wqy-bitmapsong.conf INSTALL INSTALL.zh.gb2312 LOGO.png /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/doc/packages/wqy-bitmapfont
+ exit 0


RPM build errors:
File not found by glob: /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont/*.pcf
File not found: /var/tmp/wqy-bitmapfont-0.8.1-build/usr/share/fonts/wenquanyi/wqy-bitmapfont/85-wqy-bitmapsong.conf


我本不具程序开发背景,如有低级错误万望海涵指教。
是不是说我应该联系那个写宏的 sf@suse ? 是那个脚本的问题?

Funda Wang 20. April 2007, 13:56

你发现了吗?pcf好像被自动压缩成了pcf.gz。而85*.conf应该在%_sysconfdir/fonts/conf.d/中,而不是%_datadir里。

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

January 2010
M T W T F S S
December 2009February 2010
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31