From 2690a826bb5ab4636b2aa45a05f1e32487e5d2b9 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Sat, 24 Jul 2021 21:03:58 +0200 Subject: [PATCH] QA fixes --- app-mobilephone/flashlight/Manifest | 1 + .../flashlight/files/60-flashlight.rules | 5 + .../flashlight/files/90-flashlight.rules | 2 + .../flashlight/flashlight-0.1.1-r2.ebuild | 37 ++++ app-mobilephone/flashlight/metadata.xml | 5 + app-mobilephone/pinephone-meta/metadata.xml | 8 + .../pinephone-meta/pinephone-meta-0.2.ebuild | 26 +++ .../usb-tethering/files/dhcpd.conf | 5 + .../files/dhcpd4.service-customexec.conf | 9 + .../files/tmpfiles.d.danctnix-usb.conf | 2 + .../usb-tethering/files/usb-tethering | 77 ++++++++ .../usb-tethering/files/usb-tethering.service | 12 ++ app-mobilephone/usb-tethering/metadata.xml | 5 + .../usb-tethering/usb-tethering-0.1.ebuild | 33 ++++ dev-libs/feedbackd/Manifest | 2 + dev-libs/feedbackd/feedbackd-0.0.0.ebuild | 56 ++++++ .../feedbackd/files/pine64.pinephone.json | 175 ++++++++++++++++++ dev-libs/feedbackd/files/purism.librem5.json | 174 +++++++++++++++++ dev-libs/feedbackd/metadata.xml | 12 ++ .../libphonenumber-8.12.28.ebuild | 25 ++- dev-libs/libphonenumber/metadata.xml | 3 - .../properties-cpp-0.0.2.ebuild | 15 +- .../authenticator/authenticator-4.0.3.ebuild | 3 +- gnome-extra/authenticator/metadata.xml | 3 - net-im/cawbird/Manifest | 2 +- net-im/cawbird/cawbird-1.4.1.ebuild | 25 +-- net-im/chatty/chatty-0.3.3.ebuild | 2 +- .../eg25-manager/eg25-manager-0.3.0.ebuild | 3 +- net-misc/eg25-manager/metadata.xml | 14 +- net-voip/gnome-calls/gnome-calls-0.3.4.ebuild | 3 +- net-voip/gnome-calls/metadata.xml | 3 - x11-libs/libadwaita/libadwaita-1.0.0.ebuild | 5 +- 32 files changed, 682 insertions(+), 70 deletions(-) create mode 100644 app-mobilephone/flashlight/Manifest create mode 100644 app-mobilephone/flashlight/files/60-flashlight.rules create mode 100644 app-mobilephone/flashlight/files/90-flashlight.rules create mode 100644 app-mobilephone/flashlight/flashlight-0.1.1-r2.ebuild create mode 100644 app-mobilephone/flashlight/metadata.xml create mode 100644 app-mobilephone/pinephone-meta/metadata.xml create mode 100644 app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild create mode 100644 app-mobilephone/usb-tethering/files/dhcpd.conf create mode 100644 app-mobilephone/usb-tethering/files/dhcpd4.service-customexec.conf create mode 100644 app-mobilephone/usb-tethering/files/tmpfiles.d.danctnix-usb.conf create mode 100644 app-mobilephone/usb-tethering/files/usb-tethering create mode 100644 app-mobilephone/usb-tethering/files/usb-tethering.service create mode 100644 app-mobilephone/usb-tethering/metadata.xml create mode 100644 app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild create mode 100644 dev-libs/feedbackd/Manifest create mode 100644 dev-libs/feedbackd/feedbackd-0.0.0.ebuild create mode 100644 dev-libs/feedbackd/files/pine64.pinephone.json create mode 100644 dev-libs/feedbackd/files/purism.librem5.json create mode 100644 dev-libs/feedbackd/metadata.xml diff --git a/app-mobilephone/flashlight/Manifest b/app-mobilephone/flashlight/Manifest new file mode 100644 index 0000000..8739b8f --- /dev/null +++ b/app-mobilephone/flashlight/Manifest @@ -0,0 +1 @@ +DIST flashlight-0.1.1.tar.gz 20077 BLAKE2B c9ed29d034c5c7e91a87209236e153afbada4c0e098dba0e0ed8fa0f7b321d3ec693fe198de415031024f4a29437ba2986809f30009c5c09751d7800449a42af SHA512 ed8350bf75f5638c36ba070dee7f5aa0455fcde5ed4ecc63ff7a27578d34e382e16b2998e25898e972b95b5307af58de14b96ee359bedfcee924f9b7e865dcd6 diff --git a/app-mobilephone/flashlight/files/60-flashlight.rules b/app-mobilephone/flashlight/files/60-flashlight.rules new file mode 100644 index 0000000..b9098a8 --- /dev/null +++ b/app-mobilephone/flashlight/files/60-flashlight.rules @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-3+ +# +# This file is part of flashlight. + +SUBSYSTEM=="leds", KERNEL=="white:flash", ACTION=="add", RUN+="/bin/chmod -R a+w /sys%p" diff --git a/app-mobilephone/flashlight/files/90-flashlight.rules b/app-mobilephone/flashlight/files/90-flashlight.rules new file mode 100644 index 0000000..3aafcd2 --- /dev/null +++ b/app-mobilephone/flashlight/files/90-flashlight.rules @@ -0,0 +1,2 @@ +SUBSYSTEM=="leds", ACTION=="add", KERNEL=="white:flash", \ + RUN+="/bin/chmod 777 /sys/class/leds/%k/brightness" diff --git a/app-mobilephone/flashlight/flashlight-0.1.1-r2.ebuild b/app-mobilephone/flashlight/flashlight-0.1.1-r2.ebuild new file mode 100644 index 0000000..af04496 --- /dev/null +++ b/app-mobilephone/flashlight/flashlight-0.1.1-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson gnome2-utils udev xdg-utils + +MY_COMMIT="f5feb4b3d17bbf16171d716bbb8e28f3a84542ef" + +DESCRIPTION="It's a flashlight, what do you expect?" +HOMEPAGE="https://gitlab.com/a-wai/flashlight.git" +SRC_URI="https://gitlab.com/a-wai/flashlight/-/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND="x11-libs/gtk+" +BDEPEND="dev-lang/python-exec[native-symlinks]" + +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +src_install() { + meson_src_install + udev_dorules "${FILESDIR}/60-flashlight.rules" + mv "${D}/usr/share/appdata" "${D}/usr/share/metainfo" || die +} + +pkg_postinst() { + gnome2_schemas_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_icon_cache_update +} diff --git a/app-mobilephone/flashlight/metadata.xml b/app-mobilephone/flashlight/metadata.xml new file mode 100644 index 0000000..b372191 --- /dev/null +++ b/app-mobilephone/flashlight/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app-mobilephone/pinephone-meta/metadata.xml b/app-mobilephone/pinephone-meta/metadata.xml new file mode 100644 index 0000000..9cb2e15 --- /dev/null +++ b/app-mobilephone/pinephone-meta/metadata.xml @@ -0,0 +1,8 @@ + + + + + + Enable eg25 modem manager + + diff --git a/app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild b/app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild new file mode 100644 index 0000000..04b0de4 --- /dev/null +++ b/app-mobilephone/pinephone-meta/pinephone-meta-0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd udev + +DESCRIPTION="Meta-package for installing phosh on pinephone" +HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/pinephone-manjaro-tweaks.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~arm64" +IUSE="+eg25-manager" + +RDEPEND=" + app-mobilephone/pinephone-modem-scripts + app-mobilephone/usb-tethering + gnome-extra/iio-sensor-proxy + gui-wm/phosh-meta + media-libs/alsa-ucm-pinephone + media-tv/v4l-utils + net-misc/eg25-manager + sys-firmware/pinephone-firmware + x11-themes/sound-theme-librem5 +" diff --git a/app-mobilephone/usb-tethering/files/dhcpd.conf b/app-mobilephone/usb-tethering/files/dhcpd.conf new file mode 100644 index 0000000..d7600ea --- /dev/null +++ b/app-mobilephone/usb-tethering/files/dhcpd.conf @@ -0,0 +1,5 @@ +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; +} diff --git a/app-mobilephone/usb-tethering/files/dhcpd4.service-customexec.conf b/app-mobilephone/usb-tethering/files/dhcpd4.service-customexec.conf new file mode 100644 index 0000000..82e4c9d --- /dev/null +++ b/app-mobilephone/usb-tethering/files/dhcpd4.service-customexec.conf @@ -0,0 +1,9 @@ +[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 diff --git a/app-mobilephone/usb-tethering/files/tmpfiles.d.danctnix-usb.conf b/app-mobilephone/usb-tethering/files/tmpfiles.d.danctnix-usb.conf new file mode 100644 index 0000000..960f438 --- /dev/null +++ b/app-mobilephone/usb-tethering/files/tmpfiles.d.danctnix-usb.conf @@ -0,0 +1,2 @@ +d /run/danctnix 0755 root root +f /run/danctnix/dhcpd4.lease 0644 root root diff --git a/app-mobilephone/usb-tethering/files/usb-tethering b/app-mobilephone/usb-tethering/files/usb-tethering new file mode 100644 index 0000000..aaa63eb --- /dev/null +++ b/app-mobilephone/usb-tethering/files/usb-tethering @@ -0,0 +1,77 @@ +#!/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" + + # 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 diff --git a/app-mobilephone/usb-tethering/files/usb-tethering.service b/app-mobilephone/usb-tethering/files/usb-tethering.service new file mode 100644 index 0000000..25620f7 --- /dev/null +++ b/app-mobilephone/usb-tethering/files/usb-tethering.service @@ -0,0 +1,12 @@ +# 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 diff --git a/app-mobilephone/usb-tethering/metadata.xml b/app-mobilephone/usb-tethering/metadata.xml new file mode 100644 index 0000000..b372191 --- /dev/null +++ b/app-mobilephone/usb-tethering/metadata.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild b/app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild new file mode 100644 index 0000000..7ef20b1 --- /dev/null +++ b/app-mobilephone/usb-tethering/usb-tethering-0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 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 +} diff --git a/dev-libs/feedbackd/Manifest b/dev-libs/feedbackd/Manifest new file mode 100644 index 0000000..06093c6 --- /dev/null +++ b/dev-libs/feedbackd/Manifest @@ -0,0 +1,2 @@ +DIST feedbackd-0.0.0-48b4bb97d62fa1917a9e54852f593d3190ef188c.tar.gz 79913 BLAKE2B 9173619846072bf46a83c88a5383c36aa2493773a31de0a25b7d2db9ce45873674f7a551ff009b7e18e4bde19807ef92da81b6c27e9c78d568066f0350f1eaba SHA512 e87da6123fe56167cb5e1a5d0fbe2d17356e337b53f6348ddd1f9fb5236f213bf72b3b04763edf36fd477fd969ac10f87eafc4136880e40981b7f8b0c4508065 +DIST feedbackd-device-themes-516e80e0b00bbd904e64b0c272c40218290fe9f5.tar.gz 14397 BLAKE2B 189d20635fac63085f0154c939c1c3f5e3e8543eb074f8f82486c4503224eceb0ddc3674f48530e6cb1fa3bc44ad6b1797c5fb1ec575f225e54db97e204c8ec0 SHA512 4ace1c68b26395de54cfae84e5c8cde8642d2bfd663238d4fc527bce44cb937155d1113af56b26b8a0c0168332a617ce6ef5971ea100c664541ae083c47c1661 diff --git a/dev-libs/feedbackd/feedbackd-0.0.0.ebuild b/dev-libs/feedbackd/feedbackd-0.0.0.ebuild new file mode 100644 index 0000000..e5b4d8d --- /dev/null +++ b/dev-libs/feedbackd/feedbackd-0.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +inherit vala meson udev + +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +IUSE="+introspection +vala" +REQUIRED_USE="vala? ( introspection )" + +MY_COMMIT="48b4bb97d62fa1917a9e54852f593d3190ef188c" +MY_THEME_COMMIT="516e80e0b00bbd904e64b0c272c40218290fe9f5" + +DESCRIPTION="A daemon to provide haptic feedback on events" +HOMEPAGE="https://source.puri.sm/Librem5/feedbackd" + +SRC_URI="https://source.puri.sm/Librem5/feedbackd/-/archive/${MY_COMMIT}/${MY_COMMIT}.tar.gz -> ${P}-${MY_COMMIT}.tar.gz +https://source.puri.sm/Librem5/feedbackd-device-themes/-/archive/${MY_THEME_COMMIT}/feedbackd-device-themes-${MY_THEME_COMMIT}.tar.gz +" + +S=${WORKDIR}/${PN}-${MY_COMMIT} + +LICENSE="LGPL-3" +SLOT="0" + +DEPEND=" + gnome-base/dconf + media-libs/gsound + dev-libs/json-glib + dev-libs/libgudev +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-libs/gobject-introspection + dev-util/meson + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + default + eapply_user + use vala && vala_src_prepare + sed -i 's/-G feedbackd/-G video/g' "${S}/debian/feedbackd.udev" +} + +src_install() { + default + meson_src_install + insinto /usr/share/feedbackd/themes + doins "${WORKDIR}/feedbackd-device-themes-${MY_THEME_COMMIT}/data/"*.json + udev_newrules "${S}/debian/feedbackd.udev" 90-feedbackd.rules +} diff --git a/dev-libs/feedbackd/files/pine64.pinephone.json b/dev-libs/feedbackd/files/pine64.pinephone.json new file mode 100644 index 0000000..2b62845 --- /dev/null +++ b/dev-libs/feedbackd/files/pine64.pinephone.json @@ -0,0 +1,175 @@ +{ + "name" : "default", + "profiles" : [ + { + "name" : "full", + "feedbacks" : [ + { + "event-name" : "alarm-clock-elapsed", + "type" : "Sound", + "effect" : "alarm-clock-elapsed" + }, + { + "event-name" : "button-pressed", + "type" : "Sound", + "effect" : "button-pressed" + }, + { + "event-name" : "button-released", + "type" : "Sound", + "effect" : "button-released" + }, + { + "event-name" : "message-new-email", + "type" : "Sound", + "effect" : "message-new-email" + }, + { + "event-name" : "message-new-instant", + "type" : "Sound", + "effect" : "message-new-instant" + }, + { + "event-name" : "message-new-sms", + "type" : "Sound", + "effect" : "message-new-instant" + }, + { + "event-name" : "phone-incoming-call", + "type" : "Sound", + "effect" : "phone-incoming-call" + }, + { + "event-name" : "timeout-completed", + "type" : "Sound", + "effect" : "complete" + }, + { + "event-name" : "theme-demo", + "type" : "Sound", + "effect" : "theme-demo" + }, + { + "event-name" : "window-close", + "type" : "Sound", + "effect" : "theme-demo" + } + ] + }, + { + "name" : "quiet", + "feedbacks" : [ + { + "event-name" : "alarm-clock-elapsed", + "type" : "VibraPeriodic", + "magnitude" : 32767, + "duration" : 10000, + "fade-in-time" : 10000, + "fade-in-level": 4096 + }, + { + "event-name" : "bell-terminal", + "type" : "VibraRumble", + "duration" : 100 + }, + { + "event-name" : "button-pressed", + "type" : "VibraRumble", + "duration" : 80 + }, + { + "event-name" : "button-released", + "type" : "VibraRumble", + "duration" : 40 + }, + { + "event-name" : "message-new-email", + "type" : "VibraRumble", + "duration" : 750, + "count" : 3, + "pause" : 100 + }, + { + "event-name" : "message-new-instant", + "type" : "VibraRumble", + "duration" : 750 + }, + { + "event-name" : "message-new-sms", + "type" : "VibraRumble", + "duration" : 1250, + "count" : 2, + "pause" : 250 + }, + { + "event-name" : "message-sent-instant", + "type" : "VibraRumble", + "duration" : 250 + }, + { + "event-name" : "phone-incoming-call", + "type" : "VibraPeriodic", + "duration" : 10000 + }, + { + "event-name" : "timeout-completed", + "type" : "VibraRumble", + "duration" : 500 + }, + { + "event-name" : "theme-demo", + "type" : "VibraPeriodic", + "magnitude" : 32767, + "duration" : 5000 + }, + { + "event-name" : "window-close", + "type" : "VibraRumble", + "duration" : 75 + } + ] + }, + { + "name" : "silent", + "feedbacks" : [ + { + "event-name" : "battery-caution", + "type" : "Led", + "color" : "red", + "frequency" : 5000 + }, + { + "event-name" : "phone-missed-call", + "type" : "Led", + "color" : "blue", + "frequency" : 3000 + }, + { + "event-name" : "message-missed-email", + "type" : "Led", + "color" : "blue", + "frequency" : 2000 + }, + { + "event-name" : "message-missed-instant", + "type" : "Led", + "color" : "blue", + "frequency" : 1000 + }, + { + "event-name" : "message-missed-notification", + "type" : "Led", + "color" : "blue", + "frequency" : 500 + }, + { + "event-name" : "message-missed-sms", + "type" : "Led", + "color" : "blue", + "frequency" : 2000 + } + ] + } + ] +} + diff --git a/dev-libs/feedbackd/files/purism.librem5.json b/dev-libs/feedbackd/files/purism.librem5.json new file mode 100644 index 0000000..043e726 --- /dev/null +++ b/dev-libs/feedbackd/files/purism.librem5.json @@ -0,0 +1,174 @@ +{ + "name" : "default", + "profiles" : [ + { + "name" : "full", + "feedbacks" : [ + { + "event-name" : "alarm-clock-elapsed", + "type" : "Sound", + "effect" : "alarm-clock-elapsed" + }, + { + "event-name" : "button-pressed", + "type" : "Sound", + "effect" : "button-pressed" + }, + { + "event-name" : "button-released", + "type" : "Sound", + "effect" : "button-released" + }, + { + "event-name" : "message-new-email", + "type" : "Sound", + "effect" : "message-new-email" + }, + { + "event-name" : "message-new-instant", + "type" : "Sound", + "effect" : "message-new-instant" + }, + { + "event-name" : "message-new-sms", + "type" : "Sound", + "effect" : "message-new-instant" + }, + { + "event-name" : "phone-incoming-call", + "type" : "Sound", + "effect" : "phone-incoming-call" + }, + { + "event-name" : "timeout-completed", + "type" : "Sound", + "effect" : "complete" + }, + { + "event-name" : "theme-demo", + "type" : "Sound", + "effect" : "theme-demo" + }, + { + "event-name" : "window-close", + "type" : "Sound", + "effect" : "theme-demo" + } + ] + }, + { + "name" : "quiet", + "feedbacks" : [ + { + "event-name" : "alarm-clock-elapsed", + "type" : "VibraPeriodic", + "magnitude" : 32767, + "duration" : 10000, + "fade-in-time" : 10000, + "fade-in-level": 4096 + }, + { + "event-name" : "bell-terminal", + "type" : "VibraRumble", + "duration" : 100 + }, + { + "event-name" : "button-pressed", + "type" : "VibraRumble", + "duration" : 15 + }, + { + "event-name" : "button-released", + "type" : "VibraRumble", + "duration" : 12 + }, + { + "event-name" : "message-new-email", + "type" : "VibraRumble", + "duration" : 750, + "count" : 3, + "pause" : 100 + }, + { + "event-name" : "message-new-instant", + "type" : "VibraRumble", + "duration" : 150 + }, + { + "event-name" : "message-new-sms", + "type" : "VibraRumble", + "duration" : 500, + "count" : 2, + "pause" : 100 + }, + { + "event-name" : "message-sent-instant", + "type" : "VibraRumble", + "duration" : 150 + }, + { + "event-name" : "phone-incoming-call", + "type" : "VibraPeriodic", + "duration" : 10000 + }, + { + "event-name" : "timeout-completed", + "type" : "VibraRumble", + "duration" : 100 + }, + { + "event-name" : "theme-demo", + "type" : "VibraPeriodic", + "magnitude" : 32767, + "duration" : 5000 + }, + { + "event-name" : "window-close", + "type" : "VibraRumble", + "duration" : 25 + } + ] + }, + { + "name" : "silent", + "feedbacks" : [ + { + "event-name" : "battery-caution", + "type" : "Led", + "color" : "red", + "frequency" : 5000 + }, + { + "event-name" : "phone-missed-call", + "type" : "Led", + "color" : "blue", + "frequency" : 3000 + }, + { + "event-name" : "message-missed-email", + "type" : "Led", + "color" : "blue", + "frequency" : 2000 + }, + { + "event-name" : "message-missed-instant", + "type" : "Led", + "color" : "blue", + "frequency" : 1000 + }, + { + "event-name" : "message-missed-notification", + "type" : "Led", + "color" : "blue", + "frequency" : 500 + }, + { + "event-name" : "message-missed-sms", + "type" : "Led", + "color" : "blue", + "frequency" : 2000 + } + ] + } + ] +} diff --git a/dev-libs/feedbackd/metadata.xml b/dev-libs/feedbackd/metadata.xml new file mode 100644 index 0000000..a9bd690 --- /dev/null +++ b/dev-libs/feedbackd/metadata.xml @@ -0,0 +1,12 @@ + + + + + gjdijkman@gjdwebserver.nl + Gerben Jan Dijkman + + + https://source.puri.sm/Librem5/feedbackd/ + https://source.puri.sm/Librem5/feedbackd/-/issues + + diff --git a/dev-libs/libphonenumber/libphonenumber-8.12.28.ebuild b/dev-libs/libphonenumber/libphonenumber-8.12.28.ebuild index 38c7b33..89eb9aa 100644 --- a/dev-libs/libphonenumber/libphonenumber-8.12.28.ebuild +++ b/dev-libs/libphonenumber/libphonenumber-8.12.28.ebuild @@ -3,31 +3,28 @@ EAPI=7 -inherit cmake +CMAKE_MAKEFILE_GENERATOR=emake +CMAKE_USE_DIR="${S}/cpp" +inherit java-pkg-2 cmake DESCRIPTION="library for parsing, formatting, and validating international phone numbers" HOMEPAGE="https://github.com/google/libphonenumber" SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~x86" - LICENSE="Apache-2.0" - SLOT="0" -IUSE="" -DEPEND="dev-libs/icu - dev-libs/protobuf - dev-libs/boost +DEPEND=" + dev-libs/icu + dev-libs/protobuf + dev-libs/boost " RDEPEND="${DEPEND}" -BDEPEND="dev-cpp/gtest - virtual/jdk +BDEPEND=" + dev-cpp/gtest + virtual/jdk " -RESTRICT+=" test" # bug 668872 - -CMAKE_USE_DIR=${S}/cpp - -CMAKE_MAKEFILE_GENERATOR=emake +RESTRICT="test" # bug 668872 diff --git a/dev-libs/libphonenumber/metadata.xml b/dev-libs/libphonenumber/metadata.xml index e99e71b..5512c78 100644 --- a/dev-libs/libphonenumber/metadata.xml +++ b/dev-libs/libphonenumber/metadata.xml @@ -5,9 +5,6 @@ gjdijkman@gjdwebserver.nl Gerben Jan Dijkman - - Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers. - https://github.com/google/libphonenumber diff --git a/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild b/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild index 1c7d9ce..ce77b93 100644 --- a/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild +++ b/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 URELEASE="groovy" -inherit cmake-utils +inherit cmake # Handle version strings here so as not to use 'ubuntu-versionator' eclass # MY_PV="${PV:0:5}" @@ -17,13 +17,14 @@ SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.ori LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86 ~arm ~arm64" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="doc test" -RESTRICT="mirror" +RESTRICT="!test? ( test ) mirror" DEPEND="dev-libs/boost doc? ( app-doc/doxygen ) - test? ( >=dev-cpp/gtest-1.8.1 )" + test? ( >=dev-cpp/gtest-1.8.1 ) +" S="${WORKDIR}/${MY_P}" MAKEOPTS="${MAKEOPTS} -j1" @@ -31,5 +32,5 @@ MAKEOPTS="${MAKEOPTS} -j1" src_prepare() { use !doc && truncate -s0 doc/CMakeLists.txt use !test && truncate -s0 tests/CMakeLists.txt - cmake-utils_src_prepare + cmake_src_prepare } diff --git a/gnome-extra/authenticator/authenticator-4.0.3.ebuild b/gnome-extra/authenticator/authenticator-4.0.3.ebuild index cf8c3b5..13d5e4c 100644 --- a/gnome-extra/authenticator/authenticator-4.0.3.ebuild +++ b/gnome-extra/authenticator/authenticator-4.0.3.ebuild @@ -9,11 +9,10 @@ inherit vala meson gnome2-utils xdg DESCRIPTION="Simple application for generating Two-Factor Authentication Codes." HOMEPAGE="https://gitlab.gnome.org/World/Authenticator" SRC_URI="https://gitlab.gnome.org/World/Authenticator/-/archive/${PV}/${PN}-${PV}.tar.gz" -EGIT_REPO_URI="https://gitlab.gnome.org/World/Authenticator.git" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64" +#KEYWORDS="~arm64" IUSE="+introspection +vala" REQUIRED_USE="vala? ( introspection )" diff --git a/gnome-extra/authenticator/metadata.xml b/gnome-extra/authenticator/metadata.xml index be6935e..d5d190b 100644 --- a/gnome-extra/authenticator/metadata.xml +++ b/gnome-extra/authenticator/metadata.xml @@ -5,9 +5,6 @@ gjdijkman@gjdwebserver.nl Gerben Jan Dijkman - - Generate Two-Factor Codes. - https://gitlab.gnome.org/World/Authenticator https://gitlab.gnome.org/World/Authenticator/-/issues diff --git a/net-im/cawbird/Manifest b/net-im/cawbird/Manifest index 9b3b2a1..d12148b 100644 --- a/net-im/cawbird/Manifest +++ b/net-im/cawbird/Manifest @@ -1 +1 @@ -DIST v1.4.1.tar.gz 653062 BLAKE2B 5c8448ff37349f243f6b2e378621c561720c7648f8f79eb4c04301b331fa050ee5d7d9874644e89b41b6d613279e2be3d2d96c89c0a1bc9795984b6630fc056c SHA512 bef80fbbbcaf325e6f8c57bce6146eb795f7bb39804f10fada3b529a6439b73f8506f6015d7221b90ed1f1862c79886ee86eebaa244b968bfc60c50ffa5e8abe +DIST cawbird-1.4.1.tar.gz 653062 BLAKE2B 5c8448ff37349f243f6b2e378621c561720c7648f8f79eb4c04301b331fa050ee5d7d9874644e89b41b6d613279e2be3d2d96c89c0a1bc9795984b6630fc056c SHA512 bef80fbbbcaf325e6f8c57bce6146eb795f7bb39804f10fada3b529a6439b73f8506f6015d7221b90ed1f1862c79886ee86eebaa244b968bfc60c50ffa5e8abe diff --git a/net-im/cawbird/cawbird-1.4.1.ebuild b/net-im/cawbird/cawbird-1.4.1.ebuild index a8b7d79..fc00ffe 100644 --- a/net-im/cawbird/cawbird-1.4.1.ebuild +++ b/net-im/cawbird/cawbird-1.4.1.ebuild @@ -4,16 +4,15 @@ EAPI=7 VALA_USE_DEPEND="vapigen" -inherit vala meson gnome2-utils git-r3 xdg +inherit vala meson gnome2-utils xdg DESCRIPTION="Cawbird is a fork of the Corebird Twitter client from Baedert." HOMEPAGE="https://github.com/IBBoard/cawbird" -SRC_URI="https://github.com/IBBoard/cawbird/archive/refs/tags/v${PV}.tar.gz" -EGIT_REPO_URI="https://github.com/IBBoard/cawbird.git" +SRC_URI="https://github.com/IBBoard/cawbird/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64 ~arm64" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="+introspection +vala" REQUIRED_USE="vala? ( introspection )" @@ -41,21 +40,13 @@ BDEPEND=" S="${WORKDIR}/$PN-${PV}" src_configure() { - local emesonargs=( - -Dconsumer_key_base64=VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA== - -Dconsumer_secret_base64=MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI= - ) - meson_src_configure + local emesonargs=( + -Dconsumer_key_base64=VmY5dG9yRFcyWk93MzJEZmhVdEk5Y3NMOA== + -Dconsumer_secret_base64=MThCRXIxbWRESDQ2Y0podzVtVU13SGUyVGlCRXhPb3BFRHhGYlB6ZkpybG5GdXZaSjI= + ) + meson_src_configure } src_install() { meson_src_install } - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/net-im/chatty/chatty-0.3.3.ebuild b/net-im/chatty/chatty-0.3.3.ebuild index 8fb7fdb..63eb3a1 100644 --- a/net-im/chatty/chatty-0.3.3.ebuild +++ b/net-im/chatty/chatty-0.3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 diff --git a/net-misc/eg25-manager/eg25-manager-0.3.0.ebuild b/net-misc/eg25-manager/eg25-manager-0.3.0.ebuild index 54b50b2..d2d6f72 100644 --- a/net-misc/eg25-manager/eg25-manager-0.3.0.ebuild +++ b/net-misc/eg25-manager/eg25-manager-0.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -35,4 +35,3 @@ src_install() { pkg_postinst() { systemd_reenable --all eg25-manager } - diff --git a/net-misc/eg25-manager/metadata.xml b/net-misc/eg25-manager/metadata.xml index bcbaf9c..b372191 100644 --- a/net-misc/eg25-manager/metadata.xml +++ b/net-misc/eg25-manager/metadata.xml @@ -1,15 +1,5 @@ - + - - gjdijkman@gjdwebserver.nl - Gerben Jan Dijkman - - - Manager daemon for the Quectel EG25 mobile broadband modem. - - - https://gitlab.com/mobian1/devices/eg25-manager - https://gitlab.com/mobian1/devices/eg25-manager/-/issues - + diff --git a/net-voip/gnome-calls/gnome-calls-0.3.4.ebuild b/net-voip/gnome-calls/gnome-calls-0.3.4.ebuild index f3fb4f2..24ccb3b 100644 --- a/net-voip/gnome-calls/gnome-calls-0.3.4.ebuild +++ b/net-voip/gnome-calls/gnome-calls-0.3.4.ebuild @@ -4,12 +4,11 @@ EAPI=7 VALA_USE_DEPEND="vapigen" -inherit vala meson gnome2-utils git-r3 xdg +inherit vala meson gnome2-utils xdg DESCRIPTION="Phone dialer and call handler" HOMEPAGE="https://gitlab.gnome.org/GNOME/calls" SRC_URI="https://gitlab.gnome.org/GNOME/calls/-/archive/v${PV}/calls-v${PV}.tar.gz" -EGIT_REPO_URI="https://gitlab.gnome.org//GNOME/calls.git" LICENSE="GPL-3" SLOT="0" diff --git a/net-voip/gnome-calls/metadata.xml b/net-voip/gnome-calls/metadata.xml index ee32d2a..cedd06c 100644 --- a/net-voip/gnome-calls/metadata.xml +++ b/net-voip/gnome-calls/metadata.xml @@ -5,9 +5,6 @@ gjdijkman@gjdwebserver.nl Gerben Jan Dijkman - - A phone dialer and call handler. - https://gitlab.gnome.org/GNOME/calls https://gitlab.gnome.org/GNOME/calls/-/issues diff --git a/x11-libs/libadwaita/libadwaita-1.0.0.ebuild b/x11-libs/libadwaita/libadwaita-1.0.0.ebuild index 2040554..098f401 100644 --- a/x11-libs/libadwaita/libadwaita-1.0.0.ebuild +++ b/x11-libs/libadwaita/libadwaita-1.0.0.ebuild @@ -4,16 +4,15 @@ EAPI=7 VALA_USE_DEPEND="vapigen" -inherit vala meson gnome2-utils git-r3 xdg +inherit vala meson gnome2-utils xdg DESCRIPTION="Building blocks for modern GNOME applications." HOMEPAGE="https://gitlab.gnome.org/GNOME/libadwaita" SRC_URI="https://gitlab.gnome.org/GNOME/libadwaita/-/archive/main/libadwaita-main.tar.gz" -EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libadwaita.git" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="+introspection +vala" REQUIRED_USE="vala? ( introspection )"