added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,36 @@
From ff0718174faf1167fb4765ebe4bd280bbe8d2ac6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 8 Dec 2019 23:42:00 +0100
Subject: [PATCH] musl: Hack to fix configure
Upstream-Status: Inappropriate [Musl Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meson.build | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index 075776f..dfd7421 100644
--- a/meson.build
+++ b/meson.build
@@ -101,9 +101,14 @@ elif cc.has_header_symbol('paths.h', '_PATH_WTMPX')
config_h.set('PATH_WTMP', '_PATH_WTMPX')
else
- path_wtmp = '/var/log/utx.log'
- assert(run_command('test', '-e', path_wtmp).returncode() == 0, 'Do not know which filename to watch for wtmp changes')
- config_h.set_quoted('PATH_WTMP', path_wtmp)
+ # musl: This is just a build fix hack.
+ # As usual they know better, consider all other projects crap and offer zero
+ # alternatives: So wtmp is a dead stub only [1] (= /dev/null/wtmp - taken
+ # from musl sources).
+ # Maybe a hero comes along and adds utmps [2] to make accountsservice useful for musl
+ # [1] https://wiki.musl-libc.org/faq.html#Q:-Why-is-the-utmp/wtmp-functionality-only-implemented-as-stubs?
+ # [2] https://github.com/skarnet/utmps
+ config_h.set_quoted('PATH_WTMP', '/dev/null/wtmp')
endif
# compiler flags
--
2.34.1

View File

@@ -0,0 +1,44 @@
From 7401e682400df87f3258f795bb1d143f64a35a9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Mon, 9 Dec 2019 00:12:08 +0100
Subject: [PATCH] musl: add missing fgetspent_r
Stolen from void-linux
Upstream-Status: Inappropriate [musl-specific]
---
src/daemon.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/src/daemon.c b/src/daemon.c
index c52bda3..a7676fe 100644
--- a/src/daemon.c
+++ b/src/daemon.c
@@ -164,6 +164,26 @@ remove_cache_files (const gchar *user_name)
g_remove (icon_filename);
}
+/* Musl libc does not support fgetspent_r(), write own
+ * wrapper
+ */
+static int fgetspent_r(FILE *fp, struct spwd *spbuf, char *buf, size_t buflen, struct spwd **spbufp) {
+ struct spwd *shadow_entry = fgetspent(fp);
+ if(!shadow_entry)
+ return -1;
+ size_t namplen = strlen(shadow_entry->sp_namp);
+ size_t pwdplen = strlen(shadow_entry->sp_pwdp);
+
+ if(namplen + pwdplen + 2 > buflen)
+ return -1;
+
+ *spbufp = memcpy(spbuf, shadow_entry, sizeof(struct spwd));
+ spbuf->sp_namp = strncpy(buf, shadow_entry->sp_namp, namplen + 1);
+ spbuf->sp_pwdp = strncpy(buf + namplen + 1, shadow_entry->sp_pwdp, pwdplen + 1);
+
+ return 0;
+}
+
static struct passwd *
entry_generator_fgetpwent (Daemon *daemon,
GHashTable *users,

View File

@@ -0,0 +1,32 @@
DESCRIPTION = "D-Bus interfaces for querying and manipulating user account information"
HOMEPAGE = "https://www.freedesktop.org/wiki/Software/AccountsService/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = " \
dbus \
polkit \
"
inherit meson gobject-introspection gtk-doc features_check systemd vala
REQUIRED_DISTRO_FEATURES = "polkit"
SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz"
SRC_URI:append:libc-musl = " \
file://0001-musl-Hack-to-fix-build.patch \
file://0002-musl-add-missing-fgetspent_r.patch \
"
SRC_URI[sha256sum] = "909997a76919fe7dc138a9a01cea70bd622d5a932dbc9fb13010113023a7a391"
GTKDOC_MESON_OPTION = "gtk_doc"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[systemd] = ", -Dsystemdsystemunitdir='no', systemd"
SYSTEMD_SERVICE:${PN} = "accounts-daemon.service"
FILES:${PN} += " \
${datadir}/dbus-1 \
${datadir}/polkit-1 \
"

View File

@@ -0,0 +1,39 @@
SUMMARY = "Objects and helper methods to help reading and writing AppStream metadata"
HOMEPAGE = "https://people.freedesktop.org/~hughsient/appstream-glib/index.htm"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = " \
curl \
gperf-native \
glib-2.0 \
gtk+3 \
libyaml \
libarchive \
json-glib \
gdk-pixbuf \
freetype \
fontconfig \
libstemmer \
"
inherit meson gobject-introspection gettext bash-completion pkgconfig manpages
SRC_URI = "https://people.freedesktop.org/~hughsient/${BPN}/releases/${BP}.tar.xz"
SRC_URI[sha256sum] = "71256500add5048d6f08878904708b3d0c3875f402e0adcd358e91d47dcd8b96"
EXTRA_OEMESON = " \
-Drpm=false \
"
PACKAGECONFIG ?= ""
PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,docbook-xml-dtd4-native docbook-xsl-stylesheets-native libxslt-native"
FILES:${PN} += "${libdir}/asb-plugins-5"
FILES:${PN}-dev += " \
${datadir}/installed-tests \
${datadir}/gettext \
"
BBCLASSEXTEND = "native"

View File

@@ -0,0 +1,25 @@
SUMMARY = "GTK support library for colord"
HOMEPAGE = "https://www.freedesktop.org/software/colord/"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
inherit meson gobject-introspection gettext gtk-doc features_check
DEPENDS = " \
colord \
"
SRC_URI = "http://www.freedesktop.org/software/colord/releases/${BPN}-${PV}.tar.xz"
SRC_URI[sha256sum] = "b9466656d66d9a6ffbc2dd04fa91c8f6af516bf9efaacb69744eec0f56f3c1d0"
PACKAGECONFIG ??= "gtk3 gtk4"
PACKAGECONFIG[gtk3] = "-Dgtk3=true, -Dgtk3=false, gtk+3"
PACKAGECONFIG[gtk4] = "-Dgtk4=true, -Dgtk4=false, gtk4"
EXTRA_OEMESON = "-Dman=false"
GIR_MESON_OPTION = ""
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
# colord
REQUIRED_DISTRO_FEATURES += "polkit"

View File

@@ -0,0 +1,34 @@
require ${BPN}.inc
inherit native
DEPENDS += " \
glib-2.0-native \
dbus-native \
iso-codes \
"
PACKAGECONFIG = ""
# for allarch iso-codes
EXTRA_NATIVE_PKGCONFIG_PATH = ":${RECIPE_SYSROOT}${datadir_native}/pkgconfig"
# for allarch unicode-ucd - just to make configure happy
EXTRA_OECONF += "--with-ucd-dir=${RECIPE_SYSROOT}${datadir_native}/unicode/ucd"
do_compile() {
cd src
# seems by moving to src we break dependency tracking so build what's
# necessary step by step
oe_runmake ibusenumtypes.h
oe_runmake ibusmarshalers.h
oe_runmake ibusenumtypes.c
oe_runmake unicode-parser
}
do_install() {
install -d ${D}/${libdir}
install -m 755 ${S}/src/.libs/libibus-*.so* ${D}/${libdir}
install -d ${D}/${bindir}
install -m 755 ${S}/src/.libs/unicode-parser ${D}/${bindir}
}

View File

@@ -0,0 +1,41 @@
require ${BPN}.inc
DEPENDS += " \
${BPN}-native \
glib-2.0-native \
glib-2.0 \
dbus \
iso-codes \
"
inherit gtk-icon-cache bash-completion features_check
# for unicode-ucd
EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd"
PACKAGECONFIG ??= " \
dconf vala \
${@bb.utils.contains_any('DISTRO_FEATURES', [ 'wayland', 'x11' ], 'gtk3 gtk4', '', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
"
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}"
do_configure:prepend() {
# run native unicode-parser
sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
}
FILES:${PN} += " \
${datadir}/dbus-1 \
${datadir}/GConf \
${datadir}/glib-2.0 \
${libdir}/gtk-3.0 \
${libdir}/gtk-4.0 \
${systemd_user_unitdir} \
"
FILES:${PN}-dev += " \
${datadir}/gettext \
"
RDEPENDS:${PN} += "python3-core"

View File

@@ -0,0 +1,41 @@
SUMMARY = "Intelligent Input Bus for Linux/Unix"
HOMEPAGE = "https://github.com/ibus/ibus/wiki"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
inherit autotools-brokensep pkgconfig gobject-introspection gettext gtk-doc vala
PV = "1.5.26"
DEPENDS = "unicode-ucd"
SRC_URI = " \
git://github.com/ibus/ibus.git;branch=main;protocol=https \
file://0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch \
"
SRCREV = "6a70ab0338206bd1c7d01a4e1874ea0ee5b3a9d3"
S = "${WORKDIR}/git"
PACKAGECONFIG[appindicator] = "--enable-appindicator,--disable-appindicator,qtbase"
PACKAGECONFIG[dconf] = "--enable-dconf,--disable-dconf,dconf"
PACKAGECONFIG[gtk2] = "--enable-gtk2,--disable-gtk2,gtk+"
PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"
PACKAGECONFIG[gtk4] = "--enable-gtk4,--disable-gtk4,gtk4"
PACKAGECONFIG[systemd] = "--enable-systemd-services,--disable-systemd-services,systemd"
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
PACKAGECONFIG[vala] = "--enable-vala,--disable-vala"
PACKAGECONFIG[x11] = "--enable-xim --enable-ui,--disable-xim --disable-ui,virtual/libx11"
EXTRA_OECONF = " \
--disable-tests \
--disable-emoji-dict \
--disable-python2 \
"
EXTRA_OECONF:append:class-target = "\
--with-python=${bindir}/python3 \
"
do_configure:prepend() {
touch ${S}/ChangeLog
touch ${S}/ABOUT-NLS
}

View File

@@ -0,0 +1,34 @@
From f567bcbc2108d722faa90afeb03d3a3bcdf5f58b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Fri, 10 May 2019 14:30:08 +0200
Subject: [PATCH] Do not try to start dbus - we do not have dbus-lauch
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [OE specific]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
data/dconf/make-dconf-override-db.sh | 6 ------
1 file changed, 6 deletions(-)
--- a/data/dconf/make-dconf-override-db.sh
+++ b/data/dconf/make-dconf-override-db.sh
@@ -12,10 +12,6 @@ export XDG_CACHE_HOME="$TMPDIR/cache"
export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas"
mkdir -p $XDG_CONFIG_HOME $XDG_CACHE_HOME $GSETTINGS_SCHEMA_DIR
-eval `dbus-launch --sh-syntax`
-
-trap 'rm -rf $TMPDIR; kill $DBUS_SESSION_BUS_PID' ERR
-
# in case that schema is not installed on the system
glib-compile-schemas --targetdir "$GSETTINGS_SCHEMA_DIR" "$PWD"
@@ -52,5 +48,3 @@ if [ -d $TMPDIR/cache/gvfs ] ; then
umount $TMPDIR/cache/gvfs
fi
rm -rf $TMPDIR
-
-kill $DBUS_SESSION_BUS_PID

View File

@@ -0,0 +1,28 @@
DESCRIPTION = "keybinder is a library for registering global key bindings, for gtk-based applications."
HOMEPAGE = "https://github.com/engla/keybinder"
LICENSE = "X11"
SECTION = "devel/lib"
DEPENDS = "gtk+3 gobject-introspection-native \
gtk+ \
"
LIC_FILES_CHKSUM = "file://COPYING;md5=1f18f9c6d8b4cfcc7d7804a243a4c0b4"
S = "${WORKDIR}/git"
B = "${S}"
SRCREV = "736ccef40d39603b8111c8a3a0bca0319bbafdc0"
PV = "3.0+git${SRCPV}"
SRC_URI = "git://github.com/engla/keybinder.git;branch=keybinder-3.0;protocol=https \
"
RDEPENDS:${PN} = "gtk+"
inherit features_check autotools gtk-doc gobject-introspection
REQUIRED_DISTRO_FEATURES = "x11"
do_configure:prepend() {
touch ${S}/ChangeLog
}
SRC_DISTRIBUTE_LICENSES += "X11"

View File

@@ -0,0 +1,11 @@
SUMMARY = "libcloudproviders is a DBus API that allows cloud storage sync clients to expose their services."
LICENSE="LGPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02"
GNOMEBASEBUILDCLASS = "meson"
DEPENDS = "glib-2.0"
inherit gnomebase gobject-introspection vala
SRC_URI[archive.sha256sum] = "4763213ca1e1fe30d422f5ae3b4f02a454f63414c1860ad142d6385f89d05929"

View File

@@ -0,0 +1,29 @@
From e6bdf74a424652c4f9a38457c7fa93a2051157f5 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 30 Aug 2022 13:09:07 -0700
Subject: [PATCH] docs: Disable building
It needs linuxdoc-tools which we do not have in OE anymore
Upstream-Status: Inappropriate [OE-Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
docs/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/Makefile.am b/docs/Makefile.am
index daa2288..b355185 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -8,7 +8,7 @@ CLEANFILES = $(man_MANS) $(SGML_OUTPUTS)
EXTRA_DIST = attributes.txt libuser.conf.5.in rfc2307.txt sgml/libuser.sgml \
$(SGML_OUTPUTS)
-all: sgml/libuser.txt sgml/libuser.html
+all:
libuser.conf.5: $(srcdir)/libuser.conf.5.in Makefile
sed 's,@sysconfdir\@,$(sysconfdir),g' \
--
2.37.2

View File

@@ -0,0 +1,27 @@
From 4b2f81f307ffeac12956e5c16e894e5ebb937ea5 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 7 Jan 2016 02:26:00 +0000
Subject: [PATCH 2/2] remove unused execinfo.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Upstream-Status: Pending
lib/error.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/error.c b/lib/error.c
index a5ec30a..443e601 100644
--- a/lib/error.c
+++ b/lib/error.c
@@ -18,7 +18,6 @@
#include <config.h>
#include <sys/types.h>
#include <errno.h>
-#include <execinfo.h>
#include <libintl.h>
#include <stdarg.h>
#include <stdlib.h>
--
2.7.0

View File

@@ -0,0 +1,45 @@
SUMMARY = "user and group account administration library"
DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \
and group accounts"
HOMEPAGE = "https://pagure.io/libuser"
BUGTRACKER = "https://pagure.io/libuser/issues"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
file://lib/user.h;endline=19;md5=76b301f63c39fa992062395efbdc9558 \
file://samples/testuser.c;endline=19;md5=3b87fa660fa3f4a6bb31d624afe30ba1"
SECTION = "base"
SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \
file://0001-docs-Disable-building.patch \
file://0002-remove-unused-execinfo.h.patch \
"
SRC_URI[sha256sum] = "ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f"
DEPENDS = "bison-native popt libpam glib-2.0 python3"
inherit autotools features_check gettext python3native python3-dir pkgconfig gtk-doc
REQUIRED_DISTRO_FEATURES = "pam"
EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"
GTKDOC_DOCDIR = "${S}/docs/reference"
# run autopoint since it needs ABOUT-NLS and admin/config.rpath from gettext
#EXTRA_AUTORECONF:remove = "--exclude=autopoint"
do_configure:prepend() {
install -d ${S}/admin -d ${S}/m4
touch ${S}/ABOUT-NLS ${S}/admin/config.rpath
cd ${S}
bison lib/getdate.y -o lib/getdate.c
cd -
}
PACKAGES += "${PN}-python "
FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"

View File

@@ -0,0 +1,24 @@
SUMMARY = "A tablet description library"
DESCRIPTION = "libwacom is a library to identify Wacom tablets and their model-specific features. \
It provides easy access to information such as 'is this a built-in on-screen tablet\', \
'what is the size of this model', etc."
HOMEPAGE = "https://github.com/linuxwacom/libwacom"
BUGTRACKER = "https://github.com/linuxwacom/libwacom/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=40a21fffb367c82f39fd91a3b137c36e"
SRC_URI = "git://github.com/linuxwacom/libwacom.git;branch=master;protocol=https"
SRCREV = "cb36c462763a321454d5c08fe974a3d7dec4ed1a"
DEPENDS = " \
libxml2-native \
libgudev \
"
S = "${WORKDIR}/git"
inherit meson pkgconfig
EXTRA_OEMESON = " \
-Dtests=disabled \
"

View File

@@ -0,0 +1,28 @@
SUMMARY = "GNOME applications"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit packagegroup features_check
REQUIRED_DISTRO_FEATURES = "x11 polkit gobject-introspection-data"
RDEPENDS:${PN} = " \
evolution-data-server \
evince \
file-roller \
geary \
gedit \
ghex \
gnome-calculator \
gnome-calendar \
gnome-commander \
gnome-font-viewer \
gnome-photos \
gnome-screenshot \
gnome-terminal \
gnome-text-editor \
gthumb \
libwnck3 \
nautilus \
${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'gnome-system-monitor gnome-disk-utility', '', d)} \
"

View File

@@ -0,0 +1,30 @@
SUMMARY = "Basic GNOME desktop"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
# gnome-menus & gmime get debian renamed
PACKAGE_ARCH = "${TUNE_PKGARCH}"
inherit packagegroup features_check
REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam gobject-introspection-data"
RDEPENDS:${PN} = " \
adwaita-icon-theme \
adwaita-icon-theme-cursors \
evolution-data-server \
gnome-backgrounds \
gnome-bluetooth \
gnome-control-center \
gnome-desktop \
gnome-flashback \
gnome-keyring \
gnome-menus \
gnome-session \
gnome-settings-daemon \
gnome-shell \
gnome-shell-extensions \
gnome-tweaks \
gmime \
gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash \
"

View File

@@ -0,0 +1,27 @@
From fda0ff49968aebc7b27f9711cf6eb7f6c560adc1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 25 Jul 2017 18:28:15 -0700
Subject: [PATCH] Makefile.am: Link with libm for powl() API
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 779416a..67e2cc3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,7 +82,7 @@ endif
userhelper_SOURCES = userhelper.c userhelper.h shvar.c shvar.h
userhelper_CPPFLAGS = $(AM_CPPFLAGS) -DSYSCONFDIR='"$(sysconfdir)"'
userhelper_LDADD = liblib.a $(LIBUSER_LIBS) $(GLIB_LIBS) $(PAM_LIBS) -lm \
- $(SELINUX_LIBS) $(EFENCE_LIBS)
+ $(SELINUX_LIBS) $(EFENCE_LIBS) -lm
if GTK
userinfo_SOURCES = userinfo.c
--
2.31.1

View File

@@ -0,0 +1,27 @@
From c77e3f0d4560797f7dc56549ae5ebcc035714a4d Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Thu, 20 Jul 2017 23:20:53 -0400
Subject: [PATCH] fix compile failure against musl C library
Upstream-Status: Pending
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
usermount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/usermount.c b/usermount.c
index 3aafadd..4107027 100644
--- a/usermount.c
+++ b/usermount.c
@@ -46,6 +46,7 @@
#include <limits.h>
#include <locale.h>
#include <mntent.h>
+#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--
2.8.1

View File

@@ -0,0 +1,30 @@
SUMMARY = "Tools for certain user account management tasks"
DESCRIPTION = "The usermode contains the userhelper program, which can be used to allow configured \
programs to be run with superuser privileges by ordinary users, and several \
graphical tools for users: \
* userinfo allows users to change their finger information. \
* usermount lets users mount, unmount, and format filesystems. \
* userpasswd allows users to change their passwords. \
"
HOMEPAGE = "https://pagure.io/usermode"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
DEPENDS = "libuser ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \
gtk+ desktop-file-utils-native \
startup-notification intltool-native \
util-linux \
"
SRC_URI = "https://releases.pagure.org/${BPN}/${BPN}-${PV}.tar.xz \
file://0001-fix-compile-failure-against-musl-C-library.patch \
file://0001-Makefile.am-Link-with-libm-for-powl-API.patch \
"
SRC_URI[sha256sum] = "e7f58712b12175965b3a21522052863a061f3f1a888df3ffbe713b434f80254f"
REQUIRED_DISTRO_FEATURES = "x11 pam"
inherit features_check autotools gettext pkgconfig
EXTRA_OEMAKE += "INSTALL='install -p'"

View File

@@ -0,0 +1,23 @@
SUMMARY = "WebP GDK Pixbuf Loader library"
HOMEPAGE = "https://github.com/aruiz/webp-pixbuf-loader"
LICENSE = "LGPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2;md5=0d90e6d44bcf69014bfae649c75aa6ca"
DEPENDS = " \
gdk-pixbuf \
libwebp \
"
inherit meson pkgconfig
EXTRA_OEMESON = "-Dupdate_cache=true"
SRC_URI = "git://github.com/aruiz/webp-pixbuf-loader.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
SRCREV = "eaa4ea02fd9d8ea8e0f4aac00dc6fa5b0eddd700"
FILES:${PN} = " \
${datadir}/thumbnailers/webp-pixbuf.thumbnailer \
${libdir}/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-webp.so \
"

View File

@@ -0,0 +1,35 @@
SUMMARY = "A xdg-desktop-portal backend for gnome."
HOMEPAGE = "https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = " \
glib-2.0-native \
gtk4\
xdg-desktop-portal \
xdg-desktop-portal-gtk \
libadwaita \
fontconfig \
gsettings-desktop-schemas \
gnome-desktop \
dconf \
"
RDEPENDS:${PN} = "xdg-desktop-portal xdg-desktop-portal-gtk"
inherit meson pkgconfig gsettings features_check
REQUIRED_DISTRO_FEATURES = "polkit"
SRC_URI = "git://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
SRCREV = "8e1c4fd928be500208ca1df62441a56e2569bfb8"
PACKAGECONFIG ?= "screenshot screencast ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
PACKAGECONFIG[wayland] = ",,wayland-native"
PACKAGECONFIG[screenshot] = ",,,gnome-shell"
PACKAGECONFIG[screencast] = ",,,mutter"
FILES:${PN} += "${systemd_user_unitdir} ${datadir}"

View File

@@ -0,0 +1,42 @@
SUMMARY = "A backend implementation for xdg-desktop-portal that is using GTK and various pieces of GNOME infrastructure."
HOMEPAGE = "https://github.com/flatpak/xdg-desktop-portal-gtk"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = " \
glib-2.0-native \
gtk+3\
xdg-desktop-portal \
libadwaita \
fontconfig \
gsettings-desktop-schemas \
gnome-desktop \
dconf \
"
inherit gettext autotools pkgconfig gsettings features_check
REQUIRED_DISTRO_FEATURES = "polkit"
SRC_URI = "git://github.com/flatpak/xdg-desktop-portal-gtk.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
SRCREV = "952005f6a7850a247d286f14838202f506b402b7"
# gdbus-codegen wants to create files in ${B}/src and fails because of missing directory
do_configure:append() {
mkdir -p ${B}/src
}
# Note: wlroots has its own implementation for screenshot and screencast, but
# you may want to include the according PACKAGECONFIGS for gnome.
PACKAGECONFIG ?= "wallpaper appchooser lockdown"
PACKAGECONFIG[screenshot] = "--enable-screenshot,--disable-screenshot,gnome-shell"
PACKAGECONFIG[screencast] = "--enable-screencast,--disable-screencast,mutter"
PACKAGECONFIG[wallpaper] = "--enable-wallpaper,--disable-wallpaper,gnome-desktop"
PACKAGECONFIG[background] = "--enable-background,--disable-background,gnome-shell"
PACKAGECONFIG[appchooser] = "--enable-appchooser,--disable-appchooser"
PACKAGECONFIG[lockdown] = "--enable-lockdown,--disable-lockdown"
FILES:${PN} += "${systemd_user_unitdir} ${datadir}"