Page MenuHomeSolus

Update cups to 2.2.6 + convert to ypkg
ClosedPublic

Authored by kyrios123 on Aug 12 2017, 9:21 PM.
Referenced Files
F11024309: D809.diff
Tue, Aug 8, 8:46 PM
F11023313: D809.id3164.diff
Tue, Aug 8, 12:04 PM
F11019442: D809.id1794.diff
Sun, Aug 6, 8:08 PM
F11018275: D809.diff
Sun, Aug 6, 10:52 AM
F11017026: D809.id1906.diff
Sat, Aug 5, 10:09 PM
F11015343: D809.id3689.diff
Sat, Aug 5, 10:46 AM
F11005931: D809.diff
Tue, Aug 1, 11:32 AM
F10986870: D809.id1781.diff
Mon, Jul 24, 3:14 AM

Details

Summary

Release notes available here 2.2.5 - 2.2.6

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

Installation ok

Diff Detail

Repository
R575 cups
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

EP01 added inline comments.
package.yml
4

I'm not experienced enough to comment on the rest of the package, but the release number should be 16.

ikey requested changes to this revision.Aug 13 2017, 10:57 AM
ikey added a subscriber: ikey.
ikey added inline comments.
files/cups-multilib.patch
10 ↗(On Diff #1781)

This stuff seems cranky and wrong, we didn't need a multilib patch before so why do we need one now.. ?

files/cups-no-export-ssllibs.patch
9 ↗(On Diff #1781)

I need clarification on why this patch is present - Fedora having it isn't a good enough reason

package.yml
45

Can I see the build failure? We might have a dependency issue in the 32-bit build of gnutls

58

Please be sure to use 5-octal notation, i.e. 00644 not 644. This is a very little documented part of install, but it clears parent permission problems. For example, if somehow an upper directory becomes setgid, then install will continue that setgid mask across -D subdirectory creation, which can be incredibly dangerous! :)

pspec_x86_64.xml
24

Guess Ikey needs to make this stateless at some point :P

This revision now requires changes to proceed.Aug 13 2017, 10:57 AM
files/cups-no-export-ssllibs.patch
9 ↗(On Diff #1781)

ok I only leave the patches that I believe are really important.

package.yml
45

This is what I get when gnutls is enabled for the 32bit build:
https://hastebin.com/suyilidino

libgnutls-32bit should depend on libp11-kit-32bit but doesn't (the non 32bit package has the correct dependency).

If you can't justify why you are adding a patch, you shouldn't add it IMO

kyrios123 edited edge metadata.
kyrios123 removed a subscriber: sunnyflunk.

DRAFT - Update 1

  • Removed some patches
    • Don't gzip man pages in the Makefile
    • Prevent multilib conflict in cups-config script
    • Don't export SSLLIBS to cups-config.
  • add tmpfiles
  • fix release number
  • use octal permissions in install -m
  • Remove Fedora hacks to log into the journal instead of syslog: first make it work, enhance it later.
  • Add some more configure options (user, group, system groups, without rcdir)
IMPORTANT: ANYONE WILLING TO HELP FOR THE TESTS IS WELCOME !!!!
kyrios123 edited the summary of this revision. (Show Details)
kyrios123 added a parent revision: D346: Update gnutls to 3.5.14.
  • 32bit is now built with gnutls support
  • remove a couple of builddeps
kyrios123 edited the summary of this revision. (Show Details)
kyrios123 edited the test plan for this revision. (Show Details)

This could be considered as the release candidate version of the package. It's ready for testing and if nobody ask for changes, it can be committed ?

Won't be going in tonight I'm afraid, just can't risk it. About to do the release

kyrios123 retitled this revision from Update cups to 2.2.4 + convert to package.yml DRAFT to Update cups to 2.2.4 + convert to package.yml.Aug 14 2017, 5:42 PM
In D809#11851, @ikey wrote:

Won't be going in tonight I'm afraid, just can't risk it. About to do the release

You're a wise man and I wouldn't want to feel responsible for breaking printing for everyone !

package.yml
56

make check is currently commented because 1 test fails:

./testhttp
httpGetDateString()/httpGetDateTime(): PASS
httpDecode64_2()/httpEncode64_2(): PASS
httpGetHostname(): PASS (solus-budgie)
httpAddrGetList(solus-budgie): FAIL
httpSeparateURI(): PASS (41 URIs tested)
httpAssembleURI(): PASS (16 URIs tested)
httpAssembleUUID: PASS (urn:uuid:54095e9c-ee9b-3a04-7566-1d3a6342da2c)

I have a printer but am not currently using unstable @kyrios123 I could maybe setup a virtual machine if you would like

I have a printer but am not currently using unstable @kyrios123 I could maybe setup a virtual machine if you would like

Any help for testing is welcome but the package is not yet on unstable.
I uploaded the .eopkg files here.

PS: if you set a virtual machine on stable, it should also work if the system is up-to-date.

Add libgnutls-devel as rundep for cups-devel

remove the "no-gcrypt" patch

ikey requested changes to this revision.Oct 4 2017, 11:29 PM

The Gentoo patch for the systemd units breaks the existing paths in our cups package, thus breaks upgrades

This revision now requires changes to proceed.Oct 4 2017, 11:29 PM
In D809#17968, @ikey wrote:

The Gentoo patch for the systemd units breaks the existing paths in our cups package, thus breaks upgrades

I'd like to discuss this on IRC when you're available

kyrios123 edited edge metadata.

pre-enable boot service, socket & path

kyrios123 edited the summary of this revision. (Show Details)
kyrios123 edited the test plan for this revision. (Show Details)
  • rm /run and /var as this is handled by the tmpfiles
  • lpadmin is a group, not a user
kyrios123 retitled this revision from Update cups to 2.2.4 + convert to package.yml to Update cups to 2.2.5 + convert to ypkg.
kyrios123 edited the summary of this revision. (Show Details)

bump to 2.2.5

  • restore original service, socket & path names
  • add libgcrypt-32bit-devel and xz-32bit-devel as dependencies because cups doesn't build anymore without them
  • also add LGPL-2.0 as license
  • add 32bit rundep
kyrios123 retitled this revision from Update cups to 2.2.5 + convert to ypkg to Update cups to 2.2.6 + convert to ypkg.
kyrios123 edited the summary of this revision. (Show Details)
kyrios123 edited the test plan for this revision. (Show Details)

bump to 2.2.6

This revision is now accepted and ready to land.Nov 29 2017, 10:31 PM
This revision was automatically updated to reflect the committed changes.