From a7f7a7f86b273cafc7f9ad4480ba4fdfcab614ab Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sun, 3 Oct 2021 17:58:12 +0200 Subject: [PATCH] Version Bump --- .../pinephone-meta/files/00-journal-size.conf | 2 + .../pinephone-meta/files/01-phoc-scaling | 8 + .../files/10-pinephone-brightness.rules | 1 + .../pinephone-meta/files/10-proximity.rules | 5 + .../files/20-pinephone-led.rules | 11 ++ .../pinephone-meta/files/90-pinephone.conf | 4 + .../files/90-usb-gadget-managed.rules | 3 + .../files/90_manjaro.gschema.override | 47 +++++ .../files/99-automount-sd.rules | 3 + .../files/UserFeedbackConsole.desktop | 103 +++++++++++ .../files/appimagelauncher.desktop | 13 ++ .../files/appimagelaunchersettings.desktop | 14 ++ .../pinephone-meta/files/autoconfig.js | 2 + .../files/avahi-discover.desktop | 87 +++++++++ .../pinephone-meta/files/bssh.desktop | 80 ++++++++ .../pinephone-meta/files/bvnc.desktop | 80 ++++++++ .../files/ca.desrt.dconf-editor.desktop | 8 + .../files/dconf-profile-manjaro | 2 + .../pinephone-meta/files/gsk-renderer-gl.sh | 2 + .../pinephone-meta/files/gtk3-settings.ini | 2 + .../files/ignore-power-key.conf | 2 + .../pinephone-meta/files/lstopo.desktop | 11 ++ .../pinephone-meta/files/machine-info | 1 + .../pinephone-meta/files/manjaro-tweaks.sh | 19 ++ .../pinephone-meta/files/manjaro.cfg | 83 +++++++++ .../pinephone-meta/files/manjaro.json | 174 ++++++++++++++++++ .../pinephone-meta/files/media-session.conf | 115 ++++++++++++ .../files/org.freedesktop.ModemManager1.pkla | 9 + .../files/org.gnome.Extensions.desktop | 129 +++++++++++++ .../files/org.gnome.Terminal.desktop | 27 +++ .../files/org.gtk.Demo4.desktop | 10 + .../files/org.gtk.IconBrowser4.desktop | 10 + .../files/org.gtk.PrintEditor4.desktop | 10 + .../files/org.gtk.WidgetFactory4.desktop | 10 + .../files/packagekit-rm-lock.service | 10 + .../pinephone-meta/files/phosh-renice.service | 12 ++ .../pinephone-meta/files/phosh_renice.sh | 8 + .../files/pinephone-camera-setup.service | 9 + .../files/pinephone-camera-setup.sh | 40 ++++ .../files/pinephone-manjaro-tweaks.install | 51 +++++ .../files/pinephone-setup-usb-network.service | 14 ++ .../files/pinephone-setup-usb-network.sh | 16 ++ .../files/pinephone-suspend-hook.sh | 59 ++++++ .../files/pinephone-usb-gadget.service | 12 ++ .../files/pinephone-usb-gadget.sh | 91 +++++++++ .../pinephone-meta/files/pinephone.pa | 7 + .../pinephone-meta/files/qv4l2.desktop | 12 ++ .../pinephone-meta/files/qvidcap.desktop | 10 + .../files/telegramdesktop.desktop | 14 ++ .../files/umtp-responder-manjaro.conf | 57 ++++++ .../files/umtp-responder-override.conf | 5 + .../pinephone-meta/files/vim.desktop | 9 + .../pinephone-meta/files/xgps.desktop | 11 ++ .../pinephone-meta/files/xgpsspeed.desktop | 11 ++ .../pinephone-meta/pinephone-meta-0.2.ebuild | 24 --- .../pinephone-meta/pinephone-meta-0.3.ebuild | 89 +++++++++ .../pinephone-sources-5.14.2.ebuild | 69 ------- 57 files changed, 1634 insertions(+), 93 deletions(-) create mode 100644 app-mobilephone/pinephone-meta/files/00-journal-size.conf create mode 100644 app-mobilephone/pinephone-meta/files/01-phoc-scaling create mode 100644 app-mobilephone/pinephone-meta/files/10-pinephone-brightness.rules create mode 100644 app-mobilephone/pinephone-meta/files/10-proximity.rules create mode 100644 app-mobilephone/pinephone-meta/files/20-pinephone-led.rules create mode 100644 app-mobilephone/pinephone-meta/files/90-pinephone.conf create mode 100644 app-mobilephone/pinephone-meta/files/90-usb-gadget-managed.rules create mode 100644 app-mobilephone/pinephone-meta/files/90_manjaro.gschema.override create mode 100644 app-mobilephone/pinephone-meta/files/99-automount-sd.rules create mode 100644 app-mobilephone/pinephone-meta/files/UserFeedbackConsole.desktop create mode 100644 app-mobilephone/pinephone-meta/files/appimagelauncher.desktop create mode 100644 app-mobilephone/pinephone-meta/files/appimagelaunchersettings.desktop create mode 100644 app-mobilephone/pinephone-meta/files/autoconfig.js create mode 100644 app-mobilephone/pinephone-meta/files/avahi-discover.desktop create mode 100644 app-mobilephone/pinephone-meta/files/bssh.desktop create mode 100644 app-mobilephone/pinephone-meta/files/bvnc.desktop create mode 100644 app-mobilephone/pinephone-meta/files/ca.desrt.dconf-editor.desktop create mode 100644 app-mobilephone/pinephone-meta/files/dconf-profile-manjaro create mode 100644 app-mobilephone/pinephone-meta/files/gsk-renderer-gl.sh create mode 100644 app-mobilephone/pinephone-meta/files/gtk3-settings.ini create mode 100644 app-mobilephone/pinephone-meta/files/ignore-power-key.conf create mode 100644 app-mobilephone/pinephone-meta/files/lstopo.desktop create mode 100644 app-mobilephone/pinephone-meta/files/machine-info create mode 100755 app-mobilephone/pinephone-meta/files/manjaro-tweaks.sh create mode 100644 app-mobilephone/pinephone-meta/files/manjaro.cfg create mode 100644 app-mobilephone/pinephone-meta/files/manjaro.json create mode 100644 app-mobilephone/pinephone-meta/files/media-session.conf create mode 100644 app-mobilephone/pinephone-meta/files/org.freedesktop.ModemManager1.pkla create mode 100644 app-mobilephone/pinephone-meta/files/org.gnome.Extensions.desktop create mode 100644 app-mobilephone/pinephone-meta/files/org.gnome.Terminal.desktop create mode 100644 app-mobilephone/pinephone-meta/files/org.gtk.Demo4.desktop create mode 100644 app-mobilephone/pinephone-meta/files/org.gtk.IconBrowser4.desktop create mode 100644 app-mobilephone/pinephone-meta/files/org.gtk.PrintEditor4.desktop create mode 100644 app-mobilephone/pinephone-meta/files/org.gtk.WidgetFactory4.desktop create mode 100644 app-mobilephone/pinephone-meta/files/packagekit-rm-lock.service create mode 100644 app-mobilephone/pinephone-meta/files/phosh-renice.service create mode 100644 app-mobilephone/pinephone-meta/files/phosh_renice.sh create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-camera-setup.service create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-camera-setup.sh create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-manjaro-tweaks.install create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.service create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.sh create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-suspend-hook.sh create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.service create mode 100644 app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.sh create mode 100644 app-mobilephone/pinephone-meta/files/pinephone.pa create mode 100644 app-mobilephone/pinephone-meta/files/qv4l2.desktop create mode 100644 app-mobilephone/pinephone-meta/files/qvidcap.desktop create mode 100644 app-mobilephone/pinephone-meta/files/telegramdesktop.desktop create mode 100644 app-mobilephone/pinephone-meta/files/umtp-responder-manjaro.conf create mode 100644 app-mobilephone/pinephone-meta/files/umtp-responder-override.conf create mode 100644 app-mobilephone/pinephone-meta/files/vim.desktop create mode 100644 app-mobilephone/pinephone-meta/files/xgps.desktop create mode 100644 app-mobilephone/pinephone-meta/files/xgpsspeed.desktop delete mode 100644 app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild create mode 100644 app-mobilephone/pinephone-meta/pinephone-meta-0.3.ebuild delete mode 100644 sys-kernel/pinephone-sources/pinephone-sources-5.14.2.ebuild diff --git a/app-mobilephone/pinephone-meta/files/00-journal-size.conf b/app-mobilephone/pinephone-meta/files/00-journal-size.conf new file mode 100644 index 0000000..a6ab3ae --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/00-journal-size.conf @@ -0,0 +1,2 @@ +[Journal] +SystemMaxUse=64M diff --git a/app-mobilephone/pinephone-meta/files/01-phoc-scaling b/app-mobilephone/pinephone-meta/files/01-phoc-scaling new file mode 100644 index 0000000..4caf89d --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/01-phoc-scaling @@ -0,0 +1,8 @@ +[sm/puri/phoc/application/midori] +scale-to-fit=true + +[sm/puri/phoc/application/eog] +scale-to-fit=true + +[sm/puri/phoc/application/gnome-calendar] +scale-to-fit=true diff --git a/app-mobilephone/pinephone-meta/files/10-pinephone-brightness.rules b/app-mobilephone/pinephone-meta/files/10-pinephone-brightness.rules new file mode 100644 index 0000000..f241ca8 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/10-pinephone-brightness.rules @@ -0,0 +1 @@ +ACTION=="add", KERNEL=="backlight", SUBSYSTEM=="platform", DRIVER=="pwm-backlight", TEST=="lth_brightness", ATTR{lth_brightness}=="*?", RUN+="/bin/sh -c 'echo 12 > /sys/devices/platform/backlight/backlight/backlight/device/lth_brightness'" diff --git a/app-mobilephone/pinephone-meta/files/10-proximity.rules b/app-mobilephone/pinephone-meta/files/10-proximity.rules new file mode 100644 index 0000000..298078f --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/10-proximity.rules @@ -0,0 +1,5 @@ +# iio-sensor-proxy +# Set PROXIMITY_NEAR_LEVEL for iio-sensor-proxy to pick up the proximity sensor + +# Set the sensor type for all the types we recognise +ACTION=="add", SUBSYSTEM=="iio", TEST=="in_proximity_raw", ENV{PROXIMITY_NEAR_LEVEL}="250" diff --git a/app-mobilephone/pinephone-meta/files/20-pinephone-led.rules b/app-mobilephone/pinephone-meta/files/20-pinephone-led.rules new file mode 100644 index 0000000..7816cc0 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/20-pinephone-led.rules @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: LGPL-2.1+ + +ACTION=="remove", GOTO="pinephone_led_end" + +# Setup the front LED for use by feedbackd +SUBSYSTEM=="leds", DEVPATH=="*/*:indicator", ENV{FEEDBACKD_TYPE}="led", RUN+="/usr/libexec/fbd-ledctrl -p %S%p -t pattern -G video" + +# Setup the flash LED for use by flashlight +SUBSYSTEM=="leds", KERNEL=="white:flash", RUN+="/bin/chmod g+w /sys%p/brightness /sys%p/flash_strobe", RUN+="/bin/chown :video /sys%p/brightness /sys%p/flash_strobe" + +LABEL="pinephone_led_end" diff --git a/app-mobilephone/pinephone-meta/files/90-pinephone.conf b/app-mobilephone/pinephone-meta/files/90-pinephone.conf new file mode 100644 index 0000000..2fb9529 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/90-pinephone.conf @@ -0,0 +1,4 @@ +default-script-file = /etc/pulse/pinephone.pa +default-sample-rate = 48000 +alternate-sample-rate = 8000 +realtime-scheduling = no diff --git a/app-mobilephone/pinephone-meta/files/90-usb-gadget-managed.rules b/app-mobilephone/pinephone-meta/files/90-usb-gadget-managed.rules new file mode 100644 index 0000000..bd7526f --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/90-usb-gadget-managed.rules @@ -0,0 +1,3 @@ +# USB gadget device are unmanaged by default, but we want to configure it +# using NM, so keep it managed +SUBSYSTEM=="net", ACTION=="add|change", ENV{DEVTYPE}=="gadget", ENV{NM_UNMANAGED}="0" diff --git a/app-mobilephone/pinephone-meta/files/90_manjaro.gschema.override b/app-mobilephone/pinephone-meta/files/90_manjaro.gschema.override new file mode 100644 index 0000000..c71d32e --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/90_manjaro.gschema.override @@ -0,0 +1,47 @@ +[org.gnome.desktop.background] +picture-uri='file:///usr/share/wallpapers/manjaro.jpg' + +[org.gnome.desktop.wm.preferences] +button-layout='appmenu:' + +[org.gnome.gedit.preferences.editor] +scheme='oblivion' + +[org.gnome.desktop.interface] +icon-theme='Papirus-Dark-Maia' + +[org.gnome.desktop.sound] +theme-name='librem5' + +[org.gnome.settings-daemon.plugins.power] +sleep-inactive-ac-type='nothing' +sleep-inactive-battery-type='suspend' +sleep-inactive-battery-timeout=300 +power-button-action='nothing' +ambient-enabled=false + +[org.gnome.settings-daemon.plugins.wwan] +unlock-sim=true + +[org.gnome.settings-daemon.peripherals.touchscreen] +orientation-lock=true + +[org.nemo.preferences] +default-folder-viewer='compact-view' +click-policy='single' + +[org.nemo.window-state] +start-with-sidebar=false + +[org.gnome.eog.ui] +sidebar=false + +[org.gnome.desktop.a11y.applications] +screen-keyboard-enabled=true + +[sm.puri.Chatty] +experimental-features=true + +[sm.puri.phosh] +favorites=['org.gnome.Calls.desktop', 'sm.puri.Chatty.desktop', 'firefox.desktop', 'org.gnome.Contacts.desktop'] +force-adaptive=['anbox.desktop', 'nl.brixit.powersupply.desktop', 'nm-connection-editor.desktop', 'com.github.bilelmoussaoui.Authenticator.desktop', 'telegramdesktop.desktop', 'chromium.desktop', 'firefox.desktop', 'firefox-esr.desktop', 'org.gnome.gedit.desktop', 'org.gnome.Dictionary.desktop', 'org.gnome.Maps.desktop', 'org.gnome.Geary.desktop', 'org.gnome.PasswordSafe.desktop', 'org.gnome.eog.desktop', 'org.gnome.Software.desktop', 'org.gnome.Usage.desktop', 'org.gnome.clocks.desktop', 'org.gnome.zbrown.KingsCross.desktop', 'org.gnome.Evince.desktop', 'org.gnome.Evince-previewer.desktop', 'yelp.desktop', 'org.gnome.Fractal.desktop', 'org.gnome.Contacts.desktop', 'org.gnome.DiskUtility.desktop', 'org.gnome.gitlab.kailueke.WakeMobile.desktop', 'org.gnome.Todo.desktop', 'org.gnome.FileRoller.desktop'] diff --git a/app-mobilephone/pinephone-meta/files/99-automount-sd.rules b/app-mobilephone/pinephone-meta/files/99-automount-sd.rules new file mode 100644 index 0000000..8fa316b --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/99-automount-sd.rules @@ -0,0 +1,3 @@ +## Automatically mount the SD card when inserted + +ACTION=="add", KERNEL=="mmcblk[0-2]p*", ENV{ID_FS_USAGE}=="filesystem", RUN{program}+="/usr/bin/systemd-mount --no-block --automount=yes --timeout-idle-sec=1s $devnode /media/%k" diff --git a/app-mobilephone/pinephone-meta/files/UserFeedbackConsole.desktop b/app-mobilephone/pinephone-meta/files/UserFeedbackConsole.desktop new file mode 100644 index 0000000..5919c36 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/UserFeedbackConsole.desktop @@ -0,0 +1,103 @@ +[Desktop Entry] +Name=UserFeedback Console +Name[ca]=Consola de l'UserFeedback +Name[ca@valencia]=Consola de l'UserFeedback +Name[da]=Brugerfeedback-konsol +Name[de]=UserFeedback-Konsole +Name[en_GB]=UserFeedback Console +Name[es]=Consola de UserFeedback +Name[et]=UserFeedbacki konsool +Name[eu]=UserFeedback kontsola +Name[fi]=Käyttäjäpalautekonsoli +Name[fr]=Console UserFeedback +Name[gl]=Consola de UserFeedback +Name[it]=Console di UserFeedback +Name[ko]=사용자 피드백 콘솔 +Name[lt]=Naudotojo grįžtamojo ryšio pultas +Name[nl]=Console voor UserFeedback +Name[nn]=UserFeedback-konsoll +Name[pl]=Konsola Informacji Zwrotnej Użytkownika +Name[pt]=Consola do UserFeedback +Name[pt_BR]=Console do UserFeedback +Name[ru]=Консоль KUserFeedback +Name[sk]=Konzola UserFeedback +Name[sr]=Конзола за корисничке реакције +Name[sr@ijekavian]=Конзола за корисничке реакције +Name[sr@ijekavianlatin]=Konzola za korisničke reakcije +Name[sr@latin]=Konzola za korisničke reakcije +Name[sv]=Terminal för användaråterkoppling +Name[tr]=UserFeedback Konsolu +Name[uk]=Консоль UserFeedback +Name[x-test]=xxUserFeedback Consolexx +Name[zh_CN]=用户反馈控制台 +Name[zh_TW]=UserFeedback 終端 +Comment=Analytics and administration tool for UserFeedback servers. +Comment[ca]=Eina d'anàlisi i d'administració pels servidors d'UserFeedback. +Comment[ca@valencia]=Eina d'anàlisi i d'administració pels servidors d'UserFeedback. +Comment[da]=Analyse- og administrationsværktøj til brugerfeedback-servere. +Comment[de]=Dienstprogramm zur Analyse und Verwaltung von UserFeedback-Servern. +Comment[en_GB]=Analytics and administration tool for UserFeedback servers. +Comment[es]=Herramienta de análisis y administración para servidores de UserFeedback. +Comment[et]=UserFeedbacki serverite analüüsi- ja haldustööriist. +Comment[eu]=UserFeedback zerbitzarietarako analitikak eta administrazio tresnak. +Comment[fi]=Analyysi- ja hallintatyökalu käyttäjäpalautepalvelimiin. +Comment[fr]=Outil d'analyse et d'administration pour les serveurs UserFeedback. +Comment[gl]=Ferramenta de análise de datos e de administración para servidores de UserFeedback. +Comment[it]=Strumento per analitiche e amministrativo per i server di tipo UserFeedback. +Comment[ko]=사용자 피드백 서버를 위한 분석 및 관리 도구. +Comment[lt]=Naudotojo grįžtamojo ryšio serverių analitikos ir administravimo įrankis. +Comment[nl]=Hulpmiddel voor analyse en beheer voor UserFeedback-servers +Comment[nn]=Analyse og administrering for UserFeedback-tenarar. +Comment[pl]=Narzędzie analizy i administracji dla serwerów Informacji zwrotnej użytkownika +Comment[pt]=Ferramenta analítica e de administração para os servidores do UserFeedback. +Comment[pt_BR]=Ferramenta de análise e administração para servidores UserFeedback. +Comment[ru]=Инструмент аналитики и администрирования серверов KUserFeedback. +Comment[sk]=Nástroj na analytiku a správu pre servre UserFeedback. +Comment[sr]=Алатка за администрирање и анализирање сервера корисничких реакција +Comment[sr@ijekavian]=Алатка за администрирање и анализирање сервера корисничких реакција +Comment[sr@ijekavianlatin]=Alatka za administriranje i analiziranje servera korisničkih reakcija +Comment[sr@latin]=Alatka za administriranje i analiziranje servera korisničkih reakcija +Comment[sv]=Analys- och administrationsverktyg för användaråterkopplingsservrar. +Comment[tr]=UserFeedback sunucuları için analiz ve yönetim aracı. +Comment[uk]=Засіб для аналізу та адміністрування серверів UserFeedback. +Comment[x-test]=xxAnalytics and administration tool for UserFeedback servers.xx +Comment[zh_CN]=用户反馈服务器的分析和管理工具。 +Comment[zh_TW]=為 UserFeedback 伺服器設計的統計與管理工具 +GenericName=UserFeedback Management Console +GenericName[ca]=Consola de gestió de l'UserFeedback +GenericName[ca@valencia]=Consola de gestió de l'UserFeedback +GenericName[da]=Konsol til håndtering af brugerfeedback +GenericName[de]=Verwaltungskonsole für UserFeedback +GenericName[en_GB]=UserFeedback Management Console +GenericName[es]=Consola de gestión de UserFeedback +GenericName[et]=UserFeedbacki haldamise konsool +GenericName[eu]=UserFeedback kudeaketa kontsola +GenericName[fi]=Käyttäjäpalautteen hallintakonsoli +GenericName[fr]=Console de gestion UserFeedback +GenericName[gl]=Consola de xestión de UserFeedback +GenericName[it]=Console di gestione di UserFeedback +GenericName[ko]=사용자 피드백 관리 콘솔 +GenericName[lt]=Naudotojo grįžtamojo ryšio tvarkymo pultas +GenericName[nl]=Beheerconsole voor UserFeedback +GenericName[nn]=UserFeedback-kontrollpult +GenericName[pl]=Konsola Zarządzania Informacją Zwrotną Użytkownika +GenericName[pt]=Consola de Gestão do UserFeedback +GenericName[pt_BR]=Console de gerenciamento UserFeedback +GenericName[ru]=Консоль управления KUserFeedback +GenericName[sk]=Konzola na správu UserFeedback +GenericName[sr]=Конзола за управљање корисничким реакцијама +GenericName[sr@ijekavian]=Конзола за управљање корисничким реакцијама +GenericName[sr@ijekavianlatin]=Konzola za upravljanje korisničkim reakcijama +GenericName[sr@latin]=Konzola za upravljanje korisničkim reakcijama +GenericName[sv]=Hanteringsterminal för användaråterkoppling +GenericName[tr]=UserFeedback Yönetim Konsolu +GenericName[uk]=Консоль керування UserFeedback +GenericName[x-test]=xxUserFeedback Management Consolexx +GenericName[zh_CN]=用户反馈管理控制台 +GenericName[zh_TW]=UserFeedback 管理終端 +Exec=UserFeedbackConsole +Icon=search +Type=Application +Categories=Development; +X-KDE-StartupNotify=true +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/appimagelauncher.desktop b/app-mobilephone/pinephone-meta/files/appimagelauncher.desktop new file mode 100644 index 0000000..cd57ae6 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/appimagelauncher.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=AppImageLauncher %f +Name=AppImageLauncher +Icon=AppImageLauncher +Terminal=false +Categories=Utility; +MimeType=application/x-iso9660-appimage;application/x-appimage;application/vnd.appimage; +NoDisplay=true +X-AppImage-Integrate=false +StartupWMClass=AppImageLauncher +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/appimagelaunchersettings.desktop b/app-mobilephone/pinephone-meta/files/appimagelaunchersettings.desktop new file mode 100644 index 0000000..d67cb4e --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/appimagelaunchersettings.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=AppImageLauncherSettings %f +Name=AppImageLauncher Settings +Name[de]=AppImageLauncher-Einstellungen +Comment=Change settings for AppImageLauncher +Comment[de]=Einstellungen für AppImageLauncher ändern +Icon=AppImageLauncher +Terminal=false +Categories=Utility;Settings;DesktopSettings;LXQt;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;X-GNOME-PersonalSettings; +X-AppImage-Integrate=false +StartupWMClass=AppImageLauncher +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/autoconfig.js b/app-mobilephone/pinephone-meta/files/autoconfig.js new file mode 100644 index 0000000..1dba49d --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/autoconfig.js @@ -0,0 +1,2 @@ +pref("general.config.filename", "manjaro.cfg"); +pref("general.config.obscure_value", 0); diff --git a/app-mobilephone/pinephone-meta/files/avahi-discover.desktop b/app-mobilephone/pinephone-meta/files/avahi-discover.desktop new file mode 100644 index 0000000..422abf7 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/avahi-discover.desktop @@ -0,0 +1,87 @@ +[Desktop Entry] +Version=1.0 +Name[bg]=Преглед на улеснените услуги с Avahi +Name[ca]=Eina d'exploració de Zeroconf de l'Avahi +Name[cs]=Avahi Zeroconf Prohlížeč +Name[da]=Avahi Zeroconf-browser +Name[de]=Avahi Zeroconf Browser +Name[el]=Περιηγητής Avahi Zeroconf +Name[en_GB]=Avahi Zeroconf Browser +Name[en_NZ]=Avahi Zeroconf Browser +Name[es]=Navegador Zeroconf de Avahi +Name[et]=Avahi Zeroconf brauser +Name[fa]=Avahi مرورگر Zeroconf +Name[fi]=Avahin Zeroconf-selain +Name[fo]=Avahi Zeroconf kagi +Name[fr]=Explorateur Zeroconf d'Avahi +Name[gl]=Navegador Zeroconf de Avahi +Name[he]=סייר ה־Zeroconf של ‏Avahi +Name[hu]=Avahi Zeroconf-böngésző +Name[id]=Peramban Zeroconf Avahi +Name[it]=Esploratore Zeroconf Avahi +Name[ja]=Avahi Zeroconf ブラウザ +Name[lv]=Avahi Zeroconf pārlūks +Name[nl]=Avahi zeroconf browser +Name[oc]=Explorador Zeroconf d'Avahi +Name[pl]=Przeglądarka Zeroconf Avahi +Name[pt_BR]=Navegador Zeroconf do Avahi +Name[ro]=Navigator Avahi Zeroconf +Name[ru]=Обозреватель Avahi Zeroconf +Name[sk]=Avahi - prieskumník služieb Zeroconf +Name[sl]=Brskalnik Avahi Zeroconf +Name[sr]=Авахијев Зероконф прегледник +Name[sr@latin]=Avahijev Zerokonf preglednik +Name[sv]=Avahi Zeroconf-bläddrare +Name[tr]=Avahi Zeroconf Tarayıcı +Name[uk]=Переглядач Zeroconf Avahi +Name[zh_CN]=Avahi Zeroconf 浏览器 +Name[zh_TW]=Avahi Zeroconf 瀏覽器 +Name=Avahi Zeroconf Browser +Comment[ar]=خدمة التصفح Zeroconf متاحة على الشبكة +Comment[bg]=Преглед на улеснените услуги (Zeroconf) в мрежата ви +Comment[ca]=Exploreu si hi ha disponibles serveis Zeroconf a la vostra xarxa +Comment[cs]=Procházet Zeroconf služeby dostupné na síti +Comment[da]=Find Zeroconf-tjenester på dit netværk +Comment[de]=Durchsuchen nach Zeroconf-aktivierten Diensten in Ihrem Netzwerk +Comment[el]=Εξερεύνηση υπηρεσιών Zeroconf που είναι διαθέσιμες στο δίκτυό σας +Comment[en_GB]=Browse for Zeroconf services available on your network +Comment[en_NZ]=Browse for Zeroconf services available on your network +Comment[es]=Navegar en busca de servicios Zeroconf disponibles en su red +Comment[et]=Sinu võrgus olevate Zeroconf teenuste sirvimine +Comment[fa]=خدمات Zeroconf موجود در شبکه‌تان را مرور کنید +Comment[fi]=Selaa verkossa saatavilla olevia Zeroconf-palveluita +Comment[fo]=Kaga eftir Zeroconf-tænastum, tøkar á tínum neti +Comment[fr]=Explorer les services Zeroconf disponibles sur votre réseau +Comment[gl]=Navegar na busca de servizos Zeroconf dispoñíbeis na súa rede +Comment[he]=סיור אחר שירותי Zeroconf הזמינים ברשת שלך +Comment[hu]=Zeroconf szolgáltatások keresése a hálózaton +Comment[id]=Ramban layanan Zeroconf yang tersedia pada jaringan Anda +Comment[it]=Esplora i servizi Zeroconf disponibili sulla propria rete +Comment[ja]=ネットワーク上の利用可能な Zeroconf サービスを検索 +Comment[lv]=Pārlūkot Zeroconf pakalpojumus, kas pieejami šajā tīklā +Comment[nl]=Browse voor Zeroconf services beschikbaar op jouw netwerk +Comment[oc]=Explorar los servicis Zeroconf disponibles sus vòstra ret +Comment[pl]=Przeglądanie usług Zeroconf dostępnych w sieci +Comment[pt_BR]=Procura por serviços Zeroconf disponíveis em sua rede +Comment[ro]=Descoperă serviciile Zeroconf disponibile în rețeaua dumneavoastră. +Comment[ru]=Поиск служб Zeroconf в локальной сети +Comment[sk]=Preskúma služby typu Zeroconf dostupné vo vašej sieti +Comment[sl]=Brskanje med razpoložljivimi storitvami Zeroconf v omrežju +Comment[sr]=Прегледам доступне Зероконф услуге на вашој мрежи +Comment[sr@latin]=Pregledam dostupne Zerokonf usluge na vašoj mreži +Comment[sv]=Bläddra efter Zeroconf-tjänster tillgängliga på ditt nätverk +Comment[tr]=Ağınızda kullanılabilir Zeroconf hizmetlerine gözatın +Comment[uk]=Переглянути служби Zeroconf, доступ до яких можна отримати у вашій мережі +Comment[zh_CN]=浏览网络内可用的 Zeroconf 服务 +Comment[zh_TW]=在您的網路上瀏覽可用的 Zeroconf 服務 +Comment=Browse for Zeroconf services available on your network +Exec=/usr/bin/avahi-discover +Terminal=false +Type=Application +Icon[hu]=network-wired +Icon[pl]=network-wired +Icon[pt_BR]=network-wired +Icon=network-wired +Categories=GNOME;System; +StartupNotify=false +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/bssh.desktop b/app-mobilephone/pinephone-meta/files/bssh.desktop new file mode 100644 index 0000000..039b85b --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/bssh.desktop @@ -0,0 +1,80 @@ +[Desktop Entry] +Version=1.0 +Name[bg]=Преглед с Avahi на сървърите за SSH +Name[ca]=Eina d'exploració de servidors de SSH de l'Avahi +Name[da]=Browser til Avahi SSH-server +Name[de]=Avahi SSH-Server-Browser +Name[el]=Avahi περιηγητής εξυπηρετητών SSH +Name[en_GB]=Avahi SSH Server Browser +Name[en_NZ]=Avahi SSH Server Browser +Name[es]=Examinador de servidores SSH de Avahi +Name[et]=Avahi SSH serverite brauser +Name[fi]=Avahin SSH-palvelinselain +Name[fo]=Avahi SSH-tænastu kagi +Name[fr]=Explorateur de serveur SSH Avahi +Name[gl]=Navegador de servidores SSH de Avahi +Name[hu]=Avahi SSH-kiszolgálóböngésző +Name[id]=Peramban Server SSH Avahi +Name[it]=Esploratore Avahi per server SSH +Name[ja]=Avahi SSH サーバの検索 +Name[lv]=Avahi SSH serveru pārlūks +Name[nl]=Avahi SSH server browser +Name[oc]=Explorador de servidor SSH Avahi +Name[pl]=Przeglądarka serwerów SSH Avahi +Name[pt_BR]=Navegador de servidores SSH do Avahi +Name[ro]=Navigator de servere SSH Avahi +Name[ru]=Навигатор Avahi по серверам SSH +Name[sk]=Avahi - prieskumník SSH serverov +Name[sl]=Avahi brskalnik strežnika SSH +Name[sr]=Прегледник Авахијевог сервера безбедне шкољке +Name[sr@latin]=Preglednik Avahijevog servera bezbedne školjke +Name[sv]=Avahi SSH-serverbläddrare +Name[tr]=Avahi SSH Sunucu Tarayıcısı +Name[uk]=Переглядач серверів SSH Avahi +Name[zh_CN]=Avahi SSH 服务器的浏览器 +Name[zh_TW]=Avahi SSH 伺服器瀏覽器 +Name=Avahi SSH Server Browser +Comment[bg]=Преглед на сървърите за SSH с улеснение +Comment[ca]=Exploreu si hi ha servidors de SSH amb Zeroconf habilitat +Comment[da]=Find Zeroconf-aktiverede SSH-servere +Comment[de]=Durchsuchen nach Zeroconf-aktivierten SSH-Servern +Comment[el]=Εξερεύνηση για εξυπηρετητές SSH με ενεργοποιημένο Zeroconf +Comment[en_GB]=Browse for Zeroconf-enabled SSH Servers +Comment[en_NZ]=Browse for Zeroconf-enabled SSH Servers +Comment[es]=Examinar servidores SSH con zeroconf activado +Comment[et]=Zeroconf toega SSH serverite sirvimine +Comment[fi]=Selaa Zeroconf-varustettuja SSH-palvelimia +Comment[fo]=Kaga eftir Zeroconf-virkjaðum SSH-ambætarum +Comment[fr]=Explorer les serveurs SSH avec Zeroconf activé +Comment[gl]=Navegar por servidores SSH con Zeroconf activado +Comment[hu]=Zeroconf-képes SSH kiszolgálók keresése +Comment[id]=Meramban Server SSH Teraktifkan-Zeroconf +Comment[it]=Esplora i server SSH con Zeroconf abilitato +Comment[ja]=Zeroconf を有効にした SSH サーバを検索 +Comment[lv]=Pārlūkot Zeroconf aktivētus SSH serverus +Comment[nl]=Browse voor Zeroconf-enabled SSH servers +Comment[oc]=Explorar los servidors SSH amb Zeroconf activat +Comment[pl]=Przeglądanie serwerów SSH z włączonym Zeroconf +Comment[pt_BR]=Procurar por servidores SSH com o Zeroconf habilitado +Comment[ro]=Navighează servere SSH având activat Zeroconf +Comment[ru]=Просмотр списка серверов SSH с включённой службой Zeroconf +Comment[sk]=Preskúma SSH servery s povolenou službou Zeroconf +Comment[sl]=Brskanje med omogočenimi strežniki Zeroconf SSH +Comment[sr]=Потражите сервере безбедне шкољке са укљученим Зероконфом +Comment[sr@latin]=Potražite servere bezbedne školjke sa uključenim Zerokonfom +Comment[sv]=Bläddra efter Zeroconf-aktiverade SSH-servrar +Comment[tr]=Sıfır yapılandırma uyumlu SSH Sunucularını Tara +Comment[uk]=Перегляд серверів SSH з увімкненим Zeroconf +Comment[zh_CN]=浏览启用了 Zeroconf 的 SSH 服务器 +Comment[zh_TW]=瀏覽啟用 Zeroconf 的 SSH 伺服器 +Comment=Browse for Zeroconf-enabled SSH Servers +Exec=/usr/bin/bssh +Terminal=false +Type=Application +Icon[hu]=network-wired +Icon[pl]=network-wired +Icon[pt_BR]=network-wired +Icon=network-wired +Categories=GNOME;Network; +StartupNotify=false +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/bvnc.desktop b/app-mobilephone/pinephone-meta/files/bvnc.desktop new file mode 100644 index 0000000..3dc962f --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/bvnc.desktop @@ -0,0 +1,80 @@ +[Desktop Entry] +Version=1.0 +Name[bg]=Преглед с Avahi на сървърите за VNC +Name[ca]=Eina d'exploració de servidors de VNC de l'Avahi +Name[da]=Browser til Avahi VNC-server +Name[de]=Avahi VNC-Server-Browser +Name[el]=Avahi περιηγητής εξυπηρετητών VNC +Name[en_GB]=Avahi VNC Server Browser +Name[en_NZ]=Avahi VNC Server Browser +Name[es]=Examinador de servidores VNC de Avahi +Name[et]=Avahi VNC serverite brauser +Name[fi]=Avahin VNC-palvelinselain +Name[fo]=Avahi VNC-tænastu kagi +Name[fr]=Explorateur de serveurs VNC Avahi +Name[gl]=Navegador de servidores VNC de Avahi +Name[hu]=Avahi VNC-kiszolgálóböngésző +Name[id]=Peramban Server VNC Avahi +Name[it]=Esploratore Avahi per server VNC +Name[ja]=Avahi VNC サーバの検索 +Name[lv]=Avahi VNC serveru pārlūks +Name[nl]=Avahi VNC server browser +Name[oc]=Explorador de servidors VNC Avahi +Name[pl]=Przeglądarka serwerów VNC Avahi +Name[pt_BR]=Navegador de servidores VNC do Avahi +Name[ro]=Navigator Avahi de server VNC +Name[ru]=Навигатор Avahi по серверам VNC +Name[sk]=Avahi - prieskumník VNC serverov +Name[sl]=Avahi brskalnik strežnika VNC +Name[sr]=Прегледник Авахијевог ВНЦ сервера +Name[sr@latin]=Preglednik Avahijevog VNC servera +Name[sv]=Avahi VNC-serverbläddrare +Name[tr]=Avahi VNC Sunucu Tarayıcısı +Name[uk]=Переглядач серверів VNC Avahi +Name[zh_CN]=Avahi VNC 服务器的浏览器 +Name[zh_TW]=Avahi VNC 伺服器瀏覽器 +Name=Avahi VNC Server Browser +Comment[bg]=Преглед на сървърите за VNC с улеснение +Comment[ca]=Exploreu si hi ha servidors de VNC amb Zeroconf habilitat +Comment[da]=Find Zeroconf-aktiverede VNC-servere +Comment[de]=Durchsuchen nach Zeroconf-aktivierten VNC-Servern +Comment[el]=Εξερεύνηση για εξυπηρετητές VNC με ενεργοποιημένο Zeroconf +Comment[en_GB]=Browse for Zeroconf-enabled VNC Servers +Comment[en_NZ]=Browse for Zeroconf-enabled VNC Servers +Comment[es]=Examinar servidores VNC con zeroconf activado +Comment[et]=Zeroconf toega VNC serverite sirvimine +Comment[fi]=Selaa Zeroconf-varustettuja VNC-palvelimia +Comment[fo]=Kaga eftir Zeroconf-virkjaðum VNC-ambætarum +Comment[fr]=Explorer les serveurs VNC avec Zeroconf activé +Comment[gl]=Navegar por servidores VNC con Zeroconf activado +Comment[hu]=Zeroconf-képes VNC kiszolgálók keresése +Comment[id]=Meramban Server VNC Teraktifkan-Zeroconf +Comment[it]=Esplora i server VNC con Zeroconf abilitato +Comment[ja]=Zeroconf を有効にした VNC サーバを検索 +Comment[lv]=Pārlūkot Zeroconf aktivētus VNC serverus +Comment[nl]=Browse voor Zeroconf-enabled VNC servers +Comment[oc]=Explorar los servidors VNC amb Zeroconf activat +Comment[pl]=Przeglądanie serwerów VNC z włączonym Zeroconf +Comment[pt_BR]=Procurar por servidores VNC com Zeroconf habilitado +Comment[ro]=Navigheză serverele VNC având activat Zeroconf +Comment[ru]=Просмотр списка серверов VNC с включённой службой Zeroconf +Comment[sk]=Preskúma VNC servery s povolenou službou Zeroconf +Comment[sl]=Brskanje med omogočenimi strežniki Zeroconf VNC +Comment[sr]=Потражите ВНЦ сервере са укљученим Зероконфом +Comment[sr@latin]=Potražite VNC servere sa uključenim Zerokonfom +Comment[sv]=Bläddra efter Zeroconf-aktiverade VNC-servrar +Comment[tr]=Sıfır yapılandırma uyumlu VNC Sunucularını Tara +Comment[uk]=Перегляд серверів VNC з увімкненим Zeroconf +Comment[zh_CN]=浏览启用了 Zeroconf 功能的 VNC 服务器 +Comment[zh_TW]=瀏覽啟用 Zeroconf 的 VNC 伺服器 +Comment=Browse for Zeroconf-enabled VNC Servers +Exec=/usr/bin/bvnc +Terminal=false +Type=Application +Icon[hu]=network-wired +Icon[pl]=network-wired +Icon[pt_BR]=network-wired +Icon=network-wired +Categories=GNOME;Network; +StartupNotify=false +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/ca.desrt.dconf-editor.desktop b/app-mobilephone/pinephone-meta/files/ca.desrt.dconf-editor.desktop new file mode 100644 index 0000000..01720ea --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/ca.desrt.dconf-editor.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=dconf editor +Keywords=settings;configuration; +Exec=dconf-editor +Terminal=false +Type=Application +StartupNotify=true +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/dconf-profile-manjaro b/app-mobilephone/pinephone-meta/files/dconf-profile-manjaro new file mode 100644 index 0000000..590d510 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/dconf-profile-manjaro @@ -0,0 +1,2 @@ +user-db:user +system-db:manjaro diff --git a/app-mobilephone/pinephone-meta/files/gsk-renderer-gl.sh b/app-mobilephone/pinephone-meta/files/gsk-renderer-gl.sh new file mode 100644 index 0000000..bc63dae --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/gsk-renderer-gl.sh @@ -0,0 +1,2 @@ +#!/bin/sh +export GSK_RENDERER=ngl diff --git a/app-mobilephone/pinephone-meta/files/gtk3-settings.ini b/app-mobilephone/pinephone-meta/files/gtk3-settings.ini new file mode 100644 index 0000000..29322c1 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/gtk3-settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-application-prefer-dark-theme=1 diff --git a/app-mobilephone/pinephone-meta/files/ignore-power-key.conf b/app-mobilephone/pinephone-meta/files/ignore-power-key.conf new file mode 100644 index 0000000..d86b866 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/ignore-power-key.conf @@ -0,0 +1,2 @@ +[Login] +HandlePowerKey=ignore diff --git a/app-mobilephone/pinephone-meta/files/lstopo.desktop b/app-mobilephone/pinephone-meta/files/lstopo.desktop new file mode 100644 index 0000000..4fcd092 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/lstopo.desktop @@ -0,0 +1,11 @@ +# should only be used when lstopo is built with Cairo/X11 support +# so that no terminal is required +[Desktop Entry] +Name=Hardware Locality lstopo +Comment=Show hardware topology +Exec=lstopo +Terminal=false +Type=Application +Categories=System; +Keywords=System;Utility; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/machine-info b/app-mobilephone/pinephone-meta/files/machine-info new file mode 100644 index 0000000..6c0f731 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/machine-info @@ -0,0 +1 @@ +CHASSIS="handset" diff --git a/app-mobilephone/pinephone-meta/files/manjaro-tweaks.sh b/app-mobilephone/pinephone-meta/files/manjaro-tweaks.sh new file mode 100755 index 0000000..c64af82 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/manjaro-tweaks.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +# Fix Qt applications +export QT_QPA_PLATFORM=wayland +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 +export QT_QUICK_CONTROLS_MOBILE=1 + +# Kirigami +export KIRIGAMI_LOWPOWER_HARDWARE=1 + +# Fix Firefox +export MOZ_ENABLE_WAYLAND=1 + +# Use custom feedbackd theme +export FEEDBACK_THEME=/usr/share/feedbackd/themes/manjaro.json + +# Give us some room to configure things: +export XDG_DATA_DIRS +XDG_DATA_DIRS="/usr/share/manjaro:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}" diff --git a/app-mobilephone/pinephone-meta/files/manjaro.cfg b/app-mobilephone/pinephone-meta/files/manjaro.cfg new file mode 100644 index 0000000..bc1c89b --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/manjaro.cfg @@ -0,0 +1,83 @@ +// Default configuration for Manjaro +pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[\"stop-reload-button\",\"home-button\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"urlbar-container\",\"customizableui-special-spring2\",\"downloads-button\",\"library-button\",\"sidebar-button\",\"fxa-toolbar-menu-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"toolbar-menubar\",\"TabsToolbar\",\"PersonalToolbar\",\"widget-overflow-fixed-list\"],\"currentVersion\":16,\"newElementCount\":4}"); +pref("browser.uidensity", 1); +pref("dom.w3c.touch_events.enabled", true); +pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https://content.cdn.mozilla.net https://input.mozilla.org https://support.mozilla.org https://install.mozilla.org"); + +// Hide tab icons +// +// Default value: true +// Goal: Save space +pref("browser.chrome.site_icons", false); + +// Select an entire URL when clicking the address bar. +// +// Default value: false +// Goal: Enter a new phrase or URL faster +pref("browser.urlbar.clickSelectsAll", true); + +// Reduce the number of suggestions in the address bar. +// +// Default value: 10 +// Goal: Save space +pref("browser.urlbar.maxRichResults", 5); + +// Firefox is optimized for desktop. +// Some desktop optimizations might slow things on mobile. +// We should especially reduce CPU and RAM usage. + +// Reduce the number of content processes. +// +// The more content processes you have, +// the more CPU and RAM will be assigned to each tab. +// +// Source: https://bit.ly/3dc4A7W +// Defualt value: 4 +// Goal: Save CPU and RAM. +pref("dom.ipc.processCount", 1); + +// Disable unnecessary animations. +// +// Source: https://bit.ly/3dc4A7W +// Default value: true +// Goal: Save CPU +pref("toolkit.cosmeticAnimations.enabled", false); +pref("browser.download.animateNotifications", false); + +// Disable prefetching. +// +// Source: https://bit.ly/3dc4A7W +// Default value: true +// Goal: Save bandwith +pref("network.prefetch-next", false); + +// Limit content redraws. +// +// While this helps the browser feel snappy, +// frequent redraws increase the total page load time, +// so a longer content notify interval will improve performance. +// +// Source: https://bit.ly/3hLX47p +// Default value: 120000 (0.12s) / true +// Goal: Speed up page loading +pref("content.notify.interval", 500000); +pref("content.notify.ontimer", true); + +// Reduce the content switch threshold. +// +// If you haven't moved your mouse or touched the keyboard for the given time +// (the content switch threshold) then Firefox enters a low frequency interrupt mode, +// which means its interface becomes less responsive but your page loads more quickly. +// +// Source: https://bit.ly/3hLX47p +// Default value: 750000 (0.75s) +// Goal: Speed up page loading +pref("content.switch.threshold", 250000); + +// Reduce the number of visited web pages stored in memory, +// which you can access using the Back and Forward buttons. +// +// Source: https://bit.ly/3dc4A7W +// Default value: -1 (adaptable) +// Goal: Save RAM +pref("browser.sessionhistory.max_total_viewers", 1); diff --git a/app-mobilephone/pinephone-meta/files/manjaro.json b/app-mobilephone/pinephone-meta/files/manjaro.json new file mode 100644 index 0000000..e4666a3 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/manjaro.json @@ -0,0 +1,174 @@ +{ + "name" : "default", + "profiles" : [ + { + "name" : "full", + "feedbacks" : [ + { + "event-name" : "alarm-clock-elapsed", + "type" : "Sound", + "effect" : "alarm-clock-elapsed" + }, + { + "event-name" : "button-pressed", + "type" : "Sound", + "effect" : "button-pressed" + }, + { + "event-name" : "button-released", + "type" : "Sound", + "effect" : "button-released" + }, + { + "event-name" : "message-new-email", + "type" : "Sound", + "effect" : "message-new-email" + }, + { + "event-name" : "message-new-instant", + "type" : "Sound", + "effect" : "message-new-instant" + }, + { + "event-name" : "message-new-sms", + "type" : "Sound", + "effect" : "message-new-instant" + }, + { + "event-name" : "phone-incoming-call", + "type" : "Sound", + "effect" : "phone-incoming-call" + }, + { + "event-name" : "timeout-completed", + "type" : "Sound", + "effect" : "complete" + }, + { + "event-name" : "theme-demo", + "type" : "Sound", + "effect" : "theme-demo" + }, + { + "event-name" : "window-close", + "type" : "Sound", + "effect" : "theme-demo" + } + ] + }, + { + "name" : "quiet", + "feedbacks" : [ + { + "event-name" : "alarm-clock-elapsed", + "type" : "VibraPeriodic", + "magnitude" : 32767, + "duration" : 10000, + "fade-in-time" : 10000, + "fade-in-level": 4096 + }, + { + "event-name" : "bell-terminal", + "type" : "VibraRumble", + "duration" : 100 + }, + { + "event-name" : "button-pressed", + "type" : "VibraRumble", + "duration" : 80 + }, + { + "event-name" : "button-released", + "type" : "VibraRumble", + "duration" : 40 + }, + { + "event-name" : "message-new-email", + "type" : "VibraRumble", + "duration" : 750, + "count" : 3, + "pause" : 100 + }, + { + "event-name" : "message-new-instant", + "type" : "VibraRumble", + "duration" : 750 + }, + { + "event-name" : "message-new-sms", + "type" : "VibraRumble", + "duration" : 1250, + "count" : 2, + "pause" : 250 + }, + { + "event-name" : "message-sent-instant", + "type" : "VibraRumble", + "duration" : 250 + }, + { + "event-name" : "phone-incoming-call", + "type" : "VibraPeriodic", + "duration" : 10000 + }, + { + "event-name" : "timeout-completed", + "type" : "VibraRumble", + "duration" : 500 + }, + { + "event-name" : "theme-demo", + "type" : "VibraPeriodic", + "magnitude" : 32767, + "duration" : 5000 + }, + { + "event-name" : "window-close", + "type" : "VibraRumble", + "duration" : 75 + } + ] + }, + { + "name" : "silent", + "feedbacks" : [ + { + "event-name" : "battery-caution", + "type" : "Led", + "color" : "red", + "frequency" : 5000 + }, + { + "event-name" : "phone-missed-call", + "type" : "Led", + "color" : "blue", + "frequency" : 3000 + }, + { + "event-name" : "message-missed-email", + "type" : "Led", + "color" : "blue", + "frequency" : 2000 + }, + { + "event-name" : "message-missed-instant", + "type" : "Led", + "color" : "blue", + "frequency" : 1000 + }, + { + "event-name" : "message-missed-notification", + "type" : "Led", + "color" : "blue", + "frequency" : 500 + }, + { + "event-name" : "message-missed-sms", + "type" : "Led", + "color" : "blue", + "frequency" : 2000 + } + ] + } + ] +} diff --git a/app-mobilephone/pinephone-meta/files/media-session.conf b/app-mobilephone/pinephone-meta/files/media-session.conf new file mode 100644 index 0000000..5d1dc9d --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/media-session.conf @@ -0,0 +1,115 @@ +# Media session config file for PipeWire version "0.3.34" # +# +# Copy and edit this file in /etc/pipewire/media-session.d/ +# for systemwide changes or in +# ~/.config/pipewire/media-session.d/ for local changes. + +context.properties = { + # Properties to configure the session and some + # modules. + #mem.mlock-all = false + #support.dbus = true + #log.level = 2 + #alsa.seq.name = Midi-Bridge +} + +context.spa-libs = { + # Mapping from factory name to library. + api.bluez5.* = bluez5/libspa-bluez5 + api.alsa.* = alsa/libspa-alsa + api.v4l2.* = v4l2/libspa-v4l2 + api.libcamera.* = libcamera/libspa-libcamera +} + +context.modules = [ + #{ name = + # [ args = { = ... } ] + # [ flags = [ [ ifexists ] [ nofail ] ] + #} + # + # Loads a module with the given parameters. + # If ifexists is given, the module is ignored when it is not found. + # If nofail is given, module initialization failures are ignored. + # + # Uses RTKit to boost the data thread priority. + { name = libpipewire-module-rtkit + args = { + #nice.level = -11 + #rt.prio = 88 + #rt.time.soft = 2000000 + #rt.time.hard = 2000000 + } + flags = [ ifexists nofail ] + } + + # The native communication protocol. + { name = libpipewire-module-protocol-native } + + # Allows creating nodes that run in the context of the + # client. Is used by all clients that want to provide + # data to PipeWire. + { name = libpipewire-module-client-node } + + # Allows creating devices that run in the context of the + # client. Is used by the session manager. + { name = libpipewire-module-client-device } + + # Makes a factory for wrapping nodes in an adapter with a + # converter and resampler. + { name = libpipewire-module-adapter } + + # Allows applications to create metadata objects. It creates + # a factory for Metadata objects. + { name = libpipewire-module-metadata } + + # Provides factories to make session manager objects. + { name = libpipewire-module-session-manager } +] + +session.modules = { + # These are the modules that are enabled when a file with + # the key name is found in the media-session.d config directory. + # the default bundle is always enabled. + + default = [ + flatpak # manages flatpak access + portal # manage portal permissions + #v4l2 # video for linux udev detection - disabled for PP + #libcamera # libcamera udev detection + suspend-node # suspend inactive nodes + policy-node # configure and link nodes + #metadata # export metadata API + #default-nodes # restore default nodes + #default-profile # restore default profiles + #default-routes # restore default route + #streams-follow-default # move streams when default changes + #alsa-seq # alsa seq midi support + #alsa-monitor # alsa udev detection + #bluez5 # bluetooth support + #bluez5-autoswitch # automatic bluetooth HSP/HFP profile switch + #restore-stream # restore stream settings + #logind # systemd-logind seat support + ] + with-audio = [ + metadata + default-nodes + default-profile + default-routes + alsa-seq + alsa-monitor + ] + with-alsa = [ + with-audio + ] + with-jack = [ + with-audio + ] + with-pulseaudio = [ + with-audio + bluez5 + bluez5-autoswitch + logind + restore-stream + streams-follow-default + ] +} diff --git a/app-mobilephone/pinephone-meta/files/org.freedesktop.ModemManager1.pkla b/app-mobilephone/pinephone-meta/files/org.freedesktop.ModemManager1.pkla new file mode 100644 index 0000000..4e43682 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/org.freedesktop.ModemManager1.pkla @@ -0,0 +1,9 @@ +[ModemManager Permissions] +Identity=unix-group:dialout +Action=org.freedesktop.ModemManager1.* +# We want no here but need to fix +# https://source.puri.sm/Librem5/phosh/issues/34 +# first +ResultAny=yes +ResultInactive=yes +ResultActive=yes diff --git a/app-mobilephone/pinephone-meta/files/org.gnome.Extensions.desktop b/app-mobilephone/pinephone-meta/files/org.gnome.Extensions.desktop new file mode 100644 index 0000000..0d6740f --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/org.gnome.Extensions.desktop @@ -0,0 +1,129 @@ +[Desktop Entry] +Type=Application +Name[bn_IN]=এক্সটেনশনগুলি +Name[ca]=Extensions +Name[cs]=Rozšíření +Name[da]=Udvidelser +Name[de]=Erweiterungen +Name[el]=Επεκτάσεις +Name[en_GB]=Extensions +Name[eo]=Etendaĵoj +Name[es]=Extensiones +Name[eu]=Hedapenak +Name[fa]=افزونه‌ها +Name[fi]=Laajennukset +Name[fr]=Extensions +Name[fur]=Estensions +Name[gl]=Extensións +Name[he]=הרחבות +Name[hr]=Proširenja +Name[hu]=Kiterjesztések +Name[id]=Ekstensi +Name[it]=Estensioni +Name[ja]=拡張機能 +Name[kab]=Isiɣzaf +Name[kk]=Кеңейтулер +Name[ko]=확장 +Name[lt]=Plėtiniai +Name[lv]=Paplašinājumi +Name[mjw]=Extensions +Name[nb]=Utvidelser +Name[nl]=Uitbreidingen +Name[os]=Уӕлӕмхасӕнтӕ +Name[pa]=ਇਕਸਟੈਸ਼ਨ +Name[pl]=Rozszerzenia +Name[pt]=Extensões +Name[pt_BR]=Extensões +Name[ro]=Extensii +Name[ru]=Расширения +Name[sk]=Rozšírenia +Name[sl]=Razširitve lupine +Name[sr]=Проширења +Name[sv]=Tillägg +Name[tr]=Uzantılar +Name[uk]=Розширення +Name[zh_CN]=扩展 +Name[zh_TW]=擴充套件 +Name=Extensions +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! +Icon=org.gnome.Extensions +Comment[af]=Stel GNOME Shell-uitbreidings op +Comment[an]=Configurar as extensions de GNOME Shell +Comment[ar]=اضبط امتدادات صدفة جنوم +Comment[as]=GNOME শ্বেল সম্প্ৰসাৰনসমূহ সংৰূপণ কৰক +Comment[be]=Настройкі пашырэнняў абалонкі GNOME +Comment[bg]=Настройки на разширенията на обвивката +Comment[bn_IN]=GNOME সেল এক্সটেনশন কনফিগার করুন +Comment[bs]=Podesi GNOME Shell proširenja +Comment[ca]=Configureu les extensions del GNOME Shell +Comment[ca@valencia]=Configureu les extensions del GNOME Shell +Comment[ckb]=ڕێکخستنی زیادکراوەکانی گنۆم شێڵ +Comment[cs]=Nastavit rozšíření pro GNOME Shell +Comment[da]=Konfigurér GNOME Shell-udvidelser +Comment[de]=GNOME-Shell-Erweiterungen einrichten +Comment[el]=Ρύθμιση επεκτάσεων του GNOME Shell +Comment[en_GB]=Configure GNOME Shell Extensions +Comment[eo]=Agordi GNOME-ŝelajn kromprogramojn +Comment[es]=Configurar las extensiones de GNOME Shell +Comment[et]=GNOME Shelli laienduste seadistamine +Comment[eu]=Konfiguratu GNOME Shell-eko gehigarriak +Comment[fa]=پیکربندی افزونه‌های پوستهٔ گنوم +Comment[fi]=Hallitse Gnome Shell -laajennuksia +Comment[fr]=Configurer les extensions Shell de GNOME +Comment[fur]=Configure lis estensions di GNOME Shell +Comment[ga]=Cumraigh Eisínteachtaí GNOME Shell +Comment[gd]=Rèitich leudachain Slige GNOME +Comment[gl]=Configure as extensións de GNOME Shell +Comment[gu]=GNOME Shell ઍક્સટેન્શનને રૂપરેખાંકિત કરો +Comment[he]=הגדרת הרחבות GNOME Shell +Comment[hi]=गनोम शेल एक्सटेंशन विन्यस्त करें +Comment[hr]=Podesi proširenja GNOME ljuske +Comment[hu]=GNOME Shell kiterjesztések beállítása +Comment[ia]=Configurar le extensiones GNOME Shell +Comment[id]=Konfigurasi Ekstensi GNOME Shell +Comment[is]=Stilla GNOME Shell Extension skeljarviðbætur +Comment[it]=Configura le estensioni di GNOME Shell +Comment[ja]=GNOME Shell 拡張機能の設定を行います +Comment[kk]=GNOME Shell кеңейтулерін баптау +Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ផ្នែក​បន្ថែម​របស់ GNOME សែល +Comment[kn]=GNOME ಶೆಲ್ ಎಕ್ಸ‍ಟೆನ್ಶನ್ಸ್ ಅನ್ನು ಸಂರಚಿಸಿ +Comment[ko]=그놈 셸 확장을 설정합니다 +Comment[ky]=GNOME Shell кеңейтмелерин ырастоо +Comment[lt]=Konfigūruoti GNOME Shell plėtinius +Comment[lv]=Konfigurēt GNOME Shell paplašinājumus +Comment[ml]=ഗ്നോം ഷെല്‍ എക്സ്റ്റെന്‍ഷനുകള്‍ ക്രമീകരിയ്ക്കുക +Comment[mr]=GNOME शेल एक्सटेंशन्स् संरचीत करा +Comment[ms]=Konfigur Sambungan-Sambungan Shell GNOME +Comment[nb]=Sett opp utvidelser for GNOME Shell +Comment[ne]=जिनोम सेल विस्तारहरू कन्फिगर +Comment[nl]=Gnome Shell-uitbreidingen configureren +Comment[oc]=Configurar las extensions GNOME Shell +Comment[or]=GNOME ସେଲ ଅନୁଲଗ୍ନଗୁଡ଼ିକ +Comment[pa]=ਗਨੋਮ ਸ਼ੈਲ ਇਕਸਟੈਸ਼ਨ ਸੰਰਚਨਾ +Comment[pl]=Konfiguracja rozszerzeń powłoki GNOME +Comment[pt]=Configurar o Extensões à interface GNOME +Comment[pt_BR]=Configure extensões do GNOME Shell +Comment[ro]=Configurarea extensiilor pentru Vizualizatorul activităților GNOME +Comment[ru]=Настроить расширения GNOME Shell +Comment[sk]=Nastavenie rozšírení pre Shell prostredia GNOME +Comment[sl]=Nastavitve razširitev lupine GNOME +Comment[sr]=Подесите проширења Гномове шкољке +Comment[sr@latin]=Podesite proširenja Gnomove školjke +Comment[sv]=Konfigurera tillägg för GNOME-skal +Comment[ta]=க்னோம் ஷெல் நீட்சிகளை வடிவமை +Comment[te]=గ్నోమ్ షెల్ పొడిగింతలను స్వరూపించు +Comment[tg]=Танзимоти васеъшавиҳои восити GNOME +Comment[th]=ตั้งค่าส่วนขยายต่างๆ ของเชลล์ GNOME +Comment[tr]=GNOME Kabuğu Uzantılarını Ayarla +Comment[ug]=گىنوم Shell كېڭەيتمىسىنى سەپلەش +Comment[uk]=Налаштувати розширення GNOME Shell +Comment[uz@cyrillic]=GNOME Shell кенгайтмаларини созлаш +Comment[vi]=Cấu hình phần mở rộng Hệ vỏ GNOME +Comment[zh_CN]=配置 GNOME Shell 扩展 +Comment[zh_HK]=設定 GNOME Shell 擴充功能 +Comment[zh_TW]=設定 GNOME Shell 擴充套件 +Comment=Configure GNOME Shell Extensions +Exec=/usr/bin/gnome-extensions-app +DBusActivatable=true +Categories=GNOME;GTK;Utility; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/org.gnome.Terminal.desktop b/app-mobilephone/pinephone-meta/files/org.gnome.Terminal.desktop new file mode 100644 index 0000000..026ced4 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/org.gnome.Terminal.desktop @@ -0,0 +1,27 @@ +[Desktop Entry] +Name=Terminal +Comment=Use the command line +Keywords=shell;prompt;command;commandline;cmd; +TryExec=gnome-terminal +Exec=gnome-terminal +Icon=utilities-terminal +Type=Application +X-GNOME-DocPath=gnome-terminal/index.html +X-GNOME-Bugzilla-Bugzilla=GNOME +X-GNOME-Bugzilla-Product=gnome-terminal +X-GNOME-Bugzilla-Component=BugBuddyBugs +X-GNOME-Bugzilla-Version=3.30.2 +Categories=GNOME;GTK;System;TerminalEmulator; +StartupNotify=true +X-GNOME-SingleWindow=false +OnlyShowIn=GNOME;Unity; +Actions=new-window;preferences; +NoDisplay=true + +[Desktop Action new-window] +Name=New Window +Exec=gnome-terminal --window + +[Desktop Action preferences] +Name=Preferences +Exec=gnome-terminal --preferences diff --git a/app-mobilephone/pinephone-meta/files/org.gtk.Demo4.desktop b/app-mobilephone/pinephone-meta/files/org.gtk.Demo4.desktop new file mode 100644 index 0000000..0322b6a --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/org.gtk.Demo4.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=GTK Demo +Comment=GTK code examples and demonstrations +Exec=gtk4-demo +Icon=org.gtk.Demo4 +Terminal=false +Type=Application +StartupNotify=true +Categories=Development;GTK; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/org.gtk.IconBrowser4.desktop b/app-mobilephone/pinephone-meta/files/org.gtk.IconBrowser4.desktop new file mode 100644 index 0000000..2f4e7e9 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/org.gtk.IconBrowser4.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Icon Browser +Comment=An application that shows themed icons +Exec=gtk4-icon-browser +Icon=org.gtk.IconBrowser4 +Terminal=false +Type=Application +StartupNotify=true +Categories=Development;GTK; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/org.gtk.PrintEditor4.desktop b/app-mobilephone/pinephone-meta/files/org.gtk.PrintEditor4.desktop new file mode 100644 index 0000000..87f5799 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/org.gtk.PrintEditor4.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Print Editor +Comment=A simple editor demonstrating GTK printing +Exec=gtk4-print-editor %f +Icon=org.gtk.PrintEditor4.Devel +Terminal=false +Type=Application +StartupNotify=true +Categories=Development;GTK; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/org.gtk.WidgetFactory4.desktop b/app-mobilephone/pinephone-meta/files/org.gtk.WidgetFactory4.desktop new file mode 100644 index 0000000..c91544f --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/org.gtk.WidgetFactory4.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Widget Factory +Comment=A showcase for GTK widgets, designed for testing themes. +Exec=gtk4-widget-factory +Icon=org.gtk.WidgetFactory4 +Terminal=false +Type=Application +StartupNotify=true +Categories=Development;GTK; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/packagekit-rm-lock.service b/app-mobilephone/pinephone-meta/files/packagekit-rm-lock.service new file mode 100644 index 0000000..2d46502 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/packagekit-rm-lock.service @@ -0,0 +1,10 @@ +[Unit] +Description=db.lck workaround before upgrading the system +After=system-update-pre.target +Before=system-update.target +DefaultDependencies=no +ConditionPathExists=/var/lib/pacman/db.lck + +[Service] +Type=oneshot +ExecStart=/bin/rm /var/lib/pacman/db.lck diff --git a/app-mobilephone/pinephone-meta/files/phosh-renice.service b/app-mobilephone/pinephone-meta/files/phosh-renice.service new file mode 100644 index 0000000..1d5604c --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/phosh-renice.service @@ -0,0 +1,12 @@ +[Unit] +Description=Phosh Priority Hack +After=phosh.service +Requires=phosh.service + +[Service] +TimeoutStartSec=0 +Restart=on-failure +ExecStart=/usr/bin/bash /usr/bin/phosh_renice + +[Install] +WantedBy=multi-user.target diff --git a/app-mobilephone/pinephone-meta/files/phosh_renice.sh b/app-mobilephone/pinephone-meta/files/phosh_renice.sh new file mode 100644 index 0000000..5e1b606 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/phosh_renice.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +until PIDS="$(pidof phoc) $(pidof phosh) $(pidof squeekboard) $(pidof calls) $(pidof ModemManager)" +do + sleep 1 +done + +renice -n -1 -p $PIDS diff --git a/app-mobilephone/pinephone-meta/files/pinephone-camera-setup.service b/app-mobilephone/pinephone-meta/files/pinephone-camera-setup.service new file mode 100644 index 0000000..eb42e15 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-camera-setup.service @@ -0,0 +1,9 @@ +[Unit] +Description=Configure PinePhone Camera + +[Service] +Type=oneshot +ExecStart=/usr/bin/pinephone-camera-setup.sh + +[Install] +WantedBy=multi-user.target diff --git a/app-mobilephone/pinephone-meta/files/pinephone-camera-setup.sh b/app-mobilephone/pinephone-meta/files/pinephone-camera-setup.sh new file mode 100644 index 0000000..b61474b --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-camera-setup.sh @@ -0,0 +1,40 @@ +#!/bin/sh + +CAMERA_DEV=`v4l2-ctl --list-devices | awk '/Video Capture/{getline; print $1}'` +TRIES=0 +while [ -z "$CAMERA_DEV" ]; do + if [ $TRIES -eq 10 ]; then + echo "No video capture device was initialized after 10 seconds. Make sure the kernel module is loaded" + exit 1 + fi + let "TRIES++" + echo "No video capture device is initialized, sleeping one second... ($TRIES)" + sleep 1 + CAMERA_DEV=`v4l2-ctl --list-devices | awk '/Video Capture/{getline; print $1}'` +done + +if [ ! -c "$CAMERA_DEV" ]; then + echo "$CAMERA_DEV is not a character device, quitting..." + exit 1 +fi + +for dir in /sys/class/video4linux/v4l-subdev*; do + if grep -q "ov5640" $dir/name; then + BACK_CAMERA=`cat $dir/name` + elif grep -q "gc2145" $dir/name; then + FRONT_CAMERA=`cat $dir/name` + fi +done + +# Configure camera +media-ctl -d $CAMERA_DEV --set-v4l2 "\"$BACK_CAMERA\":0[fmt:YUYV8_2X8/1280x720@1/30]" +media-ctl -d $CAMERA_DEV --set-v4l2 "\"$FRONT_CAMERA\":0[fmt:YUYV8_2X8/1280x720]" + +# Select camera +if [ "$1" = "front" ]; then + media-ctl -d $CAMERA_DEV --links "\"$BACK_CAMERA\":0->\"sun6i-csi\":0[0]" + media-ctl -d $CAMERA_DEV --links "\"$FRONT_CAMERA\":0->\"sun6i-csi\":0[1]" +else + media-ctl -d $CAMERA_DEV --links "\"$FRONT_CAMERA\":0->\"sun6i-csi\":0[0]" + media-ctl -d $CAMERA_DEV --links "\"$BACK_CAMERA\":0->\"sun6i-csi\":0[1]" +fi diff --git a/app-mobilephone/pinephone-meta/files/pinephone-manjaro-tweaks.install b/app-mobilephone/pinephone-meta/files/pinephone-manjaro-tweaks.install new file mode 100644 index 0000000..bfc07ba --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-manjaro-tweaks.install @@ -0,0 +1,51 @@ +msg() { + ALL_OFF="\e[1;0m" + BOLD="\e[1;1m" + GREEN="${BOLD}\e[1;32m" + local mesg=$1; shift + printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2 +} + +_configure_network() { + # Not enabled for now: https://gitlab.com/mobian1/issues/-/issues/232 + # Reload units so the umtp-responder override is taken into account + #systemctl daemon-reload + + # Enable tethering + #systemctl enable umtp-responder + #systemctl enable pinephone-usb-gadget + + # Try setting up USB networking directly; if it doesn't work (i.e. the NM + # connection file isn't created), then we're probably creating an image and + # need a systemd service running on first boot to setup USB networking + /usr/bin/pinephone-setup-usb-network.sh + if [ ! -e /etc/NetworkManager/system-connections/USB.nmconnection ]; then + systemctl enable pinephone-setup-usb-network + fi +} + +post_install() { + echo 'CHASSIS="handset"' > /etc/machine-info + msg "Enable USB-Networking" + _configure_network +} + +post_upgrade() { + if [[ "$(vercmp $2 20210320)" -lt 0 ]]; then + msg "Removing some unused files" + rm -f /etc/profile.d/gtk-app-wayland.sh + rm -f /etc/systemd/system/phosh.service deleted + rm -f /etc/systemd/system/phosh.service.bak + rm -f /etc/systemd/system/phosh.service.d/override.conf.bak + rm -f /usr/share/glib-2.0/schemas/000-gschema.override + rm -f /usr/share/lightdm/lightdm.conf.d/60-lightdm-autologin.conf + rm -f /usr/share/manjaro/applications/org.gnome.Cheese.desktop + fi + if [[ "$(vercmp $2 20210405)" -lt 0 ]]; then + msg "Setting chassis" + post_install + fi + if [[ "$(vercmp $2 20211001)" -lt 0 ]]; then + _configure_network + fi +} diff --git a/app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.service b/app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.service new file mode 100644 index 0000000..68ac3a2 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.service @@ -0,0 +1,14 @@ +[Unit] +Description=Setup USB networking +Requires=NetworkManager.service +After=NetworkManager.service +ConditionFirstBoot=yes + +[Service] +Type=oneshot +ExecStart=/usr/bin/pinephone-setup-usb-network.sh + +[Install] +WantedBy=multi-user.target + + diff --git a/app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.sh b/app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.sh new file mode 100644 index 0000000..136ef22 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-setup-usb-network.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +if [ ! -e /etc/NetworkManager/system-connections/USB.nmconnection ]; then + # Create network connection + nmcli connection add con-name USB \ + ifname usb0 \ + type ethernet \ + ip4 10.66.0.1/8 + + # Set priorities so it doesn't take precedence over WiFi/mobile connections + nmcli connection modify USB ipv4.route-metric 1500 + nmcli connection modify USB ipv4.dns-priority 150 + + # Share connection so it can be used for tethering + nmcli connection modify USB ipv4.method shared +fi diff --git a/app-mobilephone/pinephone-meta/files/pinephone-suspend-hook.sh b/app-mobilephone/pinephone-meta/files/pinephone-suspend-hook.sh new file mode 100644 index 0000000..6079752 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-suspend-hook.sh @@ -0,0 +1,59 @@ +#!/bin/bash +# PinePhone suspend / wakeup modem +# /usr/lib/systemd/system-sleep/pinephone-modem-suspend.sh + +# DTR is: +# - PL6/GPIO358 on BH (1.1) +# - PB2/GPIO34 on CE (1.2) + +# AP_READY is: +# - PL2/GPIO354 on BH (1.1) +# - PH7/GPIO231 on CE (1.2) + +LOGFILE=/var/log/pp-suspend.log + +if grep -q 1.1 /proc/device-tree/model +then + DTR=358 + AP_READY=354 +else + DTR=34 + AP_READY=231 +fi + +if [ ! -f ${LOGFILE} ]; then + touch ${LOGFILE} +fi + +prepare_suspend() { + # Enable URC caching + echo -ne 'AT+QCFG="urc/cache",1\r' > /dev/ttyS2 + + # Put modem in power saving mode + # Note: GPIO231 is WAKEUP_IN on BH and AP_READY on CE + # - BH: WAKEUP_IN must be high to enable power saving mode + # - CE: AP_READY (active low) must be high to indicate host sleep + # In both cases DTR (GPIO358) must be high to enable power saving mode + NOW=`date` + echo "$NOW Entering suspend" >> ${LOGFILE} + echo 1 > /sys/class/gpio/gpio${AP_READY}/value + echo 1 > /sys/class/gpio/gpio${DTR}/value + echo -ne 'AT+QSCLK=1\r' > /dev/ttyS2 +} + +resume_all() { + # Wake up modem + echo -ne 'AT+QSCLK=0\r' > /dev/ttyS2 + echo 0 > /sys/class/gpio/gpio${AP_READY}/value + echo 0 > /sys/class/gpio/gpio${DTR}/value + NOW=`date` + echo "$NOW Exiting suspend" >> ${LOGFILE} + + # Disable URC caching + echo -ne 'AT+QCFG="urc/cache",0\r' > /dev/ttyS2 +} + +case $1 in + pre) prepare_suspend ;; + post) resume_all ;; +esac diff --git a/app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.service b/app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.service new file mode 100644 index 0000000..c7abbb0 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.service @@ -0,0 +1,12 @@ +[Unit] +Description=Configure USB gadget +Before=umtp-responder.service + +[Service] +Type=oneshot +ExecStart=/usr/bin/pinephone-usb-gadget.sh setup +ExecStop=/usr/bin/pinephone-usb-gadget.sh reset +RemainAfterExit=yes + +[Install] +RequiredBy=umtp-responder.service diff --git a/app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.sh b/app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.sh new file mode 100644 index 0000000..169e2d2 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone-usb-gadget.sh @@ -0,0 +1,91 @@ +#!/bin/sh + +CONFIGFS=/sys/kernel/config/usb_gadget/g1 +USB_VENDORID="0x1D6B" # Linux Foundation +USB_PRODUCTID="0x0104" # Multifunction composite gadget +USB_MANUF="Manjaro" +USB_PRODUCT="Manjaro" +USB_SERIAL=`cat /etc/machine-id` + +setup() { + # Don't do anything if the USB gadget already exists + [ -d $CONFIGFS ] && exit 0 + + # Required to make a composite gadget + modprobe libcomposite + + # Create all required directories + echo "Creating the USB gadget..." + mkdir -p $CONFIGFS + mkdir -p $CONFIGFS/strings/0x409 + mkdir -p $CONFIGFS/configs/c.1 + mkdir -p $CONFIGFS/configs/c.1/strings/0x409 + + # Setup IDs and strings + echo "Setting up gadget strings..." + echo $USB_VENDORID > $CONFIGFS/idVendor + echo $USB_PRODUCTID > $CONFIGFS/idProduct + echo $USB_MANUF > $CONFIGFS/strings/0x409/manufacturer + echo $USB_PRODUCT > $CONFIGFS/strings/0x409/product + echo $USB_SERIAL > $CONFIGFS/strings/0x409/serialnumber + + # Create ECM (ethernet) function + echo "Adding ECM function..." + mkdir $CONFIGFS/functions/ecm.usb0 + + # TODO: create RNDIS function for Windows compatibility + + # Create MTP using FunctionFS + echo "Adding MTP function using FunctionFS..." + mkdir $CONFIGFS/functions/ffs.mtp + + # Create configuration + echo "Creating gadget configuration..." + echo "Ethernet + MTP" > $CONFIGFS/configs/c.1/strings/0x409/configuration + ln -s $CONFIGFS/functions/ecm.usb0 $CONFIGFS/configs/c.1 + ln -s $CONFIGFS/functions/ffs.mtp $CONFIGFS/configs/c.1 + + # Mount the MTP FunctionFS + echo "Mounting FunctionFS..." + mkdir -p /dev/ffs-mtp + mount -t functionfs mtp /dev/ffs-mtp +} + +start() { + echo "Enabling the USB gadget..." + sleep 1 + UDC=`ls /sys/class/udc` + echo "$UDC" > $CONFIGFS/UDC +} + +reset() { + echo "Removing the USB gadget..." + + # Remove USB gadget + if [ -d $CONFIGFS ]; then + echo "Removing gadget configuration..." + rm $CONFIGFS/configs/c.1/ffs.mtp + rm $CONFIGFS/configs/c.1/ecm.usb0 + rmdir $CONFIGFS/configs/c.1/strings/0x409/ + rmdir $CONFIGFS/configs/c.1/ + rmdir $CONFIGFS/functions/ffs.mtp + rmdir $CONFIGFS/functions/ecm.usb0 + rmdir $CONFIGFS/strings/0x409/ + rmdir $CONFIGFS + fi + + # Unmount FunctionFS and delete its mount point + if [ -d /dev/ffs-mtp ]; then + echo "Unmounting FunctionFS..." + umount /dev/ffs-mtp + rmdir /dev/ffs-mtp + fi +} + + +case "$1" in + reset) reset ;; + setup) setup ;; + start) start ;; + *) ;; +esac diff --git a/app-mobilephone/pinephone-meta/files/pinephone.pa b/app-mobilephone/pinephone-meta/files/pinephone.pa new file mode 100644 index 0000000..d51743d --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/pinephone.pa @@ -0,0 +1,7 @@ +.include /etc/pulse/default.pa + +# duck volume of audio streams when notification or accessibility sounds are played +load-module module-role-ducking trigger_roles=event,a11y ducking_roles=no_role,music,video,game global=true + +# automatically switch default source/sink to a new device (Bluetooth, USB) +load-module module-switch-on-connect diff --git a/app-mobilephone/pinephone-meta/files/qv4l2.desktop b/app-mobilephone/pinephone-meta/files/qv4l2.desktop new file mode 100644 index 0000000..7e048e1 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/qv4l2.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=Qt V4L2 test Utility +Name[pt]=Utilitário de teste V4L2 +Comment=Allow testing Video4Linux devices +Comment[pt]=Permite testar dispositivos Video4Linux +Exec=qv4l2 +Icon=qv4l2 +Terminal=false +Type=Application +Categories=AudioVideo; +Keywords=video;grabber;V4L; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/qvidcap.desktop b/app-mobilephone/pinephone-meta/files/qvidcap.desktop new file mode 100644 index 0000000..49507c7 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/qvidcap.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Qt V4L2 video capture utility +Comment=Viewer for video capture +Exec=qvidcap +Icon=qvidcap +Terminal=false +Type=Application +Categories=AudioVideo; +Keywords=video;grabber;V4L; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/telegramdesktop.desktop b/app-mobilephone/pinephone-meta/files/telegramdesktop.desktop new file mode 100644 index 0000000..f6529dd --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/telegramdesktop.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Name=Telegram +Comment=Official desktop version of Telegram messaging app +TryExec=telegram-desktop +Exec=telegram-desktop -scale 90 -- %u +Icon=telegram +Terminal=false +StartupWMClass=TelegramDesktop +Type=Application +Categories=Chat;Network;InstantMessaging;Qt; +MimeType=x-scheme-handler/tg; +Keywords=tg;chat;im;messaging;messenger;sms;tdesktop; +X-GNOME-UsesNotifications=true diff --git a/app-mobilephone/pinephone-meta/files/umtp-responder-manjaro.conf b/app-mobilephone/pinephone-meta/files/umtp-responder-manjaro.conf new file mode 100644 index 0000000..1a078fa --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/umtp-responder-manjaro.conf @@ -0,0 +1,57 @@ +# +# uMTP Responder config file +# Must be copied to /etc/umtprd/umtprd.conf +# + +# Loop / daemon mode +# Set to 1 to don't shutdown uMTPrd when the link is disconnected. + +loop_on_disconnect 1 + +#storage command : Create add a storage entry point. Up to 16 entry points supported +#Syntax : storage "PATH" "NAME" + +storage "/" "System" "ro" +storage "/home" "Home" "rw" +storage "/media/sdcard" "SD Card" "rw" + +# Set the USB manufacturer string + +manufacturer "Manjaro" + +# Set the USB Product string + +product "Manjaro" + +# Set the USB Serial number string + +serial "01234567" + +# Set the USB interface string. Should be always "MTP" + +interface "MTP" + +# Set the USB Vendor ID, Product ID and class + +usb_vendor_id 0x1D6B # Linux Foundation +usb_product_id 0x0104 # Multifunction composite gadget +usb_class 0x6 # Image +usb_subclass 0x1 # Still Imaging device +usb_protocol 0x1 # + +# Device version + +usb_dev_version 0x3008 + +# +# USB gadget device driver path +# + +usb_functionfs_mode 0x1 + +usb_dev_path "/dev/ffs-mtp/ep0" +usb_epin_path "/dev/ffs-mtp/ep1" +usb_epout_path "/dev/ffs-mtp/ep2" +usb_epint_path "/dev/ffs-mtp/ep3" + +usb_max_packet_size 0x200 diff --git a/app-mobilephone/pinephone-meta/files/umtp-responder-override.conf b/app-mobilephone/pinephone-meta/files/umtp-responder-override.conf new file mode 100644 index 0000000..0e54e80 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/umtp-responder-override.conf @@ -0,0 +1,5 @@ +[Service] +ExecStart= +ExecStart=/usr/bin/umtprd -conf /etc/umtprd/umtp-responder-manjaro.conf +ExecStartPost=/usr/bin/pinephone-usb-gadget.sh start +Restart=always diff --git a/app-mobilephone/pinephone-meta/files/vim.desktop b/app-mobilephone/pinephone-meta/files/vim.desktop new file mode 100644 index 0000000..9fcf878 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/vim.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Vim +GenericName=Text Editor +TryExec=vim +Exec=vim %F +Terminal=true +Type=Application +Icon=gvim +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/xgps.desktop b/app-mobilephone/pinephone-meta/files/xgps.desktop new file mode 100644 index 0000000..2bc40a8 --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/xgps.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=xgps +GenericName=GPS information +Comment=Display GPS information from a gpsd daemon +Exec=xgps +Icon=/usr/local/share/gpsd/icons/gpsd-logo.png +Terminal=false +Type=Application +Categories=Application;Maps;Utility; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/files/xgpsspeed.desktop b/app-mobilephone/pinephone-meta/files/xgpsspeed.desktop new file mode 100644 index 0000000..6b714ca --- /dev/null +++ b/app-mobilephone/pinephone-meta/files/xgpsspeed.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=xgpsspeed +GenericName=GPS speedometer +Comment=Display GPS speed from a gpsd daemon +Exec=xgpsspeed +Icon=/usr/local/share/gpsd/icons/gpsd-logo.png +Terminal=false +Type=Application +Categories=Application;Maps;Utility; +NoDisplay=true diff --git a/app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild b/app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild deleted file mode 100644 index 0c5b368..0000000 --- a/app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd udev - -DESCRIPTION="Meta-package for installing phosh on pinephone" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~arm64" -IUSE="+eg25-manager" - -RDEPEND=" - app-mobilephone/pinephone-modem-scripts - app-mobilephone/usb-tethering - gnome-extra/iio-sensor-proxy - media-libs/alsa-ucm-pinephone - media-tv/v4l-utils - net-misc/eg25-manager - sys-firmware/pinephone-firmware - x11-themes/sound-theme-librem5 -" diff --git a/app-mobilephone/pinephone-meta/pinephone-meta-0.3.ebuild b/app-mobilephone/pinephone-meta/pinephone-meta-0.3.ebuild new file mode 100644 index 0000000..6682eef --- /dev/null +++ b/app-mobilephone/pinephone-meta/pinephone-meta-0.3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd udev + +DESCRIPTION="Meta-package for installing phosh on pinephone" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~arm64" +IUSE="+eg25-manager" + +RDEPEND=" + app-mobilephone/pinephone-modem-scripts + app-mobilephone/usb-tethering + gnome-extra/iio-sensor-proxy + media-libs/alsa-ucm-pinephone + media-tv/v4l-utils + net-misc/eg25-manager + sys-firmware/pinephone-firmware + x11-themes/sound-theme-librem5 +" + +src_install() { + udev_dorules "${FILESDIR}/10-proximity.rules" + udev_dorules "${FILESDIR}/10-pinephone-brightness.rules" + udev_dorules "${FILESDIR}/20-pinephone-led.rules" + udev_dorules "${FILESDIR}/90-usb-gadget-managed.rules" + + insinto /etc/gtk-3.0/ + newins "${FILESDIR}/gtk3-settings.ini" "settings.ini" + + insinto /etc/profile.d + doins "${FILESDIR}/manjaro-tweaks.sh" + doins "${FILESDIR}/gsk-renderer-gl.sh" + + insinto /usr/share/glib-2.0/schemas + doins "${FILESDIR}/90_manjaro.gschema.override" + + insinto /usr/lib64/firefox/ + doins "${FILESDIR}/manjaro.cfg" + + insinto /usr/lib64/firefox/defaults/pref + doins "${FILESDIR}/autoconfig.js" + + insinto /usr/share/feedbackd/themes + doins "${FILESDIR}/manjaro.json" + + insinto /var/lib/polkit-1/localauthority/10-vendor.d + doins "${FILESDIR}/org.freedesktop.ModemManager1.pkla" + + insinto /etc/systemd/logind.conf.d + doins "${FILESDIR}/ignore-power-key.conf" + + insinto /etc/systemd/journald.conf.d/ + doins "${FILESDIR}/00-journal-size.conf" + + insinto /etc/dconf/profile/ + newins "${FILESDIR}/dconf-profile-manjaro" "user" + doins "${FILESDIR}/gsk-renderer-gl.sh" + + insinto /etc/dconf/db/manjaro.d + doins "${FILESDIR}/01-phoc-scaling" + + insinto /etc/pulse + doins "${FILESDIR}/pinephone.pa" + + exeinto /etc/pulse/daemon.conf.d + doins "${FILESDIR}/90-pinephone.conf" + + newbin "${FILESDIR}/phosh_renice.sh" phosh_renice + + systemd_dounit ${FILESDIR}/pinephone-camera-setup.service + systemd_dounit ${FILESDIR}/phosh-renice.service + + systemd_dounit ${FILESDIR}/pinephone-setup-usb-network.service + systemd_dounit ${FILESDIR}/pinephone-usb-gadget.service + + insinto /etc/umtprd + doins ${FILESDIR}/umtp-responder-manjaro.conf + insinto /lib/systemd/system/umtp-responder.service.d + newins ${FILESDIR}/umtp-responder-override.conf override.conf + + dobin ${FILESDIR}/pinephone-usb-gadget.sh + dobin ${FILESDIR}/pinephone-setup-usb-network.sh +} + diff --git a/sys-kernel/pinephone-sources/pinephone-sources-5.14.2.ebuild b/sys-kernel/pinephone-sources/pinephone-sources-5.14.2.ebuild deleted file mode 100644 index 8b08e6e..0000000 --- a/sys-kernel/pinephone-sources/pinephone-sources-5.14.2.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -K_NOUSENAME="yes" -K_NOSETEXTRAVERSION="yes" -K_SECURITY_UNSUPPORTED="1" -ETYPE="sources" -inherit kernel-2 -detect_version - -KEYWORDS="~arm64" -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - - -DEPEND="${RDEPEND} - >=sys-devel/patch-2.7.5" - -DESCRIPTION="Full sources for the Linux kernel, with megi's patch for pinephone" - -MEGI_PATCH_URI="https://xff.cz/kernels/${PV:0:4}/patches/all.patch" -SRC_URI="${KERNEL_URI} ${MEGI_PATCH_URI} -> all-${PV}.patch" - -PATCHES=( - ${DISTDIR}/all-${PV}.patch - ${FILESDIR}/enable-hdmi-output-pinetab.patch - ${FILESDIR}/enable-jack-detection-pinetab.patch - ${FILESDIR}/pinetab-bluetooth.patch - ${FILESDIR}/pinetab-accelerometer.patch - ${FILESDIR}/dts-pinephone-drop-modem-power-node.patch - ${FILESDIR}/media-ov5640-Implement-autofocus.patch - ${FILESDIR}/0011-dts-pinetab-hardcode-mmc-numbers.patch - ${FILESDIR}/0107-quirk-kernel-org-bug-210681-firmware_rome_error.patch - ${FILESDIR}/0177-leds-gpio-make-max_brightness-configurable.patch - ${FILESDIR}/panic-led-5.12.patch - - # keyboard - ${FILESDIR}/d1d849cae12db71aa81ceedaedc1b17a34790367.patch - ${FILESDIR}/2423aac2d6f5db55da99e11fd799ee66fe6f54c6.patch - - # LRU - ${FILESDIR}/Multigenerational-LRU-Framework.patch -) - -src_prepare() { - default - eapply_user -} - -pkg_postinst() { - kernel-2_pkg_postinst - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" - einfo "To build the kernel use the following command:" - einfo "make Image Image.gz modules" - einfo "make DTC_FLAGS="-@" dtbs" - einfo "make install; make modules_intall; make dtbs_install" - einfo "If you use kernel config coming with this ebuild, don't forget to also copy dracut-pp.conf to /etc/dracut.conf.d/" - einfo "to make sure proper kernel modules are loaded into initramfs" - einfo "if you want to cross compile pinephone kernel on amd64 host, follow the https://wiki.gentoo.org/wiki/Cross_build_environment" - einfo "to setup cross toolchain environment, then create a xmake wrapper like the following, and replace make with xmake in above commands" - einfo "#!/bin/sh" - einfo "exec make ARCH='arm64' CROSS_COMPILE='aarch64-unknown-linux-gnu-' INSTALL_MOD_PATH='${SYSROOT}' '$@'" -} - -pkg_postrm() { - kernel-2_pkg_postrm -}