<?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>173444</bug_id>
          
          <creation_ts>2007-04-05 10:15 0000</creation_ts>
          <short_desc>app-emacs/delicious-0.3 not compatible with all emacs versions</short_desc>
          <delta_ts>2007-04-06 10:25: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>Ebuilds</component>
          <version>2006.1</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>hhalvors@princeton.edu</reporter>
          <assigned_to>emacs@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hhalvors@princeton.edu</who>
            <bug_when>2007-04-05 10:15:54 0000</bug_when>
            <thetext>the delicious-0.3 ebuild contains a line:

local LOADPATH=&quot;/usr/share/emacs/22.0.50/lisp&quot;

which causes a failure to compile for all versions of Emacs other than 22.0.50.  But now emacs cvs is at version 22.0.60, so should this be changed?  Thanks.

Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hhalvors@princeton.edu</who>
            <bug_when>2007-04-05 10:17:17 0000</bug_when>
            <thetext>(In reply to comment #0)
&gt; the delicious-0.3 ebuild contains a line:
&gt; 
&gt; local LOADPATH=&quot;/usr/share/emacs/22.0.50/lisp&quot;
&gt; 
&gt; which causes a failure to compile for all versions of Emacs other than 22.0.50.
&gt;  But now emacs cvs is at version 22.0.60, so should this be changed?  Thanks.
&gt; 
&gt; Reproducible: Always
&gt; 

oops, Emacs CVS is at version 22.0.96</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-04-06 07:19:10 0000</bug_when>
            <thetext>Using &quot;elisp-comp&quot; instead of &quot;elisp-compile&quot; should automatically take care of the load-path. Replacing src_compile() in the ebuild by the following works for me:

src_compile() {
    local FILES=&quot;delicioapi.el delicious.el&quot;
    use planner &amp;&amp; FILES=&quot;${FILES} planner-delicious.el&quot;
    elisp-comp ${FILES} || die
}

Or, if you like one-liners: ;-)

src_compile() {
    elisp-comp delicio{api,us}.el $(use planner &amp;&amp; echo planner-delicious.el)
}


(BTW, pkg_postinst and pkg_postrm are redundant, too, since they are the standard actions of elisp.eclass.)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-04-06 10:25:02 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; oops, Emacs CVS is at version 22.0.96

 No.  22.0.97

Thanks Ulrich, fixed.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>