summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-12-09 16:32:12 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-12-09 16:32:12 +0000
commit4a34d3e1cc8176c3fb23aa8cf3999272c70e5653 (patch)
tree6cfb8e9337f56f6047df4662d1e5ac83b2615312 /dev-tex
parentamd64 stable - 347625 (diff)
downloadgentoo-2-4a34d3e1cc8176c3fb23aa8cf3999272c70e5653.tar.gz
gentoo-2-4a34d3e1cc8176c3fb23aa8cf3999272c70e5653.tar.bz2
gentoo-2-4a34d3e1cc8176c3fb23aa8cf3999272c70e5653.zip
Fix a bug in polish translations, bug #346577 by Hubert Kowalski <johnnybit@poczta.onet.pl>
(Portage version: 2.2.0_alpha7/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/latex-beamer/ChangeLog10
-rw-r--r--dev-tex/latex-beamer/files/latex-beamer-3.10-polish-translator.patch30
-rw-r--r--dev-tex/latex-beamer/latex-beamer-3.10-r1.ebuild56
3 files changed, 95 insertions, 1 deletions
diff --git a/dev-tex/latex-beamer/ChangeLog b/dev-tex/latex-beamer/ChangeLog
index d3a7073be315..4797607babe7 100644
--- a/dev-tex/latex-beamer/ChangeLog
+++ b/dev-tex/latex-beamer/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-tex/latex-beamer
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/ChangeLog,v 1.60 2010/10/11 21:36:36 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/ChangeLog,v 1.61 2010/12/09 16:32:11 aballier Exp $
+
+*latex-beamer-3.10-r1 (09 Dec 2010)
+
+ 09 Dec 2010; Alexis Ballier <aballier@gentoo.org>
+ +latex-beamer-3.10-r1.ebuild,
+ +files/latex-beamer-3.10-polish-translator.patch:
+ Fix a bug in polish translations, bug #346577 by Hubert Kowalski
+ <johnnybit@poczta.onet.pl>
11 Oct 2010; Andreas K. Huettel <dilfridge@gentoo.org>
latex-beamer-3.10.ebuild:
diff --git a/dev-tex/latex-beamer/files/latex-beamer-3.10-polish-translator.patch b/dev-tex/latex-beamer/files/latex-beamer-3.10-polish-translator.patch
new file mode 100644
index 000000000000..fb36003cbce1
--- /dev/null
+++ b/dev-tex/latex-beamer/files/latex-beamer-3.10-polish-translator.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/show_bug.cgi?id=346577
+
+# HG changeset patch
+# User Vedran Miletić <rivanvx@gmail.com>
+# Date 1281186298 -7200
+# Node ID 5ac9c9444ac7056cb450866bf14015910bd28395
+# Parent 306d55f66f5b6ce1a3bda0c2dfb006960d2bccee
+Fix #53. Thanks for catching that, Stanislaw Polak.
+
+diff -r 306d55f66f5b -r 5ac9c9444ac7 base/translator/dicts/translator-numbers-dictionary/translator-numbers-dictionary-Polish.dict
+--- a/base/translator/dicts/translator-numbers-dictionary/translator-numbers-dictionary-Polish.dict Mon Jul 12 19:49:46 2010 +0200
++++ b/base/translator/dicts/translator-numbers-dictionary/translator-numbers-dictionary-Polish.dict Sat Aug 07 15:04:58 2010 +0200
+@@ -10,7 +10,7 @@
+ \providetranslation{seven}{siedem}
+ \providetranslation{eight}{osiem}
+ \providetranslation{nine}{dziewi\k{e}\'{c}}
+-\providetranslation{ten}{dziesi\{e}\'{c}}
++\providetranslation{ten}{dziesi\k{e}\'{c}}
+ \providetranslation{eleven}{jedena\'{s}cie}
+ \providetranslation{twelve}{dwana\'{s}cie}
+
+@@ -23,7 +23,7 @@
+ \providetranslation{Seven}{Siedem}
+ \providetranslation{Eight}{Osiem}
+ \providetranslation{Nine}{Dziewi\k{e}\'{c}}
+-\providetranslation{Ten}{Dziesi\{e}\'{c}}
++\providetranslation{Ten}{Dziesi\k{e}\'{c}}
+ \providetranslation{Eleven}{Jedena\'{s}cie}
+ \providetranslation{Twelve}{Dwana\'{s}cie}
+
diff --git a/dev-tex/latex-beamer/latex-beamer-3.10-r1.ebuild b/dev-tex/latex-beamer/latex-beamer-3.10-r1.ebuild
new file mode 100644
index 000000000000..9049f0194d60
--- /dev/null
+++ b/dev-tex/latex-beamer/latex-beamer-3.10-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/latex-beamer-3.10-r1.ebuild,v 1.1 2010/12/09 16:32:12 aballier Exp $
+
+EAPI=3
+
+inherit versionator base
+
+MY_PV="$(get_version_component_range 1)-$(get_version_component_range 2)"
+DESCRIPTION="LaTeX class for creating presentations using a video projector."
+HOMEPAGE="http://bitbucket.org/rivanvx/beamer/wiki/Home"
+SRC_URI="http://bitbucket.org/rivanvx/beamer/downloads/beamer-${MY_PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="GPL-2 FDL-1.2 LPPL-1.3c"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+
+IUSE="doc examples lyx"
+
+DEPEND="lyx? ( app-office/lyx )
+ dev-texlive/texlive-latex"
+RDEPEND=">=dev-tex/pgf-1.10
+ !dev-tex/translator"
+
+S=${WORKDIR}/beamer
+
+PATCHES=( "${FILESDIR}/${P}-polish-translator.patch" )
+
+src_install() {
+ insinto /usr/share/texmf-site/tex/latex/beamer
+ doins -r base || die "could not install base"
+
+ if use lyx ; then
+ insinto /usr/share/lyx/examples
+ doins examples/lyx-based-presentation/* || \
+ die "could not install lyx-examples"
+ fi
+
+ dodoc AUTHORS ChangeLog README TODO doc/licenses/LICENSE
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}/doc
+ doins -r doc/* || die "could not install doc"
+ fi
+
+ if use examples ; then
+ rm -f "${S}"/examples/a-lecture/{*.tex~,._beamerexample-lecture-pic*}
+ if ! use lyx ; then
+ einfo "Removing lyx examples as lyx useflag is not set"
+ find "${S}" -name "*.lyx" -print -delete
+ fi
+ insinto /usr/share/doc/${PF}
+ doins -r examples solutions || \
+ die "could not install examples"
+ fi
+}