Browse Source

updated 14 packages

ImageMagick-6.9.12.97-1

cairo-1.18.0-1

cups-filters-1.28.16-1

cups-2.4.7-1

fontconfig-2.14.2-1

freetype2-2.13.2-1

ghostscript-10.02.0-1

giflib-5.2.1-3

gnutls-3.8.1-1

i2c-tools-4.3-1

libpng-1.6.40-1

librsvg2-2.57.0-1

pango-1.51.0-1

qpdf-11.6.1-1
Tomohiro "Tomo-p" KATO 5 months ago
parent
commit
6cd383decf

+ 5 - 15
I/ImageMagick/ImageMagick-vl.spec

@@ -2,7 +2,7 @@
 # 6.2.9.7 is actually version 6.2.9, Patchlevel 0.
 
 %define VER 6.9.12
-%define Patchlevel 77
+%define Patchlevel 97
 
 Name: ImageMagick
 Summary: X application for displaying and manipulating images.
@@ -29,7 +29,7 @@ Source: https://imagemagick.org/download/ImageMagick-%{version}.tar.xz
 %endif
 #Patch1: ImageMagick-6.2.9-CVE-2006-5456_2007-0770.patch
 
-Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: bzip2-devel
 BuildRequires: cairo-devel
 BuildRequires: pango-devel
@@ -56,19 +56,6 @@ BuildRequires: xz-devel
 BuildRequires: xz-lzma-compat
 BuildRequires: libtool-ltdl-devel
 
-Requires: bzip2
-Requires: freetype2
-Requires: giflib
-Requires: graphviz
-Requires: lcms2
-Requires: libjpeg-turbo
-Requires: libpng
-Requires: libtiff
-Requires: libxml2
-Requires: OpenEXR-libs
-Requires: xorg-x11-server-utils
-Requires: zlib
-
 %description
 ImageMagick(TM) is an image display and manipulation tool for the X
 Window System. ImageMagick can read and write JPEG, TIFF, PNM, GIF,
@@ -335,6 +322,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jul 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.12.90-1
+- new upstream release.
+
 * Thu Mar 02 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.12.77-1
 - new upstream release.
 

+ 8 - 8
c/cairo/cairo-vl.spec

@@ -3,7 +3,7 @@
 Summary:	Cairo - multi-platform 2D graphics library.
 Summary(ja):	Cairo - マルチプラットフォーム 2D グラフィックスライブラリ
 Name:		cairo
-Version:	1.17.8
+Version:	1.18.0
 Release:	1%{?_dist_release}
 Group:		system
 Vendor:		Project Vine
@@ -12,8 +12,8 @@ Distribution:	Vine Linux
 License:	LGPL/MPL
 URL:		https://cairographics.org/
 %define		shortver %(echo %{version} | cut -d. -f1-2)
-Source0:	https://cairographics.org/snapshots/%{name}-%{version}.tar.xz
-Patch1:		cairo-1.17.8-fix-tee.patch
+Source0:	https://www.cairographics.org/releases/%{name}-%{version}.tar.xz
+Patch1:		cairo-multilib.patch
 
 # security fixes
 # none
@@ -125,7 +125,6 @@ This package contains tools for working with the cairo graphics library.
 
 
 %build
-	
 %meson \
   -Dfreetype=enabled \
   -Dfontconfig=enabled \
@@ -137,7 +136,7 @@ This package contains tools for working with the cairo graphics library.
   -Dtests=disabled \
   -Dxcb=enabled \
   -Dxlib=enabled \
-  -Dxml=disabled
+  %{nil}
 
 %meson_build
 
@@ -154,11 +153,10 @@ This package contains tools for working with the cairo graphics library.
 
 %files 
 %license COPYING COPYING-*
-%doc AUTHORS BIBLIOGRAPHY BUGS NEWS README
+%doc AUTHORS BUGS NEWS README.md
 %{_libdir}/lib*.so.*
 
 %files devel
-%doc ChangeLog PORTING_GUIDE
 %{_libdir}/lib*.so
 %{_includedir}/*
 %{_libdir}/pkgconfig/*.pc
@@ -167,7 +165,6 @@ This package contains tools for working with the cairo graphics library.
 
 %files tools
 %{_bindir}/cairo-trace
-%{_bindir}/cairo-sphinx
 %{_libdir}/cairo
 
 %if %{build_compat32}
@@ -177,6 +174,9 @@ This package contains tools for working with the cairo graphics library.
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.18.0-1
+- new upstream release.
+
 * Mon Feb 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.17.8-1
 - new upstream release.
 - dropped Patch1 and 2: fixed in upstream.

+ 8 - 1
c/cups-filters/cups-filters-vl.spec

@@ -3,7 +3,7 @@
 
 Summary:        OpenPrinting CUPS filters and backends
 Name:           cups-filters
-Version:        1.28.11
+Version:        1.28.16
 Release:        1%{?_dist_release}
 Group:          publishing
 Vendor:         Project Vine
@@ -121,9 +121,12 @@ This is the development package for OpenPrinting CUPS filters and backends.
 # --with-rcdir=no - don't install SysV init script
 export IJS_CFLAGS="-I/usr/include/ijs"
 export IJS_LIBS="-lijs"
+export CXXFLAGS="${CXXFLAGS} -std=c++17"
+
 %configure --disable-static \
            --disable-silent-rules \
            --disable-mutool \
+           --disable-exif \
            --with-pdftops=hybrid \
            --enable-dbus \
            --with-rcdir=%{_sysconfdir} \
@@ -254,7 +257,11 @@ fi
 %{_libdir}/libcupsfilters.so
 %{_libdir}/libfontembed.so
 
+
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.28.16-1
+- new upstream release.
+
 * Thu Feb 03 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.28.11-1
 - new upstream release.
 

+ 150 - 196
c/cups/cups-vl.spec

@@ -9,7 +9,7 @@
 
 Summary: Common Unix Printing System
 Name: cups
-Version: 2.3.3
+Version: 2.4.7
 Release: 1%{?_dist_release}%{?with_systemd:.systemd}
 Group: servers
 Vendor: Project Vine
@@ -23,16 +23,12 @@ Source: https://github.com/OpenPrinting/cups/archive/v%{version}.tar.gz#/cups-%{
 Source1: cups.init
 # Pixmap for desktop file
 Source2: cupsprinter.png
-# udev rules for libusb devices
-Source3: cups-libusb.rules
 # LSPP-required ps->pdf filter
 Source4: pstopdf
 # xinetd config file for cups-lpd service
 Source5: cups-lpd
 # Logrotate configuration
 Source6: cups.logrotate
-# Backend for NCP protocol
-Source7: ncp.backend
 # Cron-based tmpwatch for /var/spool/cups/tmp
 Source8: cups.cron
 # Filter and PPD for textonly printing
@@ -40,7 +36,6 @@ Source9: textonly.filter
 Source10: textonly.ppd
 Source11: macros.cups
 
-Source101: http://www.openprinting.org/download/printing/dnssd
 Source102: pstoraster
 Source103: pstoraster.convs
 Source104: postscript.ppd.gz
@@ -69,60 +64,36 @@ Patch3: cups-banners.patch
 Patch4: cups-no-export-ssllibs.patch
 # enables old uri usb:/dev/usb/lp0 - leave it here for users of old printers
 Patch5: cups-direct-usb.patch
-# fix for redhat dbus spooler - adding new dbus functions to backend/ipp.c
-# -> initialize dbus connection and sending dbus broadcast about job queued
-# on remote queue with QueueChanged type for PRINTER_CHANGED, JOB_STATE_CHANGED
-# and PRINTER_STATE_CHANGED events 
-Patch6: cups-eggcups.patch
 # when system workload is high, timeout for cups-driverd can be reached -
 # increase the timeout
-Patch7: cups-driverd-timeout.patch
-# cupsd implement its own logrotate, but when MaxLogSize 0 is used, logrotated
-# takes care of it
-Patch8: cups-logrotate.patch
+Patch6: cups-driverd-timeout.patch
 # usb backend didn't get any notification about out-of-paper because of kernel 
-Patch9: cups-usb-paperout.patch
+Patch7: cups-usb-paperout.patch
 # uri compatibility with old Fedoras
-Patch10: cups-uri-compat.patch
-# fixing snmp oid for hp printer - upstream doesn't want to support too much
-# snmp backend, because it's deprecated
-Patch11: cups-hp-deviceid-oid.patch
-# same as HP OID
-Patch12: cups-ricoh-deviceid-oid.patch
-# change to notify type, because when it fails to start, it gives a error
-# message + renaming org.cups.cupsd names, because we have cups units in
-# in older Fedoras
-Patch13: cups-systemd-socket.patch
+Patch8: cups-uri-compat.patch
 # use IP_FREEBIND, because cupsd cannot bind to not yet existing IP address
 # by default
-Patch14: cups-freebind.patch
+Patch9: cups-freebind.patch
 # add support of multifile
-Patch15: cups-ipp-multifile.patch
+Patch10: cups-ipp-multifile.patch
 # prolongs web ui timeout
-Patch16: cups-web-devices-timeout.patch
-# needs to be set to Yes to avoid race conditions
-Patch17: cups-synconclose.patch
-# ypbind must be started before cups if NIS configured
-Patch18: cups-ypbind.patch
+Patch11: cups-web-devices-timeout.patch
 # failover backend for implementing failover functionality
 # TODO: move it to the cups-filters upstream
-Patch19: cups-failover-backend.patch
-
-# reported upstream
-# adds logs when job fails due bad conversion
-Patch20: cups-filter-debug.patch
+Patch12: cups-failover-backend.patch
 # add device id for dymo printer
-Patch21: cups-dymo-deviceid.patch
-# 1822154 - cups.service doesn't execute automatically on request
-# https://github.com/apple/cups/issues/5708
-Patch22: cups-autostart-when-enabled.patch
+Patch13: cups-dymo-deviceid.patch
 
+%if 0%{?lspp}
 # selinux and audit enablement for CUPS - needs work and CUPS upstream wants
 # to have these features implemented their way in the future
 Patch100: cups-lspp.patch
+%endif
 
-# vine
-Patch1000: cups-2.3.3-serverbin-compat.patch
+#### UPSTREAM PATCHES (starts with 1000) ####
+# https://github.com/OpenPrinting/cups/pull/742
+# 2218124 - The command "cancel -x <job>" does not remove job files
+Patch1001: 0001-Use-purge-job-instead-of-purge-jobs-when-canceling-a.patch
 
 BuildRoot: %{_tmppath}/%{name}-root
 Requires: %{name}-libs = %{version}-%{release}
@@ -271,7 +242,7 @@ lpd emulation.
 
 %package -n compat32-%{name}-libs
 Summary: Common Unix Printing System - libraries
-Group: system
+Group: system,legacy
 
 %description -n compat32-%{name}-libs
 CUPS printing system provides a portable printing layer for
@@ -294,7 +265,7 @@ natively, without needing the lp/lpr commands.
 
 %package -n compat32-%{name}-devel
 Summary: Common Unix Printing System - development environment
-Group: programming
+Group: programming,legacy
 Requires: compat32-%{name}-libs = %{version}-%{release}
 Requires: %{name}-devel = %{version}-%{release}
 Requires: compat32-e2fsprogs-devel
@@ -321,70 +292,53 @@ additional printer drivers, and other CUPS services.
 %prep
 %setup -q -n %{name}-%{version}
 # Use the system pam configuration.
-%patch1 -p1 -b .system-auth
+%patch -P 1 -p1 -b .system-auth
 # Prevent multilib conflict in cups-config script.
-%patch2 -p1 -b .multilib
+%patch -P 2 -p1 -b .multilib
 # Ignore rpm save/new files in the banners directory.
-%patch3 -p1 -b .banners
+%patch -P 3 -p1 -b .banners
 # Don't export SSLLIBS to cups-config.
-%patch4 -p1 -b .no-export-ssllibs
+%patch -P 4 -p1 -b .no-export-ssllibs
 # Allow file-based usb device URIs.
-%patch5 -p1 -b .direct-usb
+%patch -P 5 -p1 -b .direct-usb
 # Increase driverd timeout to 70s to accommodate foomatic (bug #744715).
-%patch7 -p1 -b .driverd-timeout
-# Re-open the log if it has been logrotated under us.
-%patch8 -p1 -b .logrotate
+%patch -P 6 -p1 -b .driverd-timeout
 # Support for errno==ENOSPACE-based USB paper-out reporting.
-%patch9 -p1 -b .usb-paperout
+%patch -P 7 -p1 -b .usb-paperout
 # Allow the usb backend to understand old-style URI formats.
-%patch10 -p1 -b .uri-compat
-# Add an SNMP query for HP's device ID OID (STR #3552).
-%patch11 -p1 -b .hp-deviceid-oid
-# Add an SNMP query for Ricoh's device ID OID (STR #3552).
-%patch12 -p1 -b .ricoh-deviceid-oid
-# Make cups.service Type=notify (bug #1088918).
-%patch13 -p1 -b .systemd-socket
+%patch -P 8 -p1 -b .uri-compat
 # Use IP_FREEBIND socket option when binding listening sockets (bug #970809).
-%patch14 -p1 -b .freebind
+%patch -P 9 -p1 -b .freebind
 # Fixes for jobs with multiple files and multiple formats.
-%patch15 -p1 -b .ipp-multifile
+%patch -P 10 -p1 -b .ipp-multifile
 # Increase web interface get-devices timeout to 10s (bug #996664).
-%patch16 -p1 -b .web-devices-timeout
-# Set the default for SyncOnClose to Yes.
-%patch17 -p1 -b .synconclose
-# CUPS may fail to start if NIS groups are used (bug #1494558)
-%patch18 -p1 -b .ypbind
+%patch -P 11 -p1 -b .web-devices-timeout
 # Add failover backend (bug #1689209)
-%patch19 -p1 -b .failover
+%patch -P 12 -p1 -b .failover
+# Added IEEE 1284 Device ID for a Dymo device (bug #747866).
+%patch -P 13 -p1 -b .dymo-deviceid
+
+# UPSTREAM PATCHES
+# 2218124 - The command "cancel -x <job>" does not remove job files
+%patch -P 1001 -p1 -b .purge-job
 
 %if %{?lspp}0
 # LSPP support.
 %patch100 -p1 -b .lspp
 %endif
 
-# Log extra debugging information if no filters are available.
-%patch20 -p1 -b .filter-debug
-# Added IEEE 1284 Device ID for a Dymo device (bug #747866).
-%patch21 -p1 -b .dymo-deviceid
-# 1822154 - cups.service doesn't execute automatically on request
-%patch22 -p1 -b .autostart-when-enabled
-
-# removed dbus patch - seems breaking things
-# Fix implementation of com.redhat.PrinterSpooler D-Bus object.
-#%%patch6 -p1 -b .eggcups
-
-%patch1000 -p1 -b .serverbin-compat
-
 # make to use cjktexttops instead texttops.
 perl -pi -e 's/texttops$/cjktexttops/' conf/mime.convs.in
 
+%if %{with systemd}
+# Log to the system journal by default (bug #1078781, bug #1519331).
+sed -i -e 's,^ErrorLog .*$,ErrorLog syslog,' conf/cups-files.conf.in
+sed -i -e 's,^AccessLog .*$,AccessLog syslog,' conf/cups-files.conf.in
+sed -i -e 's,^PageLog .*,PageLog syslog,' conf/cups-files.conf.in
+%else
 # if cupsd is set to log into /var/log/cups, then 'MaxLogSize 0' needs to be
 # in cupsd.conf to disable cupsd logrotate functionality and use logrotated
 sed -i -e '1iMaxLogSize 0' conf/cupsd.conf.in
-
-%if %{with systemd}
-# Add comment text mentioning syslog is systemd journal (bug #1358589)
-sed -i -e 's,\"syslog\",\"syslog\" \(syslog means systemd journal by default\),' conf/cups-files.conf.in
 %endif
 
 perl -pi -e 's,^#(DefaultCharset\s)utf-8,$1notused,' conf/cupsd.conf.in
@@ -410,121 +364,130 @@ rm "$f"~
 aclocal -I config-scripts
 autoconf -I config-scripts
 
+
 %build
-export DSOFLAGS="$DSOFLAGS -L../cgi-bin -L../filter -L../ppdc -L../scheduler -Wl,-z,relro -Wl,-z,now -Wl,-z,relro,-z,now -fPIE -pie"
-export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1"
+export DSOFLAGS="$DSOFLAGS $RPM_LD_FLAGS"
+export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -DLDAP_DEPRECATED=1"
+export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DLDAP_DEPRECATED=1"
+
 # --enable-debug to avoid stripping binaries
 %configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
-	--with-exe-file-perm=0755 \
-	--with-log-file-perm=0600 \
-	--enable-relro \
-	--with-pdftops=pdftops \
-	--with-dbusdir=%{_sysconfdir}/dbus-1 \
-	--with-php=/usr/bin/php-cgi \
-	--enable-avahi \
-	--enable-threads \
-	--enable-gnutls \
-	--enable-webif \
-	--disable-slp \
+  --enable-page-logging \
+  --enable-relro \
+  --enable-sync-on-close \
+  --enable-webif \
+  --with-access-log-level=actions \
+  --with-cupsd-file-perm=0755 \
+  --with-dbusdir=%{_sysconfdir}/dbus-1 \
+  --with-dnssd=avahi \
+  --with-log-file-perm=0600 \
+  --with-pkgconfpath=%{_libdir}/pkgconfig \
 %if %{with systemd}
-	--with-rundir=/run/cups \
+  --with-rundir=/run/cups \
+  --with-ondemand=systemd \
+  --with-xinetd=no \
+%endif
+  --with-tls=gnutls \
+%if 0%{?rhel}
+  --without-idle-exit-timeout \
+  --without-systemd-timeoutstartsec \
 %endif
-	localedir=%{_datadir}/locale
+  --localedir=%{_datadir}/locale \
+  --with-pdftops=pdftops \
+  --disable-slp
 
 # If we got this far, all prerequisite libraries must be here.
 make %{?_smp_mflags}
 
+
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
-make BUILDROOT=$RPM_BUILD_ROOT install 
+make BUILDROOT=%{buildroot} install 
 
-rm -rf	$RPM_BUILD_ROOT%{initdir} \
-	$RPM_BUILD_ROOT%{_sysconfdir}/init.d \
-	$RPM_BUILD_ROOT%{_sysconfdir}/rc?.d
-%if %{with systemd}
-mkdir -p %{buildroot}%{_unitdir}
-mv %{buildroot}%{_unitdir}/org.cups.cupsd.path %{buildroot}%{_unitdir}/cups.path
-mv %{buildroot}%{_unitdir}/org.cups.cupsd.service %{buildroot}%{_unitdir}/cups.service
-mv %{buildroot}%{_unitdir}/org.cups.cupsd.socket %{buildroot}%{_unitdir}/cups.socket
-mv %{buildroot}%{_unitdir}/org.cups.cups-lpd.socket %{buildroot}%{_unitdir}/cups-lpd.socket
-mv %{buildroot}%{_unitdir}/org.cups.cups-lpd@.service %{buildroot}%{_unitdir}/cups-lpd@.service
-/bin/sed -i -e "s,org.cups.cupsd,cups,g" %{buildroot}%{_unitdir}/cups.service
-%else
-mkdir -p $RPM_BUILD_ROOT%{initdir}
-install -m 755 $RPM_SOURCE_DIR/cups.init $RPM_BUILD_ROOT%{initdir}/cups
+rm -rf %{buildroot}%{initdir} \
+       %{buildroot}%{_sysconfdir}/init.d \
+       %{buildroot}%{_sysconfdir}/rc?.d
+
+%if ! %{with systemd}
+mkdir -p %{buildroot}%{initdir}
+install -m 755 %{SOURCE1} %{buildroot}%{initdir}/cups
 %endif
 
-find $RPM_BUILD_ROOT%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
+find %{buildroot}%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
+
+pushd %{buildroot}%{_datadir}/%{name}/ipptool
+for file in color.jpg document-a4.pdf document-a4.ps document-letter.pdf document-letter.ps gray.jpg onepage-a4.pdf onepage-a4.ps onepage-letter.pdf onepage-letter.ps testfile.jpg testfile.pcl testfile.pdf testfile.ps testfile.txt
+do
+  mv $file{,.gz}
+done
+popd
 
 %if %{use_alternatives}
-pushd $RPM_BUILD_ROOT%{_bindir}
+pushd %{buildroot}%{_bindir}
 for i in cancel lp lpq lpr lprm lpstat; do
 	mv $i $i.cups
 done
-cd $RPM_BUILD_ROOT%{_sbindir}
+cd %{buildroot}%{_sbindir}
 mv lpc lpc.cups
-cd $RPM_BUILD_ROOT%{_mandir}/man1
+cd %{buildroot}%{_mandir}/man1
 for i in cancel lp lpq lpr lprm lpstat; do
 	mv $i.1 $i-cups.1
 done
-cd $RPM_BUILD_ROOT%{_mandir}/man8
+cd %{buildroot}%{_mandir}/man8
 mv lpc.8 lpc-cups.8
 popd
 %endif
 
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_sysconfdir}/X11/sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/System $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
-install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
-%if !%{with systemd}
-install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
+mkdir -p %{buildroot}%{_datadir}/pixmaps %{buildroot}%{_sysconfdir}/X11/sysconfig %{buildroot}%{_sysconfdir}/X11/applnk/System %{buildroot}%{_sysconfdir}/xinetd.d %{buildroot}%{_sysconfdir}/logrotate.d %{buildroot}%{_sysconfdir}/cron.daily
+
+mkdir -p %{buildroot}%{_datadir}/pixmaps %{buildroot}%{_sysconfdir}/X11/sysconfig %{buildroot}%{_sysconfdir}/X11/applnk/System
+
+install -c -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps
+%if ! %{with systemd}
+install -c -m 644 cups-lpd.real %{buildroot}%{_sysconfdir}/xinetd.d/cups-lpd
+install -c -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/cups
 %endif
-install -c -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
-install -c -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/cups/backend/ncp
-install -c -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
-install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libdir}/cups/filter/textonly
-install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
+install -c -m 755 %{SOURCE8} %{buildroot}%{_sysconfdir}/cron.daily/cups
+install -c -m 755 %{SOURCE9} %{buildroot}%{_libdir}/cups/filter/textonly
+install -c -m 644 %{SOURCE10} %{buildroot}%{_datadir}/cups/model/textonly.ppd
 
-#install -c -m 644 %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/cups/pdftops.conf
+#install -c -m 644 %{SOURCE105} %{buildroot}%{_sysconfdir}/cups/pdftops.conf
 
 # Ship an rpm macro for where to put driver executables.
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
-install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
+mkdir -p %{buildroot}%{_sysconfdir}/rpm/
+install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/rpm/
 
 # Ship a printers.conf file, and a client.conf file.  That way, they get
 # their SELinux file contexts set correctly.
-touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/printers.conf
-touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/classes.conf
-touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
-touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/subscriptions.conf
+touch %{buildroot}%{_sysconfdir}/cups/printers.conf
+touch %{buildroot}%{_sysconfdir}/cups/classes.conf
+touch %{buildroot}%{_sysconfdir}/cups/client.conf
+touch %{buildroot}%{_sysconfdir}/cups/subscriptions.conf
 
 # This is %%ghost'ed, but needs to be created in %%install anyway.
-touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/lpoptions
+touch %{buildroot}%{_sysconfdir}/cups/lpoptions
 
 # Tell portreserve which port we want it to protect.
-# mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/portreserve
-# echo ipp > $RPM_BUILD_ROOT%{_sysconfdir}/portreserve/%{name}
+# mkdir -p %{buildroot}%{_sysconfdir}/portreserve
+# echo ipp > %{buildroot}%{_sysconfdir}/portreserve/%{name}
 
 # LSB 3.2 printer driver directory
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/ppd
+mkdir -p %{buildroot}%{_datadir}/ppd
 
 # Remove unshipped files.
-rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
-rm -f $RPM_BUILD_ROOT%{_datadir}/applications/cups.desktop
-rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
-
-# Install the udev rules.
-%{__mkdir_p} %{buildroot}/lib/udev/rules.d
-install -m644 %{SOURCE3} \
-	%{buildroot}/lib/udev/rules.d/70-cups-libusb.rules
+rm -rf %{buildroot}%{_mandir}/cat? %{buildroot}%{_mandir}/*/cat?
+rm -f %{buildroot}%{_datadir}/applications/cups.desktop
+rm -rf %{buildroot}%{_datadir}/icons
 
 # there are pdf-banners shipped with cups-filters (#919489)
-rm -rf $RPM_BUILD_ROOT%{_datadir}/cups/banners
-rm -f $RPM_BUILD_ROOT%{_datadir}/cups/data/testprint
+rm -rf %{buildroot}%{_datadir}/cups/banners
+rm -f %{buildroot}%{_datadir}/cups/data/testprint
 
 %if %{with systemd}
 # install /etc/tmpfiles.d/cups.conf (bug #656566)
-mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
-cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups.conf <<EOF
+mkdir -p %{buildroot}%{_tmpfilesdir}
+cat > %{buildroot}%{_tmpfilesdir}/cups.conf <<EOF
 # See tmpfiles.d(5) for details
 
 d /run/cups 0755 root lp -
@@ -534,7 +497,7 @@ d /var/spool/cups/tmp - - - 30d
 EOF
 
 # /usr/lib/tmpfiles.d/cups-lp.conf (bug #812641)
-cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups-lp.conf <<EOF
+cat > %{buildroot}%{_tmpfilesdir}/cups-lp.conf <<EOF
 # Legacy parallel port character device nodes, to trigger the
 # auto-loading of the kernel module on access.
 #
@@ -547,32 +510,29 @@ c /dev/lp3 0660 root lp - 6:3
 EOF
 %endif
 
+find %{buildroot} -type f -o -type l | sed '
+s:.*\('%{_datadir}'/\)\([^/_]\+\)\(.*\.po$\):%lang(\2) \1\2\3:
+/^%lang(C)/d
+/^\([^%].*\)/d
+' > %{name}.lang
+
 # Ship a PCL XL/PCL 6 filter file from ESP gs-7.07.1
-install -c -m 644 %{SOURCE206} $RPM_BUILD_ROOT%{_datadir}/cups/model
-install -c -m 644 %{SOURCE207} $RPM_BUILD_ROOT%{_datadir}/cups/model
+install -c -m 644 %{SOURCE206} %{buildroot}%{_datadir}/cups/model
+install -c -m 644 %{SOURCE207} %{buildroot}%{_datadir}/cups/model
 
 # Ship a dvitops
-install -c -m 755 %{SOURCE201} $RPM_BUILD_ROOT%{_libdir}/cups/filter
-install -c -m 644 %{SOURCE202} $RPM_BUILD_ROOT%{_sysconfdir}/cups
-install -c -m 644 %{SOURCE203} $RPM_BUILD_ROOT%{_sysconfdir}/cups
+install -c -m 755 %{SOURCE201} %{buildroot}%{_libdir}/cups/filter
+install -c -m 644 %{SOURCE202} %{buildroot}%{_sysconfdir}/cups
+install -c -m 644 %{SOURCE203} %{buildroot}%{_sysconfdir}/cups
 
 # Ship a cjktexttops (import from mdv)
-install -c -m 755 %{SOURCE204} $RPM_BUILD_ROOT%{_libdir}/cups/filter/
+install -c -m 755 %{SOURCE204} %{buildroot}%{_libdir}/cups/filter/
 
 # disable imagetoraster.
 perl -pi -e 's/^(image.+imagetoraster)/#$1/g' %{buildroot}/usr/share/cups/mime/mime.convs
 
-#install -c -m 644 conf/mime.types $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.types
-#install -c -m 644 conf/mime.convs $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.convs
-
-# create directories for 32bit drivers on x86_64.
-%ifarch x86_64
-mkdir -p %{buildroot}/usr/lib/cups/{backend,cgi-bin,daemon,driver,filter,monitor,notifier}
-%endif
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+#install -c -m 644 conf/mime.types %{buildroot}%{_sysconfdir}/cups/mime.types
+#install -c -m 644 conf/mime.convs %{buildroot}%{_sysconfdir}/cups/mime.convs
 
 
 %triggerpostun -- cups < 1.4.8
@@ -623,22 +583,22 @@ do
   then
     if [ ! -f %{_localstatedir}/log/cups/${lognames[i]} ]
     then
-      %{_bindir}/touch %{_localstatedir}/log/cups/${lognames[i]} || :
+      touch %{_localstatedir}/log/cups/${lognames[i]} || :
     fi
-    perms=`%{_bindir}/ls -lah %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep -v -e "\-rw-------" -e "root lp"`
+    perms=`ls -lah %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep -v -e "\-rw-------" -e "root lp"`
     if [ ! -z "$perms" ]
     then
       # we need to set correct permissions and ownership because of possible
       # security issues
       # we need to have it here, because previous CUPS releases had the bug.
       # Checking permissions and ownership here fixes it.
-      %{_bindir}/chown root:lp %{_localstatedir}/log/cups/${lognames[i]} || :
-      %{_bindir}/chmod 600 %{_localstatedir}/log/cups/${lognames[i]} || :
+      chown root:lp %{_localstatedir}/log/cups/${lognames[i]} || :
+      chmod 600 %{_localstatedir}/log/cups/${lognames[i]} || :
     fi
     lastmessage=`%{_bindir}/tail -n 1 %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep "$message"`
     if [ -z "$lastmessage" ]
     then
-      %{_bindir}/echo $message >> %{_localstatedir}/log/cups/${lognames[i]} || :
+      echo $message >> %{_localstatedir}/log/cups/${lognames[i]} || :
     fi
   fi
 done
@@ -660,10 +620,6 @@ fi
 exit 0
 %endif
 
-%post libs -p /sbin/ldconfig
-
-%postun libs -p /sbin/ldconfig
-
 %post client
 %if %{use_alternatives}
 /sbin/update-alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
@@ -688,10 +644,6 @@ exit 0
 exit 0
 %endif
 
-%post -n compat32-%{name}-libs -p /sbin/ldconfig
-
-%postun -n compat32-%{name}-libs -p /sbin/ldconfig
-
 %preun
 %if %{with systemd}
 %systemd_preun %{name}.path %{name}.socket %{name}.service
@@ -744,13 +696,13 @@ rm -f %{_libdir}/cups/backend/smb
 
 %files
 %defattr(-,root,root)
-%license LICENSE.txt
+%license LICENSE
+%license NOTICE
 %doc README.md CREDITS.md CHANGES.md
 %attr(0660,root,lp) %dev(char,6,0) /lib/udev/devices/lp0
 %attr(0660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
 %attr(0660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
 %attr(0660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
-/lib/udev/rules.d/70-cups-libusb.rules
 %dir %attr(0755,root,lp) %{_sysconfdir}/cups
 %config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf
 %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf.default
@@ -772,13 +724,13 @@ rm -f %{_libdir}/cups/backend/smb
 %dir %attr(0755,root,lp) %{_sysconfdir}/cups/ppd
 %dir %attr(0700,root,lp) %{_sysconfdir}/cups/ssl
 %config(noreplace) %{_sysconfdir}/pam.d/cups
-%config(noreplace) %{_sysconfdir}/logrotate.d/cups
 %if %{with systemd}
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.socket
 %{_unitdir}/%{name}.path
 %config(noreplace) %{_tmpfilesdir}/cups*.conf
 %else
+%config(noreplace) %{_sysconfdir}/logrotate.d/cups
 %config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
 %dir %attr(0755,root,lp) /var/run/cups
 %dir %attr(0511,lp,sys) /var/run/cups/certs
@@ -800,10 +752,6 @@ rm -f %{_libdir}/cups/backend/smb
 %{_libdir}/cups/filter
 %{_libdir}/cups/monitor
 %{_libdir}/cups/driver
-%ifarch x86_64
-%dir %{_prefix}/lib/cups
-%dir %{_prefix}/lib/cups/*
-%endif
 %{_mandir}/man1/cups.1*
 %{_mandir}/man1/cupstest*
 %{_mandir}/man1/ipp*
@@ -824,16 +772,17 @@ rm -f %{_libdir}/cups/backend/smb
 %dir %{_libdir}/cups/command
 %{_libdir}/cups/command/ippevepcl
 %{_libdir}/cups/command/ippeveps
-%{_mandir}/man7/ippevepcl.7.gz
 
 %files libs
 %defattr(-,root,root)
-%doc LICENSE.txt
+%license LICENSE
+%license NOTICE
 %{_libdir}/*.so.*
 
 %files devel
 %defattr(-,root,root)
 %{_bindir}/cups-config
+%{_libdir}/pkgconfig/*
 %{_libdir}/*.so
 %{_includedir}/cups
 %{_mandir}/man1/cups-config.1*
@@ -865,13 +814,18 @@ rm -f %{_libdir}/cups/backend/smb
 %{_libdir}/*.so
 
 %files -n compat32-%{name}-libs
-%doc LICENSE.txt
+%license LICENSE
+%license NOTICE
 %defattr(-,root,root)
 %{_libdir}/*.so.*
 %endif
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1
+- new upstream release.
+- dropped to support 32bit drivers.
+
 * Sun Nov 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-2
 - shifted to OpenPrinting version.
 

+ 5 - 1
f/fontconfig/fontconfig-vl.spec

@@ -6,7 +6,7 @@
 Summary: Font configuration and customization library
 Summary(ja): フォント設定/カスタマイズライブラリ
 Name: fontconfig
-Version: 2.14.1
+Version: 2.14.2
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -225,7 +225,11 @@ HOME=/root /usr/bin/fc-cache -f -s >& /dev/null
 %{_libdir}/libfontconfig.so
 %endif
 
+
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.14.2-1
+- new upstream release.
+
 * Tue Nov 01 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.14.1-1
 - new upstream release.
 

+ 9 - 2
f/freetype2/freetype2-vl.spec

@@ -5,7 +5,7 @@
 Summary: FreeType 2 library
 Summary(ja): FreeType 2 ライブラリ
 Name: freetype2
-Version: 2.13.0
+Version: 2.13.2
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -32,8 +32,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 BuildRequires: zlib-devel
 BuildRequires: bzip2-devel
+BuildRequires: brotli-devel
 BuildRequires: libX11-devel
 BuildRequires: libpng-devel
+BuildRequires: harfbuzz-devel
 
 %description
 The FreeType project is a team of volunteers who develop free,
@@ -223,7 +225,9 @@ popd
            --with-bzip2=yes \
            --with-png=yes \
            --enable-freetype-config \
-           --with-harfbuzz=no
+           --with-harfbuzz=yes \
+           --with-brotli=yes
+
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool
 make %{?_smp_mflags}
@@ -317,6 +321,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13.2-1
+- new upstream release.
+
 * Mon Feb 13 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13.0-1
 - new upstream release.
 

+ 7 - 1
g/ghostscript/ghostscript-vl.spec

@@ -13,7 +13,7 @@
 Summary:        A PostScript(TM) interpreter and renderer.
 Summary(ja):    日本語 PostScript(TM) インタプリタ/レンダラ/ビュア
 Name:           ghostscript
-Version:        10.01.1
+Version:        10.02.0
 Release:        1%{?_dist_release}
 Group:          publishing
 Vendor:         Project Vine
@@ -375,6 +375,12 @@ fi
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.02.0-1
+- new upstream release.
+
+* Wed Jul 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.01.2-1
+- new upstream release.
+
 * Sat Apr 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.01.1-1
 - new upstream release.
 

+ 40 - 32
g/giflib/giflib-vl.spec

@@ -4,14 +4,31 @@ Summary:     A library for manipulating GIF format image files.
 Summary(ja): GIF 形式の画像ファイルを扱うライブラリ
 Name: giflib
 Version: 5.2.1
-Release: 1%{_dist_release}
+Release: 3%{_dist_release}
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+
 License: MIT
 URL: http://sourceforge.net/projects/giflib/
 Source: http://jaist.dl.sourceforge.net/sourceforge/giflib/%{name}-%{version}.tar.gz
-Group: System Environment/Libraries
+# Downstream cmake support
+Source1:       CMakeLists.txt
+# Move quantize.c back into libgif.so (#1750122)
+Patch0:        giflib_quantize.patch
+# Fix several defects found by Coverity scan
+Patch1:        giflib_coverity.patch
+# Generate HTML docs with consistent section IDs to avoid multilib difference
+Patch2:        giflib_html-docs-consistent-ids.patch
+# Backport fix for CVE-2022-28506
+# See https://sourceforge.net/u/mmuzila/giflib/ci/5b74cdd9c1285514eaa4675347ba3eea81d32c65/
+Patch3:        CVE-2022-28506.patch
+# Fix segmentation faults when invoking tools with incorrect arguments (CVE-2023-39742)
+# Taken from Debian package
+Patch4:        fix-get-args-segment-violation.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Vendor: Project Vine
-Distribution: Vine Linux
+BuildRequires: cmake
 
 Obsoletes: libungif < 4.1.6-1
 Provides:  libungif = %{version}-%{release}
@@ -41,7 +58,7 @@ GIF ファイルを扱うプログラムを作成される場合は giflib パ
 %package devel
 Summary: Development tools for programs which will use the giflib library.
 Summary(ja): giflib ライブラリを使うプログラム用開発ツール
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 Obsoletes: libungif-devel < 4.1.6-1
 Provides:  libungif-devel = %{version}-%{release}
@@ -68,7 +85,7 @@ giflib パッケージも同時にインストールして下さい。
 %package utils
 Summary: Programs for manipulating GIF format image files.
 Summary(ja): GIF 形式の画像ファイルを扱うプログラム
-Group: Applications/Graphics
+Group: graphics
 Requires: %{name} = %{version}-%{release}
 Obsoletes: libungif-progs < 4.1.6-1
 
@@ -92,7 +109,7 @@ GIF 形式の画像ファイルを扱う必要があるならこのパッケー
 %package -n compat32-%{name}
 Summary:     A library for manipulating GIF format image files.
 Summary(ja): GIF 形式の画像ファイルを扱うライブラリ
-Group: System Environment/Libraries
+Group: system,legacy
 Obsoletes: compat32-libungif <= %{version}-%{release}
 Provides: compat32-libungif = %{version}-%{release}
 
@@ -110,7 +127,7 @@ utilities to manipulate GIFs.
 %package -n compat32-%{name}-devel
 Summary: Development tools for programs which will use the giflib library.
 Summary(ja): giflib ライブラリを使うプログラム用開発ツール
-Group: Development/Libraries
+Group: programming,legacy
 Obsoletes: compat32-libungif-devel < 4.1.6-1
 Provides: compat32-libungif-devel = %{version}-%{release}
 
@@ -124,36 +141,21 @@ will use giflib library functions.  You'll also need to install the
 giflib package.
 
 
-%prep
-%setup -q -n %{name}-%{version}
-
+%debug_package
 
-%build
-CFLAGS="%{optflags} -fPIC" \
-LDFLAGS="%{?__global_ldflags}" \
-%make_build
-
-%install
-rm -rf $RPM_BUILD_ROOT
-%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
 
-## remove unused files
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
-
-%post -p /sbin/ldconfig
-
-
-%postun -p /sbin/ldconfig
+%prep
+%autosetup -p1
+cp -a %{SOURCE1} .
 
 
-%if %{build_compat32}
-%post -n compat32-%{name} -p /sbin/ldconfig
-%postun -n compat32-%{name} -p /sbin/ldconfig
-%endif
+%build
+%cmake
+%cmake_build
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%install
+%cmake_install
 
 
 %files 
@@ -186,6 +188,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Oct 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.1-3
+- imported Patch3 from rawhide.
+
+* Thu Jul 06 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.1-2
+- rebuilt with current environment.
+
 * Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.1-1
 - new upstream release.
 

+ 10 - 1
g/gnutls/gnutls-vl.spec

@@ -7,7 +7,7 @@
 Summary:	GNU TLS Library
 Summary(ja):	GNU TLS ライブラリ
 Name:		gnutls
-Version:	3.8.0
+Version:	3.8.1
 Release:	1%{?_dist_release}
 Group:		system,security
 Vendor:		Project Vine
@@ -23,6 +23,12 @@ Source1:	libgnutls-config
 #patches from fedora development
 Patch1: gnutls-3.2.7-rpath.patch
 
+# Delete only after the kernel has been patched for thested systems
+Patch2: gnutls-3.7.8-ktls_disable_keyupdate_test.patch
+
+# follow https://gitlab.com/gnutls/gnutls/-/issues/1443
+Patch3: gnutls-3.7.8-ktls_skip_tls12_chachapoly_test.patch
+
 # Vine Patches
 # Nothing...
 
@@ -259,6 +265,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.1-1
+- new upstream release.
+
 * Sat Feb 25 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.0-1
 - new upstream release.
 - guile-bindings was removed from upstream.

+ 62 - 55
i/i2c-tools/i2c-tools-vl.spec

@@ -5,16 +5,19 @@
 # package are under the same license as the package itself.
 
 Name:           i2c-tools
-Version:        3.0.2
-Release:        2%{?_dist_release}
+Version:        4.3
+Release:        1%{?_dist_release}
 Summary:        A heterogeneous set of I2C tools for Linux
-Group:          Applications/System
+Group:          system
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
 License:        GPLv2+
-URL:            http://www.lm-sensors.org/wiki/I2CTools
-Source0:        http://dl.lm-sensors.org/i2c-tools/releases/%{name}-%{version}.tar.bz2
+URL:            https://i2c.wiki.kernel.org/index.php/I2C_Tools
+Source0:        https://mirrors.edge.kernel.org/pub/software/utils/i2c-tools/%{name}-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 # for /etc/udev/makedev.d resp /etc/modprobe.d ownership
-Requires:       udev module-init-tools
+Requires:       udev kmod
 ExcludeArch:    s390 s390x
 
 %description
@@ -23,69 +26,63 @@ probing tool, a chip dumper, register-level access helpers, EEPROM
 decoding scripts, and more.
 
 
-%package eepromer
-Summary:        Programs for reading / writing i2c / smbus eeproms
-Group:          Applications/System
-# For the device nodes
-Requires:       %{name} = %{version}-%{release}
-
-%description eepromer
-Programs for reading / writing i2c / smbus eeproms. Notice that writing the
-eeproms in your system is very dangerous and is likely to render your system
-unusable. Do not install, let alone use this, unless you really, _really_ know
-what you are doing.
+%package -n python3-smbus
+Summary:        Python module for SMBus access via I2C
+Group:          programming
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-rpm-macros
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+Requires:       python3
 
-%package -n smbus-python
-Summary:	Python module for SMBus access via I2C
-Group:          Development/Languages
-BuildRequires:	python-devel
-BuildRequires:	python-setuptools
-Requires:	python
-
-%description -n smbus-python
+%description -n python3-smbus
 This Python module allows SMBus access through the I2C /dev interface
 on Linux hosts. The host kernel must have I2C support, I2C device
 interface support, and a bus adapter driver.
 
 
+%debug_package
+
+
 %prep
 %setup -q 
 
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
-pushd eepromer
-make CFLAGS="$RPM_OPT_FLAGS -I../include"
-popd
-
+make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" BUILD_STATIC_LIB=0 EXTRA=eeprog
 pushd py-smbus
-CFLAGS="%{optflags} -I../include" python setup.py build
+CFLAGS="$RPM_OPT_FLAGS -I../include" LDFLAGS="$RPM_LD_FLAGS" \
+  %{__python3} setup.py build -b build-py3
 popd
 
-%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix}
-install -m 755 eepromer/{eepromer,eeprom,eeprog} \
-  $RPM_BUILD_ROOT%{_sbindir}
 
+%install
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} BUILD_STATIC_LIB=0 \
+  EXTRA=eeprog libdir=%{_libdir}
 pushd py-smbus
-python setup.py install --root=%{buildroot} --compile --optimize=2
+%{__python3} setup.py build -b build-py3 install --skip-build --root=$RPM_BUILD_ROOT
 popd
 
 # cleanup
 rm -f $RPM_BUILD_ROOT%{_bindir}/decode-edid.pl
-# Remove userland kernel headers, belong in glibc-kernheaders.
-rm -rf $RPM_BUILD_ROOT%{_includedir}/linux
+# Remove unpleasant DDC tools.  KMS already exposes the EDID block in sysfs,
+# and edid-decode is a more complete tool than decode-edid.
+rm -f $RPM_BUILD_ROOT%{_bindir}/{ddcmon,decode-edid}
+
 # for i2c-dev ondemand loading through kmod
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d 
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d 
 echo "alias char-major-89-* i2c-dev" > \
-  $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/i2c-dev.conf
+  $RPM_BUILD_ROOT%{_prefix}/lib/modprobe.d/i2c-dev.conf
 # for /dev/i2c-# creation (which are needed for kmod i2c-dev autoloading)
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/makedev.d
 for (( i = 0 ; i < 8 ; i++ )) do
   echo "i2c-$i" >> $RPM_BUILD_ROOT%{_sysconfdir}/udev/makedev.d/99-i2c-dev.nodes
 done
 
+# auto-load i2c-dev after reboot
+mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/modules-load.d
+echo 'i2c-dev' > $RPM_BUILD_ROOT%{_prefix}/lib/modules-load.d/%{name}.conf
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -93,26 +90,36 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES COPYING README
-%config(noreplace) %{_sysconfdir}/modprobe.d/i2c-dev.conf
+%license COPYING*
+%doc CHANGES README
+%config(noreplace) %{_prefix}/lib/modprobe.d/i2c-dev.conf
 %config(noreplace) %{_sysconfdir}/udev/makedev.d/99-i2c-dev.nodes
-%{_bindir}/*
-%{_sbindir}/*
-%exclude %{_sbindir}/eepro*
-%{_mandir}/man8/*.8.gz
-
-%files eepromer
-%defattr(-,root,root,-)
-%doc eepromer/README*
-%{_sbindir}/eepro*
-
-%files -n smbus-python
+%{_sbindir}/i2c*
+%{_sbindir}/eeprog
+%exclude %{_sbindir}/i2c-stub*
+%{_mandir}/man8/i2c*.8.*
+%{_mandir}/man8/eeprog.8.*
+%exclude %{_bindir}/decode-*
+%exclude %{_mandir}/man1/decode-*.1.*
+%exclude %{_mandir}/man8/i2c-stub-from-dump.8.*
+%{_prefix}/lib/modules-load.d/%{name}.conf
+
+%{_libdir}/libi2c.so.0*
+%dir %{_includedir}/i2c
+%{_includedir}/i2c/smbus.h
+%{_libdir}/libi2c.so
+%{_mandir}/man3/libi2c.3.*
+
+%files -n python3-smbus
 %defattr(0644,root,root,0755)
 %doc py-smbus/README
-%{python_sitearch}/smbus*
+%{python3_sitearch}/*
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3-1
+- new upstream release.
+
 * Sun Feb 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 3.0.2-2
 - added smbus-python package
 

+ 7 - 1
lib/libp/libpng/libpng-vl.spec

@@ -4,7 +4,7 @@ Summary: A library of functions for manipulating PNG image format files.
 Summary(ja): PNG画像形式ファイル操作用の関数ライブラリ
 Name: libpng
 Epoch: 2
-Version: 1.6.39
+Version: 1.6.40
 Release: 1%{_dist_release}
 Group: system
 Vendor: Project Vine
@@ -177,6 +177,12 @@ the libpng package.
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:1.6.40-1
+- updated to 1.6.40.
+
+* Wed Mar 15 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:1.6.39-1
+- updated to 1.6.39.
+
 * Sat Oct 29 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2:1.6.38-1
 - updated to 1.6.38.
 

+ 32 - 16
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.50.5
+Version:        2.57.0
 Release:        1%{?_dist_release}
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -12,9 +12,20 @@ Distribution:   Vine Linux
 License:        LGPL
 %global         shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
 Source:         https://download.gnome.org/sources/librsvg/%{shortver}/librsvg-%{version}.tar.xz
+# upstream dropped vendoring since 2.55.0 (GNOME/librsvg#718), to create:
+#   tar xf librsvg-%%{version}.tar.xz ; pushd librsvg-%%{version} ; \
+#   cargo vendor && tar Jcvf ../librsvg-%%{version}-vendor.tar.xz vendor/ ; popd
+Source1:        librsvg-%{version}-vendor.tar.xz
+Source2:        cargo.sh
+
+# Patches to build with Fedora-packaged rust crates
+Patch1:         0001-Fedora-Drop-dependencies-required-for-benchmarking.patch
+# Fix self tests with newer pango
+Patch2:         0001-1019-Fix-small-caps-and-bump-the-version-of-Pango-re.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
+BuildRequires: chrpath
 BuildRequires: gobject-introspection-devel
 BuildRequires: cairo-devel
 BuildRequires: fontconfig-devel
@@ -22,13 +33,12 @@ BuildRequires: gdk-pixbuf2-devel
 BuildRequires: glib2-devel
 BuildRequires: libxml2-devel
 BuildRequires: pango-devel
-BuildRequires: gtk-doc
 BuildRequires: vala
 BuildRequires: rust
 BuildRequires: cargo
 
 Requires: cairo
-Requires(post,postun): gdk-pixbuf2
+Obsoletes: %{name}-doc < 2.57.0
 
 %description
 An SVG library based on cairo.
@@ -76,37 +86,45 @@ Vala bindings for %{name}.
 
 
 %prep
-%setup -q -n librsvg-%{version}
+%autosetup -p1 -n librsvg-%{version} -a 1
+sed -i -e 's/--locked/--offline/' Makefile.am
+autoreconf -vif
+
+sh %{SOURCE2}
 
 
 %build
-%configure --enable-gtk-doc \
+%configure \
+	   --disable-gtk-doc \
 	   --enable-introspection=yes \
 	   --enable-vala=yes \
 	   --with-svgz \
 	   --enable-gtk-theme \
 	   --disable-static
+
 %__make %{?_smp_mflags}
 
 
 %install
-rm -rf %{buildroot}
 make install DESTDIR=%{buildroot}
 
-rm -f %{buildroot}%{_libdir}/*.{a,la}
-rm -f %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbuf*.*a
-rm -f %{buildroot}%{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
+find %{buildroot} -type f -name '*.la' -print -delete
 
 rm -rf %{buildroot}%{_docdir}/librsvg
 
-%find_lang librsvg
+# Remove lib64 rpaths
+chrpath --delete %{buildroot}%{_bindir}/rsvg-convert
+chrpath --delete %{buildroot}%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
+
+# Not useful in this package.
+rm -f %{buildroot}%{_pkgdocdir}/COMPILING.md
 
 
 %clean
 rm -rf %{buildroot}
 
 
-%files -f librsvg.lang
+%files
 %defattr(-,root,root,-)
 %license COPYING.LIB
 %doc AUTHORS NEWS README.md
@@ -116,7 +134,6 @@ rm -rf %{buildroot}
 %{_libdir}/girepository-1.0/Rsvg-2.0.typelib
 %dir %{_datadir}/thumbnailers
 %{_datadir}/thumbnailers/librsvg.thumbnailer
-%{_mandir}/man1/rsvg-convert.1.gz
 
 %files devel
 %defattr(-,root,root,-)
@@ -125,16 +142,15 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/librsvg-2.0.pc
 %{_datadir}/gir-1.0/Rsvg-2.0.gir
 
-%files docs
-%defattr(-,root,root,-)
-%{_datadir}/gtk-doc/html/rsvg-2.0
-
 %files vala
 %defattr(-,root,root,-)
 %{_datadir}/vala/vapi/librsvg-2.0.*
 
 
 %changelog
+* Thu Oct 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.57.0-1
+- new upstream release.
+
 * Sun May 09 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.50.5-1
 - new upstream release.
 - dropped scriptlets.

+ 5 - 3
p/pango/pango-vl.spec

@@ -14,7 +14,7 @@
 Summary: System for layout and rendering of internationalized text.
 Summary(ja): 国際化テキストのレイアウト・レンダリングシステム
 Name: pango
-Version: 1.48.9
+Version: 1.51.0
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -41,7 +41,6 @@ BuildRequires: gobject-introspection-devel
 BuildRequires: libthai-devel
 BuildRequires: harfbuzz-devel
 BuildRequires: fribidi-devel
-BuildRequires: gtk-doc
 BuildRequires: help2man
 Obsoletes: pango-gtkbeta, fribidi-gtkbeta
 
@@ -109,7 +108,7 @@ and developer docs for the pango package.
 %meson \
 	-Dgtk_doc=false \
 	-Dintrospection=enabled \
-	-Duse_fontconfig=true \
+	-Dfontconfig=enabled \
 	-Dinstall-tests=false
 %meson_build
 
@@ -152,6 +151,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Oct 05 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.51.0-1
+- new upstream release.
+
 * Fri Aug 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.48.9-1
 - new upstream release.
 

+ 26 - 20
q/qpdf/qpdf-vl.spec

@@ -1,6 +1,6 @@
 Summary:        Command-line tools and library for transforming PDF files
 Name:           qpdf
-Version:        10.6.3
+Version:        11.6.1
 Release:        1%{?_dist_release}
 Group:          publishing
 Vendor:         Project Vine
@@ -11,12 +11,14 @@ Distribution:   Vine Linux
 # old license (see README)
 License:        Artistic 2.0
 URL:            https://github.com/qpdf/qpdf
-Source0:        https://github.com/qpdf/qpdf/releases/download/release-qpdf-%{version}/qpdf-%{version}.tar.gz
+Source0:        https://github.com/qpdf/qpdf/releases/download/v%{version}/qpdf-%{version}.tar.gz
+# make qpdf working under FIPS, downstream patch
+Patch1:  qpdf-relax.patch
 
+BuildRequires:  cmake
 BuildRequires:  gnutls-devel
 BuildRequires:  zlib-devel
-BuildRequires:  pcre-devel
-BuildRequires:  libjpeg-turbo-devel libtiff-devel
+BuildRequires:  libjpeg-turbo-devel
 BuildRequires:  unzip
 
 # for fix-qdf and test suite
@@ -72,42 +74,43 @@ QPDF Manual
 
 
 %prep
-%setup -q
+%autosetup -p1
 
 
 %build
-# work-around check-rpaths errors
-autoreconf --verbose --force --install
-./autogen.sh
+%cmake -DBUILD_STATIC_LIBS=0 \
+       -DREQUIRE_CRYPTO_GNUTLS=1 \
+       -DUSE_IMPLICIT_CRYPTO=0 \
+       -DSHOW_FAILED_TEST_OUTPUT=1 \
+       -DINSTALL_CMAKE_PACKAGE=0
 
-%configure --disable-static \
-           --enable-crypto-gnutls \
-           --disable-implicit-crypto \
-           --enable-show-failed-test-output
-
-%{__make} %{?_smp_mflags}
+%cmake_build
 
 
 %install
-%{make_install}
+%cmake_install
 
-rm -f %{buildroot}%{_libdir}/libqpdf.la
+# install bash/zsh completions
+mkdir -p %{buildroot}%{bash_completions_dir}
+mkdir -p %{buildroot}%{zsh_completions_dir}
+install -m 0644 completions/bash/qpdf %{buildroot}%{bash_completions_dir}/qpdf
+install -m 0644 completions/zsh/_qpdf %{buildroot}%{zsh_completions_dir}/_qpdf
 
 
 %check
-%{__make} check
+%ctest
 
 
 %files
-%license Artistic-2.0 LICENSE.txt
+%license Artistic-2.0 LICENSE.txt NOTICE.md
 %{_bindir}/fix-qdf
 %{_bindir}/qpdf
 %{_bindir}/zlib-flate
 %{_mandir}/man1/*
 
 %files libs
-%license Artistic-2.0 LICENSE.txt
-%doc README.md NOTICE.md TODO ChangeLog
+%license Artistic-2.0 LICENSE.txt NOTICE.md
+%doc README.md TODO.md ChangeLog
 %{_libdir}/libqpdf*.so.*
 
 %files devel
@@ -121,6 +124,9 @@ rm -f %{buildroot}%{_libdir}/libqpdf.la
 
 
 %changelog
+* Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 11.6.1-1
+- new upstream release.
+
 * Thu Aug 11 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 10.6.3-1
 - new upstream release.