diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /app-crypt/gcr | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'app-crypt/gcr')
| -rw-r--r-- | app-crypt/gcr/Manifest | 2 | ||||
| -rw-r--r-- | app-crypt/gcr/files/3.38.0-optional-vapi.patch | 88 | ||||
| -rw-r--r-- | app-crypt/gcr/files/3.41.1-implicit-func-decl.patch | 30 | ||||
| -rw-r--r-- | app-crypt/gcr/files/3.41.2-lto-tests.patch | 12 | ||||
| -rw-r--r-- | app-crypt/gcr/files/3.41.2-ssh-agent-tests.patch | 46 | ||||
| -rw-r--r-- | app-crypt/gcr/gcr-3.41.2-r2.ebuild | 115 | ||||
| -rw-r--r-- | app-crypt/gcr/gcr-4.4.0.1-r1.ebuild | 93 | ||||
| -rw-r--r-- | app-crypt/gcr/metadata.xml | 11 |
8 files changed, 0 insertions, 397 deletions
diff --git a/app-crypt/gcr/Manifest b/app-crypt/gcr/Manifest deleted file mode 100644 index acb58e350ae0..000000000000 --- a/app-crypt/gcr/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST gcr-3.41.2.tar.xz 1034532 BLAKE2B ac2c1cd7c1ff458b554a4c0b667fa9a6a9629f14ad173ec84e3bb76b17fefe007a47ed861fc820cb1a4f48b81b3dfe9860d521fe677c7dbcce004766b43afe9a SHA512 056c6c6a3910dae6997cef34fc95d22510ddea37be0ccc329996575a95e20582fa428bd491389aa77f8b6ffbd8674a2b3ba444cb83bdf3a2be5fd7aed276606d -DIST gcr-4.4.0.1.tar.xz 745244 BLAKE2B 8a7e18fd0cac203c0f04e694f38ec872ac81a064290147d02c3a52c0091aab1bee0af85b38d38286d283a277ac7309a59c020545e4839e32b05708d220cb4425 SHA512 f84724e0e9850c6150ec93430a0c3a714f4b4376df2fd3fd68340463acf04d89de236510b40bab4f3dc8fd82a2e8dc98b53c2684df07fdb9a6a3528ed35652d1 diff --git a/app-crypt/gcr/files/3.38.0-optional-vapi.patch b/app-crypt/gcr/files/3.38.0-optional-vapi.patch deleted file mode 100644 index d565884994fd..000000000000 --- a/app-crypt/gcr/files/3.38.0-optional-vapi.patch +++ /dev/null @@ -1,88 +0,0 @@ -From 6d61774b8556eb4acfa5e7613ee25893d2a7e565 Mon Sep 17 00:00:00 2001 -From: Mart Raudsepp <leio@gentoo.org> -Date: Tue, 18 Aug 2020 09:36:19 +0300 -Subject: [PATCH 2/2] build: Make vapi optional - ---- - gck/meson.build | 2 ++ - gcr/meson.build | 2 ++ - meson_options.txt | 5 +++++ - ui/meson.build | 2 ++ - 4 files changed, 11 insertions(+) - -diff --git a/gck/meson.build b/gck/meson.build -index 756b486..a15f4ed 100644 ---- a/gck/meson.build -+++ b/gck/meson.build -@@ -142,6 +142,7 @@ if get_option('introspection') - install: true, - ) - -+if get_option('vapi') - gck_vapi = gnome.generate_vapi('gck-@0@'.format(gck_major_version), - sources: gck_gir[0], - metadata_dirs: meson.current_source_dir(), -@@ -153,6 +154,7 @@ if get_option('introspection') - install_dir: get_option('datadir') / 'vala' / 'vapi', - ) - endif -+endif - - # pkg-config file - pkgconfig.generate(gck_lib, -diff --git a/gcr/meson.build b/gcr/meson.build -index 06c3a63..cc642cf 100644 ---- a/gcr/meson.build -+++ b/gcr/meson.build -@@ -204,6 +204,7 @@ if get_option('introspection') - install: true, - ) - -+if get_option('vapi') - gcr_vapi = gnome.generate_vapi('gcr-@0@'.format(gcr_major_version), - sources: gcr_gir[0], - packages: [ 'glib-2.0', 'gio-2.0', gck_vapi ], -@@ -217,6 +218,7 @@ if get_option('introspection') - install: true, - ) - endif -+endif - - # pkg-config file - pkgconfig.generate(gcr_base_lib, -diff --git a/meson_options.txt b/meson_options.txt -index ae0f524..f68cb95 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -18,3 +18,8 @@ option('gpg_path', - value: '', - description: 'Path to gpg, autodetected if not set', - ) -+option('vapi', -+ type: 'boolean', -+ value: true, -+ description: 'Generate vapi data (requires vapigen and introspection option)', -+) -diff --git a/ui/meson.build b/ui/meson.build -index 477412d..0b89b24 100644 ---- a/ui/meson.build -+++ b/ui/meson.build -@@ -169,6 +169,7 @@ if get_option('introspection') - install: true, - ) - -+if get_option('vapi') - gcr_ui_vapi = gnome.generate_vapi('gcr-ui-@0@'.format(gcr_major_version), - sources: gcr_ui_gir[0], - packages: [ -@@ -190,6 +191,7 @@ if get_option('introspection') - install: true, - ) - endif -+endif - - # gcr-viewer - gcr_viewer = executable('gcr-viewer', --- -2.26.2 - diff --git a/app-crypt/gcr/files/3.41.1-implicit-func-decl.patch b/app-crypt/gcr/files/3.41.1-implicit-func-decl.patch deleted file mode 100644 index f1f1ddc0b5d9..000000000000 --- a/app-crypt/gcr/files/3.41.1-implicit-func-decl.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://bugs.gentoo.org/900152 - -It doesn't make sense to default XOPEN_SOURCE and subsequently DEFAULT_SOURCE -as DEFAULT_SOURCE is asking for no extensions. Anyway, just ask for GNU_SOURCE -as it'll placate both musl and glibc for all of strptime/timegm/getpass and -gcr-3 is obsolete anyway. ---- a/gck/meson.build -+++ b/gck/meson.build -@@ -77,8 +77,7 @@ gck_cflags = [ - '-DGCK_API_SUBJECT_TO_CHANGE', - '-DP11_KIT_API_SUBJECT_TO_CHANGE', - '-DPKCS11_REGISTRY_DIR="@0@"'.format(get_option('prefix') / get_option('libdir') / 'pkcs11'), -- '-D_XOPEN_SOURCE', # Needed for strptime() -- '-D_DEFAULT_SOURCE', # Needed for timegm -+ '-D_GNU_SOURCE', # Needed for strptime(), timegm, getpass - ] - - gck_symbolmap = meson.current_source_dir() / 'libgck.map' ---- a/gcr/meson.build -+++ b/gcr/meson.build -@@ -146,7 +146,7 @@ gcr_base_cflags = [ - '-DGCR_API_SUBJECT_TO_CHANGE', - '-DGCK_API_SUBJECT_TO_CHANGE', - '-DP11_KIT_API_SUBJECT_TO_CHANGE', -- '-D_XOPEN_SOURCE', # Needed for strptime() -+ '-D_GNU_SOURCE', # Needed for strptime(), timegm, getpass - ] - - gcr_base_symbolmap = meson.current_source_dir() / 'libgcr-base.map' - diff --git a/app-crypt/gcr/files/3.41.2-lto-tests.patch b/app-crypt/gcr/files/3.41.2-lto-tests.patch deleted file mode 100644 index 9f232afd617c..000000000000 --- a/app-crypt/gcr/files/3.41.2-lto-tests.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://gitlab.gnome.org/GNOME/gcr/-/issues/43 ---- a/gck/meson.build -+++ b/gck/meson.build -@@ -199,7 +199,7 @@ foreach _test : gck_test_names - gck_test_bin = executable(_test_name, - '@0@.c'.format(_test_name), - link_with: [ gck_test_lib, egg_test_lib ], -- dependencies: [ gck_deps, gck_testable_dep ], -+ dependencies: [ glib_deps, p11kit_dep, gck_testable_dep ], - c_args: gck_cflags + gck_test_cflags, - include_directories: config_h_dir, - ) diff --git a/app-crypt/gcr/files/3.41.2-ssh-agent-tests.patch b/app-crypt/gcr/files/3.41.2-ssh-agent-tests.patch deleted file mode 100644 index 8f533a11d434..000000000000 --- a/app-crypt/gcr/files/3.41.2-ssh-agent-tests.patch +++ /dev/null @@ -1,46 +0,0 @@ -https://gitlab.gnome.org/GNOME/gcr/-/commit/d86fafecd560ca53a3bd211fdf5155fa5635e236 - -From d86fafecd560ca53a3bd211fdf5155fa5635e236 Mon Sep 17 00:00:00 2001 -From: Niels De Graef <nielsdegraef@gmail.com> -Date: Wed, 8 Jan 2025 22:15:53 +0100 -Subject: [PATCH] ssh-agent: Request rsa-sha2-256 in tests - -Newer versions of OpenSSH decline providing a SHA1 signature since it's -deemed unsafe. Our tests were failing because it's the default for a -sign request, unless you specify some flags to say otherwise.o - -Fixes: https://gitlab.gnome.org/GNOME/gcr/-/issues/128 -(cherry picked from commit 039f2ce469c2e238771815a0ebafbc8b660c2870) ---- - gcr/gcr-ssh-agent-test.c | 2 +- - gcr/test-ssh-agent-common.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gcr/gcr-ssh-agent-test.c b/gcr/gcr-ssh-agent-test.c -index 6196e8f1..b23ebb3e 100644 ---- a/gcr/gcr-ssh-agent-test.c -+++ b/gcr/gcr-ssh-agent-test.c -@@ -302,7 +302,7 @@ prepare_sign_request (EggBuffer *req) - ret = egg_buffer_add_string (req, "data"); - g_assert_true (ret); - -- ret = egg_buffer_add_uint32 (req, 0); -+ ret = egg_buffer_add_uint32 (req, GCR_SSH_FLAG_RSA_SHA2_256); - g_assert_true (ret); - - ret = egg_buffer_set_uint32 (req, 0, req->len - 4); -diff --git a/gcr/test-ssh-agent-common.c b/gcr/test-ssh-agent-common.c -index bc17a776..f811a8e1 100644 ---- a/gcr/test-ssh-agent-common.c -+++ b/gcr/test-ssh-agent-common.c -@@ -302,7 +302,7 @@ prepare_sign_request (EggBuffer *req) - ret = egg_buffer_add_string (req, "data"); - g_assert_true (ret); - -- ret = egg_buffer_add_uint32 (req, 0); -+ ret = egg_buffer_add_uint32 (req, GCR_SSH_FLAG_RSA_SHA2_256); - g_assert_true (ret); - - ret = egg_buffer_set_uint32 (req, 0, req->len - 4); --- -GitLab diff --git a/app-crypt/gcr/gcr-3.41.2-r2.ebuild b/app-crypt/gcr/gcr-3.41.2-r2.ebuild deleted file mode 100644 index 7b58bf2473bf..000000000000 --- a/app-crypt/gcr/gcr-3.41.2-r2.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{13..14} ) - -inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 vala xdg - -DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" -HOMEPAGE="https://gitlab.gnome.org/GNOME/gcr" - -LICENSE="GPL-2+ LGPL-2+" -SLOT="0/1" # subslot = suffix of libgcr-base-3 and co - -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" - -IUSE="gtk gtk-doc +introspection systemd test +vala wayland X" -REQUIRED_USE=" - gtk-doc? ( introspection ) - vala? ( introspection ) -" -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-libs/glib-2.44.0:2 - >=dev-libs/libgcrypt-1.2.2:0= - >=app-crypt/p11-kit-0.19.0 - >=app-crypt/libsecret-0.20 - systemd? ( sys-apps/systemd:= ) - gtk? ( >=x11-libs/gtk+-3.22:3[introspection?,wayland?,X?] ) - >=sys-apps/dbus-1 - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) -" -RDEPEND="${DEPEND}" -PDEPEND="app-alternatives/gpg" -BDEPEND=" - ${PYTHON_DEPS} - gtk? ( dev-libs/libxml2:2 ) - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - gtk-doc? ( dev-util/gi-docgen ) - >=sys-devel/gettext-0.19.8 - test? ( app-alternatives/gpg ) - virtual/pkgconfig - vala? ( $(vala_depend) ) -" - -PATCHES=( - "${FILESDIR}"/3.38.0-optional-vapi.patch - "${FILESDIR}"/3.41.1-implicit-func-decl.patch - "${FILESDIR}"/3.41.2-lto-tests.patch - "${FILESDIR}"/3.41.2-ssh-agent-tests.patch -) - -pkg_setup() { - python-any-r1_pkg_setup -} - -src_prepare() { - default - use vala && vala_setup - xdg_environment_reset -} - -src_configure() { - if use gtk; then - # defang automagic dependencies - use X || append-flags -DGENTOO_GTK_HIDE_X11 - use wayland || append-flags -DGENTOO_GTK_HIDE_WAYLAND - fi - - local emesonargs=( - $(meson_use introspection) - $(meson_use gtk) - $(meson_use gtk-doc gtk_doc) - -Dgpg_path="${EPREFIX}"/usr/bin/gpg - -Dssh_agent=true - $(meson_feature systemd) - $(meson_use vala vapi) - ) - meson_src_configure -} - -src_test() { - dbus-run-session meson test -C "${BUILD_DIR}" --print-errorlogs || die 'tests failed' -} - -src_install() { - meson_src_install - - # These files are installed by gcr:4 - local conflicts=( - "${ED}"/usr/libexec/gcr-ssh-agent - ) - use systemd && conflicts+=( - "${ED}"/usr/lib/systemd/user/gcr-ssh-agent.{service,socket} - ) - einfo "${conflicts[@]}" - rm "${conflicts[@]}" || die - - if use gtk-doc; then - mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die - mv "${ED}"/usr/share/doc/{gck-1,gcr-3,gcr-ui-3} "${ED}"/usr/share/gtk-doc/html/ || die - fi -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/app-crypt/gcr/gcr-4.4.0.1-r1.ebuild b/app-crypt/gcr/gcr-4.4.0.1-r1.ebuild deleted file mode 100644 index e0a19510fe0e..000000000000 --- a/app-crypt/gcr/gcr-4.4.0.1-r1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic gnome.org gnome2-utils meson vala xdg - -DESCRIPTION="Libraries for cryptographic UIs and accessing PKCS#11 modules" -HOMEPAGE="https://gitlab.gnome.org/GNOME/gcr" - -LICENSE="GPL-2+ LGPL-2+" -SLOT="4/gcr-4.4-gck-2.2" # subslot = soname and soversion of libgcr and libgck - -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" - -IUSE="gnutls gtk gtk-doc +introspection systemd test +vala" -REQUIRED_USE=" - gtk-doc? ( introspection ) - vala? ( introspection ) -" -RESTRICT="!test? ( test )" - -DEPEND=" - >=dev-libs/glib-2.74:2 - !gnutls? ( >=dev-libs/libgcrypt-1.2.2:0= ) - gnutls? ( >=net-libs/gnutls-3.8.5:0 ) - >=app-crypt/p11-kit-0.19.0 - >=app-crypt/libsecret-0.20 - systemd? ( sys-apps/systemd:= ) - gtk? ( gui-libs/gtk:4[introspection?] ) - >=sys-apps/dbus-1 - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) -" -RDEPEND="${DEPEND}" -PDEPEND="app-alternatives/gpg" -BDEPEND=" - gtk? ( dev-libs/libxml2:2 ) - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - gtk-doc? ( dev-util/gi-docgen ) - >=sys-devel/gettext-0.19.8 - test? ( app-alternatives/gpg ) - virtual/pkgconfig - vala? ( $(vala_depend) ) -" - -src_prepare() { - default - use vala && vala_setup - xdg_environment_reset -} - -src_configure() { - filter-lto # https://gitlab.gnome.org/GNOME/gcr/-/issues/43 - local emesonargs=( - $(meson_use introspection) - $(meson_use gtk gtk4) - $(meson_use gtk-doc gtk_doc) - -Dgpg_path="${EPREFIX}"/usr/bin/gpg - -Dssh_agent=true - $(meson_feature systemd) - $(meson_use vala vapi) - ) - if use gnutls; then - emesonargs+=( -Dcrypto=gnutls ) - else - emesonargs+=( -Dcrypto=libgcrypt ) - fi - meson_src_configure -} - -src_test() { - dbus-run-session meson test -C "${BUILD_DIR}" --print-errorlogs || die 'tests failed' -} - -src_install() { - meson_src_install - - if use gtk-doc; then - mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die - mv "${ED}"/usr/share/doc/{gck-2,gcr-4} "${ED}"/usr/share/gtk-doc/html/ || die - fi -} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/app-crypt/gcr/metadata.xml b/app-crypt/gcr/metadata.xml deleted file mode 100644 index 11816fc8230a..000000000000 --- a/app-crypt/gcr/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>gnome@gentoo.org</email> - <name>Gentoo GNOME Desktop</name> - </maintainer> - <upstream> - <remote-id type="gnome-gitlab">GNOME/gcr</remote-id> - </upstream> -</pkgmetadata> |
