Greetings everyone, May I suggest adding net-p2p/dogecoin-dev name and ebuilds in Gentoo's official repository? I am a user of Gentoo Linux and Calculate Linux and would like to propose adding net-p2p/dogecoin-dev for developer use. I have noticed there are already various ebuilds available, in net-p2p, for Bitcoin, Litecoin and Ethereum. The dogecoin-dev ebuild I am proposing would be primarily geared for developers working on Dogecoin Core developer versions. It would have the option such as: installing Dogecoin Core with/without source, gui, test components. Please see below dogecoin-dev ebuild I have created for this purpose (my first ebuild with a little help with 'usex' function): # Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Official Dogecoin Core ${PV} Development Release" HOMEPAGE="https://github.com/dogecoin" SRC_URI="https://github.com/dogecoin/dogecoin/archive/refs/heads/${PV}-dev.zip -> ${P}.zip" LICENSE="MIT" SLOT="0" DB_VER="5.3" KEYWORDS="~amd64 ~x86" IUSE="gui +src test +wallet zmq" REQUIRED_USE="^^ ( wallet )" DEPEND=" dev-libs/libevent:= dev-libs/protobuf dev-libs/openssl sys-devel/libtool sys-devel/automake dev-libs/boost wallet? ( sys-libs/db:=[cxx] ) gui? ( dev-qt/qtcore dev-qt/qtgui dev-qt/qtwidgets dev-qt/qtdbus dev-qt/linguist-tools media-gfx/qrencode ) zmq? ( net-libs/cppzmq ) " RDEPEND="${DEPEND}" BDEPEND=" sys-devel/autoconf sys-devel/automake " S="${WORKDIR}/dogecoin-${PV}-dev" src_configure() { chmod 755 ./autogen.sh ./autogen.sh || die "autogen failed" local my_econf=( --enable-cxx --with-incompatible-bdb CPPFLAGS="-I/usr/include/db${DB_VER}" CFLAGS="-I/usr/include/db${DB_VER}" --with-gui=$(usex gui qt5 no) $(use_enable test tests) $(use_with gui qt-incdir /usr/include/qt5) ) econf "${my_econf[@]}" } src_install() { emake DESTDIR="${D}" install } pkg_postinst() { if use src; then mv ${S} "/usr/src" fi elog "Thank you for installing ${P}!" elog "Please submit any issues at https://github.com/dogecoin/dogecoin/issues" elog "Doge executables have been placed in /usr/bin." elog "If you built with sources using 'src' USE flag, source files have been placed in /usr/src directory under ${P} name." } I tested this ebuild with plasma-meta and xfce installations on Gentoo as well as on Calculate Linux CLD (KDE installation) and CLDX (XFCE) and the dogecoin-dev was successfully installed with various USE flag combinations. I hope this approach would make it easier and more efficient for developers using Gentoo Linux systems to install Dogecoin Core developer versions without having to manually specify dependencies and configure options. Thank you, Victor. Reproducible: Always
Thank you for your contribution. I had a short look on the ebuild. Here a few ideas: * DESCRIPTION should be without variables * Please test the ebuild with repoman full -d -x https://wiki.gentoo.org/wiki/Repoman and pkgcheck scan --net SRC_URI="https://github.com/${PN}/${PN}/archive/refs/heads/${PV}-dev.zip -> ${P}.zip" and check if there is a .tar.gz, so that we do not need a dependency on zip * Please be more specific in the DESCRIPTION. The objective description may be <=80 characters long. Official wallet for the Dogecoin crypto currency (or what ever this is) * dev-libs/boost which version? * A bot can look for additional mistakes, if you upload a PR via github * elog "Thank you for installing ${P}!" no chitchat ^^ * elog "Please submit any issues at https://github.com/dogecoin/dogecoin/issues" goes to metadata.xml see https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/index.html
Hi, Thank you so much for your feedback. I will work at the changes mentioned. Sincerely, Victor.
Created attachment 737737 [details] net-p2p/dogecoin package Hi, Please find attached net-p2p/dogecoin package containing ebuilds and metadata.xml with implemented changes as per Comment 1 and some additional fixes. I will submit PR through GitHub once the Gentoo repository clone process is finished. Thank you, Victor.
$ sudo emerge -av dogecoin * IMPORTANT: 19 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 3.89 s (backtrack: 2/20). emerge: there are no ebuilds to satisfy "sys-devel/libtool". (dependency required by "net-p2p/dogecoin-1.14.5::local" [ebuild]) (dependency required by "dogecoin" [argument])
my profile: [19] default/linux/amd64/17.1/clang (exp) *