RHEL 9.0.0 Alpha bootstrap

The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/splix#691f87176fc17909544b0fd16dc3a0efc5d6b018
This commit is contained in:
Troy Dawson 2020-10-15 09:55:59 -07:00
parent b372fc695f
commit 985c76026c
5 changed files with 347 additions and 0 deletions

4
.gitignore vendored
View File

@ -0,0 +1,4 @@
/splix-2.0.1.20111121svn.tar.gz
/splix-2.0.1.20120419svn.tar.gz
/splix-2.0.1.20121128svn.tar.gz
/splix-2.0.1.20130902svn.tar.bz2

1
sources Normal file
View File

@ -0,0 +1 @@
2901e9482dd1a7c44f7b730696868e09 splix-2.0.1.20130902svn.tar.bz2

125
splix-deviceID.patch Normal file
View File

@ -0,0 +1,125 @@
diff -up splix/ppd/samsung.drv.in.deviceID splix/ppd/samsung.drv.in
--- splix/ppd/samsung.drv.in.deviceID 2013-08-26 21:45:31.000000000 +0200
+++ splix/ppd/samsung.drv.in 2015-12-29 11:01:10.646489492 +0100
@@ -39,6 +39,7 @@ Manufacturer "Samsung"
Resolution k 1 0 0 0 "300dpi/300 DPI"
ModelName "SCX-4200"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:SCX-4200 Series;CMD:GDI;"
PCFileName "scx4200.ppd"
} {
Resolution k 1 0 0 0 "300dpi/300 DPI"
@@ -83,6 +84,7 @@ Manufacturer "Samsung"
PCFileName "ml1520.ppd"
} {
ModelName "ML-1610"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-1610;CMD:GDI;"
PCFileName "ml1610.ppd"
} {
ModelName "ML-1710"
@@ -121,6 +123,7 @@ Manufacturer "Samsung"
Throughput 22
{
ModelName "ML-2250"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2250;"
PCFileName "ml2250.ppd"
} {
ModelName "ML-2251"
@@ -163,9 +166,11 @@ Manufacturer "Samsung"
PCFileName "ml1630.ppd"
} {
ModelName "ML-1640"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-1640 Series;CMD:GDI,FWV;"
PCFileName "ml1640.ppd"
} {
ModelName "ML-2010"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2010;CMD:GDI;"
PCFileName "ml2010.ppd"
} {
ModelName "ML-2015"
@@ -177,6 +182,7 @@ Manufacturer "Samsung"
#import "srtmode.defs"
ModelName "ML-2510"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2510 Series;CMD:GDI;"
PCFileName "ml2510.ppd"
}
}
@@ -193,15 +199,18 @@ Manufacturer "Samsung"
{
ModelName "ML-1660"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-1660 Series;CMD:GDI,FWV,EXT;"
PCFileName "ml1660.ppd"
} {
ModelName "ML-1910"
PCFileName "ml1910.ppd"
} {
ModelName "ML-2525"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2525 Series;CMD:GDI,FWV,EXT;"
PCFileName "ml2525.ppd"
} {
ModelName "ML-2525W"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2525W Series;CMD:GDI,FWV,EXT;"
PCFileName "ml2525w.ppd"
}
} {
@@ -239,6 +248,7 @@ Manufacturer "Samsung"
Attribute QPDL PacketSize "512"
{
ModelName "ML-2160"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2160 Series;CMD:SPL,FWV,PIC,BDN,EXT;"
PCFileName "ml2160.ppd"
}
}
@@ -465,6 +475,7 @@ Manufacturer "Samsung"
Attribute General CMSFile "CLP-310"
ModelName "CLP-310"
+ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:CLP-310 Series;CMD:SPLC,FWV;"
PCFileName "clp310.ppd"
}{
Attribute General CMSFile "CLP-315"
diff -up splix/ppd/xerox.drv.in.deviceID splix/ppd/xerox.drv.in
--- splix/ppd/xerox.drv.in.deviceID 2013-08-26 17:22:00.000000000 +0200
+++ splix/ppd/xerox.drv.in 2015-12-29 11:03:33.639830777 +0100
@@ -31,6 +31,7 @@ Manufacturer "Xerox"
Resolution k 1 0 0 0 "300dpi/300 DPI"
ModelName "WorkCentre 3119"
+ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:WorkCentre 3119 Series;CMD:GDI;"
PCFileName "wc3119.ppd"
} {
Resolution k 1 0 0 0 "300dpi/300 DPI"
@@ -66,6 +67,7 @@ Manufacturer "Xerox"
} {
#import "manualduplex.defs"
ModelName "Phaser 3120"
+ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3120;CMD:GDI;"
PCFileName "ph3120.ppd"
} {
#import "manualduplex.defs"
@@ -74,6 +76,7 @@ Manufacturer "Xerox"
} {
#import "manualduplex.defs"
ModelName "Phaser 3130"
+ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3130;CMD:PCL5E,PCL6;"
PCFileName "ph3130.ppd"
} {
// Multi-tray
@@ -118,6 +121,7 @@ Manufacturer "Xerox"
{
ModelName "Phaser 3117"
+ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3117;CMD:GDI;"
PCFileName "ph3117.ppd"
} {
Resolution k 1 0 0 0 "1200x600dpi/1200x600 DPI"
@@ -131,6 +135,7 @@ Manufacturer "Xerox"
{
ModelName "Phaser 3124"
+ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3124;CMD:GDI;"
PCFileName "ph3124.ppd"
}
}

18
splix-ldflags.patch Normal file
View File

@ -0,0 +1,18 @@
diff -up splix/rules.mk.ldflags splix/rules.mk
--- splix/rules.mk.ldflags 2018-03-02 16:27:57.144794476 +0100
+++ splix/rules.mk 2018-03-02 16:29:01.268292764 +0100
@@ -6,12 +6,12 @@
$(rastertoqpdl_TARGET): $(rastertoqpdl_OBJ)
$(call printCmd, $(cmd_link))
- $(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \
+ $(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) $(LDFLAGS) \
$(rastertoqpdl_LIBS)
$(pstoqpdl_TARGET): $(pstoqpdl_OBJ)
$(call printCmd, $(cmd_link))
- $(Q)g++ -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \
+ $(Q)g++ -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) $(LDFLAGS) \
$(pstoqpdl_LIBS)
.PHONY: install installcms

199
splix.spec Normal file
View File

@ -0,0 +1,199 @@
%global checkout 20130902svn
Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
Name: splix
Version: 2.0.1
Release: 0.42.%{checkout}%{?dist}
License: GPLv2
URL: http://splix.sourceforge.net/
# This is a SVN snapshot downloaded via 'Download Snapshot' from
# https://sourceforge.net/p/splix/code/315/tree/
# and renamed to follow naming guidelines
Source0: splix-%{version}.%{checkout}.tar.bz2
# IEEE 1284 Device IDs
Patch0: splix-deviceID.patch
# rules.mk misses LDFLAGS
Patch1: splix-ldflags.patch
Requires: cups
# gcc-c++ is no longer in buildroot by default
BuildRequires: gcc-c++
# _cups_serverbin macro
BuildRequires: cups-devel
# postscriptdriver tags
BuildRequires: python3-cups, cups
# JBIG1 lossless image compression
BuildRequires: jbigkit-devel
%description
This driver is usable by all printer devices which understand the QPDL
(Quick Page Description Language) also known as SPL2 (Samsung Printer Language)
language. It covers several Samsung, Xerox and Dell printers.
Splix doesn't support old SPL(1) printers.
%prep
%setup -q -n splix
# remove old PPDs (not sure why some PPDs are outside ppd/)
rm -f *.ppd
pushd ppd
# remove old PPDs
make distclean
popd
%patch0 -p1 -b .deviceID
%patch1 -p1 -b .ldflags
%build
%set_build_flags
# *.drv.in -> *.drv
%make_build drv
CXXFLAGS="%{optflags} -fno-strict-aliasing" \
%make_build all V=1 DRV_ONLY=1
%install
%make_install DRV_ONLY=1 CUPSDRV=%{_datadir}/cups/drv/splix
%files
%license COPYING
%doc AUTHORS ChangeLog THANKS
%{_cups_serverbin}/filter/pstoqpdl
%{_cups_serverbin}/filter/rastertoqpdl
%{_datadir}/cups/drv/splix
%changelog
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.42.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jun 24 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-0.41.20130902svn
- use a proper build macros
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.40.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.39.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.38.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.37.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Mar 02 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-0.36.20130902svn
- 1550554 - splix: Partial Fedora build flags injection
* Mon Feb 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 2.0.1-0.35.20130902svn
- gcc-c++ is no longer in buildroot by default
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.34.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.0.1-0.33.20130902svn
- Rebuilt for switch to libxcrypt
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.32.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.31.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.30.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-0.29.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Dec 29 2015 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.28.20130902svn
- Add Device ID for Xerox WorkCentre 3119 Series (#1294214)
* Thu Nov 26 2015 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.27.20130902svn
- BuildRequires: python3-cups
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.26.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.0.1-0.25.20130902svn
- Rebuilt for GCC 5 C++11 ABI change
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.24.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Wed Aug 13 2014 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.23.20130902svn
- Rebuilt against jbigkit-2.1
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.22.20130902svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon May 12 2014 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.21.20130902svn
- Add Device ID for Samsung ML-2160
* Mon Mar 17 2014 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.20.20130902svn
- Add Device ID for Samsung ML-1640
* Mon Sep 02 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.19.20130902svn
- Latest upstream snapshot.
* Sat Jul 27 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.18.20121128svn
- Add Device ID for Samsung CLP-310 (#988926)
* Mon Apr 08 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.17.20121128svn
- Add Device IDs for Samsung SCX-4200 Series (#949063)
* Wed Mar 06 2013 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.16.20121128svn
- Add Device IDs for Samsung ML-2250/2510, Xerox Phaser 3117/3120/3130
* Tue Mar 5 2013 Tim Waugh <twaugh@redhat.com> - 2.0.1-0.15.20121128svn
- Build requires cups for postscriptdriver tags (bug #917333).
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.14.20121128svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 28 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.13.20121128svn
- latest svn snapshot
* Wed Oct 17 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.12.20120419svn
- Add Device ID for Xerox Phaser 3124 (#867392).
* Tue Sep 25 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.11.20120419svn
- Add Device ID for Samsung ML-2525 (#859669).
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-0.10.20120419svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Apr 19 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.9.20120419svn
- Latest upstream snapshot: all patches and changes merged upstream !
- Build splix with JBIG1 support and install DRV files instead of PPD files.
- Add Device ID for Samsung ML-2010 (#807308).
* Wed Jan 18 2012 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.7.20111121svn
- Add Device ID for Samsung ML-1660.
* Wed Nov 30 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.6.20111121svn
- Install splix PPDs into separate directory.
- Added patch for compiling/installing DRVs instead of PPDs.
However we still ship only selected PPDs instead of DRVs as some printers
require JBIG1 support.
* Tue Nov 29 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.5.20111121svn
- Re-compile PPD files.
* Mon Nov 28 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.4.20111121svn
- Add Device ID for Samsung ML-1610.
* Tue Nov 22 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.3.20111121svn
- Include more files into documentation (#755069).
* Mon Nov 21 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.2.20111121svn
- Download only trunk from upstream SVN repository.
* Fri Nov 18 2011 Jiri Popelka <jpopelka@redhat.com> - 2.0.1-0.1.20111118svn
- Initial spec file.