<?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>155154</bug_id>
          
          <creation_ts>2006-11-14 12:07 0000</creation_ts>
          <short_desc>app-admin/conky-1.4.4 with USE=&quot;vim-syntax&quot; should depend on vim or gvim</short_desc>
          <delta_ts>2006-11-17 06:09:31 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>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</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>zackelan@gmail.com</reporter>
          <assigned_to>dragonheart@gentoo.org</assigned_to>
          <cc>jakub@gentoo.org</cc>
    
    <cc>kovacsp3@comcast.net</cc>
    
    <cc>vyacheslavovich@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>zackelan@gmail.com</who>
            <bug_when>2006-11-14 12:07:52 0000</bug_when>
            <thetext>Right now if vim-syntax is enabled it depends only on vim. Obviously, if I have gvim but not vim installed, I shouldn&apos;t have to install vim to use the syntax file.

~ # emerge -p gvim

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-editors/gvim-7.0.17  USE=&quot;bash-completion gpm gtk perl python ruby -acl (-aqua) -cscope -gnome -motif -mzscheme -netbeans -nextaw -nls&quot; 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
~ # emerge -p conky

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-editors/vim-7.0.17  USE=&quot;bash-completion gpm perl python ruby -acl -cscope -minimal -mzscheme -nls -vim-pager -vim-with-x&quot; 0 kB
[ebuild     U ] app-admin/conky-1.4.4 [1.4.3] USE=&quot;X audacious hddtemp truetype vim-syntax -bmpx -ipv6 -mpd&quot; 377 kB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 377 kB
~ #</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zackelan@gmail.com</who>
            <bug_when>2006-11-14 12:16:37 0000</bug_when>
            <thetext>Something else I just noticed:
The two other ebuilds in the tree that have vim-syntax in IUSE all depend on the syntax ebuild itself, rather than vim or gvim. For consistency and simplicity it might be easiest to have conky do this as well. (doing it this way would obsolete bug 155119)

/usr/portage/sys-auth/openpam/openpam-20050616.ebuild
PDEPEND=&quot;...
        vim-syntax? ( app-vim/pam-syntax )&quot;

/usr/portage/sys-libs/pam/pam-0.99.6.3-r1
PDEPEND=&quot;vim-syntax? ( app-vim/pam-syntax )&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-11-14 12:22:28 0000</bug_when>
            <thetext>(In reply to comment #1)

Eh no? There&apos;s no reason to have a separate ebuild for something that&apos;s already included in the tarball.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kovacsp3@comcast.net</who>
            <bug_when>2006-11-14 21:17:05 0000</bug_when>
            <thetext>The syntax files were added to the conky tarball as of 1.4.3, since the vim-hosted syntax files are not maintained and are way out-of-date.  The ebuild was adjusted to this new setup and there&apos;s a bug filed to retire the conky-syntax altogether.

If gvim supports the same mechanism as vim, I agree that the conky ebuild could be adjusted to support vim or gvim.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2006-11-14 22:56:02 0000</bug_when>
            <thetext>added gvim rdepend so either vim or gvim will satisify dependency.

app-vim/conky-syntax is getting removed (bug #155119)- recommend uninstalling it now.

Thanks Zack</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-11-17 06:09:31 0000</bug_when>
            <thetext>*** Bug 155479 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>