You are not logged in.
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
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
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
$ 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
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
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
gtk2 is only a makedependency i.e. a package you need to build cairo-nogl, you don't need gtk2 to run it.
Offline