Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/mozilla-sunbird-bin: mozilla-sunbird-bin-0.7.ebuild
Date: Tue, 04 Dec 2007 11:13:58
Message-Id: E1IzVil-0007KT-4K@stork.gentoo.org
1 armin76 07/12/04 11:13:47
2
3 Modified: mozilla-sunbird-bin-0.7.ebuild
4 Log:
5 Quoting
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.3 app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild?r1=1.2&r2=1.3
14
15 Index: mozilla-sunbird-bin-0.7.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- mozilla-sunbird-bin-0.7.ebuild 4 Dec 2007 11:10:57 -0000 1.2
22 +++ mozilla-sunbird-bin-0.7.ebuild 4 Dec 2007 11:13:46 -0000 1.3
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2007 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild,v 1.2 2007/12/04 11:10:57 armin76 Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird-bin/mozilla-sunbird-bin-0.7.ebuild,v 1.3 2007/12/04 11:13:46 armin76 Exp $
28
29 inherit eutils mozilla-launcher multilib mozextension
30
31 @@ -95,14 +95,14 @@
32 }
33
34 src_install() {
35 - declare MOZILLA_FIVE_HOME=/opt/sunbird
36 + declare MOZILLA_FIVE_HOME="/opt/sunbird"
37
38 # Install sunbird in /opt
39 dodir ${MOZILLA_FIVE_HOME%/*}
40 - touch ${S}/extensions/talkback@×××××××.org/chrome.manifest
41 - touch ${S}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest
42 - touch ${S}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
43 - mv ${S} ${D}${MOZILLA_FIVE_HOME}
44 + touch "${S}"/extensions/talkback@×××××××.org/chrome.manifest
45 + touch "${S}"/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest
46 + touch "${S}"/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
47 + mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
48
49 linguas
50 for X in ${linguas}; do
51 @@ -113,8 +113,8 @@
52 if [[ -n ${LANG} && ${LANG} != "en" ]]; then
53 einfo "Setting default locale to ${LANG}"
54 dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" \
55 - "${MOZILLA_FIVE_HOME}"/defaults/pref/sunbird.js \
56 - "${MOZILLA_FIVE_HOME}"/defaults/pref/sunbird-l10n.js || \
57 + ${MOZILLA_FIVE_HOME}/defaults/pref/sunbird.js \
58 + ${MOZILLA_FIVE_HOME}/defaults/pref/sunbird-l10n.js || \
59 die "sed failed to change locale"
60 fi
61
62 @@ -122,16 +122,16 @@
63 install_mozilla_launcher_stub sunbird-bin ${MOZILLA_FIVE_HOME}
64
65 # Install icon and .desktop for menu entry
66 - doicon ${FILESDIR}/icon/${PN}-icon.png
67 - domenu ${FILESDIR}/icon/${PN}.desktop
68 + doicon "${FILESDIR}"/icon/${PN}-icon.png
69 + domenu "${FILESDIR}"/icon/${PN}.desktop
70 }
71
72 pkg_preinst() {
73 - declare MOZILLA_FIVE_HOME=/opt/sunbird
74 + declare MOZILLA_FIVE_HOME="/opt/sunbird"
75
76 # Remove entire installed instance to prevent all kinds of
77 # problems... see bug 44772 for example
78 - rm -rf ${ROOT}${MOZILLA_FIVE_HOME}
79 + rm -rf "${ROOT}"${MOZILLA_FIVE_HOME}
80 }
81
82 pkg_postinst() {
83
84
85
86 --
87 gentoo-commits@g.o mailing list