diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2009-02-14 01:22:00 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2009-02-14 01:22:00 +0000 |
commit | 3693d3001e5fe1737f545e48385f8af81021a0d6 (patch) | |
tree | ccd1ef6e75c9f1c659ed3a1970683e8c946174a5 /app-i18n | |
parent | Add in dependency on x11-libs/libgksu thanks to Jeff Mitchell, bug 258621. (diff) | |
download | historical-3693d3001e5fe1737f545e48385f8af81021a0d6.tar.gz historical-3693d3001e5fe1737f545e48385f8af81021a0d6.tar.bz2 historical-3693d3001e5fe1737f545e48385f8af81021a0d6.zip |
Fixed python-2.6 issue again, bug #255210.
Package-Manager: portage-2.1.6.7/cvs/Linux x86_64
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/skim/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/skim/Manifest | 5 | ||||
-rw-r--r-- | app-i18n/skim/files/skim-1.4.5-python26.patch | 10 | ||||
-rw-r--r-- | app-i18n/skim/skim-1.4.5-r4.ebuild | 86 |
4 files changed, 103 insertions, 6 deletions
diff --git a/app-i18n/skim/ChangeLog b/app-i18n/skim/ChangeLog index 47615ade3ade..d8ed8c9f5104 100644 --- a/app-i18n/skim/ChangeLog +++ b/app-i18n/skim/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-i18n/skim # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/ChangeLog,v 1.64 2009/01/29 14:29:25 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/ChangeLog,v 1.65 2009/02/14 01:22:00 matsuu Exp $ + +*skim-1.4.5-r4 (14 Feb 2009) + + 14 Feb 2009; MATSUU Takuto <matsuu@gentoo.org> + files/skim-1.4.5-python26.patch, +skim-1.4.5-r4.ebuild: + Fixed python-2.6 issue again, bug #255210. *skim-1.4.5-r3 (29 Jan 2009) diff --git a/app-i18n/skim/Manifest b/app-i18n/skim/Manifest index 3e0b3fac9abd..d9d8cd05ad72 100644 --- a/app-i18n/skim/Manifest +++ b/app-i18n/skim/Manifest @@ -1,10 +1,11 @@ AUX skim-1.4.5-asneeded.patch 2018 RMD160 e5cac0dbfb9d3994c1aa4b98523919dc1dc72034 SHA1 3a9869cc02564bc0c5a5c0955f9537d3e2345a58 SHA256 e1a51d629d205d9d15e0e95fe629d7421eb4785d9429da3d37b71ae47bbf5528 AUX skim-1.4.5-kde3.patch 1476 RMD160 0ce8fd146688a171cbc7f461c22d63dab5b32aac SHA1 b22cd34630f00cfd60d1b038988ad329c71ecca4 SHA256 82bbf0dba13bd56663268ef6a1933bf1e60877ecebb12909c41bea88716aedc6 AUX skim-1.4.5-klineedit.patch 501 RMD160 df7a5f3c28dcfb18cd8109b45da278557d831dee SHA1 9bb5e074f47e20cba192fd90dfe2d7cf17ffc6d3 SHA256 b9e67a57ad12dc83dd1c9bfc703c48d87d0d103d9409560f88168f95502741d7 -AUX skim-1.4.5-python26.patch 399 RMD160 e5511a41a2ccfd448db7a44217325fe3db650ac6 SHA1 5c3e90e8e4e0dc7adf1a58a040868102febdea69 SHA256 0d55f9fa20983a892b279d87617280624dc84987eca4154b3eb07a5de6f5cdc7 +AUX skim-1.4.5-python26.patch 534 RMD160 d5090fe477de31b19296c2d22e223e0c97c2046a SHA1 9e256589b6e1ed81c4b5576f346837a57d936fce SHA256 227b55a23a3f68ee5c38403bff78bb5d795b97ecffc1235be16470b4a922c086 DIST skim-1.4.5.tar.bz2 1075918 RMD160 0ac73f48233cd85e047039d2942a9b9e2e8f2d86 SHA1 6e0ec92ab13b4d5b57ad42b34d5223c0d453fdb0 SHA256 7c7962d5b2d50a1150c04333e7bd23496cc23d9baa65ffde48f2192c85fde09d EBUILD skim-1.4.5-r2.ebuild 2239 RMD160 5efdf404a696ecc083b49e13dd125dc2b29ec7bb SHA1 0f113a68f8f9f7ef19b17a864bdd6c9e0e77d5bf SHA256 31b43d2924763a023efb592018ebe8b377ffb0c8ff1fd5198b2ae81dda5f0d44 EBUILD skim-1.4.5-r3.ebuild 2345 RMD160 57b1068b055602db5d0f7708d2aefbe06b1058dc SHA1 7799946ee434d21600d1554c0ee08b8764565476 SHA256 3d81d9d5b3379c452f2a6f66dd0f27a63f0b46998f2054704dc0a0dc222e6335 +EBUILD skim-1.4.5-r4.ebuild 2303 RMD160 9c0f492695619de9e4aa9ad814475ba95bcc4e78 SHA1 3e88b0e429aee125017828088778c33d165915bd SHA256 3d0a6049040e20be6f6d0210eeb7668be0017d42a615202a7ed623a768f47720 EBUILD skim-1.4.5.ebuild 2025 RMD160 cfc35810fe9160f813483a227c1a84c3f440cb5e SHA1 9677f7acb7ca4e9a787e024f2fda63aba305fe62 SHA256 f1678c165786d1c2fc2374ae6b3c34b7b9bd4d2c460f15b64867f55b47317465 -MISC ChangeLog 8682 RMD160 cec1196bd559a1053aadb3be69bca2395276a524 SHA1 ef1e9caed712d2691370d53fe83daa28a7fd7908 SHA256 b75ed5ff6e4b8c492186a3d2f589a8f116484b60f9c56f915a5974da3569a0d7 +MISC ChangeLog 8865 RMD160 ee400a3f62ea6600b90628b427e3bbdcde055c9f SHA1 ac373048338f908674dca61357777a132076e863 SHA256 197b087f956e30efc6e7e3c2d85561d110d5353a408518cdc1c8c54dc8a0f5f3 MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215 diff --git a/app-i18n/skim/files/skim-1.4.5-python26.patch b/app-i18n/skim/files/skim-1.4.5-python26.patch index dcfb81454e64..95d191137fee 100644 --- a/app-i18n/skim/files/skim-1.4.5-python26.patch +++ b/app-i18n/skim/files/skim-1.4.5-python26.patch @@ -1,9 +1,13 @@ diff -Naur scons-local-0.96.1.orig/SCons/Tool/gas.py scons-local-0.96.1/SCons/Tool/gas.py --- scons-local-0.96.1.orig/SCons/Tool/gas.py 2005-04-22 06:18:50.000000000 +0900 -+++ scons-local-0.96.1/SCons/Tool/gas.py 2009-01-29 20:43:13.000000000 +0900 -@@ -1,4 +1,4 @@ ++++ scons-local-0.96.1/SCons/Tool/gas.py 2009-02-14 09:27:20.000000000 +0900 +@@ -1,7 +1,7 @@ -import as +as_module = __import__('as', globals(), locals(), []) assemblers=['as', 'gas'] def generate(env): - as.generate(env) +- as.generate(env) ++ as_module.generate(env) + env['AS'] =env.Detect(assemblers) or 'as' + def exists(env): + return env.Detect(assemblers) diff --git a/app-i18n/skim/skim-1.4.5-r4.ebuild b/app-i18n/skim/skim-1.4.5-r4.ebuild new file mode 100644 index 000000000000..1e2522d44e76 --- /dev/null +++ b/app-i18n/skim/skim-1.4.5-r4.ebuild @@ -0,0 +1,86 @@ +# Copyright 2000-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/skim/skim-1.4.5-r4.ebuild,v 1.1 2009/02/14 01:22:00 matsuu Exp $ + +inherit kde-functions multilib toolchain-funcs eutils + +DESCRIPTION="Smart Common Input Method (SCIM) optimized for KDE" +HOMEPAGE="http://www.scim-im.org/" +SRC_URI="mirror://sourceforge/scim/${P}.tar.bz2 + http://freedesktop.org/~cougar/skim/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=app-i18n/scim-1.4.4" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +need-kde 3.2 + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-asneeded.patch" + # bug #211493 + epatch "${FILESDIR}/${P}-kde3.patch" + # + epatch "${FILESDIR}/${P}-klineedit.patch" + + sed -i -e "/^env =/s:(:(CXX='$(tc-getCXX)', :" SConstruct || die + + sed -i -e "s:/opt/kde3:${KDEDIR}:g" doc/de/index.docbook || die + + # bug #246223 + ln -s libscim-kdeutils.so.0.1.0 utils/libscim-kdeutils.so || die + + # bug #255210 + tar xjf bksys/scons-mini.tar.bz2 || die + epatch "${FILESDIR}/${P}-python26.patch" +} + +src_compile() { + local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/") + [ "${MAKEOPTS/-s/}" != "${MAKEOPTS}" ] && sconsopts="${sconsopts} -s" + ./scons ${sconsopts} || die +} + +src_install() { + DESTDIR="${D}" ./scons prefix=/usr install || die + + # Install the .desktop file in FDO's suggested directory + dodir /usr/share/applications/kde + mv "${D}/usr/share/applnk/Utilities/skim.desktop" \ + "${D}/usr/share/applications/kde" + + dodoc ChangeLog AUTHORS NEWS README TODO + mv "${D}/usr/share/doc/HTML" "${D}/usr/share/doc/${PF}/html" +} + +pkg_postinst() { + elog + elog "If you want to use Chinese interface, edit your startup script" + elog "such as .xinitrc to incorporate" + elog + elog ' export XMODIFIERS=@im=SCIM' + elog ' export QT_IM_MODULE=scim' + elog ' export GTK_IM_MODULE=scim' + elog ' export LANG="zh_CN.GBK"' + elog ' startkde' + elog + elog "or if you prefer English interface," + elog + elog ' export XMODIFIERS=@im=SCIM' + elog ' export QT_IM_MODULE=scim' + elog ' export GTK_IM_MODULE=scim' + elog ' export LC_CTYPE="zh_CN.GBK"' + elog ' startkde' + elog + elog "and start skim and SCIM by" + elog + elog " % skim -d" + elog +} |