<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>66226</bug_id>
          
          <creation_ts>2004-10-03 10:58 0000</creation_ts>
          <short_desc>dvdauthor (0.6.10 at least) needs patch to work with stabel imagemagick-6.0.7.1</short_desc>
          <delta_ts>2004-11-07 16:36:02 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sebastian_ml@gmx.net</reporter>
          <assigned_to>media-video@gentoo.org</assigned_to>
          <cc>m.debruijne@matrict.nl</cc>
    
    <cc>philippe.weibel@free.fr</cc>

      

      
          <long_desc isprivate="0">
            <who>sebastian_ml@gmx.net</who>
            <bug_when>2004-10-03 10:58:06 0000</bug_when>
            <thetext>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&apos;t work with any other version of IM than 6.0.7.

&quot;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&apos;s a line that reads:
p.t=255-pdata[x*4+3];
Change this to:
p.t=pdata[x*4+3];&quot;

I don&apos;t have any knowledge of coding so I don&apos;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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O2 -mmmx -msse -m3dnow -mfpmath=sse -pipe
-fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O2 -mmmx -msse -m3dnow -mfpmath=sse -pipe
-fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache distcc sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo&quot;
MAKEOPTS=&quot;-j5&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow crypt mmx ncurses nls readline sse ssl x86 zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philippe.weibel@free.fr</who>
            <bug_when>2004-10-21 12:32:42 0000</bug_when>
            <thetext>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?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philippe.weibel@free.fr</who>
            <bug_when>2004-10-21 12:33:24 0000</bug_when>
            <thetext>Created an attachment (id=42331)
dvdauthor-0.6.10-r1.ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>philippe.weibel@free.fr</who>
            <bug_when>2004-10-21 12:33:54 0000</bug_when>
            <thetext>Created an attachment (id=42332)
files/dvdauthor-0.6.10-im6.patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sebastian_ml@gmx.net</who>
            <bug_when>2004-10-31 15:44:24 0000</bug_when>
            <thetext>Hi,

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

Sebastian</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sekretarz@gentoo.org</who>
            <bug_when>2004-11-07 16:36:02 0000</bug_when>
            <thetext>Fixed in portage</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>42331</attachid>
            <date>2004-10-21 12:33 0000</date>
            <desc>dvdauthor-0.6.10-r1.ebuild</desc>
            <filename>dvdauthor-0.6.10-r1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L21lZGlhLXZpZGVvL2R2ZGF1dGhvci9kdmRhdXRo
b3ItMC42LjEwLmVidWlsZCx2IDEuOSAyMDA0LzEwLzA0IDE0OjM5OjA4IHBob3NwaGFuIEV4cCAk
Cgppbmhlcml0IGV1dGlscyA2NC1iaXQKCkRFU0NSSVBUSU9OPSJUb29scyBmb3IgZ2VuZXJhdGlu
ZyBEVkQgZmlsZXMgdG8gYmUgcGxheWVkIG9uIHN0YW5kYWxvbmUgRFZEIHBsYXllcnMiCkhPTUVQ
QUdFPSJodHRwOi8vZHZkYXV0aG9yLnNvdXJjZWZvcmdlLm5ldC8iClNSQ19VUkk9Im1pcnJvcjov
L3NvdXJjZWZvcmdlLyR7UE59LyR7UH0udGFyLmd6IgoKTElDRU5TRT0iR1BMLTIiClNMT1Q9IjAi
CktFWVdPUkRTPSJ+eDg2IH5wcGMgfnNwYXJjIGFtZDY0IH5wcGM2NCIKSVVTRT0iIgoKREVQRU5E
PSJtZWRpYS1saWJzL2xpYmR2ZHJlYWQKCT49bWVkaWEtZ2Z4L2ltYWdlbWFnaWNrLTUuNS43LjE0
Cgk+PWRldi1saWJzL2xpYnhtbDItMi41LjAiCgpzcmNfdW5wYWNrKCkgewoJdW5wYWNrICR7QX0K
CWNkICR7U30KCWVwYXRjaCAke0ZJTEVTRElSfS8ke1B9LWdjYzM0LnBhdGNoCgloYXNfdmVyc2lv
biAnPj1tZWRpYS1nZngvaW1hZ2VtYWdpY2stNicgJiYgZXBhdGNoICR7RklMRVNESVJ9LyR7UH0t
aW02LnBhdGNoCgk2NC1iaXQgJiYgZXBhdGNoICR7RklMRVNESVJ9LyR7UH0tdXRmOC5wYXRjaAp9
CgpzcmNfaW5zdGFsbCgpIHsKCW1ha2UgaW5zdGFsbCBERVNURElSPSR7RH0gfHwgZGllICJpbnN0
YWxsYXRpb24gZmFpbGVkIgoJZG9kb2MgUkVBRE1FIEhJU1RPUlkgVE9ETwp9Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>42332</attachid>
            <date>2004-10-21 12:33 0000</date>
            <desc>files/dvdauthor-0.6.10-im6.patch</desc>
            <filename>dvdauthor-0.6.10-im6.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9zdWJnZW4taW1hZ2UuYy5vcmlnCTIwMDQtMTAtMjEgMjE6MjQ6MjEuNTE1OTE5MjA4
ICswMjAwCisrKyBzcmMvc3ViZ2VuLWltYWdlLmMJMjAwNC0xMC0yMSAyMToyNDozOS43MjgxNTA1
MjggKzAyMDAKQEAgLTE3Nyw3ICsxNzcsNyBAQAogICAgICAgICAgICAgcC5yPXBkYXRhW3gqNF07
CiAgICAgICAgICAgICBwLmc9cGRhdGFbeCo0KzFdOwogICAgICAgICAgICAgcC5iPXBkYXRhW3gq
NCsyXTsKLSAgICAgICAgICAgIHAudD0yNTUtcGRhdGFbeCo0KzNdOworICAgICAgICAgICAgcC50
PXBkYXRhW3gqNCszXTsKICAgICAgICAgICAgIHB1dHBpeGVsKHMseSpzLT53aWR0aCt4LCZwKTsK
ICAgICAgICAgfQogICAgIH0K
</data>        

          </attachment>
    </bug>

</bugzilla>