Commit Graph

294 Commits

Author SHA256 Message Date
Johannes Meixner
53b9657b27 Revert last change that tried to remove the
/usr/share/cups/fonts -> ../ghostscript/fonts link
see https://bugzilla.novell.com/show_bug.cgi?id=856731#c8

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=272
2014-01-10 10:11:34 +00:00
Johannes Meixner
08b481d570 - If /usr/share/cups/fonts is a symbolic link
(usually /usr/share/cups/fonts -> ../ghostscript/fonts
   but it does not matter whereto such a link points)
  then remove the link because CUPS' own Monospace fonts
  are provided by this package in the /usr/share/cups/fonts/
  directory but RPM cannot replace a symbolic link by a directory
  (RPM would complain with "file /usr/share/cups/fonts
   from install of cups-<new.version> conflicts
   with file from package cups-<old.version>")
  see https://bugzilla.novell.com/show_bug.cgi?id=856731#c6

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=271
2014-01-09 16:43:13 +00:00
Stephan Kulow
b022b45394 Accepting request 213206 from Printing
cups fixes for bnc#857372 and bnc#856731 (forwarded request 213204 from jsmeix)

OBS-URL: https://build.opensuse.org/request/show/213206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=114
2014-01-09 16:24:05 +00:00
Johannes Meixner
77d03bb05f Accepting request 213204 from home:jsmeix:branches:Printing
cups fixes for bnc#857372 and bnc#856731

OBS-URL: https://build.opensuse.org/request/show/213204
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=269
2014-01-08 15:52:25 +00:00
Tomáš Chvátal
e4b61184f2 Accepting request 202672 from Printing
********* RECOMMENDED FOR 13.1 *************

- patch cups-move-everything-to-run.patch missed to move 
  CUPS_STATEDIR to run, so systemd sockets are still created
  in /var/run 
-  Add required tmpfiles.d config snippet to ensure /run/cups
   is always available. (forwarded request 202658 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/202672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=113
2013-10-09 12:17:49 +00:00
Johannes Meixner
056668eb06 Accepting request 202658 from home:elvigia:branches:Printing
********* RECOMMENDED FOR 13.1 *************

- patch cups-move-everything-to-run.patch missed to move 
  CUPS_STATEDIR to run, so systemd sockets are still created
  in /var/run 
-  Add required tmpfiles.d config snippet to ensure /run/cups
   is always available.

OBS-URL: https://build.opensuse.org/request/show/202658
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=267
2013-10-09 08:41:40 +00:00
Stephan Kulow
1014136a0f Accepting request 182309 from Printing
cups-polld_avoid_busy_loop.patch fixes bnc#828228 (forwarded request 182308 from jsmeix)

OBS-URL: https://build.opensuse.org/request/show/182309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=111
2013-07-09 18:48:42 +00:00
Johannes Meixner
0a15197641 Accepting request 182308 from home:jsmeix:branches:Printing
cups-polld_avoid_busy_loop.patch fixes bnc#828228

OBS-URL: https://build.opensuse.org/request/show/182308
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=265
2013-07-05 13:00:43 +00:00
Stephan Kulow
413e37d950 Accepting request 181561 from Printing
- Fix endless loop if IPP server does not accect job (bnc#827418)
  see also https://www.cups.org/str.php?L4190 (STR#4190,
  patch str4190.patch)

OBS-URL: https://build.opensuse.org/request/show/181561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=110
2013-07-01 13:53:19 +00:00
Dr. Werner Fink
7d61be94c0 .
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=263
2013-07-01 07:23:09 +00:00
Dr. Werner Fink
b396904ff7 Accepting request 181379 from home:StefanBruens:branches:Printing
Fix for bnc#827418

OBS-URL: https://build.opensuse.org/request/show/181379
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=262
2013-06-29 10:49:02 +00:00
Stephan Kulow
d4bcf0ecd2 Accepting request 181125 from Printing
Use BuildRequires krb5-mini-devel to avoid build cycle (was OBS request 180870) but still using BuildRequires krb5-devel for SLE11 where no krb5-mini-devel exists. Additionally fixed Source0 URL in cups.spec to supersede request 180981 where check script errors out with message: Source URLs are not valid.

OBS-URL: https://build.opensuse.org/request/show/181125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=109
2013-06-28 14:02:25 +00:00
Johannes Meixner
c34c73c4fc - Changed Source0 URL from
http://ftp.easysw.com/pub/cups/1.5.4/cups-1.5.4-source.tar.bz2
  to its currently valid location
  http://www.cups.org/software/1.5.4/cups-1.5.4-source.tar.bz2
  so that the factory-auto check script does no longer error out
  with "Failed to download ...  Source URLs are not valid."

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=260
2013-06-26 13:41:49 +00:00
Johannes Meixner
44b2c8d933 Accepting request 180980 from home:jsmeix:branches:Printing
Use BuildRequires krb5-mini-devel to avoid build cycle (was OBS request 180870) but still using BuildRequires krb5-devel for SLE11 where no krb5-mini-devel exists.

OBS-URL: https://build.opensuse.org/request/show/180980
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=259
2013-06-26 09:47:03 +00:00
Stephan Kulow
24d8f06dba Accepting request 160618 from Printing
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls (forwarded request 160550 from m_meister)

OBS-URL: https://build.opensuse.org/request/show/160618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=108
2013-03-22 20:08:42 +00:00
Johannes Meixner
db86fb5d50 Accepting request 160550 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/160550
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=257
2013-03-22 15:37:20 +00:00
Stephan Kulow
067a1f1f6e Accepting request 151491 from Printing
Added explanation why pid, socket and lock files are moved to /run by cups-move-everything-to-run.patch and have it as Patch108 unconditioned in the spec file. (forwarded request 151489 from &lt;bound method Request.get_creator of &lt;osc.core.Request instance at 0x854062c&gt;&gt;)

OBS-URL: https://build.opensuse.org/request/show/151491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=107
2013-02-07 09:00:54 +00:00
Johannes Meixner
6cacd1bfed Accepting request 151489 from home:jsmeix:branches:Printing
Added explanation why pid, socket and lock files are moved to /run by cups-move-everything-to-run.patch and have it as Patch108 unconditioned in the spec file.

OBS-URL: https://build.opensuse.org/request/show/151489
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=255
2013-02-06 16:15:30 +00:00
Johannes Meixner
12e1c43112 Accepting request 150468 from home:rmilasan:branches:Printing
- Move everything (pid, lock, socket files) to /run only for 12.3.
  Added: cups-move-everything-to-run.patch

OBS-URL: https://build.opensuse.org/request/show/150468
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=254
2013-02-01 14:39:12 +00:00
Stephan Kulow
a33b954052 Accepting request 146147 from Printing
BuildRequires poppler-tools fixes bnc#776080 (forwarded request 146146 from &lt;bound method Request.get_creator of &lt;osc.core.Request instance at 0x858062c&gt;&gt;)

OBS-URL: https://build.opensuse.org/request/show/146147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=105
2012-12-21 13:34:07 +00:00
Johannes Meixner
4879e1f57e Accepting request 146146 from home:jsmeix:branches:Printing
BuildRequires poppler-tools fixes bnc#776080

OBS-URL: https://build.opensuse.org/request/show/146146
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=252
2012-12-20 13:55:02 +00:00
Stephan Kulow
e552470d68 Accepting request 141563 from Printing
- Add cups-provides-cupsd.service: ensure cupsd.service is provided
  by cups.service.
 (this is also valid for 12.2 btw) (forwarded request 141170 from &lt;bound method Request.get_creator of &lt;osc.core.Request instance at 0x853954c&gt;&gt;)

OBS-URL: https://build.opensuse.org/request/show/141563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=104
2012-11-17 06:20:34 +00:00
Johannes Meixner
830bb923e3 Accepting request 141170 from home:fcrozat:branches:Printing
- Add cups-provides-cupsd.service: ensure cupsd.service is provided
  by cups.service.
 (this is also valid for 12.2 btw)

OBS-URL: https://build.opensuse.org/request/show/141170
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=250
2012-11-16 13:53:24 +00:00
Stephan Kulow
c216dfdd4a Accepting request 138729 from Printing
- buildrequire systemd through the pkgconfig provide to get 
  systemd-mini in build environment (to break cycle) (forwarded request 138709 from &lt;bound method Request.get_creator of &lt;osc.core.Request instance at 0x85b950c&gt;&gt;)

OBS-URL: https://build.opensuse.org/request/show/138729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=103
2012-10-19 06:45:18 +00:00
Johannes Meixner
e03292a91c Accepting request 138709 from openSUSE:Factory:Staging:Systemd
- buildrequire systemd through the pkgconfig provide to get 
  systemd-mini in build environment (to break cycle)

OBS-URL: https://build.opensuse.org/request/show/138709
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=248
2012-10-18 15:03:53 +00:00
Stephan Kulow
71d2401e4e Accepting request 136163 from Printing
- Version upgrade to 1.5.4 (mainly a bugfix release) that fixes
  some IPP printing issues.
  Excerpt:
  * The IPP backend no longer tries to get the job status for 
    printers that do not implement the required operation 
    (STR #4083).
  * Sending a document in an unsupported format to an IPP printer 
    now automatically cancels the job (STR #4093).
  * The IPP backend now treats the client-error-not-possible
    status code as a job history issue, allowing IPP printing to 
    Windows to work(STR #4047).
  For a complete list see the CHANGES.txt file.
- revert_cups-ssl.m4_to_1.5.2.patch is now obsolete because of
  an upstream fix.

  Apple grant an openssl linking exception (and an exception for
  linking on Apple owned operating systems). (forwarded request 136162 from &lt;bound method Request.get_creator of &lt;osc.core.Request instance at 0x84b954c&gt;&gt;)

OBS-URL: https://build.opensuse.org/request/show/136163
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=102
2012-09-27 08:32:25 +00:00
Johannes Meixner
80940e8640 Accepting request 136162 from home:m_meister:branches:Printing
- Version upgrade to 1.5.4 (mainly a bugfix release) that fixes
  some IPP printing issues.
  Excerpt:
  * The IPP backend no longer tries to get the job status for 
    printers that do not implement the required operation 
    (STR #4083).
  * Sending a document in an unsupported format to an IPP printer 
    now automatically cancels the job (STR #4093).
  * The IPP backend now treats the client-error-not-possible
    status code as a job history issue, allowing IPP printing to 
    Windows to work(STR #4047).
  For a complete list see the CHANGES.txt file.
- revert_cups-ssl.m4_to_1.5.2.patch is now obsolete because of
  an upstream fix.

  Apple grant an openssl linking exception (and an exception for
  linking on Apple owned operating systems).

OBS-URL: https://build.opensuse.org/request/show/136162
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=246
2012-09-27 07:45:29 +00:00
Stephan Kulow
df8b7acb65 Accepting request 132581 from Printing
license update: SUSE-GPL-2.0-with-openssl-exception and LGPL-2.1
Apple grant an openssl linking exception (and an exception for linking on Apple owned operating systems) (forwarded request 132553 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/132581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=101
2012-09-10 13:21:04 +00:00
Ismail Dönmez
63e7acec97 Accepting request 132553 from home:babelworx:ldig:branches:Printing
license update: SUSE-GPL-2.0-with-openssl-exception and LGPL-2.1
Apple grant an openssl linking exception (and an exception for linking on Apple owned operating systems)

OBS-URL: https://build.opensuse.org/request/show/132553
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=244
2012-09-04 22:58:37 +00:00
Johannes Meixner
ee93892b39 - Save /etc/cups/cupsd.conf and /etc/cups/cupsd.conf.default
from becoming hardlinked via the fdupes run in cups.spec
  (see the 'Wed Aug 26 21:43:03 CEST 2009' entry below)
  by making their content different and at the same time
  fix the misleading comment (openSUSE Bugzilla bnc#773971).
- Minor clean-up in cups.spec (the "Remove unpackaged files"
  via "rm -rf <some_man-pages>") is no longer needed because
  those man pages are no longer installed.

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=243
2012-08-01 10:50:21 +00:00
Stephan Kulow
fa1a0ca0bc Accepting request 122203 from Printing
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/122203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=99
2012-05-29 09:36:36 +00:00
Johannes Meixner
ae203d9d2c Accepting request 121920 from home:jsmeix:branches:Printing
Upgrade to CUPS 1.5.3

OBS-URL: https://build.opensuse.org/request/show/121920
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=241
2012-05-23 12:12:05 +00:00
Stephan Kulow
ba37e40dc6 Accepting request 114992 from Printing
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/114992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=98
2012-04-23 14:09:35 +00:00
Johannes Meixner
1843c82322 - No longer require Ghostscript but only "Recommends: ghostscript"
because the Ghostscript device "cups" is needed by several CUPS
  filters (in particular the "rasterto..." filters) but those
  filters are not used on all systems (e.g. on a print server
  with only "raw" queues) so that a weak Recommends fits better.
  Furthermore this avoids a build dependency cycle between the
  main-packages cups and ghostscript.
- No longer require /usr/bin/pdftops but only a "Recommends"
  because the CUPS filter /usr/lib/cups/filter/pdftops
  (which calls /usr/bin/pdftops) is not used on all systems
  (e.g. on a print server with only "raw" queues) so that
  a weak Recommends fits better.

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=239
2012-04-12 09:02:43 +00:00
Johannes Meixner
0e2538a703 - In cups.spec remove the Obsoletes/Provides cups-SUSE-ppds-dat
because cups-SUSE-ppds-dat.rpm existed only up to SLE10
  but it does no longer exist since 11.1/SLE11
  and CUPS 1.5.x is not provided for SLE10.
- Use traditional bash scriptlets for post/postun with
  an explicite "exit 0" line at the end to be fail safe and
  therefore also "PreReq: /sbin/ldconfig" explicitly for the
  cups-libs sub-package, see the "Shared_libraries" section in
  http://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=238
2012-04-10 14:31:33 +00:00
Johannes Meixner
543acced9f - In cups.spec only "Requires: ghostscript" but no longer require
ghostscript-fonts-std in cups.spec because in ghostscript.spec
  there is already "Requires: ghostscript-fonts-std"
  (related to openSUSE Bugzilla bnc#735824).

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=237
2012-04-10 13:57:56 +00:00
Johannes Meixner
560e3c6e94 Fixed typos 'explicitely' -> 'explicitly' in spec file comments.
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=236
2012-02-21 08:52:18 +00:00
Stephan Kulow
f873ddf142 Accepting request 105238 from Printing
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/105238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=97
2012-02-16 15:12:19 +00:00
Johannes Meixner
ae62152563 Accepting request 103071 from home:jsmeix:branches:Printing
Upgrade to CUPS 1.5.2

OBS-URL: https://build.opensuse.org/request/show/103071
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=234
2012-02-07 15:37:15 +00:00
Stephan Kulow
c20653b87c Accepting request 100368 from Printing
Various fixes - get it building again.

OBS-URL: https://build.opensuse.org/request/show/100368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=96
2012-01-20 21:06:54 +00:00
Johannes Meixner
5b595e87ba Accepting request 99539 from home:elvigia:branches:Printing
- Use explicit  buildrequires on the needed libraries.
  otherwise build will fail after libtiff-devel deps cleanup
- Cleanup requires of -devel package, which only needs glibc-devel
- Fix up, cups-config script, which with option --libs adds:
 LIBS="-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto 
       -lz -lpthread -lm -lcrypt  "
 IMGLIBS="-ltiff -ljpeg -lpng"
 This only makes sense when using static linking but we dont ship
 static libraries and will only help bloating dependant packages.

OBS-URL: https://build.opensuse.org/request/show/99539
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=232
2012-01-10 10:02:58 +00:00
Johannes Meixner
47c00b7174 Accepting request 96966 from home:elvigia:branches:Printing
- Update systemd patch, Bind to datagram socket as well 
in systemd cups.socket unit file, to prevent that port being 
stolen by another service (from RH).
- There is no need to use -fno-strict-aliasing in cflags any longer.

OBS-URL: https://build.opensuse.org/request/show/96966
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=231
2011-12-20 09:35:50 +00:00
Johannes Meixner
d408977aee Accepting request 95282 from home:elvigia:branches:Printing
- Update systemd patch to a newer version that uses 
  libsystemd-daemon instead of bundling sd-daemon wrappers.

- Add complete systemd support, the hardware stuff  
  is handled in builtin udev rules
  (see /lib/udev/rules.d/99-systemd.rules)
  * See also http://0pointer.de/blog/projects/socket-activation2.html

OBS-URL: https://build.opensuse.org/request/show/95282
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=230
2011-12-06 14:51:06 +00:00
Lars Vogdt
2f9bfb212e Accepting request 86888 from Printing
cups: upgrade to version 1.5.0 (bnc#722057)

OBS-URL: https://build.opensuse.org/request/show/86888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=94
2011-10-06 14:01:08 +00:00
Johannes Meixner
7896b9daf5 Accepting request 86885 from home:jsmeix:branches:Printing
cups: upgrade to version 1.5.0 (bnc#722057)

OBS-URL: https://build.opensuse.org/request/show/86885
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=228
2011-10-06 09:36:19 +00:00
Ruediger Oertel
37c422b243 Accepting request 86532 from Printing
Added "BuildRequires: libtool" to cups.spec so that we do no longer rely on a "hidden" requirement for libtool in the project config

OBS-URL: https://build.opensuse.org/request/show/86532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=93
2011-10-04 16:08:34 +00:00
Johannes Meixner
a4c0c8e305 Accepting request 85976 from home:coolo:removelibtool
add libtool as buildrequires so we no longer rely on libtool in the project config of factory - it's only needed by <10% of all packages

OBS-URL: https://build.opensuse.org/request/show/85976
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=226
2011-10-04 10:16:05 +00:00
Lars Vogdt
09c90835e3 Accepting request 85447 from Printing
Upgrade to CUPS 1.4.8 and have the fix for bnc#628233 in 11.4 also in Factory (bnc#718707) and reverted the change for baselibs.conf so that it is again as before (bnc#721194)

OBS-URL: https://build.opensuse.org/request/show/85447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cups?expand=0&rev=92
2011-10-02 07:55:01 +00:00
Johannes Meixner
3b47653c7c - Reverted the change from meissner below dated
"Fri Sep 23 09:54:39 CEST 2011" so that baselibs.conf again
  contains only one line "cups-libs" as before because the
  submitrequest 85423 Printing/cups -> openSUSE:Factory/cups
  was declined by coolo with the following reason:
  "cups-devel-32bit requires cups-32bit (default requires),
   which does not exist".

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=223
2011-09-29 13:17:11 +00:00
Johannes Meixner
6fe1542ffb - Upgraded to CUPS 1.4.8
* network backends could crash if a printer returned a value
     of 0 for the maximum capacity for a supply (STR #3875)
   * For a complete list see the CHANGES.txt file.
- Upgraded to CUPS 1.4.7
   * imageto* filters could crash with bad GIF files (STR #3867)
   * CUPS did not work with some printers that incorrectly
     implemented the HTTP/1.1 standard (STR #3778, STR #3791)
   * Fixed crash in scheduler when the application/octet-stream
     MIME type was not defined (STR #3690)
   * The web interface no longer tries to use multi-part delivery
     when adding printers (STR #3455) using Epiphany or IE
   * "lp" and "lpr" failed with Kerberos enabled (STR #3768)
   * Remote printer URIs with options did not work (STR #3717)
   * The scheduler now only looks up interface hostnames
     if HostNameLookups are enabled (STR #3737)
   * The scheduler could crash if a browsed printer times out
     while a job is printing (STR #3754)
   * For a complete list see the CHANGES.txt file.

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=222
2011-09-29 10:46:25 +00:00