Compare commits

...

22 Commits

Author SHA1 Message Date
5b5172375a automatic version update by autodist [release 2.0.1-1mamba;Thu Aug 15 2024] 2024-08-19 00:07:12 +02:00
bdb8f65c03 automatic version update by autodist [release 2.0.0-1mamba;Tue Oct 10 2023] 2024-01-05 21:35:52 +01:00
5136e82fb5 rebuilt with poppler 23.08.0 [release 1.28.17-2mamba;Thu Sep 07 2023] 2024-01-05 21:35:51 +01:00
c4fe96da6f update to 1.28.17 [release 1.28.17-1mamba;Sat Jan 28 2023] 2024-01-05 21:35:51 +01:00
a15c6682df remove service-org-cups patch to restore dependencies to recent cups releases [release 1.28.16-3mamba;Thu Nov 17 2022] 2024-01-05 21:35:50 +01:00
e6ecd6ff13 rebuilt by autoport with build requirements: libqpdf-devel>=0:11.1.0-1mamba [release 1.28.16-2mamba;Tue Sep 27 2022] 2024-01-05 21:35:50 +01:00
02fbd624fa automatic version update by autodist [release 1.28.16-1mamba;Thu Aug 25 2022] 2024-01-05 21:35:50 +01:00
77236c13f5 rebuilt with current libpoppler [release 1.28.15-2mamba;Wed Jun 22 2022] 2024-01-05 21:35:50 +01:00
0a20ac8512 automatic version update by autodist [release 1.28.15-1mamba;Tue Apr 12 2022] 2024-01-05 21:35:50 +01:00
cf143cf6b9 automatic version update by autodist [release 1.28.14-1mamba;Mon Apr 04 2022] 2024-01-05 21:35:50 +01:00
dfb33b86ec automatic version update by autodist [release 1.28.13-1mamba;Mon Mar 28 2022] 2024-01-05 21:35:49 +01:00
735861884a automatic version update by autodist [release 1.28.12-1mamba;Fri Feb 18 2022] 2024-01-05 21:35:49 +01:00
3f85eb2489 automatic version update by autodist [release 1.28.11-1mamba;Sun Jan 16 2022] 2024-01-05 21:35:49 +01:00
f688346f05 automatic version update by autodist [release 1.28.10-1mamba;Thu Aug 19 2021] 2024-01-05 21:35:49 +01:00
42f086e81c automatic version update by autodist [release 1.28.9-1mamba;Sun Jun 20 2021] 2024-01-05 21:35:49 +01:00
a26f1295bf automatic version update by autodist [release 1.28.8-1mamba;Sat Mar 27 2021] 2024-01-05 21:35:49 +01:00
f4c7e602e1 automatic version update by autodist [release 1.28.7-1mamba;Fri Jan 08 2021] 2024-01-05 21:35:49 +01:00
c8ba1ff862 automatic version update by autodist [release 1.28.6-1mamba;Thu Dec 03 2020] 2024-01-05 21:35:49 +01:00
b1739e3b59 automatic version update by autodist [release 1.28.5-1mamba;Tue Oct 13 2020] 2024-01-05 21:35:49 +01:00
22d3e9752e automatic version update by autodist [release 1.28.4-1mamba;Thu Oct 08 2020] 2024-01-05 21:35:49 +01:00
b8132140a8 automatic version update by autodist [release 1.28.3-1mamba;Thu Sep 24 2020] 2024-01-05 21:35:49 +01:00
1754760553 automatic version update by autodist [release 1.28.2-1mamba;Sat Sep 12 2020] 2024-01-05 21:35:49 +01:00
3 changed files with 107 additions and 122 deletions

View File

@@ -1,13 +0,0 @@
diff -Nru cups-filters-1.25.5.orig/utils/cups-browsed.service cups-filters-1.25.5/utils/cups-browsed.service
--- cups-filters-1.25.5.orig/utils/cups-browsed.service 2019-10-01 14:18:36.039000000 +0200
+++ cups-filters-1.25.5/utils/cups-browsed.service 2019-10-01 14:19:34.699000000 +0200
@@ -1,7 +1,7 @@
[Unit]
Description=Make remote CUPS printers available locally
-Requires=cups.service
-After=cups.service avahi-daemon.service
+Requires=org.cups.cupsd.service
+After=org.cups.cupsd.service avahi-daemon.service
Wants=avahi-daemon.service
[Service]

View File

@@ -0,0 +1,12 @@
--- cups-filters-1.28.9/utils/cups-browsed.service.orig 2021-06-20 11:02:12.405639278 +0200
+++ cups-filters-1.28.9/utils/cups-browsed.service 2021-06-20 11:02:58.358512700 +0200
@@ -1,7 +1,7 @@
[Unit]
Description=Make remote CUPS printers available locally
-Requires=cups.service
-After=cups.service avahi-daemon.service network-online.target
+Requires=org.cups.cupsd.service
+After=org.cups.cupsd.service avahi-daemon.service network-online.target
Wants=avahi-daemon.service network-online.target
[Service]

View File

@@ -1,90 +1,64 @@
Name: cups-filters
Version: 1.28.1
Version: 2.0.1
Release: 1mamba
Summary: Backends, filters, and other software for the CUPS printing system
Group: System/Spooling
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.openprinting.org
Source: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
URL: https://openprinting.github.io/
Source: https://github.com/OpenPrinting/cups-filters.git/%{version}/cups-filters-%{version}.tar.bz2
#Source: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
Patch0: cups-filters-1.10.0-cups-browsed-timeout-stop.patch
Patch1: cups-browsed-1.25.5-service-org-cups.patch
Patch1: cups-browsed-1.28.9-service-org-cups.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: ghostscript-devel
BuildRequires: glibc-devel
BuildRequires: libavahi-devel
BuildRequires: libavahi-glib-devel
BuildRequires: libcups-devel
BuildRequires: libdbus-devel
BuildRequires: libe2fs-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel
BuildRequires: libjpeg-devel
BuildRequires: libkrb5-devel
BuildRequires: liblcms2-devel
BuildRequires: libopenldap-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-devel
BuildRequires: libqpdf-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
BuildRequires: libcupsfilters-devel
BuildRequires: libppd-devel
## AUTOBUILDREQ-END
BuildRequires: libqpdf-devel >= 8.0.0-1mamba
BuildRequires: libqpdf-devel >= 0:11.1.0-1mamba
BuildRequires: dejavu-fonts-ttf
#Requires: ghostscript
%if "%{stage1}" != "1"
BuildRequires: php-devel
%endif
BuildRequires: libqpdf-devel >= 10.0.1
BuildRequires: libpoppler-devel >= 0.40
BuildRequires: libpoppler-cpp-devel >= 0.40
BuildRequires: libqpdf-devel >= 9.0.1
BuildRequires: libppd-devel
BuildRequires: libpoppler-devel >= 1:23.08.0
BuildRequires: libpoppler-cpp-devel >= 1:23.08.0
BuildRequires: mupdf
Requires: dejavu-fonts-ttf
Requires: libpoppler-tools >= 0.40
Requires: libpoppler-tools >= 1:23.08.0
Provides: foomatic-filters
Obsoletes: foomatic-filters
Obsoletes: foomatic-filters < 1.28.10
Obsoletes: cups-filters-devel < 2.0.0
Requires: cups >= 2.3.0-2mamba
Recommends: cups-browsed
%systemd_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
cups-filters contains backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc. In addition it contains additional filters developed independently of Apple, especially filters for the PDF-centric printing workflow introduced by OpenPrinting.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
cups-filters contains backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc. In addition it contains additional filters developed independently of Apple, especially filters for the PDF-centric printing workflow introduced by OpenPrinting.
This is the development package.
%debug_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
#%patch 0 -p1
./autogen.sh
%build
PHP_INCLUDES=`php-config --includes` || PHP_INCLUDES=
CFLAGS="%{optflags} $PHP_INCLUDES"
CXXFLAGS="%{optflags} -std=c++17"
%configure \
--with-cups-rundir=/run/cups \
--with-pdftops=gs \
--without-rcdir \
--with-gs-path=%{_bindir}/gs \
--with-pdftops-path=%{_bindir}/gs \
--enable-avahi \
--with-browseremoteprotocols=DNSSD,CUPS \
--with-test-font-path=%{_datadir}/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
--enable-avahi
# --with-pdftops=gs \
# --with-test-font-path=%{_datadir}/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
# --with-php
@@ -94,38 +68,16 @@ CFLAGS="%{optflags} $PHP_INCLUDES"
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -D -m0644 utils/cups-browsed.service %{buildroot}%{_unitdir}/cups-browsed.service
#install -d %{buildroot}%{_presetdir}
#cat > %{buildroot}%{_presetdir}/50-cups-browsed.preset << _EOF
#enable cups-browsed
#_EOF
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%systemd_post cups-browsed
:
%preun
%systemd_preun cups-browsed
:
%postun
%systemd_postun_with_restart cups-browsed
:
%files
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/cups/cups-browsed.conf
#%{_sysconfdir}/fonts/conf.d/99pdftoopvp.conf
%{_unitdir}/cups-browsed.service
#%{_presetdir}/50-cups-browsed.preset
%{_bindir}/driverless
%{_bindir}/driverless-fax
%{_bindir}/foomatic-rip
%{_bindir}/ttfread
%{_sbindir}/cups-browsed
#%{_bindir}/ttfread
%dir %{_prefix}/lib/cups
%dir %{_prefix}/lib/cups/backend
%{_prefix}/lib/cups/backend/*
@@ -134,51 +86,85 @@ install -D -m0644 utils/cups-browsed.service %{buildroot}%{_unitdir}/cups-browse
%{_prefix}/lib/cups/driver/driverless-fax
%dir %{_prefix}/lib/cups/filter
%{_prefix}/lib/cups/filter/*
%{_libdir}/libcupsfilters.so.*
%{_libdir}/libfontembed.so.*
%dir %{_datadir}/cups/banners
%{_datadir}/cups/banners/*
%dir %{_datadir}/cups/braille
%{_datadir}/cups/braille/*
%dir %{_datadir}/cups/charsets
%{_datadir}/cups/charsets/*
%dir %{_datadir}/cups/data
%{_datadir}/cups/data/*
%{_datadir}/cups/data/testprint
%dir %{_datadir}/cups/drv
%{_datadir}/cups/drv/*
%dir %{_datadir}/cups/mime
%{_datadir}/cups/mime/*
%dir %{_datadir}/cups/ppdc
%{_datadir}/cups/ppdc/*
%{_datadir}/ppd/cupsfilters/*.ppd
%dir %{_datadir}/ppdc
%{_datadir}/ppdc/*.h
%{_mandir}/man1/foomatic-rip.1*
%{_mandir}/man1/driverless.1*
%{_mandir}/man5/cups-browsed.conf.5*
%{_mandir}/man8/cups-browsed.8*
%{_datadir}/doc/cups-filters/AUTHORS
%{_datadir}/doc/cups-filters/COPYING
%{_datadir}/doc/cups-filters/ABOUT-NLS
%files devel
%defattr(-,root,root)
%dir %{_includedir}/cupsfilters
%{_includedir}/cupsfilters/*
%dir %{_includedir}/fontembed
%{_includedir}/fontembed/*
%{_libdir}/libcupsfilters.a
%{_libdir}/libcupsfilters.la
%{_libdir}/libcupsfilters.so
%{_libdir}/libfontembed.a
%{_libdir}/libfontembed.la
%{_libdir}/libfontembed.so
%{_libdir}/pkgconfig/libcupsfilters.pc
%{_libdir}/pkgconfig/libfontembed.pc
%{_datadir}/doc/cups-filters/INSTALL
%{_datadir}/doc/cups-filters/NEWS
%{_datadir}/doc/cups-filters/README
%dir %{_docdir}/cups-filters
%{_docdir}/cups-filters/*
%changelog
* Thu Aug 15 2024 Automatic Build System <autodist@openmamba.org> 2.0.1-1mamba
- automatic version update by autodist
* Tue Oct 10 2023 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Thu Sep 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.17-2mamba
- rebuilt with poppler 23.08.0
* Sat Jan 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.17-1mamba
- update to 1.28.17
* Thu Nov 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.16-3mamba
- remove service-org-cups patch to restore dependencies to recent cups releases
* Tue Sep 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.16-2mamba
- rebuilt by autoport with build requirements: libqpdf-devel>=0:11.1.0-1mamba
* Thu Aug 25 2022 Automatic Build System <autodist@mambasoft.it> 1.28.16-1mamba
- automatic version update by autodist
* Wed Jun 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.15-2mamba
- rebuilt with current libpoppler
* Tue Apr 12 2022 Automatic Build System <autodist@mambasoft.it> 1.28.15-1mamba
- automatic version update by autodist
* Mon Apr 04 2022 Automatic Build System <autodist@mambasoft.it> 1.28.14-1mamba
- automatic version update by autodist
* Mon Mar 28 2022 Automatic Build System <autodist@mambasoft.it> 1.28.13-1mamba
- automatic version update by autodist
* Fri Feb 18 2022 Automatic Build System <autodist@mambasoft.it> 1.28.12-1mamba
- automatic version update by autodist
* Sun Jan 16 2022 Automatic Build System <autodist@mambasoft.it> 1.28.11-1mamba
- automatic version update by autodist
* Thu Aug 19 2021 Automatic Build System <autodist@mambasoft.it> 1.28.10-1mamba
- automatic version update by autodist
* Sun Jun 20 2021 Automatic Build System <autodist@mambasoft.it> 1.28.9-1mamba
- automatic version update by autodist
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 1.28.8-1mamba
- automatic version update by autodist
* Fri Jan 08 2021 Automatic Build System <autodist@mambasoft.it> 1.28.7-1mamba
- automatic version update by autodist
* Thu Dec 03 2020 Automatic Build System <autodist@mambasoft.it> 1.28.6-1mamba
- automatic version update by autodist
* Tue Oct 13 2020 Automatic Build System <autodist@mambasoft.it> 1.28.5-1mamba
- automatic version update by autodist
* Thu Oct 08 2020 Automatic Build System <autodist@mambasoft.it> 1.28.4-1mamba
- automatic version update by autodist
* Thu Sep 24 2020 Automatic Build System <autodist@mambasoft.it> 1.28.3-1mamba
- automatic version update by autodist
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 1.28.2-1mamba
- automatic version update by autodist
* Tue Sep 01 2020 Automatic Build System <autodist@mambasoft.it> 1.28.1-1mamba
- automatic version update by autodist