View previous topic :: View next topic |
Author |
Message |
DArtagnan l33t
Joined: 30 Apr 2002 Posts: 942 Location: Israel, Jerusalem
|
Posted: Sat Jun 01, 2002 11:38 am Post subject: gtk+-directfb |
|
|
Hi,
I just downloaded the gtk+ package from http://direct.fb.org that supports gtk+ graphical applications in console ( framebuffer ).
Then i compiled it and tried to run it in console and then my computer simply shutdown.
I tried to run the code 3 times and computer shutdown all the time.
Any idea?
thanks _________________ All for one and one for All
--
MACPRO machine... |
|
Back to top |
|
|
Swishy Guru
Joined: 06 Jun 2002 Posts: 491 Location: NZ
|
Posted: Sun Dec 01, 2002 11:36 am Post subject: |
|
|
You'll need to install xdirectfb , the gtk+ package just allows gtk apps to run better under xdirectfb
Cheers
Dale. _________________ Theres no substitute for C.I. |
|
Back to top |
|
|
slacker Tux's lil' helper
Joined: 18 Sep 2002 Posts: 86 Location: Oakland University
|
Posted: Wed Dec 04, 2002 7:31 am Post subject: |
|
|
I edited my gtk+ ebuild so that I could compile it in the portage tree
Code: |
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/x11-libs/gtk+-directfb/gtk+-directfb-2.0.8.ebuild,v 1.3 2002/11/30 13:37:34 foser Exp $
inherit eutils libtool flag-o-matic
IUSE="tiff doc jpeg directfb"
S="${WORKDIR}/${P}"
DESCRIPTION="Gimp ToolKit + for DirectFB "
SRC_URI="http://www.directfb.org/download/GTK+-DirectFB/${P}.tar.gz"
HOMEPAGE="http://www.directfb.org/"
SLOT="2"
LICENSE="LGPL-2.1"
KEYWORDS="x86 ~ppc ~sparc ~sparc64 ~alpha"
RDEPEND="virtual/x11
>=dev-libs/glib-2.0.6
>=dev-libs/atk-1.0.1
>=x11-libs/pango-1.0.1
>=media-libs/libpng-1.2.1
>=dev-libs/DirectFB-0.9.14
>=media-libs/jpeg-6b-r2
>=media-libs/tiff-3.5.7
>=media-libs/libpng-1.2.4"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12.0
doc? ( >=dev-util/gtk-doc-0.9
app-text/sgmltools-lite )"
src_unpack() {
unpack ${A}
}
src_compile() {
# see bug 8762
replace-flags "-O3" "-O2"
elibtoolize
local myconf
use doc \
&& myconf="${myconf} --enable-gtk-doc" \
|| myconf="${myconf} --disable-gtk-doc"
if [ -n "$DEBUG" ]; then
myconf="${myconf} --enable-debug"
fi
myconf="${myconf} --enable-fbmanager"
econf --with-gdktarget=directfb ${myconf} || die
# gtk+ isn't multithread friendly due to some obscure code generation bug
emake || die
}
src_install() {
dodir /etc/gtk-2.0
make DESTDIR=${D} \
prefix=/usr \
sysconfdir=/etc \
infodir=/usr/share/info \
mandir=/usr/share/man \
install || die
dodoc AUTHORS COPYING ChangeLog* HACKING* INSTALL NEWS* README* TODO
}
pkg_postinst() {
gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
} |
MY question is whether or not I have to recompile all my current gtk programs for them to use gtk+-directfb. does anyone know? _________________ http://gnoportage.sourceforge.net |
|
Back to top |
|
|
slacker Tux's lil' helper
Joined: 18 Sep 2002 Posts: 86 Location: Oakland University
|
Posted: Wed Dec 04, 2002 7:59 am Post subject: |
|
|
Btw it would probably be a good idea to mention this though....
you cannot use programs compiled and linked with gtk+directfb with X11
it's in the readme file... so don't blame me... i just included the ebuild cause it was quick and dirty and i thought it might help someone _________________ http://gnoportage.sourceforge.net |
|
Back to top |
|
|
|