Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Portage ebuild to github branch possible?

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
blinker
n00b
n00b
User avatar
Posts: 25
Joined: Fri Aug 21, 2009 11:24 pm

Portage ebuild to github branch possible?

  • Quote

Post by blinker » Fri Feb 14, 2025 9:01 pm

Hello,

Last year media-sound/exaile was removed from portage because of a dependency on a package (Berkeley) deprecated in gentoo and fedora.

Recently, on the exaile github, someone created a branch that no longer depends on the Berkeley dependency
I adapted the old 9999 ebuild to use this branch and can compile and use exaile fine on my bran-new gentoo install.

My question is :
Would it be accepted to include an ebuild in portage if it is based on an github sub branch and not the main branch ?
If so, how would one proceed to remove the last right bug like this one https://bugs.gentoo.org/922816
Open a new bug? Submit a request somewhere else ?

More info on this in the exaile issue https://github.com/exaile/exaile/issues/915


The original ebiuld was taken here
https://gitweb.gentoo.org/repo/gentoo.g ... b93bbeb089

My new version is like this

Code: Select all

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{9..12} )
PYTHON_REQ_USE="sqlite"
inherit python-single-r1 xdg

if [[ ${PV} == "9999" ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/exaile/exaile.git"
  EGIT_BRANCH="sqlite"
else
	SRC_URI="https://github.com/${PN}/${PN}/archive/${PV/_/-}/${PN}-${PV/_/}.tar.gz"
	KEYWORDS="~amd64 ~x86"
	S="${WORKDIR}/${PN}-${PV/_/-}"
fi

DESCRIPTION="GTK+ based media player aiming to be similar to Amarok"
HOMEPAGE="https://www.exaile.org/"
LICENSE="GPL-2 GPL-3"
SLOT="0"
# IUSE+=cddb if have dev-python/cddb-py
IUSE="libnotify nls scrobbler"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

BDEPEND="
	nls? (
		dev-util/intltool
		sys-devel/gettext
	)
"
RDEPEND="${PYTHON_DEPS}
	media-libs/gst-plugins-base:1.0
	media-libs/gst-plugins-good:1.0
	media-plugins/gst-plugins-meta:1.0
	x11-libs/gtk+:3[introspection]
	libnotify? ( x11-libs/libnotify[introspection] )
	$(python_gen_cond_dep '
		dev-python/dbus-python[${PYTHON_USEDEP}]
		dev-python/gst-python:1.0[${PYTHON_USEDEP}]
		dev-python/pycairo[${PYTHON_USEDEP}]
		dev-python/pygobject:3[${PYTHON_USEDEP}]
		media-libs/mutagen[${PYTHON_USEDEP}]
		scrobbler? ( dev-python/pylast[${PYTHON_USEDEP}] )
	')
"
#  	dev-python/bsddb3[${PYTHON_USEDEP}]	


RESTRICT="test" #315589

pkg_setup() {
	python-single-r1_pkg_setup
}

src_compile() {
	use nls && emake locale
}

src_install() {
	emake \
		PREFIX=/usr \
		LIBINSTALLDIR=/usr/$(get_libdir) \
		DESTDIR="${D}" \
		install$(use nls || echo _no_locale)

	python_optimize "${D}/usr/$(get_libdir)/${PN}"
	python_optimize "${D}/usr/share/${PN}"
}

Thanks
Top
Banana
Moderator
Moderator
User avatar
Posts: 2363
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Mon Feb 17, 2025 7:26 am

My question is :
Would it be accepted to include an ebuild in portage if it is based on an github sub branch and not the main branch ?
If so, how would one proceed to remove the last right bug like this one https://bugs.gentoo.org/922816
Open a new bug? Submit a request somewhere else ?
Either way, open a bug and also reference/mention bug 922816

All the stuff needed to be done or changed is handled as a bug.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
blinker
n00b
n00b
User avatar
Posts: 25
Joined: Fri Aug 21, 2009 11:24 pm

  • Quote

Post by blinker » Tue Feb 25, 2025 4:15 am

Thanks, i will do that
Top
blinker
n00b
n00b
User avatar
Posts: 25
Joined: Fri Aug 21, 2009 11:24 pm

  • Quote

Post by blinker » Wed Feb 26, 2025 10:49 pm

Opened bug https://bugs.gentoo.org/950323
Top
Post Reply

4 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy