Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940752 - net-misc/electrum: unnecessarily requires <dev-libs/libsecp256k1-0.4
Summary: net-misc/electrum: unnecessarily requires <dev-libs/libsecp256k1-0.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-10-04 11:49 UTC by Florian Schmaus
Modified: 2024-11-06 14:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schmaus gentoo-dev 2024-10-04 11:49:36 UTC
The current ebuild of electrum 4.5.5 declares that it requires <dev-libs/libsecp256k1-0.4. However, electrum switched to libsecp256k1 0.4.0 with 4.5.0 [1]. And to libsecp256k1 0.4.1 with 4.5.3 [2].

I think we can relax the restriction and declare <dev-libs/libsecp256k1-0.5 instead. This also has the advantage that electrum and bitcoin-core are co-installable on a system, which is currently not possible to libsecp256k1 not being slotted.

Side node: latest electrum development version uses libsecp256k1 0.5.0.


1: https://github.com/spesmilo/electrum/commit/e346d36851b0e6af9129ad31ef413b304df81cfb
2: https://github.com/spesmilo/electrum/commit/2ca180ddee9f8ba15255bc7314fea90a3954e534
Comment 1 Larry the Git Cow gentoo-dev 2024-10-22 14:49:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fafb46bd146b28cac6ede5d1d6417586c89f6deb

commit fafb46bd146b28cac6ede5d1d6417586c89f6deb
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-10-22 14:42:52 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-10-22 14:46:02 +0000

    net-misc/electrum: relax libsecp256k1 dependency restriction
    
    This changes the RDEPEND <dev-libs/libsecp256k1-0.4 to
    dev-libs/libsecp256k1. Ack'ed by mgorny in #-dev.
    
    Closes: https://github.com/gentoo/gentoo/pull/38941
    Closes: https://bugs.gentoo.org/940752
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 net-misc/electrum/{electrum-4.5.6.ebuild => electrum-4.5.6-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)