<?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>154353</bug_id>
          
          <creation_ts>2006-11-07 05:24 0000</creation_ts>
          <short_desc>Add jpeg2k use flag to media-libs/netpbm</short_desc>
          <delta_ts>2006-11-07 12:40:13 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>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>betelgeuse@gentoo.org</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-11-07 05:24:35 0000</bug_when>
            <thetext>Like the other use flags, jasper is not mandatory so I added a jpeg2k use flag for it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-11-07 05:41:34 0000</bug_when>
            <thetext>Created an attachment (id=101391)
Patch against netpbm-10.36.ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2006-11-07 06:18:35 0000</bug_when>
            <thetext>Looks fine, please commit =)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-11-07 10:31:58 0000</bug_when>
            <thetext>that isnt how it works ... netpbm will use the bundled jasper version of you set that value to NONE and that certainly is not correct</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-11-07 12:04:00 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; that isnt how it works ... netpbm will use the bundled jasper version of you
&gt; set that value to NONE and that certainly is not correct
&gt; 

Please read converter/other/jpeg2000/Makefile again. Relevant code:
ifneq ($(JASPERHDR_DIR),NONE)
  ifneq ($(JASPERLIB_USE),NONE)
    BINARIES = pamtojpeg2k jpeg2ktopam
  endif
endif
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-11-07 12:40:13 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; that isnt how it works ... netpbm will use the bundled jasper version of you
&gt; set that value to NONE and that certainly is not correct
&gt; 

I verified this with rm -r libjasper and ebuild netpbm-10.36.ebuild compile worked just fine. install had problems because of the SUBDIRS variable. I could of course send a patch upstream that disables the libjasper SUBDIR when jasper support is off and then we can just rm the internal copy. Any way this bug can be marked fixed.w</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>101391</attachid>
            <date>2006-11-07 05:41 0000</date>
            <desc>Patch against netpbm-10.36.ebuild</desc>
            <filename>netpbm-10.36.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC9yb290L25ldHBibS0xMC4zNi4wLmVidWlsZAkyMDA2LTExLTA3IDE1OjM3OjQwLjAwMDAw
MDAwMCArMDIwMAorKysgbmV0cGJtLTEwLjM2LjAuZWJ1aWxkCTIwMDYtMTEtMDcgMTU6Mzg6MTku
MDAwMDAwMDAwICswMjAwCkBAIC0xMywxNiArMTMsMTYgQEAKIExJQ0VOU0U9IkdQTC0yIgogU0xP
VD0iMCIKIEtFWVdPUkRTPSJ+YWxwaGEgfmFtZDY0IH5hcm0gfmhwcGEgfmlhNjQgfm1pcHMgfnBw
YyB+cHBjNjQgfnMzOTAgfnNoIH5zcGFyYyB+eDg2IH54ODYtZmJzZCIKLUlVU0U9InN2Z2EganBl
ZyB0aWZmIHBuZyB4bWwgemxpYiIKK0lVU0U9InN2Z2EganBlZyBqcGVnMmsgdGlmZiBwbmcgeG1s
IHpsaWIiCiAKIERFUEVORD0ianBlZz8gKCA+PW1lZGlhLWxpYnMvanBlZy02YiApCisJanBlZzJr
PyAoIG1lZGlhLWxpYnMvamFzcGVyICkKIAl0aWZmPyAoID49bWVkaWEtbGlicy90aWZmLTMuNS41
ICkKIAlwbmc/ICggPj1tZWRpYS1saWJzL2xpYnBuZy0xLjIuMSApCiAJeG1sPyAoIGRldi1saWJz
L2xpYnhtbDIgKQogCXpsaWI/ICggc3lzLWxpYnMvemxpYiApCiAJc3ZnYT8gKCBtZWRpYS1saWJz
L3N2Z2FsaWIgKQogCW1lZGlhLWxpYnMvamJpZ2tpdAotCW1lZGlhLWxpYnMvamFzcGVyCiAJbWVk
aWEtbGlicy91cnQiCiAKIG5ldHBibV9saWJ0eXBlKCkgewpAQCAtNDUsNiArNDUsMTAgQEAKIAl1
c2UgJDEgJiYgZWNobyAtbCR7MjotJDF9IHx8IGVjaG8gTk9ORQogfQogCituZXRwYm1famFzcGVy
KCkgeworCXVzZSAhanBlZzJrICYmIGVjaG8gTk9ORQorfQorCiBzcmNfdW5wYWNrKCkgewogCXVu
cGFjayAke0F9CiAJY2QgIiR7U30iCkBAIC04Myw3ICs4Nyw3IEBACiAJSkJJR0xJQiA9IC1samJp
ZwogCUpCSUdIRFJfRElSID0KIAlKQVNQRVJMSUIgPSAtbGphc3BlcgotCUpBU1BFUkhEUl9ESVIg
PQorCUpBU1BFUkhEUl9ESVIgPSAkKG5ldHBibV9qYXNwZXIpCiAJVVJUTElCID0gLWxybGUKIAlV
UlRIRFJfRElSID0KIAlFT0YK
</data>        

          </attachment>
    </bug>

</bugzilla>