Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131291 - Ebuild for media-gfx/mirage
Summary: Ebuild for media-gfx/mirage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://mirageiv.berlios.de/
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2006-04-25 22:52 UTC by David Shakaryan (RETIRED)
Modified: 2007-03-15 09:06 UTC (History)
3 users (show)

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


Attachments
media-gfx/mirage-0.4 (ebuild) (mirage-0.4.ebuild,489 bytes, text/plain)
2006-04-25 22:55 UTC, David Shakaryan (RETIRED)
Details
media-gfx/mirage-0.4 (ebuild) (mirage-0.4.ebuild,494 bytes, text/plain)
2006-04-30 16:40 UTC, David Shakaryan (RETIRED)
Details
media-gfx/mirage-0.5 (ebuild) (mirage-0.5.ebuild,489 bytes, text/plain)
2006-05-07 10:17 UTC, David Shakaryan (RETIRED)
Details
media-gfx/mirage-0.6 (ebuild) (mirage-0.6.ebuild,437 bytes, text/plain)
2006-05-29 16:11 UTC, David Shakaryan (RETIRED)
Details
media-gfx/mirage-0.6 (ebuild) (mirage-0.6.ebuild,452 bytes, text/plain)
2006-06-22 23:50 UTC, David Shakaryan (RETIRED)
Details
media-gfx/mirage-0.6 (ebuild) (mirage-0.7.ebuild,498 bytes, text/plain)
2006-06-27 14:33 UTC, David Shakaryan (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Shakaryan (RETIRED) gentoo-dev 2006-04-25 22:52:38 UTC
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. :)
Comment 1 David Shakaryan (RETIRED) gentoo-dev 2006-04-25 22:55:43 UTC
Created attachment 85510 [details]
media-gfx/mirage-0.4 (ebuild)

Original mirage ebuild.
Comment 2 Henrique Ferreiro 2006-04-26 14:41:25 UTC
You put KEYWORDS="~amd64" but I think it works in many other arches :)
Comment 3 David Shakaryan (RETIRED) gentoo-dev 2006-04-26 15:51:27 UTC
(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.
Comment 4 David Shakaryan (RETIRED) gentoo-dev 2006-04-30 16:40:03 UTC
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.
Comment 5 David Shakaryan (RETIRED) gentoo-dev 2006-05-07 10:17:10 UTC
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.
Comment 6 David Shakaryan (RETIRED) gentoo-dev 2006-05-29 16:11:10 UTC
Created attachment 87840 [details]
media-gfx/mirage-0.6 (ebuild)

Version bump.
Comment 7 David Shakaryan (RETIRED) gentoo-dev 2006-06-10 17:19:53 UTC
Added to sunrise

http://overlays.gentoo.org/proj/sunrise/browser/media-gfx/mirage/
Comment 8 David Shakaryan (RETIRED) gentoo-dev 2006-06-22 23:50:01 UTC
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/
Comment 9 David Shakaryan (RETIRED) gentoo-dev 2006-06-27 14:33:47 UTC
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. :)
Comment 10 David Shakaryan (RETIRED) gentoo-dev 2006-08-31 20:24:00 UTC
Bumped to 0.7.3

http://gentoo-sunrise.org/svn/reviewed/media-gfx/mirage/
Comment 11 Renato Caldas 2006-09-16 09:19:49 UTC
Version bump

0.8 version now availiable. Can this be included in portage?
Comment 12 David Shakaryan (RETIRED) gentoo-dev 2006-09-16 12:11:49 UTC
Renato, 0.8 is already in sunrise. Hopefully this package will get into portage soon. :)
Comment 13 Renato Caldas 2006-09-17 07:37:15 UTC
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 :)
Comment 14 David Shakaryan (RETIRED) gentoo-dev 2006-10-18 17:48:42 UTC
I have added media-gfx/mirage to the tree.

Closing bug.
Comment 15 Thomas R. (TRauMa) 2006-10-19 14:43:21 UTC
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?
Comment 16 David Shakaryan (RETIRED) gentoo-dev 2006-10-20 15:51:49 UTC
(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. :)
Comment 17 David Shakaryan (RETIRED) gentoo-dev 2006-10-20 16:46:19 UTC
0.8.1 committed.