11 Commits

Author SHA1 Message Date
d7cbcfb9eb python3: move python link to its own python3-as-python package
the FILES is overriden in the python anonymous function for dynamic packages
(python3-core)

causing the following error:

```log
ERROR: python3-3.12.8-r0 do_package: QA Issue: python3: Files/directories were installed but not shipped in any package:
  /usr/bin/python
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
python3: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: python3-3.12.8-r0 do_package: Fatal QA errors were found, failing task.
```

it is safer to make a new package split and add a RRECOMMENDS to python-core
on it

fixes:
https://codeberg.org/flk/meta-wayland/issues/14

Signed-off-by: Ludovic Jozeau <ludovic.jozeau@scle.fr>
2025-04-24 05:10:54 +02:00
702a586260 python3: move python link to python3-core package
fixes:
https://codeberg.org/flk/meta-wayland/issues/13
2025-04-22 14:53:02 +02:00
5913c0b933 sway: update 2024-01-21 16:09:41 +01:00
c943ed7233 hyprland: update 2024-01-21 16:09:04 +01:00
71ca5a4501 update hyprland-plugins 2024-01-21 16:08:19 +01:00
624266e7ae wlroots: update to 0.17 release 2024-01-21 16:07:35 +01:00
flk
dc7d83c665 Correct Hyprland recipe when Systemd is disabled 2024-01-04 17:32:09 +01:00
5d166d5a99 xdg-desktop-portal-hyprland: Update 2023-10-13 17:51:52 +02:00
2357a8521f squeekboard: add missing crate checksums 2023-10-13 17:19:08 +02:00
a8b6adefb9 hyprland: Add backport patch to fix desktop portals 2023-10-02 19:03:05 +02:00
2bf2dbb1fa layer.conf: -> nanbield 2023-09-30 15:37:04 +02:00
200 changed files with 2167 additions and 4384 deletions

View File

@ -2,13 +2,13 @@
BBPATH .= ":${LAYERDIR}" BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES # We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend ${LAYERDIR}/recipes*/*/*/*.bb ${LAYERDIR}/recipes*/*/*/*.bbappend" BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "wayland" BBFILE_COLLECTIONS += "wayland"
BBFILE_PATTERN_wayland = "^${LAYERDIR}/" BBFILE_PATTERN_wayland = "^${LAYERDIR}/"
BBFILE_PRIORITY_wayland = "5" BBFILE_PRIORITY_wayland = "8"
LAYERSERIES_COMPAT_wayland = "walnascar" LAYERSERIES_COMPAT_wayland = "nanbield"
LAYERDEPENDS_wayland = " \ LAYERDEPENDS_wayland = " \
core \ core \

View File

@ -12,14 +12,8 @@ EXTRA_OECMAKE += "-DUSE_QT6=ON"
SRC_URI = "git://github.com/FedoraQt/adwaita-qt.git;protocol=https;nobranch=1" SRC_URI = "git://github.com/FedoraQt/adwaita-qt.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "3807292acee096459a73732f663544916d9eb0e5" SRCREV = "07859143fd733cfefae687f6967795c7f50d4ca8"
FILES:${PN} += "${libdir}/plugins/styles/adwaita.so" FILES:${PN} += "${libdir}/plugins/styles/adwaita.so"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" BBCLASSEXTEND = "native"
do_install:append() {
# add hack to unbreak crosscompile for qgnomeplatform
sed -i "s|include(\"\${CMAKE_CURRENT_LIST_DIR}\/AdwaitaQt6Targets.cmake\")||" ${D}${libdir}/cmake/AdwaitaQt6/AdwaitaQt6Config.cmake
sed -i -e 's|${STAGING_DIR_HOST}||g' ${D}${libdir}/cmake/AdwaitaQt6/AdwaitaQt6Targets.cmake
}

View File

@ -1,16 +0,0 @@
SUMMARY = "Btrfs Assistant is a GUI management tool to make managing a Btrfs filesystem easier."
HOMEPAGE = "https://gitlab.com/btrfs-assistant/btrfs-assistant"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=bf7e2ce7c2a6b6b42b34714d917ee2c7"
SRC_URI = "git://gitlab.com/btrfs-assistant/btrfs-assistant.git;protocol=https;nobranch=1"
SRCREV = "a8267fade8e9d7dcea83dc944ab7930a21793c14"
PV = "2.1.1"
S = "${WORKDIR}/git"
DEPENDS = "qtbase qtbase-native qttools-native qtwayland qtwayland-native btrfs-tools"
RRECOMMENDS:${PN} = "snapper qadwaitadecorations"
inherit qt6-cmake
FILES:${PN} += "${datadir}"

View File

@ -1,17 +0,0 @@
SUMMARY = "A qt6 qml style provider for hypr* apps"
HOMEPAGE = "https://hyprland.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
SRC_URI = "git://github.com/hyprwm/hyprland-qt-support.git;protocol=https;branch=main"
SRCREV = "767e884cda77bea293982c2116333308930d7800"
S = "${WORKDIR}/git"
PV = "0.1.0"
DEPENDS = "qtbase qtquick3d qttools-native qtwayland qtwayland-native hyprlang"
inherit qt6-cmake pkgconfig
FILES:${PN} += "${libdir}/qml/org/hyprland/style ${libdir}/libhyprland-quick-style.so ${libdir}/libhyprland-quick-style-impl.so"
FILES:${PN}-dev = ""

View File

@ -1,14 +0,0 @@
SUMMARY = "This repo houses some qt/qml utilities that might be used by various hypr* apps"
HOMEPAGE = "https://hyprland.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
SRC_URI = "git://github.com/hyprwm/hyprland-qtutils.git;protocol=https;branch=main"
SRCREV = "534cd1badc46ec9bdd986ab41ad2408bf845961e"
S = "${WORKDIR}/git"
PV = "0.1.3"
DEPENDS = "qtbase qtquick3d qttools-native qtwayland qtwayland-native hyprutils"
inherit qt6-cmake pkgconfig

View File

@ -1,15 +0,0 @@
SUMMARY = "Hyprland's cute welcome app, written in qt6."
HOMEPAGE = "https://hyprland.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e6458723c467506fd0c4aea3be2bcf8a"
SRC_URI = "git://github.com/hyprwm/hyprland-welcome.git;protocol=https;branch=main"
PV = "0.0.1"
SRCREV = "51561c00288775ad7afc20f47783bb068093ca5a"
S = "${WORKDIR}/git"
DEPENDS = "qtbase"
RDEPENDS:${PN} = "qtwayland"
inherit qt6-cmake

View File

@ -1,17 +0,0 @@
SUMMARY = "A simple polkit authentication agent for Hyprland, written in QT/QML."
HOMEPAGE = "https://hyprland.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
SRC_URI = "git://github.com/hyprwm/hyprpolkitagent.git;protocol=https;branch=main"
SRCREV = "0f0d412d4f8479c6f67f39bd6941b2f07343ff66"
S = "${WORKDIR}/git"
PV = "0.1.2"
DEPENDS = "qtbase qtquick3d qttools-native qtwayland qtwayland-native polkit polkit-qt hyprutils"
RDEPENDS:${PN} = "hyprland-qt-support"
inherit qt6-cmake pkgconfig
FILES:${PN} += "${systemd_user_unitdir} ${datadir}/dbus-1"

View File

@ -1,15 +0,0 @@
SUMMARY = "A tiny qt6/qml application to display information about the running system, or copy diagnostics data, without the terminal."
HOMEPAGE = "https://hyprland.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=778ddc598b3f2a2da3657dda514da983"
SRC_URI = "git://github.com/hyprwm/hyprsysteminfo.git;protocol=https;branch=main"
SRCREV = "17f041e2d539bd63ec116a77236ea37a17c6b3e6"
S = "${WORKDIR}/git"
PV = "0.1.3"
DEPENDS = "qtbase qtquick3d qttools-native hyprutils qtwayland qtwayland-native"
RDEPENDS:${PN} = "hyprland-qt-support"
inherit qt6-cmake

View File

@ -1,18 +0,0 @@
SUMMARY = "PolicyKit Qt wrapper"
LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later & BSD-3-Clause"
LIC_FILES_CHKSUM = " \
file://LICENSES/GPL-2.0-or-later.txt;md5=9e2385fe012386d34dcc5c9863070881 \
file://LICENSES/LGPL-2.0-or-later.txt;md5=da48810c4ddf8e49efa031294a26b98c \
file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0 \
"
inherit qt6-cmake pkgconfig
DEPENDS += "qtbase polkit glib-2.0"
SRC_URI = "https://download.kde.org/stable/${BPN}-1/${BPN}-1-${PV}.tar.xz"
SRC_URI[sha256sum] = "5d3b611c062d2b76a93750bb10c907bfd21d1ff08d0a15dc2cf63e278e1677fb"
S = "${UNPACKDIR}/${BPN}-1-${PV}"
PV = "0.200.0"
EXTRA_OECMAKE = "-DQT_MAJOR_VERSION=6"

View File

@ -1,22 +0,0 @@
SUMMARY = "Qt decoration plugin implementing Adwaita-like client-side decorations."
HOMEPAGE = "https://github.com/FedoraQt/QAdwaitaDecorations"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
DEPENDS = " \
qtbase \
qtsvg \
qtwayland \
qtwayland-native \
"
inherit qt6-cmake
EXTRA_OECMAKE += "-DUSE_QT6=ON"
SRC_URI = "git://github.com/FedoraQt/QAdwaitaDecorations.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
SRCREV = "d70c24a745e2f2195222400f901cb3a9296f28b5"
FILES:${PN} += "${libdir}"

View File

@ -4,7 +4,7 @@ LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88" LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88"
DEPENDS = " \ DEPENDS = " \
adwaita-qt \ adwaita-qt-native \
glib-2.0 \ glib-2.0 \
gsettings-desktop-schemas \ gsettings-desktop-schemas \
gtk+3 \ gtk+3 \

View File

@ -4,7 +4,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=e0f1d50df739a9fb8eae12a8f37ce352" LIC_FILES_CHKSUM = "file://../LICENSE;md5=e0f1d50df739a9fb8eae12a8f37ce352"
# Note: meta-qt6 is needed # Note: meta-qt6 is needed
DEPENDS = "qtbase hyprutils" DEPENDS = "qtbase"
RDEPENDS:${PN} = "qtwayland" RDEPENDS:${PN} = "qtwayland"
RRECOMMENDS:${PN} = "qgnomeplatform" RRECOMMENDS:${PN} = "qgnomeplatform"

View File

@ -3,27 +3,22 @@ HOMEPAGE = "https://github.com/hyprwm/xdg-desktop-portal-hyprland"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e0f1d50df739a9fb8eae12a8f37ce352" LIC_FILES_CHKSUM = "file://LICENSE;md5=e0f1d50df739a9fb8eae12a8f37ce352"
SRC_URI:append = " \ SRC_URI:append = " file://0001-meson.build-Dont-build-hyprland-share-picker-with-me.patch"
file://0001-meson.build-Dont-build-hyprland-share-picker-with-me.patch \
file://0001-Revert-core-add-version-and-improve-help.patch \
"
require xdg-desktop-portal-hyprland.inc require xdg-desktop-portal-hyprland.inc
# Note: meta-qt6 is needed # Note: meta-qt6 is needed
DEPENDS = " \ DEPENDS = " \
hyprlang \ wayland \
hyprutils \ wayland-native \
hyprwayland-scanner-native \ wayland-protocols \
libdrm \ libdrm \
pipewire \ pipewire \
sdbus-c++ \ sdbus-c++ \
virtual/libgbm \ virtual/libgbm \
wayland \
wayland-protocols \
" "
RDEPENDS:${PN} = "hyprland-share-picker grim slurp hyprpicker hyprlang" RDEPENDS:${PN} = "hyprland-share-picker"
RCONFLICTS:${PN} = "xdg-desktop-portal-wlr xdg-desktop-portal-gnome" RCONFLICTS:${PN} = "xdg-desktop-portal-wlr xdg-desktop-portal-gnome"
inherit meson pkgconfig features_check inherit meson pkgconfig features_check

View File

@ -1,3 +1,3 @@
SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1" SRC_URI = "gitsm://github.com/hyprwm/xdg-desktop-portal-hyprland.git;protocol=https;nobranch=1"
SRCREV = "7613351375de66ca0d56689e333d460e2db05454" SRCREV = "3606b35a0733015c8e3da5aca2dde4641b515720"
PV = "1.3.9" PV = "1.2.2"

View File

@ -1,61 +0,0 @@
From 72cdf9a1eb442929d4e169168c54dc4af1bf15b7 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Sun, 29 Sep 2024 16:33:52 +0200
Subject: [PATCH] Revert "core: add --version and improve --help"
This reverts commit 15932f0f9e4185faad4e90fa53a09a59d2a72fdf.
Upstream-Status: Pending
---
CMakeLists.txt | 2 --
src/main.cpp | 14 +++++---------
2 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66773db..8f194f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,8 +21,6 @@ else()
message(STATUS "Configuring XDPH in Release with CMake")
endif()
-add_compile_definitions(XDPH_VERSION="${VER}")
-
include_directories(. "protocols/")
# configure
diff --git a/src/main.cpp b/src/main.cpp
index cdeb83d..d7a4482 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4,12 +4,11 @@
#include "core/PortalManager.hpp"
void printHelp() {
- std::cout << R"#(┃ xdg-desktop-portal-hyprland
-┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
-┃ -v (--verbose) → enable trace logging
-┃ -q (--quiet) → disable logging
-┃ -h (--help) → print this menu
-┃ -V (--version) → print xdph's version
+ std::cout << R"#(| xdg-desktop-portal-hyprland
+| --------------------------------------
+| -v (--verbose) > enable trace logging
+| -q (--quiet) > disable logging
+| -h (--help) > print this menu
)#";
}
@@ -28,9 +27,6 @@ int main(int argc, char** argv, char** envp) {
else if (arg == "--help" || arg == "-h") {
printHelp();
return 0;
- } else if (arg == "--version" || arg == "-V") {
- std::cout << "xdg-desktop-portal-hyprland v" << XDPH_VERSION << "\n";
- return 0;
} else {
printHelp();
return 1;
--
2.46.0

View File

@ -4,8 +4,6 @@ Date: Wed, 20 Sep 2023 16:56:17 +0200
Subject: [PATCH] meson.build: Dont build hyprland-share-picker with meson Subject: [PATCH] meson.build: Dont build hyprland-share-picker with meson
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Markus Volk <f_l_k@t-online.de>
Upstream-Status: Pending
--- ---
meson.build | 1 - meson.build | 1 -
1 file changed, 1 deletion(-) 1 file changed, 1 deletion(-)

View File

@ -21,8 +21,8 @@ DEPENDS += " \
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "255.5" PV = "252.9"
SRCREV = "a5d0503e56596e4495407e6bbdd89ec2cf1fbe98" SRCREV = "17963fe8309e4782896335c3f8dc4a6c4b57d0b2"
inherit meson pkgconfig inherit meson pkgconfig

View File

@ -0,0 +1,14 @@
SUMMARY = "This is a lightweight C++ option parser library, supporting the standard GNU style syntax for options."
HOMEPAGE = "https://github.com/jarro2783/cxxopts"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8de00431559a76a1b43f6fd44f8f6689"
SRC_URI = "git://github.com/jarro2783/cxxopts.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
PV = "3.0.0"
SRCREV = "c74846a891b3cc3bfa992d588b1295f528d43039"
inherit cmake

View File

@ -1,18 +0,0 @@
SUMMARY = "libspng is a C library for reading and writing PNG format files with a focus on security and ease of use"
HOMEPAGE = "https://github.com/randy408/libspng"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=29809adc19b040d93257a61c5bff614b"
SRC_URI = "git://github.com/randy408/libspng.git;protocol=https;branch=master"
SRCREV = "fb768002d4288590083a476af628e51c3f1d47cd"
S = "${WORKDIR}/git"
PV = "0.7.4"
DEPENDS = "libdeflate"
inherit cmake
EXTRA_OECMAKE += "-DSPNG_STATIC=OFF -DBUILD_EXAMPLES=OFF"
FILES:${PN} = "${libdir}/libspng.so"
FILES:${PN}-dev = "${libdir}/cmake ${libdir}/pkgconfig ${includedir}"

View File

@ -0,0 +1,18 @@
SUMMARY = "Python Module for the Brotli compression algorithm."
HOMEPAGE = "https://github.com/google/brotli/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b"
inherit cmake setuptools3
SRC_URI = " \
git://github.com/google/brotli.git;protocol=https;branch=master \
"
PV = "1.0.9"
SRCREV = "e61745a6b7add50d380cfd7d3883dd6c62fc2c71"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"

View File

@ -1,12 +0,0 @@
SUMMARY = "A python implementation of the mustache templating language."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4a2d7b4be06609e1a683e7d895c75c02"
SRC_URI = "git://github.com/noahmorrison/chevron;protocol=https;branch=main"
inherit setuptools3
S = "${WORKDIR}/git"
PV = "0.13.1"
SRCREV = "d7f6bd54a296620068570fb83b91a43958ee5e37"

View File

@ -13,6 +13,6 @@ RDEPENDS:${PN} = " \
inherit setuptools3 inherit setuptools3
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "2.4.1" PV = "2.2.0"
SRCREV = "f495974c32a7a7b1eb433e7b8c87166e96375c32" SRCREV = "ade9c1b68c83a1fc76d90bc0ff603f6b34dfbbbf"

View File

@ -1,13 +0,0 @@
SUMMARY = "FFMPEG wrapper for Python"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4c1d517105fede816785b75e91a3a1e5"
SRC_URI = "git://github.com/imageio/imageio-ffmpeg.git;protocol=https;branch=main"
inherit python_setuptools_build_meta
S = "${WORKDIR}/git"
PV = "0.6.0"
SRCREV = "ae47d8028c237ca5507ceef1b843ee427b442887"
RDEPENDS:${PN} += "ffmpeg python3-imageio"

View File

@ -1,11 +0,0 @@
SUMMARY = "Python ipc bindings for wayfire"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://license;md5=12a8965e31d96ba989d4294f1e2cd525"
inherit python_setuptools_build_meta
SRC_URI = "git://github.com/WayfireWM/pywayfire.git;protocol=https;branch=main"
SRCREV = "af2d7a187c8479c114102d6c9413ad25316b199a"
PV = "0.3"
S = "${WORKDIR}/git"

View File

@ -1,18 +0,0 @@
SUMMARY = "stb is a set of single-file libraries for C/C++"
HOMEPAGE = "https://github.com/nothings/stb"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=fb994481c55623ef338885280e676f3b"
SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master"
SRCREV = "013ac3beddff3dbffafd5177e7972067cd2b5083"
S = "${WORKDIR}/git"
do_install() {
install -d ${D}${includedir}/stb
for file in ${S}/*.h; do
install -m 0644 $file ${D}${includedir}/stb
done
# needed for gamescope
install -m 0644 deprecated/stb_image_resize.h ${D}${includedir}/stb
}

View File

@ -13,6 +13,6 @@ RDEPENDS:${PN} = "python-i3ipc"
inherit setuptools3 inherit setuptools3
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "1.9.3" PV = "1.8"
SRCREV = "b6a8b9af52892a04d75118f79d2aad4edc3df963" SRCREV = "31207c0ca44ed846763dc6df55316ee7a7d047a8"

View File

@ -11,8 +11,8 @@ inherit meson pkgconfig
SRC_URI = "git://gitlab.com/mobian1/callaudiod.git;protocol=https;branch=master" SRC_URI = "git://gitlab.com/mobian1/callaudiod.git;protocol=https;branch=master"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.1.10" PV = "0.1.9"
SRCREV = "56831297817afb6b30062b7cee3e40225ac39cac" SRCREV = "50d1ac3792aac03abe0a3a88ceac77201a43bb3b"
FILES:${PN} += "${datadir}" FILES:${PN} += "${datadir}"

View File

@ -3,7 +3,6 @@ From: Cole Mickens <cole.mickens@gmail.com>
Date: Sun, 26 Jan 2020 01:27:08 -0800 Date: Sun, 26 Jan 2020 01:27:08 -0800
Subject: [PATCH] CMakeLists.txt: output date.pc for pkg-config Subject: [PATCH] CMakeLists.txt: output date.pc for pkg-config
Upstream-Status: Pending []
--- ---
CMakeLists.txt | 15 +++++++++++++++ CMakeLists.txt | 15 +++++++++++++++
date.pc.in | 10 ++++++++++ date.pc.in | 10 ++++++++++

View File

@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
SRC_URI = "git://github.com/rockowitz/ddcutil.git;protocol=https;branch=master" SRC_URI = "git://github.com/rockowitz/ddcutil.git;protocol=https;branch=master"
DEPENDS = "i2c-tools glib-2.0 kmod jansson" DEPENDS = "i2c-tools glib-2.0 kmod"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "2.1.4" PV = "1.3.0"
SRCREV = "ca610f91d5483e19bfdae88bb0094973cc81fc95" SRCREV = "207f6c75b01924bf5aa7faa4a6688eb2c14dfebf"
inherit autotools pkgconfig gobject-introspection inherit autotools pkgconfig gobject-introspection
@ -30,5 +30,5 @@ do_install:append () {
cp -rf ${D}${datadir}/ddcutil/data/* ${D}${sysconfdir}/udev/rules.d cp -rf ${D}${datadir}/ddcutil/data/* ${D}${sysconfdir}/udev/rules.d
} }
FILES:${PN} += "${sysconfdir} ${libdir}/modules-load.d/ddcutil.conf" FILES:${PN} += "${sysconfdir}"

View File

@ -8,8 +8,6 @@ workaround for:
| FAILED: version.h | FAILED: version.h
| /home/flk/build/poky/build-intel/tmp/hosttools/env LC_ALL=C ../git/generate-version.sh 3.0.1 ../git/ version.h | /home/flk/build/poky/build-intel/tmp/hosttools/env LC_ALL=C ../git/generate-version.sh 3.0.1 ../git/ version.h
| fatal: unsafe repository ('/home/flk/build/poky/build-intel/tmp/work/corei7-64-poky-linux/fcft/3.0.1-r0/git' is owned by someone else) | fatal: unsafe repository ('/home/flk/build/poky/build-intel/tmp/work/corei7-64-poky-linux/fcft/3.0.1-r0/git' is owned by someone else)
Upstream-Status: Inappropriate [oe-specific]
--- ---
generate-version.sh | 19 +------------------ generate-version.sh | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-) 1 file changed, 1 insertion(+), 18 deletions(-)

View File

@ -15,13 +15,13 @@ DEPENDS = " \
" "
SRC_URI = " \ SRC_URI = " \
git://codeberg.org/dnkl/fcft.git;protocol=https;branch=releases/3.3 \ git://codeberg.org/dnkl/fcft.git;protocol=https;branch=releases/3.1 \
file://0001-generate-version.sh-dont-try-to-fetch-version-from-g.patch \ file://0001-generate-version.sh-dont-try-to-fetch-version-from-g.patch \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "3.3.1" PV = "3.1.6"
SRCREV = "ccd1afaad891d77c040bad04120e9f602438fc33" SRCREV = "63845bdce3cf31f879c8be44088807b6750e1158"
inherit meson pkgconfig inherit meson pkgconfig

View File

@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
DEPENDS = " \ DEPENDS = " \
gmobile \
gsound \ gsound \
libgudev \ libgudev \
glib-2.0 \ glib-2.0 \
@ -20,8 +19,8 @@ inherit meson pkgconfig features_check gobject-introspection vala
SRC_URI = "gitsm://source.puri.sm/Librem5/feedbackd.git;protocol=https;nobranch=1" SRC_URI = "gitsm://source.puri.sm/Librem5/feedbackd.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.4.0" PV = "0.2.0"
SRCREV = "09396c7d64ee047849e65eb7ce1b7aa88763a902" SRCREV = "eadcfb16c3d6e648e471d0342a43075dfdf4143a"
EXTRA_OEMESON += "-Dtests=false" EXTRA_OEMESON += "-Dtests=false"

View File

@ -4,15 +4,15 @@ HOMEPAGE = "https://fontawesome.com/"
SECTION = "base/fonts" SECTION = "base/fonts"
LICENSE = "CC-BY-4.0 & OFL-1.1" LICENSE = "CC-BY-4.0 & OFL-1.1"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9b9d97c72a232b7715f2aed4bf4a4d45" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4186e0f8172f263065437f80932efbe1"
SRC_URI = " \ SRC_URI = " \
git://github.com/FortAwesome/Font-Awesome.git;protocol=https;branch=6.x \ git://github.com/FortAwesome/Font-Awesome.git;protocol=https;branch=6.x \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "6.6.0" PV = "6.4.0"
SRCREV = "37eff7fa00de26db41183a3ad8ed0e9119fbc44b" SRCREV = "0698449d50f2b95517562295a59d414afc68b369"
do_install () { do_install () {

View File

@ -1,29 +0,0 @@
SUMMARY = "Glaze reads and writes from object memory, simplifying interfaces and offering incredible performance"
HOMEPAGE = "https://github.com/stephenberry/glaze"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
SRC_URI = "git://github.com/stephenberry/glaze.git;protocol=https;nobranch=1"
SRCREV = "dfdb2ea5e878e8eff9f863b50728d860f663764f"
PV = "4.2.3"
S = "${WORKDIR}/git"
DEPENDS += "gcc-sanitizers libeigen"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
do_install:append() {
install -d ${D}${datadir}/pkgconfig
cat >${D}${datadir}/pkgconfig/glaze.pc <<EOF
prefix=${prefix}
includedir=${includedir}/glaze
Name: glaze
Description: one of the fastest JSON libraries
Version: ${PV}
URL: github.com/stephenberry/glaze
EOF
}

View File

@ -0,0 +1,60 @@
From a9c5d3add6550e27636de3ef86d6eb8bad41874d Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 15 Aug 2023 07:36:31 +0200
Subject: [PATCH] meson.build: add a pkgconfig .pc file
- fix version
- build shared lib and install
- install headers
Upstream-Status: Inappropriate
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
meson.build | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index e9f6c62..7e94496 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project('gmobile', 'c',
- version: '0.0.1',
+ version: '0.0.3',
license: 'LGPLv2.1+',
meson_version: '>= 0.56.1',
default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ],
@@ -99,3 +99,7 @@ summary({
bool_yn: true,
section: 'Build',
)
+
+install_headers('src/gmobile.h' , 'src/gm-cutout.h', 'src/gm-device-info.h', 'src/gm-device-tree.h', 'src/gm-display-panel.h', 'src/gm-error.h', 'src/gm-main.h', 'src/gm-timeout.h', 'src/gm-rect.h')
+pkg = import('pkgconfig')
+pkg.generate(gm_lib)
diff --git a/src/meson.build b/src/meson.build
index ee98a39..8d8fd7d 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -37,12 +37,15 @@ gm_c_args = [
'-DG_LOG_DOMAIN="gmobile"',
]
-gm_lib = static_library(
+gm_lib = shared_library(
'gmobile',
gm_sources,
include_directories: root_inc,
c_args: gm_c_args,
- dependencies: gm_deps)
+ dependencies: gm_deps,
+ version: meson.project_version(),
+ install: true,
+)
gmobile_dep = declare_dependency(
include_directories: [root_inc, include_directories('.')],
--
2.41.0

View File

@ -1,15 +1,18 @@
SUMMARY = "gmobile carries some helpers for GNOME on mobile devices" SUMMARY = "gmobile carries some helpers for GNOME on mobile devices"
LICENSE = "GPL-3.0-only & LGPL-2.1-only" LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" LIC_FILES_CHKSUM = "file://src/gm-cutout.c;beginline=1;endline=5;md5=fdd1e77039fe571c0c9aa6280a7e7903"
inherit meson pkgconfig gobject-introspection inherit meson pkgconfig
DEPENDS = "glib-2.0 json-glib" DEPENDS = "glib-2.0 json-glib"
SRC_URI = "git://gitlab.gnome.org/World/Phosh/gmobile.git;protocol=https;branch=main" SRC_URI = " \
git://gitlab.gnome.org/guidog/gmobile.git;protocol=https;nobranch=1 \
file://0001-meson.build-create-a-pkgconfig-.pc-file.patch \
"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "ca8db41bb39a3117461614ae4558a3e3019a19be" SRCREV = "f1b50f0f90604e0f125412932dae9b1e08d57ddc"
PV = "0.2.1" PV = "0.0.3"
do_install:append() { do_install:append() {
install -m 0644 ${B}/gm-config.h ${D}${includedir} install -m 0644 ${B}/gm-config.h ${D}${includedir}

View File

@ -9,8 +9,8 @@ DEPENDS = "sqlite3 glib-2.0 gdk-pixbuf python3-pygobject-native"
inherit gnomebase pkgconfig gobject-introspection inherit gnomebase pkgconfig gobject-introspection
GIR_MESON_OPTION = "" GIR_MESON_OPTION = ""
SRC_URI = "https://download.gnome.org/sources/gom/0.5/gom-${PV}.tar.xz;name=archive" SRC_URI = "https://download.gnome.org/sources/gom/${PV}/gom-${PV}.tar.xz;name=archive"
SRC_URI[archive.sha256sum] = "069d0909fbdc6b4d27edf7a879366194e3ab508b03548bf5b89ff63546d20177" SRC_URI[archive.sha256sum] = "68d08006aaa3b58169ce7cf1839498f45686fba8115f09acecb89d77e1018a9d"
FILES:${PN} += "${datadir} ${libdir}" FILES:${PN} += "${datadir} ${libdir}"

View File

@ -0,0 +1,18 @@
SUMMARY = "Highway is a C++ library for SIMD (Single Instruction, Multiple Data)"
HOMEPAGE = "https://github.com/google/highway/"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9"
inherit cmake
SRC_URI = " \
git://github.com/google/highway.git;protocol=https;branch=master \
"
PV = "1.0.7"
SRCREV = "ba0900a4957b929390ab73827235557959234fea"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
CXXFLAGS:append:arm = " -mfp16-format=ieee"

View File

@ -1,33 +0,0 @@
From 02fee99a4be76b1db07f27cad68986061168e7e1 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 20 Aug 2024 11:57:39 +0200
Subject: [PATCH] build as package
Upstream-Status: Pending
---
meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meson.build b/meson.build
index d33614b..d3e068d 100644
--- a/meson.build
+++ b/meson.build
@@ -19,6 +19,8 @@ systemduserdir = join_paths(systemddir, 'user')
root_inc = include_directories('.')
+pkgconfig = import ('pkgconfig')
+
cc = meson.get_compiler('c')
global_c_args = []
@@ -113,4 +115,6 @@ summary = [
'-----------',
]
+pkgconfig.generate(call_ui_lib)
+
message('\n'.join(summary))
--
2.45.2

View File

@ -1,30 +0,0 @@
SUMMARY = "Libcall-ui carries common user interface parts for call handling. It is meant to be used as a git submodule."
HOMEPAGE = "https://gitlab.gnome.org/World/Phosh/libcall-ui"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
DEPENDS = "glib-2.0 libhandy gtk+3 callaudiod"
inherit meson pkgconfig gi-docgen gobject-introspection
SRC_URI = " \
git://gitlab.gnome.org/World/Phosh/libcall-ui.git;protocol=https;branch=libcall-ui-0.1.x \
file://0001-build-as-package.patch \
"
S = "${WORKDIR}/git"
PV = "0.1.4"
SRCREV = "5bb3fc2d662285681a54ce4b5bc2ed29a47c8c74"
GIR_MESON_OPTION = ''
do_install:append() {
install -d ${D}${includedir}
install -m 0644 ${B}/src/libcall-ui.a ${D}${libdir}
cp -rf ${B}/src/libcall-ui.a.p ${D}${libdir}
install -m 0644 ${B}/cui-config.h ${D}${includedir}
install -m 0644 ${S}/src/*.h ${D}${includedir}
install -m 0644 ${B}/src/*.h ${D}${includedir}
}
FILES:${PN} += "${libdir}/libcall-ui.a.p"

View File

@ -1,27 +0,0 @@
SUMMARY = "This is a small library designed to make sharing and displaying of menu structures over DBus simple and easy to use."
HOMEPAGE = "https://github.com/AyatanaIndicators/libdbusmenu"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
SRC_URI = "git://github.com/JetBrains/libdbusmenu.git;protocol=https;branch=master"
DEPENDS = "glib-2.0 json-glib dbus intltool-native libxslt-native"
S = "${WORKDIR}/git"
PV = "16.0.4"
SRCREV = "38d7a2ada4b2a08c535491d43a39825868f2b065"
EXTRA_OECONF += "--disable-dumper --disable-gtk --disable-gtk-doc"
CFLAGS += "-Wno-error"
inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc
do_compile() {
oe_runmake
}
do_install() {
oe_runmake -j1 -C libdbusmenu-glib DESTDIR="${D}" install
}
FILES:${PN} += "${datadir}"

View File

@ -1,29 +0,0 @@
SUMMARY = "This is a small library designed to make sharing and displaying of menu structures over DBus simple and easy to use."
HOMEPAGE = "https://github.com/AyatanaIndicators/libdbusmenu"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
SRC_URI = "git://github.com/JetBrains/libdbusmenu.git;protocol=https;branch=master"
DEPENDS = "glib-2.0 json-glib dbus gtk+ gtk+3 libdbusmenu-glib intltool-native libxslt-native"
RDEPENDS:${PN} = "libdbusmenu-glib"
S = "${WORKDIR}/git"
PV = "16.0.4"
SRCREV = "38d7a2ada4b2a08c535491d43a39825868f2b065"
EXTRA_OECONF += "--disable-dumper --disable-gtk-doc"
inherit autotools pkgconfig gettext gobject-introspection vala gtk-doc
CFLAGS += "-Wno-error"
do_compile() {
oe_runmake
}
do_install() {
oe_runmake -j1 -C libdbusmenu-gtk DESTDIR="${D}" install
}
FILES:${PN} += "${datadir}"

View File

@ -0,0 +1,17 @@
SUMMARY = "EDID and DisplayID library."
HOMEPAGE = "https://gitlab.freedesktop.org/emersion/libdisplay-info"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e4426409957080ee0352128354cea2de"
SRC_URI = "git://gitlab.freedesktop.org/emersion/libdisplay-info.git;branch=main;protocol=https"
DEPENDS = "hwdata-native"
S = "${WORKDIR}/git"
PV = "0.1.1"
SRCREV = "92b031749c0fe84ef5cdf895067b84a829920e25"
inherit meson pkgconfig
BBCLASSEXTEND = "native"

View File

@ -3,12 +3,12 @@ HOMEPAGE = "https://gitlab.freedesktop.org/emersion/libliftoff"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=706cd9899438a9385250ab6773c1fa53" LIC_FILES_CHKSUM = "file://LICENSE;md5=706cd9899438a9385250ab6773c1fa53"
SRC_URI = "git://gitlab.freedesktop.org/emersion/libliftoff.git;branch=master;protocol=https" SRC_URI = "git://gitlab.freedesktop.org/emersion/libliftoff.git;branch=v0.4;protocol=https"
DEPENDS = "libdrm" DEPENDS = "libdrm"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.5.0" PV = "0.4.1"
SRCREV = "8b08dc1c14fd019cc90ddabe34ad16596b0691f4" SRCREV = "e045589f37835d66e3ffe8130a597bb4eb9ee08f"
inherit meson pkgconfig inherit meson pkgconfig

View File

@ -1,16 +0,0 @@
SUMMARY = "A collection of libraries which implement some of the freedesktop.org specifications."
HOMEPAGE = "https://gitlab.freedesktop.org/vyivel/libsfdo"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=896bac785747ebab7d4e9d693e517573"
inherit meson pkgconfig
SRC_URI = "git://gitlab.freedesktop.org/vyivel/libsfdo.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
PV = "0.1.3"
SRCREV = "b3936ed9826375334dbbaa999e7216d1b36b445b"
PACKAGECONFIG ?= ""
PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"

View File

@ -2,7 +2,7 @@ SUMMARY = "varlink is an interface description format and protocol accessible to
HOMEPAGE = "https://varlink.org" HOMEPAGE = "https://varlink.org"
LICENSE = "Apache-2.0 & BSD-3-Clause" LICENSE = "Apache-2.0 & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" LIC_FILES_CHKSUM = "file://LICENSE;md5=e316e9609dd7672b87ff25b46b2cf3e1"
SRC_URI = " \ SRC_URI = " \
git://github.com/varlink/libvarlink.git;protocol=https;branch=master \ git://github.com/varlink/libvarlink.git;protocol=https;branch=master \

View File

@ -4,11 +4,13 @@ SECTION = "libs"
LICENSE = "GPL-3.0-only" LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "git://gitlab.com/dpeukert/light;protocol=https;branch=main" SRC_URI = " \
git://github.com/haikarainen/light.git;protocol=https;branch=master \
"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "1.2.2" PV = "1.2.2"
SRCREV = "2a54078cbe3814105ee4f565f451b1b5947fbde0" SRCREV = "9faa9ae075f9e857aecb3eee8a028fc93108f1c2"
CFLAGS += " -fcommon" CFLAGS += " -fcommon"

View File

@ -0,0 +1,25 @@
From 2cac433806d9622dbc005fe5738f1ae8c33a98cb Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Thu, 13 Jul 2023 19:26:40 +0200
Subject: [PATCH] Makefile: dont add -static to LDFLAGS
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index 60a80b8..49021fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
VERSION=1.11.2
CFLAGS?=-g
MAINFLAGS:=-DVERSION='"$(VERSION)"' -Wall -Wextra -Werror -Wno-unused-parameter
-LDFLAGS+=-static
INCLUDE+=-Iinclude
PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin
--
2.39.3

View File

@ -0,0 +1,25 @@
SUMMARY = "scdoc is a simple man page generator for POSIX systems written in C99."
HOMEPAGE = "https://github.com/ddevault/scdoc"
BUGTRACKER = "https://github.com/ddevault/scdoc/issues"
SECTION = "base/doc"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=31752b4a8edd3fb9ddba1cb90fada74d"
SRC_URI = " \
git://git.sr.ht/~sircmpwn/scdoc;protocol=https;branch=master \
file://0001-Makefile-dont-add-static-to-LDFLAGS.patch \
"
DEPENDS = "scdoc-native"
S = "${WORKDIR}/git"
PV = "1.11.2"
SRCREV = "afeda241f3f9b2c27e461f32d9c2a704ab82ef61"
EXTRA_OEMAKE:class-native = "PREFIX=${prefix}"
EXTRA_OEMAKE:class-target = "PREFIX=${prefix} HOST_SCDOC=${STAGING_BINDIR_NATIVE}/scdoc"
inherit autotools-brokensep
BBCLASSEXTEND = "native"

View File

@ -8,8 +8,8 @@ LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=03068f550c635f6520e0f0252da412fc" LIC_FILES_CHKSUM = "file://COPYING;md5=03068f550c635f6520e0f0252da412fc"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "6198851a610b7889c17e2d98fb84617bc1dd7aec" SRCREV = "1a31b18b38715b14d0f3f97039a12e272c71b98a"
PV = "1.13.17" PV = "1.13.15"
SRC_URI = "git://github.com/freeswitch/sofia-sip.git;protocol=https;branch=master" SRC_URI = "git://github.com/freeswitch/sofia-sip.git;protocol=https;branch=master"
@ -17,5 +17,3 @@ inherit autotools pkgconfig
EXTRA_OECONF += "--with-glib" EXTRA_OECONF += "--with-glib"
CFLAGS += "-Wno-incompatible-pointer-types"

View File

@ -0,0 +1,21 @@
SUMMARY = "Udis86 is a disassembler for the x86 and x86-64 class of instruction set architectures"
HOMEPAGE = "https://github.com/vmt/udis86"
SECTION = "libs"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ab079829a9e47b6d81dab3bf5da3f638"
SRC_URI = "git://github.com/canihavesomecoffee/udis86.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
PV = "1.7.2"
SRCREV = "5336633af70f3917760a6d441ff02d93477b0c86"
inherit autotools-brokensep pkgconfig python3native
EXTRA_OECONF += "--enable-shared"
do_configure:prepend() {
cd ${S} && ./autogen.sh
}

View File

@ -13,12 +13,9 @@ S = "${WORKDIR}/git"
PV = "2.8.0" PV = "2.8.0"
SRCREV = "1cb28a66ca79a0845e99433fd1056257456cef8b" SRCREV = "1cb28a66ca79a0845e99433fd1056257456cef8b"
EXTRA_OEMAKE = "prefix=${prefix} DESTDIR=${D}" EXTRA_OEMAKE = "prefix=${prefix}"
do_compile() { inherit autotools-brokensep pkgconfig
oe_runmake
} BBCLASSEXTEND = ""
do_install() {
oe_runmake install
}

View File

@ -1,40 +0,0 @@
From 3f89fbb25bee0064d74f882ea9fc73ad39234d34 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Thu, 14 Nov 2024 22:15:49 +0100
Subject: [PATCH] uwsm/meson.build: dont fail for missing python-modules
Otherwise python-dbus-native and pyxdg-native would be required for build
but are only runtime dpendencies
Upstream-Status: Pending
---
uwsm/meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/uwsm/meson.build b/uwsm/meson.build
index d2ecf6b..c5ab845 100644
--- a/uwsm/meson.build
+++ b/uwsm/meson.build
@@ -14,13 +14,13 @@ has_system_xdg = \
check: false,
).returncode() == 0
-if not has_system_dbus
- error('python dbus module not found')
-endif
+#if not has_system_dbus
+# error('python dbus module not found')
+#endif
-if not has_system_xdg
- error('python xdg module not found')
-endif
+#if not has_system_xdg
+# error('python xdg module not found')
+#endif
conf = configuration_data()
conf.set('PROJECT_NAME', PROJECT_NAME)
--
2.47.0

View File

@ -1,26 +0,0 @@
SUMMARY = "Wraps standalone Wayland compositors into a set of Systemd units on the fly"
HOMEPAGE = "https://github.com/Vladimir-csp/uwsm"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0bcdc63de832340797303f320ae6af32"
inherit meson pkgconfig manpages
EXTRA_OEMESON = "-Dpython-bin=${bindir}/python3"
SRC_URI = " \
git://github.com/Vladimir-csp/uwsm.git;protocol=https;branch=master \
file://0001-uwsm-meson.build-dont-fail-for-missing-python-module.patch \
"
SRCREV = "7bb627b78c69c890417146150733f9728b227c67"
PV = "0.20.5"
S = "${WORKDIR}/git"
PACKAGECONFIG ?= ""
PACKAGECONFIG[manpages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
PACKAGECONFIG[uuctl] = "-Duuctl=enabled,-Duuctl=disabled,,fuzzel"
FILES:${PN} += "${datadir}/licenses"
RDEPENDS:${PN} += "python3-dbus pyxdg python3-core whiptail"
RRECOMMENDS:${PN} += "dbus-broker"

View File

@ -1,29 +0,0 @@
From cda8f7af382f5c5f1e9a395eb03e2b819770d499 Mon Sep 17 00:00:00 2001
From: Yuji Saeki <44311901+YujiSaeki@users.noreply.github.com>
Date: Mon, 1 Jun 2020 22:32:16 +0200
Subject: [PATCH 1/1] fix wrong math
Signed-off-by: Christian Hesse <mail@eworm.de>
Upstream-Status: Pending []
---
xcur2png.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xcur2png.c b/xcur2png.c
index 8723a10..f7dd95d 100644
--- a/xcur2png.c
+++ b/xcur2png.c
@@ -586,9 +586,9 @@ int writePngFileFromXcur (const XcursorDim width, const XcursorDim height,
unsigned int red = (pixels[i]>>16) & 0xff;
unsigned int green = (pixels[i]>>8) & 0xff;
unsigned int blue = pixels[i] & 0xff;
- red = (div (red * 256, alpha).quot) & 0xff;
- green = (div (green * 256, alpha).quot) & 0xff;
- blue = (div (blue * 256, alpha).quot) & 0xff;
+ red = (div (red * 255, alpha).quot) & 0xff;
+ green = (div (green * 255, alpha).quot) & 0xff;
+ blue = (div (blue * 255, alpha).quot) & 0xff;
pix[i] = (alpha << 24) + (red << 16) + (green << 8) + blue;
}

View File

@ -5,16 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "libxcursor libpng" DEPENDS = "libxcursor libpng"
SRC_URI = " \
git://github.com/eworm-de/xcur2png.git;protocol=https;branch=master \
file://0001-fix-wrong-math.patch \
"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "f582d648f37a9ed2de0c8650947487af8a54d3ad" SRCREV = "f582d648f37a9ed2de0c8650947487af8a54d3ad"
PV = "0.7.1" PV = "0.7.1"
SRC_URI = "git://github.com/eworm-de/xcur2png.git;protocol=https;branch=master"
inherit autotools pkgconfig inherit autotools pkgconfig
CFLAGS += "-Wno-implicit-int"

View File

@ -1,13 +0,0 @@
Upstream-Status: Inactive-Upstream [last project modification in 2001]
diff -Nur aalib-1.4.0-orig/src/aalinuxkbd.c aalib-1.4.0/src/aalinuxkbd.c
--- aalib-1.4.0-orig/src/aalinuxkbd.c 2001-04-26 16:37:31.000000000 +0200
+++ aalib-1.4.0/src/aalinuxkbd.c 2005-07-01 22:57:59.000000000 +0200
@@ -200,7 +200,7 @@
static int rawmode_init(void)
{
if (!closed)
- return;
+ return 1;
mypid = getpid();
if (tty_fd == -1) {
tty_fd = fileno(stdin);

View File

@ -1,107 +0,0 @@
Add additional system header #include directives for more
function prototypes. This avoids implicit function declarations
and build failures with future compilers.
Upstream-Status: Inactive-Upstream [last project activity in 2001]
diff --git a/src/aafire.c b/src/aafire.c
index 4f36149aa84fba57..a59b5c5fa58e085b 100644
--- a/src/aafire.c
+++ b/src/aafire.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include "aalib.h"
#define XSIZ aa_imgwidth(context)
diff --git a/src/aainfo.c b/src/aainfo.c
index d3f6d50f34590638..f4250ee37ae46134 100644
--- a/src/aainfo.c
+++ b/src/aainfo.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aakbdreg.c b/src/aakbdreg.c
index def65fe25646d75a..682616313c1b6ebd 100644
--- a/src/aakbdreg.c
+++ b/src/aakbdreg.c
@@ -1,4 +1,5 @@
#include <malloc.h>
+#include <string.h>
#include "config.h"
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aalib.c b/src/aalib.c
index 11fecc8fe8ef6b59..1ef12c0dfa9026a4 100644
--- a/src/aalib.c
+++ b/src/aalib.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include "aalib.h"
diff --git a/src/aalinuxkbd.c b/src/aalinuxkbd.c
index c7f388abfe9e8c7f..ea988154518dfc8e 100644
--- a/src/aalinuxkbd.c
+++ b/src/aalinuxkbd.c
@@ -8,6 +8,7 @@
*/
#include "config.h"
+#include <stdlib.h>
#ifdef LINUX_DRIVER
#include <sys/time.h>
#include <sys/types.h>
diff --git a/src/aamoureg.c b/src/aamoureg.c
index 03808289eb59b928..6d807416ae0d3dc2 100644
--- a/src/aamoureg.c
+++ b/src/aamoureg.c
@@ -1,4 +1,5 @@
#include <malloc.h>
+#include <string.h>
#include "config.h"
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aaregist.c b/src/aaregist.c
index 54abec0b9797533a..768b8ce29e286b00 100644
--- a/src/aaregist.c
+++ b/src/aaregist.c
@@ -1,4 +1,5 @@
#include <malloc.h>
+#include <string.h>
#include "config.h"
#include "aalib.h"
#include "aaint.h"
diff --git a/src/aasavefont.c b/src/aasavefont.c
index b00e1e6d7f181952..864ba225d5ef626c 100644
--- a/src/aasavefont.c
+++ b/src/aasavefont.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include "aalib.h"
int main(int argc, char **argv)
{
diff --git a/src/aatest.c b/src/aatest.c
index 9816f5d855134894..89933cfba6344270 100644
--- a/src/aatest.c
+++ b/src/aatest.c
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+#include <string.h>
#include "aalib.h"
int main(int argc, char **argv)
{
diff --git a/src/aaxkbd.c b/src/aaxkbd.c
index f16afc63bb565512..44b91458b4bef3bc 100644
--- a/src/aaxkbd.c
+++ b/src/aaxkbd.c
@@ -7,6 +7,7 @@
#include <X11/Xlib.h>
#include <X11/keysymdef.h>
#include <X11/keysym.h>
+#include <X11/Xutil.h>
#include "aalib.h"
#include "aaint.h"
#include "aaxint.h"

View File

@ -1,35 +0,0 @@
This bug can be seen very clearly with e.g. mplayer -vo aa -monitoraspect 3
in which case a big part of the picture is missing or there is even completely
black output.
The reason for this is, when drawing only a part of the picture via aarender()
the first X coordinate is used for the loop count, but it is not applied to the
destination and source image index, thus instead of (re)drawing the middle part
of the image, it draws always the left part.
Actual Results:
only the left part of the image is draw (depending on the video, only the left
black bar might be draw, so you will see nothing at all - if so use a slightly
smaller value for -monitoraspect).
Expected Results:
All of the image should be drawn, and -monitoraspect should only squeeze the
image, not cause part of it to miss.
Gentoo-bug: http://bugs.gentoo.org/id=214142
Reported-by: Reimar Döffinger
Fixed-by: Reimar Döffinger
Upstream-Status: Inactive-Upstream [last project activity in 2001]
--- a/src/aarender.c.orig 2008-03-18 23:55:32.000000000 +0100
+++ b/src/aarender.c 2008-03-18 23:55:50.000000000 +0100
@@ -94,8 +94,8 @@
gamma = randomval / 2;
mval = (c->parameters[c->filltable[255]].p[4]);
for (y = y1; y < y2; y++) {
- pos = 2 * y * wi;
- pos1 = y * aa_scrwidth(c);
+ pos = 2 * (y * wi + x1);
+ pos1 = y * aa_scrwidth(c) + x1;
esum = 0;
for (x = x1; x < x2; x++) {
i1 = table[((((int) c->imagebuffer[pos])))];

View File

@ -1,15 +0,0 @@
Upstream-Status: Inactive-Upstream [last project activity in 2001]
--- a/src/aarender.c
+++ b/src/aarender.c
@@ -63,10 +63,10 @@ void aa_renderpalette(aa_context * c, __
errors[0] = calloc(1, (x2 + 5) * sizeof(int));
if (errors[0] == NULL)
dither = AA_ERRORDISTRIB;
- errors[0] += 3;
errors[1] = calloc(1, (x2 + 5) * sizeof(int));
if (errors[1] == NULL)
free(errors[0]), dither = AA_ERRORDISTRIB;
+ errors[0] += 3;
errors[1] += 3;
cur = 0;
}

View File

@ -1,24 +0,0 @@
Upstream-Status: Inactive-Upstream [last project activity in 2001]
diff -Naur a/src/aalinuxkbd.c b/src/aalinuxkbd.c
--- a/src/aalinuxkbd.c 2016-12-19 12:40:26.660039735 +0100
+++ b/src/aalinuxkbd.c 2016-12-19 12:42:21.692045971 +0100
@@ -114,6 +114,7 @@
static int vtswitch_allowed;
static char key_down[128];
+static size_t key_down_size = 128;
static int closed = 1;
static int mypid;
@@ -165,10 +166,7 @@
static void blank_key_down(void)
{
- int f;
-
- for (f = 0; f < NR_KEYS; f++)
- key_down[f] = 0;
+ memset(key_down, 0, key_down_size);
}

View File

@ -1,26 +0,0 @@
Index: aalib.m4
===================================================================
RCS file: /cvsroot/aa-project/aalib/aalib.m4,v
retrieving revision 1.2
Upstream-Status: Inactive-Upstream [last project activity in 2001]
diff -u -r1.2 aalib.m4
--- a/aalib.m4 3 May 2001 14:56:44 -0000 1.2
+++ b/aalib.m4 28 Mar 2017 08:36:42 -0000
@@ -40,14 +40,14 @@
if test "$AALIB_CONFIG" = "no" ; then
no_aalib=yes
else
- AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
- AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
+ AALIB_CFLAGS=`$AALIB_CONFIG $aalib_args --cflags`
+ AALIB_LIBS=`$AALIB_CONFIG $aalib_args --libs`
aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
- aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
+ aalib_micro_version=`$AALIB_CONFIG $aalib_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_aalibtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"

View File

@ -1,40 +0,0 @@
From 6125c3438e6cf30e1ebd70ca6ac3f1e04481c7a7 Mon Sep 17 00:00:00 2001
From: Gergely Nagy <algernon@madhouse-project.org>
Date: Sat, 30 Jun 2012 13:08:13 +0200
Subject: [PATCH] Typo fix: KEY_MOUDE => KEY_MOUSE
Patch by Sam Hocevar <sam@zoy.org> 17 Nov 2003
Origin: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=221243
Upstream-Status: Inactive-Upstream [last project activity in 2001]
---
src/aacurkbd.c | 2 +-
src/aastdin.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/aacurkbd.c b/src/aacurkbd.c
index 801897b..418b6a3 100644
--- a/src/aacurkbd.c
+++ b/src/aacurkbd.c
@@ -112,7 +112,7 @@ static int curses_getchar(aa_context * c1, int wait)
return (AA_UP);
case KEY_DOWN:
return (AA_DOWN);
-#ifdef KEY_MOUDE
+#ifdef KEY_MOUSE
case KEY_MOUSE:
#ifdef GPM_MOUSEDRIVER
if (!__curses_usegpm)
diff --git a/src/aastdin.c b/src/aastdin.c
index 696d87b..e2dabe4 100644
--- a/src/aastdin.c
+++ b/src/aastdin.c
@@ -88,7 +88,7 @@ static int stdin_getchar(aa_context * c1, int wait)
if (c > 0 && c < 127 && c != 127)
return (c);
switch (c) {
-#ifdef KEY_MOUDE
+#ifdef KEY_MOUSE
case KEY_MOUSE:
return AA_MOUSE
#endif

View File

@ -1,15 +0,0 @@
Upstream-Status: Inactive-Upstream [last project activity in 2001]
diff -up aalib-1.4.0/src/aacurses.c.opaque-ncurses-fix aalib-1.4.0/src/aacurses.c
--- aalib-1.4.0/src/aacurses.c.opaque-ncurses-fix 2024-02-10 06:32:32.008267145 -0500
+++ aalib-1.4.0/src/aacurses.c 2024-02-10 06:33:38.648245270 -0500
@@ -71,8 +71,8 @@ static void curses_getsize(aa_context *
{
if (__resized_curses)
curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), __resized_curses = 0;
- *width = stdscr->_maxx + 1;
- *height = stdscr->_maxy + 1;
+ *width = getmaxx(stdscr);
+ *height = getmaxy(stdscr);
#ifdef GPM_MOUSEDRIVER
gpm_mx = *width;
gpm_my = *height;

View File

@ -1,12 +0,0 @@
Upstream-Status: Inactive-Upstream [last project activity in 2001]
--- a/aalib.m4 2006-03-05 13:58:21.000000000 +0000
+++ b/aalib.m4 2006-03-05 13:58:32.000000000 +0000
@@ -9,7 +9,7 @@
dnl AM_PATH_AALIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for AALIB, and define AALIB_CFLAGS and AALIB_LIBS
dnl
-AC_DEFUN(AM_PATH_AALIB,
+AC_DEFUN([AM_PATH_AALIB],
[dnl
dnl Get the cflags and libraries from the aalib-config script
dnl

View File

@ -9,24 +9,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
S = "${WORKDIR}/aalib-1.4.0" S = "${WORKDIR}/aalib-1.4.0"
SRC_URI = " \ SRC_URI = "${SOURCEFORGE_MIRROR}/projects/aa-project/files/aa-lib/1.4rc5/aalib-1.4rc5.tar.gz"
${SOURCEFORGE_MIRROR}/aa-project/aalib-1.4rc5.tar.gz \
file://aalib-aalinuxkbd-return.patch \
file://aalib-free-offset-pointer.patch \
file://aalib-key-down-OOB.patch \
file://aalib-opaque-ncurses-fix.patch \
file://aclocal-fixes.patch \
file://aalib-c99.patch \
file://aalib-fix-aarender.patch \
file://aalib-m4.patch \
file://aalib-mouse.patch \
"
SRC_URI[sha256sum] = "fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee" SRC_URI[sha256sum] = "fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee"
inherit autotools inherit autotools
EXTRA_OECONF += "--with-ncurses=${STAGING_DIR_HOST}" CFLAGS:append = " -fPIC "
do_install:append() {
rm -f ${D}${bindir}/aalib-config
}

View File

@ -0,0 +1,38 @@
SUMMARY = "Reference implementation of JPEG XL (encoder and decoder)"
HOMEPAGE = "https://github.com/libjxl/libjxl/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6a905a337cc228a1f68f0b5416f52a7f"
inherit cmake pkgconfig
DEPENDS = "highway brotli"
SRC_URI = " \
gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1 \
"
PV = "0.8.2"
SRCREV = "954b460768c08a147abf47689ad69b0e7beff65e"
S = "${WORKDIR}/git"
EXTRA_OECMAKE = " \
-DCMAKE_BUILD_TYPE=Release \
-DJPEGXL_ENABLE_PLUGINS=OFF \
-DBUILD_TESTING=OFF \
-DJPEGXL_WARNINGS_AS_ERRORS=OFF \
-DJPEGXL_ENABLE_SIZELESS_VECTORS=ON \
-DJPEGXL_ENABLE_SJPEG=OFF \
-DJPEGXL_ENABLE_BENCHMARK=OFF \
-DJPEGXL_ENABLE_EXAMPLES=OFF \
-DJPEGXL_ENABLE_MANPAGES=OFF \
-DJPEGXL_ENABLE_SKCMS=ON \
-DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
-DJPEGXL_FORCE_SYSTEM_HWY=ON \
-DJPEGXL_ENABLE_JNI=OFF \
-DJPEGXL_ENABLE_TCMALLOC=OFF \
-DJPEGXL_ENABLE_TOOLS=OFF \
"
CXXFLAGS:append:arm = " -mfp16-format=ieee"

View File

@ -13,8 +13,8 @@ DEPENDS = " \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "0069bc236e47f35605c5326a81c3a163fb0c988e" SRCREV = "61ec53db765c9bffe2869d870e0d9e29e36bb37e"
PV = "1.7" PV = "1.3"
inherit meson pkgconfig inherit meson pkgconfig

View File

@ -28,10 +28,10 @@ DEPENDS = " \
SRC_URI = "gitsm://gitlab.gnome.org/GNOME/calls.git;protocol=https;nobranch=1" SRC_URI = "gitsm://gitlab.gnome.org/GNOME/calls.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "11ce0eae72f6f6eeb1c1de2cfe71046087368121" SRCREV = "936d36287324163b958c6ea0c4297c7a607ee18c"
PV = "47.0" PV = "45.0"
inherit meson vala pkgconfig mime-xdg gtk-icon-cache inherit meson vala pkgconfig mime-xdg gtk-icon-cache
FILES:${PN} += "${datadir} ${systemd_user_unitdir}" FILES:${PN} += "${datadir}"

View File

@ -1,29 +0,0 @@
SUMMARY = "Blazingly fast and efficient status bar + widgets written for gtk3"
HOMEPAGE = "https://github.com/scorpion-26/gBar"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=15efb84d5f4a09189d30d2682a2373ec"
REQUIRED_DISTRO_FEATURES = "wayland"
SRC_URI = "git://github.com/scorpion-26/gBar.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
SRCREV = "b1e2c2ed26a62058c502db3a03ac615f2567942e"
DEPENDS += " \
gtk+3 \
gtk-layer-shell \
pulseaudio \
wayland \
wayland-native \
wayland-protocols \
"
inherit meson pkgconfig features_check
PACKAGECONFIG ?= "sass ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth', d)}"
PACKAGECONFIG[bluetooth] = "-DWithBlueZ=true,-DWithBlueZ=false,bluez5"
PACKAGECONFIG[dbusmenu] = "-DWithSNI=true,-DWithSNI=false,libdbusmenu-gtk"
PACKAGECONFIG[sass] = "-DWithLibSass=true,-DWithLibSass=false,libsass"
FILES:${PN} += "${datadir}"

View File

@ -0,0 +1,43 @@
From c8f73f57d63779cfaad140e0521be40972fbec8f Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Wed, 1 Sep 2021 16:44:13 +0200
Subject: [PATCH] meson: make gir buildable
yocto/oe is capable of building gobject introspection despite cross-compiling.
add an option to enable gir build even if cross-compiling
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
libgimp/meson.build | 2 +-
meson_options.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libgimp/meson.build b/libgimp/meson.build
index 9e7b4fbbe3..99614733d7 100644
--- a/libgimp/meson.build
+++ b/libgimp/meson.build
@@ -384,7 +384,7 @@ libgimpui_introspectable_files = [
libgimpwidgets_introspectable,
]
-if meson.is_cross_build()
+if meson.is_cross_build() and not get_option('introspection')
have_gobject_introspection = false
gobject_introspection_warning = '\n '.join(['',
'GObject Introspection is disabled while cross-compiling because',
diff --git a/meson_options.txt b/meson_options.txt
index 7b6ad78045..c29fdb5b40 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -52,7 +52,7 @@ option('headless-tests', type: 'feature', value: 'auto', description: 'Use xv
option('gtk-doc', type: 'boolean', value: true, description: 'Build developer documentation')
option('gtk-doc-app', type: 'boolean', value: false, description: 'Build developer documentation for app')
option('g-ir-doc', type: 'boolean', value: false, description: 'Build developer documentation for introspected API')
-
+option('introspection', type: 'boolean', value: false, description: 'GIR is buildable even if crosscompiling')
option('linux-input', type: 'feature', value: 'auto', description: 'Linux input event controller module')
option('vec-icons', type: 'boolean', value: true, description: 'Use vector icons rather than raster ones')
--
2.25.1

View File

@ -0,0 +1,119 @@
SUMMARY = "The GIMP is the GNU Image Manipulation Program"
HOMEPAGE = "http://www.gimp.org"
SECTION = "graphics"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
DEPENDS = " \
appstream-glib \
atk \
babl \
bison-native \
cairo \
dbus-glib \
fontconfig \
freetype \
gdk-pixbuf-native \
gegl \
gegl-native \
gexiv2 \
gtk+3 \
harfbuzz \
intltool-native \
json-glib \
lcms \
libarchive \
libexif \
libmypaint \
libpng \
libxmu \
libxslt-native \
mypaint-brushes-1.0 \
pango \
poppler \
poppler-data \
"
DEPENDS:append:libc-musl = " libexecinfo"
RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking"
inherit meson gtk-icon-cache mime-xdg pkgconfig features_check gobject-introspection vala
GIR_MESON_OPTION = ''
SRC_URI = " \
git://github.com/GNOME/gimp.git;protocol=https;branch=master \
"
S = "${WORKDIR}/git"
SRCREV = "a0811ff614ec8361e570b2570dee05de6fc5a078"
PV = "2.99.14"
PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib"
PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib"
PACKAGECONFIG[appdata-test] = "-Dappdata-test=enabled,-Dappdata-test=disabled,appstream-glib-native"
PACKAGECONFIG[bzip2] = ",,bzip2"
PACKAGECONFIG[cairo-pdf] = "-Dcairo-pdf=enabled,-Dcairo-pdf=disabled"
PACKAGECONFIG[check-update] = "-Dcheck-update=yes,-Dcheck-update=no"
PACKAGECONFIG[email] = ",,,xdg-utils"
PACKAGECONFIG[enable-console-bin] = "-Denable-console-bin=true,-Denable-console-bin=false"
PACKAGECONFIG[ghostscript] = "-Dghostscript=enabled,-Dghostscript=disabled,ghostscript"
PACKAGECONFIG[gi-docgen] = "-Dgi-docgen=enabled,-Dgi-docgen=disabled,gi-docgen-native"
PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
PACKAGECONFIG[iso-codes] = ",,iso-codes"
PACKAGECONFIG[javascript] = "-Djavascript=true,-Djavascript=false,,openjre-8"
PACKAGECONFIG[jpeg2000] = "-Djpeg2000=enabled,-Djpeg2000=disabled,jasper"
PACKAGECONFIG[jpeg] = ",,jpeg"
PACKAGECONFIG[jpeg-xl] = ",,libjxl"
PACKAGECONFIG[libunwind] = ",,libunwind"
PACKAGECONFIG[libbacktrace] = ",,libbacktrace"
PACKAGECONFIG[lua] = "-Dlua=true,-Dlua=false,,luajit lgi"
PACKAGECONFIG[lzma] = ",,xz"
PACKAGECONFIG[mng] = "-Dmng=enabled,-Dmng=disabled,libmng"
PACKAGECONFIG[python] = "-Dpython=true,-Dpython=false,,python3 python3-pygobject"
PACKAGECONFIG[rsvg] = ",,librsvg"
PACKAGECONFIG[tiff] = ",,tiff"
PACKAGECONFIG[vala-plugins] = "-Dvala-plugins=enabled,-Dvala-plugins=disabled"
PACKAGECONFIG[vector-icons] = "-Dvector-icons=true,-Dvector-icons=false,librsvg shared-mime-info"
PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp"
PACKAGECONFIG[xcursor] = "-Dxcursor=enabled,-Dxcursor=disabled,libxcursor"
PACKAGECONFIG[x11] = "-Dxpm=enabled,-Dxpm=disabled,libxpm libxext libxfixes"
PACKAGECONFIG[zlib] = ",,zlib"
PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
aa \
alsa \
bzip2 \
cairo-pdf \
gudev \
jpeg \
jpeg2000 \
jpeg-xl \
lua \
lzma \
mng \
python \
rsvg \
tiff \
vala-plugins \
vector-icons \
webp \
zlib \
"
FILES:${PN} += " \
${datadir}/metainfo \
${datadir}/gir-1.0 \
${datadir}/appdata \
${libdir}/girepository-1.0 \
"
EXTRA_OEMESON += " \
-Dshmem-type=posix \
-Dlinux-input=enabled \
-Dcan-crosscompile-gir=true \
--buildtype release \
"

View File

@ -1,23 +0,0 @@
SUMMARY = "Granite is a companion library for GTK and GLib."
HOMEPAGE = "https://github.com/elementary/granite"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
DEPENDS = " \
gtk+3 \
glib-2.0 \
libgee \
"
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
SRC_URI = "git://github.com/elementary/granite.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git"
PV = "6.2.0"
SRCREV = "4ab145c28bb3db6372fe519e8bd79c645edfcda3"
inherit meson pkgconfig gobject-introspection vala features_check
FILES:${PN} += "${datadir}"

View File

@ -5,10 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
DEPENDS = " \ DEPENDS = " \
gtk4 \ gtk+3 \
glib-2.0 \ glib-2.0 \
libgee \ libgee \
sassc-native \
" "
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
@ -16,8 +15,8 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
SRC_URI = "git://github.com/elementary/granite.git;protocol=https;nobranch=1" SRC_URI = "git://github.com/elementary/granite.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "7.4.0" PV = "6.2.0"
SRCREV = "949703f8649013695c6d32eb84a6b541ac0da4db" SRCREV = "4ab145c28bb3db6372fe519e8bd79c645edfcda3"
inherit meson pkgconfig gobject-introspection vala features_check inherit meson pkgconfig gobject-introspection vala features_check

View File

@ -20,8 +20,8 @@ SRC_URI = " \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.9.0" PV = "0.8.1"
SRCREV = "984dbbfc1d64c763e15a56dff662af267b551f68" SRCREV = "0ed957ce262c1063a011b16b59cda5c5de4b3b47"
inherit meson pkgconfig features_check gobject-introspection vala inherit meson pkgconfig features_check gobject-introspection vala

View File

@ -20,8 +20,8 @@ SRC_URI = " \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "1.0.4" PV = "1.0.1"
SRCREV = "536ff516ed68b9bb34afc4c07f942a54b2b4b03f" SRCREV = "98c693d0a7ea74620e3cec1115bbc66d33d8b843"
inherit meson pkgconfig features_check gobject-introspection vala inherit meson pkgconfig features_check gobject-introspection vala

View File

@ -1,26 +0,0 @@
SUMMARY = "This is a library to use GTK 3 to build screen lockers using the secure ext-session-lock-v1 protocol"
HOMEPAGE = "https://github.com/Cu3PO42/gtk-session-lock"
LICENSE = "GPL-3.0-only & MIT"
LIC_FILES_CHKSUM = "file://LICENSE_GPL.txt;md5=1ebbd3e34237af26da5dc08a4e440464"
LIC_FILES_CHKSUM += "file://LICENSE_MIT.txt;md5=ffeb3391e5dace600b84c757688b9f1b"
REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection"
DEPENDS = " \
glib-2.0-native \
gtk+3 \
scdoc-native \
wayland \
wayland-native \
wayland-protocols \
"
SRC_URI = "git://github.com/Cu3PO42/gtk-session-lock.git;protocol=https;branch=master"
S = "${WORKDIR}/git"
PV = "0.2.0"
SRCREV = "b3544f361498d716b1ceef1ad6ac9bdf024bf782"
inherit meson pkgconfig features_check gobject-introspection vala

View File

@ -8,9 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
REQUIRED_DISTRO_FEATURES = "wayland pam" REQUIRED_DISTRO_FEATURES = "wayland pam"
DEPENDS = " \ DEPENDS = " \
glib-2.0-native \
gtk+3 \ gtk+3 \
gtk-session-lock \ gtk-layer-shell \
libpam \ libpam \
scdoc-native \ scdoc-native \
wayland \ wayland \
@ -21,8 +20,9 @@ DEPENDS = " \
SRC_URI = "git://github.com/jovanlanik/gtklock.git;protocol=https;branch=master" SRC_URI = "git://github.com/jovanlanik/gtklock.git;protocol=https;branch=master"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "4.0.0" PV = "1.3.0"
SRCREV = "66321fb2bf0d5869d779e7ac6b4d8d9c272ea707" SRCREV = "533799037bab53e47c16f3d7da97efbeb8f4cb0d"
inherit meson pkgconfig features_check inherit autotools-brokensep pkgconfig features_check
EXTRA_OEMAKE += "PREFIX=${prefix}"

View File

@ -15,7 +15,7 @@ SRC_URI = "git://github.com/J-Lentz/iwgtk.git;protocol=https;branch=master"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.9" PV = "0.9"
SRCREV = "9542ea7cb209c6692c83be95e8ab2826f5560289" SRCREV = "008a2a26b6e7d266d190ab85d6c25cf4b8a7bd06"
FILES:${PN} += "${systemd_user_unitdir}/iwgtk.service" FILES:${PN} += "${systemd_user_unitdir}/iwgtk.service"

View File

@ -1,41 +0,0 @@
From db03d3455c9db082c373318c08f2377c03a62e99 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 20 Aug 2024 12:22:55 +0200
Subject: [PATCH] meson.build: allow shared build
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Upstream-Status: Pending
---
meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index a1a2af5..97f43c1 100644
--- a/meson.build
+++ b/meson.build
@@ -3,12 +3,14 @@ project('gvc', 'c',
default_options: ['static=true']
)
-assert(meson.is_subproject(), 'This project is only intended to be used as a subproject!')
+#assert(meson.is_subproject(), 'This project is only intended to be used as a subproject!')
gnome = import('gnome')
pkglibdir = get_option('pkglibdir')
pkgdatadir = get_option('pkgdatadir')
+pkgconfig = import ('pkgconfig')
+
cdata = configuration_data()
cdata.set_quoted('GETTEXT_PACKAGE', get_option('package_name'))
@@ -135,3 +137,5 @@ configure_file(
output: 'config.h',
configuration: cdata
)
+
+pkgconfig.generate(libgvc)
--
2.45.2

View File

@ -1,30 +0,0 @@
SUMMARY = "libgnome-volume-control is a copy library"
HOMEPAGE = "http://www.gimp.org"
SECTION = "graphics"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
DEPENDS = " \
glib-2.0 \
pulseaudio \
"
inherit meson pkgconfig
SRC_URI = " \
git://gitlab.gnome.org/GNOME/libgnome-volume-control.git;protocol=https;branch=master \
file://0001-build-as-package.patch \
"
S = "${WORKDIR}/git"
SRCREV = "5f9768a2eac29c1ed56f1fbb449a77a3523683b6"
do_install:append() {
install -d ${D}${includedir}
install -m 0644 ${B}/libgvc.a ${D}${libdir}
cp -rf ${B}/libgvc.a.p ${D}${libdir}
install -m 0644 ${S}/*.h ${D}${includedir}
install -m 0644 ${B}/*.h ${D}${includedir}
}
FILES:${PN} += "${libdir}/libgvc.a.p"

View File

@ -16,6 +16,6 @@ RDEPENDS:${PN} = " \
inherit setuptools3 inherit setuptools3
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "1.0.2" PV = "1.0.1"
SRCREV = "a4116c840db361890737cb0eb5ebbe378f03e9c1" SRCREV = "b5aaf3ecc0df3809c6b0f07c6b7bf8376f017a5b"

View File

@ -15,6 +15,7 @@ RDEPENDS:${PN} = " \
python3-pillow \ python3-pillow \
python3-pkg-resources \ python3-pkg-resources \
python3-send2trash \ python3-send2trash \
imagemagick \
grim \ grim \
slurp \ slurp \
swaybg \ swaybg \
@ -24,15 +25,23 @@ RDEPENDS:${PN} = " \
inherit setuptools3 inherit setuptools3
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "1.14.1" PV = "1.12.3"
SRCREV = "cab8deb764472c9d727b5a44bfca0ce6e4612c8b" SRCREV = "4952f35141eddf5c64693b2faf25a76a485372bb"
do_install:append() { do_configure:prepend() {
install -d ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications [ -d ${S}/dist ] && mv ${S}/dist ${S}/distrib
install -m 644 ${S}/dist/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/dist/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/dist/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/dist/indicator_attention.png ${D}${datadir}/azote
} }
FILES:${PN} += "${datadir}" do_install:append() {
install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications
install -m 755 ${S}/distrib/azote ${D}${bindir}
install -m 644 ${S}/distrib/azote.desktop ${D}${datadir}/applications
install -m 644 ${S}/distrib/azote.svg ${D}${datadir}/pixmaps
install -m 644 ${S}/distrib/indicator_active.png ${D}${datadir}/azote
install -m 644 ${S}/distrib/indicator_attention.png ${D}${datadir}/azote
}
FILES:${PN}:append = " \
${datadir} \
${bindir} \
"

View File

@ -12,19 +12,19 @@ RDEPENDS:${PN} = "ddcutil"
GO_IMPORT = "github.com/nwg-piotr/ddcpopup.git" GO_IMPORT = "github.com/nwg-piotr/ddcpopup.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https" SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.1" PV = "0.1"
SRCREV = "8fab5132e49e08a1eeaa7a0dd3350d06f4399200" SRCREV = "8fab5132e49e08a1eeaa7a0dd3350d06f4399200"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_compile[network] = "1" do_compile[network] = "1"
do_install:append() { do_install:append() {
mv ${D}${bindir}/main ${D}${bindir}/ddcpopup mv ${D}${bindir}/main ${D}${bindir}/ddcpopup
# remove precompiled x86 binaries
rm -r ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell@*/example
} }

View File

@ -4,16 +4,13 @@ LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=22ed6cb3c33862e689e075b4
GO_IMPORT = "github.com/nwg-piotr/gopsuinfo.git" GO_IMPORT = "github.com/nwg-piotr/gopsuinfo.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};branch=main;protocol=https" SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
PV = "0.1.5" PV = "0.1.5"
SRCREV = "60e4f83b6c4d84955e0a07f7bdc63d8089b4ba1e" SRCREV = "60e4f83b6c4d84955e0a07f7bdc63d8089b4ba1e"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod inherit go go-mod
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_compile[network] = "1" do_compile[network] = "1"

View File

@ -11,16 +11,15 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-bar.git" GO_IMPORT = "github.com/nwg-piotr/nwg-bar.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https" SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.1.6" PV = "0.1.2"
SRCREV = "c4da7d817747ad2f8cfda332d95bd4fc55eb6b34" SRCREV = "c1da3927c7d55c933d321689a5f47539d7ac258d"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_compile[network] = "1" do_compile[network] = "1"
PRIVATE_LIBS:${PN}:append = " libstd.so"

View File

@ -17,8 +17,8 @@ RDEPENDS:${PN} = "\
inherit setuptools3 inherit setuptools3
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.3.23" PV = "0.3.7"
SRCREV = "3a2717b48853534fccc4aedf7ab24bc13be37dcb" SRCREV = "1fa84c1d0ad899f8c7c3154733fdbff228af0d8a"
do_install:append() { do_install:append() {
install -d ${D}${datadir}/pixmaps ${D}${datadir}/applications install -d ${D}${datadir}/pixmaps ${D}${datadir}/applications

View File

@ -10,43 +10,24 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-dock-hyprland.git" GO_IMPORT = "github.com/nwg-piotr/nwg-dock-hyprland.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https" SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.4.3" PV = "0.1.6"
SRCREV = "69423b2fb8cff7a1a6364bec05e4c19eac2ea63e" SRCREV = "dfc3a25492f25daa1891a586ca3abb259debbbbf"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() { do_install:append() {
# remove precompiled x86 binaries # remove precompiled x86 binaries
rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/bin
rm -rf ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example rm -rf ${D}${libdir}/go/pkg/mod/github.com/dlasky/gotk3-layershell*/example
install -d ${D}${datadir}/nwg-dock-hyprland ${D}${systemd_user_unitdir} install -d ${D}${datadir}/nwg-dock-hyprland
install -m 0644 ${S}/src/${GO_IMPORT}/config/style.css ${D}${datadir}/nwg-dock-hyprland install -m 0644 ${S}/src/${GO_IMPORT}/config/style.css ${D}${datadir}/nwg-dock-hyprland
cp -rf ${S}/src/${GO_IMPORT}/images ${D}${datadir}/nwg-dock-hyprland cp -rf ${S}/src/${GO_IMPORT}/images ${D}${datadir}/nwg-dock-hyprland
cat >${D}${systemd_user_unitdir}/nwg-dock-hyprland.service <<EOF
[Unit]
Description=Nwg Dock Hyprland - gtk3 based dock for Hyprland, written in go
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY
[Service]
ExecStart=nwg-dock-hyprland -d -hd 2000
Slice=session.slice
TimeoutStopSec=5sec
Restart=on-failure
[Install]
WantedBy=graphical-session.target
EOF
} }
do_compile[network] = "1" do_compile[network] = "1"
FILES:${PN} += "${systemd_user_unitdir}" PRIVATE_LIBS:${PN}:append = " libstd.so"

View File

@ -10,17 +10,14 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-dock.git" GO_IMPORT = "github.com/nwg-piotr/nwg-dock.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https" SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.4.1" PV = "0.3.7"
SRCREV = "3f010171ab8596552efdc2f03d5f09c0042bbb64" SRCREV = "8a06a482b204740c8635c394ade5ce252bf9b9b6"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() { do_install:append() {
# remove precompiled x86 binaries # remove precompiled x86 binaries
@ -29,3 +26,5 @@ do_install:append() {
} }
do_compile[network] = "1" do_compile[network] = "1"
PRIVATE_LIBS:${PN}:append = " libstd.so"

View File

@ -11,17 +11,14 @@ RDEPENDS:${PN} = "go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-drawer.git" GO_IMPORT = "github.com/nwg-piotr/nwg-drawer.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https" SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.6.3" PV = "0.3.9"
SRCREV = "d1be3de9d7a4ae2a26415aa3c628e8ba6ac7d676" SRCREV = "fd26bb39e8452da9b4482751a8a78f706cb1f883"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() { do_install:append() {
# remove precompiled x86 binary # remove precompiled x86 binary
@ -30,3 +27,5 @@ do_install:append() {
} }
do_compile[network] = "1" do_compile[network] = "1"
PRIVATE_LIBS:${PN}:append = " libstd.so"

View File

@ -1,36 +0,0 @@
SUMMARY = "nwg-hello is a GTK3-based greeter for the greetd daemon, written in python."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b0ad99c75f37a759e329c5da4c8a7fcb"
SRC_URI = "git://github.com/nwg-piotr/nwg-hello.git;protocol=https;branch=main"
RDEPENDS:${PN} = " \
python3 \
greetd \
gtk+3 \
gtk-layer-shell \
"
RRECOMMENDS:${PN} = "gnome-themes-extra"
inherit setuptools3 useradd
S = "${WORKDIR}/git"
PV = "0.2.0"
SRCREV = "aa6a9e4a9024dba8ebaa98af53df82b3c19d379a"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system --no-create-home --shell /bin/bash greeter"
do_install:append() {
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ nwg-hello-default.json
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ nwg-hello-default.css
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ hyprland.conf
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ sway-config
install -D -m 644 -t ${D}${sysconfdir}/nwg-hello/ README
install -D -m 644 -t ${D}${datadir}/nwg-hello/ nwg.jpg
install -D -m 644 -t ${D}${datadir}/nwg-hello/ img/*
install -d ${D}${localstatedir}/nwg-hello
install -D -m 644 -t ${D}${localstatedir}/nwg-hello cache.json -o greeter
}

View File

@ -1,24 +1,20 @@
SUMMARY = "Nwg-look is a GTK3 settings editor, designed to work properly in wlroots-based Wayland environment." SUMMARY = "Nwg-look is a GTK3 settings editor, designed to work properly in wlroots-based Wayland environment."
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1fca41e83d55632fc67a83ba612de118" LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=2e53cad864b84be468b2fc0b511942ce"
DEPENDS = "xcur2png gtk+3" DEPENDS = "xcur2png gtk+3"
RDEPENDS:${PN} = "xcur2png go-runtime" RDEPENDS:${PN} = "xcur2png go-runtime"
GO_IMPORT = "github.com/nwg-piotr/nwg-look" GO_IMPORT = "github.com/nwg-piotr/nwg-look"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};branch=main;protocol=https" SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
SRCREV = "986439c5367eea41d24952e55684efc8899d8809" SRCREV = "46502054da8ebbe629858e8eaa6e2d683d00ca79"
PV = "1.0.2" PV = "0.2.3"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig gtk-icon-cache inherit go go-mod pkgconfig gtk-icon-cache
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() { do_install:append() {
install -d ${D}${datadir}/nwg-look/langs ${D}${datadir}/applications ${D}${datadir}/pixmaps install -d ${D}${datadir}/nwg-look/langs ${D}${datadir}/applications ${D}${datadir}/pixmaps
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/main.glade ${D}${datadir}/nwg-look install -m 0644 ${S}/src/${GO_IMPORT}/stuff/main.glade ${D}${datadir}/nwg-look
@ -31,3 +27,4 @@ FILES:${PN} += "${datadir}"
do_compile[network] = "1" do_compile[network] = "1"
PRIVATE_LIBS:${PN}:append = " libstd.so"

View File

@ -10,22 +10,20 @@ DEPENDS = " \
" "
RRECOMMENDS:${PN} = " \ RRECOMMENDS:${PN} = " \
thunar \
foot \ foot \
" "
GO_IMPORT = "github.com/nwg-piotr/nwg-menu.git" GO_IMPORT = "github.com/nwg-piotr/nwg-menu.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https" SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.1.7" PV = "0.1.1"
SRCREV = "5806a1bb8b916478a5b25aec2a0c3cdcb071de0b" SRCREV = "b76362d971490cb8279b40d9c2d543c5e69232ef"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig inherit go go-mod pkgconfig
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() { do_install:append() {
# remove precompiled x86 binary # remove precompiled x86 binary

View File

@ -1,6 +1,6 @@
SUMMARY = "GTK3-based panel for wayland." SUMMARY = "GTK3-based panel for wayland."
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=da62111cfafe45015704951c9d602bb2" LIC_FILES_CHKSUM = "file://LICENSE;md5=dcdbccfd08fcfd7002d16ca7fa5ad5cb"
SRC_URI = " \ SRC_URI = " \
git://github.com/nwg-piotr/nwg-panel.git;protocol=https;branch=master \ git://github.com/nwg-piotr/nwg-panel.git;protocol=https;branch=master \
@ -20,6 +20,6 @@ RDEPENDS:${PN} = "\
inherit setuptools3 inherit setuptools3
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.9.63" PV = "0.9.12"
SRCREV = "5a1ebef0e0d109facf1a29b49c4c4667e37d64be" SRCREV = "d5e25d2b229037519fe18f9d38ccd91f5824bcbf"

View File

@ -17,6 +17,6 @@ RDEPENDS:${PN} = "\
inherit setuptools3 inherit setuptools3
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.5.58" PV = "0.5.18"
SRCREV = "145bee8aa853331c63b12c7e486cce72973b7f30" SRCREV = "1a3aa395263dca131a8c65293ca5131efc10109a"

View File

@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=65d3616852dbf7b1a6d4b53b00626032"
SRC_URI = "git://github.com/nwg-piotr/nwg-shell-wallpapers.git;protocol=https;nobranch=1" SRC_URI = "git://github.com/nwg-piotr/nwg-shell-wallpapers.git;protocol=https;nobranch=1"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "1.5" PV = "1.2"
SRCREV = "a20ad99467e9d1a9427efd5dccfd58d440db96c2" SRCREV = "dfe38ac5af580900f70861f7e7eb8c0074548d09"
do_install() { do_install() {
install -d ${D}${datadir}/backgrounds/sway install -d ${D}${datadir}/backgrounds/sway

View File

@ -13,17 +13,14 @@ RRECOMMENDS:${PN} = " \
GO_IMPORT = "github.com/nwg-piotr/nwgocc.git" GO_IMPORT = "github.com/nwg-piotr/nwgocc.git"
SRC_URI = "git://${GO_IMPORT};destsuffix=src/${GO_IMPORT};nobranch=1;protocol=https" SRC_URI = "git://${GO_IMPORT};nobranch=1;protocol=https"
PV = "0.0.1" PV = "0.0.1"
SRCREV = "782a37014de40f63115825c0b5bd343dee2ba668" SRCREV = "782a37014de40f63115825c0b5bd343dee2ba668"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
inherit go go-mod pkgconfig gtk-icon-cache inherit go go-mod pkgconfig gtk-icon-cache
GO_INSTALL = "${GO_IMPORT}" GO_INSTALL = "${GO_IMPORT}"
GO_LINKSHARED = ""
do_install:append() { do_install:append() {
install -d \ install -d \

View File

@ -1,76 +0,0 @@
From da96ea97125c7486eb3604844ef453d2b8b2442c Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Tue, 20 Aug 2024 12:41:01 +0200
Subject: [PATCH] meson: build without subproject wrap
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Upstream-Status: Pending
---
meson.build | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/meson.build b/meson.build
index d3c2c10a..0964f9ba 100644
--- a/meson.build
+++ b/meson.build
@@ -147,13 +147,13 @@ gsettings_desktop_schemas_dep = dependency('gsettings-desktop-schemas', version:
gtk_dep = dependency('gtk+-3.0', version: '>=3.22')
gtk_wayland_dep = dependency('gtk+-wayland-3.0', version: '>=3.22')
gudev_dep = dependency('gudev-1.0')
-libcall_ui = subproject('libcall-ui',
- default_options: [
- 'examples=false',
- 'gtk_doc=false',
- 'tests=false',
- 'install-i18n=@0@'.format(get_option('callui-i18n')),
- ])
+#libcall_ui = subproject('libcall-ui',
+# default_options: [
+# 'examples=false',
+# 'gtk_doc=false',
+# 'tests=false',
+# 'install-i18n=@0@'.format(get_option('callui-i18n')),
+# ])
libfeedback_dep = dependency('libfeedback-0.0',
version: '>= 0.4.0',
fallback: ['libfeedback', 'libfeedback_dep'],
@@ -163,23 +163,23 @@ libfeedback_dep = dependency('libfeedback-0.0',
'gtk_doc=false',
'tests=false'],
)
-libgvc = subproject('gvc',
- default_options: [
- 'package_name=' + meson.project_name(),
- 'package_version=' + meson.project_version(),
- 'pkgdatadir=' + pkgdatadir,
- 'pkglibdir=' + pkglibdir,
- 'static=true',
- 'introspection=false',
- 'alsa=false'
- ])
-libgvc_dep = libgvc.get_variable('libgvc_dep')
+#libgvc = subproject('gvc',
+# default_options: [
+# 'package_name=' + meson.project_name(),
+# 'package_version=' + meson.project_version(),
+# 'pkgdatadir=' + pkgdatadir,
+# 'pkglibdir=' + pkglibdir,
+# 'static=true',
+# 'introspection=false',
+# 'alsa=false'
+# ])
+libgvc_dep = dependency('gvc')
libhandy_dep = dependency('libhandy-1',
version: '>=1.1.90',
fallback: ['libhandy', 'libhandy_dep'],
default_options: ['introspection=disabled']
)
-libcall_ui_dep = libcall_ui.get_variable('libcall_ui_dep')
+libcall_ui_dep = dependency('call-ui')
libnm_dep = dependency('libnm', version: '>= 1.14')
libpolkit_agent_dep = dependency('polkit-agent-1', version: '>= 0.122')
libsoup_dep = dependency('libsoup-3.0', version: '>= 3.6')
--
2.47.1

View File

@ -0,0 +1,6 @@
#%PAM-1.0
auth required pam_unix.so
account required pam_unix.so
password required pam_unix.so
session required pam_unix.so

View File

@ -6,25 +6,25 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
REQUIRED_DISTRO_FEATURES = "wayland polkit pam pulseaudio" REQUIRED_DISTRO_FEATURES = "wayland polkit pam pulseaudio"
DEPENDS = " \ DEPENDS = " \
libcall-ui \ callaudiod \
evolution-data-server \
evince \ evince \
evolution-data-server \
feedbackd \ feedbackd \
fribidi \ fribidi \
gcr \
git-native \
glib-2.0 \ glib-2.0 \
gmobile \
gnome-bluetooth \
gnome-desktop \ gnome-desktop \
gtk+3 \ gtk4 \
gcr3 \ libadwaita \
libgudev \ libgudev \
libhandy \ libhandy \
libgnome-volume-control \ libpam \
libsecret \ libsecret \
libxml2 \
networkmanager \ networkmanager \
polkit \ polkit \
pulseaudio \ pulseaudio \
libsoup \
upower \ upower \
wayland \ wayland \
wayland-native \ wayland-native \
@ -32,34 +32,39 @@ DEPENDS = " \
" "
RDEPENDS:${PN} = " \ RDEPENDS:${PN} = " \
polkit-gnome \ gnome-control-center \
gnome-session \
gnome-settings-daemon \
gsettings-desktop-schemas \ gsettings-desktop-schemas \
phoc \ phoc \
squeekboard \
gnome-desktop \
gnome-session \
wl-clipboard \
calls \
" "
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
PACKAGECONFIG[phoc_tests] = "-Dphoc_tests=enabled,-Dphoc_tests=disabled"
PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false" PACKAGECONFIG[tools] = "-Dtools=true,-Dtools=false"
# install systemd service files ?
PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false"
PACKAGECONFIG ?= "" PACKAGECONFIG ?= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
tools \
"
inherit features_check gsettings meson pkgconfig gtk-icon-cache gobject-introspection gi-docgen inherit features_check gsettings meson pkgconfig gtk-icon-cache
SRC_URI = " \ SRC_URI = " \
git://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \ gitsm://gitlab.gnome.org/World/Phosh/phosh.git;protocol=https;nobranch=1 \
file://0001-meson-build-without-subproject-wrap.patch \ file://phosh.pam \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
PV = "0.45.0" PV = "0.31.0"
SRCREV = "2ac03f70f8d42b729def38e282f5b600286655fb" SRCREV = "8ecfd6831b7e4b610b064e2183e0498141c69939"
EXTRA_OEMESON += "--buildtype=release" EXTRA_OEMESON += "--buildtype=release"
do_install:append() {
install -Dm 644 ${WORKDIR}/phosh.pam ${D}${sysconfdir}/pam.d/phosh
}
FILES:${PN} += "${datadir} ${libdir}" FILES:${PN} += "${datadir} ${libdir}"

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