commit splix for openSUSE:Factory

2020-10-14 Thread root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2020-10-14 15:38:57

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new.3486 (New)


Package is "splix"

Wed Oct 14 15:38:57 2020 rev:17 rq:841599 version:2.0.0.315

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2017-04-30 
21:24:53.076352163 +0200
+++ /work/SRC/openSUSE:Factory/.splix.new.3486/splix.changes2020-10-14 
15:39:38.094371680 +0200
@@ -1,0 +2,6 @@
+Tue Oct 13 16:41:48 UTC 2020 - Dominique Leuenberger 
+
+- Removed "BuildRequires: python-cups" (python2 is dead) (change
+  effectively done by J. Meixner).
+
+---



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.RBLSQw/_old  2020-10-14 15:39:39.166372054 +0200
+++ /var/tmp/diff_new_pack.RBLSQw/_new  2020-10-14 15:39:39.170372056 +0200
@@ -50,11 +50,6 @@
 %endif
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-# All printer driver packages should have "BuildRequires: python-cups"
-# because python-cups installs special rpm macros that adds Provides tags
-# for the printer drivers supported by the package,
-# see https://bugzilla.novell.com/show_bug.cgi?id=735865
-BuildRequires:  python-cups
 %if (0%{?suse_version} > 1110) && ! %{without jbigkit}
 BuildRequires:  libjbig-devel
 %endif




commit splix for openSUSE:Factory

2017-04-30 Thread root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2017-04-30 21:24:16

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new (New)


Package is "splix"

Sun Apr 30 21:24:16 2017 rev:16 rq:492139 version:2.0.0.315

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2017-04-20 
20:54:52.578652214 +0200
+++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2017-04-30 
21:24:53.076352163 +0200
@@ -1,0 +2,11 @@
+Sat Apr 29 18:02:27 UTC 2017 - bwiedem...@suse.com
+
+- call gzip -n to make build fully reproducible
+
+---
+Thu Apr 20 09:16:20 UTC 2017 - jeng...@inai.de
+
+- Remove redundant %clean section, replace %__-type macro
+  indirections, and use %_smp_mflags over %jobs.
+
+---



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.hVuKLO/_old  2017-04-30 21:24:53.768254605 +0200
+++ /var/tmp/diff_new_pack.hVuKLO/_new  2017-04-30 21:24:53.776253478 +0200
@@ -85,16 +85,16 @@
 %setup -q
 %patch1 -p1
 %patch2 -p1
-%__cp %SOURCE2 .
+cp %SOURCE2 .
 mv -v *.ppd ppd/
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 %if 0%{?suse_version} > 1110
-%__make %{?_without_jbigkit:DISABLE_JBIG=1} %{?jobs:-j%{jobs}} V=1
+make %{?_without_jbigkit:DISABLE_JBIG=1} %{?_smp_mflags} V=1
 %else
-%__make DISABLE_JBIG=1 %{?jobs:-j%{jobs}} V=1
+make DISABLE_JBIG=1 %{_smp_mflags} V=1
 %endif
 
 %install
@@ -104,9 +104,9 @@
 %makeinstall DISABLE_JBIG=1
 %endif
 pushd $RPM_BUILD_ROOT%_datadir/cups/model/samsung/
-%__tar xjvf "%{SOURCE1}"
+tar -xjvf "%{SOURCE1}"
 popd
-gzip -9 %buildroot/%_datadir/cups/model/*/*.ppd
+gzip -n -9 %buildroot/%_datadir/cups/model/*/*.ppd
 # Run fdupes:
 # The RPM macro fdupes runs /usr/bin/fdupes that links files with identical 
content.
 # Never run fdupes carelessly over the whole buildroot directory
@@ -118,9 +118,6 @@
 # so that fdupes can only run for specific directories where linking files is 
safe:
 %fdupes -s %{buildroot}/%{_datadir}/cups/model/samsung/cms
 
-%clean
-rm -fr %buildroot
-
 %if 0%{?suse_version} > 1110
 # Do not do this for SLE11 where ghostscript-library 8.62 is used.
 # If Splix plus Ghostscript >= 9.02 is used on SLE11 the admin must do it 
manually as needed.




commit splix for openSUSE:Factory

2017-04-20 Thread root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2017-04-20 20:54:47

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new (New)


Package is "splix"

Thu Apr 20 20:54:47 2017 rev:15 rq:487802 version:2.0.0.315

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2015-03-25 
21:33:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2017-04-20 
20:54:52.578652214 +0200
@@ -1,0 +2,23 @@
+Thu Apr  6 00:35:25 UTC 2017 - dev+nov...@devmotion.de
+
+- Disable jbigkit for SLE11. 
+
+---
+Wed Apr  5 23:19:10 UTC 2017 - dev+nov...@devmotion.de
+
+- Change of conditional to build with jbigkit by default. 
+
+---
+Thu Nov 24 22:37:49 UTC 2016 - psim...@suse.com
+
+- Update to latest SVN revision 315 of Splix. That version -- which
+  was unfortunately never released -- brings support for many new
+  printers and solves bsc#1007864. The update obsoletes
+  splix-2.0.0-gcc45.patch, which was applied upstream. Also,
+  splix-add-debuginfo.patch has been partially applied upstream and
+  could be simplified. Note that the new version of SpliX has
+  bumped an internal version number and therefore requires users to
+  re-register their printer in CUPS. If this is not done, then CUPS
+  will complain about a version number mismatch.
+
+---

Old:

  splix-2.0.0-gcc45.patch
  splix-2.0.0.tar.bz2

New:

  splix-2.0.0.315.tar.bz2



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.ZtVluG/_old  2017-04-20 20:54:53.346543625 +0200
+++ /var/tmp/diff_new_pack.ZtVluG/_new  2017-04-20 20:54:53.346543625 +0200
@@ -15,20 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-%bcond_with jbigkit
+%if 0%{?suse_version} > 1110
+%bcond_without jbigkit
+%endif
 
 Name:   splix
 Summary:Driver for Samsung Printer Language printers
 License:GPL-2.0
 Group:  Hardware/Printing
-Version:2.0.0
+Version:2.0.0.315
 Release:0
 Url:http://splix.ap2c.org/
-Source0:
http://downloads.sourceforge.net/project/splix/splix/%{version}/%{name}-%{version}.tar.bz2
+# revision 315 from svn://svn.code.sf.net/p/splix/code/splix
+Source0:splix-2.0.0.315.tar.bz2
 Source1:http://splix.ap2c.org/samsung_cms.tar.bz2
 Source2:README.SUSE
-Patch0: %name-2.0.0-gcc45.patch
 Patch1: %name-libs.patch
 Patch2: %name-add-debuginfo.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -54,8 +55,8 @@
 # for the printer drivers supported by the package,
 # see https://bugzilla.novell.com/show_bug.cgi?id=735865
 BuildRequires:  python-cups
-%if %{with jbigkit}
-BuildRequires:  jbigkit-devel
+%if (0%{?suse_version} > 1110) && ! %{without jbigkit}
+BuildRequires:  libjbig-devel
 %endif
 Requires:   cups
 # The Splix driver PPDs contain either
@@ -82,18 +83,26 @@
 
 %prep
 %setup -q
-%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %__cp %SOURCE2 .
+mv -v *.ppd ppd/
 
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-%__make %{!?_with_jbigkit:DISABLE_JBIG=1} %{?jobs:-j%{jobs}} V=1
+%if 0%{?suse_version} > 1110
+%__make %{?_without_jbigkit:DISABLE_JBIG=1} %{?jobs:-j%{jobs}} V=1
+%else
+%__make DISABLE_JBIG=1 %{?jobs:-j%{jobs}} V=1
+%endif
 
 %install
-%makeinstall %{!?_with_jbigkit:DISABLE_JBIG=1}
+%if 0%{?suse_version} > 1110
+%makeinstall %{?_without_jbigkit:DISABLE_JBIG=1}
+%else
+%makeinstall DISABLE_JBIG=1
+%endif
 pushd $RPM_BUILD_ROOT%_datadir/cups/model/samsung/
 %__tar xjvf "%{SOURCE1}"
 popd
@@ -144,6 +153,8 @@
 %dir %_datadir/cups/model/dell
 %dir %_datadir/cups/model/samsung
 %dir %_datadir/cups/model/xerox
+%dir %_datadir/cups/model/lexmark
+%dir %_datadir/cups/model/toshiba
 %if 0%{?suse_version} == 1110
 # On SLE11 with its CUPS 1.3.9 there is still /usr/lib64/cups/ used on x86_64.
 # For suse_version values see 
https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
@@ -164,5 +175,7 @@
 %_datadir/cups/model/samsung/*.ppd.gz
 %_datadir/cups/model/samsung/cms
 %_datadir/cups/model/xerox/*.ppd.gz
+%_datadir/cups/model/lexmark/*.ppd.gz
+%_datadir/cups/model/toshiba/*.ppd.gz
 
 %changelog

++ splix-2.0.0.tar.bz2 -> splix-2.0.0.315.tar.bz2 ++
 78552 lines of diff (skipped)

++ splix-add-debuginfo.patch ++
--- /var/tmp/diff_new_pack.ZtVluG/_old  2017-04-20 20:54:54.018448610 +0200
+++ /var/tmp/diff_new_pack.ZtVluG/_new  2017-04-20 

commit splix for openSUSE:Factory

2015-03-25 Thread h_root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2015-03-25 21:06:09

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new (New)


Package is splix

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2014-09-03 
21:11:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2015-03-25 
21:33:28.0 +0100
@@ -1,0 +2,15 @@
+Fri Mar 20 10:56:54 CET 2015 - jsm...@suse.de
+
+- For SLE12 build it with traditional CUPS 1.5.4 to ensure
+  it works on SLE12 both with CUPS 1.7.5 and CUPS 1.5.4.
+
+---
+Mon Mar 16 12:12:41 CET 2015 - jsm...@suse.de
+
+- Make it build on SLE11 x86_64 by using %_libdir/cups/ in the
+  files section on SLE11 because there with CUPS 1.3.9 there is
+  still /usr/lib64/cups/ used on x86_64 and /usr/lib/cups/ on x86
+  and it installs automatically into /usr/lib64/cups/ on x86_64
+  and into /usr/lib/cups/ on x86.
+
+---



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.LOBdTF/_old  2015-03-25 21:33:29.0 +0100
+++ /var/tmp/diff_new_pack.LOBdTF/_new  2015-03-25 21:33:29.0 +0100
@@ -32,7 +32,21 @@
 Patch1: %name-libs.patch
 Patch2: %name-add-debuginfo.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# SLE12 needs special BuildRequires.
+# For suse_version values see 
https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
+%if 0%{?suse_version} == 1315
+# For SLE12 by default CUPS 1.7.5 is provided and alternatively CUPS 1.5.4 is 
provided in the legacy module.
+# For SLE12 build it with traditional CUPS 1.5.4 to ensure it works on SLE12 
both with CUPS 1.7.5 and CUPS 1.5.4
+# because libcups and libcupsimage in CUPS 1.7.5 are backward compatible with 
CUPS 1.5.4 so that applications
+# that have been built with CUPS 1.5.4 also work under CUPS 1.7.5 but the 
libraries in CUPS 1.7.5 provide
+# some additional functions so that applications that have been built with 
CUPS 1.7.5 and use those
+# additional functions would not work under CUPS 1.7.5.
+# Only in the Printing project for SLE12 use cups154-ddk (a sub package of the 
cups154-SLE12 source package):
+BuildRequires:  cups154-devel
+%else
+# Anything what is not SLE12 (i.e. SLE11 and all openSUSE versions) have 
normal BuildRequires:
 BuildRequires:  cups-devel
+%endif
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 # All printer driver packages should have BuildRequires: python-cups
@@ -98,6 +112,9 @@
 %clean
 rm -fr %buildroot
 
+%if 0%{?suse_version}  1110
+# Do not do this for SLE11 where ghostscript-library 8.62 is used.
+# If Splix plus Ghostscript = 9.02 is used on SLE11 the admin must do it 
manually as needed.
 %post
 # Use a real bash script with an explicit exit 0 at the end to be by default 
fail safe
 # an explicit exit 1 must be use to enforce package install/upgrade/erase 
failure where needed
@@ -117,6 +134,7 @@
 then ln -s /usr/lib/cups/filter/gstoraster /usr/lib/cups/filter/pstoraster
 fi
 exit 0
+%endif
 
 %files
 %defattr(-,root,root)
@@ -126,12 +144,22 @@
 %dir %_datadir/cups/model/dell
 %dir %_datadir/cups/model/samsung
 %dir %_datadir/cups/model/xerox
+%if 0%{?suse_version} == 1110
+# On SLE11 with its CUPS 1.3.9 there is still /usr/lib64/cups/ used on x86_64.
+# For suse_version values see 
https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto
+# On SLE11 it installs automatically into /usr/lib64/cups/ on x86_64 and into 
/usr/lib/cups/ on x86:
+%dir %_libdir/cups/
+%dir %_libdir/cups/filter/
+%_libdir/cups/filter/pstoqpdl
+%_libdir/cups/filter/rastertoqpdl
+%else
 # Use a plain simple fixed /usr/lib/cups/filter/ according
-# to what is actually used by CUPS on all platforms:
+# to what is actually used by CUPS = 1.4 on all platforms:
 %dir /usr/lib/cups/
 %dir /usr/lib/cups/filter/
 /usr/lib/cups/filter/pstoqpdl
 /usr/lib/cups/filter/rastertoqpdl
+%endif
 %_datadir/cups/model/dell/*.ppd.gz
 %_datadir/cups/model/samsung/*.ppd.gz
 %_datadir/cups/model/samsung/cms

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit splix for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2014-09-03 18:22:43

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new (New)


Package is splix

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2014-06-25 
10:49:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2014-09-03 
21:11:06.0 +0200
@@ -1,0 +2,6 @@
+Mon Aug 25 11:03:47 CEST 2014 - jsm...@suse.de
+
+- splix-add-debuginfo.patch (from lpecha...@suse.cz) lets build
+  make also the missing debuginfo packages (bnc#890843).
+
+---

New:

  splix-add-debuginfo.patch



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.2pbxj7/_old  2014-09-03 21:11:07.0 +0200
+++ /var/tmp/diff_new_pack.2pbxj7/_new  2014-09-03 21:11:07.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package splix (Version 2.0.0)
+# spec file for package splix
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,22 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 %bcond_with jbigkit
 
 Name:   splix
 Summary:Driver for Samsung Printer Language printers
-Version:2.0.0
-Release:4
 License:GPL-2.0
 Group:  Hardware/Printing
+Version:2.0.0
+Release:0
 Url:http://splix.ap2c.org/
 Source0:
http://downloads.sourceforge.net/project/splix/splix/%{version}/%{name}-%{version}.tar.bz2
 Source1:http://splix.ap2c.org/samsung_cms.tar.bz2
 Source2:README.SUSE
 Patch0: %name-2.0.0-gcc45.patch
 Patch1: %name-libs.patch
+Patch2: %name-add-debuginfo.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -70,6 +70,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 %__cp %SOURCE2 .
 
 %build

++ splix-add-debuginfo.patch ++
SLE needs debugging information even for optimized binaries.

Signed-off-by: Libor Pechacek lpecha...@suse.cz
Index: splix-2.0.0/Makefile
===
--- splix-2.0.0.orig/Makefile
+++ splix-2.0.0/Makefile
@@ -74,8 +74,8 @@ comma   := ,
 
 DEBUG_CFLAGS:= -O0 -g
 DEBUG_CXXFLAGS  := -O0 -g
-OPTIM_CFLAGS   := -O2
-OPTIM_CXXFLAGS := -O2
+OPTIM_CFLAGS   := -O2 -g
+OPTIM_CXXFLAGS := -O2 -g
 
 ARCHI   := $(shell uname -s)
 
Index: splix-2.0.0/rules.mk
===
--- splix-2.0.0.orig/rules.mk
+++ splix-2.0.0/rules.mk
@@ -21,9 +21,9 @@ cmd_install_cms   = INSTALL   col
 install: $(rastertoqpdl_TARGET) $(pstoqpdl_TARGET)
$(Q)mkdir -p $(DESTDIR)${CUPSFILTER}
$(call printCmd, $(cmd_install_raster))
-   $(Q)install -m 755 -s $(rastertoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
+   $(Q)install -m 755 $(rastertoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
$(call printCmd, $(cmd_install_ps))
-   $(Q)install -m 755 -s $(pstoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
+   $(Q)install -m 755 $(pstoqpdl_TARGET) $(DESTDIR)${CUPSFILTER}
$(Q)$(MAKE) --no-print-directory -C ppd install Q=$(Q) \
DESTDIR=$(abspath $(DESTDIR)) DISABLE_JBIG=$(DISABLE_JBIG)
@echo 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit splix for openSUSE:Factory

2014-06-25 Thread h_root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2014-06-25 10:49:05

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new (New)


Package is splix

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2014-03-13 
20:44:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2014-06-25 
10:49:15.0 +0200
@@ -1,0 +2,15 @@
+Tue Jun 24 14:19:14 CEST 2014 - jsm...@suse.de
+
+- Make Splix working also for Ghostscript version = 9.02:
+  In /usr/lib/cups/filter/pstoqpdl there is a hardcoded
+  call for /usr/lib/cups/filter/pstoraster.
+  Since Ghostscript 9.02 /usr/lib/cups/filter/pstoraster
+  is replaced by /usr/lib/cups/filter/gstoraster.
+  Accordingly when no /usr/lib/cups/filter/pstoraster exists,
+  an appropriate symlink is created (bnc#803005).
+- Require ghostscript because all Splix driver PPDs either
+  call /usr/lib/cups/filter/pstoqpdl that calls Ghostscript
+  or /usr/lib/cups/filter/rastertoqpdl that needs raster data
+  from the Ghostscript cups device.
+
+---



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.DwDVVn/_old  2014-06-25 10:49:16.0 +0200
+++ /var/tmp/diff_new_pack.DwDVVn/_new  2014-06-25 10:49:16.0 +0200
@@ -44,6 +44,18 @@
 BuildRequires:  jbigkit-devel
 %endif
 Requires:   cups
+# The Splix driver PPDs contain either
+#   *cupsFilter: application/vnd.cups-postscript 0 pstoqpdl
+# or
+#   *cupsFilter: application/vnd.cups-raster 0 rastertoqpdl
+# which means both require Ghostscript because
+# either /usr/lib/cups/filter/pstoqpdl calls Ghostscript via
+# /usr/lib/cups/filter/pstoraster or /usr/lib/cups/filter/gstoraster
+# (see the post install scriptlet below)
+# or /usr/lib/cups/filter/rastertoqpdl needs CUPS raster data as input
+# that is produced by the cups device in Ghostscript
+# (even the old ghostscript-library RPM e.g. in SLE11 provides ghostscript):
+Requires:   ghostscript
 # Provide and obsolete its old RPM package name cups-drivers-splix
 # see https://bugzilla.novell.com/show_bug.cgi?id=659579
 Provides:   cups-drivers-splix = %version
@@ -85,6 +97,26 @@
 %clean
 rm -fr %buildroot
 
+%post
+# Use a real bash script with an explicit exit 0 at the end to be by default 
fail safe
+# an explicit exit 1 must be use to enforce package install/upgrade/erase 
failure where needed
+# see the Shared_libraries section in 
http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets
+# Make Splix working also for Ghostscript version = 9.02:
+# In /usr/lib/cups/filter/pstoqpdl there is a hardcoded call for 
/usr/lib/cups/filter/pstoraster.
+# Since Ghostscript version 9.02 /usr/lib/cups/filter/pstoraster is replaced 
by /usr/lib/cups/filter/gstoraster.
+# Accordingly when no /usr/lib/cups/filter/pstoraster exists, create an 
appropriate symlink
+# so that /usr/lib/cups/filter/pstoqpdl works (see 
https://bugzilla.novell.com/show_bug.cgi?id=803005).
+# Intentionally there is no test that /usr/lib/cups/filter/gstoraster exists 
because
+# the required (but not pre-required) ghostscript RPM could be installed after 
splix.
+# Note that only test -e /usr/lib/cups/filter/pstoraster (or test -f) is 
insufficient because
+# test follows symlinks which means when /usr/lib/cups/filter/pstoraster is 
already a (possibly broken)
+# symbolic link to /usr/lib/cups/filter/gstoraster then test results false so 
that
+# additionally it must be tested if /usr/lib/cups/filter/pstoraster is a 
symlink:
+if ! test -e /usr/lib/cups/filter/pstoraster -o -L 
/usr/lib/cups/filter/pstoraster
+then ln -s /usr/lib/cups/filter/gstoraster /usr/lib/cups/filter/pstoraster
+fi
+exit 0
+
 %files
 %defattr(-,root,root)
 %doc COPYING README.SUSE

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit splix for openSUSE:Factory

2014-03-13 Thread h_root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2014-03-13 20:44:13

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new (New)


Package is splix

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2013-03-08 
09:53:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2014-03-13 
20:44:14.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar 12 15:44:34 CET 2014 - jsm...@suse.de
+
+- Provide the license source file COPYING in the binary RPM
+  (fix declined IBS submitrequest 33545).
+
+---



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.DCBcCQ/_old  2014-03-13 20:44:14.0 +0100
+++ /var/tmp/diff_new_pack.DCBcCQ/_new  2014-03-13 20:44:14.0 +0100
@@ -87,7 +87,7 @@
 
 %files
 %defattr(-,root,root)
-%doc README.SUSE
+%doc COPYING README.SUSE
 %dir %_datadir/cups
 %dir %_datadir/cups/model
 %dir %_datadir/cups/model/dell

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit splix for openSUSE:Factory

2012-04-16 Thread h_root
Hello community,

here is the log from the commit of package splix for openSUSE:Factory checked 
in at 2012-04-17 07:50:02

Comparing /work/SRC/openSUSE:Factory/splix (Old)
 and  /work/SRC/openSUSE:Factory/.splix.new (New)


Package is splix, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/splix/splix.changes  2011-09-23 
12:46:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.splix.new/splix.changes 2012-04-17 
07:50:04.0 +0200
@@ -1,0 +2,21 @@
+Wed Mar 28 12:27:26 CEST 2012 - jsm...@suse.de
+
+- Replace the oversophisticated _libexecdir which evaluates
+  to ...lib64... on x86_64 and use instead a plain simple
+  fixed /usr/lib/cups/filter/ according to what is actually
+  used by CUPS on all platforms. Additionally this hopefully
+  makes it more obvious that a fixed /usr/lib/cups/filter/
+  is intentionally used.
+
+---
+Tue Mar 27 12:40:07 UTC 2012 - a...@suse.de
+
+- Fix build, add missing -lpthread.
+- Cleanup spec file.
+
+---
+Mon Feb 13 10:56:30 UTC 2012 - co...@suse.com
+
+- patch license to follow spdx.org standard
+
+---
@@ -9 +30 @@
-  the old package cups-drivers-splix was removed.
+  the old package cups-drivers-splix was removed (bnc#659579).

Old:

  README.SuSE

New:

  README.SUSE
  splix-libs.patch



Other differences:
--
++ splix.spec ++
--- /var/tmp/diff_new_pack.oaSYNA/_old  2012-04-17 07:50:05.0 +0200
+++ /var/tmp/diff_new_pack.oaSYNA/_new  2012-04-17 07:50:05.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package splix
+# spec file for package splix (Version 2.0.0)
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,23 +19,22 @@
 
 %bcond_with jbigkit
 
-%if %suse_version  1120
-%define _libexecdir %_prefix/lib
-%endif
-
 Name:   splix
 Summary:Driver for Samsung Printer Language printers
 Version:2.0.0
-Release:1
-License:GPLv2
+Release:4
+License:GPL-2.0
 Group:  Hardware/Printing
 Url:http://splix.ap2c.org/
 Source0:
http://downloads.sourceforge.net/project/splix/splix/%{version}/%{name}-%{version}.tar.bz2
 Source1:http://splix.ap2c.org/samsung_cms.tar.bz2
-Source2:README.SuSE
+Source2:README.SUSE
 Patch0: %name-2.0.0-gcc45.patch
+Patch1: %name-libs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  cups-devel fdupes gcc-c++
+BuildRequires:  cups-devel
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
 %if %{with jbigkit}
 BuildRequires:  jbigkit-devel
 %endif
@@ -53,6 +52,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %__cp %SOURCE2 .
 
 %build
@@ -73,16 +73,18 @@
 
 %files
 %defattr(-,root,root)
-%doc README.SuSE
+%doc README.SUSE
 %dir %_datadir/cups
 %dir %_datadir/cups/model
 %dir %_datadir/cups/model/dell
 %dir %_datadir/cups/model/samsung
 %dir %_datadir/cups/model/xerox
-%dir %_libexecdir/cups/
-%dir %_libexecdir/cups/filter/
-%_libexecdir/cups/filter/pstoqpdl
-%_libexecdir/cups/filter/rastertoqpdl
+# Use a plain simple fixed /usr/lib/cups/filter/ according
+# to what is actually used by CUPS on all platforms:
+%dir /usr/lib/cups/
+%dir /usr/lib/cups/filter/
+/usr/lib/cups/filter/pstoqpdl
+/usr/lib/cups/filter/rastertoqpdl
 %_datadir/cups/model/dell/*.ppd.gz
 %_datadir/cups/model/samsung/*.ppd.gz
 %_datadir/cups/model/samsung/cms

++ README.SUSE ++
Installation of the color profile for color printers:
-

Color printers needs color profile files to get better results. These
files are provided by your printer manufacturer and you have to install them
manually. To do that, download the linux official drivers and locate the cms
directory. Install them copy everything in

/usr/share/cups/model/MANUFACTURER/cms/

where MANUFACTURER is samsung or xerox or dell

Samsung color profile files are available at:

http://splix.ap2c.org/samsung_cms.tar.bz2

even if they are already provided by this package

++ splix-libs.patch ++
Index: splix-2.0.0/module.mk
===
--- splix-2.0.0.orig/module.mk
+++ splix-2.0.0/module.mk
@@ -30,7 +30,7 @@ CXXFLAGS  += `cups-config --cflags` -Iin
 DEBUG_CXXFLAGS += -DDEBUG  -DDUMP_CACHE
 OPTIM_CXXFLAGS += -g