1 |
scarabeus 11/07/26 18:20:01 |
2 |
|
3 |
Modified: libreoffice-3.4.2.2.ebuild ChangeLog |
4 |
Log: |
5 |
Introduce branding useflag, yay gentoo screen and about, Thanx to Ian Whyman for this. |
6 |
|
7 |
(Portage version: 2.2.0_alpha47/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.16 app-office/libreoffice/libreoffice-3.4.2.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-3.4.2.2.ebuild?rev=1.16&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-3.4.2.2.ebuild?rev=1.16&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-3.4.2.2.ebuild?r1=1.15&r2=1.16 |
15 |
|
16 |
Index: libreoffice-3.4.2.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.2.2.ebuild,v |
19 |
retrieving revision 1.15 |
20 |
retrieving revision 1.16 |
21 |
diff -u -r1.15 -r1.16 |
22 |
--- libreoffice-3.4.2.2.ebuild 26 Jul 2011 16:20:59 -0000 1.15 |
23 |
+++ libreoffice-3.4.2.2.ebuild 26 Jul 2011 18:20:01 -0000 1.16 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2011 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.2.2.ebuild,v 1.15 2011/07/26 16:20:59 scarabeus Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.4.2.2.ebuild,v 1.16 2011/07/26 18:20:01 scarabeus Exp $ |
29 |
|
30 |
EAPI=3 |
31 |
|
32 |
@@ -10,14 +10,15 @@ |
33 |
PYTHON_DEPEND="2" |
34 |
PYTHON_USE_WITH="threads,xml" |
35 |
|
36 |
+DEV_URI="http://download.documentfoundation.org/libreoffice/src" |
37 |
+EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice" |
38 |
+ADDONS_URI="http://dev-www.libreoffice.org/src/" |
39 |
+ |
40 |
inherit base autotools check-reqs eutils java-pkg-opt-2 kde4-base pax-utils prefix python multilib toolchain-funcs flag-o-matic |
41 |
|
42 |
DESCRIPTION="LibreOffice, a full office productivity suite." |
43 |
HOMEPAGE="http://www.libreoffice.org" |
44 |
-DEV_URI="http://download.documentfoundation.org/libreoffice/src" |
45 |
-EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice" |
46 |
-ADDONS_URI="http://dev-www.libreoffice.org/src/" |
47 |
-SRC_URI="odk? ( java? ( http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll ) )" |
48 |
+SRC_URI="branding? ( http://dev.gentooexperimental.org/~scarabeus/${PN}-branding-gentoo-0.1.tar.xz )" |
49 |
|
50 |
# Shiny split sources with so many packages... |
51 |
MODULES="artwork base calc components extensions extras filters help |
52 |
@@ -96,8 +97,9 @@ |
53 |
unset EXT_URI |
54 |
unset ADDONS_SRC |
55 |
|
56 |
-IUSE="binfilter cups custom-cflags dbus debug eds gnome gstreamer gtk kde ldap |
57 |
-mysql nsplugin odk offlinehelp opengl python templates test +vba webdav" |
58 |
+IUSE="binfilter +branding cups custom-cflags dbus debug eds gnome gstreamer gtk |
59 |
+kde ldap mysql nsplugin odk offlinehelp opengl python templates test +vba |
60 |
+webdav" |
61 |
LICENSE="LGPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
64 |
@@ -281,6 +283,10 @@ |
65 |
src_unpack() { |
66 |
local mod dest tmplfile tmplname |
67 |
|
68 |
+ if use branding; then |
69 |
+ unpack "${PN}-branding-gentoo-0.1.tar.xz" |
70 |
+ fi |
71 |
+ |
72 |
#first the bootstrap files |
73 |
unpack "${PN}-bootstrap-${PV}.tar.bz2" |
74 |
|
75 |
@@ -355,9 +361,8 @@ |
76 |
--enable-ext-presenter-minimizer |
77 |
" |
78 |
|
79 |
- # Things that do not have gentoo packages |
80 |
# hsqldb: requires just 1.8.0 not 1.8.1 which we don't ship at all |
81 |
- # we should use in-system dmake: so far fails |
82 |
+ # dmake: not worth of splitting out |
83 |
internal_libs+=" |
84 |
--without-system-hsqldb |
85 |
" |
86 |
@@ -389,9 +394,12 @@ |
87 |
fi |
88 |
fi |
89 |
|
90 |
- # TODO: create gentoo branding on the about/intro screens |
91 |
- # --with-about-bitmap="${FILESDIR}/gentoo-about.png" |
92 |
- # --with-intro-bitmap="${FILESDIR}/gentoo-intro.png" |
93 |
+ if use branding; then |
94 |
+ extensions+=" |
95 |
+ --with-about-bitmap="${WORKDIR}/branding-about.png" |
96 |
+ --with-intro-bitmap="${WORKDIR}/branding-intro.png" |
97 |
+ " |
98 |
+ fi |
99 |
|
100 |
# system headers/libs/...: enforce using system packages |
101 |
# only expections are mozilla and odbc/sane/xrender-header(s). |
102 |
@@ -491,7 +499,8 @@ |
103 |
$(use_with offlinehelp helppack-integration) \ |
104 |
$(use_with templates sun-templates) \ |
105 |
${internal_libs} \ |
106 |
- ${java_opts} |
107 |
+ ${java_opts} \ |
108 |
+ ${extensions} |
109 |
} |
110 |
|
111 |
src_compile() { |
112 |
@@ -501,6 +510,11 @@ |
113 |
src_install() { |
114 |
# This is not Makefile so no buildserver |
115 |
make DESTDIR="${D}" distro-pack-install || die |
116 |
+ |
117 |
+ if use branding; then |
118 |
+ insinto /usr/$(get_libdir)/${PN}/program |
119 |
+ newins "${WORKDIR}/branding-sofficerc" sofficerc || die |
120 |
+ fi |
121 |
} |
122 |
|
123 |
pkg_preinst() { |
124 |
|
125 |
|
126 |
|
127 |
1.57 app-office/libreoffice/ChangeLog |
128 |
|
129 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?rev=1.57&view=markup |
130 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?rev=1.57&content-type=text/plain |
131 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/ChangeLog?r1=1.56&r2=1.57 |
132 |
|
133 |
Index: ChangeLog |
134 |
=================================================================== |
135 |
RCS file: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v |
136 |
retrieving revision 1.56 |
137 |
retrieving revision 1.57 |
138 |
diff -u -r1.56 -r1.57 |
139 |
--- ChangeLog 26 Jul 2011 17:05:34 -0000 1.56 |
140 |
+++ ChangeLog 26 Jul 2011 18:20:01 -0000 1.57 |
141 |
@@ -1,6 +1,11 @@ |
142 |
# ChangeLog for app-office/libreoffice |
143 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
144 |
-# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.56 2011/07/26 17:05:34 scarabeus Exp $ |
145 |
+# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.57 2011/07/26 18:20:01 scarabeus Exp $ |
146 |
+ |
147 |
+ 26 Jul 2011; Tomáš Chvátal <scarabeus@g.o> |
148 |
+ libreoffice-3.4.2.2.ebuild: |
149 |
+ Introduce branding useflag, yay gentoo screen and about, Thanx to Ian Whyman |
150 |
+ for this. |
151 |
|
152 |
26 Jul 2011; Tomáš Chvátal <scarabeus@g.o> |
153 |
files/libreoffice-fix-sandbox-install.patch: |