Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512532 - media-sound/wildmidi-0.3.7 github homepage / SRC_URI change?
Summary: media-sound/wildmidi-0.3.7 github homepage / SRC_URI change?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL: https://github.com/psi29a/wildmidi
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 20:27 UTC by O.Sezer
Modified: 2014-06-07 10:29 UTC (History)
0 users

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 O.Sezer 2014-06-05 20:27:06 UTC
wildmidi-0.3.7 was re-tagged, so its ebuild needs updating.
https://github.com/Mindwerks/wildmidi/releases/tag/wildmidi-0.3.7


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-05 20:42:24 UTC
http://www.mindwerks.net/projects/wildmidi/ newly(?) points to [URL] instead of the current SRC_URI/HOMEPAGE.
Comment 2 O.Sezer 2014-06-05 21:11:33 UTC
(In reply to Jeroen Roovers from comment #1)
> http://www.mindwerks.net/projects/wildmidi/ newly(?) points to [URL] instead
> of the current SRC_URI/HOMEPAGE.

https://github.com/psi29a/wildmidi already redirects to https://github.com/Mindwerks/wildmidi

The ebuild change needed, I think (by comparison to previous 0.3.6), is like:
--- wildmidi-0.3.7.ebuild~
+++ wildmidi-0.3.7.ebuild
@@ -7,7 +7,7 @@
 
 DESCRIPTION="Midi processing library and a midi player using the gus patch set"
 HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/"
-SRC_URI="http://github.com/Mindwerks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="http://github.com/Mindwerks/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-3"
 SLOT="0"
@@ -27,6 +27,8 @@
 	A default configuration file was placed on /etc/${PN}/${PN}.cfg.
 	For more information please read the ${PN}.cfg manpage."
 
+S="${WORKDIR}"/${PN}-${P}
+
 src_prepare() {
 	# alsa openal oss only make sense if player is enabled. See CMakeLists.txt
 	if ! use player && (use alsa || use openal || use oss); then
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2014-06-07 10:29:37 UTC
(In reply to O.Sezer from comment #2)
> (In reply to Jeroen Roovers from comment #1)
> > http://www.mindwerks.net/projects/wildmidi/ newly(?) points to [URL] instead
> > of the current SRC_URI/HOMEPAGE.
> 
> https://github.com/psi29a/wildmidi already redirects to
> https://github.com/Mindwerks/wildmidi
> 
> The ebuild change needed, I think (by comparison to previous 0.3.6), is like:
> --- wildmidi-0.3.7.ebuild~
> +++ wildmidi-0.3.7.ebuild
> @@ -7,7 +7,7 @@
>  
>  DESCRIPTION="Midi processing library and a midi player using the gus patch
> set"
>  HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/"
> -SRC_URI="http://github.com/Mindwerks/${PN}/archive/${PV}.tar.gz ->
> ${P}.tar.gz"
> +SRC_URI="http://github.com/Mindwerks/${PN}/archive/${P}.tar.gz"
>  
>  LICENSE="GPL-3 LGPL-3"
>  SLOT="0"
> @@ -27,6 +27,8 @@
>  	A default configuration file was placed on /etc/${PN}/${PN}.cfg.
>  	For more information please read the ${PN}.cfg manpage."
>  
> +S="${WORKDIR}"/${PN}-${P}
> +
>  src_prepare() {
>  	# alsa openal oss only make sense if player is enabled. See CMakeLists.txt
>  	if ! use player && (use alsa || use openal || use oss); then

Did you actually test this patch?

S="${WORKDIR}"/${PN}-${P}

is wrong

Anyway I applied this patch for now.

-SRC_URI="http://github.com/Mindwerks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="http://github.com/Mindwerks/${PN}/archive/${P}.tar.gz"