Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267693 - media-plugins/vdr-music cannot build with recent media-gfx/imagemagick
Summary: media-plugins/vdr-music cannot build with recent media-gfx/imagemagick
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VDR Project
URL: http://www.vdr.glaserei-franz.de/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-27 20:04 UTC by Markus Rathgeb
Modified: 2010-12-30 13:41 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 Markus Rathgeb 2009-04-27 20:04:57 UTC
The same problem with ImageMagick as here: http://bugs.gentoo.org/246234
Changed directory for ImageMagick, etc.

With the following patch it is working:
=============
--- music-0.2.0/Makefile.org        2009-04-27 21:47:43.000000000 +0200
+++ music-0.2.0/Makefile    2009-04-27 21:50:03.000000000 +0200
@@ -141,7 +141,8 @@
 
 ifdef HAVE_MAGICK
 	DEFINES += -DHAVE_MAGICK
-	LIBS += -lMagick -lMagick++
+	LIBS += -lMagick++
+	INCLUDES += -I/usr/include/ImageMagick
 else
 	DEFINES += -DHAVE_IMLIB2
 	LIBS += -lImlib2
=============

Save the patch (e.g. "${FILESDIR}"/imagemagick.patch) and adjust the PATCHES in the ebuild:

PATCHES=("${FILESDIR}/${P}-gentoo.diff"
        "${FILESDIR}/${P}-vdr-1.5.x.diff"
        "${FILESDIR}/${P}-lyrics.diff"
        "${FILESDIR}/${P}-gcc4.3.diff"
        "${FILESDIR}"/imagemagick.patch
)


Reproducible: Always
Comment 1 Markus Rathgeb 2009-04-28 04:55:18 UTC
media-plugins/vdr-music-0.2.0
The set USE-Flags: imagemagick sndfile vorbis
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-28 19:36:53 UTC
It would me much more handy for our devs if you could attach patches as unified diffs (diff -u).
Comment 3 Markus Rathgeb 2009-04-29 04:57:19 UTC
(In reply to comment #2)
> It would me much more handy for our devs if you could attach patches as unified
> diffs (diff -u).
> 

Hi!

The patch for "Makefile" was created with "diff -Naur" so this should be okay. Or am I missing something?

A created patch have to be applied - so a line to the ebuild must be added. IMHO this is trivial for any ebuild writer to add this line.
But surely I can also post a "diff -Naur" for the ebuild next time.

Have a nice day.
Comment 4 Jens Stutte 2010-04-23 12:42:30 UTC
Are there any news on this issue? I fixed it for me, adding a brute -I/usr/include/ImageMagick/ to my CFLAGS in make.conf, but for sure it's not the most elegant way (and recently this caused a problem with another ebuild).
Comment 5 Markus Rathgeb 2010-04-25 21:02:28 UTC
It seems that vdr-music could not be built with the vdr 1.7 API, so I adjusted that dependency in the ebuild too.
You could try the ebuild in my overlay (maggu2810-overlay).
It should work, but I cannot test it, because I use the 1.7 API.
Comment 6 Joerg Bornkessel (RETIRED) gentoo-dev 2010-12-30 13:41:18 UTC
oops, duplicaded bug
http://bugs.gentoo.org/show_bug.cgi?id=274159

ist fixed now