Hello community,

here is the log from the commit of package libreoffice-openclipart for 
openSUSE:Factory checked in at 2013-08-07 21:07:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libreoffice-openclipart (Old)
 and      /work/SRC/openSUSE:Factory/.libreoffice-openclipart.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libreoffice-openclipart"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libreoffice-openclipart/libreoffice-openclipart.changes
  2013-01-31 16:44:56.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.libreoffice-openclipart.new/libreoffice-openclipart.changes
     2013-08-07 21:07:21.000000000 +0200
@@ -1,0 +2,16 @@
+Fri Jul 12 15:27:16 UTC 2013 - [email protected]
+
+- update version to 4.1:
+    + requires libreoffice >= 4.1; LibreOffice 4.1 uses a bit updated
+      format and the galleries are not readable by older LO versions
+    + gallery files use user friendly file names instead of sdXXX
+- use filename prefix "openclipart-" to avoid conflict with other
+  existing galleries
+- remove obsolete --number-from option
+- remove obsolete build dependency on librsvg; LO 4.x uses svgio
+- remove obsolete build and runtime dependency on libreoffice-filters-optional;
+  LO 4.1 has the SVG import in the main package
+- remove -z from sort; it was from the xargs times; it broke the list
+  of files in the for cycle and the galleries were empty
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libreoffice-openclipart.spec ++++++
--- /var/tmp/diff_new_pack.rPDs8v/_old  2013-08-07 21:07:22.000000000 +0200
+++ /var/tmp/diff_new_pack.rPDs8v/_new  2013-08-07 21:07:22.000000000 +0200
@@ -20,25 +20,16 @@
 Url:            http://www.documentfoundation.org/
 # We use the gengal in the headles mode; it was added in 
OpenOffice_org-2.2.99.221
 BuildRequires:  libreoffice >= 3.3.98
-# SVG import filter is in the optional package
-BuildRequires:  libreoffice-filters-optional
-# the system librsvg is dlopened; there is no direct dependency
-BuildRequires:  librsvg
 BuildRequires:  openclipart-svg
 %define        openclipart_dir %_datadir/clipart/openclipart
 %define        lo_home         libreoffice
-# LO uses ugly names for galleries (std_prefix + index + std_suffix)
-# The openlipart gallery should start from the index 70
-%define                gal_num_from    70
 Summary:        Extra Galleries for LibreOffice
 License:        GPL-2.0+ and LGPL-2.1+
 Group:          Productivity/Office/Suite
-Version:        3.5
+Version:        4.1
 Release:        0
 # LO-2.x with link-to-ooo-home script is required
-Requires:       libreoffice >= 3.4.98
-# SVG import filter is in the optional package
-Requires:       libreoffice-filters-optional >= 3.3.98
+Requires:       libreoffice >= 4.1
 # postinstall script dependencies
 %if 0%{?suse_version} > 01120
 Requires(post):   coreutils
@@ -123,8 +114,9 @@
        echo "Enf of the list"
        #
        # xargs is necessary because the list of files is quite long
-       for file in `find $dir -name "*.svg" -print | LC_CTYPE=C sort -z | grep 
-v -f $blacklist` ; do
-               $GENGAL_BIN -headless  --name "$gal_name" --path 
$RPM_BUILD_DIR/%name-%version --number-from "%gal_num_from" "$file" || echo 
"$file" >> $failed
+       for file in `find $dir -name "*.svg" -print | grep -v -f $blacklist | 
LC_CTYPE=C sort` ; do
+               echo "file: $file"
+               $GENGAL_BIN -headless  --name "$gal_name" --path 
$RPM_BUILD_DIR/%name-%version "$file" || echo "$file" >> $failed
        done
        rm $blacklist
 
@@ -137,9 +129,13 @@
 # FIXME: The stuff from this directory is linked to ooo-home by the script
 #        link-to-ooo-home; so it must keep the usual OOo structure
 install -m 755 -d $RPM_BUILD_ROOT%_datadir/%lo_home/share/gallery
-for file in `ls sg*` ; do
-    install -m 644 $file $RPM_BUILD_ROOT%_datadir/%lo_home/share/gallery
-    echo "%_datadir/%lo_home/share/gallery/$file" 
>>$RPM_BUILD_ROOT%_datadir/%lo_home/openclipart_list.txt
+for file in *.sdg ; do
+    name="${file%.sdg}"
+    name_new="openclipart-$name"
+    for suffix in sdg sdv thm ; do
+       install -m 644 "$name.$suffix" 
"$RPM_BUILD_ROOT%_datadir/%lo_home/share/gallery/$name_new.$suffix"
+       echo "%_datadir/%lo_home/share/gallery/$name_new.$suffix" 
>>$RPM_BUILD_ROOT%_datadir/%lo_home/openclipart_list.txt
+    done
 done
 echo "%dir %_datadir/%lo_home/"                
>>$RPM_BUILD_ROOT%_datadir/%lo_home/openclipart_list.txt
 echo "%dir %_datadir/%lo_home/share"           
>>$RPM_BUILD_ROOT%_datadir/%lo_home/openclipart_list.txt

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to