Mirage is a fast and simple GTK+ image viewer. It supports a variety of image formats (png, jpg, svg, xpm, gif, bmp, tiff, and many others). Mirage provides zooming, rotating, and flipping capabilities, and allows the user to open a list of images to be cycled through. It also uses the same key-mouse shortcuts as the GIMP (Ctrl-MouseScroll for zooming, MiddleMouseButton-Drag for panning). Because it depends only on PyGTK, Mirage is ideal for users who wish to keep their computers lean while still having a clean image viewer. Just came across it and thought I would make an ebuild for you others to enjoy. :)
Created attachment 85510 [details] media-gfx/mirage-0.4 (ebuild) Original mirage ebuild.
You put KEYWORDS="~amd64" but I think it works in many other arches :)
(In reply to comment #2) > You put KEYWORDS="~amd64" but I think it works in many other arches :) > Henrique, I only put amd64 because that is the only one I tested the software on so I can't verify which archs it works on. It shouldn't be hard adding your arch to the ebuild anyhow.
Created attachment 85872 [details] media-gfx/mirage-0.4 (ebuild) I decided to go ahead and add ~x86 to the KEYWORDS on the ebuild. This bug is linked on the Mirage website and I think I should make life easier for most users and not require them to edit it. If you test it on another arch and it works, feel free to update the ebuild.
Created attachment 86378 [details] media-gfx/mirage-0.5 (ebuild) Version bump. The project was moved to the BerliOS so new servers. Also a new release with quite a few new features and bug fixes.
Created attachment 87840 [details] media-gfx/mirage-0.6 (ebuild) Version bump.
Added to sunrise http://overlays.gentoo.org/proj/sunrise/browser/media-gfx/mirage/
Created attachment 89879 [details] media-gfx/mirage-0.6 (ebuild) Mirage ebuild modified to use the distutils eclass. Also in the now-unofficial Project Sunrise overlay: http://gentoo-sunrise.org/svn/sunrise/media-gfx/mirage/
Created attachment 90315 [details] media-gfx/mirage-0.6 (ebuild) Bumped to 0.7 and some minor changes. You can again find it in the Sunrise overlay, which I linked in the comment above. :)
Bumped to 0.7.3 http://gentoo-sunrise.org/svn/reviewed/media-gfx/mirage/
Version bump 0.8 version now availiable. Can this be included in portage?
Renato, 0.8 is already in sunrise. Hopefully this package will get into portage soon. :)
Yes I know! I've already put it in my overlay. But since there have been so many versions before this one and none got to portage, I just wanted to give my "vote" to it :)
I have added media-gfx/mirage to the tree. Closing bug.
If you add src_compile() { sed -i -e '/^import gtk/d' -e '/try:/,/^\tinstall_app = False/d' setup.py distutils_src_compile() } to the ebuild, you can even install the package when no X server is running (or accessible by root). Else the "import gtk" will fail: >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mirage-0.8/work/mirage-0.8 ... Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Traceback (most recent call last): File "setup.py", line 6, in ? import gtk File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 45, in ? from _gtk import * RuntimeError: could not open display !!! ERROR: media-gfx/mirage-0.8 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called distutils_src_compile distutils.eclass, line 38: Called die !!! compilation failed !!! If you need support, post the topmost build error, and the call stack if relevant. Need I open a new bug?
(In reply to comment #15) > If you add > > src_compile() { > sed -i -e '/^import gtk/d' -e '/try:/,/^\tinstall_app = False/d' setup.py > distutils_src_compile() > } > > to the ebuild, you can even install the package when no X server is running (or > accessible by root). Else the "import gtk" will fail: I talked to the mirage maintainer about this, and he released 0.8.1 which should fix this. Expect the ebuild soon. Thanks for the bug report. :)
0.8.1 committed.