@drebrez deserves much credit for this one for all the testing, bisecting and for fixing everything. Thank you very much! --- * devices which need a custom weston.ini ship it with a install_if subpackage, so it only gets installed when weston is installed. This sounds complicated, but is actually pretty clean in the APKBUILD. * postmarketos-ui-weston: has a weston.ini.default, which enables xwayland and uses fbdev as backend (because that's what most devices use!). It defaults to the weston.ini.default if there is no weston.ini (as installed by the device package). * changed spaces to tabs for consistency, general minor refactoring of device-APKBUILDs
This commit is contained in:
parent
106f5808ee
commit
fdff56f4ec
72 changed files with 281 additions and 245 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-asus-flo
|
||||
pkgver=0
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="Google Nexus 7 2013 flo"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -8,8 +8,8 @@ license="MIT"
|
|||
depends="linux-asus-flo mkbootimg firmware-asus-flo mesa mesa-egl mesa-dri-freedreno"
|
||||
makedepends=""
|
||||
install=""
|
||||
subpackages=""
|
||||
source="deviceinfo 90-android-touch-dev.rules wpa_supplicant.conf pointercal"
|
||||
subpackages="$pkgname-weston"
|
||||
source="deviceinfo 90-android-touch-dev.rules wpa_supplicant.conf pointercal weston.ini"
|
||||
|
||||
options="!check"
|
||||
|
||||
|
@ -23,7 +23,14 @@ package() {
|
|||
install -D -m644 "$srcdir"/pointercal \
|
||||
"$pkgdir"/etc/pointercal
|
||||
}
|
||||
sha512sums="df489865a244af0d776897a5b13b609afbd6d3a28ed4e4c07ccfec5620379443cb6cea01807d74ab8a1c5d96e23dd64b8028a6954eea771aedc1b111509eaa8f deviceinfo
|
||||
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
sha512sums="40b6e53d5c0ccf80588127607c877d245efeaea0276356749fdaff232e9b9880d9e00c07d7296cfd5f96703ebca9e3f88becc368dff51d819c7f6fb71832ca71 deviceinfo
|
||||
5ac89b627f52d2f1103c3329bd905cdbb906cae5bb332d52e6805d7971fbcc0faabe1fd9d2beb7c6de4e4487c05047eaa17852dbf9e114ee3c5d4b0d57d73859 90-android-touch-dev.rules
|
||||
3278921cc1617d10fdd13dfbeaf213cda0078d069e727acd8cfac10bd8ade6f373be1e22fd1e4b50ae71cd2eae09f7d6aad5de42338d9ea9f8c1a34f0b60cb69 wpa_supplicant.conf
|
||||
cf913217b41a3dde8bc2a16a5bc82013c85679de0e81db1cfc36f2409ea034fec430082ddcb207c16746453601cf8381300b049cd2fb131f1916dc7dbcc247e3 pointercal"
|
||||
cf913217b41a3dde8bc2a16a5bc82013c85679de0e81db1cfc36f2409ea034fec430082ddcb207c16746453601cf8381300b049cd2fb131f1916dc7dbcc247e3 pointercal
|
||||
df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"
|
||||
|
|
|
@ -30,6 +30,3 @@ deviceinfo_flash_offset_ramdisk="0x02000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
deviceinfo_weston_core_backend="drm-backend.so"
|
||||
|
|
3
device/device-asus-flo/weston.ini
Normal file
3
device/device-asus-flo/weston.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[core]
|
||||
xwayland=true
|
||||
backend=drm-backend.so
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-asus-grouper
|
||||
pkgver=1
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="Asus Nexus 7 2012 Wifi"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -19,5 +19,5 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="3bfd3c7cca36a5b95f3727b778fd3187cfb4d962382fb1381488eee7a2cd23d9096628582d95ec71170b1c2cc8735b6a928c11446bdc6c24e10ab5227575db43 deviceinfo
|
||||
sha512sums="a51132a14491744b01e9cb82b68fdc37e92193cea7458cfb6570035a4729ed6de97ba0d7a683a53572160c529f737592e7e8cef584d1e88cb604c1b19659a423 deviceinfo
|
||||
05f938784e8f30cdbe9923a5f3e34ce7c539060d3a621741206bc5ed02afd7cbf480b02fbe48a70968e7182f885ab9bfe57c4d1e7c6eefca54a6f7188d2849f2 90-android-touch-dev.rules"
|
||||
|
|
|
@ -26,5 +26,3 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-fairphone-fp2
|
||||
pkgver=1
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Fairphone 2"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -25,6 +25,6 @@ package() {
|
|||
"$pkgdir"/etc/wifi/bcmdhd.cal
|
||||
}
|
||||
|
||||
sha512sums="2048492ab05df7b1414dc082414e2c82c451c76b037e436fbf8df4059e95d56306c3239aee2eb0f336c7f7dd59a6b0e9ffccd7b1b0757e6f6d8f9e9aa122ba91 deviceinfo
|
||||
sha512sums="66cf4782d814e4229551787c105c8705aa56d7e2af85207cc628cff47481926c2742c6ed3981ede538186ea906a6ac6f69b4669e567da769b5313f18a5362f64 deviceinfo
|
||||
4e6c0b87872f278de5603d821a1e9dab8363db285d1d7fd56e900b33e8533eecb79b1fb6359e58e112e69e714a4f2aee06157b1d6f8d3e26274cd29c93cd659b 90-android-touch-dev.rules
|
||||
32652ef366694f34dec31f316a38aca96700e3a5a3eac1f8d192e3c5de7b91e480b1c0fcd8e7c80a51692dc3737020ebbb2e5d3779436e82fb18822089c63055 bcmdhd.cal"
|
||||
|
|
|
@ -33,4 +33,3 @@ deviceinfo_flash_pagesize="2048"
|
|||
|
||||
# Weston red screen workaround (see issue #54)
|
||||
deviceinfo_weston_pixman_type="2"
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-htc-ace
|
||||
pkgver=1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="HTC Desire HD"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -25,6 +25,6 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="bd62f41697fa755c6f0bedb56abb80afb4c955d58e64763102dc3853626b9d78a753f2f6aaa0e09313785bdce83f21d5fcba112a947aceee14c28647adfcfb0c deviceinfo
|
||||
sha512sums="9fd6a7fd247d02b99470e72be531f17c6304896598a4f8bd59d53bf38c71a8544a38fa2d83c4d0ca372f5b094714c77ebfc67af48985387afa8295467337a6b1 deviceinfo
|
||||
3ce2d134aa59677e25a160b5985c552fbf048b237169bbeb85e2b8824f734627064b51c097036db10eee0254064d45d804d17372dffcd1ba246938968fe1e225 initfs-hook.sh
|
||||
ab8fb357bb45ba44723f1ecb01a10db26f8f74b605499673e1ba90c69a9b11a1555983ce90235e3b636d75461c81c81eea0f8318ded06b72dad17f924d8b9901 90-android-touch-dev.rules"
|
||||
|
|
|
@ -29,5 +29,3 @@ deviceinfo_flash_offset_second="0x00f00000"
|
|||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_kernel_cmdline="no_console_suspend=1 androidboot.selinux=permissive"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-htc-bravo
|
||||
pkgver=1
|
||||
pkgrel=7
|
||||
pkgrel=8
|
||||
pkgdesc="HTC Desire"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -28,7 +28,7 @@ package() {
|
|||
"$pkgdir"/etc/pointercal
|
||||
}
|
||||
|
||||
sha512sums="e2895d33c6594162b84d82035c478cc56ef0d46d16d996be6de69c214718f2bc51b0cbf47390d262eda2bdc36acfc7dae31b7d42263a7473561434086147c9ce deviceinfo
|
||||
sha512sums="5e506a4e40db87eca982add78ed1674ead63efa8c54aca3b64c713ec54881237c3b75b81a7c88572d003bf328033af43a381f7912656a5acd6e9c508c3bf9c58 deviceinfo
|
||||
3ce2d134aa59677e25a160b5985c552fbf048b237169bbeb85e2b8824f734627064b51c097036db10eee0254064d45d804d17372dffcd1ba246938968fe1e225 initfs-hook.sh
|
||||
f0f69ab3b5b3fed11ec5049f37c71c4e9dcf87dc1f238199a3917dd61957d46783a8798d63d400cc5d3983987e750e3fec6d7117561ad5005f28131ae4821d66 90-android-touch-dev.rules
|
||||
d3de411b31de4bf4336dfac530e6af3392620ef6276ad143ebe0e417d543bfc7f5c9fcab8dab9342798e2c03281275c97e25bd01e97c350a2596f52795a37cef pointercal"
|
||||
|
|
|
@ -29,6 +29,3 @@ deviceinfo_flash_offset_second="0x00f00000"
|
|||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_kernel_cmdline=""
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-huawei-angler
|
||||
pkgver=1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Huawei Nexus 6P"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -29,6 +29,6 @@ package() {
|
|||
"$pkgdir"/etc/wifi/bcmdhd.cal
|
||||
}
|
||||
|
||||
sha512sums="255a6f15a30f41e3db02be591cf41e62f7ac80c1b4dae6ecc174b4f81968a54ffeec8088ded5d44ce36d8a21b4013c79090bed6ed7e115b39ada20975649212b deviceinfo
|
||||
sha512sums="449979be4b264d4e3cde514af92fe4e0fb4b2f0eebb97686d484ba2ae2531c2c2cb565d87c9e756ebb0a9d0022c2382341b4e5e0d72cf4ec3bd2be79fee61964 deviceinfo
|
||||
262f9f3e28cbb28d236cf6edce4919766baabb18e5b0cf35d672d306efeaf12fd66ffba57e6d9bef0eee90203dc98f95aab17145e4c12383055afb58b922ae58 90-android-touch-dev.rules
|
||||
61fe1f91d7b0b570b77fcca76503373cbac2515ca3dcc2f2543b910dfaeb1e935a11975f824f6a72001df4e63329356a6aff2d016e9b4f5d8f7b739fee065c4e bcmdhd.cal"
|
||||
|
|
|
@ -29,5 +29,3 @@ deviceinfo_flash_offset_second="0x00000000"
|
|||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_kernel_cmdline="androidboot.hardware=angler androidboot.console=ttyHSL0 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 boot_cpus=0-3"
|
||||
deviceinfo_flash_pagesize="4096"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-huawei-y530
|
||||
pkgver=1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Huawei Ascend Y530"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -22,5 +22,5 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-touchscreen-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="842703355fbdff084800fff8225a3ad59891e7a687f951c0e93ce3d6ae499af430ed0ad18b5a523fa1e6bc51ad8de2f7b28fdead9b4acbbda65700e2e259286e deviceinfo
|
||||
sha512sums="aec931f402b9825cbf342b09526ca9423b73d97b4f6199ed9ab835009c1233723631f5bf57258d457444f71b77f94bd64403f613904614a0d1b03e9f702ff14b deviceinfo
|
||||
b2ebcd94e54b474d5a0d03f25af0d152583cddbb8ae8a70b72d65e96c9114a11fd535ffc964b23a0852fd541198c940fe6e867dafb6e6a8a12cb6fa5d1538d45 90-touchscreen-dev.rules"
|
||||
|
|
|
@ -30,6 +30,3 @@ deviceinfo_flash_offset_ramdisk="0x02000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-lg-d285
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="LG L65"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -25,6 +25,6 @@ package() {
|
|||
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
||||
}
|
||||
|
||||
sha512sums="df7d4622d43c5ddd25754a3278dd53604dff30e622d0edb7acd430676dec2dc1a95611c1b14901d266f11b0930e641d96855cd22eef0897974463497aa66bd6f deviceinfo
|
||||
sha512sums="86ec02c69f9c036caabb1db31c2bcd988a6fc7eacbe62b4c5db41608a68feb43f6841bed30f2f60a1fccc3f7878f61bb5fa8d637b3e50f03f36c5aa1c95e52bb deviceinfo
|
||||
78224ef3078dd8ee6b15de7a72cc3fe05ec4cb8eb503e11aa06e83009da8a8c104562463ac747d00ac9854c18b16fa557df01f377f4f9af5d98429906fdd016f initfs-hook.sh
|
||||
568d407c3e96b45d740af8617f0e389d36a7091dceccae8f77288fdc45fb7a5ed418c28f31d7fe5a51d92337a40b2dd741b1b18ad02e3fbae91f9a2035d62c95 90-android-touch-dev.rules"
|
||||
|
|
|
@ -29,5 +29,3 @@ deviceinfo_flash_pagesize="2048"
|
|||
|
||||
# Weston red screen workaround (see issue #54)
|
||||
deviceinfo_weston_pixman_type="2"
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-lg-d855
|
||||
pkgver=1
|
||||
pkgrel=9
|
||||
pkgrel=10
|
||||
pkgdesc="LG G3 International"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -19,5 +19,5 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="44f8fc5c4ed818b4358ac6fcd91f40684cb0f2fc7531e8d99d1f81e74d6ebaef787128872258b367189e6fd5ec367fb50de931025d9bbc095478797b83e7edac deviceinfo
|
||||
sha512sums="5b91503355c9642b9c60f88ded18a72a5f7dc9013209baa4ff2c33dd59a1f72d3c30c2fc01edca464546806f38e0900a9c2c10f7c49d89f092af1715f2590e57 deviceinfo
|
||||
ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android-touch-dev.rules"
|
||||
|
|
|
@ -28,5 +28,3 @@ deviceinfo_flash_pagesize="2048"
|
|||
|
||||
# Weston red screen workaround (see issue #54)
|
||||
deviceinfo_weston_pixman_type="2"
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-lg-dory
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="LG G Watch"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -19,5 +19,5 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-touchscreen-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="68eedb9699db7e4abbcfa010271cac6b9b1b32bde170a7c3cfd598cfe51dc2c96837986175ddfb9c096521ca406f7b5c911afbafc41fb820c2d7333f34959b20 deviceinfo
|
||||
sha512sums="65c481d06c6ed5d9be8e88871b538393fd0c539263370b23dc0b8f7868ebfe5867aae7edea3ffdc9b20d68b48ff20489342788f1482341d64bd386e5849e5396 deviceinfo
|
||||
f52a0bfab7e0067c0837662b5297e6c6d3433a1fc1cbdfaf3000227452d88980b99ac196541fda3bd57fd789580cb4ef96299b24e1bdb277f21f42418fcf17fa 90-touchscreen-dev.rules"
|
||||
|
|
|
@ -27,5 +27,3 @@ deviceinfo_flash_offset_ramdisk="0x02000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-lg-hammerhead
|
||||
pkgver=1
|
||||
pkgrel=12
|
||||
pkgrel=13
|
||||
pkgdesc="Google Nexus 5"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -15,24 +15,32 @@ source="
|
|||
udev-v4l-hack.sh
|
||||
profile.sh
|
||||
bcmdhd.cal
|
||||
weston.ini
|
||||
"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/deviceinfo \
|
||||
install -Dm644 "$srcdir"/deviceinfo \
|
||||
"$pkgdir"/etc/deviceinfo
|
||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
install -D -m644 "$srcdir"/profile.sh \
|
||||
install -Dm644 "$srcdir"/profile.sh \
|
||||
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
||||
install -D -m644 "$srcdir"/udev-v4l-hack.sh \
|
||||
install -Dm644 "$srcdir"/udev-v4l-hack.sh \
|
||||
"$pkgdir"/etc/profile.d/00-udev-v4l-hack.sh
|
||||
install -D -m644 "$srcdir"/bcmdhd.cal \
|
||||
install -Dm644 "$srcdir"/bcmdhd.cal \
|
||||
"$pkgdir"/etc/wifi/bcmdhd.cal
|
||||
}
|
||||
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="e954e4ad792932bb23acee1a0f864067d6bf5d50372fc8fd99e3faaf5bda1d57a4f29978649d106100cd80cdfc8a1fa496b396d6fa461e08769a75c23f8449af deviceinfo
|
||||
ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android-touch-dev.rules
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh
|
||||
d04013c17caf77a87ebea167dbe48f7efa9c9d3123c5743d359f3ea8ccc6b268fa021535a4bf8291eb4a352f0c92f6eb527da0db340421f53bc1cc439a453306 profile.sh
|
||||
32652ef366694f34dec31f316a38aca96700e3a5a3eac1f8d192e3c5de7b91e480b1c0fcd8e7c80a51692dc3737020ebbb2e5d3779436e82fb18822089c63055 bcmdhd.cal"
|
||||
32652ef366694f34dec31f316a38aca96700e3a5a3eac1f8d192e3c5de7b91e480b1c0fcd8e7c80a51692dc3737020ebbb2e5d3779436e82fb18822089c63055 bcmdhd.cal
|
||||
4f321242005b4da012322a8e9bce14a3734281d6ab410f60e7c9c28a6df905876ccce65c3b914233f351118718ccd81b9be41724ee2099ca36d40b4cfff46b93 weston.ini"
|
||||
|
|
9
device/device-lg-hammerhead/weston.ini
Normal file
9
device/device-lg-hammerhead/weston.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
# XWayland seems to be broken for this device.
|
||||
# NOTE: This information might be outdated! simply delete /etc/xdg/weston/weston.ini
|
||||
# after installation to check if it is still broken, and please report if it
|
||||
# isn't broken anymore (or even better: make a pull request, that removes this
|
||||
# config file).
|
||||
|
||||
[core]
|
||||
xwayland=false
|
||||
backend=fbdev-backend.so
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-lg-lenok
|
||||
pkgver=1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="LG G Watch R"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -23,7 +23,7 @@ package() {
|
|||
"$pkgdir"/etc/profile.d/fb_fix.sh
|
||||
}
|
||||
|
||||
sha512sums="9dba843fba4f942587e858631939c6a08f30c23a08e29028a8739d5ac0a8c5e67e6df18758c3f2e75f48eab9181300438ec604ce259b5d7342ce6a1d0a5e2a66 deviceinfo
|
||||
sha512sums="83374f8e27b15f2ae2247e0e14ea551650ab5f26f0e89c91ed14f201e61818eb9ec8ef7382352ae3288e7afaaa14bb0f9fba8c85e426260881097f053ee362dc deviceinfo
|
||||
d29105805adcd79d4f73c2f2c4483a2c627dc7b70acb77f43d085742ef930407c9b1423f7020c34f38e8a09f40cadd991b9acae23e936c90d6a4c0900250da22 initfs-hook.sh
|
||||
a36ba9017df3b4be233783096c303abafa873dcdf50f6357b82f3c5526fd161a1914dafe143377cb5982955108b987890638b51911d0dd339172554e39a82d9f 90-android-touch-dev.rules
|
||||
f623da68a750ba5dd367d131841aca182b5041292c800e0c919d25187305546e9e42b876cadadc2f56b73e0e6b718a9149a817f5d571e015f7c9467f7387aa61 fb_fix.sh"
|
||||
|
|
|
@ -25,5 +25,3 @@ deviceinfo_flash_offset_ramdisk="0x02000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-lg-mako
|
||||
pkgver=2
|
||||
pkgrel=12
|
||||
pkgrel=13
|
||||
pkgdesc="Google Nexus 4"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -8,26 +8,33 @@ license="MIT"
|
|||
depends="linux-lg-mako mkbootimg"
|
||||
makedepends=""
|
||||
install=""
|
||||
subpackages=""
|
||||
source="deviceinfo 90-android-touch-dev.rules profile.sh udev-v4l-hack.sh pointercal fb.modes"
|
||||
subpackages="$pkgname-weston"
|
||||
source="deviceinfo 90-android-touch-dev.rules profile.sh udev-v4l-hack.sh pointercal fb.modes weston.ini"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/deviceinfo \
|
||||
install -Dm644 "$srcdir"/deviceinfo \
|
||||
"$pkgdir"/etc/deviceinfo
|
||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
install -D -m644 "$srcdir"/profile.sh \
|
||||
install -Dm644 "$srcdir"/profile.sh \
|
||||
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
||||
install -D -m644 "$srcdir"/pointercal \
|
||||
install -Dm644 "$srcdir"/pointercal \
|
||||
"$pkgdir"/etc/pointercal
|
||||
install -D -m644 "$srcdir"/fb.modes \
|
||||
install -Dm644 "$srcdir"/fb.modes \
|
||||
"$pkgdir"/etc/fb.modes
|
||||
}
|
||||
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="6d1bdf9037a8b19475e315c637b65d8f6785b8b57e05d61c1c088fb57cbd6bf1be2aa0c538ed64c582f49b4e2e16b848db58ac062159a2812221a6d9c1e0b6d7 deviceinfo
|
||||
ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android-touch-dev.rules
|
||||
d04013c17caf77a87ebea167dbe48f7efa9c9d3123c5743d359f3ea8ccc6b268fa021535a4bf8291eb4a352f0c92f6eb527da0db340421f53bc1cc439a453306 profile.sh
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh
|
||||
52b1465c75c51e2dc2e351a0609220af04b939b9edf7fca844cc00bb9eeb4e71f53e34817ba094e477fc43bf15101fcfd07963c791a36be5c52f199bba6a6d9d pointercal
|
||||
217bdf692ade75d57968299e29e9379ffcfc97addf735663b3e1e7dfce049f9d13b26347b4405ac724ae5fac2946012dcc58014b23b8df357e225b6718dbc0a6 fb.modes"
|
||||
217bdf692ade75d57968299e29e9379ffcfc97addf735663b3e1e7dfce049f9d13b26347b4405ac724ae5fac2946012dcc58014b23b8df357e225b6718dbc0a6 fb.modes
|
||||
4f321242005b4da012322a8e9bce14a3734281d6ab410f60e7c9c28a6df905876ccce65c3b914233f351118718ccd81b9be41724ee2099ca36d40b4cfff46b93 weston.ini"
|
||||
|
|
9
device/device-lg-mako/weston.ini
Normal file
9
device/device-lg-mako/weston.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
# XWayland seems to be broken for this device.
|
||||
# NOTE: This information might be outdated! simply delete /etc/xdg/weston/weston.ini
|
||||
# after installation to check if it is still broken, and please report if it
|
||||
# isn't broken anymore (or even better: make a pull request, that removes this
|
||||
# config file).
|
||||
|
||||
[core]
|
||||
xwayland=false
|
||||
backend=fbdev-backend.so
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-motorola-osprey
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Motorola Moto G 3rd gen. (2015)"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -23,7 +23,7 @@ package() {
|
|||
"$pkgdir"/etc/profile.d/00-fb-workaround.sh
|
||||
}
|
||||
|
||||
sha512sums="4ccdaad16c5619218d76c4790a2a2baca8af04ac45da58b4ca399196a9f942f248312718c696fc89278703143a991a17c058cb7839f4ab200401f132146135f7 deviceinfo
|
||||
sha512sums="f4a0827de0a05549c1b610f45464a259958fbfe19465351654a58dac5aec3d40a9962f1b3b4559fbb7234446c336bd6ed4432bd418ec6e7fa9246b4b720a7201 deviceinfo
|
||||
3e9d6bf1bd45328104b91b724472ac0e39cb595fb87f84b6793527019477a73234ae37d33e99419bc5810c018402ea6e68e76c26ace112ee11efc416ac0a7398 initfs-hook.sh
|
||||
60597699b58aca14a1696329eba4ffb46d98c721d442fb024752e3301ea992ac1727d4609083a299573115288d2039c17831e7c70c2ffdd195a3c20323e6b5fb 90-android-touch-dev.rules
|
||||
857da7bfe3a44d960ca1c05f8646eedd16140fa339f3b0421353f6cdb4b42f8e5c6457522e70c2eb2f76717404c688c0d92525b9d1e99895f3febb5ae3687420 fb-workaround.sh"
|
||||
|
|
|
@ -26,5 +26,3 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-motorola-titan
|
||||
pkgver=1
|
||||
pkgrel=15
|
||||
pkgrel=16
|
||||
pkgdesc="Motorola Moto G 2014"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -8,21 +8,29 @@ license="MIT"
|
|||
depends="linux-motorola-titan mkbootimg msm-fb-refresher"
|
||||
makedepends=""
|
||||
install=""
|
||||
subpackages=""
|
||||
source="deviceinfo 90-android-touch-dev.rules profile.sh udev-v4l-hack.sh"
|
||||
subpackages="$pkgname-weston"
|
||||
source="deviceinfo 90-android-touch-dev.rules profile.sh udev-v4l-hack.sh weston.ini"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir/deviceinfo" \
|
||||
install -Dm644 "$srcdir/deviceinfo" \
|
||||
"$pkgdir/etc/deviceinfo"
|
||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
install -D -m644 "$srcdir"/profile.sh \
|
||||
install -Dm644 "$srcdir"/profile.sh \
|
||||
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
||||
install -D -m644 "$srcdir"/udev-v4l-hack.sh \
|
||||
install -Dm644 "$srcdir"/udev-v4l-hack.sh \
|
||||
"$pkgdir"/etc/profile.d/00-udev-v4l-hack.sh
|
||||
}
|
||||
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="0f975a652f6ad14fb51469d832467eec0ca8f873a827c92ee168153c256c98f0749c0f165239c6839b5854ae06b9f6e52c0f6217e3b96ed5427052facc1be30a deviceinfo
|
||||
8406968cd554393ea1e350967c80810d059de2b1d33ea1302e265780c1f0110d64cf15a68c2f374981a88906d0317315e0a71995c85fd5eaf93bb47ed427529c 90-android-touch-dev.rules
|
||||
d04013c17caf77a87ebea167dbe48f7efa9c9d3123c5743d359f3ea8ccc6b268fa021535a4bf8291eb4a352f0c92f6eb527da0db340421f53bc1cc439a453306 profile.sh
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh"
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh
|
||||
4f321242005b4da012322a8e9bce14a3734281d6ab410f60e7c9c28a6df905876ccce65c3b914233f351118718ccd81b9be41724ee2099ca36d40b4cfff46b93 weston.ini"
|
||||
|
|
9
device/device-motorola-titan/weston.ini
Normal file
9
device/device-motorola-titan/weston.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
# XWayland seems to be broken for this device.
|
||||
# NOTE: This information might be outdated! simply delete /etc/xdg/weston/weston.ini
|
||||
# after installation to check if it is still broken, and please report if it
|
||||
# isn't broken anymore (or even better: make a pull request, that removes this
|
||||
# config file).
|
||||
|
||||
[core]
|
||||
xwayland=false
|
||||
backend=fbdev-backend.so
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-nokia-rx51
|
||||
pkgver=1
|
||||
pkgrel=23
|
||||
pkgrel=24
|
||||
pkgdesc="Nokia N900"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -8,7 +8,7 @@ license="MIT"
|
|||
depends="linux-postmarketos uboot-tools linux-firmware kbd kbd-bkeymaps ofono"
|
||||
makedepends="uboot-tools kbd kbd-bkeymaps"
|
||||
install="$pkgname.post-install"
|
||||
subpackages=""
|
||||
subpackages="$pkgname-weston:weston"
|
||||
source="
|
||||
deviceinfo
|
||||
uboot-script.cmd
|
||||
|
@ -20,6 +20,7 @@ source="
|
|||
keymaps/rx51_us.map
|
||||
pointercal
|
||||
asound.state
|
||||
weston.ini
|
||||
$install
|
||||
"
|
||||
options="!check"
|
||||
|
@ -62,7 +63,13 @@ package() {
|
|||
"$pkgdir"/usr/share/bkeymaps/us/rx51_us.bmap.gz
|
||||
}
|
||||
|
||||
sha512sums="7585e3aa89fc6576c70219e15d32af5fe333e2f7379a76e702ffaa959cbcd3e86ee243094abef3cf779545eda9677d55dea4b8c0396ab70191359b35883685c4 deviceinfo
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="6309f2e0c6c08f8907fc2a0b94c4a0842fc6d927bd92acb35a068605acffecbaa7d4af31e9329e6686b592840ba7761c58856f7b8378c795771fbd84ddbfcf33 deviceinfo
|
||||
1b89309dd4fe7ee0ba37c6224a0152d6864bb1c7bc4e96918a57e01bebc4173559855ae9673887223de4a8baa3191c8ad88ec8594776a4110cdb19a7be790db4 uboot-script.cmd
|
||||
3d55e34b95791636e44a5f41754f3d0de039dbba41f7a556d43a95c9e64afcfa930046b4b96b40020b6f196096ffba93514682927e32fa4488686fdd19c6da5a backlight-enable.sh
|
||||
d303734dd49fe75a299ca723f4da52bc0cda2775683c54aa736aabf397db4ae8deb6d912d4116800cf2ba17f3a2987ab3e839652879b8ab023b4a91a55849f08 90-touchscreen-dev.rules
|
||||
|
@ -72,4 +79,5 @@ df5dcae9a32d04ba2fed8b4dbb8722f8d56d063a288dfbaeca37806bdbb8ba4de639b392859b9f24
|
|||
c9ff8b5968fe94007e1139db5ae76f3ee6c214356bff297b9672276c6adb332ba2342b6ca54cf7992d6556f3c68a13ef49ae5e61abe86154935514034170e228 rx51_us.map
|
||||
143c21f0b18a016d37cb44178e9daea09f128a90769b48353c03c3f245cb9b1f7e773b9ccee084973fc78ddd7a18c2642e54888a85bda7c7daecddc9a8c62eff pointercal
|
||||
e023df91295fe7e410e163747d17e5b92fe3c022ff076e286778b8334368f885603b8fda65671e4a7328766da7b2552ea4df1b1399df23e504a41a6655771142 asound.state
|
||||
e7749ce65de8e90b64f728f6ff695d4199cfcac31f0a7def19c46cd3cd6fba623b03202036ab99bdaec8611bfe7c787259f6f6ef7316f208a2b2fe9a7d01d22f weston.ini
|
||||
a7ce458dd3c6d2b94639b59719ee972fe8c71781c3415f74f5340a4de1c8211853a07c29001ecbca832c471c288bed54b45c37fad05e088c197edc2bd7e7ce1b device-nokia-rx51.post-install"
|
||||
|
|
|
@ -22,8 +22,3 @@ deviceinfo_swap_size_recommended="1024"
|
|||
# Splash screen
|
||||
deviceinfo_screen_width="800"
|
||||
deviceinfo_screen_height="480"
|
||||
|
||||
# Weston Config
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
deviceinfo_weston_keymap_rules="evdev"
|
||||
deviceinfo_weston_keymap_model="nokiarx51"
|
||||
|
|
7
device/device-nokia-rx51/weston.ini
Normal file
7
device/device-nokia-rx51/weston.ini
Normal file
|
@ -0,0 +1,7 @@
|
|||
[core]
|
||||
xwayland=true
|
||||
backend=fbdev-backend.so
|
||||
|
||||
[Keyboard]
|
||||
keymap_rules=evdev
|
||||
keymap_model=nokiarx51
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-oneplus-bacon
|
||||
pkgver=1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="OnePlus One"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -8,16 +8,23 @@ license="MIT"
|
|||
depends="linux-oneplus-bacon linux-firmware mkbootimg"
|
||||
makedepends=""
|
||||
install=""
|
||||
subpackages=""
|
||||
source="deviceinfo 90-android-touch-dev.rules"
|
||||
subpackages="$pkgname-weston"
|
||||
source="deviceinfo 90-android-touch-dev.rules weston.ini"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/deviceinfo \
|
||||
install -Dm644 "$srcdir"/deviceinfo \
|
||||
"$pkgdir"/etc/deviceinfo
|
||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="96fb5b0c88b54e755d4065bafe5ac220294234b846a0b90810aedd6ee2fef544c9382c8277b757b4108e6bb05dcca4f1c90c5290a77d9d6c730f3c542066ca69 deviceinfo
|
||||
65e9ee7352b1dc39d99ea411eb0ed9c56f9975230907db5add3a1b4146cdf6f227c934052dab38a1937ed67d67585f28fb7410f10a1bec9dd5e4eb69d7253515 90-android-touch-dev.rules"
|
||||
65e9ee7352b1dc39d99ea411eb0ed9c56f9975230907db5add3a1b4146cdf6f227c934052dab38a1937ed67d67585f28fb7410f10a1bec9dd5e4eb69d7253515 90-android-touch-dev.rules
|
||||
4f321242005b4da012322a8e9bce14a3734281d6ab410f60e7c9c28a6df905876ccce65c3b914233f351118718ccd81b9be41724ee2099ca36d40b4cfff46b93 weston.ini"
|
||||
|
|
9
device/device-oneplus-bacon/weston.ini
Normal file
9
device/device-oneplus-bacon/weston.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
# XWayland seems to be broken for this device.
|
||||
# NOTE: This information might be outdated! simply delete /etc/xdg/weston/weston.ini
|
||||
# after installation to check if it is still broken, and please report if it
|
||||
# isn't broken anymore (or even better: make a pull request, that removes this
|
||||
# config file).
|
||||
|
||||
[core]
|
||||
xwayland=false
|
||||
backend=fbdev-backend.so
|
|
@ -1,14 +1,14 @@
|
|||
pkgname=device-qemu-amd64
|
||||
pkgver=1
|
||||
pkgrel=6
|
||||
pkgrel=7
|
||||
pkgdesc="Simulated device in qemu with an x86 platform"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="linux-postmarketos"
|
||||
makedepends=""
|
||||
subpackages="$pkgname-mesa $pkgname-x11"
|
||||
source="deviceinfo interfaces"
|
||||
subpackages="$pkgname-mesa $pkgname-x11 $pkgname-weston"
|
||||
source="deviceinfo interfaces weston.ini"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
|
@ -30,5 +30,12 @@ x11() {
|
|||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="511fe8d2f1e4cf90d96a321568220ecf98bffd44b96339b200633a4f3c45b6b58e646c0971f82fbcd9829e4b66e62942a6ecc55ea03dd228ab76984b0ff0b92d deviceinfo
|
||||
d510ca304066840aa5e6c4fc71ded1b7e83012c93837fa39e37bdb873b3636230030d56f7aa50c93fc688f563cb4cb96c02ad333bbc45a400c1ebee1792a9dd4 interfaces"
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="7b190af151bf7b91eebb10902fc815b591b54d3fda5c917957538660baf72dd522782b5d8eaf8ce708a71130d7a8680e4834a0cd89c6c271f9a8dd76f37e5514 deviceinfo
|
||||
d510ca304066840aa5e6c4fc71ded1b7e83012c93837fa39e37bdb873b3636230030d56f7aa50c93fc688f563cb4cb96c02ad333bbc45a400c1ebee1792a9dd4 interfaces
|
||||
df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"
|
||||
|
|
|
@ -19,6 +19,3 @@ deviceinfo_kernel_cmdline="console=tty1 console=ttyS0 PMOS_NO_OUTPUT_REDIRECT"
|
|||
# Splash
|
||||
deviceinfo_screen_width="640"
|
||||
deviceinfo_screen_height="480"
|
||||
|
||||
deviceinfo_weston_core_backend="drm-backend.so"
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
3
device/device-qemu-amd64/weston.ini
Normal file
3
device/device-qemu-amd64/weston.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[core]
|
||||
xwayland=true
|
||||
backend=drm-backend.so
|
|
@ -1,13 +1,13 @@
|
|||
pkgname=device-samsung-i9003
|
||||
pkgver=1
|
||||
pkgrel=13
|
||||
pkgrel=14
|
||||
pkgdesc="Samsung Galaxy SI SLC"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="linux-samsung-i9003 libsamsung-ipc mkbootimg"
|
||||
makedepends=""
|
||||
install="$pkgname.post-install"
|
||||
install=""
|
||||
subpackages=""
|
||||
source="
|
||||
deviceinfo
|
||||
|
@ -23,6 +23,5 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="95ab784d79cf31324b50d83c5b41feadd89c7315b237f18194da1e40af55683340237fa286a5edb30c8855e2f6f5e04fca93782ccdec3c056a56acfc61396453 deviceinfo
|
||||
079336f0a62fe45e839dcaa56479736fb67125ef5adf9bf73fc513c696d5a9fe14cfc9912f4aeb989476aa23bcd1befca25f0163c827691eea7eec1c7b97f303 90-android-touch-dev.rules
|
||||
543f39af1ae7a2382ed869cbd1ee1ac598a88eb4e213cd64487c54b5c37722c6207ee6db4fa7e2ed53064259a44115c6da7bbc8c068378bb52a25e7088eeebd6 device-samsung-i9003.post-install"
|
||||
sha512sums="0d9acc4d0e382e5c49b8b88e29cccd6e8833e2c953d96d916871f0b2f0ca039b28aec8af3d9d3494f5e504b290aacb5511a53aa0e8d3bcaf9546817cc27c5a7a deviceinfo
|
||||
079336f0a62fe45e839dcaa56479736fb67125ef5adf9bf73fc513c696d5a9fe14cfc9912f4aeb989476aa23bcd1befca25f0163c827691eea7eec1c7b97f303 90-android-touch-dev.rules"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
#!/bin/sh
|
|
@ -32,6 +32,3 @@ deviceinfo_flash_pagesize=4096
|
|||
deviceinfo_flash_heimdall_partition_kernel="NORMALBOOT"
|
||||
deviceinfo_flash_heimdall_partition_initfs="RECOVERY"
|
||||
deviceinfo_flash_heimdall_partition_system="SYSTEM"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-samsung-i9070
|
||||
pkgver=1
|
||||
pkgrel=13
|
||||
pkgrel=14
|
||||
pkgdesc="Samsung Galaxy S Advance"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -28,7 +28,7 @@ package() {
|
|||
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
||||
}
|
||||
|
||||
sha512sums="a71af1256822f5ad966433bff63a4f749eeae1c166a4613987f490362dbcc3031acb6e7380f35bbd07d6a410c7728fe5b355b18e0cf122902c4b8a90e6166e4c deviceinfo
|
||||
sha512sums="4aaa8192110e8480b2f674b81f5e850cf419bfb20675443dce63d7f631dc3a0084dd7354b2cf1352349dc5127548fb6940f1c4b2bc80c44595c53b55e80242e0 deviceinfo
|
||||
098187f6ab56d2542f98f1b5fbcf493431f665a4300db05e859357366e39b02a3d508bfd94c1d1bd7c669261e7ef0d4e1aef1fdbb15541fe34f3f48a6caa247f initfs-hook.sh
|
||||
f913184639f9f367730a7c0476657133c673a07dbcbde1fc643595a1a6b99774c2e2f63955bf52cf6d6de343a60b52af8085da3aebbdf6a95b52812a3e3181ec 90-android-touch-dev.rules
|
||||
61e8becbf6fa7c1c6c42e481083f5981ae7af33a48cbc53e817d8ac2c6a8e4f67a54b32ae3b8f5f25f7b412165a849dc93a629110dc47b0d16927bf2a12eb7e1 modules-load.conf"
|
||||
|
|
|
@ -22,6 +22,3 @@ deviceinfo_dev_touchscreen="/dev/input/event2"
|
|||
# Heimdall related
|
||||
deviceinfo_flash_heimdall_partition_kernel="Kernel"
|
||||
deviceinfo_flash_heimdall_partition_initfs="Kernel2"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-samsung-i9100
|
||||
pkgver=1
|
||||
pkgrel=14
|
||||
pkgrel=15
|
||||
pkgdesc="Samsung Galaxy SII"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -23,6 +23,6 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="6ca79453a09003d959319374d0abaac28676601f075404db078cd3757e6eab231770669b9af3c7493ac328ff16657288dcef191bd5a47a5273cd56ce7bf2366e deviceinfo
|
||||
sha512sums="013dcb5105ccec74f45303e458f915c86f7a2c2bc5d9d2496a6388bbf7e944d1ec95e9f224934681bb4c1464b154b79ab16ff90f1d35c5d63927a62d6b66514c deviceinfo
|
||||
089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules
|
||||
03da52725e676bc7db371cbf4b60bff8689eca469dae96a02ca7d6c194ed9f8c4ec9d19d1ac9212eeba0b73384fd213e86f2b93da94f37e5abe4cc3339281205 device-samsung-i9100.post-install"
|
||||
|
|
|
@ -19,11 +19,7 @@ deviceinfo_screen_width="480"
|
|||
deviceinfo_screen_height="800"
|
||||
deviceinfo_dev_touchscreen="/dev/input/event2"
|
||||
|
||||
|
||||
# Heimdall related
|
||||
deviceinfo_flash_heimdall_partition_kernel="KERNEL"
|
||||
deviceinfo_flash_heimdall_partition_initfs="RECOVERY"
|
||||
deviceinfo_flash_heimdall_partition_system="FACTORYFS"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-samsung-i9305
|
||||
pkgver=1
|
||||
pkgrel=13
|
||||
pkgrel=14
|
||||
pkgdesc="Samsung Galaxy SIII LTE"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -23,6 +23,6 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="79d2ac3c0e6942074123d6b4a3a8fa1f11e816a9bfab4ddd43fb0fee639c11601e75e190c44834d876afb6ab89e0fa6dd9a0e9aaa0fdc0d991cea463f1cce8e6 deviceinfo
|
||||
sha512sums="4023bebbe3d8b7a34de7576bbd3c0dd615f8053fbb53f3c35dd0a8135602b090e993191ea964e748818a3422644feef2b3859eef57b2aaeac5894e11a80fdf2b deviceinfo
|
||||
d70a03210458c771f94db920a8d3162a03fc7727f0fbafef4c1575ebc659c937c082f5c7a4dcdd1572925b973d628c6f4cf895c3b8b2a59af8142824468fe7c4 90-android-touch-dev.rules
|
||||
03da52725e676bc7db371cbf4b60bff8689eca469dae96a02ca7d6c194ed9f8c4ec9d19d1ac9212eeba0b73384fd213e86f2b93da94f37e5abe4cc3339281205 device-samsung-i9305.post-install"
|
||||
|
|
|
@ -28,11 +28,5 @@ deviceinfo_flash_offset_second=0x00f00000
|
|||
deviceinfo_flash_offset_tags=0x00000100
|
||||
deviceinfo_flash_pagesize=2048
|
||||
|
||||
|
||||
# Heimdall related
|
||||
deviceinfo_flash_heimdall_partition_kernel="BOOT"
|
||||
#deviceinfo_flash_heimdall_partition_initfs="RECOVERY"
|
||||
#deviceinfo_flash_heimdall_partition_system="SYSTEM"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-samsung-maguro
|
||||
pkgver=2
|
||||
pkgrel=10
|
||||
pkgrel=11
|
||||
pkgdesc="Google Galaxy Nexus (GSM)"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -25,6 +25,6 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="aa0f09fe3c32dc19ff7f012c6ee5a32bdfb333e45ed78ed2074371a520fbd1d2a8d8a24a004e948082b3cc2d9374c5f86427f3b27d8dc1a69d9666966977cfc8 deviceinfo
|
||||
sha512sums="56f67205541eba307c333fbccd8510d9d972699be35bade8762028fc18f0c3c6f904eadc4fced783f042c1eeb57adc684915b8bd90f954cfb6560af662526928 deviceinfo
|
||||
27e89ef3102a89e99065ea12cd36d8ebe1c7e95f2f7082c0e7e3e280fcd2473aa197538bae18ac8995ddf3a7dd962622a56a6f0c037ad193fa9bba95bbb7ee9c bcmdhd.cal
|
||||
f8c85b0ffcee751ee30d5f1fd8ed8e8413d9599875839fbc9bcfd85f08dbf203fecbd171fc3fe4e2742c5b8243132f6110142ff41193d6ad7df29b411516e199 90-android-touch-dev.rules"
|
||||
|
|
|
@ -26,6 +26,3 @@ deviceinfo_flash_offset_ramdisk="0x01000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-samsung-n7100
|
||||
pkgver=1
|
||||
pkgrel=10
|
||||
pkgrel=11
|
||||
pkgdesc="Samsung Galaxy Note II (GSM)"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -19,5 +19,5 @@ package() {
|
|||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
sha512sums="f6dc28a228219db4c3883dfa11454529271e00794d6705e6e51369e1def5512db2b74fda52b5855f2dd10bc1c155a24cfdb2d751373edcd1cd3677e1e59eff65 deviceinfo
|
||||
sha512sums="711c4ebdd5ccde16b83504d4d2aedfaaaf00408c1a78091d972e91aaf690cc7e2c650f5bbc7d8ddff402b2cae0d9cb95a2f066da6999ffb482ceb1a1fa50887e deviceinfo
|
||||
089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules"
|
||||
|
|
|
@ -24,4 +24,3 @@ deviceinfo_flash_pagesize="2048"
|
|||
|
||||
# Heimdall related
|
||||
deviceinfo_flash_heimdall_partition_kernel="BOOT"
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-sony-amami
|
||||
pkgver=1
|
||||
pkgrel=12
|
||||
pkgrel=13
|
||||
pkgdesc="Sony Xperia Z1 Compact"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -23,7 +23,7 @@ package() {
|
|||
"$pkgdir"/etc/profile.d/00-udev-v4l-hack.sh
|
||||
}
|
||||
|
||||
sha512sums="75fbe457b65025aaa5b1c5ef9b3ecf796556c88f4c44add878c1a36400c6bbd2433238563b0cb14044a5b7ccaf0c217344f653bb9d0227cfe51fc1b55f9d5d87 deviceinfo
|
||||
sha512sums="64e3bed1ee54551e6582b5b3f2547fb0cd4d0fab8a8c1beaea4b661113f0bd8d1bb3874ac5d0fcc104806bcf1cf49695c868bec46511bb055662692232d2f3da deviceinfo
|
||||
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
|
||||
281937447a73c18e8eec195cbf485fcd513aec20b8df559c26b89fbefa5872c41865cba2440e2cc8a9cc76801bca9ab61f9562c536c6f5f10c925e3ca7f372f3 fb-workaround.sh
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh"
|
||||
|
|
|
@ -25,5 +25,3 @@ deviceinfo_flash_offset_ramdisk="0x02000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-sony-aries
|
||||
pkgver=1
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
pkgdesc="Sony Xperia Z3 Compact"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -21,6 +21,6 @@ package() {
|
|||
"$pkgdir"/etc/profile.d/fb-workaround.sh
|
||||
}
|
||||
|
||||
sha512sums="f8d6a912d39b5d30c0364b6bceb39c079e6438352c91ed5acfe3c7835115d83954633659b0264ae9752b930ddcb09b2297634448dfdd488008b85309b0ad1c50 deviceinfo
|
||||
sha512sums="c203e6b25095e8a5eab62d0d55bfa3537b0d6338ea4331d87def21cd6170f8cb8b85d9c74b2f3f2a40b5540f78158f687d0db9fea95f3d4f41ee004f5b9d3400 deviceinfo
|
||||
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
|
||||
13f36f33cfae5e759b3889bc4e308324fd9bcf1cc7b097bbbe3646f1243b3bc06e1b1594cc8578c52c304a2b5006babd978c5b3f258769892e80552457889f99 fb-workaround.sh"
|
||||
|
|
|
@ -25,5 +25,3 @@ deviceinfo_flash_offset_ramdisk="0x02000000"
|
|||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-sony-castor-windy
|
||||
pkgver=1
|
||||
pkgrel=8
|
||||
pkgrel=9
|
||||
pkgdesc="Sony Xperia Z2 Tablet WIFI"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -23,6 +23,6 @@ package() {
|
|||
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
||||
}
|
||||
sha512sums="d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
|
||||
050c5ec58629a0af80b43d5e1724875f7085fa41e61cb264ba56cf9f19526cc1dc47a8838120e5cc8a84265f9de63061b17f8e213c8a1ac8475bf928ab67a0bf deviceinfo
|
||||
a18b694fb62097935bb419e6b6d387a4b7d03f6c7014503a123b2af05d10fbd9f35161cda008e8f748386b366eb0f117470a0437d9fa02e8476fcfbb15896f46 deviceinfo
|
||||
fa0d8b7a17509f5882424e67e66f5f562705a076a12e8d9dd9363215c858d7801216520cf25373110671958b1e1589080b097170c760d18e621849b0b9090e05 90-android-touch-dev.rules
|
||||
b99a1bc0d430a261b6ab0b5ea12f2e996ab24ece6fe40ff57357697f4db976394c655a7c7a63e7c985f6356126a6b1d920eb0077817cb65ae18250f404282a68 brcmfmac4339-sdio.txt"
|
||||
|
|
|
@ -22,4 +22,3 @@ deviceinfo_flash_offset_second="0x00f00000"
|
|||
deviceinfo_flash_offset_tags="0x01e00000"
|
||||
deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_kernel_cmdline="clk_ignore_unused console=ttyMSM0,115200,n8 cma=1024m msm.vram=896m"
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-sony-yuga
|
||||
pkgver=1
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Sony Xperia Z"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -23,7 +23,7 @@ package() {
|
|||
"$pkgdir"/etc/profile.d/00-udev-v4l-hack.sh
|
||||
}
|
||||
|
||||
sha512sums="36cd49c24305e86601124c70f9bbc990866dcffa2202956a450ab4049b7a00e23c93ae6869f094a9e2a5b42ce7a1407d0f73341e0c07b2e695295cc50fefa81e deviceinfo
|
||||
sha512sums="61c2309f551ae558387deea13b30d13e3a49af36b10c981e2b498d43f9c094e6821275613b977ade22137b057248112fa71215f696977cd78a076c18d35c430f deviceinfo
|
||||
8b6034c0338ab4c7d648f47983aad6da07e427e7dba47baabf85a1b3ddeeda47c8d7fbcd547a302c9a759b2943ee30d3e82c3b368d8582833a058e4671638a9e 90-android-touch-dev.rules
|
||||
281937447a73c18e8eec195cbf485fcd513aec20b8df559c26b89fbefa5872c41865cba2440e2cc8a9cc76801bca9ab61f9562c536c6f5f10c925e3ca7f372f3 fb-workaround.sh
|
||||
4f528656c4febb18742e89552dfe7fdc824ed4ad6ad2777d20b4f55040edd93d8e3ea657baabcdbe77bd0fb4bd3d23e5e0b2dae574f0df6723b2e26216ee81e1 udev-v4l-hack.sh"
|
||||
|
|
|
@ -30,4 +30,3 @@ deviceinfo_kernel_cmdline="console=ttyHSL0,115200,n8 androidboot.hardware=qcom u
|
|||
|
||||
# Weston red screen workaround (see issue #54)
|
||||
deviceinfo_weston_pixman_type="2"
|
||||
deviceinfo_weston_core_modules="xwayland.so"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=device-t2m-flame
|
||||
pkgver=1
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc="Mozilla Flame"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -8,17 +8,24 @@ license="MIT"
|
|||
depends="linux-t2m-flame firmware-t2m-flame mkbootimg"
|
||||
makedepends=""
|
||||
install="$pkgname.post-install"
|
||||
subpackages=""
|
||||
source="deviceinfo 90-android-touch-dev.rules $install"
|
||||
subpackages="$pkgname-weston"
|
||||
source="deviceinfo 90-android-touch-dev.rules weston.ini $install"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/deviceinfo \
|
||||
install -Dm644 "$srcdir"/deviceinfo \
|
||||
"$pkgdir"/etc/deviceinfo
|
||||
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
||||
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
||||
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
||||
}
|
||||
|
||||
weston() {
|
||||
install_if="$pkgname weston"
|
||||
install -Dm644 "$srcdir"/weston.ini \
|
||||
"$subpkgdir"/etc/xdg/weston/weston.ini
|
||||
}
|
||||
|
||||
sha512sums="55be27dc159d09931ad5fee519292db21df38180e557ad913339030be41423e107e2848e7374204b19872e1a160168690c1800047556ae1b0ca5a03c396aa318 deviceinfo
|
||||
25256120a19cba6b6f9ae0cda7b2c8c84d168a6457e82afee438d50d2c28b9598bfe690301c15156d866b77cd87652d9b7cc3d9b0637f69414aae09fec159c91 90-android-touch-dev.rules
|
||||
4f321242005b4da012322a8e9bce14a3734281d6ab410f60e7c9c28a6df905876ccce65c3b914233f351118718ccd81b9be41724ee2099ca36d40b4cfff46b93 weston.ini
|
||||
0a301a723f2a6ad8285fa8c016a73b0d05ae9811a8c96cd73f6db274e85676f7b3d427ede46484665fd613b67ef42330f0b69413328c04c3f489db86c5aa9038 device-t2m-flame.post-install"
|
||||
|
|
9
device/device-t2m-flame/weston.ini
Normal file
9
device/device-t2m-flame/weston.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
# XWayland seems to be broken for this device.
|
||||
# NOTE: This information might be outdated! simply delete /etc/xdg/weston/weston.ini
|
||||
# after installation to check if it is still broken, and please report if it
|
||||
# isn't broken anymore (or even better: make a pull request, that removes this
|
||||
# config file).
|
||||
|
||||
[core]
|
||||
xwayland=false
|
||||
backend=fbdev-backend.so
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=postmarketos-ui-weston
|
||||
pkgver=4
|
||||
pkgrel=1
|
||||
pkgrel=3
|
||||
pkgdesc="(Wayland) Reference compositor (demo, not a phone interface)"
|
||||
url="https://github.com/postmarketOS"
|
||||
arch="noarch"
|
||||
|
@ -11,12 +11,15 @@ depends="weston-clients weston weston-shell-desktop weston-backend-fbdev
|
|||
makedepends=""
|
||||
install="$pkgname.post-install"
|
||||
subpackages=""
|
||||
source="start_weston.sh $install"
|
||||
source="start_weston.sh weston.ini.default $install"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
install -D -m644 "$srcdir"/start_weston.sh \
|
||||
install -Dm644 "$srcdir"/start_weston.sh \
|
||||
"$pkgdir"/etc/profile.d/start_weston.sh
|
||||
install -Dm644 "$srcdir"/weston.ini.default \
|
||||
"$pkgdir"/etc/xdg/weston/weston.ini.default
|
||||
}
|
||||
sha512sums="7e653d8188b19d29c698dd2df58d114a2304f2b6d605158d177acba225b1d60eed9c27909ce43dbaa353c85cd6b11f7aa08563907a026fda563f6601564d8b9a start_weston.sh
|
||||
23958764613a14a49b300d7f4c6044fce75d8bdf23c2c5a6e9ffe7228a8fa2d0b2c8188dc0021f56f5c1bc6599d3691ede4e5a5c2a228a09bd7a804ae935bf29 postmarketos-ui-weston.post-install"
|
||||
sha512sums="4de1a34464db86dd25b306efb676c292152df093daa7850af3cb1b9fe198c01f9ab6a02d171b61b43af4d60009991182f18b9727bad3fd3d763df3797cbdb716 start_weston.sh
|
||||
789ef8e8ddf46e751fb394bd95f83f0cf74b49c885a39b4f4a37452175e300d66b56242a5e1646746a158f58545f62d9050c4cb9007aeefd98f68ad1cccdd5fa weston.ini.default
|
||||
794827b6878cdca8231fc106ba649a3e9aa9f74df0ef7e5e3598462b3c93c67cb3b0af95cadb92a62471730a518024ae6be95c0fc59af6b929482148f16c2184 postmarketos-ui-weston.post-install"
|
||||
|
|
|
@ -2,42 +2,6 @@
|
|||
|
||||
. /etc/deviceinfo
|
||||
|
||||
# This section generates weston.ini with options from /etc/deviceinfo (if present)
|
||||
|
||||
weston_config="/etc/xdg/weston/weston.ini"
|
||||
|
||||
mkdir -p /etc/xdg/weston
|
||||
|
||||
# If weston.ini exists, no modifications to it will be made
|
||||
if [ ! -f $weston_config ]; then
|
||||
|
||||
### [Core]
|
||||
echo "[core]" >> $weston_config
|
||||
# modules
|
||||
# Note: Default to loading NO modules if none specified
|
||||
if [ -n "$deviceinfo_weston_core_modules" ]; then
|
||||
echo "modules=$deviceinfo_weston_core_modules" >> $weston_config
|
||||
fi
|
||||
# backend
|
||||
if [ -n "$deviceinfo_weston_core_backend" ]; then
|
||||
echo "backend=$deviceinfo_weston_core_backend" >> $weston_config
|
||||
else
|
||||
# Default backend for PMOS, if none specified
|
||||
echo "backend=fbdev-backend.so" >> $weston_config
|
||||
fi
|
||||
|
||||
### [Keyboard]
|
||||
echo "[keyboard]" >> $weston_config
|
||||
# keymap_rules
|
||||
if [ -n "$deviceinfo_weston_keymap_rules" ]; then
|
||||
echo "keymap_rules=$deviceinfo_weston_keymap_rules" >> $weston_config
|
||||
fi
|
||||
# keymap_model
|
||||
if [ -n "$deviceinfo_weston_keymap_model" ]; then
|
||||
echo "keymap_model=$deviceinfo_weston_keymap_model" >> $weston_config
|
||||
fi
|
||||
fi
|
||||
|
||||
# Autologin on tty1, let busybox autoconfigure 2-6
|
||||
autologin="$(getent passwd 1000 | cut -d ":" -f 1)"
|
||||
for i in 1 2 3 4 5 6; do
|
||||
|
|
|
@ -13,8 +13,15 @@ if test -z "${XDG_RUNTIME_DIR}"; then
|
|||
# Weston autostart on tty1 (Autologin on tty1 is enabled in
|
||||
# /etc/inittab by postmarketos-base post-install.hook)
|
||||
if [ "$(id -u)" = "1000" ] && [ $(tty) = "/dev/tty1" ]; then
|
||||
|
||||
# Find right weston.ini
|
||||
cfg="/etc/xdg/weston/weston.ini"
|
||||
[ -e "$cfg" ] || cfg="$cfg.default"
|
||||
WESTON_OPTS="-c $cfg"
|
||||
|
||||
# Weston "red screen bug" workaround
|
||||
if test -n "${deviceinfo_weston_pixman_type}"; then
|
||||
WESTON_OPTS=" --pixman-type=${deviceinfo_weston_pixman_type}"
|
||||
WESTON_OPTS="${WESTON_OPTS} --pixman-type=${deviceinfo_weston_pixman_type}"
|
||||
fi
|
||||
|
||||
# #633: Weston doesn't support autostarting applications (yet), so
|
||||
|
|
7
main/postmarketos-ui-weston/weston.ini.default
Normal file
7
main/postmarketos-ui-weston/weston.ini.default
Normal file
|
@ -0,0 +1,7 @@
|
|||
# In postmarketOS, this file gets used, when no /etc/xdg/weston/weston.ini exists.
|
||||
# That is, so we can install a device specific config file (which may disable
|
||||
# xwayland for example) from the device specific package to /etc/xdg/weston/weston.ini.
|
||||
|
||||
[core]
|
||||
xwayland=true
|
||||
backend=fbdev-backend.so
|
Loading…
Reference in a new issue