Quassel Core PKGBUILD for Archlinux (Static version)
Sunit Kumar Nandi 89fea3ab74 Update README.md | 9 年 前 | |
---|---|---|
LICENSE | 9 年 前 | |
PKGBUILD | 9 年 前 | |
README.md | 9 年 前 | |
quassel.conf | 9 年 前 | |
quassel.install | 9 年 前 | |
quassel.service | 9 年 前 |
A PKGBUILD for Archlinux users to pull the statically compiled Quassel core from Quassel-IRC.org and configure it accordingly to run a Quassel Core instance.
Some questions you might ask have been answered below.
Type the following in sequence in a terminal to install:
git clone https://github.com/sunitknandi/quassel-core-static.git
cd quassel-core-static
makepkg -si
Expecting more steps? Sorry to disappoint, mate. xD
Start/stop/restart/check the core with:
sudo systemctl (start|stop|restart|status) quassel
Enable/disable the core to start at boot with:
sudo systemctl (enable|disable) quassel
Read logs with:
sudo journalctl -u quassel.service --since today -f
I currently use it as a Quassel core on an Archlinux server for me and my friends. The Quassel core has 10 active users as of now and hasn't given us any trouble. You may either try it yourself or you can take my word for it. Either way, you are gonna try it out while installing. xD
The officially maintained quassel-core
package on Archlinux repositories reqire a lot of dependencies i.e.
More than half of them are make dependencies which means after the packages are compiled they are no longer needed, which means nothing but bloat.
But that's not the motivation for this git repo. The real motivation is actually this:
[sunit@quasselcore ~]$ sudo pacman -S quassel-core
[sudo] password for sunit:
resolving dependencies...
:: There are 5 providers available for libgl:
:: Repository ec2
1) nvidia-libgl
:: Repository extra
2) mesa-libgl 3) nvidia-304xx-libgl 4) nvidia-340xx-libgl 5) nvidia-libgl
When one tries to install quassel-core
from the official repos, the dependencies pull another set of dependencies and then another... until it tries to pull parts of the X.org video stack and libGL (I mean like seriously, mate?). Why the heck are those things needed on a headless Quassel core server for god's sake? The Debian package of quassel-core
, on the other hand is very lightweight and doesn't need the whole stack of video deps (because why on earth?).
The easiest solution to avoid is to use the statically compiled version of Quassel core from the official website itself and save yourself the trouble.
I thought of this idea while installing Quassel Core for the first time on an Archlinux server I run and seeing the hell load of deps. Initially I ran the static core without packaging it. Later when I wanted to write a PKGBUILD, I noticed that Nowaker had already written it here but its not being actively maintained.
With time, I started maintaining my private PKGBUILD after forking from Nowaker's to keep the Quassel core on the server updated. It started to get tedious, so I decided to make a git so that I can maintain it and clone and deploy anywhere.
quassel.conf
and quassel.service
in Nowaker's original PKGBUILD setup isn't exactly like the way I want it to be. The quassel.conf
file was useless and modifying the values in it had no effect on the operation of the Quassel core service. I have corrected that behaviour and now editing the file lets you change the host IP and the port Quassel listens to.My PKGBUILD is licensed under the GPLv2.
Yes, feel free to fork it, edit it and send me a pull request. It can greatly help in timely updates.
Feel free to shoot me a mail at sunitnandi834 (at) gmail (dot) com and I'll get back to you. :)