Summary: | AMIDE: A Medical Image Data Examiner | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jennifer <jrstickel> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | antonmx, atoth, matthew.m.mccormick |
Priority: | Normal | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://amide.sourceforge.net | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 119353, 119354 | ||
Bug Blocks: | |||
Attachments: |
amide-0.8.14 ebuild
udated amide-0.8.14 ebuild ebuild for version bump + some rework add patching of makefiles A patch to the Makefiles pulled from debian to enable building with newer GTK/Gnome add needed deps, EAPI=2 add src/Makefile.in patch Proposed updated ebuild |
Description
Jennifer
2006-01-17 17:01:33 UTC
Created attachment 77387 [details]
amide-0.8.14 ebuild
(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 - 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 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
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.
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 > (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 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 Created attachment 196012 [details]
add patching of makefiles
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.
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 Created attachment 204349 [details]
add needed deps, EAPI=2
Created attachment 204351 [details, diff]
add src/Makefile.in patch
(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. 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.
|