Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/libreoffice-l10n: ChangeLog libreoffice-l10n-3.4.3.ebuild
Date: Sat, 03 Sep 2011 19:08:23
Message-Id: 20110903190810.5718820051@flycatcher.gentoo.org
1 scarabeus 11/09/03 19:08:10
2
3 Modified: ChangeLog libreoffice-l10n-3.4.3.ebuild
4 Log:
5 Fix the case with empty linguas.
6
7 (Portage version: 2.2.0_alpha52/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 app-office/libreoffice-l10n/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 3 Sep 2011 11:45:52 -0000 1.1
23 +++ ChangeLog 3 Sep 2011 19:08:10 -0000 1.2
24 @@ -1,6 +1,10 @@
25 # ChangeLog for app-office/libreoffice-l10n
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.1 2011/09/03 11:45:52 scarabeus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/ChangeLog,v 1.2 2011/09/03 19:08:10 scarabeus Exp $
29 +
30 + 03 Sep 2011; Tomáš Chvátal <scarabeus@g.o>
31 + libreoffice-l10n-3.4.3.ebuild:
32 + Fix the case with empty linguas.
33
34 *libreoffice-l10n-3.4.3 (03 Sep 2011)
35
36
37
38
39 1.2 app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild?r1=1.1&r2=1.2
44
45 Index: libreoffice-l10n-3.4.3.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- libreoffice-l10n-3.4.3.ebuild 3 Sep 2011 11:45:52 -0000 1.1
52 +++ libreoffice-l10n-3.4.3.ebuild 3 Sep 2011 19:08:10 -0000 1.2
53 @@ -1,6 +1,6 @@
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild,v 1.1 2011/09/03 11:45:52 scarabeus Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-l10n/libreoffice-l10n-3.4.3.ebuild,v 1.2 2011/09/03 19:08:10 scarabeus Exp $
58
59 EAPI=4
60
61 @@ -84,6 +84,10 @@
62 src_compile() { :; }
63
64 src_install() {
65 - insinto /usr/$(get_libdir)/${PN/-l10n/}
66 - doins -r "${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/*
67 + # Condition required for people that do not install anything eg no linguas
68 + # or just english with no offlinehelp.
69 + if [[ -d "${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/ ]] ; then
70 + insinto /usr/$(get_libdir)/${PN/-l10n/}
71 + doins -r "${S}"/opt/${PN/-l10n/}$(get_version_component_range 1-2)/*
72 + fi
73 }