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,23 @@
SUMMARY = "Catfish is a handy file searching tool for linux and unix"
SECTION = "x11/application"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
inherit xfce-app python_setuptools_build_meta gtk-icon-cache mime-xdg
DEPENDS += "python3-distutils-extra-native"
SRC_URI[sha256sum] = "e9a99a62d10981391508dd43f3cbfa2d50a69bd6b7d1eeef7d30ba4c673dcfda"
FILES:${PN} += "${datadir}/metainfo"
RDEPENDS:${PN} += "python3-pygobject python3-dbus"
do_install:append() {
#
# Until catfish upstream figures out a way to overcome this buildpath issue, we need to do such adjustments here.
#
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${D}${datadir}/applications/org.xfce.Catfish.desktop
sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' ${D}${PYTHON_SITEPACKAGES_DIR}/catfish_lib/catfishconfig.py
rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/catfish_lib/__pycache__/catfishconfig.*.pyc
}

View File

@@ -0,0 +1,10 @@
SUMMARY = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs"
SECTION = "x11/application"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
DEPENDS = "gtk+3 intltool-native xfce4-dev-tools-native"
inherit xfce-app
SRC_URI[sha256sum] = "e34a1aa0755f9f6c234c7d24b23a6cecd6ef50741d79da3bb6f698a2281dbbc3"

View File

@@ -0,0 +1,39 @@
DESCRIPTION = "An advanced menu editor"
HOMEPAGE = "https://bluesabre.org/menulibre/"
SECTION = "x11/graphics"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = " \
python3-distutils-extra-native \
intltool-native \
"
inherit setuptools3_legacy gtk-icon-cache features_check
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI = "git://github.com/bluesabre/menulibre.git;protocol=https;branch=master"
SRCREV = "86ee9ad7568128fe9555e54799933b2d3762331a"
S = "${WORKDIR}/git"
do_compile[noexec] = "1"
do_install:append() {
sed -i 's:${D}::g' ${D}${datadir}/applications/menulibre.desktop
sed -i 's:share/share:share:g' ${D}${PYTHON_SITEPACKAGES_DIR}/menulibre_lib/menulibreconfig.py
}
FILES:${PN} += " \
${datadir}/applications \
${datadir}/metainfo \
${datadir}/icons \
"
RDEPENDS:${PN} += " \
gtk+3 \
gtksourceview3 \
python3-pygobject \
gnome-menus \
python3-unixadmin \
python3-psutil \
"

View File

@@ -0,0 +1,19 @@
SUMMARY = "A simple text editor for Xfce"
SECTION = "x11/application"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "gtk+3 gtksourceview4 xfconf xfce4-dev-tools-native"
inherit xfce-app gsettings mime-xdg
SRC_URI[sha256sum] = "f108a8c167ec5727266ab67666f10dbd60e972d56ea03944302fdabb2167f473"
PACKAGECONFIG ??= ""
PACKAGECONFIG[spell] = "--enable-plugin-gspell,--disable-plugin-gspell,gspell"
FILES:${PN} += " \
${datadir}/glib-2.0/schemas \
${datadir}/metainfo \
${datadir}/polkit-1 \
"

View File

@@ -0,0 +1,20 @@
SUMMARY = "Xfce Calender"
SECTION = "x11/application"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "gtk+ xfce4-panel libical popt"
inherit xfce-app mime-xdg
SRC_URI[sha256sum] = "26111a3b6a2007c82f1e0a1e0591b774a0b132f3a7f1cde53d9be661b2f11700"
PACKAGECONFIG ??= "notify"
PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify"
PACKAGES =+ "xfce4-orageclock-plugin"
FILES:${PN} += " \
${datadir}/dbus-1 \
${datadir}/metainfo \
"
FILES:xfce4-orageclock-plugin = "${libdir}/xfce4/panel/plugins/*.so ${datadir}/xfce4/panel/plugins"
FILES:${PN}-dev += "${libdir}/xfce4/panel/plugins/*.la"

View File

@@ -0,0 +1,15 @@
SUMMARY = "Tiny image-viewer"
HOMEPAGE = "https://docs.xfce.org/apps/ristretto/start"
SECTION = "x11/application"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=35d145429ad3cbf5308d1dc93f66376b"
DEPENDS = "exo libexif libxfce4ui libxfce4util xfconf cairo file"
inherit xfce-app mime-xdg
RRECOMMENDS:${PN} += "tumbler"
SRC_URI[sha256sum] = "0eee869922ec00a253dafa446c2aad2a2f98e07e1db7262e8337ce9ec2dad969"
FILES:${PN} += "${datadir}/metainfo"

View File

@@ -0,0 +1,33 @@
SUMMARY = "Lightweight, desktop independent GTK+ archive manager"
HOMEPAGE = "http://xarchiver.sourceforge.net"
SECTION = "x11"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "gtk+3 glib-2.0 xfce4-dev-tools-native intltool-native"
SRC_URI = "git://github.com/ib/xarchiver.git;branch=master;protocol=https"
SRCREV = "2f6c91e756678f0723305d8636e8e393c1eef32c"
PV = "0.5.4.17"
S = "${WORKDIR}/git"
inherit gettext pkgconfig autotools gtk-icon-cache features_check mime-xdg
REQUIRED_DISTRO_FEATURES = "x11"
# install tap files for thunar-archive-plugin in ${libdir}/thunar-archive-plugin
EXTRA_OECONF += "--libexecdir=${libdir}"
EXTRA_OECONF += " \
--enable-maintainer-mode \
--disable-doc \
"
do_configure:prepend() {
touch ${S}/NEWS ${S}/AUTHORS
}
FILES:${PN} += "${libdir}/thunar-archive-plugin"
RRECOMMENDS:${PN} = "lzop zip tar bzip2 unzip xz p7zip"

View File

@@ -0,0 +1,14 @@
SUMMARY = "A simple PolicyKit authentication agent for XFCE"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=758b03f872a88c99fc36d50c5932091c"
DEPENDS = "libxfce4ui polkit"
inherit xfce-app features_check
REQUIRED_DISTRO_FEATURES = "polkit"
SRC_URI = " \
git://github.com/ncopa/${BPN}.git;branch=master;protocol=https \
"
SRCREV = "6d3282cc1734c305850d48f5bf4b4d94e88885e9"
S = "${WORKDIR}/git"

View File

@@ -0,0 +1,26 @@
From d463b7e9abbbc87ec0e25216a24d9a40d347f1a6 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 24 Jan 2022 09:59:02 -0800
Subject: [PATCH] Fix build with meson >= 0.61
Upstream-Status: Submitted [https://github.com/schnitzeltony/xfce4-datetime-setter/pull/3]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
panels/datetime/meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build
index 241e177..4356907 100644
--- a/panels/datetime/meson.build
+++ b/panels/datetime/meson.build
@@ -10,7 +10,6 @@ desktop_in = configure_file(
)
i18n.merge_file(
- desktop,
type: 'desktop',
input: desktop_in,
output: 'xfce-datetime.desktop',
--
2.34.1

View File

@@ -0,0 +1,28 @@
It fails to compile xfce4-datetime-setter occasionally when system load is high:
| ../git/xfce/main.c:42:10: fatal error: cc-datetime-resources.h: No such file or directory
| 42 | #include "cc-datetime-resources.h"
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
Update datetime_panel_dep to make sure cc-datetime-resources.h be generated
before including.
Upstream-Status: Submitted [https://github.com/schnitzeltony/xfce4-datetime-setter/pull/2]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build
index c5bf39c..241e177 100644
--- a/panels/datetime/meson.build
+++ b/panels/datetime/meson.build
@@ -175,7 +175,8 @@ datetime_panel_lib = static_library(
datetime_panel_dep = declare_dependency(
include_directories: [ common_inc, include_directories('.') ],
- link_with: datetime_panel_lib
+ link_with: datetime_panel_lib,
+ sources: resources
)
subdir('po-timezones')

View File

@@ -0,0 +1,23 @@
DESCRIPTION = "A fork of (early) gnome-control-center datetime panel for XFCE. \
It is based upon GTK3 and embedds into recent xfce4-settings."
HOMEPAGE = "https://github.com/schnitzeltony/xfce4-datetime-setter"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
DEPENDS = "glib-2.0-native libxfce4ui"
SRC_URI = "git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https;branch=master \
file://fix-inner-dependency.patch \
file://0001-Fix-build-with-meson-0.61.patch \
"
SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"
S = "${WORKDIR}/git"
inherit gettext meson features_check pkgconfig
REQUIRED_DISTRO_FEATURES = "systemd x11"
FILES:${PN} += "${datadir}/icons/hicolor"
RDEPENDS:${PN} = "tzdata"

View File

@@ -0,0 +1,41 @@
Native pkg_config only return basename of the variable queried. Invoke `which`
to get the absolute path.
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0f49e2b..a589147 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,7 +116,7 @@ AC_MSG_CHECKING([for gdbus-codegen])
if test x"$GDBUS_CODEGEN" = x""; then
GDBUS_CODEGEN=`$PKG_CONFIG --variable=gdbus_codegen gio-2.0`
fi
-if test -x "$GDBUS_CODEGEN"; then
+if test -x "$(which $GDBUS_CODEGEN)"; then
AC_MSG_RESULT([$GDBUS_CODEGEN])
else
AC_MSG_ERROR([could not find gdbus-codegen in \$PATH. You can run
@@ -129,7 +129,7 @@ AC_MSG_CHECKING([for glib-compile-resources])
if test x"$GLIB_COMPILE_RESOURCES" = x""; then
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
fi
-if test -x "$GLIB_COMPILE_RESOURCES"; then
+if test -x "$(which $GLIB_COMPILE_RESOURCES)"; then
AC_MSG_RESULT([$GLIB_COMPILE_RESOURCES])
else
AC_MSG_ERROR([could not find glib-compile-resources in \$PATH. You can run
@@ -142,7 +142,7 @@ AC_MSG_CHECKING([for glib-genmarshal])
if test x"$GLIB_GENMARSHAL" = x""; then
GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
fi
-if test -x "$GLIB_GENMARSHAL"; then
+if test -x "$(which $GLIB_GENMARSHAL)"; then
AC_MSG_RESULT([$GLIB_GENMARSHAL])
else
AC_MSG_ERROR([could not find glib-genmarshal in \$PATH. You can run

View File

@@ -0,0 +1,35 @@
SUMMARY = "Easily themable notification daemon with transparency effects"
HOMEPAGE = "https://docs.xfce.org/apps/notifyd/start"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = " \
glib-2.0-native \
libnotify \
libxfce4util \
libxfce4ui \
xfconf \
xfce4-panel \
"
inherit xfce-app
SRC_URI:append = " file://xfce4-notifyd-get-var-abs-path.patch"
SRC_URI[sha256sum] = "e3a28adb08daa1411135142a0d421e4d6050c4035a4e513a673a59460ff2ae84"
# Avoid trouble with other desktops e.g KDE which also ships dbus service named
# org.freedesktop.Notifications
EXTRA_OECONF = "--disable-dbus-start-daemon"
do_compile:prepend() {
mkdir -p xfce4-notifyd xfce4-notifyd-config
}
FILES:${PN} += " \
${systemd_user_unitdir} \
${datadir}/xfce4 \
${datadir}/themes \
${datadir}/dbus-1 \
${libdir}/xfce4 \
"

View File

@@ -0,0 +1,22 @@
It is useless to create a link to $(PREFIX)/share/locale that there is no
reference to $(PREFIX)/share/$(APPNAME)/locale in source code.
Upstream-Status: Submitted [https://bugzilla.xfce.org/show_bug.cgi?id=16693]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
Makefile.in.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile.in.in b/Makefile.in.in
index c0ce866..c2f26fe 100644
--- a/Makefile.in.in
+++ b/Makefile.in.in
@@ -70,7 +70,6 @@ install: all xfce4-panel-profiles.1
install data/metainfo/*.xml $(DESTDIR)/$(PREFIX)/share/metainfo
cp -rf locale $(DESTDIR)/$(PREFIX)/share
- ln -sf $(PREFIX)/share/locale $(DESTDIR)/$(PREFIX)/share/$(APPNAME)/locale
install -d $(DESTDIR)/$(MANDIR)/man1
install xfce4-panel-profiles.1 $(DESTDIR)/$(MANDIR)/man1

View File

@@ -0,0 +1,29 @@
SUMMARY = "Backup, restore, import, and export panel layouts"
SECTION = "x11/application"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit python3native gettext gtk-icon-cache features_check
REQUIRED_DISTRO_FEATURES = "x11"
DEPENDS += "intltool-native"
SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/1.0/${BP}.tar.bz2 \
file://not-create-link-to-locale.patch \
"
SRC_URI[sha256sum] = "bc387c13f94109422dc72b0fcb919b0dc11619ba589d03e492252b0d2513b170"
do_configure() {
# special configure - no autotools...
./configure --prefix=${prefix}
}
do_install() {
oe_runmake 'DESTDIR=${D}' install
sed -i 's:${PYTHON}:python3:g' ${D}${bindir}/xfce4-panel-profiles
}
FILES:${PN} += "${datadir}/metainfo"
RDEPENDS:${PN} += "python3-pygobject python3-pexpect"

View File

@@ -0,0 +1,60 @@
It adds '-I$includedir' to CPPFLAGS and adds '-L$libdir' to LDFLAGS in
configure.ac which causes 'configure-unsafe' QA error. Don't add them for cross
compile to avoid the QA issues.
Upstream-Status: Inappropriate [cross compile specific]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
diff --git a/configure.ac b/configure.ac
index f0ec537..05c393d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -230,9 +230,9 @@ dnl ---------------------------------------------------------------------------
#
AC_DEFUN([AC_CHECK_X_HEADER], [
ac_save_CPPFLAGS="$CPPFLAGS"
- if test \! -z "$includedir" ; then
- CPPFLAGS="$CPPFLAGS -I$includedir"
- fi
+# if test \! -z "$includedir" ; then
+# CPPFLAGS="$CPPFLAGS -I$includedir"
+# fi
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_CHECK_HEADER([$1],[$2],[$3],[$4])
CPPFLAGS="$ac_save_CPPFLAGS"])
@@ -241,9 +241,9 @@ AC_DEFUN([AC_CHECK_X_HEADER], [
#
AC_DEFUN([AC_TRY_X_COMPILE], [
ac_save_CPPFLAGS="$CPPFLAGS"
- if test \! -z "$includedir" ; then
- CPPFLAGS="$CPPFLAGS -I$includedir"
- fi
+# if test \! -z "$includedir" ; then
+# CPPFLAGS="$CPPFLAGS -I$includedir"
+# fi
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
AC_TRY_COMPILE([$1], [$2], [$3], [$4])
CPPFLAGS="$ac_save_CPPFLAGS"])
@@ -257,15 +257,15 @@ AC_DEFUN([AC_CHECK_X_LIB], [
ac_save_LDFLAGS="$LDFLAGS"
# ac_save_LIBS="$LIBS"
- if test \! -z "$includedir" ; then
- CPPFLAGS="$CPPFLAGS -I$includedir"
- fi
+# if test \! -z "$includedir" ; then
+# CPPFLAGS="$CPPFLAGS -I$includedir"
+# fi
# note: $X_CFLAGS includes $x_includes
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
- if test \! -z "$libdir" ; then
- LDFLAGS="$LDFLAGS -L$libdir"
- fi
+# if test \! -z "$libdir" ; then
+# LDFLAGS="$LDFLAGS -L$libdir"
+# fi
# note: $X_LIBS includes $x_libraries
LDFLAGS="$LDFLAGS $ALL_X_LIBS"

View File

@@ -0,0 +1,24 @@
SUMMARY = "Xfce screensaver Application"
DESCRIPTION = "Xfce screensaver is a screen saver and locker that aims to have simple, sane, secure defaults and be well integrated with the desktop."
HOMEPAGE = "https://git.xfce.org/apps/xfce4-screensaver/about/"
SECTION = "x11/application"
LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later "
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
"
DEPENDS = "dbus-glib garcon gtk+3 libxklavier libxscrnsaver virtual/libx11 xfconf libwnck3"
inherit xfce-app
SRC_URI:append = " file://fix-cross-compile.patch"
SRC_URI[sha256sum] = "6d4d143e3e62db679ce83ce7da97903390773ee0a8ceb05ff4c3dac36616268d"
do_install:append() {
install -D -m 0644 ${S}/data/xfce4-screensaver.common-auth ${D}${sysconfdir}/pam.d/xfce4-screensaver
}
FILES:${PN} += "${datadir}/dbus-1 ${datadir}/desktop-directories"
RDEPENDS:${PN} += "python3-core"

View File

@@ -0,0 +1,21 @@
SUMMARY = "Application to take screenshots"
HOMEPAGE = "https://docs.xfce.org/apps/xfce4-screenshooter/start"
SECTION = "x11/application"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "xfce4-panel libxfce4util libxfce4ui gdk-pixbuf gtk+3 glib-2.0 libsoup-2.4 exo libxfixes xext virtual/libx11 libxml-parser-perl-native"
inherit xfce-app perlnative
SRC_URI[sha256sum] = "a454159847becfeca274a5b58c0e5817d4a260a29345a37bbc3b4ff46f8f3818"
do_compile:prepend() {
mkdir -p lib
mkdir -p src panel-plugin
}
FILES:${PN} += " \
${datadir}/metainfo \
${datadir}/xfce4/panel/plugins \
${libdir}/xfce4/panel/plugins \
"

View File

@@ -0,0 +1,9 @@
SUMMARY = "Easy to use task manager"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
inherit xfce-app
DEPENDS += "gtk+3 cairo libwnck libxfce4ui libxmu xfce4-dev-tools-native"
SRC_URI[sha256sum] = "f64f01ba241a0b8bbf2ed3274e5decc2313c9f8b0e4d160db3ba69b331558ae5"

View File

@@ -0,0 +1,15 @@
SUMMARY = "Terminal emulator for the Xfce desktop environment"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS = "glib-2.0 gtk+3 vte libxfce4ui gtk-doc-native"
inherit xfce-app
FILES:${PN} += " \
${datadir}/xfce4 \
${datadir}/gnome-control-center \
"
SRC_URI[sha256sum] = "78e55957af7c6fc1f283e90be33988661593a4da98383da1b0b54fdf6554baf4"
RRECOMMENDS:${PN} += "vte-prompt"