View previous topic :: View next topic |
Author |
Message |
DocterD Tux's lil' helper
Joined: 15 May 2004 Posts: 129
|
Posted: Sat May 21, 2005 12:21 pm Post subject: |
|
|
can somebody write a new ebuild for the currently 1.6.4 XDirectFB Build? |
|
Back to top |
|
|
gaelic Tux's lil' helper
Joined: 30 Dec 2003 Posts: 119 Location: Vienna, Austria, Europe, World, Solar System, Milky Way, Universe
|
Posted: Tue Jun 07, 2005 10:05 pm Post subject: |
|
|
DocterD wrote: | can somebody write a new ebuild for the currently 1.6.4 XDirectFB Build? |
where have you found 1.6.4? |
|
Back to top |
|
|
ahornby n00b
Joined: 02 Aug 2005 Posts: 1
|
Posted: Tue Aug 02, 2005 12:49 pm Post subject: Quick fix & reason it breaks posted on bugs.gentoo.org |
|
|
Read how to fix it here:
https://bugs.gentoo.org/show_bug.cgi?id=76167
From the bug report
*****************
----- Additional Comment #13 From Joe Acosta 2005-07-22 13:49 PDT -------
It seems my build did not take all day, like I thought it would.
Okay after commenting out the 2 lines in directfbX.c XDirectFB now compiles to
completion. I believe that these two lines have to do with DPMS, so I am not
sure what the result will be by comment thse out.
My compiled XDirectFB is linked againt the correct DirectFB now, and after
chaning perms to 6755, and putting it in /usr/X11R6/bin manually, it is now up
and running.
The two lines are lines 705 and 706 in directfbX.c, which are
if ( layer->SetScreenPowerMode(layer, mode) == DFB_OK )
DPMSPowerLevel = level;
It seems that the SetScreenPowerMode has been moved from the layer to the screen
(http://www.directfb.org/index.php/viewcvs.cgi/DirectFB/tools/dfbinfo.c)
It runs okay otherwise.
1) I think the ebuild should fail to build, I don't know why it does not. When
I went into the directory I actually got an error on the compilation of that file.
2) I believe the current ebuild version needs DirectFB 9.18, I think or 19.
I created a local overlay and locally modified the ebuild as Joe suggests and it compiled.
I now have XDirectFB.
Anthony |
|
Back to top |
|
|
Naguissa n00b
Joined: 28 May 2004 Posts: 7 Location: Barcelona, España.
|
Posted: Sun Sep 11, 2005 2:01 am Post subject: |
|
|
Fixed! New ebuild avaiable and runing! Thnks to the one who has fixed it! |
|
Back to top |
|
|
incubator Guru
Joined: 05 Jun 2003 Posts: 584 Location: Belgium
|
Posted: Fri Oct 28, 2005 9:13 am Post subject: |
|
|
maybe a stupid question, but when following this procedure when already haing a running xorg-x11 server , will this configuration for XDirectFB override X.org and thus ensure you're having a framebuffered X ?
(a bit confusing atm, I must admit) _________________ Programming today is a race between Software Engineers striving to build bigger and better idiot-proof Programs, and the Universe trying to produce bigger and better idiots.
So far, the Universe is winning! |
|
Back to top |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Mon Dec 05, 2005 10:23 pm Post subject: |
|
|
I can't get the server to start other than a brief instant with the light blue screen. After the instant, I only see an underscore sitting in the upper-left corner.
dfbserverrc: Code: | #!/bin/bash
exec /usr/X11R6/bin/XDirectFB -enableRoot & DISPLAY=:0 & openbox & scim -d & | Errors: Code: | /usr/X11R6/lib/X11/xinit/dfbserverrc
(openbox:6942): Openbox-CRITICAL **: Failed to open the display.
XDirectFB / X Window System
(protocol Version 11, revision 0, vendor release 6600)
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
---------------------- DirectFB v0.9.24 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2005-11-18 15:55)
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 6951)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 6952)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:797]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 6953)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
(*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 6954)...
Screen 0 added: 640x480
---------------------- DirectFB v0.9.24 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2005-11-18 15:55)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 6960)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 6961)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:797]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 6962)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
xinit: unexpected signal 1. |
|
|
Back to top |
|
|
Owlbuster n00b
Joined: 08 Oct 2006 Posts: 7
|
Posted: Sun Nov 05, 2006 9:23 am Post subject: |
|
|
This is probably a silly question, but I can't get the mouse to work at all, I think this is because i don't have libdirectfb_ps2mouse in inputdrivers. How can I solve this? |
|
Back to top |
|
|
damienmoody n00b
Joined: 01 Sep 2006 Posts: 73
|
Posted: Thu Jan 18, 2007 3:33 am Post subject: |
|
|
I have the same problem - I get it emerged, but the XDirectFB binary is missing. I also downloaded and tried to compile the source from directfb.org, but it failed during the make process. So...
Does someone just have a binary they're willing to post somewhere for us luckless clowns who just can't seem to get it working? Or else does anyone have a definitive how-to? |
|
Back to top |
|
|
segin n00b
Joined: 16 May 2005 Posts: 20 Location: Gibsonton, FL, USA
|
Posted: Mon Sep 24, 2007 11:22 am Post subject: |
|
|
The irony is that people take a framebuffer on x86 for granted. On every other arch Linux has NO OTHER MEANS OF DIRECT CONSOLE OUTPUT. There is no hardware text output device. The SPARCstation doesn't use a text console, the boot monitor and all that actually run on a framebuffer, for example. The only real exception I can think of on the top of my head is the GameBoy Advance port, being that the hardware supports a tiled graphical mode (which resembles x86 text mode). |
|
Back to top |
|
|
ArtemUA n00b
Joined: 12 Jun 2008 Posts: 3
|
Posted: Thu Jun 12, 2008 2:06 pm Post subject: |
|
|
Is anybody living there?
I have some problems with installation of xdirectfb on gentoo
for xdirectfb-...-r1 ebuild: XDirectFB executable file not creating and no error message until merging operation;
for xdirectfb-...-r2 ebuild (previouse bug fixed as I understand): error during compilation in fcfreetype.c file for "#include" statement.
So, it all very obscure, many questions and no answers |
|
Back to top |
|
|
doublehp Guru
Joined: 11 Apr 2005 Posts: 473 Location: FRANCE
|
|
Back to top |
|
|
ueymir Tux's lil' helper
Joined: 23 Jan 2005 Posts: 91 Location: I am your neighbor, and yours, and yours ...
|
Posted: Fri Aug 01, 2008 2:26 pm Post subject: |
|
|
ArtemUA wrote: | Is anybody living there?
I have some problems with installation of xdirectfb on gentoo
for xdirectfb-...-r1 ebuild: XDirectFB executable file not creating and no error message until merging operation;
for xdirectfb-...-r2 ebuild (previouse bug fixed as I understand): error during compilation in fcfreetype.c file for "#include" statement.
So, it all very obscure, many questions and no answers |
I, too, have a problem related to freetype. Here is the last snippet of output when compiling (the latest and unstable) xdirectfb_1.0-rc5-r2:
Code: |
+ rm -f libXinerama.so.1
+ ln -s libXinerama.so.1.0 libXinerama.so.1
+ rm -f ../../exports/lib/libXinerama.so.1
+ cd ../../exports/lib
+ ln -s ../../lib/Xinerama/libXinerama.so.1 .
+ rm -f libXinerama.so
+ ln -s libXinerama.so.1.0 libXinerama.so
+ rm -f ../../exports/lib/libXinerama.so
+ cd ../../exports/lib
+ ln -s ../../lib/Xinerama/libXinerama.so .
+ cd .
+ gcc -m32 -o ./libXrender.so.1.2.2~ -shared -Wl,-soname,libXrender.so.1 Xrender.o AddTrap.o Color.o Composite.o Cursor.o Glyph.o Picture.o FillRect.o FillRects.o Filter.o Poly.o Trap.o Tri.o -L../../exports/lib -lXext -lX11 -lc
+ rm -f libXrender.so.1
+ ln -s libXrender.so.1.2.2 libXrender.so.1
+ rm -f ../../exports/lib/libXrender.so.1
+ cd ../../exports/lib
+ ln -s ../../lib/Xrender/libXrender.so.1 .
+ rm -f libXrender.so
+ ln -s libXrender.so.1.2.2 libXrender.so
+ rm -f ../../exports/lib/libXrender.so
+ cd ../../exports/lib
+ ln -s ../../lib/Xrender/libXrender.so .
fcatomic.c: In function ‘FcAtomicLock’:
fcatomic.c:102: warning: unused variable ‘f’
fcatomic.c:101: warning: unused variable ‘fd’
fccfg.c: In function ‘FcConfigHome’:
fccfg.c:1526: warning: pointer targets in return differ in signedness
fcfreetype.c:52:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c: In function ‘FcVendorFoundry’:
fcfreetype.c:253: warning: pointer targets in passing argument 2 of ‘FcVendorMatch’ differ in signedness
fcfreetype.c: In function ‘FcFreeTypeQuery’:
fcfreetype.c:333: warning: pointer targets in passing argument 1 of ‘FcVendorFoundry’ differ in signedness
fcfreetype.c:568: warning: pointer targets in passing argument 1 of ‘FcNoticeFoundry’ differ in signedness
fcfreetype.c:797: error: dereferencing pointer to incomplete type
fcfreetype.c:799: warning: pointer targets in assignment differ in signedness
fcfreetype.c:805: error: dereferencing pointer to incomplete type
fcfreetype.c:827: error: dereferencing pointer to incomplete type
fcfreetype.c:834: warning: pointer targets in initialization differ in signedness
fcfreetype.c:835: warning: pointer targets in initialization differ in signedness
fcfreetype.c:836: warning: pointer targets in initialization differ in signedness
fcfreetype.c:883: warning: implicit declaration of function ‘FT_MODULE_CLASS’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
fcfreetype.c:883: error: dereferencing pointer to incomplete type
fcfreetype.c:883: error: invalid type argument of ‘->’
make[4]: *** [fcfreetype.o] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [World] Error 2
make: *** [World] Error 2
[31;01m*[0m
[31;01m*[0m ERROR: x11-base/xdirectfb-1.0_rc5-r2 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 2039: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake World || die
[31;01m*[0m The die message:
[31;01m*[0m (no error message)
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/tmp/portage/x11-base/xdirectfb-1.0_rc5-r2/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/tmp/portage/x11-base/xdirectfb-1.0_rc5-r2/temp/environment'.
[31;01m*[0m |
Version of freetype (stable) and DirectFB (unstable) are:
Code: |
[ebuild R ] media-libs/freetype-2.3.7 USE="X -bindist -debug -doc -utils" 0 kB
[ebuild R ] dev-libs/DirectFB-1.1.1 USE="X fbcon fusion gif jpeg mmx png sse truetype v4l v4l2 zlib -debug -sdl -sysfs" 0 kB
|
I ran revdep-rebuild already and remerged freetype and DirectFB. Can anyone help me with this and what to try next?
Thanks
Edit: Oh yeah, emerge --info
Code: |
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r10 i686)
=================================================================
System uname: 2.6.22-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Wed, 30 Jul 2008 17:06:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.5.2-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r2
sys-devel/automake: 1.9.6-r2, 1.10.1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/distfiles"
FEATURES="distlocks nodoc noinfo sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirror.uni-c.dk/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/"
LANG="en_US.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="a52 aac alsa audiofile bash-completion bidi bzip2 cjk cli crypt cups dga divx dri dv dvd encode exif fbcon ffmpeg flac fortran ftp gd gdbm gif iconv icq ieee1394 imagemagick imap imlib isdnlog javascript jpeg latex lm_sensors mad matroska midi mime mmx motif mp3 mpeg msn mudflap musepack musicbrainz ncurses nls nntp nocd nptl nptlonly ogg openal opengl openmp pam pcmcia pcre pdf perl png pppd python quicktime readline reflection session slang sndfile snmp speex spl sse sse2 ssl tcpd tga theora tiff truetype unicode userlocales v4l vcd vorbis wifi win32codecs wmf x86 xface xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="radeon fbdev v4l vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Just a thought, but is DirectFB-extra doing anything special? I tried to emerge the corresponding version for a test but it fails due to an error conected to dfb_surface_soft_lock (complete error log if someone finds it interesting). |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|