Browse Source

updated 5 packages

gdk-pixbuf2-xlib-2.40.2-3

gdk-pixbuf2-2.42.2-1

goffice-0.10.48-1

librsvg2-2.50.3-1

libwmf-0.2.12-1
Tomohiro "Tomo-p" KATO 3 years ago
parent
commit
0b6d6086d8

+ 78 - 0
g/gdk-pixbuf2-xlib/gdk-pixbuf2-xlib-vl.spec

@@ -0,0 +1,78 @@
+Summary:        Deprecated Xlib integration for gdk-pixbuf2
+Summary(ja):    非推奨のXlib/gdk-pixbuf2統合機能
+Name:           gdk-pixbuf2-xlib
+Version:        2.40.2
+Release:        3%{?_dist_release}
+Group:          system
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        LGPLv2+
+URL:            https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib
+Source0:        https://download.gnome.org/sources/gdk-pixbuf-xlib/2.40/gdk-pixbuf-xlib-%{version}.tar.xz
+
+BuildRequires:  gcc
+BuildRequires:  gtk-doc
+BuildRequires:  meson
+BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
+BuildRequires:  pkgconfig(x11)
+
+%description
+gdk-pixbuf2-xlib contains the deprecated API for integrating gdk-pixbuf2 with
+Xlib data types.
+
+This library was originally shipped by gdk-pixbuf2, and has
+since been moved out of the original repository.
+
+No newly written code should ever use this library.
+
+If your existing code depends on gdk-pixbuf2-xlib, then you're strongly
+encouraged to port away from it.
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          programming
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%debug_package
+
+
+%prep
+%autosetup -p1 -n gdk-pixbuf-xlib-%{version}
+
+
+%build
+%meson -Dgtk_doc=true
+%meson_build
+
+
+%install
+%meson_install
+
+
+%files
+%license COPYING
+%doc README.md
+%{_libdir}/libgdk_pixbuf_xlib-2.0.so.0*
+
+%files devel
+%{_includedir}/gdk-pixbuf-2.0/
+%{_libdir}/libgdk_pixbuf_xlib-2.0.so
+%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
+%{_datadir}/gtk-doc/
+
+
+%changelog
+* Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.40.2-3
+- initial build for Vine Linux.
+
+* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 2.40.2-2
+- Use actual gdk-pixbuf2 package names in package description and summary
+
+* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 2.40.2-1
+- Initial Fedora packaging, package split off from gdk-pixbuf2

+ 25 - 27
g/gdk-pixbuf2/gdk-pixbuf2-vl.spec

@@ -10,9 +10,9 @@
 
 Name:           gdk-pixbuf2
 Summary:        An image loading library
-Version:        2.40.0
+Version:        2.42.2
 Release:        1%{?_dist_release}
-Group:          System Environment/Libraries
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -26,7 +26,6 @@ BuildRequires:  glib2-devel >= 2.36.0
 BuildRequires:  libpng-devel
 BuildRequires:  libjpeg-turbo-devel
 BuildRequires:  libtiff-devel
-BuildRequires:  libX11-devel
 BuildRequires:  gobject-introspection-devel
 BuildConflicts: jasper-devel
 
@@ -55,7 +54,7 @@ clutter.
 
 %package devel
 Summary: Development files for gdk-pixbuf
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: glib2-devel
 Requires: gobject-introspection-devel
@@ -73,8 +72,8 @@ for writing applications that are using gdk-pixbuf.
 # compat32
 %package -n compat32-%{name}
 Summary:        An image loading library
-Group:          System Environment/Libraries
-Requires(post): compat32-glib2 >= %{glib2_version}
+Group:          system,legacy
+Requires(post): compat32-glib2
 # gdk-pixbuf was included in gtk2 until 2.21.2
 Conflicts: compat32-gtk2 <= 2.21.2
 
@@ -85,7 +84,7 @@ clutter.
 
 %package -n compat32-%{name}-devel
 Summary: Development files for gdk-pixbuf
-Group: Development/Libraries
+Group: programming,legacy
 Requires: compat32-%{name} = %{version}-%{release}
 Requires: %{name} = %{version}-%{release}
 Requires: compat32-libpng-devel
@@ -96,14 +95,17 @@ Conflicts: compat32-gtk2-devel <= 2.21.2
 %description -n compat32-%{name}-devel
 This package contains the libraries and header files that are needed
 for writing applications that are using gdk-pixbuf.
-
 %endif
 
 
+%debug_package
+
+
 %prep
 %setup -q -n gdk-pixbuf-%{version}
 ## %patch0 -p1 -b .libpng-linking
 
+
 %build
 %meson \
   -Dbuiltin_loaders=png \
@@ -124,26 +126,23 @@ touch %{buildroot}%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
 
 %find_lang gdk-pixbuf
 
-%post
-/sbin/ldconfig
+
+%ldconfig_scriptlets
+
+%transfiletriggerin -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
 gdk-pixbuf-query-loaders --update-cache || : > /dev/null 2>&1
 
-%postun
-/sbin/ldconfig
-if [ $1 -gt 0 ]; then
-  gdk-pixbuf-query-loaders --update-cache || : > /dev/null 2>&1
-fi
+%transfiletriggerpostun -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
+gdk-pixbuf-query-loaders --update-cache || : > /dev/null 2>&1
 
 %if %{build_compat32}
-%post -n compat32-%{name}
-/sbin/ldconfig
+%ldconfig_scriptlets -n compat32-%{name}
+
+%transfiletriggerin -n compat32-%{name} -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
 gdk-pixbuf-query-loaders%{_query_suffix} --update-cache || : > /dev/null 2>&1
 
-%postun -n compat32-%{name}
-/sbin/ldconfig
-if [ $1 -gt 0 ]; then
-  gdk-pixbuf-query-loaders%{_query_suffix} --update-cache || : > /dev/null 2>&1
-fi
+%transfiletriggerpostun -n compat32-%{name} -- %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
+gdk-pixbuf-query-loaders%{_query_suffix} --update-cache || : > /dev/null 2>&1
 %endif
 
 
@@ -154,7 +153,6 @@ fi
 %{_bindir}/gdk-pixbuf-pixdata
 %{_bindir}/gdk-pixbuf-thumbnailer
 %{_libdir}/libgdk_pixbuf-2.0.so.*
-%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
 %{_libdir}/girepository-1.0
 %dir %{_libdir}/gdk-pixbuf-2.0
 %dir %{_libdir}/gdk-pixbuf-2.0/2.10.0
@@ -169,9 +167,7 @@ fi
 %defattr(-,root,root,-)
 %{_includedir}/gdk-pixbuf-2.0
 %{_libdir}/libgdk_pixbuf-2.0.so
-%{_libdir}/libgdk_pixbuf_xlib-2.0.so
 %{_libdir}/pkgconfig/gdk-pixbuf-2.0.pc
-%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc
 %{_bindir}/gdk-pixbuf-csource
 %{_datadir}/gtk-doc/html/*
 %{_datadir}/gir-1.0
@@ -181,7 +177,6 @@ fi
 %files -n compat32-%{name}
 %defattr(-,root,root,-)
 %{_libdir}/libgdk_pixbuf-2.0.so.*
-%{_libdir}/libgdk_pixbuf_xlib-2.0.so.*
 %dir %{_libdir}/gdk-pixbuf-2.0
 %dir %{_libdir}/gdk-pixbuf-2.0/2.10.0
 %dir %{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders
@@ -192,11 +187,14 @@ fi
 %files -n compat32-%{name}-devel
 %defattr(-,root,root,-)
 %{_libdir}/libgdk_pixbuf-2.0.so
-%{_libdir}/libgdk_pixbuf_xlib-2.0.so
 %endif
 
 
 %changelog
+* Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.42.2-1
+- new upstream release.
+- updated %%post{,un} and trigger scripts.
+
 * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.40.0-1
 - new upstream release.
 

+ 10 - 7
g/goffice/goffice-vl.spec

@@ -1,8 +1,8 @@
 Summary:        Set of document centric objects and utilities for glib/gtk
 Name:           goffice
-Version:        0.10.46
+Version:        0.10.48
 Release:        1%{?_dist_release}
-Group:          System Environment/Libraries
+Group:          system
 Vendor:         Project Vine
 Distribution:   Vine Linux
 
@@ -27,10 +27,9 @@ conceptually simple, but complex to implement fully.
     - load/save documents
     - undo/redo
 
-
 %package devel
 Summary: Development files of the Goffice library.
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}
 Requires: pkgconfig
 
@@ -38,6 +37,9 @@ Requires: pkgconfig
 Development files of the Goffice library.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
@@ -60,9 +62,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
 
 
 %files -f %{name}-%{version}.lang
@@ -82,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.48-1
+- new upstream release.
+
 * Sat May 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.46-1
 - new upstream release.
 

+ 7 - 4
lib/libr/librsvg2/librsvg2-vl.spec

@@ -4,7 +4,7 @@ Name:           librsvg2
 Summary:        An SVG library based on cairo.
 Summary(ja):    cairo ベースの SVG ライブラリ
 Group:          graphics,system
-Version:        2.48.8
+Version:        2.50.3
 Release:        1%{?_dist_release}
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -43,8 +43,8 @@ Summary: Libraries and include files for developing with librsvg.
 Summary(ja): librsvg の開発用ライブラリおよびヘッダファイル
 Group: programming
 Requires: %{name} = %{version}
-Requires: gdk-pixbuf2-devel >= %{gdk_pixbug2_version}
-Requires: cairo-devel >= %{cairo_version}
+Requires: gdk-pixbuf2-devel
+Requires: cairo-devel
 
 %description devel
 This package provides the necessary development libraries and include
@@ -55,8 +55,8 @@ files to allow you to develop with librsvg.
 Summary:        Documentation for %{name}
 Summary(ja):    %{name} 用のドキュメント
 Group:          documentation
+BuildArch:      noarch
 Requires:       %{name} = %{version}-%{release}
-BuildArch:	noarch
 
 %description    docs
 This package contains documentation for %{name}.
@@ -146,6 +146,9 @@ fi ||:
 
 
 %changelog
+* Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.50.3-1
+- new upstream release.
+
 * Thu Aug 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.48.8-1
 - new upstream release.
 - cleaned BR: up.

+ 48 - 61
lib/libw/libwmf/libwmf-vl.spec

@@ -1,38 +1,14 @@
 Summary: A .wmf file converter.
 Name: libwmf
-Version: 0.2.8.4
-Release: 7%{?_dist_release}
-License: GPL
-Group: System Environment/Libraries
-URL: http://wvware.sourceforge.net/libwmf.html
-Source0: http://prdownloads.sourceforge.net/wvware/libwmf-%{version}.tar.gz
-
-# fix CVE-2006-3376
-Patch0: libwmf-0.2.8.4-CVE-2006-3376.patch
-# fix CVE-2009-1364 (embedded GD graphics library)
-Patch1: libwmf-0.2.8.4-realloc.patch
-# adapt to standalone gdk-pixbuf
-Patch8: libwmf-0.2.8.4-pixbufloaderdir.patch
-# CVE-2007-0455
-Patch9:  libwmf-0.2.8.4-CVE-2007-0455.patch
-# CVE-2007-3472
-Patch10: libwmf-0.2.8.4_CVE-2007-3472.patch
-# CVE-2007-3473
-Patch11: libwmf-0.2.8.4-CVE-2007-3473.patch
-# CVE-2006-2906 affects GIFs, which is not implemented here
-# CVE-2006-4484 affects GIFs, which is not implemented here
-# CVE-2007-3474 affects GIFs, which is not implemented here
-# CVE-2007-3475 affects GIFs, which is not implemented here
-# CVE-2007-3476 affects GIFs, which is not implemented here
-# CVE-2007-3477
-Patch12: libwmf-0.2.8.4-CVE-2007-3477.patch
-# CVE-2007-3478 affects shared ttf files across threads, which is not implemented here
-# CVE-2007-2756
-Patch13: libwmf-0.2.8.4-CVE-2007-2756.patch
-# CAN-2004-0941
-Patch14: libwmf-0.2.8.4-CAN-2004-0941.patch
-# CVE-2009-3546
-Patch15: libwmf-0.2.8.4-CVE-2009-3546.patch
+Version: 0.2.12
+Release: 1%{?_dist_release}
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+
+License: LGPLv2+ and GPLv2+ and GPL+
+URL: https://github.com/caolanm/libwmf
+Source0: https://github.com/caolanm/libwmf/archive/v%{version}.tar.gz#/libwmf-%{version}.tar.gz
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: libxml2-devel
@@ -46,11 +22,10 @@ BuildRequires: libX11-devel
 BuildRequires: libXt-devel
 BuildRequires: xorg-x11-proto-devel
 Requires: ghostscript
-Requires: gtk2 >= 2.10.0
 Requires: freetype2 >= 2.1.7
-
-Vendor:         Project Vine
-Distribution:   Vine Linux
+Requires: urw-fonts
+# for file triggers
+Requires: gdk-pixbuf2%{?_isa}
 
 %description
 The libwmf library provides routines for converting Microsoft(R) .wmf
@@ -61,58 +36,58 @@ conversion process and other vector-based formats conversions.
 
 %package devel
 Summary: Development tools for programs to manipulate metafile images
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Requires: zlib-devel
-Requires: libX11-devel
-Requires: libxml2-devel
+Requires: gtk2-devel, libxml2-devel, libjpeg-devel
 Requires: libpng-devel
-Requires: libjpeg-devel
 Requires: freetype2-devel >= 2.1.7
 
 %description devel
 The libwmf-devel package contains the header files and static
 libraries necessary for developing programs using libwmf.
 
+
+%debug_package
+
+
 %prep
 %setup -q 
-%patch0 -p1 -b .CVE-2006-3376
-%patch1 -p1 -b .CVE-2009-1364
-
-%patch8 -p1 -b .pixbufloaderdir
-%patch9  -p1 -b .CVE-2007-0455
-%patch10 -p0 -b .CVE-2007-3472
-%patch11 -p1 -b .CVE-2007-3473
-%patch12 -p1 -b .CVE-2007-3477
-%patch13 -p1 -b .CVE-2007-2756
-%patch14 -p1 -b .CAN-2004-0941
-%patch15 -p1 -b .CVE-2009-3546
+
 
 %build
 %configure --without-expat --with-x --disable-static
+%configure --with-libxml2 --disable-static --disable-dependency-tracking --with-
+gsfontdir=/usr/share/fonts/default/Type1
 make %{?_smp_mflags}
 
+
 %install
 rm -rf %{buildroot}
-mkdir -p docs-to-install
 make install DESTDIR=%{buildroot}
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
-rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/loaders/*.{la,a}
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+rm -rf %{buildroot}%{_includedir}/libwmf/gd
+find doc -name "Makefile*" -exec rm {} \;
+
+#we're carrying around duplicate fonts
+rm -rf %{buildroot}%{_datadir}/libwmf/fonts/*afm
+rm -rf %{buildroot}%{_datadir}/libwmf/fonts/*t1
+sed -i %{buildroot}%{_datadir}/libwmf/fonts/fontmap -e 's#libwmf/fonts#fonts/default/Type1#g'
 
-cp -pr %{buildroot}%{_datadir}/doc/libwmf/* docs-to-install/
-rm -rf %{buildroot}%{_datadir}/doc/libwmf/
 
 %clean
 rm -rf %{buildroot}
 
-%post -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
+
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog README CREDITS COPYING TODO docs-to-install/* examples
+%license COPYING
+%doc AUTHORS README
 %{_bindir}/wmf2eps
 %{_bindir}/wmf2fig
 %{_bindir}/wmf2svg
@@ -120,16 +95,28 @@ rm -rf %{buildroot}
 %{_bindir}/wmf2x
 %{_bindir}/libwmf-fontmap
 %{_libdir}/lib*.so.*
-%{_libdir}/gtk-2.0/*/loaders/*.so
+%{_libdir}/gdk-pixbuf-2.0/*/loaders/*.so
 %{_datadir}/libwmf
 
 %files devel
 %defattr(-,root,root)
+%doc examples
+%doc doc/*.html
+%doc doc/*.png
+%doc doc/*.gif
+%doc doc/html
+%doc doc/caolan
 %{_bindir}/libwmf-config
 %{_includedir}/libwmf
 %{_libdir}/lib*.so
+%{_libdir}/pkgconfig/libwmf.pc
+
 
 %changelog
+* Mon Mar 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.2.12-1
+- switched to the forked project.
+- new upstream release.
+
 * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.8.4-7
 - rebuld with VineSeed environment