GTK Ubuntu Precise packaging success

Rune Kjær Svendsen runesvend at gmail.com
Wed Apr 18 13:38:01 PDT 2012


Pretty cool Darxus! Works as well on a Precise live CD (USB stick). I only
had to replace the second "apt-get upgrade" with "apt-get dist-upgrade".
Then I went to a VT and restarted lightdm with:
sudo service lightdm restart
and ran:
unity --reset
on the same VT

Back at VT 7 unity had restarted and weston ran fine (got some errors like
"Internal error:   Could not resolve keysym SunProps/SunFront/SunOpen"
though). The programs you mentioned all ran fine initially, but it all went
downhill when I tried running weston from a VT to get it in full screen
mode (yeah yeah, total hubris, I know). Now some programs start, but crash
when I mouse over them, and the more complex programs (like... anything but
calculator) don't start at all.

Would there be a way to get weston to run from a VT? That is, in full
screen mode?

/runeks

On Wed, Apr 18, 2012 at 3:07 PM, <darxus at chaosreigns.com> wrote:

> On 04/18, darxus at chaosreigns.com wrote:
> > When I tried using the Ubuntu GTK+ 3.4.1 source and only
> > applying the patches to default to X11 output before Wayland
> > (https://bugzilla.gnome.org/show_bug.cgi?id=674102) and remove the
> > cairo-gl dependency (https://bugzilla.gnome.org/show_bug.cgi?id=672361),
> > all applications segfault when I attempt to run them through Wayland.
>
> > That PPA is here: https://launchpad.net/~darxus/+archive/wayland-gtk<https://launchpad.net/%7Edarxus/+archive/wayland-gtk>
>
> It turns out this one works fine, after you put
> "export LIBOVERLAY_SCROLLBAR=0" in your ~/.bashrc .
> Thanks to seb128.
>
> These packages should be quite clean, since they're just the Ubuntu
> packages plus two patch sets (default to X before Wayland, remove cairo-gl
> dependency) and adding the two build flags to enable the Wayland backend
> (without disabling the X backend), both pulled from GTK git master.
> They're also not showing the graphical glitching I was getting with the
> packages based on GTK git master.
>
> Bonus, GTK themes are working now, so GTK applications are looking much
> nicer in Wayland.
>
>
> Keep in mind it's entirely possible this will break stuff.  But using it
> works something like this:
>
>
> Install Ubuntu Precise.
>
> echo "export LIBOVERLAY_SCROLLBAR=0" >> ~/.bashrc
> sudo apt-get install ppa-purge
> sudo apt-get update && sudo apt-get upgrade
> sudo apt-add-repository ppa:darxus/wayland-gtk
> sudo apt-get update && sudo apt-get upgrade # should only upgrade gtk
> packages
>
> Reboot.
>
> In one gnome-terminal, run:
>
> export XDG_RUNTIME_DIR=/tmp # Put in ~/.bashrc?
> weston
>
> In another gnome-terminal, run:
>
> export XDG_RUNTIME_DIR=/tmp
> export GDK_BACKEND=wayland
> gnome-calculator &
> gnome-terminal &
> file-roller &
> charmap &
> gnome-sudoku &
> gwibber &
> transmission-gtk &
> brasero &
> gnome-sound-recorder &
> baobab &
> gedit &
> rhythmbox &
> gnome-system-monitor &
>
>
> To revert all changes:
>
> sudo ppa-purge ppa:darxus/wayland-gtk # Nice 'n tidy.
>
>
> Please do let me know what GTK applications you find do and don't work, so
> I can update http://www.chaosreigns.com/wayland/works/
>
> And, of course, let me know how the packages work.
>
>
> I have it on good authority that this stuff will never make it into Ubuntu
> Precise, not even as an SRU (Stable Release Update).  But I can't imagine
> why it wouldn't make the October Ubuntu release.
>
> --
> "Begin at the beginning and go on till you come to the end; then stop."
> - Lewis Carrol, Alice in Wonderland
> http://www.ChaosReigns.com
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120418/f52b577a/attachment.html>


More information about the wayland-devel mailing list