drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

Gnome on Arch? #39

Closed AsavarTzeth closed 10 years ago

AsavarTzeth commented 10 years ago

I just want to nicely ask if there are any current plans to try and get Gnome working on arch chroots?

I have read the comment fields in your source files and understand there are issues. At the same time the fields refer to version 2.8, which is a bit old now. Are there still issues? Is there anything a guy with standard shell scripting knowledge can do to help?

drinkcat commented 10 years ago

Indeed I haven't tested it in a very long time. There are issues on ARM related to hardware acceleration that I did not manage to fix: ARM provides no OpenGL acceleration at this stage, and "normal" Gnome requires it. I think there is a fallback though.

You can remove the if block in targets/gnome, and see how it works. Then fix the package definitions in the install line if required (i.e. arch=arch_package_name,ubuntu_debian_package_name).

Then in chroot-bin both gnome-session-wrapper and startgnome may need to be fixed. I don't know how (I would already have fixed it if I did ,-)).

In short, feel free to try, and let me know of your success/failure (in the end, a Pull Request would be greatly appreciated, but even step by step instructions would be very helpful).

AsavarTzeth commented 10 years ago

I just want to express that I know almost nothing about using git. It is something I am working on learning though (my scripting management is a mess without source control).

That being said, if I am to help (and make a pull request) do I first need to fork your project (on github)?

Also ARM related issues do not apply to me since I would never buy an ARM-based chromebook. Sure it is mainly for work and I almost only use open source apps, but it is nice to know apps generally will be available on my architecture. Also Steam on Chromebooks works amazingly well when you need a break :)

If ARM remains the issue, I could probably just put in a 'uname -m' if statement and state that your architecture does not support it instead of not working at all.

Gnome has quickly become the default choice for me so I will do my best to fix this. At the moment I am using it in a standard Ubuntu chroot and it works well. The issues I have is the need to get the Gnome ppa to get the latest stuff (3.12) and then risk breaking things when I replace Ubuntu forks of Gnome etc...

drinkcat commented 10 years ago

Yes you would have to fork it, but as I said, instructions, or pasting working code to a gist or something would already help a lot.

And don't worry about ARM, I'd really appreciate if you can get it working on x86 already.

Let me know of your progress. Thanks!

dhead666 commented 10 years ago

@drinkcat

Before I gave away my Samasung Chromebook I manually installed the Gnome desktop packages in the XFCE4 target and it did worked but was horribly slow due to no OpenGL support, I've got no idea how it worked as on native ALARM installation the Gnome shell failed to load with the xf86-video-armsoc-chromium driver.

AsavarTzeth commented 10 years ago

Quick question. Under "### Append to prepare.sh:" what is the difference with the packages listen after "arch=", like nautilus and unzip?

drinkcat commented 10 years ago

@dhead666 : Ok thanks. Gnome might need to be disabled until we can get acceleration. Or if we can get a decent fallback.

@AsavarTzeth : A package spec looks like this: arch=arch_package_name,ubuntu_debian_package_name. If packages have the same name under arch and debian/ubuntu, then you can just specify the package name. If they do not, you can use the syntax above. You can also use arch=arch_package, if a package is needed for Arch only, or arch=,debian_package if it is needed on Ubuntu/Debian only.

AsavarTzeth commented 10 years ago

Thank you. So to summarize things, "arch=" basically means: enter distro specific packages; using correct syntax of course. Den 18 jun 2014 14:28 skrev "drinkcat" notifications@github.com:

@dhead666 https://github.com/dhead666 : Ok thanks. Gnome might need to be disabled until we can get acceleration. Or if we can get a decent fallback.

@AsavarTzeth https://github.com/AsavarTzeth : A package spec looks like this: arch=arch_package_name,ubuntu_debian_package_name. If packages have the same name under arch and debian/ubuntu, then you can just specify the package name. If they do not, you can use the syntax above. You can also use arch=arch_package, if a package is needed for Arch only, or arch=,debian_package if it is needed on Ubuntu/Debian only.

— Reply to this email directly or view it on GitHub https://github.com/drinkcat/chroagh/issues/39#issuecomment-46428883.

drinkcat commented 10 years ago

Working on both ARM and x86. Barely useable on the Samsung ARM though: very very slow.

AsavarTzeth commented 10 years ago

Oh so someone managed to get it running? I did try it and it should have worked, but for some reason my fixes broke the installer.

I will be sure to help test and fix it now. Den 12 jul 2014 12:59 skrev "drinkcat" notifications@github.com:

Working on both ARM and x86. Barely useable on the Samsung ARM though: very very slow.

— Reply to this email directly or view it on GitHub https://github.com/drinkcat/chroagh/issues/39#issuecomment-48808445.

drinkcat commented 10 years ago

Oh so someone managed to get it running? I did try it and it should have worked, but for some reason my fixes broke the installer.

Yeah, it just needed a small fix in startgnome.

I will be sure to help test and fix it now.

Sure, give it a go! Thanks.