Gentoo Archives: gentoo-commits

From: "Andreas Proschofsky (suka)" <suka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/libreoffice/files: fix-ooo-collision.diff scrap-pixmap-links.diff gentoo-3.3.0_rc4.diff enable-startup-notification.diff env_log.diff gentoo-pythonpath.diff
Date: Mon, 24 Jan 2011 19:57:55
Message-Id: 20110124195742.C70EE20054@flycatcher.gentoo.org
1 suka 11/01/24 19:57:42
2
3 Added: fix-ooo-collision.diff scrap-pixmap-links.diff
4 gentoo-3.3.0_rc4.diff
5 enable-startup-notification.diff env_log.diff
6 gentoo-pythonpath.diff
7 Log:
8 Initial commit for LibreOffice, should be mostly working, masked for testing.
9
10 (Portage version: 2.1.9.35/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.1 app-office/libreoffice/files/fix-ooo-collision.diff
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/fix-ooo-collision.diff?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/fix-ooo-collision.diff?rev=1.1&content-type=text/plain
17
18 Index: fix-ooo-collision.diff
19 ===================================================================
20 --- bin/package-ooo.orig 2010-11-29 20:16:08.700004578 +0100
21 +++ bin/package-ooo 2010-11-29 20:20:47.972004579 +0100
22 @@ -104,12 +104,12 @@
23 ln -sf $OOINSTBASE/program/soffice$BINSUFFIX $PREFIX/bin/soffice$BINSUFFIX
24
25 # no man-page so ...
26 -if test "z$VENDORNAME" != "zDebian" -a "z$VENDORNAME" != "zMandriva"; then
27 +if test "z$VENDORNAME" != "zDebian" -a "z$VENDORNAME" != "zMandriva" -a "z$VENDORNAME" != "zGentoo"; then
28 install_script $TOOLSDIR/bin/ooconfig $PREFIX/bin/ooconfig
29 install_script $OOBUILDDIR/ootool$BINSUFFIX $PREFIX/bin/ootool$BINSUFFIX
30 fi
31
32 -if test "z$VENDORNAME" = "zMandriva"; then
33 +if test "z$VENDORNAME" = "zMandriva" -o "z$VENDORNAME" = "zGentoo"; then
34 install_script $TOOLSDIR/bin/ooconfig $PREFIX/bin/ooconfig$BINSUFFIX
35 install_script $OOBUILDDIR/ootool$BINSUFFIX $PREFIX/bin/ootool$BINSUFFIX
36 fi
37 @@ -210,9 +210,9 @@
38 done
39
40 # shared MIME info
41 - mkdir -p $PREFIX/share/mime/packages
42 + mkdir -p $DATADIR/mime/packages
43 cd $TOOLSDIR/desktop
44 - cp openoffice.xml $PREFIX/share/mime/packages
45 + cp openoffice.xml $DATADIR/mime/packages/libreoffice.xml
46 if test "z$RUN_POST_INSTALL_SCRIPTS" = "zyes" &&
47 which update-mime-database >/dev/null 2>&1 ; then
48 update-mime-database /usr/share/mime || :
49
50
51
52 1.1 app-office/libreoffice/files/scrap-pixmap-links.diff
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/scrap-pixmap-links.diff?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/scrap-pixmap-links.diff?rev=1.1&content-type=text/plain
56
57 Index: scrap-pixmap-links.diff
58 ===================================================================
59 --- bin/package-ooo
60 +++ bin/package-ooo
61 @@ -212,14 +212,6 @@
62 done
63 done
64
65 - # create symlinks below share/pixmaps to keep the backward compatibility
66 - pixmapsdir=$PREFIX/share/pixmaps
67 - mkdir -p $pixmapsdir
68 - cd $OODESTDIR$icondir/48x48/apps
69 - for icon in ooo-*.png ; do
70 - ln -sf $icondir/48x48/apps/$icon $pixmapsdir
71 - done
72 -
73 # shared MIME info
74 mkdir -p $DATADIR/mime/packages
75 cd $TOOLSDIR/desktop
76 --- bin/piece/desktop-support-app
77 +++ bin/piese/desktop-support-app
78 @@ -75,17 +75,6 @@
79 test -n "$list_icon_dirs" && echo "%dir $icon_dir/$size/$category" >>files-$piece.txt
80 done
81
82 - # create symlink below share/pixmaps to keep the backward compatibility
83 - if test "$category" = "apps" ; then
84 - file=$DESTDIR/$icon_dir/48x48/apps/$icon_name.png
85 - if test -f $file ; then
86 - filename=`basename $file`
87 - pixmaps_dir=/usr/share/pixmaps
88 - mkdir -p $DESTDIR$pixmaps_dir
89 - ln -sf $icon_dir/48x48/apps/$filename $DESTDIR$pixmaps_dir
90 - test -n "$DESTDIR" && echo "$pixmaps_dir/$filename" >>files-$piece.txt
91 - fi
92 - fi
93 }
94
95 case "$app" in
96
97
98
99 1.1 app-office/libreoffice/files/gentoo-3.3.0_rc4.diff
100
101 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/gentoo-3.3.0_rc4.diff?rev=1.1&view=markup
102 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/gentoo-3.3.0_rc4.diff?rev=1.1&content-type=text/plain
103
104 Index: gentoo-3.3.0_rc4.diff
105 ===================================================================
106 --- patches/dev300/apply
107 +++ patches/dev300/apply
108 @@ -1687,16 +1687,8 @@
109 [ GentooOnly ]
110 SectionOwner => aprosky
111
112 -# Allow build to proceed with PaX enabled
113 -gentoo-pax-fix.diff, aprosky
114 # support server-only versions of 64bit JDKs
115 64bit-jdk-server-paths.diff, i#65974, hmth
116 -# use IBM j9vm over IBM classic JVM
117 -ibm-j9vm.diff, hmth
118 -# system db check
119 -system-db-check.diff, i#65979, hmth
120 -# User ~/.ooo3 as user dir
121 -scp2-user-config-ooo3.diff, pmladek
122 # default inc/lib
123 config_office-XINC-XLIB-defaults.diff, i#65976
124 # Sandbox problem with wrong path
125 --- configure.in
126 +++ configure.in
127 @@ -1326,12 +1326,18 @@
128 done
129 fi
130 SUNTEMPLATES_LANG=
131 - # check whether the langs are requested at all
132 - for lang in $wanted_sun_templates ; do
133 - if test -n "`echo $with_lang | grep "$lang"`" ; then
134 - SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
135 - fi
136 - done
137 +
138 + # --with-lang="" now used for en-US
139 + if test "z$with_lang" = "z" ; then
140 + SUNTEMPLATES_LANG="en-US"
141 + else
142 + # check whether the langs are requested at all
143 + for lang in $wanted_sun_templates ; do
144 + if test -n "`echo $with_lang | grep "$lang"`" ; then
145 + SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
146 + fi
147 + done
148 + fi
149 AC_MSG_RESULT([$SUNTEMPLATES_LANG])
150 fi
151 AC_SUBST(SUNTEMPLATES_LANG)
152
153
154
155
156 1.1 app-office/libreoffice/files/enable-startup-notification.diff
157
158 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/enable-startup-notification.diff?rev=1.1&view=markup
159 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/enable-startup-notification.diff?rev=1.1&content-type=text/plain
160
161 Index: enable-startup-notification.diff
162 ===================================================================
163 --- desktop/base.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
164 +++ desktop/base.desktop.in.in 2010-03-25 14:23:29.000000000 +0200
165 @@ -6,7 +6,7 @@
166 Icon=ooo-base@OOO_BINSUFFIX@
167 Type=Application
168 Categories=Office;Database;
169 -StartupNotify=false
170 +StartupNotify=true
171 MimeType=application/vnd.oasis.opendocument.database;application/vnd.sun.xml.base;
172 _Name=OpenOffice.org Base
173 _GenericName=Database
174 --- desktop/calc.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
175 +++ desktop/calc.desktop.in.in 2010-03-25 14:23:36.000000000 +0200
176 @@ -7,7 +7,7 @@
177 Type=Application
178 InitialPreference=6
179 Categories=Office;Spreadsheet;
180 -StartupNotify=false
181 +StartupNotify=true
182 MimeType=application/msexcel;application/vnd.lotus-1-2-3;application/vnd.ms-excel;application/vnd.oasis.opendocument.chart;application/vnd.oasis.opendocument.chart-template;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.spreadsheet-template;application/vnd.stardivision.calc;application/vnd.stardivision.chart;application/vnd.sun.xml.calc;application/vnd.sun.xml.calc.template;application/x-dbase;application/x-dbf;application/x-quattropro;text/csv;text/spreadsheet;text/x-csv;application/vnd.ms-excel.sheet.binary.macroEnabled.12;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/csv;application/excel;application/tab-separated-values;application/x-123;application/x-dos_ms_excel;application/x-excel;application/x-ms-excel;application/x-msexcel;text/comma-sep
183 arated-values;text/tab-separated-values;text/x-comma-separated-values;
184 _Name=OpenOffice.org Calc
185 _GenericName=Spreadsheet
186 --- desktop/draw.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
187 +++ desktop/draw.desktop.in.in 2010-03-25 14:23:44.000000000 +0200
188 @@ -6,7 +6,7 @@
189 Icon=ooo-draw@OOO_BINSUFFIX@
190 Type=Application
191 Categories=Graphics;VectorGraphics;
192 -StartupNotify=false
193 +StartupNotify=true
194 InitialPreference=6
195 MimeType=application/vnd.oasis.opendocument.graphics;application/vnd.oasis.opendocument.graphics-template;application/vnd.stardivision.draw;application/vnd.sun.xml.draw;application/vnd.sun.xml.draw.template;
196 _Name=OpenOffice.org Draw
197 --- desktop/impress.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
198 +++ desktop/impress.desktop.in.in 2010-03-25 14:23:52.000000000 +0200
199 @@ -6,7 +6,7 @@
200 Icon=ooo-impress@OOO_BINSUFFIX@
201 Type=Application
202 Categories=Office;Presentation;
203 -StartupNotify=false
204 +StartupNotify=true
205 MimeType=application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.oasis.opendocument.presentation;application/vnd.oasis.opendocument.presentation-template;application/vnd.stardivision.impress;application/vnd.sun.xml.impress;application/vnd.sun.xml.impress.template;application/vnd.ms-powerpoint.slideshow.macroEnabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;application/vnd.ms-powerpoint.presentation.macroEnabled.12;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;
206 InitialPreference=5
207 _Name=OpenOffice.org Impress
208 --- desktop/math.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
209 +++ desktop/math.desktop.in.in 2010-03-25 14:24:02.000000000 +0200
210 @@ -7,7 +7,7 @@
211 Icon=ooo-math@OOO_BINSUFFIX@
212 Type=Application
213 Categories=Office;Math;
214 -StartupNotify=false
215 +StartupNotify=true
216 MimeType=application/vnd.oasis.opendocument.formula;application/vnd.oasis.opendocument.formula-template;application/vnd.stardivision.math;application/vnd.sun.xml.math;text/mathml;
217 _Name=OpenOffice.org Math
218 _GenericName=Formula
219 --- desktop/ooo-extension-manager.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
220 +++ desktop/ooo-extension-manager.desktop.in.in 2010-03-25 14:24:10.000000000 +0200
221 @@ -5,7 +5,7 @@
222 Exec=unopkg@OOO_BINSUFFIX@ gui %U
223 NoDisplay=true
224 Type=Application
225 -StartupNotify=false
226 +StartupNotify=true
227 Categories=X-SuSE-Core-Office;Office;
228 MimeType=application/vnd.openofficeorg.extension;
229 Name=OpenOffice.org Extension Manager
230 --- desktop/startcenter.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
231 +++ desktop/startcenter.desktop.in.in 2010-03-25 14:24:20.000000000 +0200
232 @@ -6,7 +6,7 @@
233 Icon=ooo-gulls@OOO_BINSUFFIX@
234 Type=Application
235 Categories=Office;X-SuSE-Core-Office;
236 -StartupNotify=false
237 +StartupNotify=true
238 InitialPreference=5
239 _Name=OpenOffice.org
240 _GenericName=Office
241 --- desktop/template.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
242 +++ desktop/template.desktop.in.in 2010-03-25 14:24:27.000000000 +0200
243 Icon=ooo-gulls@OOO_BINSUFFIX@
244 Type=Application
245 Categories=X-SuSE-Core-Office;Office;
246 -StartupNotify=false
247 +StartupNotify=true
248 _Name=LibreOffice
249 _GenericName=Office Suite
250 --- desktop/web.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
251 +++ desktop/web.desktop.in.in 2010-03-25 14:24:33.000000000 +0200
252 @@ -6,7 +6,7 @@
253 Icon=ooo-web@OOO_BINSUFFIX@
254 Type=Application
255 Categories=Network;WebDevelopment;
256 -StartupNotify=false
257 +StartupNotify=true
258 MimeType=application/vnd.oasis.opendocument.text-web;
259 _Name=OpenOffice.org Writer/Web
260 _GenericName=Web Page Creation
261 --- desktop/writer.desktop.in.in 2010-01-12 12:35:25.000000000 +0200
262 +++ desktop/writer.desktop.in.in 2010-03-25 14:24:39.000000000 +0200
263 @@ -6,7 +6,7 @@
264 Icon=ooo-writer@OOO_BINSUFFIX@
265 Type=Application
266 Categories=Office;WordProcessor;
267 -StartupNotify=false
268 +StartupNotify=true
269 MimeType=application/msword;application/rtf;application/vnd.ms-works;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-master;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.stardivision.writer-global;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.global;application/vnd.sun.xml.writer.template;application/vnd.wordperfect;application/wordperfect;application/x-extension-txt;application/x-t602;text/plain;text/rtf;application/vnd.ms-word.document.macroEnabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.template.macroEnabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;
270 InitialPreference=5
271 _Name=OpenOffice.org Writer
272
273
274
275 1.1 app-office/libreoffice/files/env_log.diff
276
277 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/env_log.diff?rev=1.1&view=markup
278 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/env_log.diff?rev=1.1&content-type=text/plain
279
280 Index: env_log.diff
281 ===================================================================
282 --- bin/build-ooo.orig 2007-04-18 18:32:06.000000000 +0200
283 +++ bin/build-ooo 2007-04-18 18:32:45.000000000 +0200
284 @@ -21,9 +21,8 @@
285 echo "configuring ...";
286 autoconf || exit 1;
287
288 -echo "Env for configure:"
289 -set
290 -echo "Env for configure ends"
291 +echo "Log Env for configure to `pwd`/env.log"
292 +set > env.log
293
294 eval ./configure "$CONFIGURE_OPTIONS" "$PROPAGATED_ARGS" || exit 1;
295
296 @@ -88,8 +88,8 @@
297 # similar that gives child nmake's pain.
298 unset MAKEFLAGS
299
300 -echo "Env:"
301 -set
302 +echo "Log Env to `pwd`/env.log"
303 +set > env.log
304
305 # What extra localizations are avilable as $SRCDIR/GSI_*.sdf and are not
306 # already merged?
307
308
309
310 1.1 app-office/libreoffice/files/gentoo-pythonpath.diff
311
312 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/gentoo-pythonpath.diff?rev=1.1&view=markup
313 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/libreoffice/files/gentoo-pythonpath.diff?rev=1.1&content-type=text/plain
314
315 Index: gentoo-pythonpath.diff
316 ===================================================================
317 --- bin/package-ooo
318 +++ bin/package-ooo
319 @@ -33,6 +33,7 @@
320 {
321 cat <<EOT >$1
322 #!/bin/sh
323 +unset PYTHONPATH
324 $OOINSTBASE/program/soffice $2 "\$@"
325 EOT
326 chmod 755 $1