Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467690 - x11-wm/awesome-3.4.* could use media-libs/imlib2 instead of media-gfx/imagemagick
Summary: x11-wm/awesome-3.4.* could use media-libs/imlib2 instead of media-gfx/imagema...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Nikolaj Šujskij
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-28 04:30 UTC by bob
Modified: 2013-05-03 20:03 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bob 2013-04-28 04:30:01 UTC
Currently awesome depends on imagemagick for setting wallpaper and tray images, which is relatively heavy ebuild. Awesome wiki states that awesome needs imlib2 http://awesome.naquadah.org/wiki/Awesome-3-Slackware and indeed it works with just imlib2. Ebuild should be changed to depend on imlib2 instead of imagemagick.
Comment 1 Nikolaj Šujskij 2013-04-30 07:32:43 UTC
I think you're talking about 3.4 versions, since 3.5 doesn't use neither imlib2, nor imagemagick.

Seems to me that 3.4 needs imlib2 for all the image stuff and one of wallpaper setters (e.g. IM's convert) for awsetbg script.

Therefore we should drop imagemagick from 3.5 ebuilds completely (since it utilizes cairo), and depend on one of possible wallpaper setters for 3.4. I'll try to ensure this.
Comment 2 Nikolaj Šujskij 2013-05-01 09:25:22 UTC
Indeed, awesome dev confirmed this. So, we should:

 1. drop imagemagick from 3.5 ebuild altogether;
 2. change wallpaper setter dependency to "either of
http://git.naquadah.org/?p=awesome.git;a=blob;f=utils/awsetbg;h=50a1f3326df092d278d4088b06a1d61506513098;hb=refs/heads/3.4#l56" (or at least subset). With USE="png" for those who have it.
Comment 3 bob 2013-05-03 04:36:25 UTC
(In reply to comment #2)
> Indeed, awesome dev confirmed this. So, we should:
> 
>  1. drop imagemagick from 3.5 ebuild altogether;
>  2. change wallpaper setter dependency to "either of
> http://git.naquadah.org/?p=awesome.git;a=blob;f=utils/awsetbg;
> h=50a1f3326df092d278d4088b06a1d61506513098;hb=refs/heads/3.4#l56" (or at
> least subset). With USE="png" for those who have it.

you can just throw in feh dependency since it's pretty much the smallest of these utilites that's guaranteed to will work without problems.
Comment 4 Nikolaj Šujskij 2013-05-03 20:03:53 UTC
I've just try to compile awesome without IM installed, and guess what? It failed.

-- bin/convert not found.
CMake Error at awesomeConfig.cmake:39 (message):
  bin/convert is required to build awesome

Try it yourself with `emerge -C imagemagick && emerge -O awesome`.

So everything's fine with ebuild. Wiki maybe outdated or plain wrong. If package's build system requires `convert`, we require it as well => INVALID.