From f5171352fee732f27ce67e668e5081a8c8df289f Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 11 May 2021 03:39:41 +0200 Subject: [PATCH 1/4] media-libs/fcft: Version bump, 2.4.0 - Add subslot, based on soname Major version number - Enable test-text-shaping when test and text-shaping are enabled - De-vendor unicode-data in favor of system's version - Add examples option (new in 2.4.0) Signed-off-by: Haelwenn (lanodan) Monnier --- media-libs/fcft/Manifest | 1 + media-libs/fcft/fcft-2.4.0.ebuild | 77 +++++++++++++++++++++++++++++++ media-libs/fcft/fcft-9999.ebuild | 43 +++++++++++++++-- 3 files changed, 116 insertions(+), 5 deletions(-) create mode 100644 media-libs/fcft/fcft-2.4.0.ebuild diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest index 6999a947ff..bcfffde7d2 100644 --- a/media-libs/fcft/Manifest +++ b/media-libs/fcft/Manifest @@ -1 +1,2 @@ DIST fcft-2.3.3.tar.gz 313168 BLAKE2B b3dbc3af511e8a8007a17400fe6880a08a62ca0cb69795438ab7c6a86f856b25a3bd26cdef8031f1c8d66f4527d191a72ce87852f001e05b8f37285dea4befb5 SHA512 91f3c1292889c2fd1cdce439e0168a37a932d3a05ea78fff93ce69ea7b1adc33424e67a0b2c36931d26128e1169e6f784f16445475c94690dedf608f92278009 +DIST fcft-2.4.0.tar.gz 323605 BLAKE2B 1926d26b633cf768257340f093de734513678f3b5e62cb2fa89fd08496d06b36de89fe797a5328c35a5b467d3ea48214d5a3e76660d2effaea0f28fddbc7bd48 SHA512 0904344cf69875e5ed2b0543911cfcbd7fddafcc19ef611ff6abb30004515eb61a69f5add25f9576132dcd60bc0c2cc7f6461fade9124a32c4026154e56d8e64 diff --git a/media-libs/fcft/fcft-2.4.0.ebuild b/media-libs/fcft/fcft-2.4.0.ebuild new file mode 100644 index 0000000000..979d903ad0 --- /dev/null +++ b/media-libs/fcft/fcft-2.4.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +else + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fcft.git" +fi + +DESCRIPTION="A simple library for font loading and glyph rasterization" +HOMEPAGE="https://codeberg.org/dnkl/fcft" +LICENSE="MIT" +SLOT="0/3" +IUSE="examples +text-shaping test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/tllist + media-libs/fontconfig + media-libs/freetype + x11-libs/pixman + text-shaping? ( media-libs/harfbuzz ) + examples? ( + dev-libs/libutf8proc:= + dev-libs/wayland + ) +" +DEPEND=" + ${RDEPEND} + test? ( + text-shaping? ( media-fonts/noto-emoji ) + ) +" +BDEPEND=" + app-text/scdoc + app-i18n/unicode-data + examples? ( + dev-libs/wayland-protocols + dev-util/wayland-scanner + ) +" + +src_prepare() { + default + + rm -r "unicode" || die "Failed removing vendored unicode-data" + + sed -i "s;unicode/UnicodeData.txt;${EPREFIX}/usr/share/unicode-data/UnicodeData.txt;" \ + meson.build || die "Failed changing UnicodeData.txt to system's copy" +} + +src_configure() { + local emesonargs=( + $(meson_feature text-shaping) + $(meson_use examples) + "-Dwerror=false" + ) + + use test && emesonargs+=( + $(meson_use text-shaping test-text-shaping) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + use examples && newbin "${BUILD_DIR}/example/example" fcft-example + mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" +} diff --git a/media-libs/fcft/fcft-9999.ebuild b/media-libs/fcft/fcft-9999.ebuild index 33f4d40d6a..979d903ad0 100644 --- a/media-libs/fcft/fcft-9999.ebuild +++ b/media-libs/fcft/fcft-9999.ebuild @@ -17,28 +17,61 @@ fi DESCRIPTION="A simple library for font loading and glyph rasterization" HOMEPAGE="https://codeberg.org/dnkl/fcft" LICENSE="MIT" -SLOT="0" -IUSE="+text-shaping" +SLOT="0/3" +IUSE="examples +text-shaping test" +RESTRICT="!test? ( test )" DEPEND=" dev-libs/tllist media-libs/fontconfig media-libs/freetype - text-shaping? ( media-libs/harfbuzz ) x11-libs/pixman + text-shaping? ( media-libs/harfbuzz ) + examples? ( + dev-libs/libutf8proc:= + dev-libs/wayland + ) " -RDEPEND="${DEPEND}" -BDEPEND="app-text/scdoc" +DEPEND=" + ${RDEPEND} + test? ( + text-shaping? ( media-fonts/noto-emoji ) + ) +" +BDEPEND=" + app-text/scdoc + app-i18n/unicode-data + examples? ( + dev-libs/wayland-protocols + dev-util/wayland-scanner + ) +" + +src_prepare() { + default + + rm -r "unicode" || die "Failed removing vendored unicode-data" + + sed -i "s;unicode/UnicodeData.txt;${EPREFIX}/usr/share/unicode-data/UnicodeData.txt;" \ + meson.build || die "Failed changing UnicodeData.txt to system's copy" +} src_configure() { local emesonargs=( $(meson_feature text-shaping) + $(meson_use examples) "-Dwerror=false" ) + + use test && emesonargs+=( + $(meson_use text-shaping test-text-shaping) + ) + meson_src_configure } src_install() { meson_src_install + use examples && newbin "${BUILD_DIR}/example/example" fcft-example mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" } From 1a23cc6ad5cf3f5ce68ef5e4dc546a73b7343bb1 Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 13 May 2021 17:55:26 +0200 Subject: [PATCH 2/4] app-admin/ananicy: add openrc initd Signed-off-by: Alessandro Barbieri --- app-admin/ananicy/ananicy-2.2.1-r1.ebuild | 36 +++++++++++++++++++++++ app-admin/ananicy/files/ananicy.initd | 18 ++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 app-admin/ananicy/ananicy-2.2.1-r1.ebuild create mode 100644 app-admin/ananicy/files/ananicy.initd diff --git a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild new file mode 100644 index 0000000000..4ad74bc5a5 --- /dev/null +++ b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) + +inherit python-single-r1 + +DESCRIPTION="ANother Auto NICe daemon" +HOMEPAGE="https://github.com/Nefelim4ag/Ananicy" +SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P^}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DEPEND="${PYTHON_DEPS}" +RDEPEND=" + ${DEPEND} + sys-process/schedtool +" +DOCS=( README.md ) +PATCHES=( "${FILESDIR}/fix-sysctl-path.patch" ) + +src_compile() { + return +} + +src_install() { + emake PREFIX="${D}" install + python_fix_shebang "${ED}/usr/bin/ananicy" + doinitd ananicy.initd + einstalldocs +} diff --git a/app-admin/ananicy/files/ananicy.initd b/app-admin/ananicy/files/ananicy.initd new file mode 100644 index 0000000000..e949d54e60 --- /dev/null +++ b/app-admin/ananicy/files/ananicy.initd @@ -0,0 +1,18 @@ +#!/usr/bin/openrc-run + +pidfile="/run/ananicy.pid" +command="/usr/bin/ananicy" +command_args="start" +command_background=true + +start_pre() { + /sbin/sysctl -e kernel.sched_autogroup_enabled=0 +} + +stop_post() { + /sbin/sysctl -e kernel.sched_autogroup_enabled=1 +} + +stop() { + start-stop-daemon --stop --pidfile "$pidfile" +} From d288205bf81177e99b2e867052db04c774f800dd Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Thu, 13 May 2021 17:56:53 +0200 Subject: [PATCH 3/4] dev-cpp/vexcl: improve docs WIP Signed-off-by: Alessandro Barbieri --- .../files/add-sphinx-ext-autodoc-to-conf-py.patch | 11 +++++++++++ dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild | 11 +++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch diff --git a/dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch b/dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch new file mode 100644 index 0000000000..405376cf95 --- /dev/null +++ b/dev-cpp/vexcl/files/add-sphinx-ext-autodoc-to-conf-py.patch @@ -0,0 +1,11 @@ +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -45,7 +45,7 @@ + # Add any Sphinx extension module names here, as strings. They can be + # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom + # ones. +-extensions = ['breathe', 'sphinx.ext.mathjax', ++extensions = ['breathe', 'sphinx.ext.mathjax', 'sphinx.ext.autodoc', + 'matplotlib.sphinxext.plot_directive'] + + breathe_projects = {'VEXCL' : 'xml'} diff --git a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild index a2599bbb7c..b3c196c697 100644 --- a/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild +++ b/dev-cpp/vexcl/vexcl-1.4.2-r1.ebuild @@ -3,9 +3,11 @@ EAPI=7 -#DOCS_AUTODOC=0 DOCS_BUILDER="sphinx" -DOCS_DEPEND="dev-python/sphinx-bootstrap-theme" +DOCS_DEPEND=" + dev-python/breathe + dev-python/sphinx-bootstrap-theme +" DOCS_DIR="docs" PYTHON_COMPAT=( python3_{7..9} ) @@ -29,9 +31,10 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}/add-sphinx-ext-autodoc-to-conf-py.patch" ) + src_prepare() { - default - sed -e "s|git_version()|${PV}|g" -i docs/conf.py || die + sed -e "s|git_version()|\'${PV}\'|g" -i docs/conf.py || die cmake_src_prepare } From c5c5ae5c70b9f196088da31161b3d902f593217b Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Thu, 13 May 2021 20:46:07 +0200 Subject: [PATCH 4/4] net-im/rocketchat-desktop-bin: minor version bump 3.2.1 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan --- net-im/rocketchat-desktop-bin/Manifest | 2 +- ...top-bin-3.2.0.ebuild => rocketchat-desktop-bin-3.2.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename net-im/rocketchat-desktop-bin/{rocketchat-desktop-bin-3.2.0.ebuild => rocketchat-desktop-bin-3.2.1.ebuild} (100%) diff --git a/net-im/rocketchat-desktop-bin/Manifest b/net-im/rocketchat-desktop-bin/Manifest index 9428924494..4c94b6e335 100644 --- a/net-im/rocketchat-desktop-bin/Manifest +++ b/net-im/rocketchat-desktop-bin/Manifest @@ -1 +1 @@ -DIST rocketchat-3.2.0.x86_64.rpm 55347176 BLAKE2B 69f5dc15a61029aee97638dbde40ede5fd860f8ef51dc40bec09b142f31d2b5ab2d1ca81604ce909327888174a5f549775d4f7a03e55d9a3251004c4164f9a1e SHA512 7d5827c5f8822ab7c1966e5938801de8a8ef73d49f594647294cdb69e0ea37315ed6277830aa1680442577157d705455e1b832b04d7d7a821bdd4e5810598e0d +DIST rocketchat-3.2.1.x86_64.rpm 55355092 BLAKE2B 53e94118fc04f154ee70c673402124deaa3242ffaf5f0f013bf720ba26787e2a6e0fe698d4f1c314643121b35e382789b23f311f8a93b73d7661b7386ce219da SHA512 69b8201378cf73335c1c847d670006dfa8bcc61a0221edb5eb873635c93fac597b6da4a717dd25d9a0eaddb10331486a8d2870bda5320ae117e83406b03c9f95 diff --git a/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.2.0.ebuild b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.2.1.ebuild similarity index 100% rename from net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.2.0.ebuild rename to net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.2.1.ebuild