Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66226 - dvdauthor (0.6.10 at least) needs patch to work with stabel imagemagick-6.0.7.1
Summary: dvdauthor (0.6.10 at least) needs patch to work with stabel imagemagick-6.0.7.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-10-03 10:58 UTC by Sebastian
Modified: 2004-11-07 16:36 UTC (History)
2 users (show)

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


Attachments
dvdauthor-0.6.10-r1.ebuild (dvdauthor-0.6.10-r1.ebuild,901 bytes, text/plain)
2004-10-21 12:33 UTC, Philippe Weibel
Details
files/dvdauthor-0.6.10-im6.patch (dvdauthor-0.6.10-im6.patch,360 bytes, text/plain)
2004-10-21 12:33 UTC, Philippe Weibel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2004-10-03 10:58:06 UTC
When using dvdauthor with imagemagick 6.0.7.1 buttons in the dvd menu get interpreted as on big white full screen button. 

This patch is not from me, I got it from somebody else who discovered it at a ML. I found discussion about this at dvdauthor-users:

http://article.gmane.org/gmane.comp.multimedia.dvdauthor.user/2068

The patch is simple and as I understand wouldn't work with any other version of IM than 6.0.7.

"You can fix this by either not using ImageMagick when you build
dvdauthor, or patching the code. In src/subgen-image.c line 180,
there's a line that reads:
p.t=255-pdata[x*4+3];
Change this to:
p.t=pdata[x*4+3];"

I don't have any knowledge of coding so I don't know how to go with this further and if this is the proper way to do things (the discussion following the above link). I can just apply the patch and watch how it develops with IM and dvdauthor in the futere.

Have a good one

Sebastian

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -mmmx -msse -m3dnow -mfpmath=sse -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mmmx -msse -m3dnow -mfpmath=sse -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow crypt mmx ncurses nls readline sse ssl x86 zlib"
Comment 1 Philippe Weibel 2004-10-21 12:32:42 UTC
I confirm the bug with stable imagemagick-6 (works with imagemagick-5). I modified the sourcecode as explained in the forum (removed the 255- in file subgen-image.c).

It corrected the bug for me.
Could someone add following attached files to portage?
Comment 2 Philippe Weibel 2004-10-21 12:33:24 UTC
Created attachment 42331 [details]
dvdauthor-0.6.10-r1.ebuild
Comment 3 Philippe Weibel 2004-10-21 12:33:54 UTC
Created attachment 42332 [details]
files/dvdauthor-0.6.10-im6.patch
Comment 4 Sebastian 2004-10-31 15:44:24 UTC
Hi,

the change to dvdauthor is still relevant with stable IM 6.1.0.1.

Sebastian
Comment 5 Karol Wojtaszek (RETIRED) gentoo-dev 2004-11-07 16:36:02 UTC
Fixed in portage