-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Debian Buster spin #32
Comments
Hi @jalfonsi and thanks for your feedback! I confess to not having a clue as to how I'd take this on. I searched and found this page, which gives many options but no clear definition of a happy path to achieve the goal. Can you suggest links that clarify the actual preferred approach to having something like Regolith available on Debian? I would also need some equivalent of Cubic to generate the LiveCD installer from packages, but searching doesn't immediately give me many options. |
I think actually you would need a service to build debs, I have seen something like opensuse buildservice. Maybe you should ask or join the Bunsenlabs team which provides a Debian derivative based on another WM ( Openbox). |
I asked on the bunsenlabs forum: https://forums.bunsenlabs.org/viewtopic.php?pid=87487#p87487 |
I think it's most important that you provide a repo with debs specific to pure Debian Buster (both i686/i686_x64/armhf/arm64) and then let users add it to the sources list in their own installation. |
the Bunsen Labs forum was a great suggestion @jalfonsi . I have a rough idea of what needs to be done. |
#61 needs to be complete before starting on this. |
I think after moving to a CI system that builds packages we could probably more easily create releases for multiple distros. |
For anyone looking for a workaround, I was able to get regolith working on Debian Buster with these commands, although I have not fully tested that everything is working. echo "deb http://ppa.launchpad.net/kgilmer/regolith-stable/ubuntu disco main" > /etc/apt/sources.list.d/regolith.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 76458020C35556DC
apt update
apt install devscripts build-essential cdbs libxcb1-dev gperf pkg-config xutils-dev
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xcb-util/xcb-util_0.4.0.orig.tar.gz
wget http://archive.ubuntu.com/ubuntu/pool/main/x/xcb-util/xcb-util_0.4.0-0ubuntu3.debian.tar.xz
tar -xvf xcb-util_0.4.0.orig.tar.gz
cd xcb-util-0.4.0
tar -xvf ../xcb-util_0.4.0-0ubuntu3.debian.tar.xz
dpkg-buildpackage -b
cd ..
apt install ./libxcb-util1_0.4.0-0ubuntu3_amd64.deb
apt install compton fonts-font-awesome fonts-source-code-pro-ttf gnome-control-center gnome-flashback gnome-screensaver gnome-settings-daemon i3-gaps-wm i3xrocks nautilus nordic paper-icon-theme regolith-assets regolith-compton-config regolith-conky-config regolith-gnome-flashback regolith-i3-gaps-config regolith-i3xrocks-config regolith-rofi-config regolith-st regolith-styles regolith-xeventbind rofi software-properties-gtk unclutter-xfixes xeventbind xrescat |
Wow, that's fantastic @iwalton3 ! That's a big help, thanks! |
if I read correctly @iwalton3 comment, the only "missing" package on debian is xcb-util1 0.4 while debian has only xcb-util0 0.3. I don't know anything about X programming but I find it strange as the xcb-util1 0.4 has been released since 2014 and has been packaged in Ubuntu since at least Xenial 16.04. It's very intriguing: why has Debian never bothered to upgrade libxcb-util? But, in the meantime, I think that the it would be interesting to know what are the main difference between both libraries. In regolith, the only custom package that depends of libxcb-util1 is i3-gaps-wm. @kgilmer : you could maybe change the package to have a (libxcb-util1|libxcb-util0) dependancy so @iwalton3 could test (I assume they provide the same binaries). From what I've investigated, everything else should work (rofi also depends on libxcb-util1 in Ubuntu but the exact same version seems to work with libxcb-util0 in Debian). |
@ploum i3-gaps-wm does not work with libxcb-util0. Prior to building the package from source, I attempted to make a package that depended on libxcb-util0 and provided libxcb-util1 as a virtual package. The window manager would not load at all with that setup, so I had to compile libxcb-util1 from source. |
Thanks for testing this. So the question is wheter i3-gaps-wm really depends on something new in xcb-util 0.4 or if it's just a compilation thing (as i3 is in Debian, I would think it's the later). Anyway, I believe the real way of fixing this is having xcb-util 0.4 packaged in Debian. The good news is that my tweet about the issue connected me with the Debian maintainer. The issue is known and was acknowledged today in https://tracker.debian.org/pkg/xcb-util so I guess we can expect things to move. |
Any chance we'll see any more movement on this? Unfortunately I wasn't able to just follow the recommended commands from @iwalton3 - but will try to create the package from the PPA. Regardless, I think many Debian and debian-based distro users would love to be able to try Regolith! |
Hi @ryanleesipes I can't promise anything but there may be some news on this front soon. I'll update this ticket if and when we have something to announce. Would you be wanting to install Regolith/Debian via an installer or install the Regolith desktop into an existing Debian instance? |
My personal use case is an existing Debian installation. |
+1 for existing Debian install |
I would love to try it here on my existing Debian install too, is there something that I can help with? |
ps: couldn't make the i3-gaps-wm work from the package on Debian bullseye, Could you say from which source should I generate the i3-gaps-wm package to test? |
@haruanm the source for i3-gaps is here: https://github.com/Airblader/i3, which is the same thing you have. The i3-gaps that is packages with Regolith is the same as the i3-gaps repo. |
@iwalton3 Thanks for the script, it worked like a charm. Still, I got used to the Regolith 1.5 on my ubuntu install and tried to modify your script to install the latest I don't know which ubuntu distro to go with here, took bionic as it should predate buster easily. Also the
|
@kgilmer any way I can help test your progress? I did the procedure above and it works, but I'd like to help out. |
Hi @fredericve thanks for the offer! Yes very soon if you are able to, there will be something available for testing. I have sort of cleared the "proof of concept" phase of development and am now getting everything cleaned up and simplified for general use in Regolith 2.0. I will update this thread when it stabilizes to a sufficient degree that I would not be wasting your time. 😄 |
Thats good to hear, would open the possebility for a more easy setup on raspberry pi 2/3. |
I suppose the progress is in the debian/bullseye branch? Can I already start testing that one? |
Regolith 2.0 on Debian is a work in progress. It's basically functional at this point, but there are still big changes ahead before 2.0 becomes stable so I do not recommend using it for anything other than testing. But, yes testing would be fantastic! You can install directly into an existing buster or bullseye system using the new package repo: https://github.com/regolith-linux/package-repo See the readme for installation details. |
Hello, I have been using Regolith on Debian Buster for some time now, I added the ubuntu ppa and just for the regolith installation I also added official ubuntu repositories because of dependencies, which I removed after I got regolith. Yeah, really not pretty solution lmao. You might remember me from some questions I had on slack a while back. Now, I want to upgrade from Buster to Bullseye, I want newer versions of packages and debian is very anoying in this regard. Of course, apt full-upgrade wants to remove regolith and everything, so, I am asking, how stable is the debian version? Should I proceed with the upgrade and than come with a way to get regolith back or should I try the debian version now on buster or should I just wait a bit for the release? |
@sukulent have you seen the Bullseye apt src? https://github.com/regolith-linux/package-repo#debian---bullseye---amd64 You could give this a try, by means of editing/ adopting your existing apt config and then updating… |
It should be considered "pre alpha". If you are asking about what to install on a system you need to use, I would not yet use Regolith 2.0. Major changes are in store and I cannot guarantee that the package repositories will always contain valid configurations. If you install from the 2.0 debian repo and you like what is there, you may want to just pin the repo in apt so you can manage package updates. |
Thanks for the info, I'll wait for more release-ready version as this is my main computer and I would not like it to be in an unusable state. I'm looking forward to the release! |
So, I created btrfs snapshots of my filesystems and took the plunge. I changed to the 2.0 package repo's on my debian buster install and installed the regolith-desktop package. I had to deal a bit with broken dependencies because of manual package installs in the past, but in the end it seems to work fine on my system. From user perspective though the keybindings seem to have changed. The configuration file that used to come with the Most importantly, I'm missing the application launcher keybinding :-) |
Actually, I was just missing the |
Thanks for the update @fredericve . I am wondering why Expect some changes coming soon to the launcher! You may want to pin the Regolith packages to prevent unexpected surprises. If you file bugs (please file bugs if you find problems) be sure to mention you're on Debian and Regolith 2.0. thanks! |
@kgilmer yeah I had some broken packages while upgrading and had to manually do some apt and dpkg changes to fix it. The broken packages were to be expected since I installed some of them from the ubuntu ppa's and also built some myself as per instructions above. It seems I have automated btrfs snapshots when running apt upgrades so I won't pin anything. Maybe I'll catch a bug, maybe I won't :-) |
Interesting, I hadn't known about the btrfs snapshot feature, that does sound useful. Yes, most Regolith package dependencies are |
No, that looks correct. People could configure apt to not install recommended packages by default. Anyway, I looked back at my bash history just now and looks like I ran this:
So yeah, entirely my own error, don't read into it :-D |
It would be nice to have a pure Debian-based spin with nice customizations, Buster is very soon to be released next month. Also armhf and/or arm64 debian packages would be make easy to create spins for RaspberryPi based on Raspbian and Armbian for SD boards.
The text was updated successfully, but these errors were encountered: