Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312995 - media-sound/gmpc-0.20.0 version bump
Summary: media-sound/gmpc-0.20.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-03 16:39 UTC by Kaleb Elwert (belak)
Modified: 2011-01-23 11:11 UTC (History)
4 users (show)

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


Attachments
Ebuild updates for gmpc-0.20.0 (gmpc-ebuild-0.19.1-to-0.20.0.patch,1.64 KB, patch)
2010-04-09 17:35 UTC, Didier Barvaux
Details | Diff
Ebuild updates for gmpc-0.20.0 (gmpc-ebuild-0.19.1-to-0.20.0.patch,1.62 KB, patch)
2010-04-09 17:37 UTC, Didier Barvaux
Details | Diff
Patch to avoid the requirement for a vala compiler (gmpc-0.20.0-avoid-useless-vala-dependency.patch,423 bytes, patch)
2010-04-09 17:38 UTC, Didier Barvaux
Details | Diff
Patch to remove unused targets in Makefile.am files (gmpc-0.20.0-fix-defined-but-not-used-in-makefiles.patch,633 bytes, patch)
2010-04-09 17:38 UTC, Didier Barvaux
Details | Diff
Patch to remove trailing-whitespace in Makefile.am files (gmpc-0.20.0-fix-trailing-whitespace-in-makefiles.patch,1.48 KB, patch)
2010-04-09 17:39 UTC, Didier Barvaux
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kaleb Elwert (belak) 2010-04-03 16:39:32 UTC
Pretty simple (I hope). Just a version bump to 0.20.0 would be nice.

Reproducible: Always

Steps to Reproduce:
1. emerge -v gmpc
Comment 1 Kaleb Elwert (belak) 2010-04-03 16:47:44 UTC
Just a rename of the ebuild worked for me, so this should be easy to implement.
Comment 2 Didier Barvaux 2010-04-09 17:35:05 UTC
Created attachment 227157 [details, diff]
Ebuild updates for gmpc-0.20.0

In fact, it is not quite easy. A simple rename of the previous ebuild fails on my system because no Vala compiler is installed.

Here is an ebuild update for gmpc-0.20.0 that works without Vala compiler:
  * Apply a patch to remove the check on the Vala compiler in the configure
    script. This is OK because Vala is only used during the build to generate
    several C files that are already provided in the source tarball. This
    avoids adding a build dependency on package dev-lang/vala.
  * Use eutils and autotools eclasses for epatch and eautoreconf calls.
  * Apply a patch on Makefile.am files to remove unused targets. This is
    required for eautoreconf to work.
  * Apply a patch on Makefile.am files to remove trailing-whitespace. This is
    required for eautoreconf to work.
  * Add dependency on >=media-libs/libmpd-0.19.2 as required by upstream.

I'm going to attach the 3 patches to the bug.
Comment 3 Didier Barvaux 2010-04-09 17:37:04 UTC
Created attachment 227159 [details, diff]
Ebuild updates for gmpc-0.20.0
Comment 4 Didier Barvaux 2010-04-09 17:38:12 UTC
Created attachment 227161 [details, diff]
Patch to avoid the requirement for a vala compiler
Comment 5 Didier Barvaux 2010-04-09 17:38:55 UTC
Created attachment 227163 [details, diff]
Patch to remove unused targets in Makefile.am files
Comment 6 Didier Barvaux 2010-04-09 17:39:22 UTC
Created attachment 227165 [details, diff]
Patch to remove trailing-whitespace in Makefile.am files
Comment 7 Anthony Waters 2010-05-04 00:16:21 UTC
The patch for the ebuild and the patches work for me on amd64 (although I had to create an ebuild for libmpd-0.20.0)

Comment 8 Christoph Mende (RETIRED) gentoo-dev 2010-05-18 18:06:55 UTC
Please contact upstream for your source patches, those are not needed, so they won't be included here.
To that vala patch, it seems like the current git version already removes the generated C source, so vala will be needed sooner or later. I've asked upstream about the situation, but it looks like we will need the dependency.
Comment 9 Didier Barvaux 2010-05-18 18:35:39 UTC
(In reply to comment #8)
> Please contact upstream for your source patches, those are not needed, so they
> won't be included here.
> To that vala patch, it seems like the current git version already removes the
> generated C source, so vala will be needed sooner or later. I've asked upstream
> about the situation, but it looks like we will need the dependency.

Where did you asked upstream about the situation? I could not find anything on the mailing list or forums. Anyway, if upstream decides not to include generated C files in release tarballs anymore, my patches are indeed useless. 
Comment 10 Christoph Mende (RETIRED) gentoo-dev 2010-05-19 08:12:39 UTC
on IRC:
18/195645 < angelos> DaveDavenport: is there any reason you want to remove the vala generated C source from gmpc?
18/195654 < angelos> shipping it would save a dependency on vala for source distros
19/005555 <@DaveDavenport> angelos: less crap to ship, less makefile voodoo

so I'm gonna bump it this afternoon with the vala dep.
Please take the other patches upstream anyway.
Comment 11 Anton Romanov 2010-05-20 17:25:39 UTC
it would also be great to install (with use flag maybe) vapi files into vala's vapi directory (for plugin development) ( /usr/share/vala/vapi/ )
Comment 12 Didier Barvaux 2011-01-23 11:11:43 UTC
> so I'm gonna bump it this afternoon with the vala dep.
> Please take the other patches upstream anyway.

Done here: http://musicpd.org/mantis/view.php?id=3160