Cleaned up phinephone stuff

This commit is contained in:
Gerben Jan Dijkman 2023-10-25 12:09:36 +02:00
parent c521c14af6
commit 4ce0aa6bca
204 changed files with 1 additions and 23136 deletions

View File

@ -1,2 +0,0 @@
[Journal]
SystemMaxUse=64M

View File

@ -1,8 +0,0 @@
[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

View File

@ -1 +0,0 @@
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'"

View File

@ -1,5 +0,0 @@
# 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"

View File

@ -1,11 +0,0 @@
# 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"

View File

@ -1,4 +0,0 @@
default-script-file = /etc/pulse/pinephone.pa
default-sample-rate = 48000
alternate-sample-rate = 8000
realtime-scheduling = no

View File

@ -1,3 +0,0 @@
# 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"

View File

@ -1,47 +0,0 @@
[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']

View File

@ -1,3 +0,0 @@
## 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"

View File

@ -1,103 +0,0 @@
[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

View File

@ -1,13 +0,0 @@
[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

View File

@ -1,14 +0,0 @@
[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

View File

@ -1,2 +0,0 @@
pref("general.config.filename", "manjaro.cfg");
pref("general.config.obscure_value", 0);

View File

@ -1,87 +0,0 @@
[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

View File

@ -1,80 +0,0 @@
[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

View File

@ -1,80 +0,0 @@
[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

View File

@ -1,8 +0,0 @@
[Desktop Entry]
Name=dconf editor
Keywords=settings;configuration;
Exec=dconf-editor
Terminal=false
Type=Application
StartupNotify=true
NoDisplay=true

View File

@ -1,2 +0,0 @@
user-db:user
system-db:manjaro

View File

@ -1,2 +0,0 @@
#!/bin/sh
export GSK_RENDERER=ngl

View File

@ -1,2 +0,0 @@
[Settings]
gtk-application-prefer-dark-theme=1

View File

@ -1,2 +0,0 @@
[Login]
HandlePowerKey=ignore

View File

@ -1,11 +0,0 @@
# 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

View File

@ -1 +0,0 @@
CHASSIS="handset"

View File

@ -1,19 +0,0 @@
#!/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}"

View File

@ -1,83 +0,0 @@
// 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);

View File

@ -1,174 +0,0 @@
{
"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
}
]
}
]
}

View File

@ -1,115 +0,0 @@
# 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 = <module-name>
# [ args = { <key> = <value> ... } ]
# [ 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
]
}

View File

@ -1,9 +0,0 @@
[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

View File

@ -1,129 +0,0 @@
[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]=Cu hình phn m rng 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

View File

@ -1,27 +0,0 @@
[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

View File

@ -1,10 +0,0 @@
[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

View File

@ -1,10 +0,0 @@
[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

View File

@ -1,10 +0,0 @@
[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

View File

@ -1,10 +0,0 @@
[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

View File

@ -1,10 +0,0 @@
[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

View File

@ -1,12 +0,0 @@
[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

View File

@ -1,8 +0,0 @@
#!/bin/sh
until PIDS="$(pidof phoc) $(pidof phosh) $(pidof squeekboard) $(pidof calls) $(pidof ModemManager)"
do
sleep 1
done
renice -n -1 -p $PIDS

View File

@ -1,9 +0,0 @@
[Unit]
Description=Configure PinePhone Camera
[Service]
Type=oneshot
ExecStart=/usr/bin/pinephone-camera-setup.sh
[Install]
WantedBy=multi-user.target

View File

@ -1,40 +0,0 @@
#!/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

View File

@ -1,51 +0,0 @@
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
}

View File

@ -1,14 +0,0 @@
[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

View File

@ -1,16 +0,0 @@
#!/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

View File

@ -1,59 +0,0 @@
#!/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

View File

@ -1,12 +0,0 @@
[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

View File

@ -1,91 +0,0 @@
#!/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

View File

@ -1,7 +0,0 @@
.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

View File

@ -1,12 +0,0 @@
[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

View File

@ -1,10 +0,0 @@
[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

View File

@ -1,14 +0,0 @@
[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

View File

@ -1,57 +0,0 @@
#
# 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

View File

@ -1,5 +0,0 @@
[Service]
ExecStart=
ExecStart=/usr/bin/umtprd -conf /etc/umtprd/umtp-responder-manjaro.conf
ExecStartPost=/usr/bin/pinephone-usb-gadget.sh start
Restart=always

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=Vim
GenericName=Text Editor
TryExec=vim
Exec=vim %F
Terminal=true
Type=Application
Icon=gvim
NoDisplay=true

View File

@ -1,11 +0,0 @@
[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

View File

@ -1,11 +0,0 @@
[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

View File

@ -1,11 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
<use>
<flag name="eg25-manager">Enable eg25 modem manager</flag>
</use>
</pkgmetadata>

View File

@ -1,89 +0,0 @@
# Copyright 1999-2022 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"
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
x11-themes/sound-theme-librem5
app-misc/geoclue
"
S=${WORKDIR}
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
}

View File

@ -1,5 +0,0 @@
SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="$attr{bInterfaceNumber}"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="01", SYMLINK+="EG25.NMEA", MODE="0660"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="02", SYMLINK+="EG25.AT", MODE="0660"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="2c7c", ATTRS{idProduct}=="0125", ENV{.LOCAL_ifNum}=="03", SYMLINK+="EG25.MODEM", MODE="0660"

View File

@ -1,9 +0,0 @@
[Unit]
Description=Setup modem
[Service]
Type=simple
ExecStart=/usr/sbin/pinephone-modem-setup.sh
[Install]
WantedBy=graphical.target

View File

@ -1,27 +0,0 @@
#!/bin/sh
log() {
echo "$@" | logger -t "manjaro:modem-setup"
}
QMBNCFG_CONFIG="1"
DEV="/dev/EG25.AT"
while [ ! -e $DEV ]; do sleep 0.2 ; done
# Read current config
QMBNCFG_ACTUAL_CONFIG=$(echo 'AT+QMBNCFG="AutoSel"' | atinout - $DEV -)
if echo $QMBNCFG_ACTUAL_CONFIG | grep -q $QMBNCFG_CONFIG
then
log "Modem already configured"
exit 0
fi
# Configure VoLTE auto selecting profile
RET=$(echo "AT+QMBNCFG=\"AutoSel\",$QMBNCFG_CONFIG" | atinout - $DEV -)
if ! echo $RET | grep -q OK
then
log "Failed to enable VoLTE profile auto selecting: $RET"
exit 1
fi

View File

@ -1,35 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit udev systemd git-r3
DESCRIPTION="A collection of scripts for setting up the PinePhone's modem"
HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/pinephone-modem-scripts"
EGIT_REPO_URI="https://gitlab.manjaro.org/manjaro-arm/packages/community/pinephone/pinephone-modem-scripts"
EGIT_BRANCH=eg25-manager
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~arm64"
IUSE="ofono"
DEPEND=" net-dialup/atinout
sci-geosciences/gpsd
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
# fix path
default
sed -e s/bin/sbin/g -i gpsd-pinephone.service
}
src_install() {
udev_dorules ${FILESDIR}/*.rules
systemd_dounit ${FILESDIR}/*.service
dobin ${FILESDIR}/pinephone-modem-setup.sh
}

View File

@ -1,5 +0,0 @@
option domain-name-servers 8.8.8.8, 8.8.4.4;
option subnet-mask 255.255.255.0;
subnet 10.15.19.0 netmask 255.255.255.0 {
range 10.15.19.100 10.15.19.254;
}

View File

@ -1,9 +0,0 @@
[Service]
PIDFile=/run/danctnix/dhcpd4.pid
# We need to fix this ASAP, dhcpd won't run with dhcp user, this needs
# to be investigated.
User=root
ExecStart=
ExecStart=/usr/bin/dhcpd -4 -q -cf /etc/danctnix/dhcpd.conf -pf /run/danctnix/dhcpd4.pid -lf /run/danctnix/dhcpd4.lease

View File

@ -1,2 +0,0 @@
d /run/danctnix 0755 root root
f /run/danctnix/dhcpd4.lease 0644 root root

View File

@ -1,83 +0,0 @@
#!/bin/sh
# ConfigFS script is taken from postmarketOS
# https://postmarketos.org
# These are very important, it defines what is the device:
deviceinfo_usb_idVendor="0x1F3A"
deviceinfo_usb_idProduct="0xEFE8"
deviceinfo_manufacturer="DanctNIX"
deviceinfo_name="Arch Linux Mobile"
# We'll let them know that this device is Arch ARM.
deviceinfo_usb_serialnumber="Arch"
setup_usb_network_configfs() {
# See: https://www.kernel.org/doc/Documentation/usb/gadget_configfs.txt
CONFIGFS=/sys/kernel/config/usb_gadget/
if ! [ -e "$CONFIGFS" ]; then
echo " $CONFIGFS does not exist, skipping configfs usb gadget"
return
fi
# Default values for USB-related deviceinfo variables
usb_idVendor="${deviceinfo_usb_idVendor:-0x18D1}" # default: Google Inc.
usb_idProduct="${deviceinfo_usb_idProduct:-0xD001}" # default: Nexus 4 (fastboot)
usb_serialnumber="${deviceinfo_usb_serialnumber:-postmarketOS}"
usb_rndis_function="${deviceinfo_usb_rndis_function:-rndis.usb0}"
echo " Setting up an USB gadget through configfs"
# Create an usb gadet configuration
mkdir $CONFIGFS/g1 || echo " Couldn't create $CONFIGFS/g1"
echo "$usb_idVendor" > "$CONFIGFS/g1/idVendor"
echo "$usb_idProduct" > "$CONFIGFS/g1/idProduct"
# Create english (0x409) strings
mkdir $CONFIGFS/g1/strings/0x409 || echo " Couldn't create $CONFIGFS/g1/strings/0x409"
# shellcheck disable=SC2154
echo "$deviceinfo_manufacturer" > "$CONFIGFS/g1/strings/0x409/manufacturer"
echo "$usb_serialnumber" > "$CONFIGFS/g1/strings/0x409/serialnumber"
# shellcheck disable=SC2154
echo "$deviceinfo_name" > "$CONFIGFS/g1/strings/0x409/product"
# Create rndis function. The function can be named differently in downstream kernels.
mkdir $CONFIGFS/g1/functions/"$usb_rndis_function" \
|| echo " Couldn't create $CONFIGFS/g1/functions/$usb_rndis_function"
# https://github.com/RobertCNelson/boot-scripts/commit/714e162ba98cf3d2897e7fc95e951c6df15a7d0a
if [ -f $CONFIGFS/g1/functions/"$usb_rndis_function"/class ]; then
echo EF > $CONFIGFS/g1/functions/"$usb_rndis_function"/class
echo 04 > $CONFIGFS/g1/functions/"$usb_rndis_function"/subclass
echo 01 > $CONFIGFS/g1/functions/"$usb_rndis_function"/protocol
fi || echo "$CONFIGFS/g1/functions/$usb_rndis_function/class not found"
# Create configuration instance for the gadget
mkdir $CONFIGFS/g1/configs/c.1 \
|| echo " Couldn't create $CONFIGFS/g1/configs/c.1"
mkdir $CONFIGFS/g1/configs/c.1/strings/0x409 \
|| echo " Couldn't create $CONFIGFS/g1/configs/c.1/strings/0x409"
echo "rndis" > $CONFIGFS/g1/configs/c.1/strings/0x409/configuration \
|| echo " Couldn't write configration name"
# Link the rndis instance to the configuration
ln -s $CONFIGFS/g1/functions/"$usb_rndis_function" $CONFIGFS/g1/configs/c.1 \
|| echo " Couldn't symlink $usb_rndis_function"
# Check if there's an USB Device Controller
if [ -z "$(ls /sys/class/udc)" ]; then
echo " No USB Device Controller available"
return
fi
# Link the gadget instance to an USB Device Controller. This activates the gadget.
# See also: https://github.com/postmarketOS/pmbootstrap/issues/338
# shellcheck disable=SC2005
echo "$(ls /sys/class/udc)" > $CONFIGFS/g1/UDC || echo " Couldn't write UDC"
}
# And we go.
setup_usb_network_configfs
ip address add 10.15.19.82/24 dev usb0
ip link set usb0 up

View File

@ -1,12 +0,0 @@
# systemd service file for usb-tethering
[Unit]
Wants=dhcpd4.service
Description=USB Tethering
[Service]
Type=oneshot
ExecStart=/bin/bash /usr/lib/danctnix/usb-tethering
[Install]
WantedBy=multi-user.target

View File

@ -1,8 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
</pkgmetadata>

View File

@ -1,37 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit systemd
DESCRIPTION="USB tethering on Pine64/ConfigFS systems"
HOMEPAGE="https://github.com/dreemurrs-embedded/Pine64-Arch"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~arm64"
DEPEND="
net-misc/dhcp
sys-apps/systemd
"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_install() {
exeinto "/usr/lib/danctnix"
doexe "${FILESDIR}/usb-tethering"
systemd_dounit "${FILESDIR}"/usb-tethering.service
insinto "/usr/lib/tmpfiles.d/"
doins "${FILESDIR}"/tmpfiles.d.danctnix-usb.conf
insinto "/etc/systemd/system/dhcpd4.service.d/"
doins "${FILESDIR}"/dhcpd4.service-customexec.conf
insinto "/etc/danctnix/"
doins "${FILESDIR}"/dhcpd.conf
}

View File

@ -1 +0,0 @@
DIST feedbackd-device-themes-v0.1.0.tar.bz2 16341 BLAKE2B 5eab615a8a5149534353eff0baf8712cb55aa93ccb8b56b3dd0df74eefd4f29a5eee45d952e527b75b0e9ff4ece3679fd56495166ff9917dcdfafe4037765000 SHA512 de0ea13356f637b7f7baa5521f7ec3f59e5e3e8c3fb18227bf3bd229a9d499088ea340e10e52f4e302dceacdb832f2713b1378b0d3acca6ce5384b3d6e4b2e18

View File

@ -1,17 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
MY_PV="v${PV}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="A daemon to provide haptic feedback on events (themes package)"
HOMEPAGE="https://source.puri.sm/Librem5/feedbackd-device-themes"
SRC_URI="https://source.puri.sm/Librem5/${PN}/-/archive/${MY_PV}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
SLOT="0"

View File

@ -1,2 +0,0 @@
DIST feedbackd-v0.2.0.tar.bz2 76695 BLAKE2B 81928442f05c0623eba46aa37ba1957c216d8d7fe8bd89b55a3ab4928d3b95c4792ee30325f878eb9bce82ee262219233b9cdc3e086c1954e7811d5574b9ecaf SHA512 d758cd135b10b76fd35b64a66ec46261fc66be75095898a6592f4efdea7a9f94a850c654e63cde028e9f80cc7f180396d7e1fe46222611c5140b2116ac04ca6d
DIST gmobile-d483537aee4778b114ce5d50c4c8a9f8d58337ed.tar.bz2 20337 BLAKE2B f94295672ed699f308ccfab3835ed6c7f1184c0e267ea1c2ab7b6d59c98b3d027b300bf6d29db6442de20cec852f5c1031d1b09f220e94afc79c48566c160676 SHA512 86acabbffb1b5f98f2b132ce5bd12940769c11ed53d38401a0048216943a4b095bd230774d83444e7b5f5d26825f32ced0075dce7354f6fa486d47ef5f86b4f3

View File

@ -1,84 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
VALA_USE_DEPEND="vapigen"
inherit vala meson udev
GMOBILE_COMMIT="d483537aee4778b114ce5d50c4c8a9f8d58337ed"
DESCRIPTION="A daemon to provide haptic feedback on events"
HOMEPAGE="https://source.puri.sm/Librem5/feedbackd"
SRC_URI="
https://source.puri.sm/Librem5/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
https://gitlab.gnome.org/guidog/gmobile/-/archive/${GMOBILE_COMMIT}.tar.bz2 -> gmobile-${GMOBILE_COMMIT}.tar.bz2
"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
SLOT="0"
IUSE="+daemon gtk-doc +introspection man test +vala"
REQUIRED_USE="vala? ( introspection )"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/glib:2
daemon? (
dev-libs/json-glib
dev-libs/libgudev
media-libs/gsound
)
introspection? ( dev-libs/gobject-introspection )
"
RDEPEND="${DEPEND}
dev-libs/feedbackd-device-themes
"
BDEPEND="
dev-util/gdbus-codegen
gtk-doc? ( dev-util/gi-docgen )
man? ( dev-python/docutils )
vala? ( $(vala_depend) )
"
src_prepare() {
default
if use daemon; then
rmdir "${S}/subprojects/gmobile" || die
mv "${WORKDIR}/gmobile-${GMOBILE_COMMIT}" "${S}/subprojects/gmobile" || die
fi
use vala && vala_setup
sed -i 's/-G feedbackd/-G video/g' debian/feedbackd.udev || die
}
src_configure() {
local emesonargs=(
$(meson_feature introspection)
$(meson_use daemon)
$(meson_use gtk-doc gtk_doc)
$(meson_use man)
$(meson_use test tests)
$(meson_use vala vapi)
)
meson_src_configure
}
src_install() {
meson_src_install
udev_newrules debian/feedbackd.udev 90-feedbackd
if use gtk-doc; then
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
mv "${ED}"/usr/share/doc/libfeedback-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die
fi
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
<upstream>
<doc>https://source.puri.sm/Librem5/feedbackd/</doc>
<bugs-to>https://source.puri.sm/Librem5/feedbackd/-/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -1 +0,0 @@
DIST properties-cpp_0.0.2.orig.tar.gz 41108 BLAKE2B d5239c27578d524079d1475b851939c0daac8fd71f46da34427cc9888739a52682aaa55e678f07c9ea01aa635a5a62886f5a104162e3220d0a6917f4178c11ca SHA512 7ec94ce495c9630d5acc0b98051b31e7eb3e50fef9dff3a476cd91ca912937f48826fbdab57907b042b13e29786dcb3483151690374b0e09d6e1c12c6329df5a

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
<longdescription lang="en">
process-cpp is a simple header-only implementation of properties and signals. It is meant to be used for developing low-level system services.
</longdescription>
<upstream>
<doc>https://github.com/lib-cpp/properties-cpp</doc>
<bugs-to>https://github.com/lib-cpp/properties-cpp/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -1,39 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
URELEASE="groovy"
inherit cmake
# Handle version strings here so as not to use 'ubuntu-versionator' eclass #
MY_PV="${PV:0:5}"
MY_P="${PN}-${MY_PV}"
UVER="-${PVR_PL_MINOR}"
DESCRIPTION="Simple convenience library for handling properties and signals in C++11"
HOMEPAGE="https://launchpad.net/properties-cpp"
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="doc"
RESTRICT="mirror"
DEPEND="
dev-libs/boost
doc? ( app-doc/doxygen )
"
S="${WORKDIR}/${MY_P}"
MAKEOPTS="${MAKEOPTS} -j1"
src_prepare() {
use !doc && truncate -s0 doc/CMakeLists.txt
#Remove the test from the build
truncate -s0 tests/CMakeLists.txt
cmake_src_prepare
}

View File

@ -1,3 +0,0 @@
DIST evolution-data-server-3.48.2.tar.xz 4906316 BLAKE2B 445898a5c2e02a1ab27deeaf9063853216d3cb5d166a799b36c581f0c20ff13e0bd66272ce9389088fc59640eb230afb20cd1628332bc20527b16c61ba97c43c SHA512 3ea976bcb28c5cfa7da3c29942d5313c7e8107590d6cd73f896fa9e5e79e14264772a5a1a22a0f2a5fee0110ef1d8e15677986ab13103791300c7800d6485380
DIST evolution-data-server-3.48.3.tar.xz 4906344 BLAKE2B 718978d97c0e147c3df972671f67dcf501cbaf10a36d5479cbc0ce416a8fbd43a8a66af8b1c57d01903de4c574a0b905e69ce1ce918437802cbb368723914e38 SHA512 232c3e3a3b90021b3e8ced05488b1505904b51c1d65b76d805aeac3a7b40cae9c3748f840b3a88cb9a17e7c1348bbe7dc16209eae59c92e997dc4a7dfcfa49ca
DIST evolution-data-server-3.48.4.tar.xz 4906356 BLAKE2B 13cbd21d8f6829d052227d3d328439d5f00a2cda2384ffeace791a563ed8acdcd707729ae032dbdbe16e530b2e6205c006412f1cbaa03e8fb6d669c2c75d67bd SHA512 35bc6653efdb70a110f39499945516408090f101319a3080c87f6e14f886e0f9283225c4c5b6a4c2af418b9928c5eb7fba2d319481c81af1fa87f7dd930f7215

View File

@ -1,145 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake db-use flag-o-matic gnome2 vala virtualx
DESCRIPTION="Evolution groupware backend"
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution https://gitlab.gnome.org/GNOME/evolution-data-server"
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
SLOT="0/64-11-21-4-2-27-2-27-4-0" # subslot = libcamel-1.2/libebackend-1.2/libebook-1.2/libebook-contacts-1.2/libecal-2.0/libedata-book-1.2/libedata-cal-2.0/libedataserver-1.2/libedataserverui-1.2/libedataserverui4-1.0 soname version
IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ldap kerberos oauth vala +weather phonenumber"
REQUIRED_USE="
oauth? ( gtk )
vala? ( introspection )
"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512
# glib-2.70 for build-time optional GPowerProfileMonitor
RDEPEND="
>=app-crypt/libsecret-0.5[crypt]
>=dev-db/sqlite-3.7.17:3
>=dev-libs/glib-2.70:2
>=dev-libs/libical-3.0.8:=[glib,introspection?]
>=dev-libs/libxml2-2
>=dev-libs/nspr-4.4
>=dev-libs/nss-3.9
>=net-libs/libsoup-3.1.1:3.0
>=dev-libs/json-glib-1.0.4
dev-libs/icu:=
sys-libs/zlib:=
virtual/libiconv
berkdb? ( >=sys-libs/db-4:= )
gtk? (
>=x11-libs/gtk+-3.20:3
>=gui-libs/gtk-4.4:4
>=media-libs/libcanberra-0.25[gtk3]
oauth? (
>=net-libs/webkit-gtk-2.34.0:4.1
>=net-libs/webkit-gtk-2.39.90:6
)
)
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= )
introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
kerberos? ( virtual/krb5:= )
ldap? ( >=net-nds/openldap-2:= )
weather? ( >=dev-libs/libgweather-4.2.0:4= )
phonenumber? ( >=dev-libs/libphonenumber-8.12.39 )
"
DEPEND="${RDEPEND}
vala? ( $(vala_depend)
>=net-libs/libsoup-3.1.1:3.0[vala]
dev-libs/libical[vala]
)
"
BDEPEND="
dev-util/gdbus-codegen
dev-util/glib-utils
dev-util/gperf
gtk-doc? ( >=dev-util/gtk-doc-1.14
app-text/docbook-xml-dtd:4.1.2 )
>=dev-util/intltool-0.35.5
>=sys-devel/gettext-0.18.3
virtual/pkgconfig
"
# Some tests fail due to missing locales.
# Also, dbus tests are flaky, bugs #397975 #501834
# It looks like a nightmare to disable those for now.
RESTRICT="!test? ( test )"
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
src_prepare() {
use vala && vala_setup
cmake_src_prepare
gnome2_src_prepare
eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch
# Make CMakeLists versioned vala enabled
sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
-e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
-i "${S}"/CMakeLists.txt || die
}
src_configure() {
# /usr/include/db.h is always db-1 on FreeBSD
# so include the right dir in CPPFLAGS
use berkdb && append-cppflags "-I$(db_includedir)"
# phonenumber does not exist in tree
local mycmakeargs=(
-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
-DENABLE_GTK_DOC=$(usex gtk-doc)
-DWITH_PRIVATE_DOCS=$(usex gtk-doc)
-DENABLE_SCHEMAS_COMPILE=OFF
-DENABLE_INTROSPECTION=$(usex introspection)
-DWITH_KRB5=$(usex kerberos)
-DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
-DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
-DWITH_OPENLDAP=$(usex ldap)
-DWITH_PHONENUMBER=$(usex phonenumber)
-DENABLE_SMIME=ON
-DENABLE_GTK=$(usex gtk)
-DENABLE_GTK4=$(usex gtk)
-DENABLE_CANBERRA=$(usex gtk)
-DENABLE_OAUTH2_WEBKITGTK=$(usex oauth)
-DENABLE_OAUTH2_WEBKITGTK4=$(usex oauth)
-DENABLE_EXAMPLES=OFF
-DENABLE_GOA=$(usex gnome-online-accounts)
-DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
# ENABLE_BACKTRACES requires libdwarf ?
-DENABLE_IPV6=ON
-DENABLE_WEATHER=$(usex weather)
-DENABLE_LARGEFILE=ON
-DENABLE_VALA_BINDINGS=$(usex vala)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_test() {
virtx cmake_src_test
}
src_install() {
cmake_src_install
if use ldap; then
insinto /etc/openldap/schema
doins "${FILESDIR}"/calentry.schema
dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
fi
}

View File

@ -1,145 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake db-use flag-o-matic gnome2 vala virtualx
DESCRIPTION="Evolution groupware backend"
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution https://gitlab.gnome.org/GNOME/evolution-data-server"
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
SLOT="0/64-11-21-4-2-27-2-27-4-0" # subslot = libcamel-1.2/libebackend-1.2/libebook-1.2/libebook-contacts-1.2/libecal-2.0/libedata-book-1.2/libedata-cal-2.0/libedataserver-1.2/libedataserverui-1.2/libedataserverui4-1.0 soname version
IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ldap kerberos oauth vala +weather phonenumber"
REQUIRED_USE="
oauth? ( gtk )
vala? ( introspection )
"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512
# glib-2.70 for build-time optional GPowerProfileMonitor
RDEPEND="
>=app-crypt/libsecret-0.5[crypt]
>=dev-db/sqlite-3.7.17:3
>=dev-libs/glib-2.70:2
>=dev-libs/libical-3.0.8:=[glib,introspection?]
>=dev-libs/libxml2-2
>=dev-libs/nspr-4.4
>=dev-libs/nss-3.9
>=net-libs/libsoup-3.1.1:3.0
>=dev-libs/json-glib-1.0.4
dev-libs/icu:=
sys-libs/zlib:=
virtual/libiconv
berkdb? ( >=sys-libs/db-4:= )
gtk? (
>=x11-libs/gtk+-3.20:3
>=gui-libs/gtk-4.4:4
>=media-libs/libcanberra-0.25[gtk3]
oauth? (
>=net-libs/webkit-gtk-2.34.0:4.1
>=net-libs/webkit-gtk-2.39.90:6
)
)
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= )
introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
kerberos? ( virtual/krb5:= )
ldap? ( >=net-nds/openldap-2:= )
weather? ( >=dev-libs/libgweather-4.2.0:4= )
phonenumber? ( >=dev-libs/libphonenumber-8.12.39 )
"
DEPEND="${RDEPEND}
vala? ( $(vala_depend)
>=net-libs/libsoup-3.1.1:3.0[vala]
dev-libs/libical[vala]
)
"
BDEPEND="
dev-util/gdbus-codegen
dev-util/glib-utils
dev-util/gperf
gtk-doc? ( >=dev-util/gtk-doc-1.14
app-text/docbook-xml-dtd:4.1.2 )
>=dev-util/intltool-0.35.5
>=sys-devel/gettext-0.18.3
virtual/pkgconfig
"
# Some tests fail due to missing locales.
# Also, dbus tests are flaky, bugs #397975 #501834
# It looks like a nightmare to disable those for now.
RESTRICT="!test? ( test )"
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
src_prepare() {
use vala && vala_setup
cmake_src_prepare
gnome2_src_prepare
eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch
# Make CMakeLists versioned vala enabled
sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
-e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
-i "${S}"/CMakeLists.txt || die
}
src_configure() {
# /usr/include/db.h is always db-1 on FreeBSD
# so include the right dir in CPPFLAGS
use berkdb && append-cppflags "-I$(db_includedir)"
# phonenumber does not exist in tree
local mycmakeargs=(
-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
-DENABLE_GTK_DOC=$(usex gtk-doc)
-DWITH_PRIVATE_DOCS=$(usex gtk-doc)
-DENABLE_SCHEMAS_COMPILE=OFF
-DENABLE_INTROSPECTION=$(usex introspection)
-DWITH_KRB5=$(usex kerberos)
-DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
-DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
-DWITH_OPENLDAP=$(usex ldap)
-DWITH_PHONENUMBER=$(usex phonenumber)
-DENABLE_SMIME=ON
-DENABLE_GTK=$(usex gtk)
-DENABLE_GTK4=$(usex gtk)
-DENABLE_CANBERRA=$(usex gtk)
-DENABLE_OAUTH2_WEBKITGTK=$(usex oauth)
-DENABLE_OAUTH2_WEBKITGTK4=$(usex oauth)
-DENABLE_EXAMPLES=OFF
-DENABLE_GOA=$(usex gnome-online-accounts)
-DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
# ENABLE_BACKTRACES requires libdwarf ?
-DENABLE_IPV6=ON
-DENABLE_WEATHER=$(usex weather)
-DENABLE_LARGEFILE=ON
-DENABLE_VALA_BINDINGS=$(usex vala)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_test() {
virtx cmake_src_test
}
src_install() {
cmake_src_install
if use ldap; then
insinto /etc/openldap/schema
doins "${FILESDIR}"/calentry.schema
dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
fi
}

View File

@ -1,145 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake db-use flag-o-matic gnome2 vala virtualx
DESCRIPTION="Evolution groupware backend"
HOMEPAGE="https://wiki.gnome.org/Apps/Evolution https://gitlab.gnome.org/GNOME/evolution-data-server"
# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
SLOT="0/64-11-21-4-2-27-2-27-4-0" # subslot = libcamel-1.2/libebackend-1.2/libebook-1.2/libebook-contacts-1.2/libecal-2.0/libedata-book-1.2/libedata-cal-2.0/libedataserver-1.2/libedataserverui-1.2/libedataserverui4-1.0 soname version
IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ldap kerberos oauth vala +weather phonenumber"
REQUIRED_USE="
oauth? ( gtk )
vala? ( introspection )
"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512
# glib-2.70 for build-time optional GPowerProfileMonitor
RDEPEND="
>=app-crypt/libsecret-0.5[crypt]
>=dev-db/sqlite-3.7.17:3
>=dev-libs/glib-2.70:2
>=dev-libs/libical-3.0.8:=[glib,introspection?]
>=dev-libs/libxml2-2
>=dev-libs/nspr-4.4
>=dev-libs/nss-3.9
>=net-libs/libsoup-3.1.1:3.0
>=dev-libs/json-glib-1.0.4
dev-libs/icu:=
sys-libs/zlib:=
virtual/libiconv
berkdb? ( >=sys-libs/db-4:= )
gtk? (
>=x11-libs/gtk+-3.20:3
>=gui-libs/gtk-4.4:4
>=media-libs/libcanberra-0.25[gtk3]
oauth? (
>=net-libs/webkit-gtk-2.34.0:4.1
>=net-libs/webkit-gtk-2.39.90:6
)
)
gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= )
introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
kerberos? ( virtual/krb5:= )
ldap? ( >=net-nds/openldap-2:= )
weather? ( >=dev-libs/libgweather-4.2.0:4= )
phonenumber? ( >=dev-libs/libphonenumber-8.12.39 )
"
DEPEND="${RDEPEND}
vala? ( $(vala_depend)
>=net-libs/libsoup-3.1.1:3.0[vala]
dev-libs/libical[vala]
)
"
BDEPEND="
dev-util/gdbus-codegen
dev-util/glib-utils
dev-util/gperf
gtk-doc? ( >=dev-util/gtk-doc-1.14
app-text/docbook-xml-dtd:4.1.2 )
>=dev-util/intltool-0.35.5
>=sys-devel/gettext-0.18.3
virtual/pkgconfig
"
# Some tests fail due to missing locales.
# Also, dbus tests are flaky, bugs #397975 #501834
# It looks like a nightmare to disable those for now.
RESTRICT="!test? ( test )"
# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
src_prepare() {
use vala && vala_setup
cmake_src_prepare
gnome2_src_prepare
eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch
# Make CMakeLists versioned vala enabled
sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
-e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
-i "${S}"/CMakeLists.txt || die
}
src_configure() {
# /usr/include/db.h is always db-1 on FreeBSD
# so include the right dir in CPPFLAGS
use berkdb && append-cppflags "-I$(db_includedir)"
# phonenumber does not exist in tree
local mycmakeargs=(
-DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
-DENABLE_GTK_DOC=$(usex gtk-doc)
-DWITH_PRIVATE_DOCS=$(usex gtk-doc)
-DENABLE_SCHEMAS_COMPILE=OFF
-DENABLE_INTROSPECTION=$(usex introspection)
-DWITH_KRB5=$(usex kerberos)
-DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
-DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
-DWITH_OPENLDAP=$(usex ldap)
-DWITH_PHONENUMBER=$(usex phonenumber)
-DENABLE_SMIME=ON
-DENABLE_GTK=$(usex gtk)
-DENABLE_GTK4=$(usex gtk)
-DENABLE_CANBERRA=$(usex gtk)
-DENABLE_OAUTH2_WEBKITGTK=$(usex oauth)
-DENABLE_OAUTH2_WEBKITGTK4=$(usex oauth)
-DENABLE_EXAMPLES=OFF
-DENABLE_GOA=$(usex gnome-online-accounts)
-DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
# ENABLE_BACKTRACES requires libdwarf ?
-DENABLE_IPV6=ON
-DENABLE_WEATHER=$(usex weather)
-DENABLE_LARGEFILE=ON
-DENABLE_VALA_BINDINGS=$(usex vala)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
}
src_test() {
virtx cmake_src_test
}
src_install() {
cmake_src_install
if use ldap; then
insinto /etc/openldap/schema
doins "${FILESDIR}"/calentry.schema
dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
fi
}

View File

@ -1,32 +0,0 @@
From 24c7ca17eaf69211b75f2882c11aeff01a3cad01 Mon Sep 17 00:00:00 2001
From: Mart Raudsepp <leio@gentoo.org>
Date: Sat, 8 Aug 2020 18:59:25 +0300
Subject: [PATCH] I#158 - Workaround build error with gtk-doc-1.32
---
src/calendar/libecal/e-cal-time-util.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/calendar/libecal/e-cal-time-util.h b/src/calendar/libecal/e-cal-time-util.h
index 8acb13061..11c9d3369 100644
--- a/src/calendar/libecal/e-cal-time-util.h
+++ b/src/calendar/libecal/e-cal-time-util.h
@@ -150,6 +150,7 @@ void time_to_gdate_with_zone (GDate *date,
* struct tm manipulation
**************************************************************************/
+#ifndef __GTK_DOC_IGNORE__
struct tm e_cal_util_icaltime_to_tm
(const ICalTime *itt);
struct tm e_cal_util_icaltime_to_tm_with_zone
@@ -159,6 +160,7 @@ struct tm e_cal_util_icaltime_to_tm_with_zone
ICalTime * e_cal_util_tm_to_icaltime
(struct tm *tm,
gboolean is_date);
+#endif
G_END_DECLS
--
2.20.1

View File

@ -1,108 +0,0 @@
# RFC2739 calEntry schema for OpenLDAP 2.x
#
# From https://bugs.gentoo.org/show_bug.cgi?id=83988
# Please notify us of updated revisions by submitting a bug report at bugs.gentoo.org
#
# Version of RFC 2739 schema translated by Terrelle Shaw
# (xytek@xytek.org) # Nov. 7, 2002 # Modifications by Peter Marschall
# <peter.marschall@adpm.de> # Nov. 9, 2002
# Notes:
# * RFC2739 seems to be a bit sloppy about attribute type and
# objectclass definitions syntax and also about attribute syntax
# and matching rules.
# (It even counts the attributes in the calEntry objectclass wrong ;-)
# * The following changes have been applied to correct the schema
# - added description to each attributetype definition
# - changed SYNTAX from 'IA5String' to corresponding OID
# to make matching rules and syntax consistent
# - replaced illegal keyword SUBSTRING by SUBSTR
# - changed SUBSTR from caseIgnoreIA5Match to caseIgnoreIA5SubstringsMatch
# - removed illegal keyword MULTI-VALUE
# - added keyword SINGLE-VALUE where appropriate
# - removed USAGE since cwuserApplications is the default
# - added description to the objectclass defintion
# - corrected typo in objectclass definition
# - added the attributetypes defined but not used to the objectclass
# 2.4.4.1 calCalURI
attributetype ( 1.2.840.113556.1.4.478
NAME 'calCalURI'
DESC 'URI to a snapshot of the users entire default calendar'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
# 2.4.4.2 calFBURL
attributetype ( 1.2.840.113556.1.4.479
NAME 'calFBURL'
DESC 'URI to the users default free/busy time data'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
# 2.4.4.3 calCAPURI
attributetype ( 1.2.840.113556.1.4.480
NAME 'calCAPURI'
DESC 'URI used to communicate with the users calendar'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
# 2.4.4.4 calCalAdrURI
attributetype ( 1.2.840.113556.1.4.481
NAME 'calCalAdrURI'
DESC 'URI to which event requests should be sent for the user'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
# 2.4.4.5 calOtherCalURIs
attributetype ( 1.2.840.113556.1.4.482
NAME 'calOtherCalURIs'
DESC 'URIs to snapshots of non-default calendars belonging to the user'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
# 2.4.4.6 calOtherFBURLs
attributetype ( 1.2.840.113556.1.4.483
NAME 'calOtherFBURLs'
DESC 'URIs to non-default free/busy data belonging to the user'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
# 2.4.4.7 calOtherCAPURIs
attributetype ( 1.2.840.113556.1.4.484
NAME 'calOtherCAPURIs'
DESC 'URIs to non-default calendars belonging to the user'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
# 2.4.4.8 calOtherCalAdrURIs
attributetype ( 1.2.840.113556.1.4.485
NAME 'calOtherCalAdrURIs'
DESC 'URIs of destinations for event requests to non-default calendars'
EQUALITY caseIgnoreIA5Match
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
# 2.4.3.1 calEntry
objectclass ( 1.2.840.113556.1.5.87
NAME 'calEntry'
DESC 'Calendering and free/busy information'
SUP top AUXILIARY
MAY ( calCalURI $ calFBURL $ calCAPURI $ calCalAdrURI $
calOtherCAPURIs $ calOtherCalURIs $ calOtherFBURLs $
calOtherCalAdrURIs ) )
# EOF

View File

@ -1,262 +0,0 @@
<!DOCTYPE html>
<html lang='en'>
<head>
<title>metadata.xml « evolution-data-server « gnome-extra - repo/gentoo.git - Official Gentoo ebuild repository</title>
<meta name='generator' content='cgit v1.2.3-18-g5258'/>
<meta name='robots' content='index,follow'/>
<link rel='stylesheet' type='text/css' href='/cgit.css'/>
<link rel='shortcut icon' href='//www.gentoo.org/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='https://gitweb.gentoo.org/repo/gentoo.git/atom/gnome-extra/evolution-data-server/metadata.xml?h=master' type='application/atom+xml'/>
<link rel='vcs-git' href='https://anongit.gentoo.org/git/repo/gentoo.git' title='repo/gentoo.git Git repository'/>
<link rel='vcs-git' href='git+ssh://git@git.gentoo.org/repo/gentoo.git' title='repo/gentoo.git Git repository'/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#54487a">
<meta name="description" content="Browse the Gentoo Git repositories">
<link href="https://assets.gentoo.org/tyrian/v2/tyrian.min.css" rel="stylesheet" media="screen">
</head>
<body>
<header>
<div class="site-title">
<div class="container">
<div class="row justify-content-between">
<div class="logo">
<a href="/" title="Back to the homepage" class="site-logo">
<img src="https://assets.gentoo.org/tyrian/v2/site-logo.png" alt="Gentoo" srcset="https://assets.gentoo.org/tyrian/v2/site-logo.svg">
</a>
<span class="site-label">GitWeb</span>
</div>
<div class="site-title-buttons">
<div class="btn-group btn-group-sm">
<a href="https://get.gentoo.org/" role="button" class="btn get-gentoo"><span class="fa fa-fw fa-download"></span>
<strong>Get Gentoo!</strong></a>
<div class="btn-group btn-group-sm">
<a class="btn gentoo-org-sites dropdown-toggle" data-toggle="dropdown" data-target="#" href="#">
<span class="fa fa-fw fa-map-o"></span> <span class="d-none d-sm-inline">gentoo.org sites</span>
<span class="caret"></span>
</a>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="https://www.gentoo.org/" title="Main Gentoo website"><span class="fa fa-home fa-fw"></span>
gentoo.org</a>
<a class="dropdown-item" href="https://wiki.gentoo.org/" title="Find and contribute documentation"><span class="fa fa-file-text-o fa-fw"></span>
Wiki</a>
<a class="dropdown-item" href="https://bugs.gentoo.org/" title="Report issues and find common issues"><span class="fa fa-bug fa-fw"></span>
Bugs</a>
<a class="dropdown-item" href="https://forums.gentoo.org/" title="Discuss with the community"><span class="fa fa-comments-o fa-fw"></span>
Forums</a>
<a class="dropdown-item" href="https://packages.gentoo.org/" title="Find software for your Gentoo"><span class="fa fa-hdd-o fa-fw"></span>
Packages</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://planet.gentoo.org/" title="Find out what's going on in the developer community"><span class="fa fa-rss fa-fw"></span>
Planet</a>
<a class="dropdown-item" href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span>
Archives</a>
<a class="dropdown-item" href="https://sources.gentoo.org/" title="Browse our source code"><span class="fa fa-code fa-fw"></span>
Sources</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-server fa-fw"></span>
Infra Status</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<nav class="tyrian-navbar navbar navbar-dark navbar-expand-lg bg-primary" role="navigation">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-main-collapse" aria-controls="navbar-main-collapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
<div class="collapse navbar-collapse navbar-main-collapse" id="navbar-main-collapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item"><a class="nav-link" href="/">Home</a></li>
<li class="nav-item"><a class="nav-link" href="/repo/gentoo.git">Gentoo Repository</a></li>
<li class="nav-item"><a class="nav-link" href="/repo/">Repositories</a></li>
<li class="nav-item"><a class="nav-link" href="/proj/">Projects</a></li>
<li class="nav-item"><a class="nav-link" href="/dev/">Developer Overlays</a></li>
<li class="nav-item"><a class="nav-link" href="/user/">User Overlays</a></li>
<li class="nav-item"><a class="nav-link" href="/data/">Data</a></li>
<li class="nav-item"><a class="nav-link" href="/sites/">Websites</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container pb-5">
<div class="row">
<div class="col-md-12">
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/'>index</a> : <a title='repo/gentoo.git' href='/repo/gentoo.git/'>repo/gentoo.git</a></td><td class='form'><form method='get'>
<select name='h' onchange='this.form.submit();'>
<option value='master' selected='selected'>master</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>Official Gentoo ebuild repository</td><td class='sub right'>Infrastructure team &lt;infrastructure@gentoo.org&gt;</td></tr></table>
<table class='tabs'><tr><td>
<a href='/repo/gentoo.git/'>summary</a><a href='/repo/gentoo.git/refs/'>refs</a><a href='/repo/gentoo.git/log/gnome-extra/evolution-data-server/metadata.xml'>log</a><a class='active' href='/repo/gentoo.git/tree/gnome-extra/evolution-data-server/metadata.xml'>tree</a><a href='/repo/gentoo.git/commit/gnome-extra/evolution-data-server/metadata.xml'>commit</a><a href='/repo/gentoo.git/diff/gnome-extra/evolution-data-server/metadata.xml'>diff</a></td><td class='form'><form class='right' method='get' action='/repo/gentoo.git/log/gnome-extra/evolution-data-server/metadata.xml'>
<select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/repo/gentoo.git/tree/'>root</a>/<a href='/repo/gentoo.git/tree/gnome-extra'>gnome-extra</a>/<a href='/repo/gentoo.git/tree/gnome-extra/evolution-data-server'>evolution-data-server</a>/<a href='/repo/gentoo.git/tree/gnome-extra/evolution-data-server/metadata.xml'>metadata.xml</a></div><div class='content'>blob: b2c06af5a423d5dce5a2c6115241188528e79a2c (<a href='/repo/gentoo.git/plain/gnome-extra/evolution-data-server/metadata.xml'>plain</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
<a id='n5' href='#n5'>5</a>
<a id='n6' href='#n6'>6</a>
<a id='n7' href='#n7'>7</a>
<a id='n8' href='#n8'>8</a>
<a id='n9' href='#n9'>9</a>
<a id='n10' href='#n10'>10</a>
<a id='n11' href='#n11'>11</a>
<a id='n12' href='#n12'>12</a>
<a id='n13' href='#n13'>13</a>
<a id='n14' href='#n14'>14</a>
<a id='n15' href='#n15'>15</a>
<a id='n16' href='#n16'>16</a>
</pre></td>
<td class='lines'><pre><code><style>pre { line-height: 125%; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */</style><div class="highlight"><pre><span></span><span class="cp">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span>
<span class="cp">&lt;!DOCTYPE pkgmetadata SYSTEM &quot;http://www.gentoo.org/dtd/metadata.dtd&quot;&gt;</span>
<span class="nt">&lt;pkgmetadata&gt;</span>
<span class="nt">&lt;maintainer</span> <span class="na">type=</span><span class="s">&quot;project&quot;</span><span class="nt">&gt;</span>
<span class="nt">&lt;email&gt;</span>gnome@gentoo.org<span class="nt">&lt;/email&gt;</span>
<span class="nt">&lt;name&gt;</span>Gentoo GNOME Desktop<span class="nt">&lt;/name&gt;</span>
<span class="nt">&lt;/maintainer&gt;</span>
<span class="nt">&lt;use&gt;</span>
<span class="nt">&lt;flag</span> <span class="na">name=</span><span class="s">&quot;berkdb&quot;</span><span class="nt">&gt;&lt;pkg&gt;</span>sys-libs/db<span class="nt">&lt;/pkg&gt;</span> support needed to migrate old (pre-3.13 evolution versions) addressbook data<span class="nt">&lt;/flag&gt;</span>
<span class="nt">&lt;flag</span> <span class="na">name=</span><span class="s">&quot;gnome-online-accounts&quot;</span><span class="nt">&gt;</span>Enable <span class="nt">&lt;pkg&gt;</span>net-libs/gnome-online-accounts<span class="nt">&lt;/pkg&gt;</span> based Google authentication support<span class="nt">&lt;/flag&gt;</span>
<span class="nt">&lt;flag</span> <span class="na">name=</span><span class="s">&quot;oauth&quot;</span><span class="nt">&gt;</span>Enable internal OAuth2 authentication support for Google and Outlook.com.
If gnome-online-accounts is enabled and used, this is not necessary,
but both can be supported at the same time with different setup at runtime<span class="nt">&lt;/flag&gt;</span>
<span class="nt">&lt;flag</span> <span class="na">name=</span><span class="s">&quot;weather&quot;</span><span class="nt">&gt;</span>Enable optional weather calendar support<span class="nt">&lt;/flag&gt;</span>
<span class="nt">&lt;/use&gt;</span>
<span class="nt">&lt;/pkgmetadata&gt;</span>
</pre></div>
</code></pre></td></tr></table>
</div> <!-- class=content -->
</div>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-12 offset-md-2 col-md-7">
&nbsp;
</div>
<div class="col-12 col-md-3">
<h3 class="footerhead">Questions or comments?</h3>
Please feel free to <a href="https://www.gentoo.org/inside-gentoo/contact/">contact us</a>.
</div>
</div>
<div class="row">
<div class="col-2 col-sm-3 col-md-2">
<ul class="footerlinks three-icons">
<li><a href="https://twitter.com/gentoo" title="@Gentoo on Twitter"><span class="fa fa-twitter fa-fw"></span></a></li>
<li><a href="https://www.facebook.com/gentoo.org" title="Gentoo on Facebook"><span class="fa fa-facebook fa-fw"></span></a></li>
<li></li>
</ul>
</div>
<div class="col-10 col-sm-9 col-md-10">
<strong>&copy; 2001&ndash;2021 Gentoo Foundation, Inc.</strong><br>
<small>
Gentoo is a trademark of the Gentoo Foundation, Inc.
The contents of this document, unless otherwise expressly stated, are licensed under the
<a href="https://creativecommons.org/licenses/by-sa/4.0/" rel="license">CC-BY-SA-4.0</a> license.
The <a href="https://www.gentoo.org/inside-gentoo/foundation/name-logo-guidelines.html">Gentoo Name and Logo Usage Guidelines</a> apply.
</small>
</div>
</div>
</div>
</footer>
<script src="https://assets.gentoo.org/tyrian/v2/jquery-3.3.slim.js"></script>
<script src="https://assets.gentoo.org/tyrian/v2/popper.min.js"></script>
<script src="https://assets.gentoo.org/tyrian/v2/bootstrap.min.js"></script>
</div> <!-- id=cgit -->
</body>
</html>

View File

@ -1 +0,0 @@
DIST iio-sensor-proxy-3.5.tar.gz 67596 BLAKE2B 8f27b23799ceed53c52a96e4cbaf3a9070949185acbf212941008979e8be9018f9ed6390697b0d83f4e790c4a47db449f63d8e71e6123167c1b0191e89c03ddf SHA512 2389b18a7595ff92d7e1db9409f34f4ecf57cbb9ffa2471f0cc6a182fd8838fa3448855ef6804b0eb91942cabd67f1a9a3ce5bcf5e5e844ccf0b9fec72cbf30d

View File

@ -1,49 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils meson systemd udev
DESCRIPTION="IIO sensors to D-Bus proxy"
HOMEPAGE="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/"
SRC_URI="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RESTRICT="test"
IUSE="+systemd"
RDEPEND="
dev-libs/glib:*
gnome-base/gnome-common
>=dev-libs/libgudev-237
systemd? (
!sys-apps/openrc
sys-apps/systemd
)
virtual/udev
"
DEPEND="
${RDEPEND}
dev-util/gtk-doc-am
virtual/pkgconfig
"
src_install() {
meson_src_install
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
udev_reload
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
udev_reload
}

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
<longdescription lang="en">
Proxies sensor devices (accelerometers, light sensors, compass) to applications through D-Bus
</longdescription>
<upstream>
<doc>https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/</doc>
<bugs-to>https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -1 +0,0 @@
DIST phosh-antispam-3.3.0.tar.gz 175607 BLAKE2B 5f6360944a6f6a32b3618c75481faaa129823280a80a3d5b884af5d43118eb1cb86369fc188b880688bcf442cce5b0a1910fd00f07f6f9a8c4ae2d8ceb95a16c SHA512 94855db2bed1676a74ebef79c8e374e71eab291a4470a0efc279478a69eda1477c683e15253182933e6fd286631ad52d53d2dd0ecbdfac9256627cf6472ffab8

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gjdijkman@gjdwebserver.nl</email>
<name>Gerben Jan Dijkman</name>
</maintainer>
<longdescription lang="en">
An anti-spam program designed to work with phosh
</longdescription>
<upstream>
<doc>https://gitlab.com/kop316/phosh-antispam/</doc>
<bugs-to>https://gitlab.com/kop316/phosh-antispam/-/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -1,38 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils meson systemd udev
DESCRIPTION="An anti-spam program designed to work with phosh"
HOMEPAGE="https://gitlab.com/kop316/phosh-antispam"
SRC_URI="https://gitlab.com/kop316/phosh-antispam/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-libs/glib-2.44.0
>=x11-libs/gtk+-3.22.0
>=gui-libs/libadwaita-1.2.0
>=net-voip/gnome-calls-41.0
"
DEPEND=""
src_install() {
meson_src_install
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

View File

@ -1 +0,0 @@
DIST wlroots-0.16.2.tar.gz 589804 BLAKE2B 49911556f1442b43b46e3ec7750706cabeeab915bc36b178b92dec7b66743f4c2f0e335c6e26e318a25ceda41170b20913987a94a3c516df580d379305df7cc2 SHA512 3c1d4fecb3b751987e7051e69849fd62bd4eed95f2d2e548f06e42e4829d0fc24f20c1bfe056a53ede2d1fd05e0c566269a7b9f2bab0de0057a32b55e826a7c0

View File

@ -1,47 +0,0 @@
From 663278d168152f990cf76a3df9d31ca4c6511604 Mon Sep 17 00:00:00 2001
Message-Id: <663278d168152f990cf76a3df9d31ca4c6511604.1690371072.git.agx@sigxcpu.org>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Fri, 1 Jan 2021 13:58:55 +0100
Subject: [PATCH] Revert "layer-shell: error on 0 dimension without anchors"
This reverts commit 8dec751a6d84335fb04288b8efab6dd5c90288d3.
Revert this until phosh has a fixed release.
---
types/wlr_layer_shell_v1.c | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/types/wlr_layer_shell_v1.c b/types/wlr_layer_shell_v1.c
index fa054d3c..062fa96d 100644
--- a/types/wlr_layer_shell_v1.c
+++ b/types/wlr_layer_shell_v1.c
@@ -316,26 +316,6 @@ static void layer_surface_role_commit(struct wlr_surface *wlr_surface) {
struct wlr_layer_surface_v1 *surface =
wlr_layer_surface_v1_from_wlr_surface(wlr_surface);
- const uint32_t horiz = ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT |
- ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT;
- if (surface->pending.desired_width == 0 &&
- (surface->pending.anchor & horiz) != horiz) {
- wl_resource_post_error(surface->resource,
- ZWLR_LAYER_SURFACE_V1_ERROR_INVALID_SIZE,
- "width 0 requested without setting left and right anchors");
- return;
- }
-
- const uint32_t vert = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP |
- ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM;
- if (surface->pending.desired_height == 0 &&
- (surface->pending.anchor & vert) != vert) {
- wl_resource_post_error(surface->resource,
- ZWLR_LAYER_SURFACE_V1_ERROR_INVALID_SIZE,
- "height 0 requested without setting top and bottom anchors");
- return;
- }
-
surface->current = surface->pending;
surface->pending.committed = 0;
--
2.40.1

View File

@ -1,97 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
HOMEPAGE="https://gitlab.freedesktop.org/wlroots/wlroots"
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git"
inherit git-r3
SLOT="0/9999"
else
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv x86"
SLOT="0/$(ver_cut 2)"
fi
LICENSE="MIT"
IUSE="+drm +libinput tinywl vulkan x11-backend X phoc"
DEPEND="
>=dev-libs/wayland-1.21.0
>=dev-libs/wayland-protocols-1.28
drm? ( sys-apps/hwdata:= )
libinput? ( >=dev-libs/libinput-1.14.0:0= )
media-libs/mesa[egl(+),gles2]
sys-auth/seatd:=
virtual/libudev
vulkan? (
dev-util/glslang:0=
dev-util/vulkan-headers:0=
media-libs/vulkan-loader:0=
)
>=x11-libs/libdrm-2.4.114:0=
x11-libs/libxkbcommon
>=x11-libs/pixman-0.42.0:0=
x11-backend? ( x11-libs/libxcb:0= )
X? (
x11-base/xwayland
x11-libs/libxcb:0=
x11-libs/xcb-util-image
x11-libs/xcb-util-renderutil
x11-libs/xcb-util-wm
)
"
RDEPEND="
${DEPEND}
"
BDEPEND="
>=dev-libs/wayland-protocols-1.24
>=dev-util/meson-0.60.0
dev-util/wayland-scanner
virtual/pkgconfig
"
src_prepare() {
if use phoc; then
PATCHES+=( "${FILESDIR}"/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch )
fi
default
}
src_configure() {
local backends=(
$(usev drm)
$(usev libinput)
$(usev x11-backend 'x11')
)
# Separate values with a comma with this evil floating point bit hack
local meson_backends=$(IFS=','; echo "${backends[*]}")
# xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?)
local emesonargs=(
"-Dxcb-errors=disabled"
$(meson_use tinywl examples)
-Drenderers=$(usex vulkan 'gles2,vulkan' gles2)
$(meson_feature X xwayland)
-Dbackends=${meson_backends}
)
meson_src_configure
}
src_install() {
meson_src_install
if use tinywl; then
dobin "${BUILD_DIR}"/tinywl/tinywl
fi
}
pkg_postinst() {
elog "You must be in the input group to allow your compositor"
elog "to access input devices via libinput."
}

View File

@ -1,103 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Meta package for Phosh without squeekboard"
HOMEPAGE="https://github.com/dreemurrs-embedded/Pine64-Arch"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm64 ~arm"
IUSE="squeekboard chromium firefox geary lollypop owncloud nextcloud voicemail tuba"
DEPEND="
gui-wm/phosh
gnome-extra/phosh-antispam
net-voip/gnome-calls
net-im/chatty
net-dns/dnsmasq
app-editors/gedit
app-misc/gnote
media-video/megapixels
gnome-base/gnome-control-center
gnome-base/gnome-keyring
gnome-extra/gnome-contacts
gnome-extra/gnome-calculator
gnome-extra/gnome-calendar
gnome-extra/gnome-clocks
gnome-extra/gnome-weather
gnome-base/gnome-session
gnome-extra/gnome-system-monitor
media-gfx/gnome-screenshot
gnome-extra/gnome-tweaks
app-arch/file-roller
sys-apps/gnome-disk-utility
media-sound/gnome-sound-recorder
www-client/epiphany
sci-geosciences/gnome-maps
x11-terms/gnome-terminal
x11-themes/sound-theme-librem5
app-text/evince
sys-power/gtherm
sys-auth/rtkit
gnome-extra/sushi
media-gfx/eog
x11-misc/phosh-mobile-settings
media-video/totem
>=media-video/pipewire-0.3.65[libcamera]
tuba? (
net-im/tuba
)
squeekboard? (
x11-misc/squeekboard
)
chromium? (
www-client/chromium
)
firefox? (
www-client/firefox
)
geary? (
mail-client/geary
)
lollypop? (
media-sound/lollypop
)
owncloud? (
net-misc/owncloud-client
)
nextcloud? (
net-misc/nextcloud-client
)
voicemail? (
gnome-extra/vvmplayer
)
"
RDEPEND="${DEPEND}"
BDEPEND=""
S="${WORKDIR}"
pkg_postinst() {
[ -e /usr/share/applications-bak ] || mkdir /usr/share/applications-bak
for i in vim org.gnupg.pinentry-qt org.gnome.Extensions mupdf \
gnome-printers-panel gnome-wifi-pannel pidgin wpa_gui cups \
Gentoo-system-config-printer
do
if [ -e /usr/share/applications/$i.desktop ]; then
mv /usr/share/applications/$i.desktop /usr/share/applications-bak
fi
done
}

View File

@ -1,4 +0,0 @@
DIST gmobile-f1b50f0f90604e0f125412932dae9b1e08d57ddc.tar.gz 24027 BLAKE2B 55e3ac1452e2a788e7e4a8c39103d729a47ce32328f22c2f8684683731c9a157665a38850b2530d953813c597904813447517c6c4b46a5ef16bf21e94c1a5d9b SHA512 cdde81747792e69f5b80e85a78730986ec9e4da70ff36f965f9c2ea6ba58260c9e01e806fb145538e4d9a1eddd88479ebf255fff737a662af99874855d21cec8
DIST libcall-ui-6798b38d4d66d069751151b3e9a202c6de8d7f3c.tar.gz 168424 BLAKE2B 3e1d9bada93132f10165afce6ca54c3f1a2c8a21b1fdb856ad671a72f53ea910bdf8c49e4ccdffd60aaad29d0f4b68a875e5c666ed1bc568a109eb39fc750667 SHA512 02a45f88a0c79bb5b34ebb7de909d1028e245f0700c5afae81f39b74f4ca2da9ef1a4a82b45a296a2e93dee8b2bbf6a5b572175a8eff16c25ceb05254ff28a4d
DIST libgnome-volume-control-a1ae68ff11dc6156f9c80069194ea39679700f3f.tar.gz 46611 BLAKE2B 5888c374d7d92c6bdb1abf692ac12c0e6d93cfd6e606776b1c4af06483f41c46cdd5eca7e4bcb36d37efe377f7b8f2aad6a539d84563beb846c51ac80fa485c2 SHA512 8109c2fc8c0c0158ecdbad690902a8e3021e16b8c2b68d237215e1242c19ec60e78f006b02f9a2f824026eb4129be07a27ab045ad941252572db517da1cf769e
DIST phosh-v0.30.0.tar.gz 936377 BLAKE2B a1acdfec831aade7a14f400634e391ca2abd191ed6b5c68563104f886e5fbefbf6c673e83b7885c757ffd9e5436a292011314cff2282b7df1c98fa7c39ba70f6 SHA512 df227dfee98f5f312af9b9ea7f07b27eef58ea8c76943974e1cc0f4f3692a9a65b2ee703b847809a88ba6e340b79e5f866039c500047bd9d9747cb87e7f2acf8

View File

@ -1,29 +0,0 @@
From 19e3a56e02646308b2b78512308119811af96896 Mon Sep 17 00:00:00 2001
From: Gerben Jan Dijkman <gjdijkman@gjdwebserver.nl>
Date: Wed, 15 Jun 2022 18:13:55 +0200
Subject: [PATCH] Fix for polkit 120 and higher
---
src/polkit-auth-agent.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/polkit-auth-agent.h b/src/polkit-auth-agent.h
index fe7e808..bd79a20 100644
--- a/src/polkit-auth-agent.h
+++ b/src/polkit-auth-agent.h
@@ -19,7 +19,11 @@ G_BEGIN_DECLS
#if POLKIT_AGENT_MAJOR_VERSION == 0 && POLKIT_AGENT_MINOR_VERSION < 114
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PolkitSubject, g_object_unref)
#endif
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(PolkitAgentListener, g_object_unref)
+
+/* libpolkit lacks these */
+#if POLKIT_AGENT_MAJOR_VERSION == 0 && POLKIT_AGENT_MINOR_VERSION < 120
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(PolkitAgentListener, g_object_unref)
+#endif
#define PHOSH_TYPE_POLKIT_AUTH_AGENT (phosh_polkit_auth_agent_get_type())
--
2.35.1

View File

@ -1,23 +0,0 @@
From 4cb433819d0e39b85a9e8785b32c65deae8a36db Mon Sep 17 00:00:00 2001
From: Gerben Jan Dijkman <gjdijkman@gjdwebserver.nl>
Date: Fri, 15 Jul 2022 16:19:57 +0200
Subject: [PATCH] Gentoo patch for polkit 120
---
src/polkit-auth-agent.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/polkit-auth-agent.h b/src/polkit-auth-agent.h
index 426adc8..cf46441 100644
--- a/src/polkit-auth-agent.h
+++ b/src/polkit-auth-agent.h
@@ -21,7 +21,7 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(PolkitSubject, g_object_unref)
#endif
/* libpolkit lacks these */
-#if POLKIT_AGENT_MAJOR_VERSION == 0 && POLKIT_AGENT_MINOR_VERSION < 121
+#if POLKIT_AGENT_MAJOR_VERSION == 0 && POLKIT_AGENT_MINOR_VERSION < 120
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PolkitAgentListener, g_object_unref)
#endif
--

View File

@ -1,49 +0,0 @@
From e88f5dee0cbb7fa0851b43a5ded5d94256c756d2 Mon Sep 17 00:00:00 2001
From: Arnaud Ferraris <arnaud.ferraris@gmail.com>
Date: Sat, 21 Mar 2020 03:00:34 +0100
Subject: [PATCH] system-prompt: allow blank passwords
---
src/system-prompt.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/system-prompt.c b/src/system-prompt.c
index 30aa3f1..bd06ee0 100644
--- a/src/system-prompt.c
+++ b/src/system-prompt.c
@@ -256,8 +256,6 @@ phosh_system_prompt_password_async (GcrPrompt *prompt,
priv->task = g_task_new (self, NULL, callback, user_data);
g_task_set_source_tag (priv->task, phosh_system_prompt_password_async);
- if (!gtk_entry_get_text_length (GTK_ENTRY (priv->entry_password)))
- gtk_widget_set_sensitive (priv->btn_continue, FALSE);
gtk_widget_set_sensitive (priv->grid, TRUE);
obj = G_OBJECT (self);
@@ -315,7 +313,6 @@ phosh_system_prompt_confirm_async (GcrPrompt *prompt,
priv->task = g_task_new (self, NULL, callback, user_data);
g_task_set_source_tag (priv->task, phosh_system_prompt_confirm_async);
- gtk_widget_set_sensitive (priv->btn_continue, TRUE);
gtk_widget_set_sensitive (priv->grid, TRUE);
obj = G_OBJECT (self);
@@ -392,7 +389,6 @@ prompt_complete (PhoshSystemPrompt *self)
g_task_return_pointer (res, (gpointer)password, NULL);
g_object_unref (res);
- gtk_widget_set_sensitive (priv->btn_continue, FALSE);
gtk_widget_set_sensitive (priv->grid, FALSE);
return TRUE;
@@ -451,7 +447,6 @@ on_password_changed (PhoshSystemPrompt *self,
if (!gtk_entry_get_text_length (GTK_ENTRY (editable)))
return;
- gtk_widget_set_sensitive (priv->btn_continue, TRUE);
password = gtk_entry_get_text (GTK_ENTRY (editable));
/*
--
2.24.1

View File

@ -1,45 +0,0 @@
From 16b46e295b86cbf1beaccf8218cf65ebb4b7a6f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Wed, 13 Jul 2022 17:33:05 +0200
Subject: [PATCH] build: Adjust to polkit version changes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
So far it was `0.x` now it's `y` so don't fail if there's
no `.` in the version number. Otherwise we fail like
src/meson.build:295:0: ERROR: Index 1 out of bounds of array of size 1.
Signed-off-by: Guido Günther <guido.gunther@puri.sm>
Part-of: <https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1105>
---
src/meson.build | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index 6f00e2d..c41207a 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -292,9 +292,17 @@ phosh_deps = [
cc.find_library('rt', required: false),
]
+polkit_version = libpolkit_agent_dep.version().split('.')
+if polkit_version.length() == 1
+ polkit_major = polkit_version[0]
+ polkit_minor = '0'
+else
+ polkit_major = polkit_version[0]
+ polkit_minor = polkit_version[1]
+endif
add_project_arguments([
- '-DPOLKIT_AGENT_MAJOR_VERSION=' + libpolkit_agent_dep.version().split('.')[0],
- '-DPOLKIT_AGENT_MINOR_VERSION=' + libpolkit_agent_dep.version().split('.')[1]
+ '-DPOLKIT_AGENT_MAJOR_VERSION=' + polkit_major,
+ '-DPOLKIT_AGENT_MINOR_VERSION=' + polkit_minor,
], language: 'c')
phosh_inc = include_directories('.')
--
2.35.1

View File

@ -1,14 +0,0 @@
diff -Npur a/data/phosh.in b/data/phosh.in
--- a/data/phosh.in 2021-03-20 13:53:32.367786000 +0100
+++ b/data/phosh.in 2021-03-20 13:55:19.327789721 +0100
@@ -56,6 +56,10 @@ elif [ -f /etc/phosh/rootston.ini ]; th
PHOC_INI=/etc/phosh/rootston.ini
fi
+# Set proper locale according to /etc/locale.conf
+source /etc/locale.conf
+export LANG=$LANG
+
# Run gnome-session through a login shell so it picks
# variables from /etc/profile.d (XDG_*)
[ -n "$WLR_BACKENDS" ] || WLR_BACKENDS=drm,libinput

View File

@ -1,22 +0,0 @@
From: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
Date: Wed, 17 Mar 2021 17:38:58 +0100
Subject: Fix locale issue in Service file
* data/phosh.service (Environment): do not override user language
setting.
---
data/phosh.service | 1 -
1 file changed, 1 deletion(-)
diff --git a/data/phosh.service b/data/phosh.service
index fa18137..a585696 100644
--- a/data/phosh.service
+++ b/data/phosh.service
@@ -25,7 +25,6 @@ Before=graphical.target
ConditionPathExists=/dev/tty0
[Service]
-Environment=LANG=C.UTF-8
Environment=XDG_CURRENT_DESKTOP=Phosh:GNOME
Environment=XDG_SESSION_DESKTOP=phosh
Environment=XDG_SESSION_TYPE=wayland

View File

@ -1,375 +0,0 @@
From 91637428127909ebabf3ea3ce7f6e251fd9e0382 Mon Sep 17 00:00:00 2001
From: Adrien Plazas <kekun.plazas@laposte.net>
Date: Tue, 18 Jan 2022 11:24:10 +0100
Subject: [PATCH 1/2] app-grid-button: Add the adaptive property
If false, the button will show an icon denoting desktop support only.
---
data/icons/desktop-thin-small-symbolic.svg | 4 ++
src/app-grid-button.c | 63 +++++++++++++++++++++-
src/app-grid-button.h | 3 ++
src/phosh.gresources.xml | 1 +
src/ui/app-grid-button.ui | 25 +++++++--
5 files changed, 89 insertions(+), 7 deletions(-)
create mode 100644 data/icons/desktop-thin-small-symbolic.svg
diff --git a/data/icons/desktop-thin-small-symbolic.svg b/data/icons/desktop-thin-small-symbolic.svg
new file mode 100644
index 000000000..46111bd10
--- /dev/null
+++ b/data/icons/desktop-thin-small-symbolic.svg
@@ -0,0 +1,4 @@
+<svg width="8" height="8" version="1.1" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg">
+ <rect x="2" y="7" width="4" height="1" fill="#241f31"/>
+ <path d="m1.5 1c-0.82235 0-1.5 0.67765-1.5 1.5v2c0 0.82235 0.67765 1.5 1.5 1.5h5c0.82235 0 1.5-0.67765 1.5-1.5v-2c0-0.82235-0.67765-1.5-1.5-1.5zm0 1h5c0.28565 0 0.5 0.21435 0.5 0.5v2c0 0.28565-0.21435 0.5-0.5 0.5h-5c-0.28565 0-0.5-0.21435-0.5-0.5v-2c0-0.28565 0.21435-0.5 0.5-0.5z" color="#000000" fill="#241f31" stroke-dashoffset="26.4" stroke-linecap="square" stroke-linejoin="round"/>
+</svg>
diff --git a/src/app-grid-button.c b/src/app-grid-button.c
index f65c00b87..e66401772 100644
--- a/src/app-grid-button.c
+++ b/src/app-grid-button.c
@@ -22,12 +22,15 @@ struct _PhoshAppGridButtonPrivate {
GAppInfo *info;
gboolean is_favorite;
PhoshAppGridButtonMode mode;
+ gboolean adaptive;
gulong favorite_changed_watcher;
+ GtkWidget *form_factor_desktop;
GtkWidget *icon;
GtkWidget *label;
GtkWidget *popover;
+ GtkWidget *title_box;
GtkGesture *gesture;
GMenu *menu;
@@ -43,6 +46,7 @@ enum {
PROP_APP_INFO,
PROP_IS_FAVORITE,
PROP_MODE,
+ PROP_ADAPTIVE,
LAST_PROP
};
static GParamSpec *props[LAST_PROP];
@@ -68,6 +72,9 @@ phosh_app_grid_button_set_property (GObject *object,
case PROP_MODE:
phosh_app_grid_button_set_mode (self, g_value_get_enum (value));
break;
+ case PROP_ADAPTIVE:
+ phosh_app_grid_button_set_adaptive (self, g_value_get_boolean (value));
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
@@ -93,6 +100,9 @@ phosh_app_grid_button_get_property (GObject *object,
case PROP_MODE:
g_value_set_enum (value, phosh_app_grid_button_get_mode (self));
break;
+ case PROP_ADAPTIVE:
+ g_value_set_boolean (value, phosh_app_grid_button_get_adaptive (self));
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
break;
@@ -229,14 +239,31 @@ phosh_app_grid_button_class_init (PhoshAppGridButtonClass *klass)
G_PARAM_READWRITE |
G_PARAM_EXPLICIT_NOTIFY);
+ /**
+ * PhoshAppGridButton:adaptive:
+ *
+ * Whether to set the button in adaptive mode.
+ *
+ * An icon will be shown when the app is expected to not adjust to a phone's
+ * screen size.
+ */
+ props[PROP_ADAPTIVE] =
+ g_param_spec_boolean ("adaptive", "", "",
+ FALSE,
+ G_PARAM_STATIC_STRINGS |
+ G_PARAM_READWRITE |
+ G_PARAM_EXPLICIT_NOTIFY);
+
g_object_class_install_properties (object_class, LAST_PROP, props);
gtk_widget_class_set_template_from_resource (widget_class, "/sm/puri/phosh/ui/app-grid-button.ui");
+ gtk_widget_class_bind_template_child_private (widget_class, PhoshAppGridButton, form_factor_desktop);
gtk_widget_class_bind_template_child_private (widget_class, PhoshAppGridButton, icon);
gtk_widget_class_bind_template_child_private (widget_class, PhoshAppGridButton, label);
gtk_widget_class_bind_template_child_private (widget_class, PhoshAppGridButton, popover);
+ gtk_widget_class_bind_template_child_private (widget_class, PhoshAppGridButton, title_box);
gtk_widget_class_bind_template_child_private (widget_class, PhoshAppGridButton, menu);
gtk_widget_class_bind_template_child_private (widget_class, PhoshAppGridButton, actions);
@@ -555,10 +582,10 @@ phosh_app_grid_button_set_mode (PhoshAppGridButton *self,
switch (mode) {
case PHOSH_APP_GRID_BUTTON_LAUNCHER:
- gtk_widget_set_visible (priv->label, TRUE);
+ gtk_widget_set_visible (priv->title_box, TRUE);
break;
case PHOSH_APP_GRID_BUTTON_FAVORITES:
- gtk_widget_set_visible (priv->label, FALSE);
+ gtk_widget_set_visible (priv->title_box, FALSE);
break;
default:
g_critical ("Invalid mode %i", mode);
@@ -581,3 +608,35 @@ phosh_app_grid_button_get_mode (PhoshAppGridButton *self)
return priv->mode;
}
+
+
+void
+phosh_app_grid_button_set_adaptive (PhoshAppGridButton *self,
+ gboolean adaptive)
+{
+ PhoshAppGridButtonPrivate *priv;
+
+ g_return_if_fail (PHOSH_IS_APP_GRID_BUTTON (self));
+ priv = phosh_app_grid_button_get_instance_private (self);
+
+ adaptive = !!adaptive;
+
+ if (priv->adaptive == adaptive)
+ return;
+
+ priv->adaptive = adaptive;
+
+ g_object_notify_by_pspec (G_OBJECT (self), props[PROP_ADAPTIVE]);
+}
+
+
+gboolean
+phosh_app_grid_button_get_adaptive (PhoshAppGridButton *self)
+{
+ PhoshAppGridButtonPrivate *priv;
+
+ g_return_val_if_fail (PHOSH_IS_APP_GRID_BUTTON (self), FALSE);
+ priv = phosh_app_grid_button_get_instance_private (self);
+
+ return priv->adaptive;
+}
diff --git a/src/app-grid-button.h b/src/app-grid-button.h
index 3e409f75c..7db4c3f51 100644
--- a/src/app-grid-button.h
+++ b/src/app-grid-button.h
@@ -51,5 +51,8 @@ gboolean phosh_app_grid_button_is_favorite (PhoshAppGridButton
void phosh_app_grid_button_set_mode (PhoshAppGridButton *self,
PhoshAppGridButtonMode mode);
PhoshAppGridButtonMode phosh_app_grid_button_get_mode (PhoshAppGridButton *self);
+void phosh_app_grid_button_set_adaptive (PhoshAppGridButton *self,
+ gboolean adaptive);
+gboolean phosh_app_grid_button_get_adaptive (PhoshAppGridButton *self);
G_END_DECLS
diff --git a/src/phosh.gresources.xml b/src/phosh.gresources.xml
index 692f5e09d..7e53285f4 100644
--- a/src/phosh.gresources.xml
+++ b/src/phosh.gresources.xml
@@ -37,6 +37,7 @@
<file alias="auth-sim-locked-symbolic.svg">../data/icons/auth-sim-locked-symbolic.svg</file>
<file alias="auth-sim-missing-symbolic.svg">../data/icons/auth-sim-missing-symbolic.svg</file>
<file alias="camera-hardware-disabled-symbolic.svg">../data/icons/camera-hardware-disabled-symbolic.svg</file>
+ <file alias="desktop-thin-small-symbolic.svg">../data/icons/desktop-thin-small-symbolic.svg</file>
<file alias="eye-not-looking-symbolic.svg">../data/icons/eye-not-looking-symbolic.svg</file>
<file alias="eye-open-negative-filled-symbolic.svg">../data/icons/eye-open-negative-filled-symbolic.svg</file>
<file alias="feedback-quiet-symbolic.svg">../data/icons/feedback-quiet-symbolic.svg</file>
diff --git a/src/ui/app-grid-button.ui b/src/ui/app-grid-button.ui
index 98a017086..08fc0bdbc 100644
--- a/src/ui/app-grid-button.ui
+++ b/src/ui/app-grid-button.ui
@@ -48,12 +48,27 @@
</packing>
</child>
<child>
- <object class="PhoshFadingLabel" id="label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="no_show_all">True</property>
- <property name="label" translatable="yes">App</property>
+ <object class="GtkBox" id="title_box">
<property name="halign">center</property>
+ <property name="no-show-all">True</property>
+ <property name="spacing">4</property>
+ <property name="visible">True</property>
+ <child>
+ <object class="GtkImage" id="form_factor_desktop">
+ <property name="icon-name">desktop-thin-small-symbolic</property>
+ <property name="pixel-size">8</property>
+ <property name="visible" bind-source="PhoshAppGridButton" bind-property="adaptive" bind-flags="sync-create|invert-boolean"/>
+ </object>
+ </child>
+ <child>
+ <object class="PhoshFadingLabel" id="label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="no_show_all">True</property>
+ <property name="label" translatable="yes">App</property>
+ <property name="halign">center</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
--
GitLab
From b10f431e139e8c258aa93eff010be6847d90c333 Mon Sep 17 00:00:00 2001
From: Adrien Plazas <kekun.plazas@laposte.net>
Date: Wed, 26 Jan 2022 13:46:41 +0100
Subject: [PATCH 2/2] app-grid: Show a desktop icon on non-adaptive apps
This helps knowing which apps work everywhere and which ones only work
on desktops.
---
src/app-grid.c | 68 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 48 insertions(+), 20 deletions(-)
diff --git a/src/app-grid.c b/src/app-grid.c
index 276f08485..a6dd1a9a5 100644
--- a/src/app-grid.c
+++ b/src/app-grid.c
@@ -146,6 +146,45 @@ update_filter_adaptive_button (PhoshAppGrid *self)
}
+static gboolean
+app_is_adaptive (PhoshAppGrid *self, GDesktopAppInfo *info)
+{
+ PhoshAppGridPrivate *priv = phosh_app_grid_get_instance_private (self);
+ g_autofree char *mobile = NULL;
+ const char *id;
+
+ mobile = g_desktop_app_info_get_string (G_DESKTOP_APP_INFO (info),
+ "X-Purism-FormFactor");
+ if (mobile && strcasestr (mobile, "mobile;"))
+ return TRUE;
+
+ g_free (mobile);
+ mobile = g_desktop_app_info_get_string (G_DESKTOP_APP_INFO (info),
+ "X-KDE-FormFactor");
+ if (mobile && strcasestr (mobile, "handset;"))
+ return TRUE;
+
+ id = g_app_info_get_id (G_APP_INFO (info));
+ if (id && priv->force_adaptive && g_strv_contains ((const char * const*)priv->force_adaptive, id))
+ return TRUE;
+
+ return FALSE;
+}
+
+
+static void
+update_app_button_adaptive (GtkWidget *widget,
+ gpointer data)
+{
+ PhoshAppGridButton *button = PHOSH_APP_GRID_BUTTON (widget);
+ PhoshAppGrid *self = PHOSH_APP_GRID (data);
+ GAppInfo *info = phosh_app_grid_button_get_app_info (button);
+ gboolean adaptive = app_is_adaptive (self, G_DESKTOP_APP_INFO (info));
+
+ phosh_app_grid_button_set_adaptive (button, adaptive);
+}
+
+
static void
on_filter_setting_changed (PhoshAppGrid *self,
GParamSpec *pspec,
@@ -158,7 +197,7 @@ on_filter_setting_changed (PhoshAppGrid *self,
priv = phosh_app_grid_get_instance_private (self);
- g_strfreev (priv->force_adaptive);
+ g_clear_pointer (&priv->force_adaptive, g_strfreev);
priv->force_adaptive = g_settings_get_strv (priv->settings,
"force-adaptive");
priv->filter_mode = g_settings_get_flags (priv->settings,
@@ -168,6 +207,8 @@ on_filter_setting_changed (PhoshAppGrid *self,
gtk_widget_set_visible (priv->btn_adaptive, show);
gtk_filter_list_model_refilter (priv->model);
+
+ gtk_container_foreach (GTK_CONTAINER (priv->apps), update_app_button_adaptive, self);
}
@@ -175,8 +216,6 @@ static gboolean
filter_adaptive (PhoshAppGrid *self, GDesktopAppInfo *info)
{
PhoshAppGridPrivate *priv = phosh_app_grid_get_instance_private (self);
- g_autofree char *mobile = NULL;
- const char *id;
if (!(priv->filter_mode & PHOSH_APP_FILTER_MODE_FLAGS_ADAPTIVE))
return TRUE;
@@ -184,22 +223,7 @@ filter_adaptive (PhoshAppGrid *self, GDesktopAppInfo *info)
if (!priv->filter_adaptive)
return TRUE;
- mobile = g_desktop_app_info_get_string (G_DESKTOP_APP_INFO (info),
- "X-Purism-FormFactor");
- if (mobile && strcasestr (mobile, "mobile;"))
- return TRUE;
-
- g_free (mobile);
- mobile = g_desktop_app_info_get_string (G_DESKTOP_APP_INFO (info),
- "X-KDE-FormFactor");
- if (mobile && strcasestr (mobile, "handset;"))
- return TRUE;
-
- id = g_app_info_get_id (G_APP_INFO (info));
- if (id && g_strv_contains ((const char * const*)priv->force_adaptive, id))
- return TRUE;
-
- return FALSE;
+ return app_is_adaptive (self, info);
}
@@ -319,6 +343,7 @@ favorites_changed (GListModel *list,
/* We don't show favorites in the main list, filter them out */
gtk_filter_list_model_refilter (priv->model);
+ gtk_container_foreach (GTK_CONTAINER (priv->apps), update_app_button_adaptive, self);
}
@@ -332,6 +357,7 @@ create_launcher (gpointer item,
G_CALLBACK (app_launched_cb), self);
gtk_widget_show (btn);
+ update_app_button_adaptive (btn, self);
return btn;
}
@@ -410,7 +436,7 @@ phosh_app_grid_finalize (GObject *object)
PhoshAppGridPrivate *priv = phosh_app_grid_get_instance_private (self);
g_clear_pointer (&priv->search_string, g_free);
- g_strfreev (priv->force_adaptive);
+ g_clear_pointer (&priv->force_adaptive, g_strfreev);
G_OBJECT_CLASS (phosh_app_grid_parent_class)->finalize (object);
}
@@ -447,6 +473,7 @@ do_search (PhoshAppGrid *self)
}
gtk_filter_list_model_refilter (priv->model);
+ gtk_container_foreach (GTK_CONTAINER (priv->apps), update_app_button_adaptive, self);
priv->debounce = 0;
return G_SOURCE_REMOVE;
@@ -682,5 +709,6 @@ phosh_app_grid_set_filter_adaptive (PhoshAppGrid *self, gboolean enable)
update_filter_adaptive_button (self);
gtk_filter_list_model_refilter (priv->model);
+ gtk_container_foreach (GTK_CONTAINER (priv->apps), update_app_button_adaptive, self);
g_object_notify_by_pspec (G_OBJECT (self), props[PROP_FILTER_ADAPTIVE]);
}
--
GitLab

Some files were not shown because too many files have changed in this diff Show More