Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: bmarkus on October 04, 2009, 05:05:43 PM

Title: HAL + Xfce4 issues
Post by: bmarkus on October 04, 2009, 05:05:43 PM
Unfortunately HAL doesn't work in the current environment due to changes in components it relates on. Xfce4 is a victim of the HAL issue.

I'm working on a fix.
Title: Re: HAL + Xfce4 issues
Post by: curaga on October 05, 2009, 04:39:27 AM
HAL is dead, long live udev :P

Can't say I haven't waited for this. HAL is dead upstream, and its functionality being already in udev or being added.
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 05, 2009, 05:02:17 AM
HAL is dead, long live udev :P

Can't say I haven't waited for this. HAL is dead upstream, and its functionality being already in udev or being added.

Yeah, on the project home page you can read:

Quote
HAL is in maintenance mode - no new features are added. All future development focuses on Software/DeviceKit-disks, Software/DeviceKit-power, NetworkManager, PulseAudio, udev, ...

Also I'm not a big fun of HAL, simply it was needed by Xfce4 what I still love and want to keep operational. To be pragmatic I do not see an alternative just to get HAL up and working again. If it was working in TC 2.1 it will work in 2.4 after adapting DBUS changes, etc.

This is like NASA. There are nice presentations of ORION spaceship which will fly to the Moon, but astronauts are carried to ISS on board of Russian relay controlled Soyuz  ;D
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 05, 2009, 05:30:15 AM
In fact HAL is used only by the Thunar file manager and some plugins for example to detect removable media and also by the core to shut down the system, which I couldn't get up working :(

For sure HAL can be dropped and replaced with udev as an event source for DBUS which is used heavily by Xfce4.

Xfce 4.8 development is ongoing, will check details. Anyhow, I think HAL can be dropped in the current 4.6.2

Just a side note, LXDE is not using HAL at all :)
Title: Re: HAL + Xfce4 issues
Post by: curaga on October 05, 2009, 05:48:33 AM
Hm, was the sudo backend (for shutting down, rebooting) dropped in 4.6?
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 05, 2009, 05:51:00 AM
Hm, was the sudo backend (for shutting down, rebooting) dropped in 4.6?

Wasn't, but this part is also messy and causing problems some time in other distros too as Google search shows.

Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 05, 2009, 03:23:24 PM
I have HAL working now on 2.4RC4 anyhow. Will post it after some testing  ;)
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 13, 2009, 04:47:07 AM
HAL and Xfce4 issues are solved, now Xfce4 works fine with 2.4.1 New version of hal.tczl and Xfce4base.tczl are sent for submission. libblkid.tczl and libuuid.tczl replaced with a new extension, hal_support.tczl

The easiest way is to delete previous versions of


and reinstall Xfce4base.tczl with appbrowser when they appear in the repo.
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 13, 2009, 12:35:55 PM
Now all components are available for download in the repo.
Title: Re: HAL + Xfce4 issues
Post by: jur on October 13, 2009, 10:17:54 PM
As of now, my installation won't start X. How should I proceed in text mode to get this up and running again?

(The easiest way for me would be to re-enable jwm and work from there but I don't know how. I tried various things, even using the backup of mydata.gz that I created specially for this scenario but that didn't work, it proceeded with trying to load Xfce anyway. I don't know yet where that info is stored. I have persistent /opt and /home.)
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 13, 2009, 11:53:37 PM
As of now, my installation won't start X. How should I proceed in text mode to get this up and running again?

(The easiest way for me would be to re-enable jwm and work from there but I don't know how. I tried various things, even using the backup of mydata.gz that I created specially for this scenario but that didn't work, it proceeded with trying to load Xfce anyway. I don't know yet where that info is stored. I have persistent /opt and /home.)

Any error message?
Title: Re: HAL + Xfce4 issues
Post by: jur on October 14, 2009, 01:42:00 AM
Yes the one about no version info for uuidlib:

Code: [Select]
/lib/libuuid.so.1: no version information available (required by /lib/libblkid.so.1)
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 14, 2009, 02:58:10 AM
Yes the one about no version info for uuidlib:

Code: [Select]
/lib/libuuid.so.1: no version information available (required by /lib/libblkid.so.1)

I guess there is another part of the message saying when it occured (loading which extension). I think you are mounting extensions. Installing (loading into RAM) that one generated the message may help.
Title: Re: HAL + Xfce4 issues
Post by: jur on October 15, 2009, 06:20:55 PM
Once I downloaded the latest extensions it worked OK.

There is a different issue which is now: I can't download any of the Xfce4 additions such as themes, mixer etc. A message comes up about page not found (404) and MD5sum not being right for a certain library - I think that is the library that uou have replaced with HAL?

Not at my PC now so I can't check the exact message that appears in Appbrowser.

Also, there are no menu items in Xfce that correspond to the original stuff I had installed, and how do I access Appaudit to delete things again? I have searched around but not found it so far.
Title: Re: HAL + Xfce4 issues
Post by: Onyarian on October 16, 2009, 10:56:26 AM
Perhaps you have to update the .dep file from Xfce4base-locale.tcz with the dependencies of libblkid.tczl and,
libuuid.tczl, it gives an error when downloaded.

Good job with Xfce4 in TC!. Thanks!
Title: Re: HAL + Xfce4 issues
Post by: Jason W on October 16, 2009, 11:11:00 AM
Xfce4base-locale.tcz, xfce4-cpufreq-plugin.tcz, xfce4-screenshooter.tcz, xfce4-weather-plugin.tcz, xfce4-appfinder.tcz have had their dep files fixed to reflect hal_support.tczl
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 16, 2009, 11:17:20 AM
Xfce4base-locale.tcz, xfce4-cpufreq-plugin.tcz, xfce4-screenshooter.tcz, xfce4-weather-plugin.tcz, xfce4-appfinder.tcz have had their dep files fixed to reflect hal_support.tczl

Thanks!
Title: Re: HAL + Xfce4 issues
Post by: jur on October 16, 2009, 07:27:04 PM
Xfce4base-locale.tcz, xfce4-cpufreq-plugin.tcz, xfce4-screenshooter.tcz, xfce4-weather-plugin.tcz, xfce4-appfinder.tcz have had their dep files fixed to reflect hal_support.tczl
And thanks again!
Title: Re: HAL + Xfce4 issues
Post by: jur on October 16, 2009, 08:25:46 PM
The xfce4 themes still need to be done. :)
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 17, 2009, 02:35:21 AM
The xfce4 themes still need to be done. :)

And few others, like ristretto...

JW: I will check all deps during the weekend and send corrected files.
Title: Re: HAL + Xfce4 issues
Post by: Jason W on October 17, 2009, 03:34:39 AM
ristretto.tcz, orage.tcz, Terminal.tcz, Terminal-locale.tcz, xfwm4-themes.tcz, ristretto-locale.tcz, orage-locale.tcz has been updated to reflect hal_support.tczl.
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on October 17, 2009, 04:34:20 AM
ristretto.tcz, orage.tcz, Terminal.tcz, Terminal-locale.tcz, xfwm4-themes.tcz, ristretto-locale.tcz, orage-locale.tcz has been updated to reflect hal_support.tczl.

JW you are great ! Thanks...
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on November 05, 2009, 09:32:38 AM
HAL is dead, long live udev :P

Can't say I haven't waited for this. HAL is dead upstream, and its functionality being already in udev or being added.

Just received the announcement on the HAL mailing list that new version, 0.5.14 is due in two weeks :)
Title: Re: HAL + Xfce4 issues
Post by: bmarkus on December 01, 2009, 02:15:19 AM

Finally 0.5.14 is released, see annoncement on the HAL mailing list:

Quote
Hello world,

As promised, I did a new hal release to collect the rather large
number of fixes that hit trunk recently. This will probably be the
last hal release that will happen from the Linux side.

Will test it on 2.6