You are not logged in.

#1 2014-02-08 22:40:36

rodaz143
Member
Registered: 2013-07-24
Posts: 95
Website

Setting up a print server but CUPS requires libGL

As the subject states, I'm trying to set up a print server I don't have X installed, and don't intend to install it, considering it's unnecessary, but CUPS has libGL as a dependency for the daemon. Why is this, and how can I install it to set up a print server without libGL, X, Mesa, or any other graphic related packages?

Offline

#2 2014-02-08 23:01:36

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Setting up a print server but CUPS requires libGL

The way I have my printing set up is that I use CUPS locally and my printer is attached to the USB port on the router using p910nd.  This doesn't answer your question I know, but using p910nd as a kind of middleman between your printer and personal machine would cut out the graphical dependencies on your server.

Oh, and p910nd is in the AUR.  It is a print server that doesn't have a spool, so jobs are just passed directly to the printer.  In the setup described above, the print spool would reside under CUPS on the machine being printed from.

Offline

#3 2014-02-08 23:09:38

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,638
Website

Re: Setting up a print server but CUPS requires libGL

Rebuild cups and strip out all the crap that you don't need, then add cups to pacman.conf's IgnorePkg array so that you don't accidentally upgrade to a new version of cups and pull in all the default dependencies.

Of course, maintaining this package would be your own task.

Alternatively, search the AUR for a pre-made stripped-down PKGBUILD


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2014-02-08 23:27:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Setting up a print server but CUPS requires libGL

$ pacdep -PSs cups | grep libgl
 mesa-libgl         40.00 KiB <- cairo-infinality-ultimate <- extra/poppler <- extra/cups-filters <- extra/cups

cups needs libgl because cairo (I have cairo-infinality-ultimate installed, but it doesn't matter in this case) depends on it.
Try https://aur.archlinux.org/packages/cairo-nogl/

Offline

#5 2014-02-08 23:57:06

rodaz143
Member
Registered: 2013-07-24
Posts: 95
Website

Re: Setting up a print server but CUPS requires libGL

WonderWoofy wrote:

The way I have my printing set up is that I use CUPS locally and my printer is attached to the USB port on the router using p910nd.  This doesn't answer your question I know, but using p910nd as a kind of middleman between your printer and personal machine would cut out the graphical dependencies on your server.

My router has a USB port, but I'm not sure what exactly that's for, or if it has the same functionality as yours. I'm going to investigate after I post this

WonderWoofy wrote:

In the setup described above, the print spool would reside under CUPS on the machine being printed from.

My laptop and server are the only computers running Linux on the network



and as for stripping the source, I'm not really familiar with maintaining an AUR package, and cairo-nogl still requires  GUI-related packages, like gtk2. I'm going to mess with what's described in the first quote and see if I can get that to work

Offline

#6 2014-02-08 23:59:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Setting up a print server but CUPS requires libGL

gtk2 is only a makedependency i.e. a package you need to build cairo-nogl, you don't need gtk2 to run it.

Offline

Board footer

Powered by FluxBB