Bug 155154 - app-admin/conky-1.4.4 with USE="vim-syntax" should depend on vim or gvim
Bug#: 155154 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dragonheart@gentoo.org Reported By: zackelan@gmail.com
Component: Ebuilds
URL: 
Summary: app-admin/conky-1.4.4 with USE="vim-syntax" should depend on vim or gvim
Keywords:  
Status Whiteboard: 
Opened: 2006-11-14 12:07 0000
Description:   Opened: 2006-11-14 12:07 0000
Right now if vim-syntax is enabled it depends only on vim. Obviously, if I have
gvim but not vim installed, I shouldn'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="bash-completion gpm gtk perl
python ruby -acl (-aqua) -cscope -gnome -motif -mzscheme -netbeans -nextaw
-nls" 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="bash-completion gpm perl python
ruby -acl -cscope -minimal -mzscheme -nls -vim-pager -vim-with-x" 0 kB
[ebuild     U ] app-admin/conky-1.4.4 [1.4.3] USE="X audacious hddtemp truetype
vim-syntax -bmpx -ipv6 -mpd" 377 kB

Total: 2 packages (1 upgrade, 1 new), Size of downloads: 377 kB
~ #

------- Comment #1 From Zack Elan 2006-11-14 12:16:37 0000 -------
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="...
        vim-syntax? ( app-vim/pam-syntax )"

/usr/portage/sys-libs/pam/pam-0.99.6.3-r1
PDEPEND="vim-syntax? ( app-vim/pam-syntax )"

------- Comment #2 From Jakub Moc (RETIRED) 2006-11-14 12:22:28 0000 -------
(In reply to comment #1)

Eh no? There's no reason to have a separate ebuild for something that's already
included in the tarball.

------- Comment #3 From Philip Kovacs 2006-11-14 21:17:05 0000 -------
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'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.

------- Comment #4 From Daniel Black 2006-11-14 22:56:02 0000 -------
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

------- Comment #5 From Jakub Moc (RETIRED) 2006-11-17 06:09:31 0000 -------
*** Bug 155479 has been marked as a duplicate of this bug. ***