Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119355 - AMIDE: A Medical Image Data Examiner
Summary: AMIDE: A Medical Image Data Examiner
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://amide.sourceforge.net
Whiteboard:
Keywords: EBUILD
Depends on: 119353 119354
Blocks:
  Show dependency tree
 
Reported: 2006-01-17 17:01 UTC by Jennifer
Modified: 2018-06-07 18:25 UTC (History)
3 users (show)

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


Attachments
amide-0.8.14 ebuild (amide-0.8.14.ebuild,464 bytes, text/plain)
2006-01-17 17:02 UTC, Jennifer
Details
udated amide-0.8.14 ebuild (amide-0.8.14.ebuild,441 bytes, text/plain)
2006-02-14 10:41 UTC, Jennifer
Details
ebuild for version bump + some rework (amide-0.9.1.ebuild,1.04 KB, text/plain)
2007-12-25 08:37 UTC, antonmx
Details
add patching of makefiles (amide-0.9.1-r1.ebuild,1.15 KB, text/plain)
2009-06-28 22:13 UTC, Gert Wollny
Details
A patch to the Makefiles pulled from debian to enable building with newer GTK/Gnome (amide-0.9.1-oldgtk.patch,4.02 KB, patch)
2009-06-28 22:23 UTC, Gert Wollny
Details | Diff
add needed deps, EAPI=2 (amide-0.9.1-r1.ebuild,1.21 KB, text/plain)
2009-09-16 18:36 UTC, thewtex
Details
add src/Makefile.in patch (amide-0.9.1-oldgtk.patch,5.70 KB, patch)
2009-09-16 18:36 UTC, thewtex
Details | Diff
Proposed updated ebuild (amide-0.9.2-r1.ebuild,1.39 KB, text/plain)
2010-07-06 10:00 UTC, Attila Tóth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jennifer 2006-01-17 17:01:33 UTC
AMIDE is a competely free tool for viewing, analyzing, and registering volumetric medical imaging data sets. It's been developed using GTK+/GNOME, and runs on any system that supports the toolkit (Linux, Windows, Mac OS X with fink, etc.).
Comment 1 Jennifer 2006-01-17 17:02:05 UTC
Created attachment 77387 [details]
amide-0.8.14 ebuild
Comment 2 Jennifer 2006-02-06 13:16:55 UTC
(In reply to comment #0)
> AMIDE is a competely free tool for viewing, analyzing, and registering
> volumetric medical imaging data sets. It's been developed using GTK+/GNOME, and
> runs on any system that supports the toolkit (Linux, Windows, Mac OS X with
> fink, etc.).
> 

Install just fine on amd64 as well as x86
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 13:21:08 UTC
- attach files as plain text please 
- src_compile() is superfluous
- is einstall needed or does  make DESTDIR=${D} install  work as well? If so src_install is superfluous as well
Comment 4 Jennifer 2006-02-14 10:41:42 UTC
Created attachment 79785 [details]
udated amide-0.8.14 ebuild

attached new ebuild
-removed src_compile lines
-einstall isn't necessady; changed to make DESTDIR=$(D) install || die
-change ARCH to be ~ARCH
Comment 5 antonmx 2007-12-25 08:37:04 UTC
Created attachment 139275 [details]
ebuild for version bump + some rework

This is the ebuild for amide-0.9.1. Also I added some improvements into the original ebuild and inserted the following use flags: dicom doc fame gsl volpack xmedcon debug.

Please note that I used my home dependency tree:
media-gfx/xmedcon instead of sci-misc/xmedcon
media-libs/volpack instead of sci-misc/volpack
Everyone can correct this for his needs.
Comment 6 Attila Tóth 2008-01-05 20:03:32 UTC
Works for me. Thank you for this ebuild. It was time for this version bump.

Regards:
Dw.

(In reply to comment #5)
> Created an attachment (id=139275) [edit]
> ebuild for version bump + some rework
>
Comment 7 Ivan Havlicek 2008-04-26 03:26:05 UTC
(In reply to comment #5)
> Created an attachment (id=139275) [edit]
> ebuild for version bump + some rework
> 

Hi,

As for all dependences not existing in official portage (xmedcon, volpack and dicom), I add this ebuild as is to our subversion server :
https://svn.modulix.net/gentoo.modulix.net/trunk/overlay/sci-visualization

From now,it's possible to emerge this build with all dependences, if you add in /etc/make.conf these USE values :
dicom fame gsl volpack xmedcon (doc is optional)

1) With layman (easy way ;-) :
Add to your layman config file : /etc/layman/layman.cfg :

overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
            https://svn.modulix.net/gentoo.modulix.net/trunk/overlay/layman.xml

and add our repository by :

# layman --add modulix

Then, you should have see something like :

# emerge -pv amide
sci-visualization/amide-0.9.1  USE="dicom doc fame gsl volpack xmedcon -debug"



2) With local portage tree :
Depending on the value of the value of PORTDIR_OVERLAY in your /etc/make.conf
file, get the portage tree by :
# cd $PORTDIR_OVERLAY
# svn co https://svn.modulix.net/gentoo.modulix.net/trunk/overlay/sci-visualization

and for the dependent packages :
# svn co https://svn.modulix.net/gentoo.modulix.net/trunk/overlay/media-libs
# svn co https://svn.modulix.net/gentoo.modulix.net/trunk/overlay/sci-libs
# svn co https://svn.modulix.net/gentoo.modulix.net/trunk/overlay/media-gfx


# emerge -pv amide
sci-visualization/amide-0.9.1  USE="dicom doc fame gsl volpack xmedcon -debug"

Then, you should have see something like :
# emerge -pv amide
sci-visualization/amide-0.9.1  USE="dicom doc fame gsl volpack xmedcon -debug"

Thx for your work and best regards.
--
                                   Ivan
Comment 8 thewtex 2008-05-05 00:39:45 UTC
Thanks much Ivan!

Works well on my system.  I needed to make a few changes:

1.  keyword for ~amd64
2.  dcmtk needs to emake -j1 or it will not build on my system
3.  amide will not build without dcmtk, so I remove that as an optional dependency
Comment 9 Gert Wollny 2009-06-28 22:13:38 UTC
Created attachment 196012 [details]
add patching of makefiles
Comment 10 Gert Wollny 2009-06-28 22:23:17 UTC
Created attachment 196016 [details, diff]
A patch to the Makefiles pulled from debian to enable building with newer GTK/Gnome 

Compiling needs deprecated features of GTK, therefore some compile flags must be disabled. 
In addition, some parts of the configure script are cleaned up.
Comment 11 thewtex 2009-06-29 16:31:53 UTC
Thanks for the update, Gert.  I get the following error during compilation:

amitk_common.c: In function 'amitk_get_pixbuf_from_canvas':
amitk_common.c:195: warning: implicit declaration of function 'GTK_CHECK_GET_CLASS'
amitk_common.c:195: error: expected expression before 'GnomeCanvasClass'
amitk_common.c:195: error: invalid type argument of '->' (have 'int')
amitk_common.c:196: error: expected expression before 'GnomeCanvasClass'
amitk_common.c:196: error: invalid type argument of '->' (have 'int')
amitk_common.c:200: error: expected expression before 'GnomeCanvasItemClass'
amitk_common.c:200: error: invalid type argument of '->' (have 'int')
amitk_common.c:216: error: expected expression before 'GnomeCanvasClass'
amitk_common.c:216: error: invalid type argument of '->' (have 'int')
amitk_common.c:220: error: expected expression before 'GnomeCanvasItemClass'
amitk_common.c:220: error: invalid type argument of '->' (have 'int')
make[2]: *** [amitk_common.o] Error 1
Comment 12 thewtex 2009-09-16 18:36:12 UTC
Created attachment 204349 [details]
add needed deps, EAPI=2
Comment 13 thewtex 2009-09-16 18:36:50 UTC
Created attachment 204351 [details, diff]
add src/Makefile.in patch
Comment 14 Attila Tóth 2010-07-06 08:54:20 UTC
(In reply to comment #11)
> Thanks for the update, Gert.  I get the following error during compilation:
> 
> amitk_common.c: In function 'amitk_get_pixbuf_from_canvas':
> amitk_common.c:195: warning: implicit declaration of function
> 'GTK_CHECK_GET_CLASS'
> amitk_common.c:195: error: expected expression before 'GnomeCanvasClass'
> amitk_common.c:195: error: invalid type argument of '->' (have 'int')
> amitk_common.c:196: error: expected expression before 'GnomeCanvasClass'
> amitk_common.c:196: error: invalid type argument of '->' (have 'int')
> amitk_common.c:200: error: expected expression before 'GnomeCanvasItemClass'
> amitk_common.c:200: error: invalid type argument of '->' (have 'int')
> amitk_common.c:216: error: expected expression before 'GnomeCanvasClass'
> amitk_common.c:216: error: invalid type argument of '->' (have 'int')
> amitk_common.c:220: error: expected expression before 'GnomeCanvasItemClass'
> amitk_common.c:220: error: invalid type argument of '->' (have 'int')
> make[2]: *** [amitk_common.o] Error 1
> 

That was caused by newer GTK. G_TYPE_CHECK_TYPE must be replaced by G_TYPE_CHECK_INSTANCE_TYPE, as G_TYPE_CHECK_CAST must be replaced by G_TYPE_CHECK_INSTANCE_CAST.

Regards:
Dw.
Comment 15 Attila Tóth 2010-07-06 10:00:58 UTC
Created attachment 237707 [details]
Proposed updated ebuild

Here is a try for a newer version. Two occasion of hardwired incorrect header locations for ffmpeg could be found in the sources. I went lazy and decided to use the patch of the Debian package maintainers.

Give it a try.