Wayland GTK Quantal
PPA description
Ubuntu's default interface as of the Quantal release includes Amazon ads: https://bugs.launchpad.net/ubuntu/+source/unity-lens-shopping/+bug/1065720
So I've stopped using Ubuntu.
Please test and let me know how it goes (possibly in bug 954352).
GTK with Wayland backend enabled, without cairo-gl dependency, for bug 954352.
There are three problems you need to apply fixes for:
1) "export LIBOVERLAY_SCROLLBAR=0" or applications will segfault when run with Wayland (bug 984914).
2) "apt-get remove libcanberra-gtk3-module" (bug 996917).
3) If using unity, also rename /usr/lib/gtk-3.0/3.0.0/menuproxies/libappmenu.so (bug 994091)
These problems only apply to running GTK+ applications as native Wayland clients, and do not affect running them normally as X clients.
To use:
echo "export LIBOVERLAY_SCROLLBAR=0" >> ~/.bashrc
sudo apt-get install weston ppa-purge
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-add-repository ppa:darxus/wayland-gtk-quantal
# This should only upgrade the gtk packages, including gir and gail:
sudo apt-get update && sudo apt-get dist-upgrade
Reboot (not actually necessary).
Setting $XDG_RUNTIME_DIR is no-longer necessary due to bug 894391 (ubuntu-desktop (which everyone has) depends on libpam-xdg-support which now properly provides $XDG_RUNTIME_DIR).
In one gnome-terminal, run:
weston
In another gnome-terminal, run:
export GDK_BACKEND=wayland
gnome-calculator &
gnome-terminal &
gedit &
baobab &
file-roller &
charmap &
gnome-sudoku &
gwibber &
transmission-gtk &
brasero &
gnome-sound-recorder &
rhythmbox &
gnome-system-monitor &
To revert all changes:
sudo ppa-purge ppa:darxus/wayland-gtk-quantal
#########################################################################
To create this PPA, I did:
(every time I run dpkg-buildpackage or debuild I start with a fresh copy of the directory instead of one I've previously built in)
sudo apt-get install build-essential fakeroot dpkg-dev
apt-get source gtk+3.0
# instead of the above, you can download the *.orig.tar.xz, *.dsc, and
# *.debian.tar.gz, and run "dpkg-source -x *.dsc"
sudo apt-get build-dep gtk+3.0
cd gtk+3.0*
# add new section to debian/changelog
# modify debian/rules
# in debian/control, add dependencies on libwayland-dev, libxkbcommon-dev
dpkg-buildpackage -rfakeroot -b > ../build.out 2>&1 # 7:31.41elapsed
# upsgream gtk stuff will fail here, unclearly: https://bugzilla.gnome.org/show_bug.cgi?id=682709
# you need to add the stuff above "FAIL: abicheck.sh" in your build. out) to
# gdk/gdk.symbols
# and you need to do this by adding it via a patch in debian/patches/
# and then add that patch to the end of debian/patches/series
dpkg-buildpackage -rfakeroot -b
# now the debian packaging will fail to build due to additional symbols
cp -a debian/libgtk-3-0/DEBIAN/symbols debian/libgtk-3-0.symbols
dpkg-buildpackage -rfakeroot -b # one last time, just verifying it builds, 11:07.93elapsed
debuild -S # build the source package, 0:20.27elapsed
dput ppa:darxus/wayland-gtk-quantal ../*source.changes # upload to ppa
You'll probably want to have a launchpad account created and a gpg key uploaded which matches the email address you use in the changelog, and have that private key loaded on the machine you're doing the building on so it can automatically sign stuff so you can upload it.
A debdiff showing all the changes from the Ubuntu gtk package: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/954352/+attachment/3277191/+files/gtk%2B3.0_3.5.12-0ubuntu3.dsc-gtk%2B3.0_3.5.12-0ubuntu3%2Bwayland0.dsc.debdiff
#########################################################################
To update the ppa using a debdiff:
sudo apt-get update
apt-get source gtk+3.0
cd gtk+3.0*
patch -p1 < ~/gtk7/gtk+3.0_3.5.18-0ubuntu3.dsc-gtk+3.0_3.5.18-0ubuntu3+wayland1.dsc.debdiff
# changelog fails
dch -i # to edit changelog
rm debian/changelog.rej
debuild -S # build the source package, 0:27.61elapsed
# verify debian/control is patched, and debian/changelog has "quantal"
# not "quantal-proposed" as its release
dput ppa:darxus/wayland-gtk-quantal ../*source.changes # upload to ppa
cd ..
debdiff *.dsc > gtk.debdiff
#########################################################################
The old PPA for Precise: https://launchpad.net/~darxus/+archive/wayland-gtk
#########################################################################
Automating this build is held up by bug 1061083.
#########################################################################
Related PPA, daily builds of Wayland and Weston: https://launchpad.net/~darxus/+archive/wayland-daily
Adding this PPA to your system
You can update your system with unsupported packages from this untrusted PPA by adding ppa:darxus/wayland-gtk-quantal to your system's Software Sources. (Read about installing)
sudo add-apt-repository ppa:darxus/wayland-gtk-quantal sudo apt update
For questions and bugs with software in this PPA please contact Darxus.
PPA statistics
- Activity
- 0 updates added during the past month.
Overview of published packages
1 → 1 of 1 result | First • Previous • Next • Last |
Package | Version | Uploaded by |
---|---|---|
gtk+3.0 | 3.6.0-0ubuntu3+wayland0 | Darxus () |
1 → 1 of 1 result | First • Previous • Next • Last |