diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-06 20:35:43 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2011-04-06 20:35:43 +0000 |
commit | 58b2b52b2ae3024585f38b40cf2a750c62204f7a (patch) | |
tree | 089a58c7cfd3db80c870e8f3e8364c27ee4a8ed8 /kde-base/kdepim-l10n | |
parent | Fix deprecation warnings. (diff) | |
download | gentoo-2-58b2b52b2ae3024585f38b40cf2a750c62204f7a.tar.gz gentoo-2-58b2b52b2ae3024585f38b40cf2a750c62204f7a.tar.bz2 gentoo-2-58b2b52b2ae3024585f38b40cf2a750c62204f7a.zip |
Add code to fix docbook variant, disable french temporarily since it uses old DTD features
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/kdepim-l10n')
-rw-r--r-- | kde-base/kdepim-l10n/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild | 11 |
2 files changed, 15 insertions, 3 deletions
diff --git a/kde-base/kdepim-l10n/ChangeLog b/kde-base/kdepim-l10n/ChangeLog index cddb634993f1..afe4b7e1df10 100644 --- a/kde-base/kdepim-l10n/ChangeLog +++ b/kde-base/kdepim-l10n/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/kdepim-l10n # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v 1.3 2011/04/06 07:18:57 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/ChangeLog,v 1.4 2011/04/06 20:35:43 dilfridge Exp $ + + 06 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org> + kdepim-l10n-4.4.10.ebuild: + Add code to fix docbook variant, disable french temporarily since it uses + old DTD features 06 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org> kdepim-l10n-4.4.10.ebuild: diff --git a/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild b/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild index e684e3ed30a3..f4e570ade4ae 100644 --- a/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild +++ b/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild,v 1.3 2011/04/06 07:18:57 dilfridge Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-l10n/kdepim-l10n-4.4.10.ebuild,v 1.4 2011/04/06 20:35:43 dilfridge Exp $ EAPI=3 @@ -20,9 +20,10 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+handbook" MY_LANGS="ar bg ca ca@valencia cs csb da de el en_GB eo es et eu - fi fr fy ga gl gu he hi hr hu id is it ja kk km kn ko lt lv + fi fy ga gl gu he hi hr hu id is it ja kk km kn ko lt lv mai mk ml nb nds nl nn pa pl pt pt_BR ro ru si sk sl sr sv tg tr uk wa zh_CN zh_TW" +# french translation is broken, needs more work URI_BASE="${SRC_URI/-${PV}.tar.bz2/}" SRC_URI="" @@ -74,6 +75,12 @@ src_unpack() { src_prepare() { [[ -n ${A} ]] && kde4-base_src_prepare + + # the translations still contain some VERY old files + find "${S}" -name "*.docbook" \ + -exec sed -i -r \ + -e 's:-//KDE//DTD DocBook XML V4\.1(\..)?-Based Variant V1\.[01]//EN:-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN:g' {} + \ + || die 'failed to fix DocBook variant version' } src_configure() { |