[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Aeskulap-users] little troubles compiling aeskula in a gentoo distribut
From: |
Marco Clocchiatti |
Subject: |
[Aeskulap-users] little troubles compiling aeskula in a gentoo distribution |
Date: |
Wed, 23 Jun 2010 00:25:25 +0200 |
I tried your ebuild from cvs, as in download page:
http://aeskulap.nongnu.org/download.html
but I had some troubles.
first problem dipends from my arch, which is AMD64,
the second, from virtual/xft, which is no more needed,
the third from a little issue in the code.
so, to build your software, I need this minimal patch:
s939 aeskulap # cat files/aeskulap_aconfiguration-gconf.patch
diff -ruN ../aeskulap.orig/configuration/aconfiguration-gconf.cpp
./configuration/aconfiguration-gconf.cpp
--- ../aeskulap.orig/configuration/aconfiguration-gconf.cpp 2007-05-10
16:29:59.000000000 +0200
+++ ./configuration/aconfiguration-gconf.cpp 2010-06-22
21:52:54.421111008 +0200
@@ -126,7 +126,7 @@
}
else {
char buffer[50];
- snprintf(buffer, sizeof(buffer), "Server%li",
list->size()+1);
+ g_snprintf(buffer, sizeof(buffer),
"Server%li", list->size()+1);
servername = buffer;
}
and this version of your ebuild:
s939 aeskulap # cat aeskulap-20060223.ebuild
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/sources/aeskulap/portage-aeskulap/media-gfx/aeskulap/aeskulap-20060223.ebuild,v
1.2 2006/03/06 17:51:50 braindead Exp $
inherit eutils cvs flag-o-matic multilib
ECVS_SERVER="cvs.sv.gnu.org:/sources/aeskulap"
ECVS_MODULE="aeskulap"
ECVS_LOCALNAME="aeskulap"
S=${WORKDIR}/${ECVS_LOCALNAME}
DESCRIPTION="A medical image viewer and DICOM network client"
HOMEPAGE="http://aeskulap.nongnu.org"
SLOT="0"
KEYWORDS="x86 amd64 ppc"
LICENSE="GPL-2 LGPL-2.1 BSD"
IUSE="gnome"
ARCH=""
RDEPEND=">=x11-libs/gtk+-2.6.5
>=dev-libs/glib-2.6.5
>=gnome-base/gconf-2.10.0
>=gnome-base/libglade-2.5.0
>=dev-libs/libxml2-2.6.20
>=x11-libs/pango-1.4.0
>=dev-libs/libxslt-1.0.15
media-libs/fontconfig
sys-libs/zlib
media-libs/libpng
media-libs/tiff
>=sys-devel/gcc-3
>=dev-libs/libsigc++-2.0.3
>=dev-cpp/gtkmm-2.6
>=dev-cpp/glibmm-2.6
>=dev-cpp/gconfmm-2.6
>=dev-cpp/libglademm-2.6"
DEPEND="${RDEPEND}
sys-devel/gettext
dev-util/pkgconfig
>=dev-util/intltool-0.29"
src_compile() {
epatch "${FILESDIR}"/${PN}_aconfiguration-gconf.patch
./autogen.sh
./configure --host=${CHOST} \
--libdir=/usr/$(get_libdir) \
--prefix=/usr \
--disable-schemas-install || die
emake || die
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Aeskulap-users] little troubles compiling aeskula in a gentoo distribution,
Marco Clocchiatti <=