Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
e17 - e_dbus and ehal module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
fau
n00b
n00b


Joined: 01 Apr 2010
Posts: 74

PostPosted: Thu Apr 29, 2010 1:57 pm    Post subject: e17 - e_dbus and ehal module Reply with quote

hello,
I'm trying to install e17 from vapier's overlay. When it comes to emerging e_dbus it doesn't create ehal module so enligthenment cant be compiled. I have hal and dbus working, this is emerge log:
Code:
 * CPV:  x11-libs/e_dbus-9999
 * REPO: enlightenment
 * USE:  elibc_glibc kernel_linux nls userland_GNU x86
>>> Unpacking source...
 * subversion switch start -->
 *      old repository: http://svn.enlightenment.org/svn/e/trunk/e_dbus@48416
 *      new repository: http://svn.enlightenment.org/svn/e/trunk//e_dbus
At revision 48416.
 *    working copy: /usr/portage/distfiles/svn-src/enlightenment//e_dbus

 * Running eautoreconf in '/var/tmp/portage/x11-libs/e_dbus-9999/work/e_dbus' ...
 * Running aclocal -I m4 ...
  [ ok ]
 * Running libtoolize --copy --force --install --automake ...
  [ ok ]
 * Running aclocal -I m4 ...
  [ ok ]
 * Running autoconf ...
  [ ok ]
 * Running autoheader ...
  [ ok ]
 * Running automake --add-missing --copy ...
  [ ok ]
 * Running elibtoolize in: e_dbus
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Removing useless C++ checks ...
  [ ok ]
>>> Source unpacked in /var/tmp/portage/x11-libs/e_dbus-9999/work
>>> Compiling source in /var/tmp/portage/x11-libs/e_dbus-9999/work/e_dbus ...
 * econf: updating e_dbus/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating e_dbus/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for __attribute__... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for udisks... no
checking for upower... (cached) no
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for EINA... yes
checking for EDBUS... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for EVAS... yes
configure: creating ./config.status
config.status: creating e_dbus.spec
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/lib/Makefile
config.status: creating src/lib/dbus/Makefile
config.status: creating src/lib/hal/Makefile
config.status: creating src/lib/ukit/Makefile
config.status: creating src/lib/notification/Makefile
config.status: creating src/lib/connman/Makefile
config.status: creating src/lib/bluez/Makefile
config.status: creating src/lib/ofono/Makefile
config.status: creating src/bin/Makefile
config.status: creating edbus.pc
config.status: creating ehal.pc
config.status: creating eukit.pc
config.status: creating enotify.pc
config.status: creating econnman.pc
config.status: creating ebluez.pc
config.status: creating eofono.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands



------------------------------------------------------------------------
e_dbus 0.5.0.063
------------------------------------------------------------------------

Configuration Options Summary:

  Modules:

    EHal...............: no
    EUdev..............:
    EUkit..............: no
    EConnman...........: yes
    EBluez.............: yes
    EOfono.............: yes
    ENotify............: yes

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -march=core2 -pipe
  LDFLAGS..............: -Wl,-O1

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr
Back to top
View user's profile Send private message
Ahenobarbi
Retired Dev
Retired Dev


Joined: 02 Apr 2009
Posts: 345
Location: Warsaw, PL

PostPosted: Thu Apr 29, 2010 2:01 pm    Post subject: Reply with quote

Hello I have the same problem and I'm in middle of following solution suggested on #e :
Use instructions from http://trac.enlightenment.org/e/wiki/Gentoo

When it comes to keywords
/var/lib/layman/efl/Documentation/scripts/portage/update.etc.portage.file.sh

--
EDIT:
Remember to remove everything from enlightenment overlay and the overlay itself eg. I did ( you may need to change it a bit)
Code:

emerge -aC `eix -Ic --only-names  --in-overlay enlightenment`
layman -d enlightenment
rm  /etc/portage/package.keywords/enlightenment
Back to top
View user's profile Send private message
fau
n00b
n00b


Joined: 01 Apr 2010
Posts: 74

PostPosted: Fri Apr 30, 2010 3:23 pm    Post subject: Reply with quote

Thanks for your sugestions, I'll try it today :)

edit: I followed that link and your advice and it actually worked :) . I can't get directfb working but ill look into it.
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Sun May 09, 2010 12:48 am    Post subject: Reply with quote

I accidentally broke ehal in trunk a couple weeks ago, it should be fixed now.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
anton_kg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2007
Posts: 93

PostPosted: Mon Dec 20, 2010 5:04 am    Post subject: Reply with quote

discomfitor wrote:
I accidentally broke ehal in trunk a couple weeks ago, it should be fixed now.


Today, e17 (x11-wm/enlightenment-0.16.999.55225) is the only package which requires HAL in my system.
Is any way to get rid from it?

Thanks.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Dec 20, 2010 9:30 am    Post subject: Reply with quote

It won't be easy.

I believe the only thing that depends on hal is the filemanager. So, you could try disabling it. You will lose automounting, desktop icons, and places module will also probably not work.

Alternatively, you can apply the eeze diff at http://trac.enlightenment.org/e/browser/trunk/devs/discomfitor/eeze-1.1.diff and see if it works. If it breaks e, don't ask me :P It is all experimental at the moment and I haven't tried either of these methods.
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
anton_kg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2007
Posts: 93

PostPosted: Mon Dec 20, 2010 11:38 am    Post subject: Reply with quote

ppurka wrote:
It won't be easy.


Thanks, that's a good start. I've tried to apply it against beta3 but it failed to compile.
And it doesn't apply against svn 9999 current.

I'll keep an eye on it.
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Dec 20, 2010 2:15 pm    Post subject: Reply with quote

I had a look at the rejects and it actually seems quite easy to fix. What happened is that raster removed all the "test" stuff from svn. That's why the patches don't apply. You can just read the eeze-1.1.diff file and apply it manually if you want (only for the files which fail).
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
anton_kg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2007
Posts: 93

PostPosted: Mon Dec 20, 2010 2:43 pm    Post subject: Reply with quote

I decided to patch eeze beta3 instead.
I had to move up the _Eeze_Disk struct above _Eeze_Event_Disk_Mount function:

Code:

--- Eeze_Disk.h.orig   2010-12-20 22:43:50.000000000 +0800
+++ Eeze_Disk.h   2010-12-20 22:48:44.086000152 +0800
@@ -51,6 +51,9 @@
 EAPI extern int EEZE_EVENT_DISK_UNMOUNT;
 EAPI extern int EEZE_EVENT_DISK_ERROR;
 
+struct _Eeze_Disk;
+typedef struct _Eeze_Disk Eeze_Disk;
+
 typedef struct _Eeze_Event_Disk_Mount Eeze_Event_Disk_Mount;
 typedef struct _Eeze_Event_Disk_Unmount Eeze_Event_Disk_Unmount;
 
@@ -64,9 +67,6 @@
    Eeze_Disk *disk;
 };
 
-struct _Eeze_Disk;
-typedef struct _Eeze_Disk Eeze_Disk;
-
 typedef struct _Eeze_Event_Disk_Error Eeze_Event_Disk_Error;
 
 struct _Eeze_Event_Disk_Error

eeze beta3 library compiled fine.

Now, enlightenment-0.16.999.55225 configure script can't find "eeze_disk_function" from eeze lib:
Code:

checking whether to enable Files menu item... yes
checking which device backend to use... (cached) checking for eeze_disk_function in -leeze... no
configure: eeze mounting disabled


any ideas?
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Mon Dec 20, 2010 5:24 pm    Post subject: Reply with quote

Try working with all svn (9999 builds), or try out an earlier revision of the eeze-1.1.diff file which is closer to the time the beta3 was created.

( Maybe it doesn't work after all :-| )
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
anton_kg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2007
Posts: 93

PostPosted: Mon Dec 20, 2010 11:37 pm    Post subject: Reply with quote

ppurka wrote:
( Maybe it doesn't work after all :-| )

I need to compile it first to check it ;-)

I realized that the diff activates only if sys-apps/util-linux-2.18 is in the system.
It also requires the second patch:

Code:
--- src/lib/eeze_disk_mount.c.orig   2010-12-21 07:09:09.241871534 +0800
+++ src/lib/eeze_disk_mount.c   2010-12-21 07:13:55.938871658 +0800
@@ -57,6 +57,7 @@
 _eeze_disk_mount_result_handler(void *data __UNUSED__, int type __UNUSED__, Ecore_Exe_Event_Del *ev)
 {
    Eeze_Disk *disk;
+   Eeze_Event_Disk_Mount *e;
 
    if ((!ev) || (!ev->exe))
      return ECORE_CALLBACK_RENEW;
@@ -96,8 +97,6 @@
            break;
 
          default:
-           Eeze_Event_Disk_Mount *e;
-
            e = malloc(sizeof(Eeze_Event_Disk_Mount));
            EINA_SAFETY_ON_NULL_RETURN_VAL(e, ECORE_CALLBACK_RENEW);
            e->disk = disk;


It is installed with eeze_mount now. Next, e17 (even 9999):
Code:
e_fm_main.c:65:28: error: e_fm_main_eeze.h: No such file or directory

There is no such file for HAVE_EEZE_MOUNT backend. Where is it? ;-)
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3256

PostPosted: Tue Dec 21, 2010 1:59 am    Post subject: Reply with quote

Maybe pm discomfitor for that file ;)
_________________
emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/
Back to top
View user's profile Send private message
anton_kg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2007
Posts: 93

PostPosted: Tue Dec 28, 2010 3:57 am    Post subject: Reply with quote

ppurka wrote:
Maybe pm discomfitor for that file ;)

no respond so far and no xmas magic this year. I've uninstalled e17 for now.


:(
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Thu Jan 06, 2011 4:09 am    Post subject: Reply with quote

I don't check the boards very often, so I didn't get your message until just now. As of r55922, e17 is capable of running just as well with udisks instead of hal, or without either (though you will lose automount functionality in this case). Updates to the ebuilds to reflect this will be forthcoming, but until then just make sure you have ukit in your USE for e_dbus and it will be autodetected during the e17 build.

Also, as you may or may not have guessed from its explicitly disabled state, eeze mounting is not currently implemented in e17.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
feystorm
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2004
Posts: 96

PostPosted: Sat Jun 11, 2011 8:02 pm    Post subject: Reply with quote

discomfitor wrote:
As of r55922, e17 is capable of running just as well with udisks instead of hal, or without either (though you will lose automount functionality in this case). Updates to the ebuilds to reflect this will be forthcoming, but until then just make sure you have ukit in your USE for e_dbus and it will be autodetected during the e17 build.


eeze >= 1.0.999 is required by the configure process. If you dont have it, it falls back to ehal, even if you disabled it via a configure option.
See configure line 15034 from revision 60231.
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Fri Jun 17, 2011 8:26 am    Post subject: Reply with quote

yeah, the ebuilds are sucking a little bit lately or something I guess. you can probably fix it by doing EXTRA_ECONF="--disable-mount-hal --disable-mount-udisks" emerge enlightenment and and adding it to /etc/portage/env/x11-wm/enlightenment to retain the setting on future updates. that'll remove your ability to automount though.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
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