Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
9ae464c2
Unverified
Commit
9ae464c2
authored
5 years ago
by
Antoine Fontaine
Committed by
Alexey Minnekhanov
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/postmarketos-ui-phosh: force wayland backend for gtk programs (
!1059
)
parent
90918140
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#191712
passed
5 years ago
Stage: first
Stage: second
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/postmarketos-ui-phosh/APKBUILD
+5
-1
5 additions, 1 deletion
main/postmarketos-ui-phosh/APKBUILD
main/postmarketos-ui-phosh/gtk-app-wayland.sh
+5
-0
5 additions, 0 deletions
main/postmarketos-ui-phosh/gtk-app-wayland.sh
with
10 additions
and
1 deletion
main/postmarketos-ui-phosh/APKBUILD
+
5
−
1
View file @
9ae464c2
...
...
@@ -2,7 +2,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname
=
postmarketos-ui-phosh
pkgver
=
1
pkgrel
=
1
5
pkgrel
=
1
6
pkgdesc
=
"(Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)"
url
=
"https://puri.sm"
arch
=
"noarch"
...
...
@@ -26,6 +26,7 @@ install="$pkgname.post-install $pkgname.post-upgrade"
source
=
"60-lightdm-autologin.conf
000-gschema.override
osk.sh
gtk-app-wayland.sh
qt-tweaks.sh"
options
=
"!check"
...
...
@@ -34,6 +35,8 @@ package() {
"
$pkgdir
"
/usr/share/lightdm/lightdm.conf.d/60-autologin.conf
install
-Dm644
"
$srcdir
"
/000-gschema.override
\
"
$pkgdir
"
/usr/share/glib-2.0/schemas/000-postmarketos.gschema.override
install
-Dm755
"
$srcdir
"
/gtk-app-wayland.sh
\
"
$pkgdir
"
/etc/profile.d/gtk-app-wayland.sh
install
-Dm755
"
$srcdir
"
/osk.sh
\
"
$pkgdir
"
/usr/bin/osk-wayland
}
...
...
@@ -49,4 +52,5 @@ qt_tweaks() {
sha512sums
=
"c51a5cf93495069d71900dd1c6fbddfa3bdfb70dbab8141d1b115b6150975a12206c63517f18dc516e0366028b32e014b6d37a20e19ff73d5f0934c518d3ab39 60-lightdm-autologin.conf
d487ad8171773cf60241a917466f3da1f05a380429719c738bf6832741afef5798476374f693f60bfbdb0f3d4d3ee8c22343dc143f23eb9f1a415847c14f052c 000-gschema.override
4113ef59267e88d205ef1e1aec0ed11ccf817a25c232f2006a538b56fb466fad5025ad445d109e367ca92ee98d9b25f1f9a1a4b9bae2cb80df12a3739d62d10a osk.sh
57793bb079c76ba3bdcfca7880aa887de11fe80e7a05557b78435e57feabab70fbaeedc42da3aec6f914c35bba8e8ee9918367516eb45ee247f63f694624f179 gtk-app-wayland.sh
6e193eca3961a78d47b4656892eae34d019d9317a255a201f5ea61e3300caff04c526a27cd98d0edc072b36e3eaf3a1768f4cd27c5e2be8b19c167d535c820a6 qt-tweaks.sh"
This diff is collapsed.
Click to expand it.
main/postmarketos-ui-phosh/gtk-app-wayland.sh
0 → 100644
+
5
−
0
View file @
9ae464c2
#!/bin/sh
# Most pure GTK3 apps use wayland by default, but some,
# like Firefox, need the backend to be explicitely selected.
export
GDK_BACKEND
=
wayland
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment