Skip to content

[WIP] Improve printing experience and update related packages#4857

Merged
7c6f434c merged 8 commits intoNixOS:masterfrom
abbradar:cups2
Nov 15, 2014
Merged

[WIP] Improve printing experience and update related packages#4857
7c6f434c merged 8 commits intoNixOS:masterfrom
abbradar:cups2

Conversation

@abbradar
Copy link
Member

@abbradar abbradar commented Nov 6, 2014

This is my effort to improve printing for me and update packages while I'm at it. It consists of:

  • updating cups to 2.0
  • adding patch that allows to use multifunctional devices with it (fixing access rights)
  • updating ghostscript and dropping GNU fork (looks like its development has been discontinued)
  • adding cups-filters and other required infrastructure for the new cups
  • (not yet looked at) making cups show all available printer drivers when adding new printer.

It's related to #4680 and #4711 .

I wanted to ask for a Hydra jobset, since my home server seems to be too weak for rebuilding everything dependent on cups and stuff (building for half a day and it's stuck on one of chromiums for 4hrs already, with chromiumDev yet on its way).

@domenkozar
Copy link
Member

@domenkozar domenkozar added 0.kind: enhancement Add something new or improve an existing system. update-package labels Nov 6, 2014
@domenkozar domenkozar added this to the 14.11 milestone Nov 6, 2014
@abbradar
Copy link
Member Author

abbradar commented Nov 6, 2014

Thanks! Let's see how much will it break...

@abbradar
Copy link
Member Author

abbradar commented Nov 7, 2014

Hydra timeouted on evaluation (http://hydra.nixos.org/jobset/nixpkgs/pr-4857#tabs-errors) -- would it retry evaluation itself or does it need a kick?
UPD: amended commit with invalid name and it seems to also reschedule evaluation.

@abbradar
Copy link
Member Author

I've managed to build this jobset by myself, you can stop it's evaluation to ease Hydra's load a bit.

@abbradar abbradar force-pushed the cups2 branch 2 times, most recently from cc50aaa to 24c3775 Compare November 13, 2014 20:24
7c6f434c added a commit that referenced this pull request Nov 15, 2014
[WIP] Improve printing experience and update related packages
@7c6f434c 7c6f434c merged commit a7c8d00 into NixOS:master Nov 15, 2014
@abbradar
Copy link
Member Author

Um... I haven't yet tested printing -- this was WIP for a reason. Maybe it would work but I don't know.

@7c6f434c
Copy link
Member

Ah, misunderstood your message about successful rebuild (assumed you did try it afterwards). Hm, apparently I would need a full system rebuild (to restart CUPS) for testing.

@abbradar
Copy link
Member Author

Well, I have a printer access now so I'll try to check it. We might would have to revert abbradar@aa548af and abbradar@f7ba33d though.

@abbradar
Copy link
Member Author

(And I don't know if other packages would build with old CUPS)

@7c6f434c
Copy link
Member

Isn't CUPS pdf_filter optional?

@abbradar
Copy link
Member Author

You mean pdf_filter which I've removed or cups-filters? The former is abandoned (there is some other project which has been packaged in Arch, and maybe something in cups-filters), the latter is needed for cups to work on Linux at all (AFAIU).

@7c6f434c
Copy link
Member

So I need to revert only the removal? (of pdf filter)

@abbradar
Copy link
Member Author

It wouldn't work with new cups, so we need either to revert the whole CUPS update (I'm checking now if it works at all, most likely not), or, if it works, leave it as is (pdf_filter is abandoned anyway) and find some other project/solution which would work for PDFs.

@abbradar
Copy link
Member Author

I'm waiting for nix to download all things needed from Hydra, meanwhile I've tried and we can just revert abbradar@aa548af and abbradar@f7ba33d if cups wouldn't work -- other packages build with old cups without problems.

@7c6f434c
Copy link
Member

Should I revert them right now or is there a chance they would work anyway?

@abbradar
Copy link
Member Author

There is a chance and I have all packages already rebuilt at my home Hydra, so let me check if it works.

@abbradar
Copy link
Member Author

I've looked through my Hydra and it looks like new cups breaks libgnomecups and some related library in KDE -- I don't have time to fix that right now, so let's revert. Also we need to pull abbradar@1f78ef9 -- I hope we don't deal with changing files here and I've just used bad hashes.

@7c6f434c
Copy link
Member

Reverted two commits and git-am-ed one

@7c6f434c
Copy link
Member

Sorry for inattentive reading

@abbradar
Copy link
Member Author

At least we've pulled half of needed things already ^^. I'll return to this at the next week -- hopefully I'll finish before 20th feature freeze.

@7c6f434c
Copy link
Member

About half of the things: exactly what I advertised for the Ruby pull request…

@abbradar
Copy link
Member Author

It looks much bigger than mine and even mine could be separated better as we learned today, so I suppose it would be healthy to merge it in parts, too... I'm not even a collaborator to talk about this, though.

@7c6f434c
Copy link
Member

I'm not even a collaborator to talk about this, though.

You have an experience to share!

Your not being a collaborator is also a thing to ask Rob about — your
numerous contributions are fresh, so you weren't mentioned in the
previous «let's give more commit access» email from me, but you will
definitely be in my next, and ikwildrpepper gives commit access
liberally enough when asked that my letters are (deliberately) «why
still not?» anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: enhancement Add something new or improve an existing system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants