From b78fcd179455eba81cd8e970d3ab8bd2c0f099d6 Mon Sep 17 00:00:00 2001 From: Mighty Date: Fri, 19 Nov 2021 18:59:30 +0530 Subject: [PATCH] samsung-espresso3g: use minimal .ini file for phosh (MR 2651) --- .../device-samsung-espresso3g/APKBUILD | 6 ++-- .../device-samsung-espresso3g/phoc.ini | 29 ------------------- .../device-samsung-espresso3g/rootston.ini | 4 +++ 3 files changed, 7 insertions(+), 32 deletions(-) delete mode 100644 device/community/device-samsung-espresso3g/phoc.ini create mode 100644 device/community/device-samsung-espresso3g/rootston.ini diff --git a/device/community/device-samsung-espresso3g/APKBUILD b/device/community/device-samsung-espresso3g/APKBUILD index ab4a73664..05eeef2ff 100644 --- a/device/community/device-samsung-espresso3g/APKBUILD +++ b/device/community/device-samsung-espresso3g/APKBUILD @@ -11,7 +11,7 @@ arch="armv7" options="!check !archcheck" depends="postmarketos-base linux-samsung-espresso3g mkbootimg" makedepends="devicepkg-dev" -source="deviceinfo phoc.ini" +source="deviceinfo rootston.ini" subpackages="$pkgname-nonfree-firmware:nonfree_firmware" build() { @@ -30,11 +30,11 @@ nonfree_firmware() { phosh() { install_if="$pkgname postmarketos-ui-phosh" - install -Dm644 "$srcdir"/phosh.ini \ + install -Dm644 "$srcdir"/rootston.ini \ "$subpkgdir"/usr/share/phosh/phoc.ini } sha512sums=" 9fa446ae99b5d22bb211cb455ef78d0567463650e0a85beb9125f4bc56531b74d1690304770afa7886f26852b81f668d36add71fa3f7b840d0650e8b5483257a deviceinfo -1754d066d34919e25cf632a0a58b4c0f7a5cea46ea7c3534175cca3c0afaffd7e3128d0191a9db44ef47ab1a4f702f287bbc6160b131d924ebd8c4450e62d39c phoc.ini +70bd4dc8c6d7a8fcd2fcf86a9b728a5eb02c4b97a730dc3cd4a6c5dafb2ddcc71082dce89495d23cd1da8404bf2688a4a3f9e7f0f2d328157d275ce4b7f49429 rootston.ini " diff --git a/device/community/device-samsung-espresso3g/phoc.ini b/device/community/device-samsung-espresso3g/phoc.ini deleted file mode 100644 index d80c83f73..000000000 --- a/device/community/device-samsung-espresso3g/phoc.ini +++ /dev/null @@ -1,29 +0,0 @@ -#[core] -#xwayland=false - -[output:LVDS-1] -scale = 0.75 - -[output:DSI-1] -scale = 2 - -[output:Virtual-1] -# For the x86 VM using QXL to get a phone like geometry -modeline = 87.25 720 776 848 976 1440 1443 1453 1493 -hsync +vsync -mode = 720x1440 -scale = 2 - -[output:X11-1] -mode = 360x720 -#rotate = 90 -scale = 1 - -[output:WL-1] -mode = 360x720 -#rotate = 90 -scale = 1 - -[output:HEADLESS-1] -mode = 720x1440 -#rotate = 90 -scale = 2 diff --git a/device/community/device-samsung-espresso3g/rootston.ini b/device/community/device-samsung-espresso3g/rootston.ini new file mode 100644 index 000000000..1410b1b6b --- /dev/null +++ b/device/community/device-samsung-espresso3g/rootston.ini @@ -0,0 +1,4 @@ +# Overwrites values set in /usr/share/phosh/phoc.ini + +[output:LVDS-1] +scale = 0.75