From 1525837f407ffd338515ca42a0f349df824e74c0 Mon Sep 17 00:00:00 2001 From: Adrian Ratiu Date: Fri, 8 Mar 2024 11:46:19 +0100 Subject: [PATCH 01/12] dev-libs/libtypec: new package, add 0.5 thesamesam suggested on github [1] we add this ebuild to GURU first, to get more testing before we eventually add it to the main repo. I'm in the process of upstreaming the 3 patches added in this ebuild [2]. [1] https://github.com/gentoo/gentoo/pull/35666 [2] https://github.com/Rajaram-Regupathy/libtypec/pull/32 Closes: https://bugs.gentoo.org/910433 Signed-off-by: Adrian Ratiu --- dev-libs/libtypec/Manifest | 1 + ...Lists.txt-fix-pkgconfig-install-path.patch | 26 +++++++++ ...ps-define-feature-test-macro-for-nft.patch | 45 +++++++++++++++ ...0-sysfs_ops-fix-nftw-fun-pointer-def.patch | 55 +++++++++++++++++++ dev-libs/libtypec/libtypec-0.5.0.ebuild | 30 ++++++++++ dev-libs/libtypec/metadata.xml | 15 +++++ 6 files changed, 172 insertions(+) create mode 100644 dev-libs/libtypec/Manifest create mode 100644 dev-libs/libtypec/files/libtypec-0.5.0-CMakeLists.txt-fix-pkgconfig-install-path.patch create mode 100644 dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-define-feature-test-macro-for-nft.patch create mode 100644 dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-fix-nftw-fun-pointer-def.patch create mode 100644 dev-libs/libtypec/libtypec-0.5.0.ebuild create mode 100644 dev-libs/libtypec/metadata.xml diff --git a/dev-libs/libtypec/Manifest b/dev-libs/libtypec/Manifest new file mode 100644 index 0000000000..3e3836b094 --- /dev/null +++ b/dev-libs/libtypec/Manifest @@ -0,0 +1 @@ +DIST libtypec-0.5.0-Source.tar.gz 41621 BLAKE2B 09b7e592b4e52f5b6f568675335dc2366902fa8e2d67c5f1c6d2895345d4f4e2e880fc5336ae849133da7794ab457c7cd2dd31111655a68247a15b45d1a6fca6 SHA512 a5f404400f6a08f67f026bbc115fa2278586a0c6b8e9f3766162967d43c111e8985563692a1648efb3a3d3a4cd5047dd903f8733d72a40a175c7bb6be130dcb3 diff --git a/dev-libs/libtypec/files/libtypec-0.5.0-CMakeLists.txt-fix-pkgconfig-install-path.patch b/dev-libs/libtypec/files/libtypec-0.5.0-CMakeLists.txt-fix-pkgconfig-install-path.patch new file mode 100644 index 0000000000..7412d6a537 --- /dev/null +++ b/dev-libs/libtypec/files/libtypec-0.5.0-CMakeLists.txt-fix-pkgconfig-install-path.patch @@ -0,0 +1,26 @@ +From 8614051a1ff9856c3de932045dc149e758c2b0b1 Mon Sep 17 00:00:00 2001 +From: Adrian Ratiu +Date: Fri, 12 Apr 2024 17:08:09 +0300 +Subject: [PATCH] CMakeLists.txt: fix pkgconfig install path + +pkgconfig pc files need to go under libdir instead of datadir. + +Suggested-by: Sam James +Upstream-Status: In-Progress [https://github.com/Rajaram-Regupathy/libtypec/pull/32] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9d533ab..aecf4e5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -59,4 +59,4 @@ configure_file( + ) + + install(FILES ${CMAKE_BINARY_DIR}/libtypec.pc +- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig) ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) +-- +2.43.2 + diff --git a/dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-define-feature-test-macro-for-nft.patch b/dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-define-feature-test-macro-for-nft.patch new file mode 100644 index 0000000000..ea83dcf7d1 --- /dev/null +++ b/dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-define-feature-test-macro-for-nft.patch @@ -0,0 +1,45 @@ +From f1ecf54f8190351b6b1c2f163375405c4b238f64 Mon Sep 17 00:00:00 2001 +From: Adrian Ratiu +Date: Fri, 12 Apr 2024 17:42:38 +0300 +Subject: [PATCH] libtypec_sysfs_ops: define feature test macro for nftw +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +According to the man page [1], the definiton of nftw() is +hidden behind the _XOPEN_SOURCE 500 feature test, so we +must enable it to avoid warnings or errors (if the toolchain +is configured to treat them as errors) like this: + +/var/tmp/portage/dev-libs/libtypec-0.5.0/work/libtypec-0.5.0-Source/libtypec_sysfs_ops.c:1059:13: +warning: implicit declaration of function ‘nftw’; did you mean ‘ftw’? +[-Wimplicit-function-declaration] + 1059 | if (nftw ("/dev/bus/usb/", count_billbrd_if, fd_limit, 0) != 0) + | ^~~~ + | ftw + +[1] https://linux.die.net/man/3/nftw +Upstream-Status: In-Progress [https://github.com/Rajaram-Regupathy/libtypec/pull/32] +--- + libtypec_sysfs_ops.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/libtypec_sysfs_ops.c b/libtypec_sysfs_ops.c +index 747b562..bfb5246 100644 +--- a/libtypec_sysfs_ops.c ++++ b/libtypec_sysfs_ops.c +@@ -29,6 +29,11 @@ SOFTWARE. + * @brief Functions for libtypec sysfs based operations + */ + ++/** ++ * required for enalbing nftw(), which is part of SUSv1. ++ */ ++#define _XOPEN_SOURCE 500 ++ + #include "libtypec_ops.h" + #include + #include +-- +2.43.2 + diff --git a/dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-fix-nftw-fun-pointer-def.patch b/dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-fix-nftw-fun-pointer-def.patch new file mode 100644 index 0000000000..01ed6d674a --- /dev/null +++ b/dev-libs/libtypec/files/libtypec-0.5.0-sysfs_ops-fix-nftw-fun-pointer-def.patch @@ -0,0 +1,55 @@ +From d11cd006700bada6ac09da4d58794474018650e4 Mon Sep 17 00:00:00 2001 +From: Adrian Ratiu +Date: Fri, 12 Apr 2024 18:36:15 +0300 +Subject: [PATCH] libtypec_sysfs_ops: fix nftw() fun pointer def +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +According to the __ntfw_func_t definiton [1], and ftw +documentation [2], ntfw() is being passed a wrong fun +argument, which is expected for the deprecated ftw(), +not for ntfw(). + +This got hidden by the fact that _XOPEN_SOURCE >= 500 +feature flag was disabled, so the C compilers just +issued an implicit declaration warning/error. + +Example: + +/var/tmp/portage/dev-libs/libtypec-0.5.0/work/libtypec-0.5.0-Source/libtypec_sysfs_ops.c:1064:36: +warning: passing argument 2 of ‘nftw’ from incompatible pointer type +[-Wincompatible-pointer-types] + 1064 | if (nftw ("/dev/bus/usb/", count_billbrd_if, fd_limit, 0) != 0) + | ^~~~~~~~~~~~~~~~ + | | + | int (*)(const char *, const struct stat *, int) +In file included from /var/tmp/portage/dev-libs/libtypec-0.5.0/work/libtypec-0.5.0-Source/libtypec_sysfs_ops.c:48: +/usr/include/ftw.h:179:51: note: expected ‘__nftw_func_t’ {aka ‘int (*)(const char *, const struct stat *, int, struct FTW *)’} but argument is of type ‘int (*)(const char *, const struct stat *, int)’ + 179 | extern int nftw (const char *__dir, __nftw_func_t __func, int __descriptors, + | ~~~~~~~~~~~~~~^~~~~~ + +[1] +https://www.gnu.org/software/libc/manual/html_node/Working-with-Directory-Trees.html#index-_005f_005fnftw_005ffunc_005ft +[2] https://man7.org/linux/man-pages/man3/ftw.3.html +Upstream-Status: In-Progress [https://github.com/Rajaram-Regupathy/libtypec/pull/32] +--- + libtypec_sysfs_ops.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libtypec_sysfs_ops.c b/libtypec_sysfs_ops.c +index bfb5246..e496e5f 100644 +--- a/libtypec_sysfs_ops.c ++++ b/libtypec_sysfs_ops.c +@@ -476,7 +476,7 @@ static unsigned int get_fixed_supply_pdo(char *path, int src_snk) + + } + +-static int count_billbrd_if(const char *usb_path, const struct stat *sb, int typeflag) ++static int count_billbrd_if(const char *usb_path, const struct stat *sb, int typeflag, struct FTW *ftw) + { + FILE *fd; + +-- +2.43.2 + diff --git a/dev-libs/libtypec/libtypec-0.5.0.ebuild b/dev-libs/libtypec/libtypec-0.5.0.ebuild new file mode 100644 index 0000000000..02697c52d9 --- /dev/null +++ b/dev-libs/libtypec/libtypec-0.5.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library to interface with USB Type-c/Power Delivery devices" +HOMEPAGE="https://github.com/Rajaram-Regupathy/libtypec" +SRC_URI="https://github.com/Rajaram-Regupathy/libtypec/releases/download/${P}/${P}-Source.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/${P}-Source" + +PATCHES=( + "${FILESDIR}/${PN}-0.5.0-CMakeLists.txt-fix-pkgconfig-install-path.patch" + "${FILESDIR}/${PN}-0.5.0-sysfs_ops-define-feature-test-macro-for-nft.patch" + "${FILESDIR}/${PN}-0.5.0-sysfs_ops-fix-nftw-fun-pointer-def.patch" +) + +src_configure() { + # don't force CFLAGS to allow Gentoo toolchain to set them + local mycmakeargs=( + -DLIBTYPEC_STRICT_CFLAGS=OFF + ) + cmake_src_configure +} diff --git a/dev-libs/libtypec/metadata.xml b/dev-libs/libtypec/metadata.xml new file mode 100644 index 0000000000..67b3cc5f8c --- /dev/null +++ b/dev-libs/libtypec/metadata.xml @@ -0,0 +1,15 @@ + + + + + “libtypec” is aimed to provide a generic interface abstracting all + platform complexity for user space to develop tools for efficient + USB-C port management. The library can also enable development of + diagnostic and debug tools to debug system issues around USB-C/USB + PD topology. + + + + Rajaram-Regupathy/libtypec + + From 06c7e828b21868e0cd354ded91ec5e568dc868b4 Mon Sep 17 00:00:00 2001 From: Henri Gasc Date: Fri, 12 Apr 2024 19:13:59 +0200 Subject: [PATCH 02/12] app-editors/imhex: Remove Werror, scrub patches Closes: https://bugs.gentoo.org/921663 Signed-off-by: Henri Gasc --- app-editors/imhex/files/remove_Werror.patch | 24 +++++++++++++++++++ app-editors/imhex/files/remove_dotnet.patch | 12 +++++----- ...x-1.33.2.ebuild => imhex-1.33.2-r1.ebuild} | 2 ++ 3 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 app-editors/imhex/files/remove_Werror.patch rename app-editors/imhex/{imhex-1.33.2.ebuild => imhex-1.33.2-r1.ebuild} (97%) diff --git a/app-editors/imhex/files/remove_Werror.patch b/app-editors/imhex/files/remove_Werror.patch new file mode 100644 index 0000000000..1a35f9e924 --- /dev/null +++ b/app-editors/imhex/files/remove_Werror.patch @@ -0,0 +1,24 @@ +Remove the different Werror flags we can find used +Should fix https://bugs.gentoo.org/921663 +--- a/lib/external/pattern_language/cli/CMakeLists.txt ++++ b/lib/external/pattern_language/cli/CMakeLists.txt +@@ -29,7 +29,7 @@ else() + find_package(CLI11 CONFIG QUIET) + endif() + +-target_compile_options(plcli PRIVATE -Wall -Wextra -Werror -Wno-unknown-pragmas -Wno-array-bounds) ++target_compile_options(plcli PRIVATE -Wall -Wextra -Wno-unknown-pragmas -Wno-array-bounds) + target_include_directories(plcli PUBLIC include ${CLI11_INCLUDE_DIRS}) + target_link_libraries(plcli PRIVATE ${CLI11_LIBRARIES} ${NLOHMANN_JSON_LIBRARIES} libpl libpl-gen ${FMT_LIBRARIES}) + +--- a/lib/external/pattern_language/lib/CMakeLists.txt ++++ b/lib/external/pattern_language/lib/CMakeLists.txt +@@ -86,7 +86,7 @@ if (LIBPL_ENABLE_PRECOMPILED_HEADERS) + endif () + + if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") +- target_compile_options(libpl PRIVATE -Wall -Wextra -Werror -Wpedantic -Wno-unknown-pragmas -Wno-array-bounds) ++ target_compile_options(libpl PRIVATE -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-array-bounds) + if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") + target_compile_options(libpl PRIVATE -Wno-stringop-overflow) + endif() diff --git a/app-editors/imhex/files/remove_dotnet.patch b/app-editors/imhex/files/remove_dotnet.patch index 30ab50f642..88d5c9700d 100644 --- a/app-editors/imhex/files/remove_dotnet.patch +++ b/app-editors/imhex/files/remove_dotnet.patch @@ -1,14 +1,14 @@ -diff --git a/plugins/script_loader/CMakeLists.txt b/plugins/script_loader/CMakeLists.txt -index af0f6c79..cddc0e14 100644 +Remove the compilation step that needs dotnet +https://bugs.gentoo.org/926761 --- a/plugins/script_loader/CMakeLists.txt +++ b/plugins/script_loader/CMakeLists.txt -@@ -46,7 +46,4 @@ if (CoreClrEmbed_FOUND) +@@ -45,8 +45,4 @@ if (CoreClrEmbed_FOUND) + if (IMHEX_BUNDLE_DOTNET) install(FILES ${CoreClrEmbed_SHARED_LIBRARIES} DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif () - +- - add_subdirectory(dotnet) - add_dependencies(script_loader AssemblyLoader) - --endif () + endif () \ No newline at end of file -+endif () diff --git a/app-editors/imhex/imhex-1.33.2.ebuild b/app-editors/imhex/imhex-1.33.2-r1.ebuild similarity index 97% rename from app-editors/imhex/imhex-1.33.2.ebuild rename to app-editors/imhex/imhex-1.33.2-r1.ebuild index 046b7d8933..93f9baee0e 100644 --- a/app-editors/imhex/imhex-1.33.2.ebuild +++ b/app-editors/imhex/imhex-1.33.2-r1.ebuild @@ -25,6 +25,8 @@ PATCHES=( # will use it at some point and try to access internet. # Because it did not cause any issue, we can disable it "${FILESDIR}/remove_dotnet.patch" + # Remove the different -Werror flags + "${FILESDIR}/remove_Werror.patch" ) DEPEND=" From f79bca30e8e5f624f8316de053deac5d95d0be98 Mon Sep 17 00:00:00 2001 From: Steffen Winter Date: Fri, 12 Apr 2024 20:17:46 +0200 Subject: [PATCH 03/12] media-fonts/firacode-nerdfont: add 3.2.1 Signed-off-by: Steffen Winter --- media-fonts/firacode-nerdfont/Manifest | 1 + .../firacode-nerdfont-3.2.1.ebuild | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 media-fonts/firacode-nerdfont/firacode-nerdfont-3.2.1.ebuild diff --git a/media-fonts/firacode-nerdfont/Manifest b/media-fonts/firacode-nerdfont/Manifest index 28cbf41756..22865a6051 100644 --- a/media-fonts/firacode-nerdfont/Manifest +++ b/media-fonts/firacode-nerdfont/Manifest @@ -1,3 +1,4 @@ DIST firacode-nerdfont-2.2.2.zip 17241908 BLAKE2B 9f8ada87945ff10d9eced99369f7c6d469f9eaf2192490623a93b2397fe5b6ee3f0df6923b59eb87e92789840a205adf53c6278e526dbeeb25d0a6d307a07b18 SHA512 ab284afb20cc535d24d4bc0c3aa181547ac0ab7afb5c09c931699a8690a3813024194c123b99c526269897c256b5d8f078075bcf20bc9120a64206a2728236b3 DIST firacode-nerdfont-3.1.1.gh.tar.xz 2268044 BLAKE2B 34357792d6ca682eed0a70ffe7d7dc95a74ef7bdbb44ab6067f0bfe0fcff90d7517008bb043097ec389aca5875a18040b6472b29259baf5c2cf2e01c6ec6b8b9 SHA512 f2fe9eb51e02638ac1fde9bcf6f33914c43fb83ab7027ff1331fe5d98dd0b07aeac027af61f7731a13521db5600eb0fceb56b10d91419f8e30aa8120641d949c DIST firacode-nerdfont-3.2.0.gh.tar.xz 2574264 BLAKE2B 348ce92ec571075da1c1974af687c6c6610f282c3e2ea190204f29645a1bf82631d86966e0c404d0fcfe38275406ec24be0feb654406415b2da860f08ed1e70b SHA512 9a6e3d2ef1924bd13e5f7bdf343d882b74e3fda01ad122f74bbc57c4d45dcbfb1b670229bdb6be7b08e769e43ff7ac030777cc822a2b70756eb8584a726a3080 +DIST firacode-nerdfont-3.2.1.gh.tar.xz 2584452 BLAKE2B 15e1ea912533ebf2f993e5b7f5cf27c78d7cb3600cb5ff4f89457e683eb98e8a97562369b66debacd216ee88b2547bdbc66fbcce714e54d2c013227522871dfb SHA512 b8261cf2df5a9195fa106e3d17d91499a7099762e6d2c013e1ac292388a639e96268e289319964b7da5d68a873fe460f44002c246bed560f6a97dcd853511831 diff --git a/media-fonts/firacode-nerdfont/firacode-nerdfont-3.2.1.ebuild b/media-fonts/firacode-nerdfont/firacode-nerdfont-3.2.1.ebuild new file mode 100644 index 0000000000..c37887eedf --- /dev/null +++ b/media-fonts/firacode-nerdfont/firacode-nerdfont-3.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font + +DESCRIPTION="A free and open-source typeface for developers" +HOMEPAGE="https://github.com/ryanoasis/nerd-fonts" +SRC_URI="https://github.com/ryanoasis/nerd-fonts/releases/download/v${PV}/FiraCode.tar.xz -> ${P}.gh.tar.xz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" +FONT_SUFFIX="ttf" + +pkg_postinst() { + ewarn "Upstream has recently made some major changes since version 3.0.0." + ewarn "The older Material Design Icon codepoints have been dropped." + ewarn "See issue 1059, comment 1404891287 at upstream for a translation table." + ewarn "More information can be found here:" + ewarn "https://github.com/ryanoasis/nerd-fonts/tree/v3.0.0" +} From 10b56b40be408aea8cddb9f20514c57cfec7a046 Mon Sep 17 00:00:00 2001 From: Steffen Winter Date: Fri, 12 Apr 2024 20:17:57 +0200 Subject: [PATCH 04/12] media-fonts/iosevka-nerdfont: add 3.2.1 Signed-off-by: Steffen Winter --- media-fonts/iosevka-nerdfont/Manifest | 1 + .../iosevka-nerdfont-3.2.1.ebuild | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 media-fonts/iosevka-nerdfont/iosevka-nerdfont-3.2.1.ebuild diff --git a/media-fonts/iosevka-nerdfont/Manifest b/media-fonts/iosevka-nerdfont/Manifest index 277ec9c1fc..7e31bb610a 100644 --- a/media-fonts/iosevka-nerdfont/Manifest +++ b/media-fonts/iosevka-nerdfont/Manifest @@ -2,3 +2,4 @@ DIST iosevka-nerdfont-2.2.2.zip 486465366 BLAKE2B 04fe963c0e2c4bc076854c1b6d7382 DIST iosevka-nerdfont-2.3.3.zip 684962518 BLAKE2B d374f91e1253e29e682ea9199a049d1b95ad51749e26a03b312b3bc64b53f43f1dd998fbfcb22e71f67782eec1ee92c0242da0cf3deca33d7bcee258afe0bfdd SHA512 48096d703a25bd9e38df66ee4fbee1a289564ef30a2eb29236c24fb669074df82d95f68b6e0b18e74ef64682cc1cfa4903f943c6dd81534371bb45ae5edcef26 DIST iosevka-nerdfont-3.1.1.gh.tar.xz 28736280 BLAKE2B 9e508af61d0b0ec8b9a495fc19c85909937967eb754ab6a9c62dd6e8eb8c2cbcd2c616c4ee64737723d593cec75bcc51d0a1c585ea7029f445d2847ea4c9eaf8 SHA512 faf27db7c24538c08dad36bea3d71a7925e8f7a4a78c965fce421b8554c2f8bf6352361c096c6cfd9f587e9455855d3cf17f51fc8084d4ed5d6bec050167cd53 DIST iosevka-nerdfont-3.2.0.gh.tar.xz 78279356 BLAKE2B 837cc767cd2a54f23ab0d8bd68daea9e0e0ad231bd6408c48d97dcbd9bdf18839d2d70011be8bb5051433df8c2d108275f416692de50048cd86b8a7651b958aa SHA512 317a572c80abcfc5fff52fb9cdf683e9ac271d8b53ce46889b9cca2dd2645cdbadc6799e01a0fc6909429f3331ae9f1fea60fb79cae4139cf2ee64622fb14f20 +DIST iosevka-nerdfont-3.2.1.gh.tar.xz 78246752 BLAKE2B d8548a37ee5bdc14943aa2ff9c379f17acbf3cb5a57e8807090ab8bf78fe3e620fb89c08bf551b7f86a5af3b2fe29a157893231eba4f04a83105e3b95214eb47 SHA512 85da3eb688d0209f341ed20d1918509729171bfe0a11cf1408a3401e77bb855273c7c176583dc4f1a407ce52830af767b2511a495574ac8abae9453c80d2e864 diff --git a/media-fonts/iosevka-nerdfont/iosevka-nerdfont-3.2.1.ebuild b/media-fonts/iosevka-nerdfont/iosevka-nerdfont-3.2.1.ebuild new file mode 100644 index 0000000000..12450eb3d9 --- /dev/null +++ b/media-fonts/iosevka-nerdfont/iosevka-nerdfont-3.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font + +DESCRIPTION="A free and open-source typeface for developers" +HOMEPAGE="https://github.com/ryanoasis/nerd-fonts" +SRC_URI="https://github.com/ryanoasis/nerd-fonts/releases/download/v${PV}/Iosevka.tar.xz -> ${P}.gh.tar.xz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" +FONT_SUFFIX="ttf" + +pkg_postinst() { + ewarn "Upstream has recently made some major changes since version 3.0.0." + ewarn "The older Material Design Icon codepoints have been dropped." + ewarn "See issue 1059, comment 1404891287 at upstream for a translation table." + ewarn "More information can be found here:" + ewarn "https://github.com/ryanoasis/nerd-fonts/tree/v3.0.0" +} From 873b6f512fa8b3cdb79b42a97975a0fd6b3c1521 Mon Sep 17 00:00:00 2001 From: Steffen Winter Date: Fri, 12 Apr 2024 20:17:59 +0200 Subject: [PATCH 05/12] media-fonts/jetbrainsmono-nerdfont: add 3.2.1 Signed-off-by: Steffen Winter --- media-fonts/jetbrainsmono-nerdfont/Manifest | 1 + .../jetbrainsmono-nerdfont-3.2.1.ebuild | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 media-fonts/jetbrainsmono-nerdfont/jetbrainsmono-nerdfont-3.2.1.ebuild diff --git a/media-fonts/jetbrainsmono-nerdfont/Manifest b/media-fonts/jetbrainsmono-nerdfont/Manifest index e0b0c53d1e..033495c5ee 100644 --- a/media-fonts/jetbrainsmono-nerdfont/Manifest +++ b/media-fonts/jetbrainsmono-nerdfont/Manifest @@ -1,3 +1,4 @@ DIST jetbrainsmono-nerdfont-2.2.2.zip 76924136 BLAKE2B eca3c4487739008c898f93702de564656cf76d5d94406c69cd7d1b12f9ab8db1ef32a29e3de88311159fc292be4994537d8a106794845ed99eecd40410c22919 SHA512 1b009498a2a8a23c80002264e7f1d37d56261c8ff4a7baaeeeed3db8bb52dee8fa760c5b3e2cc0921443754a0e5d08f6b553b3857971f0dd34591eb85965204e DIST jetbrainsmono-nerdfont-3.1.1.gh.tar.xz 3647308 BLAKE2B 610016400b035764216555048e8dd2010c7de8744e51b0c53ccf056ca2a1495f4d9a61bd7910aa5c6c05ea13c99162a34f0c84c64eb80e5a6798a2ad69b0431a SHA512 d0642d40ef5bb6843f789722eb1e9cc8aa8ac55f49516166e37e37b9b626eda842f60e37fc16ff0cc99d98b0a8aedab8870a99355fb3c31749f00fe09d4f589c DIST jetbrainsmono-nerdfont-3.2.0.gh.tar.xz 5666516 BLAKE2B 14eb1e7a420ee212d5fc1d1ca2b70c47716982aaeca502d3d802953617effd61233ff738490c4f2061d60a0be41d33cace8d6cff53dd4a00decad98ec699f9be SHA512 b0498d82a10affa30ac72d2aab0a1478ac7e053d1ef766b892d60fd89a48f87640990d09c18e9b1508303694cb9575bf937cd68e6932982cd6b2fc3b16fa4d8e +DIST jetbrainsmono-nerdfont-3.2.1.gh.tar.xz 5681764 BLAKE2B 7f4f2c42ee1b847d988cdbb4722a0e0d5d286d9d0d6778e5dcb1de5bd9a4c4b954b60c7b700d85e678a1470efcf702a6feb974e282848121ad4d2f92ad9a8d91 SHA512 b4eb3d2e95881de683d655d5b4f40d681d138a08450a366bd5778ea1103d29153b7ddabe320c44ff569c10bed4f825531ac2ce2c44235c0e488713828d143c27 diff --git a/media-fonts/jetbrainsmono-nerdfont/jetbrainsmono-nerdfont-3.2.1.ebuild b/media-fonts/jetbrainsmono-nerdfont/jetbrainsmono-nerdfont-3.2.1.ebuild new file mode 100644 index 0000000000..1a1b2194ab --- /dev/null +++ b/media-fonts/jetbrainsmono-nerdfont/jetbrainsmono-nerdfont-3.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font + +DESCRIPTION="A free and open-source typeface for developers" +HOMEPAGE="https://github.com/ryanoasis/nerd-fonts" +SRC_URI="https://github.com/ryanoasis/nerd-fonts/releases/download/v${PV}/JetBrainsMono.tar.xz -> ${P}.gh.tar.xz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" +FONT_SUFFIX="ttf" + +pkg_postinst() { + ewarn "Upstream has recently made some major changes since version 3.0.0." + ewarn "The older Material Design Icon codepoints have been dropped." + ewarn "See issue 1059, comment 1404891287 at upstream for a translation table." + ewarn "More information can be found here:" + ewarn "https://github.com/ryanoasis/nerd-fonts/tree/v3.0.0" +} From d828c8a39b68482c6d5782b6297da48a43c3273f Mon Sep 17 00:00:00 2001 From: Steffen Winter Date: Fri, 12 Apr 2024 20:18:00 +0200 Subject: [PATCH 06/12] media-fonts/robotomono-nerdfont: add 3.2.1 Signed-off-by: Steffen Winter --- media-fonts/robotomono-nerdfont/Manifest | 1 + .../robotomono-nerdfont-3.2.1.ebuild | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 media-fonts/robotomono-nerdfont/robotomono-nerdfont-3.2.1.ebuild diff --git a/media-fonts/robotomono-nerdfont/Manifest b/media-fonts/robotomono-nerdfont/Manifest index d95ac44571..f35883cdb4 100644 --- a/media-fonts/robotomono-nerdfont/Manifest +++ b/media-fonts/robotomono-nerdfont/Manifest @@ -1,3 +1,4 @@ DIST robotomono-nerdfont-2.2.2.zip 25182334 BLAKE2B 2c6baed85ce0bdd3b0efdafdede08004d3fa16758d9e2baed12fba89a7d73c0f9a0130e71db5603de9addba366e1fb40ffeb5edfaba96adf1d312dcdd8ff22df SHA512 47f509e446ee1b48eb21d880e111abcb13e489ce45d95561e9eed2292692159b9bfcfd7da6addfe9f868dedbc5d7283a07d35cdaace008125937215e7f96a0ee DIST robotomono-nerdfont-3.1.1.gh.tar.xz 3088700 BLAKE2B 4cc63764c0b98008a549324f512f237ce79df2af23d19615f4215d9ab8421b1620aa4a6f5452d9a2f509e7077aa6963c420e6f0e2ec058c3430f51ef0411fe13 SHA512 ef0c73a097242308d2a078b26cff8319d606095b27f1d250c03606feaf44c17446b1ada6f6cbd2ddf251f95da605e0114491760939fb8f032d9a409a954531fc DIST robotomono-nerdfont-3.2.0.gh.tar.xz 3424440 BLAKE2B 537ef78f1247f17cacf1b33e851390dfcba384d9fc392f575aac7f4599d8672ef534113739195eababd8a2eae59cd2dd129d51cc93b5986c593da21be034f6cf SHA512 2b5c667936a00f097eb6c2af57888f0c7b8defb373c15db78b58af7853ed966ca930d8d4cef9337733d56866daa2dce17286e91095ff22686958b597f49a386f +DIST robotomono-nerdfont-3.2.1.gh.tar.xz 3460532 BLAKE2B 16737154814d4eeb29af321a4943ed24e3bc793400385148fd82d7dfa1b8cd1aa25472291723aca72d5b32c95ad540e2f854a1048af6e8b3692d780e225ed281 SHA512 408819177a0e56ee6684a07645651818779aa8d8a2a13e718044480950427185bcf4d6e8945d63be1da7ff3602b57f606c997a374fa43eef5ceb01b71c69c8cd diff --git a/media-fonts/robotomono-nerdfont/robotomono-nerdfont-3.2.1.ebuild b/media-fonts/robotomono-nerdfont/robotomono-nerdfont-3.2.1.ebuild new file mode 100644 index 0000000000..7ae2d0dd44 --- /dev/null +++ b/media-fonts/robotomono-nerdfont/robotomono-nerdfont-3.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font + +DESCRIPTION="A free and open-source typeface for developers" +HOMEPAGE="https://github.com/ryanoasis/nerd-fonts" +SRC_URI="https://github.com/ryanoasis/nerd-fonts/releases/download/v${PV}/RobotoMono.tar.xz -> ${P}.gh.tar.xz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" +FONT_SUFFIX="ttf" + +pkg_postinst() { + ewarn "Upstream has recently made some major changes since version 3.0.0." + ewarn "The older Material Design Icon codepoints have been dropped." + ewarn "See issue 1059, comment 1404891287 at upstream for a translation table." + ewarn "More information can be found here:" + ewarn "https://github.com/ryanoasis/nerd-fonts/tree/v3.0.0" +} From a963e88b2b548f5493e667b6b51f97cdcdc128dc Mon Sep 17 00:00:00 2001 From: Steffen Winter Date: Fri, 12 Apr 2024 20:18:01 +0200 Subject: [PATCH 07/12] media-fonts/ubuntumono-nerdfont: add 3.2.1 Signed-off-by: Steffen Winter --- media-fonts/ubuntumono-nerdfont/Manifest | 1 + .../ubuntumono-nerdfont-3.2.1.ebuild | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 media-fonts/ubuntumono-nerdfont/ubuntumono-nerdfont-3.2.1.ebuild diff --git a/media-fonts/ubuntumono-nerdfont/Manifest b/media-fonts/ubuntumono-nerdfont/Manifest index 3fef386079..bfc94a24c3 100644 --- a/media-fonts/ubuntumono-nerdfont/Manifest +++ b/media-fonts/ubuntumono-nerdfont/Manifest @@ -1,3 +1,4 @@ DIST ubuntumono-nerdfont-2.2.2.zip 9741947 BLAKE2B 91ab5d244327351fedbc27e8d406c846a06747ce1747d96f88142c7ca8fc895078446ac6d9ba41fb49f5d7954a7a603a6645c3c785b0736145c917e97e20e498 SHA512 7687bac3861d9e7d74ea2584d4e5c57635e1faa0c6c09c3495cde7d635e6aee80bd8a356771369bf34794bd60610d60d0e318c65a7c9a6d70fac067cc55f1c5b DIST ubuntumono-nerdfont-3.1.1.gh.tar.xz 1913160 BLAKE2B 4d44bc11fbabb76574749e870bf54529a18bab066aa5c57b988fe303721c044972400af1f9507bbfbcdcee1f0d9b54a477216911d0f6df5ca696f053d8a47b0e SHA512 326e16008b7ae650ec45f5bb1167362874c2dded0399f7152a50747e4fd09dc135fcae0aa2852e63bf8d956d79a75ab1a4402d57c46711305ad2940f468ee3a5 DIST ubuntumono-nerdfont-3.2.0.gh.tar.xz 2124672 BLAKE2B aa8551f6f954bf7078983de5ebe01a27e66eaae8ec8aa08f94709eeb03574261b6adadbe41987e0c8259a7e9eaa77b7da47936b1c916217526135ea81c8a9bf4 SHA512 ae1a135191bcc67a9d74aadc8854ddde67149073b2f3b239eede7f744d08d7492a41f6c38dbff8f78e4d52d2102fb98a830876dd0f6a12d133cef83f0570ef6a +DIST ubuntumono-nerdfont-3.2.1.gh.tar.xz 2127992 BLAKE2B 7b9f3ccf8c3ac13ee24e385eba9f724c9229321873ba8000d0e7ea7ebececf9cace2e5d75fefdd650f1f531732f4c037040c45019dd26348bfdfb4fcea340abe SHA512 dc3e5c1d86aca54049a1d175c33453715baa37e58e04671b051690c616115ea7fe3fdefb96714751cadb20eee48c96b614017fbb3e93692498e783619dd919fd diff --git a/media-fonts/ubuntumono-nerdfont/ubuntumono-nerdfont-3.2.1.ebuild b/media-fonts/ubuntumono-nerdfont/ubuntumono-nerdfont-3.2.1.ebuild new file mode 100644 index 0000000000..b991aea4b2 --- /dev/null +++ b/media-fonts/ubuntumono-nerdfont/ubuntumono-nerdfont-3.2.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit font + +DESCRIPTION="A free and open-source typeface for developers" +HOMEPAGE="https://github.com/ryanoasis/nerd-fonts" +SRC_URI="https://github.com/ryanoasis/nerd-fonts/releases/download/v${PV}/UbuntuMono.tar.xz -> ${P}.gh.tar.xz" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" +FONT_SUFFIX="ttf" + +pkg_postinst() { + ewarn "Upstream has recently made some major changes since version 3.0.0." + ewarn "The older Material Design Icon codepoints have been dropped." + ewarn "See issue 1059, comment 1404891287 at upstream for a translation table." + ewarn "More information can be found here:" + ewarn "https://github.com/ryanoasis/nerd-fonts/tree/v3.0.0" +} From e7a9388ebd245dcb9570e12d3303d7d47402d42f Mon Sep 17 00:00:00 2001 From: Henri Gasc Date: Fri, 12 Apr 2024 21:02:24 +0200 Subject: [PATCH 08/12] dev-python/svgelements: Add patch to fix tests Closes: https://bugs.gentoo.org/927876 Signed-off-by: Henri Gasc --- dev-python/svgelements/files/fix_tests.patch | 20 +++++++++++++++++++ .../svgelements/svgelements-1.9.6.ebuild | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 dev-python/svgelements/files/fix_tests.patch diff --git a/dev-python/svgelements/files/fix_tests.patch b/dev-python/svgelements/files/fix_tests.patch new file mode 100644 index 0000000000..413e29914b --- /dev/null +++ b/dev-python/svgelements/files/fix_tests.patch @@ -0,0 +1,20 @@ +Fix https://bugs.gentoo.org/927876 +--- a/test/test_cubic_bezier.py ++++ b/test/test_cubic_bezier.py +@@ -79,4 +79,4 @@ class TestElementCubicBezierPoint(unittest.TestCase): + p = Path(transform=Matrix(682.657124793113, 0.000000000003, -0.000000000003, 682.657124793113, 257913.248909660178, -507946.354527872754)) + p += CubicBezier(start=Point(-117.139521365,1480.99923469), control1=Point(-41.342266634,1505.62725567), control2=Point(40.3422666342,1505.62725567), end=Point(116.139521365,1480.99923469)) + bounds = p.bbox() +- self.assertNotAlmostEquals(bounds[1], bounds[3], delta=100) ++ self.assertNotAlmostEqual(bounds[1], bounds[3], delta=100) +--- a/test/test_write.py ++++ b/test/test_write.py +@@ -24,7 +24,7 @@ class TestElementWrite(unittest.TestCase): + + def test_write_group(self): + g = Group() +- self.assertEquals(g.string_xml(), "") ++ self.assertEqual(g.string_xml(), "") + + def test_write_rect(self): + r = Rect("1in", "1in", "3in", "3in", rx="5%") diff --git a/dev-python/svgelements/svgelements-1.9.6.ebuild b/dev-python/svgelements/svgelements-1.9.6.ebuild index 458b00fb4e..41407176a8 100644 --- a/dev-python/svgelements/svgelements-1.9.6.ebuild +++ b/dev-python/svgelements/svgelements-1.9.6.ebuild @@ -16,6 +16,10 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" +PATCHES=( + "${FILESDIR}/fix_tests.patch" +) + BDEPEND=" test? ( dev-python/numpy[${PYTHON_USEDEP}] From 0eb4e307ce5f4c4faa755fc9f159cdc18894e9c2 Mon Sep 17 00:00:00 2001 From: Henri Gasc Date: Fri, 12 Apr 2024 21:03:24 +0200 Subject: [PATCH 09/12] dev-python/svgelements: drop 1.9.3 Signed-off-by: Henri Gasc --- dev-python/svgelements/Manifest | 1 - .../svgelements/svgelements-1.9.3.ebuild | 43 ------------------- 2 files changed, 44 deletions(-) delete mode 100644 dev-python/svgelements/svgelements-1.9.3.ebuild diff --git a/dev-python/svgelements/Manifest b/dev-python/svgelements/Manifest index d6f172c7eb..ed721653ef 100644 --- a/dev-python/svgelements/Manifest +++ b/dev-python/svgelements/Manifest @@ -1,2 +1 @@ -DIST svgelements-1.9.3.gh.tar.gz 132345 BLAKE2B 63e433f99fd0adc3f9512fd1457ace8c12d7f922960ae4cbc1b84ffda27ba1bf00e3dd12e88dabb70235227969298e4e6bedad450f29dda20afcaf9a342f0441 SHA512 9a3bc3c665566662859996ba06ac4c5bb5ee425b008b9312a44d07aaca64fb7bd6e3f7d614cdfd709944efdf74fb7da3cc0ab8ecd0c812dff3dcf16305ae8f22 DIST svgelements-1.9.6.gh.tar.gz 134884 BLAKE2B c6b5c3e3b7a27b0972c78e8ad290c2880b7418d11cded3769d3c591ddcefa85d5e4ddcd5df186e181178cc6ca2054d1a48ea4a715f3506fcd16d53d5baed206f SHA512 c92004a103cb0073f91e0d4f2710a841855ba5079924d106db33df8994c482656a7c3358336c3fcae3127f2b6e668595b2339913e7c8f8364277fedbe0b854c3 diff --git a/dev-python/svgelements/svgelements-1.9.3.ebuild b/dev-python/svgelements/svgelements-1.9.3.ebuild deleted file mode 100644 index 8679e42c68..0000000000 --- a/dev-python/svgelements/svgelements-1.9.3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 optfeature - -DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects." -HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements" -SRC_URI="https://github.com/meerk40t/svgelements/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" -DEPEND="${BDEPEND}" - -distutils_enable_tests pytest - -src_prepare() { - default - mv "${S}/test" "${S}_tests" -} - -python_test() { - cd "${T}" || die - epytest "${S}_tests" -} - -pkg_postinst() { - optfeature "getting exact value for arc lenght computation" dev-python/scipy - optfeature "loading images" dev-python/pillow - optfeature "speeding up linearization for Shapes" dev-python/numpy -} From e3d97e29327a6f26b9f53c19f57f219f7fd88d1e Mon Sep 17 00:00:00 2001 From: Henri Gasc Date: Fri, 12 Apr 2024 21:23:37 +0200 Subject: [PATCH 10/12] dev-python/svgelements: Update the ebuild Signed-off-by: Henri Gasc --- .../{svgelements-1.9.6.ebuild => svgelements-1.9.6-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename dev-python/svgelements/{svgelements-1.9.6.ebuild => svgelements-1.9.6-r1.ebuild} (96%) diff --git a/dev-python/svgelements/svgelements-1.9.6.ebuild b/dev-python/svgelements/svgelements-1.9.6-r1.ebuild similarity index 96% rename from dev-python/svgelements/svgelements-1.9.6.ebuild rename to dev-python/svgelements/svgelements-1.9.6-r1.ebuild index 41407176a8..de37cc0d9f 100644 --- a/dev-python/svgelements/svgelements-1.9.6.ebuild +++ b/dev-python/svgelements/svgelements-1.9.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 From b9c597ad4bce26012a150aeab36b4f75f7e42e92 Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Fri, 12 Apr 2024 21:29:45 +0200 Subject: [PATCH 11/12] gui-apps/fuzzel: add 1.10.1 Signed-off-by: Jonas Frei --- gui-apps/fuzzel/Manifest | 1 + gui-apps/fuzzel/fuzzel-1.10.1.ebuild | 53 ++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 gui-apps/fuzzel/fuzzel-1.10.1.ebuild diff --git a/gui-apps/fuzzel/Manifest b/gui-apps/fuzzel/Manifest index 442d8f5f25..9493f941c7 100644 --- a/gui-apps/fuzzel/Manifest +++ b/gui-apps/fuzzel/Manifest @@ -1 +1,2 @@ +DIST fuzzel-1.10.1.tar.gz 440849 BLAKE2B 5358bc4bfb0bff0f4683207ae7f74173d2b5fc7d2275af9000c1346a209ecd4f3a581eeafbf9b833b4ddccc60c22bf2f2a5db1e845417169277100ac06444b6d SHA512 8bc285f1bdc78cf5c1aa71dec14641dccb6944863d781d8bf63ec673e4eb7775c2f4e6269f71f6333bdca242fd994708bb675c5708639e42b6804391bf492fb0 DIST fuzzel-1.9.2.tar.gz 433292 BLAKE2B 7b0533f7bb705b330e9c5c0fb89831283cc5e349891408d398d26f20c7c78c599ae28c18e92379df8888a8099ec4b7736ea356b6342ff3b1c3fde57085580f23 SHA512 a92f0b6eb9470aa099651c2f5d095986347565bbd7366bffe0719801dbb1ae4f7e413460c59872d40e910bb1d3bc8195e9d9038a73c2de835bcda77f9372b393 diff --git a/gui-apps/fuzzel/fuzzel-1.10.1.ebuild b/gui-apps/fuzzel/fuzzel-1.10.1.ebuild new file mode 100644 index 0000000000..45c36b1a30 --- /dev/null +++ b/gui-apps/fuzzel/fuzzel-1.10.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fuzzel.git" +else + SRC_URI="https://codeberg.org/dnkl/fuzzel/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +fi + +DESCRIPTION="Application launcher for wlroots based Wayland compositors." +HOMEPAGE="https://codeberg.org/dnkl/fuzzel" +LICENSE="MIT" +SLOT="0" +IUSE="cairo png svg" + +DEPEND=" + dev-libs/wayland + =media-libs/fcft-3.0.0 + x11-libs/libxkbcommon + x11-libs/pixman + cairo? ( x11-libs/cairo ) + png? ( media-libs/libpng ) + svg? ( gnome-base/librsvg ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + app-text/scdoc + >=dev-libs/tllist-1.0.1 + >=dev-libs/wayland-protocols-1.32 + dev-util/wayland-scanner +" + +src_configure() { + local emesonargs=( + -Dpng-backend=$(usex png libpng none) + -Dsvg-backend=$(usex svg librsvg none) + $(meson_feature cairo enable-cairo) + ) + meson_src_configure +} + +src_install() { + meson_src_install + rm -rf "${ED}/usr/share/doc/fuzzel" || die +} From d265782c30d079d790654b893779d28eb15e3fd9 Mon Sep 17 00:00:00 2001 From: Jonas Frei Date: Fri, 12 Apr 2024 21:30:50 +0200 Subject: [PATCH 12/12] gui-apps/clipman: add 1.6.3 Signed-off-by: Jonas Frei --- gui-apps/clipman/Manifest | 2 ++ gui-apps/clipman/clipman-1.6.3.ebuild | 38 +++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 gui-apps/clipman/clipman-1.6.3.ebuild diff --git a/gui-apps/clipman/Manifest b/gui-apps/clipman/Manifest index 0c5c3dc7fc..5942e9bd5a 100644 --- a/gui-apps/clipman/Manifest +++ b/gui-apps/clipman/Manifest @@ -1,2 +1,4 @@ DIST clipman-1.6.2-deps.tar.xz 723612 BLAKE2B c047764966b54b3465e75a6396392e74f1b7f8e7c075a4eb12f0563ff2295d82871ed3eaf04b88d30a0b927ecbf00e7117134fa89ce16fcb5ef292ef1e8e704c SHA512 424f909db59c75a095e5c84671f561def46b49be37c02d10677d29a26124dc45c8e4a25e4b12b007647e898c6d4a28baba66f3e11528fa2330b247d22098eecf DIST clipman-1.6.2.tar.gz 21313 BLAKE2B b63c8eb367487de362bbde375e8e788df7503682e6ddedb914e16ef0bcc4c7b35e9d6024412e8115556033dcc5df601bc1fa2f028d1ec1f466e3650af12a8e72 SHA512 3549fdba47973440f6a3969560d5f5688661f11e1c38026170722182dce83ec1870f9e1652e84198e8be9fc454de1e73dfc1247d50692a32b6e8a25ec149c41b +DIST clipman-1.6.3-deps.tar.xz 745400 BLAKE2B d4fd69be6201f787c0dcac4977f5e905ca3a86c0852ccbfb39f18e903447ba46262a7cf0f12980afa49b4251558482e559c77e5be67d794d7cf4ecc5ec6c5697 SHA512 e5b31c3cb67c1badc0bd236082576cff33158c705ab5d27eeaf9a4220b2ff37c2f22c0a490fefffa08912a141df2857ed04d95e4e02249b31c2163340b3e292d +DIST clipman-1.6.3.tar.gz 23215 BLAKE2B f820746de7962941093e3dffe2a79729b222311d53a99fcac717b714ae89eec2395c772782348d027ffe0fe58e4562d5c72fd81729103c6e9d070fddf941fa20 SHA512 b0446767fe4ebcce64073addb9c23bd50040c638fedb6c19d32df12438155937b71092dce889153deef0bf3329328b85f0d133479892cb117625c238d6d373d7 diff --git a/gui-apps/clipman/clipman-1.6.3.ebuild b/gui-apps/clipman/clipman-1.6.3.ebuild new file mode 100644 index 0000000000..06cdae7e07 --- /dev/null +++ b/gui-apps/clipman/clipman-1.6.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A basic clipboard manager for Wayland." +HOMEPAGE="https://github.com/chmouel/clipman/" +SRC_URI="https://github.com/chmouel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +# Using a dependency tarball as per https://devmanual.gentoo.org/eclass-reference/go-module.eclass/index.html +DEPS_URI="https://gitlab.com/freijon_gentoo/${CATEGORY}/${PN}/-/raw/main/${P}-deps.tar.xz" +SRC_URI+=" ${DEPS_URI}" + +LICENSE="BSD GPL-3 MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+man" + +DEPEND=" + >=gui-apps/wl-clipboard-2 + gui-libs/wlroots +" + +DOCS=( + "README.md" +) + +src_compile() { + ego build . +} + +src_install() { + dobin ${PN} + use man && doman docs/${PN}.1 + einstalldocs +}