<?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>195043</bug_id>
          
          <creation_ts>2007-10-08 01:33 0000</creation_ts>
          <short_desc>sci-mathematics/maxima: broken Emacs support</short_desc>
          <delta_ts>2007-10-08 14:29:51 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>REGRESSION</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulm@gentoo.org</reporter>
          <assigned_to>sci-mathematics@gentoo.org</assigned_to>
          <cc>emacs@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-10-08 01:33:58 0000</bug_when>
            <thetext>Emacs support is broken in all versions &gt;=maxima-5.11.0-r2, last good version was 5.11.0-r1 (which is no longer in the tree). To reproduce, type &quot;M-x maxima RET&quot; in Emacs, which will result in an error message &quot;Cannot open load file: maxima&quot;.

The reason is that handling of the load-path was incorrectly changed between revisions 5.11.0-r1 and -r2.

Attached patches will restore the previous behaviour and therefore fix the problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-10-08 01:36:40 0000</bug_when>
            <thetext>Created an attachment (id=132874)
Patch for maxima-5.13.0-r1.ebuild

This should be applied to all versions &gt;=maxima-5.11.0-r2.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-10-08 01:38:24 0000</bug_when>
            <thetext>Created an attachment (id=132875)
Patch for files/50maxima-gentoo.el

This will just undo the previous change to the site-init file.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-10-08 07:00:55 0000</bug_when>
            <thetext>As an alternative to applying the two patches, one could call
    einstall emacsdir=&quot;${D}${SITELISP}/${PV}&quot;

This would install the elisp files in /usr/share/emacs/site-lisp/maxima which is the canonical location for Emacs.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2007-10-08 10:14:02 0000</bug_when>
            <thetext>fixed. thanks.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-10-08 11:05:18 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; fixed. thanks.

Huh? Looks like you only removed the old versions, but didn&apos;t apply the patches.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-10-08 11:07:09 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; [...] didn&apos;t apply the patches.

... neither applied the patches, nor took the solution of comment #3 (which would also be valid).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bicatali@gentoo.org</who>
            <bug_when>2007-10-08 11:20:56 0000</bug_when>
            <thetext>thanks for the double check.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-10-08 14:29:51 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; As an alternative to applying the two patches, one could call
&gt;     einstall emacsdir=&quot;${D}${SITELISP}/${PV}&quot;

Stupid typo, this should be ${PN} instead of ${PV}. Corrected in CVS.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>132874</attachid>
            <date>2007-10-08 01:36 0000</date>
            <desc>Patch for maxima-5.13.0-r1.ebuild</desc>
            <filename>maxima-5.13.0-r1.ebuild.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IG1heGltYS01LjEzLjAtcjEuZWJ1aWxkCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC92YXIv
Y3Zzcm9vdC9nZW50b28teDg2L3NjaS1tYXRoZW1hdGljcy9tYXhpbWEvbWF4aW1hLTUuMTMuMC1y
MS5lYnVpbGQsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMQpkaWZmIC11IC1CIC1yMS4xIG1heGlt
YS01LjEzLjAtcjEuZWJ1aWxkCi0tLSBtYXhpbWEtNS4xMy4wLXIxLmVidWlsZAk2IE9jdCAyMDA3
IDE0OjAyOjQxIC0wMDAwCTEuMQorKysgbWF4aW1hLTUuMTMuMC1yMS5lYnVpbGQJOCBPY3QgMjAw
NyAwMToyMDoyOSAtMDAwMApAQCAtMTUzLDggKzE1MywxMiBAQAogCQkvdXNyL3NoYXJlLyR7UE59
LyR7UFZ9L3htYXhpbWEvbWF4aW1hLW5ldy5wbmcgXAogCQkiU2NpZW5jZTtNYXRoO0VkdWNhdGlv
biIKIAotCXVzZSBlbWFjcyAmJiBcCi0JCWVsaXNwLXNpdGUtZmlsZS1pbnN0YWxsICIke0ZJTEVT
RElSfSIvNTBtYXhpbWEtZ2VudG9vLmVsCisJaWYgdXNlIGVtYWNzOyB0aGVuCisJCXNlZCAtZSAi
cy9QVi8ke1BWfS8iICIke0ZJTEVTRElSfSIvNTBtYXhpbWEtZ2VudG9vLmVsIFwKKwkJCT4iJHtU
fSIvNTBtYXhpbWEtZ2VudG9vLmVsCisJCWVsaXNwLXNpdGUtZmlsZS1pbnN0YWxsICIke1R9Ii81
MG1heGltYS1nZW50b28uZWwgXAorCQkJfHwgZGllICJlbGlzcC1zaXRlLWZpbGUtaW5zdGFsbCBm
YWlsZWQiCisJZmkKIAogCWlmIHVzZSB0ZXRleDsgdGhlbgogCQlpbnNpbnRvICIke01BWElNQV9U
RVhNRkRJUn0iL3RleC9sYXRleC9lbWF4aW1hCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>132875</attachid>
            <date>2007-10-08 01:38 0000</date>
            <desc>Patch for files/50maxima-gentoo.el</desc>
            <filename>50maxima-gentoo.el.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGZpbGVzLzUwbWF4aW1hLWdlbnRvby5lbAo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvdmFy
L2N2c3Jvb3QvZ2VudG9vLXg4Ni9zY2ktbWF0aGVtYXRpY3MvbWF4aW1hL2ZpbGVzLzUwbWF4aW1h
LWdlbnRvby5lbCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS41CnJldHJpZXZpbmcgcmV2aXNpb24g
MS40CmRpZmYgLXUgLUIgLXIxLjUgLXIxLjQKLS0tIGZpbGVzLzUwbWF4aW1hLWdlbnRvby5lbAkx
OCBBcHIgMjAwNyAxMDo1MzozMiAtMDAwMAkxLjUKKysrIGZpbGVzLzUwbWF4aW1hLWdlbnRvby5l
bAk4IE1hciAyMDA3IDA3OjEyOjQxIC0wMDAwCTEuNApAQCAtMSw1ICsxLDUgQEAKIDs7IG1heGlt
YSBtb2RlCi0oYWRkLXRvLWxpc3QgJ2xvYWQtcGF0aCAiQFNJVEVMSVNQQCIpCisoYWRkLXRvLWxp
c3QgJ2xvYWQtcGF0aCAiL3Vzci9zaGFyZS9tYXhpbWEvUFYvZW1hY3MiKQogKGF1dG9sb2FkICdt
YXhpbWEtbW9kZSAibWF4aW1hIiAiTWF4aW1hIG1vZGUiIHQpCiAoYXV0b2xvYWQgJ21heGltYSAi
bWF4aW1hIiAiTWF4aW1hIGludGVyYWN0aXZlIiB0KQogKHNldHEgYXV0by1tb2RlLWFsaXN0IChj
b25zICcoIlxcLm1heCIgLiBtYXhpbWEtbW9kZSkgYXV0by1tb2RlLWFsaXN0KSkK
</data>        

          </attachment>
    </bug>

</bugzilla>