From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9868B1581C1 for ; Fri, 5 Jul 2024 10:51:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D91062BC09D; Fri, 5 Jul 2024 10:51:48 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B77D12BC09C for ; Fri, 5 Jul 2024 10:51:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5F1134307D for ; Fri, 5 Jul 2024 10:51:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A1381DD6 for ; Fri, 5 Jul 2024 10:51:45 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1720149491.80142e7440857617a1957448fd902cfb98d1bad8.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-client/castor/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-client/castor/castor-0.9.0-r1.ebuild net-client/castor/castor-0.9.0.ebuild X-VCS-Directories: net-client/castor/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 80142e7440857617a1957448fd902cfb98d1bad8 X-VCS-Branch: master Date: Fri, 5 Jul 2024 10:51:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a8412624-0994-4de2-88c8-ba2c53922824 X-Archives-Hash: ff8e9632906bcc5c46fd332ade0da025 commit: 80142e7440857617a1957448fd902cfb98d1bad8 Author: Lucio Sauer posteo net> AuthorDate: Fri Jul 5 00:30:32 2024 +0000 Commit: David Roman gmail com> CommitDate: Fri Jul 5 03:18:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80142e74 net-client/castor: tighten RDEPEND, fix doc file name Speed up Cargo SRC_URI generation Closes: https://bugs.gentoo.org/890012 Signed-off-by: Lucio Sauer posteo.net> net-client/castor/castor-0.9.0-r1.ebuild | 168 +++++++++++++++++++++++++++++++ net-client/castor/castor-0.9.0.ebuild | 164 ------------------------------ 2 files changed, 168 insertions(+), 164 deletions(-) diff --git a/net-client/castor/castor-0.9.0-r1.ebuild b/net-client/castor/castor-0.9.0-r1.ebuild new file mode 100644 index 000000000..c73e53afd --- /dev/null +++ b/net-client/castor/castor-0.9.0-r1.ebuild @@ -0,0 +1,168 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Autogenerated by pycargoebuild 0.13.3 + +CRATES=" + aho-corasick@0.7.18 + ansi-parser@0.6.5 + atk-sys@0.9.1 + atk@0.8.0 + autocfg@0.1.8 + autocfg@1.1.0 + bitflags@1.3.2 + cairo-rs@0.8.1 + cairo-sys-rs@0.9.2 + cc@1.0.73 + cfg-if@0.1.10 + cfg-if@1.0.0 + cloudabi@0.0.3 + core-foundation-sys@0.7.0 + core-foundation@0.7.0 + dirs-sys@0.3.7 + dirs@3.0.2 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + form_urlencoded@1.0.1 + fuchsia-cprng@0.1.1 + futures-channel@0.3.21 + futures-core@0.3.21 + futures-executor@0.3.21 + futures-io@0.3.21 + futures-macro@0.3.21 + futures-task@0.3.21 + futures-util@0.3.21 + gdk-pixbuf-sys@0.9.1 + gdk-pixbuf@0.8.0 + gdk-sys@0.9.1 + gdk@0.12.1 + getrandom@0.2.6 + gio-sys@0.9.1 + gio@0.8.1 + glib-sys@0.9.1 + glib@0.9.3 + gobject-sys@0.9.1 + gtk-sys@0.9.2 + gtk@0.8.1 + idna@0.2.3 + lazy_static@1.4.0 + libc@0.2.125 + linkify@0.7.0 + log@0.4.17 + matches@0.1.9 + memchr@2.5.0 + native-tls@0.2.4 + nom@4.2.3 + once_cell@1.10.0 + open@2.0.3 + openssl-macros@0.1.0 + openssl-probe@0.1.5 + openssl-sys@0.9.73 + openssl@0.10.40 + pango-sys@0.9.1 + pango@0.8.0 + pathdiff@0.2.1 + percent-encoding@2.1.0 + pin-project-lite@0.2.9 + pin-utils@0.1.0 + pkg-config@0.3.25 + proc-macro2@1.0.38 + quote@1.0.18 + rand@0.6.5 + rand_chacha@0.1.1 + rand_core@0.3.1 + rand_core@0.4.2 + rand_hc@0.1.0 + rand_isaac@0.1.1 + rand_jitter@0.1.4 + rand_os@0.1.3 + rand_pcg@0.1.2 + rand_xorshift@0.1.1 + rdrand@0.4.0 + redox_syscall@0.1.57 + redox_syscall@0.2.13 + redox_users@0.4.3 + regex-syntax@0.6.25 + regex@1.5.5 + remove_dir_all@0.5.3 + schannel@0.1.19 + security-framework-sys@0.4.3 + security-framework@0.4.4 + serde@1.0.137 + serde_derive@1.0.137 + slab@0.4.6 + smawk@0.3.1 + syn@1.0.94 + tempfile@3.0.8 + textwrap@0.14.2 + thiserror-impl@1.0.31 + thiserror@1.0.31 + tinyvec@1.6.0 + tinyvec_macros@0.1.0 + toml@0.5.9 + unicode-bidi@0.3.8 + unicode-linebreak@0.1.2 + unicode-normalization@0.1.19 + unicode-width@0.1.9 + unicode-xid@0.2.3 + url@2.2.2 + vcpkg@0.2.15 + version_check@0.1.5 + wasi@0.10.2+wasi-snapshot-preview1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 +" + +inherit cargo desktop xdg + +DESCRIPTION="A graphical browser for plain-text protocols" +HOMEPAGE="https://git.sr.ht/~julienxx/castor" +SRC_URI=" + https://git.sr.ht/~julienxx/castor/archive/${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS} +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.14 + >=dev-libs/glib-2.44:2 + dev-libs/openssl:= + >=x11-libs/cairo-1.12 + >=x11-libs/gdk-pixbuf-2.30:2 + >=x11-libs/gtk+-3.18:3 + >=x11-libs/pango-1.36 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings +QA_FLAGS_IGNORED="usr/bin/castor" + +src_test() { + # FIXME: test absolute_url::test_make_absolute_just_path fails without this, + # but I couldn't reproduce it. + RUST_BACKTRACE=1 cargo_src_test +} + +src_install() { + cargo_src_install + + einstalldocs + newdoc data/settings.toml settings.toml.example + + doicon data/org.typed-hole.castor.svg + local size + for size in 16 32 64 128; do + newicon --size ${size} data/org.typed-hole.castor-${size}.png \ + org.typed-hole.castor.png + done + domenu data/Castor.desktop +} diff --git a/net-client/castor/castor-0.9.0.ebuild b/net-client/castor/castor-0.9.0.ebuild deleted file mode 100644 index 91ff96fab..000000000 --- a/net-client/castor/castor-0.9.0.ebuild +++ /dev/null @@ -1,164 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - aho-corasick-0.7.18 - ansi-parser-0.6.5 - atk-0.8.0 - atk-sys-0.9.1 - autocfg-0.1.8 - autocfg-1.1.0 - bitflags-1.3.2 - cairo-rs-0.8.1 - cairo-sys-rs-0.9.2 - cc-1.0.73 - cfg-if-0.1.10 - cfg-if-1.0.0 - cloudabi-0.0.3 - core-foundation-0.7.0 - core-foundation-sys-0.7.0 - dirs-3.0.2 - dirs-sys-0.3.7 - foreign-types-0.3.2 - foreign-types-shared-0.1.1 - form_urlencoded-1.0.1 - fuchsia-cprng-0.1.1 - futures-channel-0.3.21 - futures-core-0.3.21 - futures-executor-0.3.21 - futures-io-0.3.21 - futures-macro-0.3.21 - futures-task-0.3.21 - futures-util-0.3.21 - gdk-0.12.1 - gdk-pixbuf-0.8.0 - gdk-pixbuf-sys-0.9.1 - gdk-sys-0.9.1 - getrandom-0.2.6 - gio-0.8.1 - gio-sys-0.9.1 - glib-0.9.3 - glib-sys-0.9.1 - gobject-sys-0.9.1 - gtk-0.8.1 - gtk-sys-0.9.2 - idna-0.2.3 - lazy_static-1.4.0 - libc-0.2.125 - linkify-0.7.0 - log-0.4.17 - matches-0.1.9 - memchr-2.5.0 - native-tls-0.2.4 - nom-4.2.3 - once_cell-1.10.0 - open-2.0.3 - openssl-0.10.40 - openssl-macros-0.1.0 - openssl-probe-0.1.5 - openssl-sys-0.9.73 - pango-0.8.0 - pango-sys-0.9.1 - pathdiff-0.2.1 - percent-encoding-2.1.0 - pin-project-lite-0.2.9 - pin-utils-0.1.0 - pkg-config-0.3.25 - proc-macro2-1.0.38 - quote-1.0.18 - rand-0.6.5 - rand_chacha-0.1.1 - rand_core-0.3.1 - rand_core-0.4.2 - rand_hc-0.1.0 - rand_isaac-0.1.1 - rand_jitter-0.1.4 - rand_os-0.1.3 - rand_pcg-0.1.2 - rand_xorshift-0.1.1 - rdrand-0.4.0 - redox_syscall-0.1.57 - redox_syscall-0.2.13 - redox_users-0.4.3 - regex-1.5.5 - regex-syntax-0.6.25 - remove_dir_all-0.5.3 - schannel-0.1.19 - security-framework-0.4.4 - security-framework-sys-0.4.3 - serde-1.0.137 - serde_derive-1.0.137 - slab-0.4.6 - smawk-0.3.1 - syn-1.0.94 - tempfile-3.0.8 - textwrap-0.14.2 - thiserror-1.0.31 - thiserror-impl-1.0.31 - tinyvec-1.6.0 - tinyvec_macros-0.1.0 - toml-0.5.9 - unicode-bidi-0.3.8 - unicode-linebreak-0.1.2 - unicode-normalization-0.1.19 - unicode-width-0.1.9 - unicode-xid-0.2.3 - url-2.2.2 - vcpkg-0.2.15 - version_check-0.1.5 - wasi-0.10.2+wasi-snapshot-preview1 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-x86_64-pc-windows-gnu-0.4.0 -" - -inherit cargo desktop xdg - -DESCRIPTION="A graphical browser for plain-text protocols" -HOMEPAGE="https://git.sr.ht/~julienxx/castor" -SRC_URI=" - https://git.sr.ht/~julienxx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris) -" - -# NOTE: Update after every dependency change (cargo-license helps) -LICENSE="Apache-2.0 BSD-2 ISC MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-libs/atk - dev-libs/glib:2 - dev-libs/openssl:= - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/pango -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings -QA_FLAGS_IGNORED="usr/bin/castor" - -src_test() { - # FIXME: test absolute_url::test_make_absolute_just_path fails without this, - # but I couldn't reproduce it. - RUST_BACKTRACE=1 cargo_src_test -} - -src_install() { - cargo_src_install - - einstalldocs - newdoc data/castor_settings.toml.example settings.toml.example - - doicon data/org.typed-hole.castor.svg - for icon in data/org.typed-hole.castor-*.png; do - local size=$(grep -Eo '[0-9]{2,3}' <<<${icon}) - newicon --size ${size} ${icon} $(basename ${icon/-${size}/}) - done - domenu data/Castor.desktop -}