OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Xromer on February 26, 2006, 01:30:00 pm

Title: Gpe Pim Apps
Post by: Xromer on February 26, 2006, 01:30:00 pm
Ok from now i will edit only the first post of the Topic so you can see it as the first and then comment.
Here will be the status of the packages for FC4 and Zauri.
All these packages are here (http://mail.pdaxrom.org/contrib/Xromer)

Fedora 4 packages:
gnome-common-cvs.160406-1.i386.rpm -> Needed to compile the new libmimedir
gpe-announce-cvs.060406-1.i386.rpm -> Works
gpe-calendar-180406-1.i386.rpm -> Works, strange AT beahaviour please help me to understand.
gpe-icons-cvs.060406-1.i386.rpm -> Ok
libcontactsdb-cvs.060406-1.i386.rpm -> Works
libeventdb-cvs.060406.fixed-1.i386.rpm -> Works, currently under frequent changement
libgpepimc-cvs.160406-1.i386.rpm -> Works as usual
libgpevtype-cvs.160406-1.i386.rpm -> Works, new changement due to a new libevent
libgpewidget-cvs.060406-1.i386.rpm -> Works as usual, no changement
libmimedir-cvs.160406-1.i386.rpm -> New functions for importation to look at
libschedule-cvs.060406-1.i386.rpm -> New implentations, changement on the at libpopt code
libsoundgen-cvs.060406-1.i386.rpm -> Works as usual
libtododb-cvs.060406-1.i386.rpm -> Works as usual
libxsettings-client-cvs.060406-1.i386.rpm -> No changements

Zaurus packages:
gpe-announce_cvs.060406.fixed_armv5tel.ipk -> Works.
gpe-calendar_cvs.240406_armv5tel.ipk -> New Day,Weeks,Months views. Added an event list on the right side to list all the events, nice!!!!
gpe-contacts_cvs.060406_armv5tel.ipk -> New nice interface, always importation segfaults ( see above)
gpe-gallery_cvs.060406_armv5tel.ipk -> Works but has a limited load capacity that is about 30 images i saw, after that goes segfault i don' know why!
gpe-icons_cvs.060406_armv5tel.ipk -> Fully works!
gpe-irc_cvs.060406_armv5tel.ipk -> Fully works! Needs the dictionary and the smile icons.
gpe-ownerinfo_cvs.060406_armv5tel.ipk -> Fully works!
gpe-shield_cvs.060406_arm.ipk -> Fully works!
gpe-sketchbook_cvs.060406_armv5tel.ipk -> Fully works, better visuality!
gpe-soundbite_cvs.060406_armv5tel.ipk -> To try! Remember to install the libgnomeui and libglade packages and to switch on the mic
gpe-timesheet_cvs.060406_armv5tel.ipk ->  Fully works!
gpe-today_cvs.060406_armv5tel.ipk -> Fully works!
gpe-todo_cvs.060406_armv5tel.ipk -> Fully works! New nice interface
gsm_1.0.11_armv5tel.ipk -> Fully works!
gstreamer_0.8.12_armv5tel.ipk -> Fully works!
libcontactsdb_cvs.060406_armv5tel.ipk -> Fully works!
libeventdb_cvs.060406_armv5tel.ipk -> Fully works!
libgpepimc_cvs.060406_armv5tel.ipk -> Fully works!
libgpevtype_cvs.060406_armv5tel.ipk -> Fully works!
libgpewidget_cvs.060406_armv5tel.ipk -> Fully works!
libschedule_cvs.060406.fixed_armv5tel.ipk -> Now works like the Ipaq's one triggering the atd directly! It was my fault as it was only a problem of alarm_file named different from Family.
libsoundgen_cvs.060406_armv5tel.ipk -> Fully works!
libtododb_cvs.060406_armv5tel.ipk -> Fully works!
libxsettings-client_cvs.060406_armv5tel.ipk -> Fully works!


Here still remain old packages wihout need of changes:
libmimedir_0.3.1_armv5tel.ipk -> Works
sqlite_2.8.17_armv5tel.ipk -> Works



NEWS ON 25 Apr 2006
Enhancements on the Zauri side, i compiled the new CVS changes and fixed the alarm_file name for the PdaXrom atd.
Now the alarms are well generated and announce wakes up, it' s only to correct the functions that makes you have only one alarm for time.
Try them!
BYez!
Title: Gpe Pim Apps
Post by: pgas on February 26, 2006, 01:54:19 pm
limit is 5 megs per post.
you can mail the ipks to me pierre.gaston@gmail.com
and I'll put them on mail.pdaxrom.org/contrib
Title: Gpe Pim Apps
Post by: Xromer on February 26, 2006, 02:04:58 pm
Quote
limit is 5 megs per post.
you can mail the ipks to me pierre.gaston@gmail.com
and I'll put them on mail.pdaxrom.org/contrib
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116152\"][{POST_SNAPBACK}][/a][/div]
OK, i' ll do now.
THX!
Title: Gpe Pim Apps
Post by: DReymann on February 27, 2006, 01:26:26 pm
Hi,
I just installed the apps. I am very interested to test, because I exspect them to be better adapted to the PDA-screen.
Gpe-calendar and gpe-contacts segfault, when I try to import data. They crash immediately after clicking on the import-button. On the command-line there is only the message "Segmentation fault". Importing data would be essential for serious usage.
Any ideas?

Detlev
Title: Gpe Pim Apps
Post by: karlto on March 07, 2006, 11:22:51 pm
Hi Xromer

Thanks for all your work on this - looking really good. As a replacement for alarms using kopi, gpe-calendar looks like the business, as it goes directly to atd and shouldn't have to be running for alarms to work.

However, every time I try to set an appointment with an alarm in gpe-calendar, it comes up with a warning:

'There is a problem with the scheduling daemon (perhaps atd is not running)! This can cause issues.'

It does cause issues, because the alarm doesn't go off! atd is running and working (tested with other things). gpe-calendar is adding files to /var/spool/at/ (although they seem to have slightly different file names). These files specify a lot of variables, then try to run gpe-announce followed by gpe-calendar.

I think gpe-announce is a dialog box type utility, but it isn't installed with any of your packages and I can't find it elsewhere. gpe-calendar doesn't seem to be run by atd, but perhaps it is stopping because it can't find gpe-announce? Or is it failing to add the file to the spool because it can't be parsed to begin with?

Do you have any ideas or suggestions that I can try?

Once again, thanks for all your work.

Karl

(SL6000L, RC12)
Title: Gpe Pim Apps
Post by: Xromer on March 08, 2006, 06:07:09 am
Quote
Hi Xromer

Thanks for all your work on this - looking really good. As a replacement for alarms using kopi, gpe-calendar looks like the business, as it goes directly to atd and shouldn't have to be running for alarms to work.

However, every time I try to set an appointment with an alarm in gpe-calendar, it comes up with a warning:

'There is a problem with the scheduling daemon (perhaps atd is not running)! This can cause issues.'

It does cause issues, because the alarm doesn't go off! atd is running and working (tested with other things). gpe-calendar is adding files to /var/spool/at/ (although they seem to have slightly different file names). These files specify a lot of variables, then try to run gpe-announce followed by gpe-calendar.

I think gpe-announce is a dialog box type utility, but it isn't installed with any of your packages and I can't find it elsewhere. gpe-calendar doesn't seem to be run by atd, but perhaps it is stopping because it can't find gpe-announce? Or is it failing to add the file to the spool because it can't be parsed to begin with?

Two screenshots taken with gpe-screenshot.

Do you have any ideas or suggestions that I can try?

Once again, thanks for all your work.

Karl

(SL6000L, RC12)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117491\"][{POST_SNAPBACK}][/a][/div]

OK, i' ve just released another set of packages GPE packages.
I mailed them to pgas to put them on my contrib.
This is the list and issues:
gpe-calendar_0.72_armv5tel.ipk -> another time import error, don' t know how to fix, working on atd issue
gpe-contacts_0.44_armv5tel.ipk -> another time import error, don' t know how to fix
gpe-icons_0.25_armv5tel.ipk ->  Works
gpe-ownerinfo_0.28_armv5tel.ipk ->  Works
gpe-screenshot_0.4_armv5tel.ipk -> Works
gpe-timesheet_0.21_armv5tel.ipk -> Works
gpe-today_0.10_armv5tel.ipk -> Works
gpe-todo_0.55_armv5tel.ipk -> Works
gpsd_2.28_armv5tel.ipk -> Works
gpsdrive_2.10pre2_armv5tel.ipk -> Works but not as root user, don' t know why
libcontactsdb_0.3_armv5tel.ipk -> Works
libeventdb_0.21_armv5tel.ipk -> Works
libgpepimc_0.5_armv5tel.ipk -> Works
libgpevtype_0.16_armv5tel.ipk -> Works
libgpewidget_0.110_armv5tel.ipk -> Works
libmimedir_0.3.1_armv5tel.ipk -> Works
libschedule_0.15_armv5tel.ipk -> Works
libtododb_0.09_armv5tel.ipk -> Works
libxsettings-client_0.16_armv5tel.ipk -> Works
sqlite_2.8.17_armv5tel.ipk -> Works

They are nearly the same of the old ones, except for the new mimedir implementation that fix some bugs related to the importations, logically you can see it in the FC4GPE new realease, but i' m trying to see what' s going on on ipks.
New utilities packged as timesheet, screenshot and today.
Guys i tried to install a new gtk2 package to fix some windows problems but i got the same segfaults.
Anyone has suggestions? Do you think it' s an optimization problem? If someone has suggestions on gcc flags optimization to fix this problem i would appreciate it very much.
BYEZ  

P.S. Karito i have to work on the calendar code for the events issue as announce is connected to other packages as gpe-soundserver and GPE xserver implementations that need a total repackage of Xserver that now i don' t have time to manage.
Sketch.r  i tried to compile gpe-mini-browser but is based on osb-jscore bugged package and i can' t compile it but now i would like to fix the packages that haven' t similar in the PdaXrom distribution. Sorry, try to see what' s the matter on the gtk-webcore at sourceforge.net and if you give a fixed osb-jscore to me i will package it.

Two screenshots taken with gpe-screenshot:
Title: Gpe Pim Apps
Post by: scheck.r on March 08, 2006, 08:34:10 am
Quote
Sketch.r  i tried to compile gpe-mini-browser but is based on osb-jscore bugged package and i can' t compile it but now i would like to fix the packages that haven' t similar in the PdaXrom distribution. Sorry, try to see what' s the matter on the gtk-webcore at sourceforge.net and if you give a fixed osb-jscore to me i will package it.
Never mind, you have already done a really good job. As you said there are other priorities.

Thank you very much for the new packages and fixes.
Title: Gpe Pim Apps
Post by: karlto on March 08, 2006, 02:30:14 pm
Quote
P.S. Karlto i have to work on the calendar code for the events issue as announce is connected to other packages as gpe-soundserver and GPE xserver implementations that need a total repackage of Xserver that now i don' t have time to manage.
That's a pity - I suppose that announce is the only thing that actually makes an alarm popup, so leaving it out of the at command wouldn't achieve much...?

Thanks anyway
Title: Gpe Pim Apps
Post by: Xromer on March 08, 2006, 04:16:20 pm
That's a pity - I suppose that announce is the only thing that actually makes an alarm popup, so leaving it out of the at command wouldn't achieve much...?

Thanks anyway
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117610\"][{POST_SNAPBACK}][/a][/div]
[/quote]
Ok i overrided the X11 GPE request generating the x11.pc file needed to compile, then i compiled announce and libsoundgen. Now gpe-announce gets on alarm and ring on the right device /dev/dsp instead of /dev/misc/buzzer.
Now i have to make it reach the mixer device and take the alarms from calendar.
But i 've never used atd until now, so i have to study it a little bit to get all the GPE stuff to work.
I' m studying gcc optimizations to work out segfaults stuff too.
Any suggestions are very appreciated.
THX to everyone!  
Title: Gpe Pim Apps
Post by: karlto on March 08, 2006, 04:33:53 pm
Quote
Ok i overrided the X11 GPE request generating the x11.pc file needed to compile, then i compiled announce and libsoundgen. Now gpe-announce gets on alarm and ring on the right device /dev/dsp instead of /dev/misc/buzzer.
Now i have to make it reach the mixer device and take the alarms from calendar.
But i 've never used atd until now, so i have to study it a little bit to get all the GPE stuff to work.
I' m studying gcc optimizations to work out segfaults stuff too.
Any suggestions are very appreciated.
THX to everyone! 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117627\"][{POST_SNAPBACK}][/a][/div]

Cool - that sounds like great progress!

I don't think you need to worry about it taking the alarms from the calendar - the calendar already seems to have it sorted (just need announce for announcing).

Here is one of the at spool files created by gpe-calendar for my test alarm:
Code: [Select]
#!/bin/sh
export DISPLAY=:0
X11_MIDDLE_MOUSE_BUTTON_MOD=103; export X11_MIDDLE_MOUSE_BUTTON_MOD
X11_RIGHT_MOUSE_BUTTON_MOD=27; export X11_RIGHT_MOUSE_BUTTON_MOD
QTDIR=/usr/lib/qt; export QTDIR
DISTCC_HOSTS=192.168.129.1\ localhost; export DISTCC_HOSTS
X11_RIGHT_MOUSE_BUTTON=; export X11_RIGHT_MOUSE_BUTTON
USER=root; export USER
LD_LIBRARY_PATH=/usr/lib/kde/lib:/opt/native/arm/3.4.4-xscale-softvfp/lib; expor
KDEDIR=/usr/lib/kde; export KDEDIR
TSLIB_TSEVENTTYPE=CORGI; export TSLIB_TSEVENTTYPE
PATH=/opt/native/arm/3.4.4-xscale-softvfp/bin:/opt/sdk/bin:/root/bin:/bin:/sbin:
PWD=/home/root; export PWD
NATIVE_SDK_FILES_PREFIX=/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linu
KDEDIRS=/usr/lib/kde; export KDEDIRS
PS1=\\[\\033[01\;31m\\]\\h\ \\[\\033[01\;34m\\]\\W\ \$\ \\[\\033[00m\\]; export
SHLVL=3; export SHLVL
HOME=/home/root; export HOME
LOGNAME=root; export LOGNAME
PKG_CONFIG_PATH=/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/lib/pk
TSLIB_TSDEVICE=/dev/ts; export TSLIB_TSDEVICE
DISPLAY=:0; export DISPLAY
COLORTERM=; export COLORTERM
XAUTHORITY=/home/root/.Xauthority; export XAUTHORITY
SYSTEM_TRAY_ID=0; export SYSTEM_TRAY_ID
gpe-announce 'test'
gpe-calendar -s 1141838040 -e 1 &

rm -f $0
As far as I can see, the last few lines are the only important ones - should announce with the name of the appointment ('test'), then call the calendar. Time is already set, and atd takes care of suspend wakeup and everything. It's a really nice solution.

I would be happy to test if you have a package compiled with announce included...

Thanks
Title: Gpe Pim Apps
Post by: Xromer on March 08, 2006, 05:20:37 pm
Cool - that sounds like great progress!

I don't think you need to worry about it taking the alarms from the calendar - the calendar already seems to have it sorted (just need announce for announcing).

Here is one of the at spool files created by gpe-calendar for my test alarm:
Code: [Select]
#!/bin/sh
export DISPLAY=:0
X11_MIDDLE_MOUSE_BUTTON_MOD=103; export X11_MIDDLE_MOUSE_BUTTON_MOD
X11_RIGHT_MOUSE_BUTTON_MOD=27; export X11_RIGHT_MOUSE_BUTTON_MOD
QTDIR=/usr/lib/qt; export QTDIR
DISTCC_HOSTS=192.168.129.1\ localhost; export DISTCC_HOSTS
X11_RIGHT_MOUSE_BUTTON=; export X11_RIGHT_MOUSE_BUTTON
USER=root; export USER
LD_LIBRARY_PATH=/usr/lib/kde/lib:/opt/native/arm/3.4.4-xscale-softvfp/lib; expor
KDEDIR=/usr/lib/kde; export KDEDIR
TSLIB_TSEVENTTYPE=CORGI; export TSLIB_TSEVENTTYPE
PATH=/opt/native/arm/3.4.4-xscale-softvfp/bin:/opt/sdk/bin:/root/bin:/bin:/sbin:
PWD=/home/root; export PWD
NATIVE_SDK_FILES_PREFIX=/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linu
KDEDIRS=/usr/lib/kde; export KDEDIRS
PS1=\\[\\033[01\;31m\\]\\h\ \\[\\033[01\;34m\\]\\W\ \$\ \\[\\033[00m\\]; export
SHLVL=3; export SHLVL
HOME=/home/root; export HOME
LOGNAME=root; export LOGNAME
PKG_CONFIG_PATH=/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/lib/pk
TSLIB_TSDEVICE=/dev/ts; export TSLIB_TSDEVICE
DISPLAY=:0; export DISPLAY
COLORTERM=; export COLORTERM
XAUTHORITY=/home/root/.Xauthority; export XAUTHORITY
SYSTEM_TRAY_ID=0; export SYSTEM_TRAY_ID
gpe-announce 'test'
gpe-calendar -s 1141838040 -e 1 &

rm -f $0
As far as I can see, the last few lines are the only important ones - should announce with the name of the appointment ('test'), then call the calendar. Time is already set, and atd takes care of suspend wakeup and everything. It's a really nice solution.

I would be happy to test if you have a package compiled with announce included...

Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117630\"][{POST_SNAPBACK}][/a][/div]
[/quote]
Ok now i'm working on the FC4 side, i compiled libsoundgen and gpe-announce. Got gpe-announce run manually, it gets up and sound. The mute key works, but when i press the snooze key it deals about a trigger at event that lacks.
Now the problem is that i don' t understand what' s the right at format is ????
I' m looking at the gpe-calendar code why it puts all the env stuff in the at command.
:-)
Title: Gpe Pim Apps
Post by: Xromer on March 08, 2006, 05:23:13 pm
Quote
Cool - that sounds like great progress!

I don't think you need to worry about it taking the alarms from the calendar - the calendar already seems to have it sorted (just need announce for announcing).

Here is one of the at spool files created by gpe-calendar for my test alarm:
Code: [Select]
#!/bin/sh
export DISPLAY=:0
X11_MIDDLE_MOUSE_BUTTON_MOD=103; export X11_MIDDLE_MOUSE_BUTTON_MOD
X11_RIGHT_MOUSE_BUTTON_MOD=27; export X11_RIGHT_MOUSE_BUTTON_MOD
QTDIR=/usr/lib/qt; export QTDIR
DISTCC_HOSTS=192.168.129.1\ localhost; export DISTCC_HOSTS
X11_RIGHT_MOUSE_BUTTON=; export X11_RIGHT_MOUSE_BUTTON
USER=root; export USER
LD_LIBRARY_PATH=/usr/lib/kde/lib:/opt/native/arm/3.4.4-xscale-softvfp/lib; expor
KDEDIR=/usr/lib/kde; export KDEDIR
TSLIB_TSEVENTTYPE=CORGI; export TSLIB_TSEVENTTYPE
PATH=/opt/native/arm/3.4.4-xscale-softvfp/bin:/opt/sdk/bin:/root/bin:/bin:/sbin:
PWD=/home/root; export PWD
NATIVE_SDK_FILES_PREFIX=/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linu
KDEDIRS=/usr/lib/kde; export KDEDIRS
PS1=\\[\\033[01\;31m\\]\\h\ \\[\\033[01\;34m\\]\\W\ \$\ \\[\\033[00m\\]; export
SHLVL=3; export SHLVL
HOME=/home/root; export HOME
LOGNAME=root; export LOGNAME
PKG_CONFIG_PATH=/opt/native/arm/3.4.4-xscale-softvfp/armv5tel-cacko-linux/lib/pk
TSLIB_TSDEVICE=/dev/ts; export TSLIB_TSDEVICE
DISPLAY=:0; export DISPLAY
COLORTERM=; export COLORTERM
XAUTHORITY=/home/root/.Xauthority; export XAUTHORITY
SYSTEM_TRAY_ID=0; export SYSTEM_TRAY_ID
gpe-announce 'test'
gpe-calendar -s 1141838040 -e 1 &

rm -f $0
As far as I can see, the last few lines are the only important ones - should announce with the name of the appointment ('test'), then call the calendar. Time is already set, and atd takes care of suspend wakeup and everything. It's a really nice solution.

I would be happy to test if you have a package compiled with announce included...

Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117630\"][{POST_SNAPBACK}][/a][/div]
Ok now i'm working on the FC4 side, i compiled libsoundgen and gpe-announce. Got gpe-announce run manually, it gets up and sound. The mute key works, but when i press the snooze key it deals about a trigger at event that lacks.
Now the problem is that i don' t understand what the right at format is ????
I' m looking at the gpe-calendar code why it puts all the env stuff in the at command.
:-)
We are near EHEHEHEH! I feel it! Yes but now, i' m near to the BED! HIIHI! BYEZ! :-)
Title: Gpe Pim Apps
Post by: karlto on March 08, 2006, 09:41:12 pm
Quote
Ok now i'm working on the FC4 side, i compiled libsoundgen and gpe-announce. Got gpe-announce run manually, it gets up and sound. The mute key works, but when i press the snooze key it deals about a trigger at event that lacks.
Now the problem is that i don' t understand what the right at format is ????
I' m looking at the gpe-calendar code why it puts all the env stuff in the at command.
:-)
We are near EHEHEHEH! I feel it! Yes but now, i' m near to the BED! HIIHI! BYEZ! :-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=117639\"][{POST_SNAPBACK}][/a][/div]

I couldn't figure out why the variables either; maybe something to do with snoozing the alarm? Most of them are not even relevant to my Zaurus anyway (e.g. IP address, compiler, etc all wrong)

I believe that the '-s 1141838040' switch on gpe-calendar above refers to the at spool file name, so this could have something to do with it...

atd is probably a stripped-down version for pdaXrom - no atq command or anything like that, but it seems to work fine. I would say just start with the gpe-announce and gpe-calendar lines on their own and see what happens from there!

Cheers
Title: Gpe Pim Apps
Post by: pgas on March 09, 2006, 01:44:24 am
the updated packages are on mail.pdaxrom.org/contrib
Title: Gpe Pim Apps
Post by: Xromer on March 11, 2006, 07:06:54 pm
OK here are the new packages:
FC4:

gpe-announce-0.13-1.i386.rpm -> Works, to test the ATD implementation
gpe-filemanager-0.24-1.i386.rpm -> Works, pretty fast and funny.
gpe-mileage-0.1-1.i386.rpm -> Works
gpe-multisync-0.1-1.i386.rpm -> To test, i didn' t because i hate sinchronization  
gpe-shield-0.9-1.i386.rpm -> Works fine, it' s a fast alternative to other tools like Firestarter or FWbuilder
gpe-sketchbook-0.2.9-1.i386.rpm -> Works, i find it very useful for fast notes, as no sinchronization is needed with the desktop (sketchbook PdaXrom port here)
gpe-taskmanager-0.19-1.i386.rpm -> Works, funny and very fast utility to manage the windows!
libgpelaunch-0.14-1.i386.rpm -> Works
libnsqlc-0.2-1.i386.rpm -> To test, is the library needed by gpe-multisync
libsoundgen-0.3-1.i386.rpm -> Works, library needed by gpe-announce

Zaurus pdaXrom:

gpe-announce_0.13_armv5tel.ipk -> Works, what' s the right sound device? I thoutght it was /dev/dsp but it tells me device or resource busy....??????? Let me know it' s fast to correct.
gpe-gallery_0.97_armv5tel.ipk -> Works, but it segfaults on too long files listing.
gpe-mileage_0.1_armv5tel.ipk ->  Works
gpe-ownerinfo_0.28_armv5tel.ipk ->  Works
gpe-screenshot_0.4_armv5tel.ipk ->  Works
gpe-sketchbook_0.2.9_armv5tel.ipk ->  Works
gpe-taskmanager_0.19_armv5tel.ipk ->  Works
gpe-timesheet_0.21_armv5tel.ipk ->  Works
gpe-today_0.10_armv5tel.ipk ->  Works
libgpelaunch_0.14_armv5tel.ipk ->  Works
libsoundgen_0.3_armv5tel.ipk ->  Works

I will send the packages to pgas as always.
BYEZ!!
Title: Gpe Pim Apps
Post by: karlto on March 12, 2006, 01:58:04 pm
Quote
gpe-announce_0.13_armv5tel.ipk -> Works, what' s the right sound device? I thoutght it was /dev/dsp but it tells me device or resource busy....??????? Let me know it' s fast to correct.

Hi Xromer

I'm pretty certain /dev/dsp is correct, so it sounds like something else has it locked. I'll try the new packages as soon as pgas posts them, and see whether it's just a configuration issue, or hopefully at least find out what is locking the sound device.

Thanks

Karl
Title: Gpe Pim Apps
Post by: Xromer on March 12, 2006, 02:38:53 pm
Quote
Quote
gpe-announce_0.13_armv5tel.ipk -> Works, what' s the right sound device? I thoutght it was /dev/dsp but it tells me device or resource busy....??????? Let me know it' s fast to correct.

Hi Xromer

I'm pretty certain /dev/dsp is correct, so it sounds like something else has it locked. I'll try the new packages as soon as pgas posts them, and see whether it's just a configuration issue, or hopefully at least find out what is locking the sound device.

Thanks

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118195\"][{POST_SNAPBACK}][/a][/div]

THX Karl, i' m now looking at the gtk_get_selection_multiple issue that makes gpe-calendar and gpe-contacts segfault.
First thing i saw that exportation with a 1 file sel widget does not bring to segfault, so i think that making the 1 file selection on the import issue would fix the problem.
But it' s not simple, beacause the need of a redesign of the on_import_vcal function of the main.c file in the gpe-calendar, that' s the same of gpe_contacts.
I now know the functions to change, but the problem it' s i' m at the begin on reading the GTK+ API documentation, so if someone has a good skill and can help would appreciate it.
Ok i' ll wait to your test to fix the sound dev problem.
For the message "There is a problem with the scheduling daemon (perhaps atd is not running)!\nThis can cause issues." i saw is in the event-ui.c file and is related to the schedule issue, i' m trying to understand it too, because in the Zauri it doesn' t pop up ???? STRANGE.
BYEZ!
Title: Gpe Pim Apps
Post by: karlto on March 12, 2006, 02:59:43 pm
Quote
For the message "There is a problem with the scheduling daemon (perhaps atd is not running)!\nThis can cause issues." i saw is in the event-ui.c file and is related to the schedule issue, i' m trying to understand it too, because in the Zauri it doesn' t pop up ???? STRANGE.

It pops up for me - not always, but mostly after the first time the appointment is set. I assumed that 'at' will return a value on success or failure of setting a scheduled command, and that perhaps it tried to parse the commands given and failed because gpe-announce doesn't exist? Either that or it says it because not all of the command line switches are supported by the Zaurus version of atd/at? E.g. I don't seem to be able to list the queue, so perhaps calendar requires this to confirm the scheduling worked...?
Title: Gpe Pim Apps
Post by: Xromer on March 12, 2006, 09:19:36 pm
Quote
Quote
For the message "There is a problem with the scheduling daemon (perhaps atd is not running)!\nThis can cause issues." i saw is in the event-ui.c file and is related to the schedule issue, i' m trying to understand it too, because in the Zauri it doesn' t pop up ???? STRANGE.

It pops up for me - not always, but mostly after the first time the appointment is set. I assumed that 'at' will return a value on success or failure of setting a scheduled command, and that perhaps it tried to parse the commands given and failed because gpe-announce doesn't exist? Either that or it says it because not all of the command line switches are supported by the Zaurus version of atd/at? E.g. I don't seem to be able to list the queue, so perhaps calendar requires this to confirm the scheduling worked...?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118206\"][{POST_SNAPBACK}][/a][/div]

Thats the clear command with whom the libschedule interfaces with atd.
sprintf(call_at, "/usr/bin/at -q g -f /tmp/atjob.txt %02d:%02d %02d.%02d.%02d 2>&1", tm.tm_hour, tm.tm_min, tm.tm_mday, tm.tm_mon+1, tm.tm_year-100);
As you can see there are 2 switches -q and -f and after the file reference there' s the time string.
The %02d means that the tm.tm_hour and subsequent variables must return a formatted decimal that is the number you see in the /var/spool/at dir.
Now this code changes are very fast to do, the problem is understand the real behaviour of the 2 at daemons the Desktop' s one and Zauri' s one.
After that there' s the event_ui.c code of the gpe-calendar utility that returns the control of the libschedule.

if (ev->flags & FLAG_ALARM)
   {
     ev_real = get_cloned_ev(ev);
     ev_d = event_db_get_details (ev_real);
     if (((int)(ev->start) != (int)skip) && (uid!=ev_real->uid))
       {
         gchar *action;

         action = g_strdup_printf ("gpe-announce '%s'\ngpe-calendar -s %ld -e %ld &\n",
               ev_d->summary, (long)ev->start, ev_real->uid);
         if (!schedule_set_alarm (ev->uid, ev->start, action, TRUE))
            {
/* silently ignore for Maemo, we do not have scheduling here :-( */
#ifndef IS_HILDON      
             GtkWidget* dialog;
               
              dialog = gtk_message_dialog_new (GTK_WINDOW(d),
                         GTK_DIALOG_DESTROY_WITH_PARENT,
                         GTK_MESSAGE_WARNING,
                         GTK_BUTTONS_CLOSE,
                         _("There is a problem with the scheduling daemon (perhaps atd is not running)!\nThis can cause issues."));
                  gtk_dialog_run (GTK_DIALOG(dialog));
                  gtk_widget_destroy(dialog);
#endif
            }
         g_free (action);
         break;
       }
   }
    }
    event_db_list_destroy (events);
}

As you can see the FLAG ALARM is taken from the libschedule and  the  action gpe-announce '%s'\ngpe-calendar -s %ld -e %ld &\n is taken to wake up gpe-announce. A check of the alarm taken is done by schedule_set_alarm reference to libschedule that in case of failure popups the windows with the massage we know.
So the lack of gpe-announce doesn' t fit anything with the popup.
Always in the schedule_set_alarm  there' s the string that touch the at command i.e. sprintf(call_at, "/usr/bin/at -q g -f /tmp/atjob.txt %02d:%02d %02d.%02d.%02d 2>&1", tm.tm_hour, tm.tm_min, tm.tm_mday, tm.tm_mon+1, tm.tm_year-100);
 so giving the right command to the at daemon surely works out the problem.
But i think there' s a difference in the Ipaq and Zauri at port and the Desktop one, as in the Desktop the schedule_set_alarm function fails and i see that atd is not triggered.
Let me know BYEZ!
Title: Gpe Pim Apps
Post by: karlto on March 12, 2006, 09:36:06 pm
Quote
Thats the clear command with whom the libschedule interfaces with atd.
sprintf(call_at, "/usr/bin/at -q g -f /tmp/atjob.txt %02d:%02d %02d.%02d.%02d 2>&1", tm.tm_hour, tm.tm_min, tm.tm_mday, tm.tm_mon+1, tm.tm_year-100);

OK - here's an example command using that format:

Code: [Select]
/usr/bin/at -q g -f /tmp/atjob.txt 15:32 13.03.06
...which does *not* work on my Zaurus. It creates a file with a different extension and different file mode in /var/spool/at, just like gpe-calendar did! at doesn't return; I have to kill it, so this would explain a bad return value.

It *does work* if I remove the -q switch:

Code: [Select]
/usr/bin/at -f /tmp/atjob.txt 15:32 13.03.06
The pdaXrom version of atd does not seem to support queues (e.g. above we are trying to add to a queue called 'g'). As far as I can see, this is only for organising and reviewing purposes, and is not required. Note also that the -l switch (used to list queued commands - see at man page (http://bama.ua.edu/cgi-bin/man-cgi?00+00)) does not work in pdaXrom, so hopefully it isn't used anywhere either.

I would say just remove the '-q g' switch and see what happens!
Title: Gpe Pim Apps
Post by: karlto on March 12, 2006, 10:18:14 pm
Quote
gpe-announce_0.13_armv5tel.ipk -> Works, what' s the right sound device? I thoutght it was /dev/dsp but it tells me device or resource busy....??????? Let me know it' s fast to correct.

I just tried this, and it fails for me too. It seems that pdaXrom uses esd, which would explain it. I tried 'esdctl standby' to release /dev/dsp, but it doesn't seem to work.

From what I gather, it should be possible to simply pipe the sound to the program '/usr/bin/esddsp', which gives compatibility with older dsp programs... is this possible? It would then play any sound through the esound daemon, and should work fine!

With the correct at command and working sound, that would be it!

(fingers crossed)
Title: Gpe Pim Apps
Post by: Xromer on March 13, 2006, 08:01:17 am
Quote
Quote
gpe-announce_0.13_armv5tel.ipk -> Works, what' s the right sound device? I thoutght it was /dev/dsp but it tells me device or resource busy....??????? Let me know it' s fast to correct.

I just tried this, and it fails for me too. It seems that pdaXrom uses esd, which would explain it. I tried 'esdctl standby' to release /dev/dsp, but it doesn't seem to work.

From what I gather, it should be possible to simply pipe the sound to the program '/usr/bin/esddsp', which gives compatibility with older dsp programs... is this possible? It would then play any sound through the esound daemon, and should work fine!

With the correct at command and working sound, that would be it!

(fingers crossed)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118260\"][{POST_SNAPBACK}][/a][/div]

OK when i said that we were near i said because it is. HHEHEHHE!  
You know now i know the code to change, so this evening i will do the fixes and release the packages to test.
THX for your investigations they are fundamental to undestand the At and Sound behaviours, as i don' t have much time to test.
Code changes for the AT commands are very easy to do.
For the sound i think that was my mistake.
HUM.... gpe-announce seems to use 2 devices to generate the sound.
One is the BUZZER device:
#define BUZZER_FILE "/dev/misc/buzzer"
#define CFG_NOSOUND    -2
#define CFG_AUTOMATIC    -1

And this is the function:
void open_buzzer (void)
{
   buzzerfd = open (BUZZER_FILE, O_WRONLY);
}

int set_buzzer (int on, int off)
{
   struct buzzer_time t;

   if (buzzerfd == -1)
      return 0;

   t.on_time = on;
   t.off_time = off;

   if (ioctl (buzzerfd, IOC_SETBUZZER, &t))
   {
      perror ("IOC_SETBUZZER");
      return -1;
   }

   return 0;
}

void buzzer_off (int sig)
{
   set_buzzer (0, 0);
   exit (128 + sig);
}




The other is the libsoundgen soundgen_init  function that already trigs the ESD daemon as you see.

int soundgen_init(void)
{
int dspfd;

        if ((dspfd = esd_play_stream_fallback(ESD_STEREO | ESD_BITS16 | ESD_STREAM | ESD_PLAY, 44100, NULL, NULL)) < 0) {
#ifdef DEBUG
      perror("error opening /dev/dsp");
#endif
      return (-1);
   }
   _tone1_buffer = NULL;
   _tone2_buffer = NULL;

return dspfd;
}

When i redirected the BUZZER signal to the /dev/dsp device in the FC4 i think that it worked because the /dev/dsp device can be opened more than 1 time.
This is not true for the Zauri i saw.
I don't really know what the BUZZER device is, that is a direct call to the LINUX ioctl.h header as you can see in the code.
But i think that eliminating the BUZZER issue can be the solution.
Do you agree?
This evening i' ll do the fixes, because here at work i don' t have the CROSS TOOLS installed.
Let me know if you think i' m right.
A consideration, Linux is so powerful that makes understand code relantionship to a Programmer Beginner like me, i will like to thanks for this to all the Linux programmers in the World and to the GPL license logically!!!!
   
THX again to the PdaXromers guys for their excellent work! That made me find the final reason having Linux in my PDAS too.  GO ON LIKE THAT!!!!
BYEZ!!
Title: Gpe Pim Apps
Post by: karlto on March 13, 2006, 02:12:11 pm
Quote
HUM.... gpe-announce seems to use 2 devices to generate the sound.
One is the BUZZER device:
#define BUZZER_FILE "/dev/misc/buzzer"
#define CFG_NOSOUND  -2
#define CFG_AUTOMATIC  -1

And this is the function:
void open_buzzer (void)
{
   buzzerfd = open (BUZZER_FILE, O_WRONLY);
}

int set_buzzer (int on, int off)
{
   struct buzzer_time t;

   if (buzzerfd == -1)
  return 0;

   t.on_time = on;
   t.off_time = off;

   if (ioctl (buzzerfd, IOC_SETBUZZER, &t))
   {
  perror ("IOC_SETBUZZER");
  return -1;
   }

   return 0;
}

void buzzer_off (int sig)
{
   set_buzzer (0, 0);
   exit (128 + sig);
}




The other is the libsoundgen soundgen_init  function that already trigs the ESD daemon as you see.

int soundgen_init(void)
{
int dspfd;

        if ((dspfd = esd_play_stream_fallback(ESD_STEREO | ESD_BITS16 | ESD_STREAM | ESD_PLAY, 44100, NULL, NULL)) < 0) {
#ifdef DEBUG
  perror("error opening /dev/dsp");
#endif
  return (-1);
   }
   _tone1_buffer = NULL;
   _tone2_buffer = NULL;

return dspfd;
}

When i redirected the BUZZER signal to the /dev/dsp device in the FC4 i think that it worked because the /dev/dsp device can be opened more than 1 time.
This is not true for the Zauri i saw.
I don't really know what the BUZZER device is, that is a direct call to the LINUX ioctl.h header as you can see in the code.
But i think that eliminating the BUZZER issue can be the solution.
Do you agree?

Hmmm.... here is the exact error I get:

Code: [Select]
unable to get volume
IOC_SETBUZZER: Invalid argument
/dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
error opening /dev/dsp: Illegal seek
Couldn't init soundgen

The last four lines are repeated a couple of times, then the IOC_SETBUZZER line, then a few more iterations of the last four lines.

Here is something - I have no '/dev/misc/buzzer' on my Zaurus, but I do have a '/dev/misc/sharp_buz'. Try leaving the buzzer stuff in and
Code: [Select]
#define BUZZER_FILE /dev/misc/sharp_buz
Perhaps you also need to have a look for the esd_play_stream_fallback() function and see what it does? Where did you define /dev/dsp?

Keep up the good work - this will be a much more reliable alarm system than apmsleep and kopi!

Karl
Title: Gpe Pim Apps
Post by: miskinis on March 13, 2006, 11:41:41 pm
Quote
gpsdrive_2.10pre2_armv5tel.ipk ->]Works but not as root user, don' t know

I would be very interested to know if gpsdrive works under a non-root user, if
you perform a "chmod a+rw" on the serial port device.  

Thanks,  John
Title: Gpe Pim Apps
Post by: Xromer on March 14, 2006, 02:34:56 am
Quote
Quote
gpsdrive_2.10pre2_armv5tel.ipk ->]Works but not as root user, don' t know

I would be very interested to know if gpsdrive works under a non-root user, if
you perform a "chmod a+rw" on the serial port device.  

Thanks,  John
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118449\"][{POST_SNAPBACK}][/a][/div]

Ok gpe-announce fixed, i was right. The buzzer device it' s not needed by the Zauri and Desktop.
This is the gpe-announce fixed. Still remains the mixer problem, it gives the same "Device busy" because there' s a function that try to control the volume for the Snooze issue.
Now is /dev/mixer the right device?

This 2 functions set the volume to something you can hear.


int get_vol(int *left, int *right, int channel)
{
   int vol;
   int err;
   char *mixer = MIXER;

   fd = open(mixer, O_RDONLY);
   if(fd == -1)
      printf("Unable to open mixer device: %s\n", mixer);
   err = ioctl(fd, channel, &vol);
   if(err != -1) {
      *left = vol & 0xff;
      *right = (vol >> 8) & 0xff;
   }
   close(fd);
   return err;
}


int set_vol(int left, int right, int channel)
{
   int vol = left | (right << 8);
   int err;
   char *mixer = MIXER;

   fd = open(mixer, O_RDONLY);
   if(fd == -1)
      printf("Unable to open mixer device: %s\n", mixer);
   err = ioctl(fd, MIXER_WRITE(channel), &vol);
   close(fd);

return err;
}

This other is for the Snooze it raise auomatically the volume:

if (sound_config == CFG_AUTOMATIC)
         switch (times) {
            case 0:
               set_vol(50,50,SOUND_MIXER_VOLUME);
               break;
            case 1:
               set_vol(55,55,SOUND_MIXER_VOLUME);
               break;
            case 2:
               set_vol(60,60,SOUND_MIXER_VOLUME);
               break;
            case 3:
               set_vol(65,65,SOUND_MIXER_VOLUME);
               break;
            case 4:
               set_vol(70,70,SOUND_MIXER_VOLUME);
               break;
            case 5:
               set_vol(75,75,SOUND_MIXER_VOLUME);
               break;
            case 6:
               set_vol(80,80,SOUND_MIXER_VOLUME);
               break;
            case 7:
               set_vol(85,85,SOUND_MIXER_VOLUME);
               break;
            case 8:
               set_vol(90,90,SOUND_MIXER_VOLUME);
               break;
            case 9:
               set_vol(95,95,SOUND_MIXER_VOLUME);
               break;
            case 10:
               set_vol(100,100,SOUND_MIXER_VOLUME);
               break;
            default:
               break;
         }
               
         times++;
         if (times>20) PlayAlarmStop = TRUE;

Dev mixer is defined as /dev/mixer

Ok now i' m becoming mad with the atd commands.
at -f /tmp/atjob.txt -q g the -q switch it' s not related to the query but to the priority so that is not the error.
I tried it, it generates the right file in the right /var/spool/at position.
Now i got the error "Atd is not running etc." from gpe-calendar removing the event.
This beacause the atrm it' s not in the atd Zauri package.
So i changed the cancel string to delete the atd file in the spool dir directly.
It worked but the problem is that the event doesn' t execute the command!!!!
So, what a big hassle this at daemon guys.
I still doesn' t know how to make it work from the command line!!!! It doesn' t trig the event nor from the Desktop than the Zauri.
BOHHHHH!! ?????
Yesterday i boguht a Pretec CF GPS, i will try Gpsdrive with it.
BYEZ!!!

P.S. For KarIto:
I found the function that fill the at_file_alarm with the environment garbage i can delete it, but it' s a secondary fix.
Title: Gpe Pim Apps
Post by: trichmon on March 14, 2006, 12:29:39 pm
I want to just say thanks to both of you guys for working on this.  This looks like it will be a great solution to the pim needs on pdazrom.

Todd
Title: Gpe Pim Apps
Post by: karlto on March 14, 2006, 02:37:00 pm
Quote
Ok gpe-announce fixed, i was right. The buzzer device it' s not needed by the Zauri and Desktop.
Yes - it works (very loud!)

Quote
This is the gpe-announce fixed. Still remains the mixer problem, it gives the same "Device busy" because there' s a function that try to control the volume for the Snooze issue.
Now is /dev/mixer the right device?
I get 'unable to get volume' or something, and it blasts out at full noise! (I don't get device busy error unless it is actually busy).

It looks like the right device (mine is a symlink to /dev/sound/mixer). I can get/set the volume using /usr/bin/mixmos or the gui mixer applet without trouble (not both at once of course).

I wonder if the mixer needs to be set at all? If I set the volume low, gpe-announce still runs at full volume. I read somewhere that esd gets volume info with the specific stream, so perhaps the mixer is a red herring and you need to look at the esd play routine? Is there another spot where you get a choice between buzzer and esd?

Quote
Ok now i' m becoming mad with the atd commands.
at -f /tmp/atjob.txt -q g the -q switch it' s not related to the query but to the priority so that is not the error.
I tried it, it generates the right file in the right /var/spool/at position.
Now i got the error "Atd is not running etc." from gpe-calendar removing the event.
This beacause the atrm it' s not in the atd Zauri package.
So i changed the cancel string to delete the atd file in the spool dir directly.
It worked but the problem is that the event doesn' t execute the command!!!!
So, what a big hassle this at daemon guys.
I still doesn' t know how to make it work from the command line!!!! It doesn' t trig the event nor from the Desktop than the Zauri.

I still think that you need to remove the -q switch. at accepts it on my Zaurus, but it doesn't return. Are you sure that it is making the spool file correctly? When it does this for me, it makes a file, but it doesn't finish correctly and doesn't schedule it. I don't see any need for a priority, as there isn't likely to be much else running!

To make atd work on pdaXrom:

1) Make a file (e.g. atd_command.txt) containing your command (no shebang):
Code: [Select]
echo "atd executed this at $(date)" >> ~/atd_test.txt2) Run at from the command line:
Code: [Select]
at -f atd_command.txt 8:15(it was 8:10 when I did this). Note that if at does not exit cleanly on the command line, it doesn't work. Between 8:10 and 8:15, I can see the file /var/spool/at/1142410500.26491, which is executable. After being executed, it is gone (the file is the command above prefixed by a shebang and postfixed by 'rm -f $0'). The output is of course in ~/atd_test.txt.

The above works perfectly fine for me, and wakes the Zaurus from suspend. However, it fails when I try to use the -q switch (file is made but never executed, just like your problem), or even pipe a command directly into at; it only seems to work with a file input.

It's very close now...

Karl
Title: Gpe Pim Apps
Post by: Xromer on March 14, 2006, 04:26:14 pm
Quote
Quote
Ok gpe-announce fixed, i was right. The buzzer device it' s not needed by the Zauri and Desktop.
Yes - it works (very loud!)

Quote
This is the gpe-announce fixed. Still remains the mixer problem, it gives the same "Device busy" because there' s a function that try to control the volume for the Snooze issue.
Now is /dev/mixer the right device?
I get 'unable to get volume' or something, and it blasts out at full noise! (I don't get device busy error unless it is actually busy).

It looks like the right device (mine is a symlink to /dev/sound/mixer). I can get/set the volume using /usr/bin/mixmos or the gui mixer applet without trouble (not both at once of course).

I wonder if the mixer needs to be set at all? If I set the volume low, gpe-announce still runs at full volume. I read somewhere that esd gets volume info with the specific stream, so perhaps the mixer is a red herring and you need to look at the esd play routine? Is there another spot where you get a choice between buzzer and esd?

Quote
Ok now i' m becoming mad with the atd commands.
at -f /tmp/atjob.txt -q g the -q switch it' s not related to the query but to the priority so that is not the error.
I tried it, it generates the right file in the right /var/spool/at position.
Now i got the error "Atd is not running etc." from gpe-calendar removing the event.
This beacause the atrm it' s not in the atd Zauri package.
So i changed the cancel string to delete the atd file in the spool dir directly.
It worked but the problem is that the event doesn' t execute the command!!!!
So, what a big hassle this at daemon guys.
I still doesn' t know how to make it work from the command line!!!! It doesn' t trig the event nor from the Desktop than the Zauri.

I still think that you need to remove the -q switch. at accepts it on my Zaurus, but it doesn't return. Are you sure that it is making the spool file correctly? When it does this for me, it makes a file, but it doesn't finish correctly and doesn't schedule it. I don't see any need for a priority, as there isn't likely to be much else running!

To make atd work on pdaXrom:

1) Make a file (e.g. atd_command.txt) containing your command (no shebang):
Code: [Select]
echo "atd executed this at $(date)" >> ~/atd_test.txt2) Run at from the command line:
Code: [Select]
at -f atd_command.txt 8:15(it was 8:10 when I did this). Note that if at does not exit cleanly on the command line, it doesn't work. Between 8:10 and 8:15, I can see the file /var/spool/at/1142410500.26491, which is executable. After being executed, it is gone (the file is the command above prefixed by a shebang and postfixed by 'rm -f $0'). The output is of course in ~/atd_test.txt.

The above works perfectly fine for me, and wakes the Zaurus from suspend. However, it fails when I try to use the -q switch (file is made but never executed, just like your problem), or even pipe a command directly into at; it only seems to work with a file input.

It's very close now...

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118559\"][{POST_SNAPBACK}][/a][/div]

Ok PERFECT! I got it! GPE-ANNOUNCE completely fixed, now all works and i' ll explain how.
gpe-announce has 3 modes of function.
Silent, Automatic, Level as you can see here:

int get_config (void)
{
   int result = CFG_AUTOMATIC;
   char *filename = g_strdup_printf("%s/.gpe/alarm.conf", g_get_home_dir());
   FILE *cfgfile;
   int enabled = 1;
   int automatic = 1;
   int level = 0;
   
   cfgfile = fopen(filename, "r");
   if (cfgfile)
   {
      int val = -1, ret;
      char buf[128];
      while (fgets(buf, 128, cfgfile))
      {
         ret = sscanf(buf, "enabled %d", &val);
         if (ret)
            enabled = val;
         
         ret = sscanf(buf, "automatic %d", &val);
         if (ret)
            automatic = val;
         
         ret = sscanf(buf, "level %d", &val);         
         if (ret)
         {
            if ((val >= 0) && (val <=100))
               level = val;
         }
      }
      fclose(cfgfile);
      
      if (!enabled)
         result = CFG_NOSOUND;
      else
         if (!automatic)
            result = level;
   }
   g_free(filename);

You need to put a file called alarm.conf in your .gpe directory
In this file there must be three lines:
enable 0 -> 0 means volume on, 1 means silent
automatic 0 -> if 1 raise automatically the level to the maximum and after 20 sec goes down
level 0 -> is a range from 0 to 100 of the Volume that remains fixed

For the Unable to get volume is logical because you have only the Master Volume and gpe-announce try to set the PCM too, to be sure that the PCM is active.
But the Zauri haven' t the PCM Volume so i deleted the strings related (The red ones).

if((get_vol(&curl, &curr, SOUND_MIXER_VOLUME) == -1)
      || (get_vol(&curpcml, &curpcmr, SOUND_MIXER_PCM) == -1))
   {
      VolumeReset = FALSE;
      printf("Unable to get volume\n");
   }
   set_vol(100, 100, SOUND_MIXER_PCM);
   
   signal (SIGINT, buzzer_off);

   if (sound_config != CFG_NOSOUND)
      set_buzzer (1000, 500);
   
   if (sound_config != CFG_NOSOUND)
   {
      if (sound_config == CFG_AUTOMATIC)
         set_vol(50, 50, SOUND_MIXER_VOLUME);
      else
         set_vol(sound_config, sound_config, SOUND_MIXER_VOLUME);
   }
   PlayAlarmStop = FALSE;
   if (pthread_create(&SoundThread, NULL, play_alarm, NULL) != 0) {
      g_print("pthread_create() failed\n");
      gtk_main_quit();
   }
   return(1);

Ok announce is done i' m finishing fixing the atd issues.
As i finish i' ll release the new libschedule and gpe-announce fixed.
I'll let you know byez!
 
Title: Gpe Pim Apps
Post by: karlto on March 14, 2006, 05:54:34 pm
Quote
Ok PERFECT! I got it! GPE-ANNOUNCE completely fixed, now all works and i' ll explain how.

<snip>

Ok announce is done i' m finishing fixing the atd issues.
As i finish i' ll release the new libschedule and gpe-announce fixed.
I'll let you know byez!
 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118576\"][{POST_SNAPBACK}][/a][/div]

Well done! It all makes sense in hindsight, but I know for a fact that getting there isn't so simple!

Looking forward to trying it out!
Title: Gpe Pim Apps
Post by: Antikx on March 14, 2006, 06:04:25 pm
Great work! I look forward to giving it a try when you finish the last stretch of the journey.
Title: Gpe Pim Apps
Post by: Xromer on March 16, 2006, 05:51:39 am
Quote
Great work! I look forward to giving it a try when you finish the last stretch of the journey.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=118591\")

OK guys the GPE-PIM suite for Desktop is finally ready!!!
I did it!
Libschedule finally fixed!
Now, please help me to test it!! Logically already did some test on my PC before porting it.
Before testing it, remember 3 important things.
1) Test it at your own risk, because the code changes i made is on a foreigner code so i doesn' t know the all functions links to the library as i worked only in a very limited range.
Theese are the code changes i made.

GPE-ANNOUNCE:
a)Deleted the BUZZER device management, as there' s not BUZZER device on Desktop nor on the Zauri.
b)Deleted the VolumeReset function, because has an hardware implication to read the Volume state from the Sound Device. It points to the wrong Memory Address and gives the "Unable to get the volume" message so it's useless.
It only means that at the end of GPE-Announce message the volume remains how it was set from GPE itself and does not return to the state before Announce woke up.
 c) As karlto told me, i reduced the Automatic raise range volume to the 80% than the original 100%.
This to make GPE-Announce not give noises when it wakes up.
You can logically contact me to compile a louder Announce if you like.
d) Raised the sound playing time to 30 SEC instead of 20 for the Automatic issue.
That' s my taste i thought 20 is few to wake up HIHIHIHI!  
Logically can change this too.

LIBSCHEDULE:
There' s a #define HAVE_AT in the atd.c code, that makes you choose from to different implementations of the AT daemon.
One is related to the Ipaq Family port of AT, that is completely deifferent from the Desktop one and from the Zauri one.
The other is related to the Desktop normal AT daemon.
So i compiled libschedule with the #HAVE_AT definition enabled and made some fixes to the Makefile to make the deifinition work.
The real problem is for the Zauri.
It has another ATD implentation that is the port of the normal AT daemon without some features.
This makes the normal AT libschedule commands fail and gpe-calendar freeze.
So i have to see what functions can be and what not in the code. This ports to a complete ridefinition of the code and a little more study of the atd.c file. :-(

2) Remember to put a file called alarm.conf in your .gpe dir as i said in the previous post:
In this file there must be three lines:
enable 0 -> 0 means volume on, 1 means silent
automatic 0 -> if 1 raise automatically the level to the maximum and after 20 sec goes down
level 0 -> is a range from 0 to 100 of the Volume that remains static

3) Remember that all the packages i build are completed with the headers to compile things by yourself. This is true for the Zauri ipks too.
This because they are very little in size so it' s only a comfort to have all toghether.

4) Sorry for my English, i' m trying to enhance it.
But i think that only writing here is a good training. Hope logically that you understand!

OK i have finished, i'm very happy that GPE-PIM now fully works on the Desktop.
So i can migrate from Thunderbird to it.
3 things i love 1 is the atd implementation, 2 is the sqlite one, 3 is the portability of the config files without the need of a synchronization.
Now i would like to get the things better when i have time.
I.E. writing to the GPE-PIMS authors about the things i made and make some enhancement with them. So i can understand better the things than stuying the code by myself.
I would like GPE-Announce to sound better it' s a little noisy, maybe an MP3 implementation would be a COOL thing.
I would like the GPE-Contacts to wake up a mail utility to write mails directly from it.
And the main thing is to have GPE-Contacts control a GPRS module via Gammu or Gnokii.
I' m moving to do it, but now i really don' t have time. :-(
So try the packages and let know!!! I will put them online on my PC asap.
Here are the PKGS [a href=\"ftp://217.133.58.241]ftp://217.133.58.241[/url]
Enjoy!!
BYEZ! :-)
Title: Gpe Pim Apps
Post by: cal on March 16, 2006, 11:10:42 am
I was really hoping to see gpe-mini-browser.  Is there any chance its going to work?  Its awsome that you put these file together for us.  I'm going to try them tonight.
Title: Gpe Pim Apps
Post by: trichmon on March 16, 2006, 12:09:25 pm
That is great man!  Are the other RPM's for gpe posted someplace else?  And are the ipk's in the contrib section the most current and include the working atd setup.
Title: Gpe Pim Apps
Post by: Xromer on March 16, 2006, 12:24:43 pm
Quote
That is great man!  Are the other RPM's for gpe posted someplace else?  And are the ipk's in the contrib section the most current and include the working atd setup.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=118883\")

THX! I think tonight i will put all my work on that address too, but you can find the other stuff [a href=\"http://mail.pdaxrom.org/contrib/Xromer/]here[/url] for now.
As i said i' m go on working at the Zauri Atd issue, this evening i can' t but i think tomorrow i will fix the Zauri ipks too.
BYEZ!!
Cheers!
Title: Gpe Pim Apps
Post by: karlto on March 16, 2006, 02:03:06 pm
Quote
As i said i' m go on working at the Zauri Atd issue, this evening i can' t but i think tomorrow i will fix the Zauri ipks too.
BYEZ!!
Cheers!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118885\"][{POST_SNAPBACK}][/a][/div]

Hi Xromer

So you are still having trouble with the at command? Or is it something else? Let me know if you want me to test anything to get this going, as I have a reliable atd installation on my Zaurus that I use for waking it up all the time.

Thanks

Karl
Title: Gpe Pim Apps
Post by: Xromer on March 16, 2006, 02:26:28 pm
Quote
Quote
As i said i' m go on working at the Zauri Atd issue, this evening i can' t but i think tomorrow i will fix the Zauri ipks too.
BYEZ!!
Cheers!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118885\"][{POST_SNAPBACK}][/a][/div]

Hi Xromer

So you are still having trouble with the at command? Or is it something else? Let me know if you want me to test anything to get this going, as I have a reliable atd installation on my Zaurus that I use for waking it up all the time.

Thanks

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118899\"][{POST_SNAPBACK}][/a][/div]

Ok the problem is this, i don' t know the function of the -c switch in the normal AT daemon.
So i can' t understand this function.

static gboolean
same_alarm (guint alarm_uid, guint id, guint start_time)
{
  char dline[256], call_at[256];
  int id_check, start_time_check;
  FILE *at_return;
 
  sprintf(call_at, "/usr/bin/at -c %d 2>&1", alarm_uid);
  if ((at_return=popen(call_at, "r")) != NULL)
    {
      while(fgets(dline,sizeof(dline),at_return)) {
        if (sscanf(dline,"#!# %i %i", &id_check, &start_time_check) == 2) {
     if (id==id_check && start_time==start_time_check) {
       pclose(at_return);
       return TRUE;
     }
   }
      }
    }
  pclose (at_return);
  return FALSE;
}
If you can explain is the last step to make it work.
I' m working on the Import bug too also if you can use the FC4 GPE to do it.
I' m near to port linphone and phonegaim too, i would to try them with the GPRS card i own.
BYEZ!!
Title: Gpe Pim Apps
Post by: karlto on March 16, 2006, 07:30:20 pm
Quote
Quote
Quote
As i said i' m go on working at the Zauri Atd issue, this evening i can' t but i think tomorrow i will fix the Zauri ipks too.
BYEZ!!
Cheers!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=118885\")

Hi Xromer

So you are still having trouble with the at command? Or is it something else? Let me know if you want me to test anything to get this going, as I have a reliable atd installation on my Zaurus that I use for waking it up all the time.

Thanks

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118899\"][{POST_SNAPBACK}][/a][/div]

Ok the problem is this, i don' t know the function of the -c switch in the normal AT daemon.
So i can' t understand this function.

static gboolean
same_alarm (guint alarm_uid, guint id, guint start_time)
{
  char dline[256], call_at[256];
  int id_check, start_time_check;
  FILE *at_return;
 
  sprintf(call_at, "/usr/bin/at -c %d 2>&1", alarm_uid);
  if ((at_return=popen(call_at, "r")) != NULL)
    {
      while(fgets(dline,sizeof(dline),at_return)) {
        if (sscanf(dline,"#!# %i %i", &id_check, &start_time_check) == 2) {
     if (id==id_check && start_time==start_time_check) {
       pclose(at_return);
       return TRUE;
     }
   }
      }
    }
  pclose (at_return);
  return FALSE;
}
If you can explain is the last step to make it work.
I' m working on the Import bug too also if you can use the FC4 GPE to do it.
I' m near to port linphone and phonegaim too, i would to try them with the GPRS card i own.
BYEZ!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118904\"][{POST_SNAPBACK}][/a][/div]

OK, the -c switch is short for 'cat' to list the jobs on the command line. It seems to be another command that doesn't work in pdaXrom/Zaurus (at least I can't make it work). Maybe sashz can tell us what does and does not work with the pdaXrom atd? [a href=\"http://www.wlug.org.nz/at(1)]Standard at(1) man page.[/url]

The function appears to be checking that the at command successfully scheduled the alarm, which requires a more functional at! As far as I can see, this leaves two options:

1) Gut the function and return TRUE all the time. If at fails, it does so silently. If atd is not installed, this will be caught by the earlier function failing.
2) Re-compile a fully functional atd package. Seems like a lot of work for nothing...

As you may have gathered, I'm in favour of option 1. But then, maybe I'm just rough . I imagine that the alarm must still go off at this stage, even though calendar says atd is broken?

Karl
Title: Gpe Pim Apps
Post by: Xromer on March 17, 2006, 10:45:03 am
Quote
Quote
Quote
Quote
As i said i' m go on working at the Zauri Atd issue, this evening i can' t but i think tomorrow i will fix the Zauri ipks too.
BYEZ!!
Cheers!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=118885\")

Hi Xromer

So you are still having trouble with the at command? Or is it something else? Let me know if you want me to test anything to get this going, as I have a reliable atd installation on my Zaurus that I use for waking it up all the time.

Thanks

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118899\"][{POST_SNAPBACK}][/a][/div]

Ok the problem is this, i don' t know the function of the -c switch in the normal AT daemon.
So i can' t understand this function.

static gboolean
same_alarm (guint alarm_uid, guint id, guint start_time)
{
  char dline[256], call_at[256];
  int id_check, start_time_check;
  FILE *at_return;
 
  sprintf(call_at, "/usr/bin/at -c %d 2>&1", alarm_uid);
  if ((at_return=popen(call_at, "r")) != NULL)
    {
      while(fgets(dline,sizeof(dline),at_return)) {
        if (sscanf(dline,"#!# %i %i", &id_check, &start_time_check) == 2) {
     if (id==id_check && start_time==start_time_check) {
       pclose(at_return);
       return TRUE;
     }
   }
      }
    }
  pclose (at_return);
  return FALSE;
}
If you can explain is the last step to make it work.
I' m working on the Import bug too also if you can use the FC4 GPE to do it.
I' m near to port linphone and phonegaim too, i would to try them with the GPRS card i own.
BYEZ!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118904\"][{POST_SNAPBACK}][/a][/div]

OK, the -c switch is short for 'cat' to list the jobs on the command line. It seems to be another command that doesn't work in pdaXrom/Zaurus (at least I can't make it work). Maybe sashz can tell us what does and does not work with the pdaXrom atd? [a href=\"http://www.wlug.org.nz/at(1)]Standard at(1) man page.[/url]

The function appears to be checking that the at command successfully scheduled the alarm, which requires a more functional at! As far as I can see, this leaves two options:

1) Gut the function and return TRUE all the time. If at fails, it does so silently. If atd is not installed, this will be caught by the earlier function failing.
2) Re-compile a fully functional atd package. Seems like a lot of work for nothing...

As you may have gathered, I'm in favour of option 1. But then, maybe I'm just rough . I imagine that the alarm must still go off at this stage, even though calendar says atd is broken?

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118942\"][{POST_SNAPBACK}][/a][/div]
UHM...... Ok i understood now i will put a control string, to see what the functions really return to sprintf in the commands.
After that i can implement such control beahaviour in other way instead of cutting the control itself.
Without the atrm function, it must point the exact at file to delete or could be delete something else.
BYEZ!
Title: Gpe Pim Apps
Post by: Xromer on March 18, 2006, 12:30:32 pm
No way to make the libschedule function with the at daemon, i have to completely redesign it for the pdaXrom at version.
As the alarm_uid sqlite file is based on the string job 18 at 2006-03-18 18:30
released by the at -f etc. command as output.
So the chain in the atd.c file of the libschedule is interrupted.
What i can do is to simulate the job string released by at command with an autoincrement value in the sqlite alarm_uid table.
That' s what i will try to do.
BYEZ!
Title: Gpe Pim Apps
Post by: karlto on March 19, 2006, 02:54:46 pm
Quote
No way to make the libschedule function with the at daemon, i have to completely redesign it for the pdaXrom at version.
As the alarm_uid sqlite file is based on the string job 18 at 2006-03-18 18:30
released by the at -f etc. command as output.
So the chain in the atd.c file of the libschedule is interrupted.
What i can do is to simulate the job string released by at command with an autoincrement value in the sqlite alarm_uid table.
That' s what i will try to do.
BYEZ!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119153\"][{POST_SNAPBACK}][/a][/div]

It's a shame that the pdaXrom atd is so stripped down - I didn't realise there was output from the 'at -f ...' command normally. I still can't get the 'at -c ...' to do anything (it sort of fails), so I'm still of the same opinion as last post. Either rebuild atd with more functionalty (hard work) or cut out the extra stuff in gpe (rough). Unfortunately I haven't got the time to help much more than testing at present, so I'm in favour of the rough path...

Thanks for all your work - I'm sure you'll nail it soon.
Title: Gpe Pim Apps
Post by: Xromer on March 19, 2006, 07:32:28 pm
It's a shame that the pdaXrom atd is so stripped down - I didn't realise there was output from the 'at -f ...' command normally. I still can't get the 'at -c ...' to do anything (it sort of fails), so I'm still of the same opinion as last post. Either rebuild atd with more functionalty (hard work) or cut out the extra stuff in gpe (rough). Unfortunately I haven't got the time to help much more than testing at present, so I'm in favour of the rough path...

Thanks for all your work - I'm sure you'll nail it soon.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119281\"][{POST_SNAPBACK}][/a][/div]
[/quote]
I' m having a lot of fun, fixing and looking around codes, because i' m learning a lot.
So don' t worry, i need exercise.
Ok, i rewrote the atd.c file with the sqlite AUTOINCREMENT implementation.
Now it works!
But there' s a deeper bug that goes ahead the libschedule.
:-(
It comes from gpe-calendar. It seems that with it' s own libschedule designed when it generates an at event, after the first it doesn' t generate the next one but repeats all the same first.
I was becoming mad, thinking i did somtehing wrong with my code, but it wasn' t.
I thing i have to contact the author to see what happened.
I think the problem is that the libschedule was made first for the Ipaq at, and then adapted for the desktop one, as i saw in the gpe.handhelds.org CVS.
So karlto unfortunately porting another ver of atd would not fix the problem that is fixable with some scripts and changes to the code.
But i still remain with the GPE-PIMS as i ported all my contacts and events to that.
And i would like a Sort function in the GPE-Contacts and Todo. :-)
Now i' m really more involved, as i got deeper in the code, and can try to do the changes i want. :-) As i said i' m just at the beginning of real C programming.
For now i can only post the gpe-announce fixed for the Zauri.
After that what can i say...... Read,read and read it' s all about Documentation, EHEHEH!! And GTK+ are fantastic as can i see!!
Until GPE-Calendar will not be fixed, you can use directly the announce putting:
gpe-announce "Name Of Event" in the file to be executed by at.
i. e. at -f file Hour:Min Day.Month.Year
example: at -f myfile 14:55 20.03.06
where myfile is:
#!/bin/sh
gpe-announce "Event"
rm -f $0

In the meanwhile i will try to port other things i need like openvpn and linuxphone.
BYEZ!

P.S. I' ve got a Jornada 720 handheld for my sister and i' m trying Familiar 0.8.2 with gpe, i will see how the gpe apps work with that PDA.
Title: Gpe Pim Apps
Post by: karlto on March 19, 2006, 07:48:35 pm
Quote
I' m having a lot of fun, fixing and looking around codes, because i' m learning a lot.
So don' t worry, i need exercise.
Ok, i rewrote the atd.c file with the sqlite AUTOINCREMENT implementation.
Now it works!
But there' s a deeper bug that goes ahead the libschedule.
:-(
It comes from gpe-calendar. It seems that with it' s own libschedule designed when it generates an at event, after the first it doesn' t generate the next one but repeats all the same first.
I was becoming mad, thinking i did somtehing wrong with my code, but it wasn' t.
I thing i have to contact the author to see what happened.
I think the problem is that the libschedule was made first for the Ipaq at, and then adapted for the desktop one, as i saw in the gpe.handhelds.org CVS.
So karlto unfortunately porting another ver of atd would not fix the problem that is fixable with some scripts and changes to the code.
But i still remain with the GPE-PIMS as i ported all my contacts and events to that.
And i would like a Sort function in the GPE-Contacts and Todo. :-)
Now i' m really more involved, as i got deeper in the code, and can try to do the changes i want. :-) As i said i' m just at the beginning of real C programming.
For now i can only post the gpe-announce fixed for the Zauri.
After that what can i say...... Read,read and read it' s all about Documentation, EHEHEH!! And GTK+ are fantastic as can i see!!
Until GPE-Calendar will not be fixed, you can use directly the announce putting:
gpe-announce "Name Of Event" in the file to be executed by at.
i. e. at -f file Hour:Min Day.Month.Year
example: at -f myfile 14:55 20:03:06
where myfile is:
#!/bin/sh
gpe-announce "Event"
rm -f $0

In the meanwhile i will try to port other things i need like openvpn and linuxphone.
BYEZ!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119298\"][{POST_SNAPBACK}][/a][/div]

Good work - so the at thing is basically sorted then?

I believe that 'myfile' should only contain the middle line - at adds the shebang and the 'rm -f $0' for you.

What do you mean by the next event? Does it raise all alarms with the same text (i.e. that of the first alarm set)? Is this just for suspended alarms, or all? I'm not sure I follow, especially given the code snippets you have been posting as these all appear to deal with events on an individual basis (where would it get the old data from?)

I will test gpe-calendar some more to see exactly what you mean...
Title: Gpe Pim Apps
Post by: karlto on March 19, 2006, 08:06:52 pm
Hi Xromer

I see what you mean about repeating the same event. Bearing in mind that my at command is still failing, here is what I found.

I set up three alarms, all in future, and one alarm already existed in the past. The first time it created a wakeup event with the name of the alarm in the past. It also created a wakeup for the first of the three events in the future, but not the other two. I tried changing names and alarms, but still it would only update the first one, and only after I manually deleted the at spool files. It seemed slightly unreliable/random.

However, when I closed calendar, it created a single at spool file for the first alarm that has not yet occurred, with the right name! This was consistently correct.

Have a look at what calendar does when closed - I wonder if there is a function that can be run when updating alarms that is more accurate? It seems to get the right one anyway, and only the first alarm needs to go off at a time. Just set the next one after that.

That was an awful description, wasn't it? Hopefully you know what I mean...

Karl
Title: Gpe Pim Apps
Post by: Xromer on March 20, 2006, 03:32:13 am
Quote
Hi Xromer

I see what you mean about repeating the same event. Bearing in mind that my at command is still failing, here is what I found.

I set up three alarms, all in future, and one alarm already existed in the past. The first time it created a wakeup event with the name of the alarm in the past. It also created a wakeup for the first of the three events in the future, but not the other two. I tried changing names and alarms, but still it would only update the first one, and only after I manually deleted the at spool files. It seemed slightly unreliable/random.

However, when I closed calendar, it created a single at spool file for the first alarm that has not yet occurred, with the right name! This was consistently correct.

Have a look at what calendar does when closed - I wonder if there is a function that can be run when updating alarms that is more accurate? It seems to get the right one anyway, and only the first alarm needs to go off at a time. Just set the next one after that.

That was an awful description, wasn't it? Hopefully you know what I mean...

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119301\"][{POST_SNAPBACK}][/a][/div]
Offcourse i know what you mean, HHEEHEHEH!!! I began to study the gpe-calendar code, to have tools for a program discussion with the author.
Well........
There are some strange beahaviours i can' t explain myself.
The one of them os what you said. I.E. the call of the schedule_next function at the exit of the GPE-Calendar.
static void
gpe_cal_exit (void)
{
  schedule_next (0, 0, NULL);
  event_db_stop ();
  gtk_main_quit ();
}

The schedule_next function trigger the schedule_set_alarm in the event-ui.c file of Calendar.
It seems the last refresh before exiting to be sure that all events are saved.
But as you know, the schedule_set_alarm for Desktop and Zauri is completely different than the Ipaq one. So it triggers 2 times and more the same event registration whithout going to the next one.
I saw there was the FOSDEM 2005 (Free and Open Source Developers European Meeteing) just right finished! So the authors are fresh of conveign and talk about Gnome and GPE.
It' s the right time for me to begin help them developing. As i began to help the PdaXrom guys.
We will see how i can improve my skill.
But this week i have a lot to do and i have to leave all the code changes. As i' m still reading GTK+ API' s documentation.
The next week i have more time to dedicate it and i will try to do my best to work out all the problems.
In the meanwhile you can make me note the things the GPE PIMS lack, i will forward them to the authors.
BYEZ! :-)
Title: Gpe Pim Apps
Post by: mikesapunk on March 20, 2006, 04:41:45 pm
I've been using Xromer's port of the GPE PIM Apps for a few days -- and I must say they're awesome! They load very fast and work very well.

I also tried the KDE PIM Apps and although they were nice too, they took FOREVER to load.

The GPE PIM Apps are the best I've seen by far on the Z at this point. Keep up the good work Xromer!

P.S. I have one question -- some of the screens (such as the New Contact screen) are too big to fit on the page. Mostly because the 'Address' field is HUGE. Is there a way to make those fields smaller, or is there a screen resolution parameter I can add to my .desktop file to make it fit within the Z's screen size?
Title: Gpe Pim Apps
Post by: Xromer on March 21, 2006, 08:50:15 am
Quote
I've been using Xromer's port of the GPE PIM Apps for a few days -- and I must say they're awesome! They load very fast and work very well.

I also tried the KDE PIM Apps and although they were nice too, they took FOREVER to load.

The GPE PIM Apps are the best I've seen by far on the Z at this point. Keep up the good work Xromer!

P.S. I have one question -- some of the screens (such as the New Contact screen) are too big to fit on the page. Mostly because the 'Address' field is HUGE. Is there a way to make those fields smaller, or is there a screen resolution parameter I can add to my .desktop file to make it fit within the Z's screen size?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119459\"][{POST_SNAPBACK}][/a][/div]

Tanks mikesapunk.
Now, as i' m always saying it, i love GTK+ 'cause they are fast and reliable, that' s way i' m concentrated in the GPE tools.
Being done natively for PDAs they are very fast and simple as code,  that' s why i love them.
Now to your question:
I' ve not yet looked at the GPE-Contacts code, because now i would like first to solve the Calendar issue.
Sure there will be a rendering function that controls the behaviour of the Contacts main window.
And sure it can be changed to fix this problem. But, as i said, this week i don' t have time to look at it and  i've not yet contacted the GPE-pims authors.
For now assign an ALT Key function in the Input Config utility and press the key assigned while moving your PEN on the touschscreen to move the window.
It is true for all the windows in pdaXrom WM.
Cheers!
Title: Gpe Pim Apps
Post by: DReymann on March 21, 2006, 02:46:29 pm
Hi,

I still have problems importing my data from Korganizer/kopi or even iCal (on Mac) to the gpe-calendar and -todo apps.

Because the import on the zaurus does not work (see my post earlier in this thread) I installed the applications with the rpms on my linux-desktop.

Importing an exported vcal-file results in an Message-Box saying "Import of 1 file failed: export.vcs". On the command-line it says:
import_vcal : Fehler beim Lesen der Kalendardatei /home/reymann/export.vcs: Syntax-Fehler (Attribut-Name/-Gruppe fehlt)!
[ a rough translation: import_vcal : Error reading the calendar-file blabla: sytax-error (missing name/group of attributes)]

In this case nothing happenes to the gpe-databases.

Using an exported ical-file (either from Korganizer or iCal) the application starts working on the file, shows a message-box "Import succesful" but no date or todo is shown. On the command-line during import a lot of messages of the type
"Das benutzerdefinierte Profil-Attribut X-KOPIEXTID ist unbekannt."
[The user defined profile-attribute X-KOPIEXTID is unknown]
and then following a lot of messages:
"Unable to parse date: 14.07.2006"
When I open .gpe/calender with sqlite and launch SELECT * FROM calendar;
I get a lot of information like:
65|duration|14400
65|start|12.12.2006 14:00:00
65|sequence|2
65|eventid|kopi-1450956042-475
65|summary|Senatssitzung

Any idea what is going wrong? I really would like to import my data from kopi ...

Detlev
Title: Gpe Pim Apps
Post by: karlto on March 21, 2006, 05:08:00 pm
Quote
Hi,

I still have problems importing my data from Korganizer/kopi or even iCal (on Mac) to the gpe-calendar and -todo apps.

Because the import on the zaurus does not work (see my post earlier in this thread) I installed the applications with the rpms on my linux-desktop.

Importing an exported vcal-file results in an Message-Box saying "Import of 1 file failed: export.vcs". On the command-line it says:
import_vcal : Fehler beim Lesen der Kalendardatei /home/reymann/export.vcs: Syntax-Fehler (Attribut-Name/-Gruppe fehlt)!
[ a rough translation: import_vcal : Error reading the calendar-file blabla: sytax-error (missing name/group of attributes)]

In this case nothing happenes to the gpe-databases.

Using an exported ical-file (either from Korganizer or iCal) the application starts working on the file, shows a message-box "Import succesful" but no date or todo is shown. On the command-line during import a lot of messages of the type
"Das benutzerdefinierte Profil-Attribut X-KOPIEXTID ist unbekannt."
[The user defined profile-attribute X-KOPIEXTID is unknown]
and then following a lot of messages:
"Unable to parse date: 14.07.2006"
When I open .gpe/calender with sqlite and launch SELECT * FROM calendar;
I get a lot of information like:
65|duration|14400
65|start|12.12.2006 14:00:00
65|sequence|2
65|eventid|kopi-1450956042-475
65|summary|Senatssitzung

Any idea what is going wrong? I really would like to import my data from kopi ...

Detlev
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119663\"][{POST_SNAPBACK}][/a][/div]

This probably isn't exactly specific to your situation, but I have found in the past when importing/exporting ical files that different apps use all sorts of different field names that don't match up with each other (hence maybe why you're getting missing attributes errors and successful imports are missing pieces).

The only concrete solution is to find what the importing app expects compared to what the exporting app saves and go from there. Maybe you can modify field names to match in one of the apps import/export settings? Or run a script on the saved file to fix it?
Title: Gpe Pim Apps
Post by: Xromer on March 21, 2006, 06:50:40 pm
Quote
Hi,

I still have problems importing my data from Korganizer/kopi or even iCal (on Mac) to the gpe-calendar and -todo apps.

Because the import on the zaurus does not work (see my post earlier in this thread) I installed the applications with the rpms on my linux-desktop.

Importing an exported vcal-file results in an Message-Box saying "Import of 1 file failed: export.vcs". On the command-line it says:
import_vcal : Fehler beim Lesen der Kalendardatei /home/reymann/export.vcs: Syntax-Fehler (Attribut-Name/-Gruppe fehlt)!
[ a rough translation: import_vcal : Error reading the calendar-file blabla: sytax-error (missing name/group of attributes)]

In this case nothing happenes to the gpe-databases.

Using an exported ical-file (either from Korganizer or iCal) the application starts working on the file, shows a message-box "Import succesful" but no date or todo is shown. On the command-line during import a lot of messages of the type
"Das benutzerdefinierte Profil-Attribut X-KOPIEXTID ist unbekannt."
[The user defined profile-attribute X-KOPIEXTID is unknown]
and then following a lot of messages:
"Unable to parse date: 14.07.2006"
When I open .gpe/calender with sqlite and launch SELECT * FROM calendar;
I get a lot of information like:
65|duration|14400
65|start|12.12.2006 14:00:00
65|sequence|2
65|eventid|kopi-1450956042-475
65|summary|Senatssitzung

Any idea what is going wrong? I really would like to import my data from kopi ...

Detlev
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119663\"][{POST_SNAPBACK}][/a][/div]

Please remember that all GPE PIMS are based on the Sqlite engine.
So do not use the GPE-PIMS tools to convert and import or export DBS, because they are in a ealry stage of development.
I suggest you to use the SQlite tools instead. You have a big range of choice, from Kexi for KDE that support a big variety of DBS as MySQL,Postgres, CVS files etc., to SQLFairy that is set of Perl tools to do what you need.
In this way you don' t have to do a one by one conversion, but you only export your contacts to a CVS file and convert it to the simple SQLite format all toghether.
BYEZ!
Title: Gpe Pim Apps
Post by: DReymann on March 24, 2006, 03:04:08 pm
Hi,

playing around with the database-files used by gpe-calendar I was able to trace down the import-problem a little bit.

As far as I see, the dates are stored in the table "calendar" within the database-file calendar (You find it in the .gpe-directory).
Each date is stored as a series of records with the fields "uid", "tag" and "value". All records of one date have the same uid.
The problem related to the import is based on the fact, that the dates are stored like this "23.05.2006 11:00:00" but gpe-calendar expects them to be "2006-05-23 11:00".
If you change the values in the database accordingly, they are shown correctly.

I am not sure, whether this is a bug in the import-routine or whether it is due to the fact, that my desktop-pc is configured for the german date-format.

Any hint where to report this to. I still think that a working import-routine might increase the acceptance of the program a lot.

Detlev
Title: Gpe Pim Apps
Post by: Xromer on March 24, 2006, 06:39:27 pm
Quote
Hi,

playing around with the database-files used by gpe-calendar I was able to trace down the import-problem a little bit.

As far as I see, the dates are stored in the table "calendar" within the database-file calendar (You find it in the .gpe-directory).
Each date is stored as a series of records with the fields "uid", "tag" and "value". All records of one date have the same uid.
The problem related to the import is based on the fact, that the dates are stored like this "23.05.2006 11:00:00" but gpe-calendar expects them to be "2006-05-23 11:00".
If you change the values in the database accordingly, they are shown correctly.

I am not sure, whether this is a bug in the import-routine or whether it is due to the fact, that my desktop-pc is configured for the german date-format.

Any hint where to report this to. I still think that a working import-routine might increase the acceptance of the program a lot.

Detlev
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120135\"][{POST_SNAPBACK}][/a][/div]
As i began study the GTK+ and Gnome API this week, i begin to understand better the way of coding of the GNOME and GTK+ developers.
There are a lot of popt function calls and sqlite implementations, specifically for the GPE utilities.
Libpopt it' s a library to manage programs PIPING OUTPUT that' s way libschedule with Zaurus AT doesn' t work, as Zaurus AT implementation lacks the at -c and atrm commands.
So, sure after i comeback from holidays next week, i will begin to go deeper in the GPE PIMS and Utilities modifications.
This is what i would like to improve:
GPE  Contacts -> Contacts sort by last and firstname (easy to do modifying the mainwindow renderization),fixing of importation based on libmimedir and what i will be able to do.
After i would like to make GPE-Contacts control my GPRS Compactflash for calling and answering via gammu or gnokii.
GPE Calendar -> Correct the at implementation and fixing importing issues as above.
GPE Announce -> Fixing the PlayReset function by changing the  wrong audio level addresses with the right ones and adding an mp3 implementations for the sound.
GPE Todo -> Sorting here like Contacts.
I have studied Sqlite database syntax and behaviour too.
This simple database is very powerful for embedded system, as it' s a very cross platform environment.
I saw it works nearly everywhere, so i can port my data in Win XP,PocketPC,Linux,Unix etc. without any conversion, that is amazing.
Logically i' m at the beginning so i will need your help, for testing and growing in my programming skill.
THX in advance guys! As when i will finish these fixes i would like to use the Zauri as PPCPhone, i will finally keep it everywhere without the need of a Cellular and PC. EHHEEHEH!!
If you have any other ideas to improve this PIM Group begin to track it down for future modifications, so i can practice myself.
Cheers!
Title: Gpe Pim Apps
Post by: trichmon on March 28, 2006, 03:46:33 am
Xromer, i think that gpe-soundbite would make a good addition to the pim.  A basic voice recording package (at least on the 6000l) has been missing.

Todd
Title: Gpe Pim Apps
Post by: Xromer on April 03, 2006, 07:49:11 am
Quote
Xromer, i think that gpe-soundbite would make a good addition to the pim.  A basic voice recording package (at least on the 6000l) has been missing.

Todd
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120641\"][{POST_SNAPBACK}][/a][/div]

Hello, everyone!!! I cameback yesterday from my vacation.
So now i' m ready to begin the GPE fixing again.
OK first THX for your interest.
I will begin porting gpe-soundbite this evening as Trichmon requested.
After that i' ll begin working on GPE-Contacts to make it Sort the Names, so i don' t become mad to search them.
I would like you to express some suggestions about the way of the Sort interface implementation:
1) A button on the main interface.
Clicked LastName Sort type.
Normal FirstName Sort type.
2) A popup window with the Sort choice.
3) Configuration file option, wihout any Main Window changes.
As i would like to make GPE-Contacts control my CompactFlash GPRS card, so i need icon spaces.

Logically the third option is the fastest one to implement.

For the Calendar, i will begin looking at the way it creates the Events UID, as i see that it doesn' t advance the UID number identification.
For the Announce, implentation of an MP3 announcing type.

Right, that' s i woul like to do.
I have to contact the GPE-PIMS maintainer to discuss the changes and if they are planning to do that in future.
This evening i will see how much work i can do.
Logically, i' m only ONE, and i think only to my needs.
So if miss something or you think about any other implementations, that's the right moment to discuss it.
BYEZ!  
Title: Gpe Pim Apps
Post by: koen on April 03, 2006, 08:29:10 am
Quote
For the Announce, implentation of an MP3 announcing type.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=121592\")

I would really advice you to contact the gpe devs, since parts of your wishlist are already done: [a href=\"http://handhelds.org:8080/gpe/chngview?cn=591]http://handhelds.org:8080/gpe/chngview?cn=591[/url]
Title: Gpe Pim Apps
Post by: Antikx on April 03, 2006, 08:40:18 am
Thanks for your work Xromer. I've been playing with the applications a bit and I'm impressed. Keep it up!
Title: Gpe Pim Apps
Post by: Xromer on April 03, 2006, 11:10:37 am
Sure guys, i' ll do.
When i comeback home from work, i will look at all the new features and planning news on the CVS development.
BYEZ!
Title: Gpe Pim Apps
Post by: Xromer on April 05, 2006, 08:31:02 pm
Quote
Sure guys, i' ll do.
When i comeback home from work, i will look at all the new features and planning news on the CVS development.
BYEZ!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121616\"][{POST_SNAPBACK}][/a][/div]

Right!! i downloaded all the GPE CVS and i began to track down all the new features.
GPE-Announce now has the gstreamer implementation, but the Volume Reset trouble still remains.
This is the only new feature i found. GPE-Calendar has new fixes i would like to understand better.
GPE-Contacts still remains the same.
GPE-Soundbite is interesting, but i'm having troubles setting GSM package.
I have to create a pkgconfig file to point the GSM libraries for compilation.
I downloaded GPSDRIVE too, now it' s based on the new GDAL libraries, that implements a set of features like Mysql, Postgres and Sqlite file tracking and new Maps Types features.
The thing i will do since now, it' s to begin working on the CVS releases to be always up to date.
So i' ll be sure to not do things already done.
I saw that i' ll have to deal with many people for modifications, but before disturbing them i would like to be sure of what i want to change and try the new packages i' ll change too.
Tomorrow evening i have time to begin, any suggest will be appreciated as always for modifications.
The same as a testing help.
BYEZ!!!!
Title: Gpe Pim Apps
Post by: karlto on April 05, 2006, 08:38:29 pm
Quote
Tomorrow evening i have time to begin, any suggest will be appreciated as always for modifications.
The same as a testing help.
BYEZ!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121969\"][{POST_SNAPBACK}][/a][/div]
I'm still keen to see that minor atd issue fixed, which will give us a working lightweight (and reliable) alarm for pdaXrom, without the calendar needing to be open.

As soon as you upload any ipks, I'll test them! Keep up the good work.
Title: Gpe Pim Apps
Post by: Xromer on April 06, 2006, 03:44:35 pm
OK the Cross compilation began.
First to be better organized i made an RPM of the SDK tool.
This to manage easier the CVS libraries compilation, that have to be integrated with the SDK to compile all the GPE library based utilities.
So i can simply upgrade the New CVS compiled libraries with the RP Manager, and so all the libraries compiled by the comunity.
The IPKGS i will build will be as always with the DEVEL part included.
This means that if you want to native compile, you have the packages ready in your Zauri and i have not to make a double work packaging. (Time is precious!)
Offcourse you can repackage as you like the things i did.
So now that i' m ready, let' s begin!
Remeber from now, that i' m packaging CVS stuff and no more stable packages, so pay attention to your .gpe sqlite DBS backupping them before trying the new IPKS.
GPSDRIVE CVS:
  I compiled and packaged the Gdal implementation succesfully.
Now the problem is that CVS-GPSDRIVE needs GLIB > 2.8.6 and PdaXrom still use the 2.8.1
I' m wondering how i can do to integrate the new GLIB in the GPSDRIVE without having to change the ROM.
 GPE-ANNOUNCE:
GSTREAMER compiled and ready to be integrated, now i' m working on the CVS files lacks for compilation.
I was thinking to port all the Gstreamer stuff now that i' m there. But Mplayer and other things like that are already ported, let me know if could be interesting somewhow.
ALL NEW CVS GPE LIBS:

I' m compiling i' ll keep you up to date.
Cheers!
 
Title: Gpe Pim Apps
Post by: karlto on April 06, 2006, 04:00:24 pm
Quote
Now the problem is that CVS-GPSDRIVE needs GLIB > 2.8.6 and PdaXrom still use the 2.8.1
I' m wondering how i can do to integrate the new GLIB in the GPSDRIVE without having to change the ROM.
Isn't glib a separate package? Surely you could just have this as a separate dependency; use 2.8.6 (minimum requirement) rather than anything newer and maybe it won't break anything...?

Quote
GPE-ANNOUNCE:
GSTREAMER compiled and ready to be integrated, now i' m working on the CVS files lacks for compilation.
I was thinking to port all the Gstreamer stuff now that i' m there. But Mplayer and other things like that are already ported, let me know if could be interesting somewhow.
ALL NEW CVS GPE LIBS:

I' m compiling i' ll keep you up to date.
For general use, I thought that the current/old version of gpe-calendar etc worked fine with the fixes you already made and the minor change to the at command. I was kind of hoping you could upload an ipk with this last minor fix so we had a working implementation.

Does the newer CVS stuff have a different 'at' interface, or does the same problem exist?

(If you're busy with something more important, don't waste time answering my questions  )

Karl
Title: Gpe Pim Apps
Post by: Xromer on April 07, 2006, 04:43:28 am
Isn't glib a separate package? Surely you could just have this as a separate dependency; use 2.8.6 (minimum requirement) rather than anything newer and maybe it won't break anything...?

For general use, I thought that the current/old version of gpe-calendar etc worked fine with the fixes you already made and the minor change to the at command. I was kind of hoping you could upload an ipk with this last minor fix so we had a working implementation.

Does the newer CVS stuff have a different 'at' interface, or does the same problem exist?

(If you're busy with something more important, don't waste time answering my questions  )

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122101\"][{POST_SNAPBACK}][/a][/div]
[/quote]

Right, do not worry karlto, when i see your and other posts i' m never wasting my time :-)
As you know i' m a beginner here.  
Answer 1)
Glib is integrated in the ROM, infact, if you note, it' s installed without any link.
So i don' t know how to make GPSDRIVE search the GLIB files in other DIR than the one LDconfig by the system. Any suggestions?
Answer 2)

In GPE-Calendar many changes were made, so now it' s time to see how it will behave.
In GPE-Announce only the gstreamer implementation was inroduced but now i don' t know how Gstreamer functions. We will see.
Until now these are the packages i made:
ADDONS:
sqlite-sdk-addon-2.8.17-1.i386.rpm
pdaxrom-sdk-1.0-1.i386.rpm
libtododb-sdk-addon-cvs.060406-1.i386.rpm
libsoundgen-sdk-addon-cvs.060406-1.i386.rpm
libmimedir-sdk-addon-0.3.1-1.i386.rpm
libgpewidget-sdk-addon-cvs.060406-1.i386.rpm
libgpevtype-sdk-addon-cvs.060406-1.i386.rpm
libgpevtype-sdk-addon-0.16-1.i386.rpm
libgpepimc-sdk-addon-cvs.060406-1.i386.rpm
libeventdb-sdk-addon-cvs.060406-1.i386.rpm
libcontactsdb-sdk-addon-cvs.060406-1.i386.rpm

IPKS:
libtododb_cvs.060406_armv5tel.ipk
libsoundgen_cvs.060406_armv5tel.ipk
libgpewidget_cvs.060406_armv5tel.ipk
libgpevtype_cvs.060406_armv5tel.ipk
libgpepimc_cvs.060406_armv5tel.ipk
libeventdb_cvs.060406_armv5tel.ipk
libcontactsdb_cvs.060406_armv5tel.ipk
gstreamer_0.10.4_armv5tel.ipk

This evening i will finish with:
gpe-announce
gpe-calendar
gpe-contacts
gpe-todo
libschedule

After trying them i will put all in my contrib section.
I' ll hope in the calendar changes to fix something, but i saw libschedule it' s nearly the same.
But first changing it i have to see what enhancemets were made to calendar.
We will see.
BYEZ!
Title: Gpe Pim Apps
Post by: Antikx on April 07, 2006, 12:12:19 pm
Go Xromer!
Title: Gpe Pim Apps
Post by: karlto on April 07, 2006, 06:11:03 pm
Quote
As you know i' m a beginner here.
Based on how much work you've gotten done, I'd say you're well past that now!

Quote

Answer 1)
Glib is integrated in the ROM, infact, if you note, it' s installed without any link.
So i don' t know how to make GPSDRIVE search the GLIB files in other DIR than the one LDconfig by the system. Any suggestions?
I didn't think glib was integrated with the rom, it's just distributed with it as a default/base package (not much works without it); I could be wrong of course.
Not sure what you mean by 'without any link'. This is probably a bit out of my league, because I've never had any problems with stuff like this. Looking the files owned by package glib:
Code: [Select]
/usr/lib/libglib-1.2.so.0.0.10
/usr/lib/libglib.so (*)
/usr/lib/libgmodule.so (*)
/usr/lib/libgthread.so (*)
/usr/lib/libgmodule-1.2.so.0.0.10
/usr/lib/libgthread-1.2.so.0.0.10
/usr/lib/libglib-1.2.so.0 (*)
/usr/lib/libgmodule-1.2.so.0 (*)
/usr/lib/libgthread-1.2.so.0 (*)
there are only three real files; the others (*) are symlinks to them. I guess this is bad practice, but I would have thought that a package simply replacing the 'libglib*' library and symlinks with a minor version upgrade might not cause any major issues.
The other thing I recall seeing somewhere on these forums was another app requiring newer glib (or glibc?) that someone else had working (maybe OpenOffice?) - perhaps that person can shed light on how to use multiple versions at once - please speak up!

You've made heaps of progress - I noticed the other day that there is an applet in the gpe stuff that controls the volume for the alarms too (you had issues with the rising volume vs. fixed being too loud or something); maybe fiddling with the settings in this app will yield something that works better for pdaXrom.
Title: Gpe Pim Apps
Post by: Xromer on April 08, 2006, 02:58:41 pm
OK guys, i did it.
Compiled and packaged all GPE-CVS-PIMS, tried and sent them to PGAS to put them on my contrib.
Please see the FIRST post of this thread for all the informations, as i use it as a news behaviour.
For Antikx:
Thanks for yours aprreciations!

For kalto:
Thanks for yours appreciations too!
Now, i know that all the libraries have simlink in that form, but what i wanted to say is that
/usr/lib/libgmodule-1.2.so.0.0.10 it' s inside the ROM and it' s not a simlink to the User Memory as /home/users/usr dir nor to some external interface.
So any changes there could effect or corrupt the ROM installation, as it happened to me in the past.
It' s the case of any ipks integrated in the ROM, thing that is, as you know, the base for everyone.
We have to find another way. :-)
But let us concentrate better on the GPE-PIMS now.
I would like you all to test now the new pakcages and let me know something.
For this i send you all back to the FIRST post.
Cheers! :-)
Title: Gpe Pim Apps
Post by: wowo123 on April 09, 2006, 04:34:31 am
What happened to libmimedir_0.3.1? It's not on Xromer's partition on .../contrib. Where can I get it?
Title: Gpe Pim Apps
Post by: Xromer on April 09, 2006, 07:21:48 am
Quote
What happened to libmimedir_0.3.1? It's not on Xromer's partition on .../contrib. Where can I get it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122373\"][{POST_SNAPBACK}][/a][/div]
I' ve just reuploaded.
Sorry!
BYEZ!
Title: Gpe Pim Apps
Post by: karlto on April 09, 2006, 06:46:40 pm
Hi Xromer

Thanks for the update, but now this at thing is going to drive me crazy! gpe-calendar won't even run now because I tried to set an event with an alarm and it fails to start...

Anyway, I found the source to the pdaXrom at - here it is:

Code: [Select]
#!/bin/sh

FN=""
if [ "-f" = "$1" ]; then
  shift
  FN=$1
  shift
fi

if [ -z "$1" ]; then echo "No date specified"; exit 1; fi
if WHEN=`date -d "$1" +%s`; then
  AT=/var/spool/at/$WHEN.$$
  echo '#!/bin/sh' >$AT.new
  # reproduce the 'at' execution environment here?
  /bin/cat $FN >>$AT.new
  echo 'rm -f $0' >>$AT.new
  /bin/chmod 755 $AT.new
  /bin/mv $AT.new $AT
  echo >/var/spool/at/trigger
else
  exit $?
fi
(That's all of it!) atd is a compiled program, with a fix for the Zaurus RTC. But the at command is just a quick shell script as above to create the spool files. It doesn't accept any other options or give any output!

I am toying with the idea of improving this script so that it accepts other switches and gives some usable output. From your earlier posts I see the following extras required:

* at -q switch: I think we can just ignore this, as there is no need for queues or priority
* at -c switch: with a little work, I'm sure that the script can output some useful info. On page 3 you showed a snippet of code that gives a hint as to what output is expected...
* atrm command - this could be a little more difficult as somehow we need to maintain a job ID. I think perhaps this could be the last part of the spool filename

Is there anything else it would need to do? If I can get this working, no more gpe compilation will be needed to make it work.

The first two items above could be fixed by simply ignoring them in libschedule/gpe-calendar code, but it is probably important to implement atrm, as otherwise deleted alarms will still go off!

I have also wondered about compiling a full atd for pdaXrom, but haven't found any source yet, and I think it would be a bit of a nightmare...

What are you thoughts? Can you provide any more details of what gpe-calendar/libschedule expects as output from at and any other command line switches?

Karl
Title: Gpe Pim Apps
Post by: Xromer on April 09, 2006, 08:40:34 pm
Ok i began to look at the new atd.c, it' s fun to see that the only changement it' s a change that i did one month ago too to try the direct call of at.
Now the problem it 's not the libschedule, but Event Number Generation by the GPE-Calendar.
The AT libschedule number incrementation it' s something that i can bypass easily generating it with an AUTOINCREMENT Value from Sqlite.
The problem it' s the Event identification to make it delete directly by libschedule without the need of atrm.
I did a script to simulate the atrm too, but it deleted the wrong event.
I have to study the GPE-Calendar deeper.
Now i was trying to compile gpe-soundbite but it compiling tells me this:

gsm-codec.o: In function `sound_encode':
gsm-codec.c:(.text+0x54): undefined reference to `gsm_create'
gsm-codec.c:(.text+0xc4): undefined reference to `gsm_encode'
gsm-codec.c:(.text+0xe8): undefined reference to `gsm_destroy'
gsm-codec.c:(.text+0x10c): undefined reference to `gsm_destroy'
gsm-codec.o: In function `sound_decode':
gsm-codec.c:(.text+0x130): undefined reference to `gsm_create'
gsm-codec.c:(.text+0x164): undefined reference to `gsm_destroy'
gsm-codec.c:(.text+0x19c): undefined reference to `gsm_decode'
gsm-codec.c:(.text+0x1e8): undefined reference to `gsm_destroy'
gsm-codec.c:(.text+0x204): undefined reference to `gsm_destroy'
collect2: ld returned 1 exit status

The strange thing is that i have gsm/gsm.h in the right dir and the same libsgm.so.1, but it seems to be not found by soundbite.
That's the soundbite Makefile:

PACKAGE_CPPFLAGS += $(STANDARD_CPPFLAGS) -DENABLE_NLS
PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GPECFLAGS) `pkg-config --cflags libglade-2.0` -I/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/include/gsm
PACKAGE_LDFLAGS += $(STANDARD_LDFLAGS) $(GPELIBS) -L/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/lib/libgsm.so.1 `pkg-config --libs libglade-2.0`

The red line it' s my last attempt to point the libgsm.so.1 directly without effects.
I don't know what' s going on.
:-(
Title: Gpe Pim Apps
Post by: karlto on April 10, 2006, 12:18:47 am
Quote
Ok i began to look at the new atd.c, it' s fun to see that the only changement it' s a change that i did one month ago too to try the direct call of at.
Now the problem it 's not the libschedule, but Event Number Generation by the GPE-Calendar.
The AT libschedule number incrementation it' s something that i can bypass easily generating it with an AUTOINCREMENT Value from Sqlite.
The problem it' s the Event identification to make it delete directly by libschedule without the need of atrm.
I did a script to simulate the atrm too, but it deleted the wrong event.
I have to study the GPE-Calendar deeper.
Don't worry about at! I am on the trail of a solution!

As you state, the event ID is a problem, but that is the fault of at, not gpe-calendar (see previous post regarding dumbed-down at).

I have almost complete a more useful at script that allows use of the following flags:
-q (ignored)
-c #id
-d #id (same as 'atrm #id')
-f filename

...and it sorts out the dodgy date format passed by gpe-calendar/libschedule.

I have everything 99% working with your updated packages and these minor script changes - just need to finish fixing that date format and I will upload. This gives working alarms!

Quote
Now i was trying to compile gpe-soundbite but it compiling tells me this:
What exactly does the header file reference look like in gsm-codec.c? No silly #ifdef removing it? I presume the header file itself is up to scratch?

Karl
Title: Gpe Pim Apps
Post by: karlto on April 10, 2006, 01:05:08 am
Hi all

OK, here's a quick and dirty fix to make gpe-calendar alarms work correctly. Basically it just adds some extra functionality that normal versions of at provide. (You'll need pdaXrom atd installed first of course).

The attached text file is a shell script; replace the script /usr/bin/at with this one (back up the old one if you might want it). Also create a script /usr/bin/atrm:

Code: [Select]
#!/bin/sh
# Call 'atd -d'
/usr/bin/at -d $@
(An alias doesn't work because the gpe apps call it directly). Don't forget to chmod 755 both scripts.

This seems to work for me quite happily, but it's not perfect (but then, neither was the original at script). The functionality this adds is as per my previous post - there is also a kludge to deal with the gpe date format (DD.MM.YY, which just isn't recognised).

@Xromer: hopefully this means you don't have to alter the atd code; it can stay the same as other distributions. I did have a slight issue with gpe-announce when postponing alarms - it created a new at command, but gpe-announce appeared to freeze. Not sure what's going on here.

Hope this helps!

Karl

P.S. alarms are LOUD - not sure why the volume control settings aren't working...
Title: Gpe Pim Apps
Post by: Xromer on April 10, 2006, 03:00:15 am
Quote
Hi all

OK, here's a quick and dirty fix to make gpe-calendar alarms work correctly. Basically it just adds some extra functionality that normal versions of at provide. (You'll need pdaXrom atd installed first of course).

The attached text file is a shell script; replace the script /usr/bin/at with this one (back up the old one if you might want it). Also create a script /usr/bin/atrm:

Code: [Select]
#!/bin/sh
# Call 'atd -d'
/usr/bin/at -d $@
(An alias doesn't work because the gpe apps call it directly). Don't forget to chmod 755 both scripts.

This seems to work for me quite happily, but it's not perfect (but then, neither was the original at script). The functionality this adds is as per my previous post - there is also a kludge to deal with the gpe date format (DD.MM.YY, which just isn't recognised).

@Xromer: hopefully this means you don't have to alter the atd code; it can stay the same as other distributions. I did have a slight issue with gpe-announce when postponing alarms - it created a new at command, but gpe-announce appeared to freeze. Not sure what's going on here.

Hope this helps!

Karl

P.S. alarms are LOUD - not sure why the volume control settings aren't working...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122458\"][{POST_SNAPBACK}][/a][/div]

OK THX, but as i' m learning GTK APIS i have to practice :-) So sure i will make some changes, after packaged the FC4 RPMS version, that probably should work without problems.
For the loudness, i' ve not yet fixed the gpe-announce AUTO RAISE, before doing it, try the Volume you think it' s the best compromise for LOUDNESS.
Think that you may have to wake up with it.
After that you can tell in percentuality what do you think the best. (i.e. from 0-100%)
BYez!
Title: Gpe Pim Apps
Post by: Antikx on April 10, 2006, 12:53:39 pm
Quote
P.S. alarms are LOUD - not sure why the volume control settings aren't working...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122458\"][{POST_SNAPBACK}][/a][/div]
is there a way to have something (at, or whatever) run mixmos with "-r 1" so that it changes to a preset that has the volume lowered? Just an idea.
Thanks for your work on AT karlto. I'm got switch to the gpe apps for a while because  they are quicker and work better with xdeep32.
Title: Gpe Pim Apps
Post by: karlto on April 10, 2006, 04:33:08 pm
Quote
Quote
P.S. alarms are LOUD - not sure why the volume control settings aren't working...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122458\"][{POST_SNAPBACK}][/a][/div]
is there a way to have something (at, or whatever) run mixmos with "-r 1" so that it changes to a preset that has the volume lowered? Just an idea.
Thanks for your work on AT karlto. I'm got switch to the gpe apps for a while because  they are quicker and work better with xdeep32.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122534\"][{POST_SNAPBACK}][/a][/div]
They are heaps quicker in any situation, and the bonus with this alarm setup is that the calendar doesn't have to be running. Unfortunately, the gpe apps have the at job hard coded, so we can't really change that. The ~/.gpe/alarm.conf settings should work, and the 'gpe-conf sound' applet successfully changes them, it's just that they're ignored!

BTW, the script above still has a couple of lines with debugging info (notice a '~/atcommands.txt'? sorry...) - a better one with more comments is attached.

@Xromer - there are two main issues with the alarms now:
1) sound level. Something in the code is ignoring the settings (~/.gpe/alarm.conf) or failing to implement them. Are you still having problems with the esd implementation? (disabling auto-raise and setting the volume doesn't work - still full volume)
2) dismissing/suspending alarms doesn't seem to always work first time.
**Edit **
What is the line 'gpe-calendar -s <time in seconds> -e 5 &' in the at schedule supposed to do? This seems to re-schedule the alarm, even though it will be dismissed!
/edit

There is no need to change the at scheduler functions within the gpe apps, because it was the pdaXrom 'at' at fault - you can't fix it because the functionality required isn't available in the default installation (by default, job ids do not exist, nor does any way to review the jobs or delete them).

I will continue to test on the above issues to provide you with more information.

Karl
Title: Gpe Pim Apps
Post by: Xromer on April 11, 2006, 08:29:40 am
Ok i ported other stuff:
gsm_1.0.11_armv5tel.ipk
gpe-timesheet_cvs.060406_armv5tel.ipk
gpe-soundbite_cvs.060406_armv5tel.ipk
gpe-sketchbook_cvs.060406_armv5tel.ipk
gpe-shield_cvs.060406_arm.ipk
gpe-ownerinfo_cvs.060406_armv5tel.ipk
gpe-irc_cvs.060406_armv5tel.ipk
gpe-gallery_cvs.060406_armv5tel.ipk

GSM problem worked out, i used wrong /usr/bin/ld instead of the ARM one to generate the libgsm.so.1 lib.
Cross compiling is a very big issue, you can make  a lot of mistakes with the ENV variables. WOW!
So gpe-soundbite is now ported. See the first post.
For the Calendar, there' s nothing to do to manage it with external scripts :-(
The atd.c file in libschedule it' s built to manage the output of the at command with the libpopt library.
It execute the at -f -g cmd and wait it to output the UID of the event, storing it in the sqlite env.
Without the at cmd output you have to generate the UID manually.
So you have to be a little more patient guys.
After i finish to make some tries (with the changes i made), i will put the new ipks online for you to try them with me.
For the GPE-Announce i didn' t have time to try deep the new IPK, after looking at the new code, i will fix it as the old one.
The Snooze function is always related to the libschedule issue, but this time the programmers added the SYSTEM call function at the end of atd.c that makes Announce trig directly AT.
This is the reason why Announce doesn' t freeze as Calendar.
Because Announce doesn' t wait for the AT output.
An that' s the way i will follow.
CHEERS!  
Title: Gpe Pim Apps
Post by: karlto on April 11, 2006, 04:17:00 pm
Hi Xromer

You're certainly ploughing through it!

Quote
For the Calendar, there' s nothing to do to manage it with external scripts :-(
The atd.c file in libschedule it' s built to manage the output of the at command with the libpopt library.
It execute the at -f -g cmd and wait it to output the UID of the event, storing it in the sqlite env.
Without the at cmd output you have to generate the UID manually.
So you have to be a little more patient guys.
After i finish to make some tries (with the changes i made), i will put the new ipks online for you to try them with me.
For the GPE-Announce i didn' t have time to try deep the new IPK, after looking at the new code, i will fix it as the old one.
The Snooze function is always related to the libschedule issue, but this time the programmers added the SYSTEM call function at the end of atd.c that makes Announce trig directly AT.
This is the reason why Announce doesn' t freeze as Calendar.
Because Announce doesn' t wait for the AT output.
An that' s the way i will follow.
CHEERS! 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122633\"][{POST_SNAPBACK}][/a][/div]
I'm not completely clear on everything above, but here is a scheduled job (working):

Code: [Select]
#!/bin/sh
#!/bin/sh
export DISPLAY=:0
gpe-announce ''
gpe-calendar -s 1144921500 -e 5 &
#!# 5 1144921500
rm -f $0
The at script adds the first shebang and the last line (to remove the script once executed).

I don't think the extra shebang causes any problems. As you can see, gpe-announce doesn't get any information other than a message to display; is announce supposed to call at? If so, I don't see how it would because it has no information (e.g. job id) to use for this.

The gpe-calendar line seems to work; it doesn't actually launch the calendar on screen, it just does something then quits. The long number is the time of the alarm, so my best guess is that it's supposed to register that the alarm has occurred. What it seems to do is re-schedule the event for the same time!

As for the next line, I can't see that it does anything - it looks like a comment (bash accepts it, but doesn't seem to do anything), possibly created by a malformed command. It's interesting that both this and the previous line have the same number (5) in them.

OK, here are the questions:
1) Should gpe-announce be passed more information, such as the at job id, or the time? Or does it call gpe-calendar (or look at the database) to get the info it needs?
2) Does gpe-announce call at directly? What command line?
3) What exactly should the gpe-calendar line do? What are the extra parameters?
4) Is the last line correct? Should it be doing something? What?

I think if we can answer the above, that will fix the two remaining issues with at implementation:
- some alarms immediately re-scheduled when they go off, regardless of being dismissed
- suspending alarms not reliable

By the way, I am not concerned with fixing at via the script, as it brings the functionality more into line with all the other (standard) versions out there, and make it more useful for other tasks as well as gpe integration. I guess it would be quite trivial to repackage the atd ipk with the updated script too.

What else can I do to help test this and provide feedback?

Karl
Title: Gpe Pim Apps
Post by: trichmon on April 11, 2006, 09:22:23 pm
I cant wait to try gpe-soundbite, i have been waiting for a voice recorder on my 6000.  Thanks everyone for the work you are doing.  This type of stuff is the best part of OSS.

Thanks again
Title: Gpe Pim Apps
Post by: trichmon on April 14, 2006, 02:48:39 pm
If your looking for someone to help test your packages before you put thim up on contrib i would be happy to do so and submit bug reports.  Just send me a PM if you like.


Todd
Title: Gpe Pim Apps
Post by: Andmann on April 14, 2006, 11:25:58 pm
Hi,

I have installed many of the GPE apps and none of them load. It looks like it will run up but nothing accually starts.
I must be missing a main set of files for pdaX.
If there is something general that I am missing that someone could point out that would be great. I don't mine being a tester for any of these apps but I am new to the zaurus. One other app that I am looking for is a gas mileage logger. I noticed a mileage file at the beginning of this string but I don't see the file any longer.


Thanks
Title: Gpe Pim Apps
Post by: trichmon on April 15, 2006, 12:13:21 am
if you run them from the command line what errors do you get?

Todd
Title: Gpe Pim Apps
Post by: Xromer on April 15, 2006, 05:20:07 am
Hi all guys, sorry for being late again, i' ve got a lot of work for my shop this week.
These Holidays i have time to do some enhancement.
I thought a solution for AT problem, reading in deep the GPE-Calendar and libschedule stuff.
This is what i'm going to try:
1) Deleting all the code lines that makes Calendar wait for the AT output.
2) Make the Events UID advance with the SQLITE AUTOINCREMENT Values.
3) Deleting the at -c code based function that doesn' t make sense as it can' t check the at output.
4) Implement a function that checks all the files in the /var/spool/at dir and delete the file containing the #!# event_uid string directly.
As this string is generated basing on the libevent, if libevent works it has to work too.
As i'm finished i will post the ipk and rpms in a place where you can get for testing, before to put in the contrib dir.
Thanks all for your help.
BYEZ!
Title: Gpe Pim Apps
Post by: Andmann on April 15, 2006, 09:56:40 pm
Quote
if you run them from the command line what errors do you get?

Todd
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123268\"][{POST_SNAPBACK}][/a][/div]

I get " error while loading shared libraries: libgpewidget.so.1: cannot open shared object file: No such file or directory

when I checked, libgpewidget is installed alone with all the files needed.
It must be in the wrong place or the wrong version.
what do you think?
Title: Gpe Pim Apps
Post by: Xromer on April 16, 2006, 07:58:28 am
Quote
Quote
if you run them from the command line what errors do you get?

Todd
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123268\"][{POST_SNAPBACK}][/a][/div]

I get " error while loading shared libraries: libgpewidget.so.1: cannot open shared object file: No such file or directory

when I checked, libgpewidget is installed alone with all the files needed.
It must be in the wrong place or the wrong version.
what do you think?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123361\"][{POST_SNAPBACK}][/a][/div]

You must install the new cvs ver. as all the new cvs packages are based on it.
Please redo the all ipks installation with the new cvs packages, to be sure that all ipks are new.

Ok guys, my thoughts were right.
I compiled the new RPMS packages based on the fresh CVS.
I look into code and see that even-db.c of libvevent and vevent.c from libgpevtype where changed.
Now the NEW packages works, but there' s a problem with the creation of the event_new table.
So gpe-calendar goes down with creation of a new database.
And you need to create the table yourself with sqlite commands to make it work.
Logically it works stable with an existent DB.
A new feature is a green line that seeks your current time displaying the hours you need in day view, cool!
OK, as the event library is being changed in cvs day by day, i think we have to wait until it becomes stable without errors.
As i see now, the event generated by libschedule in the at job creation has the right number.
Id Es: #!# ID Event_Number.
ID is the right reference.
But libschedule doesn' t yet delete the right at job.
So before doing any changement i have to be sure libevent works right.
The last changement in CVS was about 13/04/06
I compiled all the new packages today for FC4.
Before compiling it for the Zauri, i have to be sure they work at all.
As gpe-calendar is based on libgpevtype, libgpepimc, libeventdb, libschedule.
Any changement in calendar reflects logically in the libraries. So i have to check the CVS for all the libs and compiled as well.
GPE-Announce seems to be stopped in devel.
So i made the Volume changements and the Buzzer deletion as well.
Logically the Snooze problem still remains as it's bound to libschedule, but now Announce seeks the configuration in the .gpe dir and sounds for 30 sec until the 80% of Volume is reached, instead of 20 sec at 100% noising for the loudness.
I will compile it again for the Zauri too, to make it possibly use with AT cmds directly.
Please see if the changements reflect your taste and tell me if you like them.
OK, the new packages to test will be on a new section of my contrib.
Any new CVS changements will be reflected in new packages there as well.
Until they don' t become usable and stable i will not post them on my contrib.
Only new gpe-announce will be as functional in my contrib.
Ok we only have to wait for new fixes on CVS server now.
I will try to communicate with the GPE guys to see what their intenctions will be.
BYEZ!!!!
Title: Gpe Pim Apps
Post by: Andmann on April 16, 2006, 12:18:50 pm
Quote
Quote
Quote
if you run them from the command line what errors do you get?

Todd
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=123268\")

I get " error while loading shared libraries: libgpewidget.so.1: cannot open shared object file: No such file or directory

when I checked, libgpewidget is installed alone with all the files needed.
It must be in the wrong place or the wrong version.
what do you think?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123361\"][{POST_SNAPBACK}][/a][/div]

You must install the new cvs ver. as all the new cvs packages are based on it.
Please redo the all ipks installation with the new cvs packages, to be sure that all ipks are new.

Ok guys, my thoughts were right.
I compiled the new RPMS packages based on the fresh CVS.
I look into code and see that even-db.c of libvevent and vevent.c from libgpevtype where changed.
Now the NEW packages works, but there' s a problem with the creation of the event_new table.
So gpe-calendar goes down with creation of a new database.
And you need to create the table yourself with sqlite commands to make it work.
Logically it works stable with an existent DB.
A new feature is a green line that seeks your current time displaying the hours you need in day view, cool!
OK, as the event library is being changed in cvs day by day, i think we have to wait until it becomes stable without errors.
As i see now, the event generated by libschedule in the at job creation has the right number.
Id Es: #!# ID Event_Number.
ID is the right reference.
But libschedule doesn' t yet delete the right at job.
So before doing any changement i have to be sure libevent works right.
The last changement in CVS was about 13/04/06
I compiled all the new packages today for FC4.
Before compiling it for the Zauri, i have to be sure they work at all.
As gpe-calendar is based on libgpevtype, libgpepimc, libeventdb, libschedule.
Any changement in calendar reflects logically in the libraries. So i have to check the CVS for all the libs and compiled as well.
GPE-Announce seems to be stopped in devel.
So i made the Volume changements and the Buzzer deletion as well.
Logically the Snooze problem still remains as it's bound to libschedule, but now Announce seeks the configuration in the .gpe dir and sounds for 30 sec until the 80% of Volume is reached, instead of 20 sec at 100% noising for the loudness.
I will compile it again for the Zauri too, to make it possibly use with AT cmds directly.
Please see if the changements reflect your taste and tell me if you like them.
OK, the new packages to test will be on my [a href=\"ftp://217.133.58.241]FTP[/url] as you asked me to try it.
Any new CVS changements will be reflected in new packages there as well.
Until they don' t become usable and stable i will not post them on my contrib.
Only new gpe-announce will be as functional in my contrib.
Ok we only have to wait for new fixes on CVS server now.
I will try to communicate with the GPE guys to see what their intenctions will be.
BYEZ!!!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123393\"][{POST_SNAPBACK}][/a][/div]


I have checked and I am running all the new versions. However I noticed that I have 2 versions of the ...widget. the 2005 version from the main pdax feed.  If I uninstall both versions and then try to install only the new version it installs the old version from the other feed.  I will remove the other feed from the package manager however when I put it back for other things I am afraid it will install it again at a later date.
what is the norm here?

thanks again.
Title: Gpe Pim Apps
Post by: Xromer on April 16, 2006, 12:47:27 pm
Quote
I have checked and I am running all the new versions. However I noticed that I have 2 versions of the ...widget. the 2005 version from the main pdax feed.  If I uninstall both versions and then try to install only the new version it installs the old version from the other feed.  I will remove the other feed from the package manager however when I put it back for other things I am afraid it will install it again at a later date.
what is the norm here?

thanks again.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123416\"][{POST_SNAPBACK}][/a][/div]

Right, the libgpewidget in the normal Feed and the one in mine are different.
As mine are the freshest and all my packages are based on that.
Think that mine are packaged in a different way too, so install all in contrib and it will be all right.
BYEZ!
Title: Gpe Pim Apps
Post by: karlto on April 17, 2006, 04:53:02 pm
@Andmann: I vaguely recall having this same problem - I removed both versions and installed only the newer one. I haven't seen any issues with this yet...

@Xromer: your at solution seems to be logical - it should work with a fully functional version, or with a limited one. Two things to watch out for:
1) The original pdaXrom at script stuck the 'rm -f $0' at the end of the file with no newline (it ended up stuck on the ID line) - you may want to add a newline to this.
2) Will your solution fix the issue with the gpe-calendar command re-scheduling the alarm for a second time? I am hoping it will due to the ID number...

I'll try out the newest packages as soon as possible - thanks for all the work.
Title: Gpe Pim Apps
Post by: Xromer on April 17, 2006, 07:23:03 pm
Quote
@Andmann: I vaguely recall having this same problem - I removed both versions and installed only the newer one. I haven't seen any issues with this yet...

@Xromer: your at solution seems to be logical - it should work with a fully functional version, or with a limited one. Two things to watch out for:
1) The original pdaXrom at script stuck the 'rm -f $0' at the end of the file with no newline (it ended up stuck on the ID line) - you may want to add a newline to this.
2) Will your solution fix the issue with the gpe-calendar command re-scheduling the alarm for a second time? I am hoping it will due to the ID number...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123543\"][{POST_SNAPBACK}][/a][/div]

Well:
1) The original is the (Ipaq made)' s one, as Familiar has not a real at daemon, the at file it' s called to autodelete itself after command execution.
2) The problem of re-scheduling it' s a call to schedule_set_alarm more than one time as a refresh of view. I' m looking at the event_ui.c of gpe-calendar.
But we are always there, i mean until the libeventdb will not be stabilized for a while.

Quote
I'll try out the newest packages as soon as possible - thanks for all the work.
Now it' s the time Karlito! Thanks for you too to follow and help me!  See the first post for the new packages.:-)
Title: Gpe Pim Apps
Post by: Andmann on April 17, 2006, 11:31:57 pm
Hi,

I have removed the older file and the apps started up.
I have noticed though that when I shutdown and restart the system I have tp un-install the libschedule or sqlite and reinstall it to get at least one of the the apps  going again, most of the time.

Thanks again.

Andmann
Title: Gpe Pim Apps
Post by: karlto on April 18, 2006, 12:44:08 am
Quote
Hi,

I have removed the older file and the apps started up.
I have noticed though that when I shutdown and restart the system I have tp un-install the libschedule or sqlite and reinstall it to get at least one of the the apps  going again, most of the time.

Thanks again.

Andmann
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123582\"][{POST_SNAPBACK}][/a][/div]
That's really strange - which version of sqlite do you have? I think that was another with an older version in the official feed.
Title: Gpe Pim Apps
Post by: Xromer on April 18, 2006, 06:18:32 am
Please Andmann notes:
Install only the packages in my feeds for 2 reasons.
1) The packages in the PdaXrom main Feed are compiled on the sqlite3 support, the other on mine are with sqlite 2 support as i had problems doing that for the sqlite3.
The reason is that the Main Feed is built with the PdaXrom Builder directly and i use the SDK Devel.
2) As i use the SDK Devel, the packaging it' s completely different and it will make problems with dependencies.

So check only gpe packages from my feed and be sure that you installed Sqlite from there .
You can keep the Sqlite3 from the main Feed as the versions are different and the files to install too.
With my packages completely installed, i had never problems like yours but only the other in my first post.
So check again your installation and look if the 2 conditions on the top are satisfied.
That' s all you have to do.
BYEZ!
:-)
Title: Gpe Pim Apps
Post by: Andmann on April 18, 2006, 10:18:26 pm
Hi,

for some reason everything is working well now. I didn't do anything it's like it just needed to have those 2 reinstalled a few times.
I have installed the atd now so I can start to play with that.

thanks agian.

Andmann
Title: Gpe Pim Apps
Post by: trichmon on April 19, 2006, 02:16:35 pm
has anyone tried to sync using the gpe multisync plugin?  

Todd
Title: Gpe Pim Apps
Post by: koen on April 19, 2006, 02:36:36 pm
Quote
has anyone tried to sync using the gpe multisync plugin? 

[div align=\"right\"][a href=\"index.php?act=findpost&pid=123797\"][{POST_SNAPBACK}][/a][/div]

The multisync plugin is obsolete, use the opensync one instead. I've used the opensync one to sync gpe on my nokia 770 on other geek toys
Title: Gpe Pim Apps
Post by: trichmon on April 19, 2006, 06:34:46 pm
I must be doing something wrong.  I have the current gpe cvs (off the contrib page) and the new at file and atrm file and I get the following errer (on the console) when ever i make or change an appt.  And i dont get an alarm.  Im sure its just something im not doing.

Todd

PS trying soundbite tonight - thanks so much.
Title: Gpe Pim Apps
Post by: karlto on April 19, 2006, 08:44:33 pm
Quote
I must be doing something wrong.  I have the current gpe cvs (off the contrib page) and the new at file and atrm file and I get the following errer (on the console) when ever i make or change an appt.  And i dont get an alarm.  Im sure its just something im not doing.

Todd

PS trying soundbite tonight - thanks so much.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123828\"][{POST_SNAPBACK}][/a][/div]
What is the error?
Title: Gpe Pim Apps
Post by: Andmann on April 19, 2006, 08:56:07 pm
Now that I have installed the atd nothing works and I don't get any errors on the console.
I am about to un-install everything and start from scratch.
Should I be using a different atd as I don't see one on the contrib site.

thanks.
Title: Gpe Pim Apps
Post by: trichmon on April 19, 2006, 09:45:35 pm
Quote
Quote
I must be doing something wrong.  I have the current gpe cvs (off the contrib page) and the new at file and atrm file and I get the following errer (on the console) when ever i make or change an appt.  And i dont get an alarm.  Im sure its just something im not doing.

Todd

PS trying soundbite tonight - thanks so much.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123828\"][{POST_SNAPBACK}][/a][/div]
What is the error?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123836\"][{POST_SNAPBACK}][/a][/div]


Sorry thought i included that, error reads
rm:cannot remove `/var/spool/at/*.2676': No such file or direcotry

It also seems that for some reason my Z locks up cold when i close gpe-calendar, or gpe-soundbite-play.  

gpe-soundbite-record works mostly.  It will start up and record.  But i am unable to stop recording through the gui, i have to ctr-c to stop it.  gpe-soundbite-play works fine as well to start playing but it also will not stop through the gui and ctr-c closes the app then my Z locks up less than a sec later.  Willing to test anything for more information if you need.

Todd
Title: Gpe Pim Apps
Post by: karlto on April 19, 2006, 10:19:22 pm
Quote
Sorry thought i included that, error reads
rm:cannot remove `/var/spool/at/*.2676': No such file or direcotry

It also seems that for some reason my Z locks up cold when i close gpe-calendar, or gpe-soundbite-play. 
That error is normal - the calendar is trying to remove the event after it has executed (and removed itself). Removing works fine if the event has not yet occurred. (Maybe I should add a test for the file before trying to remove it in the at script?)

I will have a play around to check everything is still working and let you know. In the meantime, check you have installed all the necessary dependencies (Xromer's packages don't check these). It seems strange that it is locking up, so maybe you are missing something.
Title: Gpe Pim Apps
Post by: trichmon on April 19, 2006, 10:33:44 pm
reinstalled all the packages and the calendar works fine now.  Still have the same issue with gpe-soundbite though.

Todd
Title: Gpe Pim Apps
Post by: karlto on April 19, 2006, 10:52:09 pm
Quote
reinstalled all the packages and the calendar works fine now.  Still have the same issue with gpe-soundbite though.

Todd
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123848\"][{POST_SNAPBACK}][/a][/div]
Do the alarms work too? I think I am finding them slightly less reliable with this latest version - at always runs the scripts, but sometimes the calendar stops the alarm (I think?)

As for soundbite, it requires the gsm package - I found it acted very strangely before I installed it. Also the OK and Cancel buttons appear to do nothing in record or play (just close the window and it stops).

Edit: maybe soundbite is not so good... they keep running after the window closes, and record segfaults when closed (although not closing?), and play freezes when it gets to the end of the recording...
Title: Gpe Pim Apps
Post by: trichmon on April 19, 2006, 11:22:05 pm
Yup the alarms seem to work.  

I will try to give the calendar a good working as soon as I can find a place to download the gpe plugin for opensync.


Todd
Title: Gpe Pim Apps
Post by: Xromer on April 20, 2006, 05:57:03 am
Quote
Yup the alarms seem to work. 

I will try to give the calendar a good working as soon as I can find a place to download the gpe plugin for opensync.


Todd
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123854\"][{POST_SNAPBACK}][/a][/div]

Ok, i did a lot of tries. Now we are always there.
The GPE stuff is made to work with newer libglade,gtk,glib etc. packages than the PdaXroms one.
So the gpe-soundbite utility is compiled with signals that the libglade on PdaXrom can' t catch.
I have to see how to correct the code for the PdaXrom libglade, but libgsm seems to work.
I would like to find another tool like that, that rec in mp3 or wav instead, for a quality issue.
For the GPE-Calendar of the FC4 i did a lot of tries. It seems all to work, it generates the right at event and Gpe-Announce Snooze function works too.
The only problem is that deleting the event Calendar seems to generate it again.
That' s an update_view function issue. I have to see if i can fix it, it would be the last fix to do to make it fully work.
For the Zauri Calendar, now that development on CVS stopped for a while, i will try to make the changements i thought. If libevent really works without errors the fixed libshedule should work.
This evening i will try the Linphone package too, compiling the same also for the Desktop.
For the GPSDrive CVS packaging the problem is that it works with the new glib package that has the iconv integrated so i should reflash with the new ROM from Sash and i don' t have time now.
So i stopped working on it until i do not finish on the GPE-PIMS. I will give a try to the builder too.
Now it' s the time, as the old SDK does no more seek the builder new features.
BYEZ!
Title: Gpe Pim Apps
Post by: karlto on April 20, 2006, 03:37:24 pm
Quote
The only problem is that deleting the event Calendar seems to generate it again.
That' s an update_view function issue. I have to see if i can fix it, it would be the last fix to do to make it fully work.
I'm not sure if deleting the event generates it again on the Zaurus, but opening the calendar the first time after an alarm goes off always seems to regenerate that alarm.

It's 99% there though, and the gpe-pim suite is now generally usable - good work.
Title: Gpe Pim Apps
Post by: trichmon on April 21, 2006, 01:30:30 am
I finally spent the evening setting up and trying out the cross compiler.  The end result is gpesyncd.  This is the pda side of the gpe sync solution.  From what i understand you can only use this with opensync, which was not hard to build and setup.  

If you want to give this a try this is what worked for me (at least well enough to sync evolution and gpe on my 6000.  You need a file in .gpe called gpesyncd.allow.  All it need to have in it is the ip address of the machines allowed to sync.  For example mine just says 192.168.129.1.  Then you need to run gpesynd from the command line with the -D switch to start it in Daemon mode.  

gpesyncd -D

you will see a message about it starting up on such and such a port.

On the pc side you have to setup libopensync, the gpe plugin and what every other plugin you need.  

Sorry no ipk yet, i will try to build one once i get an init script built.

Todd
Title: Gpe Pim Apps
Post by: Xromer on April 21, 2006, 09:58:14 am
Trich, try the GPE for FC4, so you don' t have to sync.
For the Zauri i' m near to be ready, as i did the modification for the Zauri AT.
With the advancement of my knowledge, as there are some VAR Scope differences between PHP and C, i think i could modify the Event Lib too.
It' s only to try.
I did the modification using the libpopt, now i have to integrate it with fopen to make it recognize the Event string.
If it works, i will compile and put online.
BYEZ!!
Title: Gpe Pim Apps
Post by: trichmon on April 21, 2006, 03:00:14 pm
Quote
Trich, try the GPE for FC4, so you don' t have to sync.
For the Zauri i' m near to be ready, as i did the modification for the Zauri AT.
With the advancement of my knowledge, as there are some VAR Scope differences between PHP and C, i think i could modify the Event Lib too.
It' s only to try.
I did the modification using the libpopt, now i have to integrate it with fopen to make it recognize the Event string.
If it works, i will compile and put online.
BYEZ!!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124030\"][{POST_SNAPBACK}][/a][/div]


I would love to but I have to work in an exchange style calendar system.  I can use Kontact or evolution to work with it but I would like to get that info to sync with my gpe on my Z.  Im mostly there with the gpesyncd.  Otherwise i have to go back to the sharp rom  or carry an axim as well as my Z which i use for working with my switches and routers.

Todd
Title: Gpe Pim Apps
Post by: donk0yote on April 23, 2006, 01:12:21 pm
THANKS for all your hard work Xromer!!!
just installed gpe-contacts, seems to work fine, now i wonder
if anyone has some pointers on how to convert my old qtopia .xml file to the
db for gpe-contacts?
Title: Gpe Pim Apps
Post by: Xromer on April 24, 2006, 07:30:32 am
Quote
THANKS for all your hard work Xromer!!!
just installed gpe-contacts, seems to work fine, now i wonder
if anyone has some pointers on how to convert my old qtopia .xml file to the
db for gpe-contacts?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124274\"][{POST_SNAPBACK}][/a][/div]

donk0yote:
Try to extract the file to a Comma Separated Value one; after that you can use the Sqlite Tools you can find on http://www.sourceforge.net to import that file in the calendar Sqlite2 database.

Ok, i did the fixes and tried them all.
Now as the PdaXrom has trigger option like the Ipaq' s one, i tried to modify the libschedule Ipaq' s code.
What i saw is that, modifiying the alarm_file creation string, finally it works.
Still remains the deletion problem, as libschedule try to delete the wrong alarm_file.
And still remain the problem that only one alarm a time is possible.
These problems are related no more to the libschedule but to the libevent-db.
So i did the fix for a correct alarm_file generation for the PdaXrom ATD and i will make libschedule reset the at dir directly when you try to delete an event. So you can add a new one.
I began yesterday to put hand on gpe-calendar to fix the thing that generate the event even after the deletion; but i saw that there was a modification to the CVS tree 5 hours old, so i' m waiting for the CVS to be more stable.
The GPE-Calendar,libgpevtype and libeventdb are now in a constant week by week develop, so i have only to see when the GPE-Developers reach a finally fix.
Changing the code now, would result a useless work as they time by time are changing the all libevent and calendar views and behaviour.
We will see.
BYEZ!!
Title: Gpe Pim Apps
Post by: Xromer on April 25, 2006, 04:46:52 pm
Right guys, new packages on CVS and new packages i compiled.
After new tries i saw that now, with my fix to libschedule, the PdaXrom atd trigger the right file and announce wakes up.
Now libschedule works like the Ipaq' s one without any Sqlite implementations and triggering the atd directly.
Studying more the PdaXrom atd i saw it was only a problem of alarm_file name, as you know i' m a beginner EHEHEH! :-)
New changements made from Neal on libeventdb CVS make libschedule works better, but some problems still remains.
New events Day,Weeks,Months views.
Check new packages and tell me what do you think.
New packages will be asap on my contrib (http://mail.pdaxrom.org/contrib/Xromer):

gpe-calendar_cvs.240406_armv5tel.ipk
libeventdb_cvs.240406_armv5tel.ipk
libgpevtype_cvs.240406_armv5tel.ipk
libschedule_cvs.060406.fixed_armv5tel.ipk

I began to take contacts with the GPE authors and to enter in the PdaXrom and GPE chat.
BYEZ :-)
Title: Gpe Pim Apps
Post by: karlto on April 25, 2006, 05:21:00 pm
Quote
Right guys, new packages on CVS and new packages i compiled.
After new tries i saw that now, with my fix to libschedule, the PdaXrom atd trigger the right file and announce wakes up.
Now libschedule works like the Ipaq' s one without any Sqlite implementations and triggering the atd directly.
Studying more the PdaXrom atd i saw it was only a problem of alarm_file name, as you know i' m a beginner EHEHEH! :-)
New changements made from Neal on libeventdb CVS make libschedule works better, but some problems still remains.
New events Day,Weeks,Months views.
Check new packages and tell me what do you think.
New packages will be asap on my contrib (http://mail.pdaxrom.org/contrib/Xromer):

gpe-calendar_cvs.240406_armv5tel.ipk
libeventdb_cvs.240406_armv5tel.ipk
libgpevtype_cvs.240406_armv5tel.ipk
libschedule_cvs.060406.fixed_armv5tel.ipk

I began to take contacts with the GPE authors and to enter in the PdaXrom and GPE chat.
BYEZ :-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124553\"][{POST_SNAPBACK}][/a][/div]
Hi Xromer

So what you are saying with the atd stuff is that it now ignores the /usr/bin/at shell script and does all this itself? Sounds like a good solution as it will not only work with the standard atd package, but also allow me to still use a more powerful script for other things

Good work anyway - will test the updated ipks ASAP.

Thanks

Karl
Title: Gpe Pim Apps
Post by: Xromer on April 25, 2006, 06:15:19 pm
Quote
So what you are saying with the atd stuff is that it now ignores the /usr/bin/at shell script and does all this itself? Sounds like a good solution as it will not only work with the standard atd package, but also allow me to still use a more powerful script for other things

Good work anyway - will test the updated ipks ASAP.

Thanks

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124557\"][{POST_SNAPBACK}][/a][/div]

Well, it was my mistake.
I thought atd trigger function didn' t work, but was only because the file generated by libschedule had a bad name.
I changed the string of the alarm_file name and now all it works as it should.
That' s all.
BYEZ!!
Title: Gpe Pim Apps
Post by: Xromer on April 26, 2006, 05:17:30 am
[span style=\'font-size:14pt;line-height:100%\']ATTENTION!!!![/span]

This morning, starting gpe-contacts and today i saw they were broken by the new libevents.
This because the new libeventdb has Version libeventdb.so.1 instead of 0.
So i suddenly recompiled the gpe-contacts_cvs.240406_armv5tel.ipk.
I tried to do the same for gpe-today, but i saw that the new libevent makes today a need of code modification for the new structure.
So i think leaving the old libeventdb library toghether with the new one, could fix the problem.
Be sure every time to backup your DBS and remember that we are using CVS code. I will never stop to advice for that!!!!
Any deep tries of the Beta3? This evening i began to have a look at the new Builder.
And, if i' m able, i will recompile a new SDK and compile all the packages for that.
We will see, i' m looking forward to try the new Sigmarion III arriving from Japan, ehehehehehe!
BYEZ!  

P.S. To make the 2 versions of the libraries coexist, i' ll have to change names and dependencies.
This morning i don' t really have time to do this, i ' ll do it in the evening and make all the necessary changes.
Until then if you want to do that, you have to install the old libevent manually.  
Title: Gpe Pim Apps
Post by: Xromer on April 29, 2006, 05:35:53 am
As i' m migrating to the beta3 for the glibc-iconv integration, you need be little more patient.
This because i have installed the latest builder and the PdaXrom iso environment.
And i have to compile the cross-compilation tool.
After compiled the cross-compilation tool, i will migrate all the packages to the new Beta and try to compile the packages that needed the glibc-iconv i.e. the CVS GpsDrive, the new PhoneGaim and probably a try for the Evolution package to see if it stucks running or it' s usable.
Now the PdaXrom environment it' s usable but it misses the make and gcc packages.
So i have to compile them before to begin.
Asap i will post all the things.
BYEZ!!
Title: Gpe Pim Apps
Post by: karlto on April 30, 2006, 04:22:02 pm
Quote
P.S. To make the 2 versions of the libraries coexist, i' ll have to change names and dependencies.
This morning i don' t really have time to do this, i ' ll do it in the evening and make all the necessary changes.
Until then if you want to do that, you have to install the old libevent manually. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124624\"][{POST_SNAPBACK}][/a][/div]
Hi Xromer

If you could let us know when the contrib feed is populated with a set of packages that work happily together with your latest changes, that would be great. I know I'm not up to date, but not 100% sure what's missing, so I'd like to just install all the latest.

Version numbers aren't always reliable indicators that something has changed (you had to put '.fixed' on some!) - does anyone know if it's possible to get the last modified date on files in the feeds? This would make it easier to keep up...

Karl
Title: Gpe Pim Apps
Post by: Xromer on May 02, 2006, 07:25:06 am
Quote
Hi Xromer

If you could let us know when the contrib feed is populated with a set of packages that work happily together with your latest changes, that would be great. I know I'm not up to date, but not 100% sure what's missing, so I'd like to just install all the latest.

Version numbers aren't always reliable indicators that something has changed (you had to put '.fixed' on some!) - does anyone know if it's possible to get the last modified date on files in the feeds? This would make it easier to keep up...

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125223\"][{POST_SNAPBACK}][/a][/div]

Karlito, i know i' m doing something confusing with my feed. But this dues to the big work Sash, GPE-Guys and other contributors are doing about CVS and Beta releases.
Without thinking about the work i' m doing to compile all the packages for the Beta3 and passing to it.
Now, compiling on the CVS, is not the easiest way for cross-compilation.
As not all the packages are changed at time, but one and the ones related to it.
It may happens that a library changed for a utility breaks others.
This was the case of the gpe-calendar and gpe-today.
Now, we have to choose toghether the best politic for packaging.
Keeping all the packages from CVS would result in a waste of space, because as Sash and GPE update things, i have to seek them too.
And the old packages could confuse people.
So this is the things i' ll do, suggest me if i'm wrong.
1) I will post packages naming them with the exact version of the files taken from the CVS tag + the CVS day.
2) Insert the DEPS descriptions updated to that version.
3) Post only packages with functional dependencies and wait for the broken utilities to be fixed before posting them.
I.E. GPE-Today now it' s broken with the new libeventdb.so.1, i will leave the old libeventdb.so.0 on the Contrib change the related DEPS and wait until all the packages functions with the new libeventdb before deleting the old and leaving only the new.
This is the max i can do before having the right knowledge to code with the GTK+
BYEZ!!!!
P.S. We have to wait very big changements from all these people, think only that libschedule and gpe-calendar are being completely redesigning and PdaXrom Betas are seeking one by one with a vary fast developing.
THANKS TO ALL FOR THIS!!!!
Title: Gpe Pim Apps
Post by: karlto on May 02, 2006, 03:32:10 pm
Quote
And the old packages could confuse people.
So this is the things i' ll do, suggest me if i'm wrong.
1) I will post packages naming them with the exact version of the files taken from the CVS tag + the CVS day.
Anything with the date on it would be great - this sounds fine.

Quote
THANKS TO ALL FOR THIS!!!!
Thanks to you for gpe-pim.
Title: Gpe Pim Apps
Post by: Xromer on May 07, 2006, 02:41:38 pm
Ok i tried the builder, spoke with Sash for some issues and now i' m ready to use it for next release.
Now, as Sash told me it 's coming out with the Beta4, i' ll wait directly for it before doing any compilation.
As installing now the Beta3 and recompiling all the ipks, could be useless, if these days surely Beta4 will be online.
In the meanwhile my studies for the GTK+ APIS go on.
Asap the Beta4 and BUILDER4 will be out, i' ll begin to recompile all my stuff.
BYEZ!
Title: Gpe Pim Apps
Post by: grog on May 13, 2006, 06:05:15 pm
i just went through this thread & all I can say is WOW!! That's a whole lot of work & testing that's been put into this. My hats off to you all, especially to Xromer.

I just have one or two comments & one problem. I was able to get almost eveything working after installing all the gpe-* packages & then manually installing libgpevtype, sqlite (the one specifically form xromer's feed), libmimedir & atd. I'd suggest adding these to the dependancies so they install automatically.

I'd also suggest making a separate desktop folder (PIM) & sticking all of the apps together. IMHO of course .

So now gpe-contacts, gpe-announce, gpe-today & gpe-todo all run A-OK. BUT gpe-calendar just gives me a seg fault & dies. I tried copying over my calendar file from my OZ install, hoping that it was just because of the missing file. no joy. Any suggestions anyone can make? thks

P.S this is on my 860 under beta2
Title: Gpe Pim Apps
Post by: Xromer on May 13, 2006, 08:53:05 pm
Quote
i just went through this thread & all I can say is WOW!! That's a whole lot of work & testing that's been put into this. My hats off to you all, especially to Xromer.

I just have one or two comments & one problem. I was able to get almost eveything working after installing all the gpe-* packages & then manually installing libgpevtype, sqlite (the one specifically form xromer's feed), libmimedir & atd. I'd suggest adding these to the dependancies so they install automatically.

I'd also suggest making a separate desktop folder (PIM) & sticking all of the apps together. IMHO of course .

So now gpe-contacts, gpe-announce, gpe-today & gpe-todo all run A-OK. BUT gpe-calendar just gives me a seg fault & dies. I tried copying over my calendar file from my OZ install, hoping that it was just because of the missing file. no joy. Any suggestions anyone can make? thks

P.S this is on my 860 under beta2
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126940\"][{POST_SNAPBACK}][/a][/div]
Thanks for your appreciations. But the real work is done by GPE guys and SashZ, i' m only trying to understand and seek them.
Now, i got finally a functional PdaXrom86 environment, chrooting into it, i began working on the builder. Compiled SDK and compiling all the root stuff to begin adding GPE stuff directly in the builder. So i can seek directly Sash, with the new betas release.
For the dependencies you are right, i miss them because i didn' t know how to manage them with the CVS tree.
Now that i know, after speaking with Karlito, i can begin to add them.
I saw many changements to the CVS so now, i will begin to pass to the new utilities and libs.
 
BYEZ!!
Title: Gpe Pim Apps
Post by: grog on May 14, 2006, 03:30:38 pm
Quote
Quote
i just went through this thread & all I can say is WOW!! That's a whole lot of work & testing that's been put into this. My hats off to you all, especially to Xromer.

[...snip...]
gpe-calendar just gives me a seg fault & dies. I tried copying over my calendar file from my OZ install, hoping that it was just because of the missing file. no joy. Any suggestions anyone can make? thks

P.S this is on my 860 under beta2
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126940\"][{POST_SNAPBACK}][/a][/div]
Thanks for your appreciations. But the real work is done by GPE guys and SashZ, i' m only trying to understand and seek them.
I appreciate that. It's good that we're all making sure that credit is hanaded out to whom it is deserved. bravo!

Quote
[...snip...]
I saw many changements to the CVS so now, i will begin to pass to the new utilities and libs.[div align=\"right\"][a href=\"index.php?act=findpost&pid=126956\"][{POST_SNAPBACK}][/a][/div]
So if I understand, my problem can only be fixed by rebuilding the packages? If so, fine. I'll just have to be patient. Thanks for the help.
Title: Gpe Pim Apps
Post by: karlto on May 15, 2006, 01:28:31 am
Quote
So if I understand, my problem can only be fixed by rebuilding the packages? If so, fine. I'll just have to be patient. Thanks for the help.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127015\"][{POST_SNAPBACK}][/a][/div]
I don't think that's necessary, but there are quite a few dependencies - just keep installing until it works!

I'm pretty sure everything you need is in Xromer's feed - I have heard of problems with some installs but when everything is reinstalled it all goes...
Title: Gpe Pim Apps
Post by: Xromer on May 15, 2006, 07:52:18 am
Quote
Quote
So if I understand, my problem can only be fixed by rebuilding the packages? If so, fine. I'll just have to be patient. Thanks for the help.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127015\"][{POST_SNAPBACK}][/a][/div]
I don't think that's necessary, but there are quite a few dependencies - just keep installing until it works!

I'm pretty sure everything you need is in Xromer's feed - I have heard of problems with some installs but when everything is reinstalled it all goes...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127060\"][{POST_SNAPBACK}][/a][/div]

Ok, guys i' m sorry about being so in late, but working with the Builder it' s not a joke, i had to fix many things about the kernel compilation. Now i understand what the hell Sashz has to do, it' s incredible!
Now.... i'm working with the Builder because i have to understand the deep kernel configurations, as i would like to port PdaXrom on my Sig III.
The builder applies many patches, but some are missed because of some the GCC version issues.
So, this evening i will see if i can finish the kernel compilation with the builder, if not i' ll begin to compile the new CVS ipks with the SDK from PGAS.
Hope to understand better the code, because there are many HPCS like Sig III intergesting and Microsoft, like all the time, upgrading things, don' t support them anymore.
So, we will see! :-)
ByeZ!
P.S. Any questions about my feed, or other things, i' ll be online an chat CHANNEL #cacko and ICQ
this evening.
Title: Gpe Pim Apps
Post by: Xromer on May 20, 2006, 01:56:26 pm
As yesterday the Beta4 Builder was released i' ve just download it and i' m preparing the Beta4 ENV, for teh compilation.
I have a ready Beta3 SDK, but as tomorrow i will pass to the Beta4, i think that compiling the new CVS with the new Beta4 is at this point a must.
So i downloaded today the all Beta4 tools, builder, iso X86 environment and new sources.
Just preparing the new ENV and tomorrow begin to compile.
In the meanwhile. i' ll compile the new RPMS for the FC4 of the gpe-apps to see what was changed.
BYEZ!
Title: Gpe Pim Apps
Post by: wylbur on May 20, 2006, 06:14:08 pm
thanks, Xromer, this is pretty neat stuff.

Could you repost libeventdb_cvs.240406_armv5tel.ipk to your feed? Only the earlier one is there, and as you pointed out a couple of weeks ago, the two versions can live next to each other. gpe-calendar needs the newer one, I think.

thanks again -- wylbur.
Title: Gpe Pim Apps
Post by: Xromer on May 23, 2006, 05:50:33 am
Quote
thanks, Xromer, this is pretty neat stuff.

Could you repost libeventdb_cvs.240406_armv5tel.ipk to your feed? Only the earlier one is there, and as you pointed out a couple of weeks ago, the two versions can live next to each other. gpe-calendar needs the newer one, I think.

thanks again -- wylbur.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127904\"][{POST_SNAPBACK}][/a][/div]

I' m just stopped in the pcmcia-cs compilation with the builder. I' m trying to understand what' s the problem to continue and complete the Feed stuff.
Part of the Feed and SDK for Beta4 it' s compiled.
I miss Gnumeric and other things i really need, so i have to go on.
Stuff for GPE compilation should be ready.
Now, tell me what you want me to do.
1) Deleting all old stuff and adding the new one once tested.
2) Keeping all toghether, but this could bring to a disk space problem and little confusion on the version.

Now, i passed to the Beta4, so i would like to pass all to it, SDK, Builder, GPE-PIM Feed, but i would like to know how many of you are ready for this.
These evenings i' m free and will not go out as i' m a little ill, so will concentrate all about PdaXrom stuff.
Hope to finish things finally.
BYEZ!!!  
Title: Gpe Pim Apps
Post by: karlto on May 23, 2006, 05:31:52 pm
Quote
Now, tell me what you want me to do.
1) Deleting all old stuff and adding the new one once tested.

Now, i passed to the Beta4, so i would like to pass all to it, SDK, Builder, GPE-PIM Feed, but i would like to know how many of you are ready for this.
Hi Xromer

I have an SL6000, so no beta4 for me yet

I'd appreciate if you could continue to have the existing version(s) available.

Thanks

Karl
Title: Gpe Pim Apps
Post by: Xromer on May 24, 2006, 03:02:11 am
Quote
Quote
Now, tell me what you want me to do.
1) Deleting all old stuff and adding the new one once tested.

Now, i passed to the Beta4, so i would like to pass all to it, SDK, Builder, GPE-PIM Feed, but i would like to know how many of you are ready for this.
Hi Xromer

I have an SL6000, so no beta4 for me yet

I'd appreciate if you could continue to have the existing version(s) available.

Thanks

Karl
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128234\"][{POST_SNAPBACK}][/a][/div]

Right Karl, as the Beta4 Feed completion took me 12 hours!! And i have to compile the GPE-PIMS manually, i would like to know from you what is the latest Beta compatible with all the Zauri.
I think it' s Beta2, tell me if i' m wrong.
If it is, as the main Feed2 it' s complete i will install only the Beta2 SDK and compile for Beta2 and Beta4.
Please, surely i will not compile anything for Beta3, as Beta3 and Beta4 are for the same Zauri,upgrade it.
I'm displeased for some packages like gpsdrive and other CVS that use the glibc-iconv integration.
Things that i can' t compile other than for Beta4.
After speaking with Sashz to sinchro with him and tested the packages on my SL-C 3100, i will put all online.
BYEZ!  
Title: Gpe Pim Apps
Post by: karlto on May 24, 2006, 03:50:53 pm
Quote
Right Karl, as the Beta4 Feed completion took me 12 hours!! And i have to compile the GPE-PIMS manually, i would like to know from you what is the latest Beta compatible with all the Zauri.
I think it' s Beta2, tell me if i' m wrong.
If it is, as the main Feed2 it' s complete i will install only the Beta2 SDK and compile for Beta2 and Beta4.
Please, surely i will not compile anything for Beta3, as Beta3 and Beta4 are for the same Zauri,upgrade it.
I'm displeased for some packages like gpsdrive and other CVS that use the glibc-iconv integration.
Things that i can' t compile other than for Beta4.
After speaking with Sashz to sinchro with him and tested the packages on my SL-C 3100, i will put all online.
BYEZ! 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128275\"][{POST_SNAPBACK}][/a][/div]
Beta1 is the newest version available for (nearly) all models, but I don't think you need to keep upgrading these older packages - just don't delete them from your feed.

All the beta4 stuff seems to be happening quite quickly, and I believe sashz is on to the C760/C860 which is very similar architecture - it can't be far away now!
Title: Gpe Pim Apps
Post by: Xromer on May 25, 2006, 03:08:35 am
Quote
Quote
Right Karl, as the Beta4 Feed completion took me 12 hours!! And i have to compile the GPE-PIMS manually, i would like to know from you what is the latest Beta compatible with all the Zauri.
I think it' s Beta2, tell me if i' m wrong.
If it is, as the main Feed2 it' s complete i will install only the Beta2 SDK and compile for Beta2 and Beta4.
Please, surely i will not compile anything for Beta3, as Beta3 and Beta4 are for the same Zauri,upgrade it.
I'm displeased for some packages like gpsdrive and other CVS that use the glibc-iconv integration.
Things that i can' t compile other than for Beta4.
After speaking with Sashz to sinchro with him and tested the packages on my SL-C 3100, i will put all online.
BYEZ! 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128275\"][{POST_SNAPBACK}][/a][/div]
Beta1 is the newest version available for (nearly) all models, but I don't think you need to keep upgrading these older packages - just don't delete them from your feed.

All the beta4 stuff seems to be happening quite quickly, and I believe sashz is on to the C760/C860 which is very similar architecture - it can't be far away now!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128330\"][{POST_SNAPBACK}][/a][/div]

Ok i put 2 dirs on my feed, one is OldaBetas where i compile things for the Beta1 and for the old PdaXrom distros.
Other is Beta4.
When i finished compiling the Beta4 Builder Feed i' ll begin with the 2 GPE-PIMS dir.
BYEZ!
Title: Gpe Pim Apps
Post by: trichmon on May 25, 2006, 12:38:49 pm
Xromer will you be working anymore on the gpe-soundbite.  Its so close to working like it is supposed to.

Also thanks for spliting the feed.  I have been needing to reflash and now I can   Thanks for you all your work.

Todd
Title: Gpe Pim Apps
Post by: Xromer on May 25, 2006, 02:39:25 pm
Quote
Xromer will you be working anymore on the gpe-soundbite.  Its so close to working like it is supposed to.

Also thanks for spliting the feed.  I have been needing to reflash and now I can   Thanks for you all your work.

Todd
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128409\"][{POST_SNAPBACK}][/a][/div]

Look, now i'm finishing to take advantage from the all Configured packages of the builder, to compile them.
It' s since 11 o' clock on the morning that my PC is compiling, i think tonight will be finished.
When it' s finished the main feed, i have to begin with the GPE, now i don' t really know how the compilation will finish, as many changement on the Beta4 like glibc-iconv integration and many changements on the libevent, gpe-calendar and other GPE stuff were done.
Tomorrow the complete Feed will be online sure, for the GPE stuff, i think on Saturday evening.
I prepared the other PC, with the Env and Beta1 SDK, to compile the 2 versions.
I can tell you something after compiling the GPE PIMS.
We will see
Title: Gpe Pim Apps
Post by: Xromer on June 05, 2006, 06:52:49 pm
New GPE-PIMS for FC4 and OldBetas PdaXrom for old compatibility compiled with Beta1-Sdk.
I'm working for the Beta4 packages.
Asap on my feed.
Byez!
Title: Gpe Pim Apps
Post by: danboid on June 08, 2006, 07:16:10 am
Exciting stuff!

Looks like I'm <-> that far away from having a good PDA setup under pdaXrom- I just need to get wake on alarm working under GPE-Calendar now. I've followed all the instructions in this thread (I think) but my Z doesn't wake or make any sound on alarms BUT gpe-announce runs fine and makes a lot of noise when it does. gpe-calendar seems to be running fine too.

As you can see in my sig, I'm running pdaXromb2 on a C3000. This is what I've done so far:

* Installed latest gpe-calendar, gpe-announce (both from xromers OldBetas feed) and atd

* Followed karlto's instructions on replacing /usr/bin/at and adding a atrm command (I've kept my old at just in case) as documented here

https://www.oesf.org/forums/index.php?showtopic=17933&st=60 (https://www.oesf.org/forums/index.php?showtopic=17933&st=60)

* Made a file called alarm.conf under /home/root/.gpe which says

enable 0 (0 means ON right? I tried 1 too but it made no difference)
automatic 0
level 50

Is there anything I've missed out? This process needs to documented properly and added to meanies pdaxrom guide as well as added to the gpe-calendar website and the GPE/GPE-PIM documentation. I'm willing to help with that if required.

gpe-calendar looks like what I wanted although I was waiting to get the alarm working before properly using it. Is there any risk of the calendar data file format changing soon i.e will my calendar data work in the next stable release?

If it's not possible to get gpe-calendar to wake my Z on alarms, I hope I can use gpe-announce with jpilot to do the same thing- what would the command be in that case?

Thanks!

d.

EDIT

I just got a mail of xromer and he tells me there is no need to replace /usr/bin/at on pdaXrom.
Title: Gpe Pim Apps
Post by: Xromer on June 11, 2006, 06:49:46 am
WOOOOFFF!! Finally i did it!
New GPE-PIMS stuff it' s now ready.
I' m working on the other GPE packages.
As it' was a very big trick to make the rules-ipk files for the these packages, i don' t know if i missed something about Stripping some files or missing some dependencies list.
Logically i tested them they load and works perfectly, it' s up to you to tell me what' s wrong or can be enhance.
The test begin!!!!
Try to install the ipks automatically to see if i missed some deps please.
Files will be online ASAP.
I compiled GPSDRIVE and GFTP too.
Now all betas has it' s own GPE-PIMS stuff.
BYEZ!
Title: Gpe Pim Apps
Post by: grog on June 11, 2006, 03:52:18 pm
Quote
WOOOOFFF!! Finally i did it![div align=\"right\"][a href=\"index.php?act=findpost&pid=130740\"][{POST_SNAPBACK}][/a][/div]
GOOD SHOW! Tryin' 'em out right now under beta2. Installed gpe-calendar, gpe-contacts, gpe-todo & gpe-today from your OldBetas feed. Here's a list of what was all installed:

Code: [Select]
root@zaurus# grep Installing gpe-install.log
Installing gpe-calendar...Done.
Installing gpe-icons...Done.
Installing libeventdb...Done.
Installing libgpepimc...Done.
Installing libgpevtype...Done.
Installing libgpewidget...Done.
Installing libschedule...Done.
Installing sqlite...Done.
Installing readline...Done.
Installing gpe-contacts...Done.
Installing libcontactsdb...Done.
Installing gpe-today...Done.
Installing gpe-todo...Done.
Installing libtododb...Done.
First off I try to run run gpe-calendar:

Code: [Select]
root@zaurus# gpe-calendar
gpe-calendar: error while loading shared libraries: libmimedir-0.4.so.0: cannot open shared object file: No such file or directory
So I install libmimedir. Then:

Code: [Select]
root@zaurus# gpe-calendar
gpe-calendar: error while loading shared libraries: libhandoff.so.0: cannot open shared object file: No such file or directory
But there's no package (that I can find) that includes that library.

So on to gpe-contacts:

Code: [Select]
root@zaurus# gpe-contacts
gpe-contacts: error while loading shared libraries: libsqlite.so.0: cannot open shared object file: No such file or directory
So I tried:

Code: [Select]
root@zaurus# ln -s /mnt/user//usr/lib/libsqlite3.so /usr/lib/libsqlite.so.0Which led me to:

Code: [Select]
root@zaurus# gpe-contacts
gpe-contacts: relocation error: /usr/lib/libgpepimc.so.0: undefined symbol: sqlite_open
So that obviously was wrong.  

I also tried these:

Code: [Select]
root@zaurus# gpe-today
gpe-today: error while loading shared libraries: libeventdb.so.0: cannot open shared object file: No such file or directory
[Sun Jun 11 14:49:34][~]
root@zaurus# gpe-todo
gpe-todo: relocation error: /usr/lib/libtododb.so.0: undefined symbol: sqlite_open

Not having much luck  
Advice
Title: Gpe Pim Apps
Post by: Xromer on June 11, 2006, 04:59:41 pm
Quote
Quote
WOOOOFFF!! Finally i did it![div align=\"right\"][a href=\"index.php?act=findpost&pid=130740\"][{POST_SNAPBACK}][/a][/div]
GOOD SHOW! Tryin' 'em out right now under beta2. Installed gpe-calendar, gpe-contacts, gpe-todo & gpe-today from your OldBetas feed. Here's a list of what was all installed:

Code: [Select]
root@zaurus# grep Installing gpe-install.log
Installing gpe-calendar...Done.
Installing gpe-icons...Done.
Installing libeventdb...Done.
Installing libgpepimc...Done.
Installing libgpevtype...Done.
Installing libgpewidget...Done.
Installing libschedule...Done.
Installing sqlite...Done.
Installing readline...Done.
Installing gpe-contacts...Done.
Installing libcontactsdb...Done.
Installing gpe-today...Done.
Installing gpe-todo...Done.
Installing libtododb...Done.
First off I try to run run gpe-calendar:

Code: [Select]
root@zaurus# gpe-calendar
gpe-calendar: error while loading shared libraries: libmimedir-0.4.so.0: cannot open shared object file: No such file or directory
So I install libmimedir. Then:

Code: [Select]
root@zaurus# gpe-calendar
gpe-calendar: error while loading shared libraries: libhandoff.so.0: cannot open shared object file: No such file or directory
But there's no package (that I can find) that includes that library.

So on to gpe-contacts:

Code: [Select]
root@zaurus# gpe-contacts
gpe-contacts: error while loading shared libraries: libsqlite.so.0: cannot open shared object file: No such file or directory
So I tried:

Code: [Select]
root@zaurus# ln -s /mnt/user//usr/lib/libsqlite3.so /usr/lib/libsqlite.so.0Which led me to:

Code: [Select]
root@zaurus# gpe-contacts
gpe-contacts: relocation error: /usr/lib/libgpepimc.so.0: undefined symbol: sqlite_open
So that obviously was wrong.  

I also tried these:

Code: [Select]
root@zaurus# gpe-today
gpe-today: error while loading shared libraries: libeventdb.so.0: cannot open shared object file: No such file or directory
[Sun Jun 11 14:49:34][~]
root@zaurus# gpe-todo
gpe-todo: relocation error: /usr/lib/libtododb.so.0: undefined symbol: sqlite_open

Not having much luck  
Advice
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130764\"][{POST_SNAPBACK}][/a][/div]

1) Well, install only the new packages from the new OldBetas feed.
 You will see that i deleted some packages that do not work with the new libraries.
2) Gpe-today it' s one of the utilities based on the old libeventdb.so.0 as the new packages are all based on the new libeventdb.so.1, so it doesn' t work but as we are not using GPE desktop we don' t need it.
WE stands for PdaXrom users.
Beside this, the new gpe-calendar has an Event list on the right side so Today will be only an accessory.
3) You have installed the old libimimedir remove it and install the old one.
4) All the GPE-PIMS are based on the old Sqlite2 version, you have  to install the sqlite_2.8.17_armv5tel.ipk package from my feed, that will be a side the Sqlite Ver. 3 wihout problems as the Ver. 3 has the 3 prefix a front of all the Bins and LIbs.

That' s it.
Tell me about progress with the installation.
Please, for the all people that can upgrade to Beta4, do it because i have only the Builder 4 installed and Beta4 feed compiled.
Some programs needs the complete feed to compile, having to install the Builder of the Beta1 and compile all the feed takes too much time and i don't have it now :-(
 
BYEZ!
Title: Gpe Pim Apps
Post by: karlto on June 11, 2006, 06:47:50 pm
Quote
Exciting stuff!

Looks like I'm <-> that far away from having a good PDA setup under pdaXrom- I just need to get wake on alarm working under GPE-Calendar now. I've followed all the instructions in this thread (I think) but my Z doesn't wake or make any sound on alarms BUT gpe-announce runs fine and makes a lot of noise when it does. gpe-calendar seems to be running fine too.

As you can see in my sig, I'm running pdaXromb2 on a C3000. This is what I've done so far:

* Installed latest gpe-calendar, gpe-announce (both from xromers OldBetas feed) and atd

* Followed karlto's instructions on replacing /usr/bin/at and adding a atrm command (I've kept my old at just in case) as documented here

https://www.oesf.org/forums/index.php?showtopic=17933&st=60 (https://www.oesf.org/forums/index.php?showtopic=17933&st=60)

* Made a file called alarm.conf under /home/root/.gpe which says

enable 0 (0 means ON right? I tried 1 too but it made no difference)
automatic 0
level 50

Is there anything I've missed out? This process needs to documented properly and added to meanies pdaxrom guide as well as added to the gpe-calendar website and the GPE/GPE-PIM documentation. I'm willing to help with that if required.

gpe-calendar looks like what I wanted although I was waiting to get the alarm working before properly using it. Is there any risk of the calendar data file format changing soon i.e will my calendar data work in the next stable release?

If it's not possible to get gpe-calendar to wake my Z on alarms, I hope I can use gpe-announce with jpilot to do the same thing- what would the command be in that case?

Thanks!

d.

EDIT

I just got a mail of xromer and he tells me there is no need to replace /usr/bin/at on pdaXrom.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130387\"][{POST_SNAPBACK}][/a][/div]
Hi danboid

Xromer fixed the gpe stuff in later versions to work with the pdaXrom version of at - doesn't matter if you changed it though, as it won't hurt anything.

It sounds like atd is not working - after setting an alarm, check the files in '/var/spool/at' to see what gpe-calendar has created. pdaXrom at is very basic, all it does is create a script in '/var/spool/at' directory that is executable, called <unixtime>.<jobid> where <unixtime> is the time to run the script (in seconds since 1970). Then 'echo >/var/spool/at/trigger', and it will be executed at the specified time.

Also try running something else with at (anything), and check that this wakes the Zaurus. Do you have atd running?

Karl
Title: Gpe Pim Apps
Post by: Xromer on June 13, 2006, 04:36:29 am
Guys new packages of GPE for Beta4 are now online, try them please.
I compiled:
gftp_2.0.18-1_armv5tel.ipk
gpe-announce_0.13.060606-1_armv5tel.ipk
gpe-calendar_0.72.060606-1_armv5tel.ipk
gpe-contacts_0.44.060606-1_armv5tel.ipk
gpe-edit_0.30.100606-1_armv5tel.ipk
gpe-filemanager_0.25.060606-1_armv5tel.ipk
gpe-gallery_0.97.100606-1_armv5tel.ipk
gpe-icons_0.25.060606-1_armv5tel.ipk
gpe-mileage_0.1.100606-1_armv5tel.ipk
gpe-screenshot_0.4.100606-1_armv5tel.ipk
gpe-timesheet_0.30.100606-1_armv5tel.ipk
gpe-todo_0.55.060606-1_armv5tel.ipk
gpsdrive_2.10pre2-1_armv5tel.ipk
gstreamer_0.8.12-1_armv5tel.ipk
libcontactsdb_0.3.060606-1_armv5tel.ipk
libdisplaymigration_0.99.100606-1_armv5tel.ipk
libeventdb_0.30.060606-1_armv5tel.ipk
libgpepimc_0.7.060606-1_armv5tel.ipk
libgpevtype_0.17.060606-1_armv5tel.ipk
libgpewidget_0.112.060606-1_armv5tel.ipk
libhandoff_0.01.060606-1_armv5tel.ipk
libmimedir_0.4.0-1_armv5tel.ipk
libschedule_0.16.060606-1_armv5tel.ipk
libsoundgen_0.3.060606-1_armv5tel.ipk
libsoup_2.2.93-1_armv5tel.ipk
libtododb_0.10.060606-1_armv5tel.ipk
libxsettings-client_0.17.060606-1_armv5tel.ipk
sqlite2_2.8.13_armv5tel.ipk

Gpe-calendar, gpe-contacts always suffer from the segfault when importing.
I tried to debug them with the GPE guys as i' m a beginner in this field and we saw that the problem is in the combo box spawn for the gtk_file_multiple_select, the function tries the get memory out of the utility range.
Now either the FC4 than Zauri ATD should work normally, i tried the FC4 and it works great, we have to try the Zauri.
GPE-filemanager  i think it' s the best filemanager for the Zauri, fast with mime support i found it better then the ROX as it was designed with PDAS in mind.
I compiled the sqlite2 DB with the 2 prefix after the name this time.
So deps could have been made better.
Gpsdrive with new glibc works better, but we need to add some configuration files to make it work as mapfile.txt etc. otherwise it will segfault logically after a while not finding them.
The other uitilities work perfectly, Timesheet and screenshot are very useful.
GPE-gallery suffers about the same segfault problem of gpe-calendar and gpe-contacts but we have gqview so it' s not very needed.
In the end the most important utilities as gpe-calendar, todo, and contacts work great!
I use them on the desktop too.
The new Calendar has the possibility to set more than one Calendar at once, nice work GPE guys!
As i' m learning very much in this period on cross-compilation and Beta Builders, i ' having a lot fun!
Now the next step it' s glade programming, it would be useful to have a better and live contact than the Forum in the Cacko chat channel to improve the development.
So i f you can, come on please!
Live discussion will surely be more useful.
BYEZ!
Title: Gpe Pim Apps
Post by: ZDevil on June 15, 2006, 04:30:14 am
Just tried out the GPE pim stuff on Beta4.

GPE-todo and GPE-contacts run very well, and feel much faster than running them in Beta1.  Nice things!  

But it seems GPE-calendar is missing in the Beta4 feed, was it left out by accident or for some other reason?

GPE-filemanager can't load, in the terminal it says something like "Failed to open file /usr/share/pixmaps//blahblahblah.png : No such file or directory" Is it a mistake in the installation path? (i mean the double // )  
Also in the feed its dependency reads: libgpewidget, dbus, gtk2, glib2, gnome-vfs.
And it turned out that I had to install gconf, orbit, libbonobo to stop it crying for missing libs.

Anyway thanks for your lots of hard work, Xromer! Please keep it up. Fully functional  GPE pim stuff would be yet another reason for me (and possibly others) to stay with pdaX.  
Title: Gpe Pim Apps
Post by: Xromer on June 15, 2006, 05:26:14 am
Quote
Just tried out the GPE pim stuff on Beta4.

GPE-todo and GPE-contacts run very well, and feel much faster than running them in Beta1.  Nice things!   

But it seems GPE-calendar is missing in the Beta4 feed, was it left out by accident or for some other reason?

GPE-filemanager can't load, in the terminal it says something like "Failed to open file /usr/share/pixmaps//blahblahblah.png : No such file or directory" Is it a mistake in the installation path? (i mean the double // )   
Also in the feed its dependency reads: libgpewidget, dbus, gtk2, glib2, gnome-vfs.
And it turned out that I had to install gconf, orbit, libbonobo to stop it crying for missing libs.

Anyway thanks for your lots of hard work, Xromer! Please keep it up. Fully functional  GPE pim stuff would be yet another reason for me (and possibly others) to stay with pdaX. 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131218\"][{POST_SNAPBACK}][/a][/div]

Yes, gpe-calendar is missing take it below.
Sorry guys, as i don' t have the direct access to the mail.pdaxrom.org and PdaXrom people it' s very busy now and don' t have the time to seek all the stuff correctly.
THX to Pgas fo seeking me all the time.
For the pixpmaps i forgot to add the gpe-icons package to the dependencies list.
Install it and all problems should be solved.
 
Title: Gpe Pim Apps
Post by: ZDevil on June 15, 2006, 05:40:48 am
Thanks for the quick reply!

I tried to install your gpe-calendar package here but got these errors:  
Code: [Select]
zcat: /mnt/cf/x/gpe/gpe_calendar_0.72.060606_1_armv5tel.ipk: not in gzip format
tar: ./control.tar.gz: Not found in archive
tar: Error exit delayed from previous errors

zcat: stdin: unexpected end of file
cat: /tmp/ipkman.tmp.6798/control: No such file or directory

zcat: /mnt/cf/x/gpe/gpe_calendar_0.72.060606_1_armv5tel.ipk: not in gzip format
tar: ./control.tar.gz: Not found in archive
tar: Error exit delayed from previous errors

zcat: stdin: unexpected end of file
mv: unable to rename `//home/tmp/ipkg/gpe/control/*': No such file or directory

Finally I got gpe-filemanager to work. It's SUPERB!!!  The best file manager ever I've used in pdaX!    
The only catch is the window is streching to wide. Maximizing it in matchbox doesn't help. Perhaps others like xfce or windowmaker can do (but do they have Beta4 packages already?)
Thanks!

EDIT:
The window size issue of gpe-filemanager happened only in the first run. I launched it again and the window size is perfect. Interesting.  
BTW it seems there is no desktop icon for it, is it?
Title: Gpe Pim Apps
Post by: Xromer on June 15, 2006, 08:03:59 am
Quote
Thanks for the quick reply!

I tried to install your gpe-calendar package here but got these errors:   
Code: [Select]
zcat: /mnt/cf/x/gpe/gpe_calendar_0.72.060606_1_armv5tel.ipk: not in gzip format
tar: ./control.tar.gz: Not found in archive
tar: Error exit delayed from previous errors

zcat: stdin: unexpected end of file
cat: /tmp/ipkman.tmp.6798/control: No such file or directory

zcat: /mnt/cf/x/gpe/gpe_calendar_0.72.060606_1_armv5tel.ipk: not in gzip format
tar: ./control.tar.gz: Not found in archive
tar: Error exit delayed from previous errors

zcat: stdin: unexpected end of file
mv: unable to rename `//home/tmp/ipkg/gpe/control/*': No such file or directory

Finally I got gpe-filemanager to work. It's SUPERB!!!  The best file manager ever I've used in pdaX!   
The only catch is the window is streching to wide. Maximizing it in matchbox doesn't help. Perhaps others like xfce or windowmaker can do (but do they have Beta4 packages already?)
Thanks!

EDIT:
The window size issue of gpe-filemanager happened only in the first run. I launched it again and the window size is perfect. Interesting. 
BTW it seems there is no desktop icon for it, is it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131226\"][{POST_SNAPBACK}][/a][/div]

Yes it' s another fixed forgotten by me, sorry!
Just change the gpe-filemanager.desktop file in this lines:
Name=_File Manager to Name=File Manager
Comment=_GPE File Manager to Comment=GPE File Manager
in the  /usr/share/applications dir.
No underscore should be before any of the .desktop files fileds like the other above.
This is true for all the other GPE Utilities.
This is a bug due to a problems that i had in compilation work, as to change the file from gpe-filemanager.desktop.in to gpe-filemanager.desktop the make file doesn' t generate the right utility.
Tell me all other bugs you encounter, your test it' s really appreciated and i' m glad the you like this filemanager like me, yes it' s fabolous.
BYEZ!
Title: Gpe Pim Apps
Post by: Drake01 on June 16, 2006, 12:20:37 am
Quote
Looks like I'm <-> that far away from having a good PDA setup under pdaXrom- I just need to get wake on alarm working under GPE-Calendar now. I've followed all the instructions in this thread (I think) but my Z doesn't wake or make any sound on alarms BUT gpe-announce runs fine and makes a lot of noise when it does. gpe-calendar seems to be running fine too.
Interesting.  I don't seem to have any problems with my Z waking up, but I don't get any sound.  Did you have to do anything to get the sound working?  My Z will wake up and the alarm window will pop, but because it doesn't make any noise, I may not notice it for hours.  This makes the alarm far less useful to me.

If I try gpe-announce from the command line, I get the messages:

error opening /dev/dsp: Device or resource busy
Couldn't init soundgen

Any ideas what might be causing this?  Xmms works fine.

I'm running beta4 on a C1000 with the latest versions of Xromer's gpe stuff (with the exception of gpe-calendar, which isn't yet on the feed and which appears to be corrupt in Xromer's posting).
Title: Gpe Pim Apps
Post by: karlto on June 16, 2006, 12:30:11 am
Quote
Quote
Looks like I'm <-> that far away from having a good PDA setup under pdaXrom- I just need to get wake on alarm working under GPE-Calendar now. I've followed all the instructions in this thread (I think) but my Z doesn't wake or make any sound on alarms BUT gpe-announce runs fine and makes a lot of noise when it does. gpe-calendar seems to be running fine too.
Interesting.  I don't seem to have any problems with my Z waking up, but I don't get any sound.  Did you have to do anything to get the sound working?  My Z will wake up and the alarm window will pop, but because it doesn't make any noise, I may not notice it for hours.  This makes the alarm far less useful to me.

If I try gpe-announce from the command line, I get the messages:

error opening /dev/dsp: Device or resource busy
Couldn't init soundgen

Any ideas what might be causing this?  Xmms works fine.

I'm running beta4 on a C1000 with the latest versions of Xromer's gpe stuff (with the exception of gpe-calendar, which isn't yet on the feed and which appears to be corrupt in Xromer's posting).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131357\"][{POST_SNAPBACK}][/a][/div]
If you look back through this topic (yeah right  ), there was a similar issue with the first version, which related to trying to use the raw sound device instead of working through the esound daemon (which had the raw device locked).

@Xromer, have you re-introduced this problem in the beta4 compilation? Maybe through using newer gpe sources?

@Drake01, if I recall Xromer fixed it pretty quickly before and he's always watching these forums, so I expect the fix won't be far away!
Title: Gpe Pim Apps
Post by: Xromer on June 18, 2006, 02:29:29 pm
 
THX Karlito, try them guys!
See what' s going on with announce more deep.
BYEZ!

Note: If you have problems with announce, remember to unload the volume applet from the panel.
This because it takes the /dev/dsp busy and makes it refuse any other connection.
This was last time what happened to me.
Title: Gpe Pim Apps
Post by: ZDevil on June 19, 2006, 08:52:12 am
Thanks again, Xromer. Please keep up the good work.  

gpe-filemanager runs without any issue (so far). Nice work.
gpe-calendar can install, but it reports missing libhandoff.so.0. Any hint?
Title: Gpe Pim Apps
Post by: Xromer on June 19, 2006, 03:02:00 pm
Quote
Thanks again, Xromer. Please keep up the good work.   

gpe-filemanager runs without any issue (so far). Nice work.
gpe-calendar can install, but it reports missing libhandoff.so.0. Any hint?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131830\"][{POST_SNAPBACK}][/a][/div]

Offcourse, you have to install the libhandoff package on my feed.
:-)
Title: Gpe Pim Apps
Post by: ZDevil on June 20, 2006, 05:03:44 am
Quote
Quote
Thanks again, Xromer. Please keep up the good work.   

gpe-filemanager runs without any issue (so far). Nice work.
gpe-calendar can install, but it reports missing libhandoff.so.0. Any hint?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131830\"][{POST_SNAPBACK}][/a][/div]

Offcourse, you have to install the libhandoff package on my feed.
:-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131871\"][{POST_SNAPBACK}][/a][/div]

Okay. Now this Beta4 version of gpe-calendar actually looks for libhandoff, libsoup (both in your feed), and libgnutls (not found in the feeds)... So can't try it out yet.  
Title: Gpe Pim Apps
Post by: Xromer on June 20, 2006, 09:57:35 am
Quote
Quote
Quote
Thanks again, Xromer. Please keep up the good work.   

gpe-filemanager runs without any issue (so far). Nice work.
gpe-calendar can install, but it reports missing libhandoff.so.0. Any hint?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131830\"][{POST_SNAPBACK}][/a][/div]

Offcourse, you have to install the libhandoff package on my feed.
:-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131871\"][{POST_SNAPBACK}][/a][/div]

Okay. Now this Beta4 version of gpe-calendar actually looks for libhandoff, libsoup (both in your feed), and libgnutls (not found in the feeds)... So can't try it out yet.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=131964\"][{POST_SNAPBACK}][/a][/div]

What' s not in my feed it' s in the main of beta4, this for a disk space reason obviously and to not repeat what Sashz has just done.
Point the two feeds (main and mine) in the ipkg.conf and all should work, if not tell me because maybe i did deps errors in the packages.
BYEZ!
Title: Gpe Pim Apps
Post by: ZDevil on June 20, 2006, 10:04:20 am
Well, libgnutls is not found in the Beta1 and Beta4 feeds. So...  
Title: Gpe Pim Apps
Post by: Xromer on June 20, 2006, 10:58:07 am
Quote
Well, libgnutls is not found in the Beta1 and Beta4 feeds. So... 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132025\"][{POST_SNAPBACK}][/a][/div]

HIHIHIHI!!! Package name is gnutls.  
Title: Gpe Pim Apps
Post by: ZDevil on June 20, 2006, 04:51:13 pm
Okay, finally got gpe-calendar to run.

Coz i installed the apps offline (don't have connection fixed yet), i need to add things manually. For those who are in the same situation, here are the lib you have to install, on top of those in Xromer's contrib feed:

libsoup
libhandoff
libgnutls
libgcrypt
libgpg-error

All these can be found in the current Beta4 feed.  

Some initial results:
Looks quite some new goodies in this version. The view is differernt and richer. Nice.
Found segfaults when: 1) Import; 2) Edit "My Calendar" in the Calendars window. (Interesting that I can set up a new personal calendar but the stock "My Calendar" cannot be deleted or edited. Those who have tried will know what I am talking about.    )
 
Will try the alarm soon.

Overall this version is more polished and good-looking, although the load time seems longer than the older version. But still it's just a matter of 2 or 3 seconds. No big issue.

I'm going on a trip for a week tomorrow. Let me take the GPE pim on the road and see how they fare.  
Title: Gpe Pim Apps
Post by: Xromer on June 21, 2006, 05:14:24 am
Quote
Okay, finally got gpe-calendar to run.

Coz i installed the apps offline (don't have connection fixed yet), i need to add things manually. For those who are in the same situation, here are the lib you have to install, on top of those in Xromer's contrib feed:

libsoup
libhandoff
libgnutls
libgcrypt
libgpg-error

All these can be found in the current Beta4 feed.   

Some initial results:
Looks quite some new goodies in this version. The view is differernt and richer. Nice.
Found segfaults when: 1) Import; 2) Edit "My Calendar" in the Calendars window. (Interesting that I can set up a new personal calendar but the stock "My Calendar" cannot be deleted or edited. Those who have tried will know what I am talking about.    )
 
Will try the alarm soon.

Overall this version is more polished and good-looking, although the load time seems longer than the older version. But still it's just a matter of 2 or 3 seconds. No big issue.

I'm going on a trip for a week tomorrow. Let me take the GPE pim on the road and see how they fare.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=132089\"][{POST_SNAPBACK}][/a][/div]

Well, i note these segfaults too, no way to correct as they are not errors, they are problems due to the different version of GTK+ used by the 2 distros.
Everytime the functions gtk_file_selection_set_select_multiple is called to spawn the file selection window, the Zauri tries to get an invalid memory address as i debugged with the help of neal
Infact, if you note, all other functions that use the same libraries in the 2 distros work perfectly.
However, do not worry, sure now Sashz with the new team will upgrade all the packages.
Then the problems will be solved.
 
Byez!
Title: Gpe Pim Apps
Post by: skot on July 02, 2006, 08:00:54 pm
I've gotten everything to work - except calendar.

I still get the error that gpe-calendar is looking for shared library: libgnutls.so.12

I downloaded the package named gnutls from Xromer's feed - but I still get the error!

Where did you find the libgnutls package that makes your calendar happy?

Thanks!
Title: Gpe Pim Apps
Post by: Xromer on July 06, 2006, 02:38:03 pm
Quote
I've gotten everything to work - except calendar.

I still get the error that gpe-calendar is looking for shared library: libgnutls.so.12

I downloaded the package named gnutls from Xromer's feed - but I still get the error!

Where did you find the libgnutls package that makes your calendar happy?

Thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=133701\"][{POST_SNAPBACK}][/a][/div]

Uhm......! It' s strange, please see that the files of the package gnutls are linked in your main /usr/lib dir.
Or simply run ipkg-link add gnutls.
If error occours the same, tell me and i will look at the gnutls package if there' s something wrong.
BYEZ!
Title: Gpe Pim Apps
Post by: scheck.r on July 06, 2006, 05:23:54 pm
Quote
Quote
I've gotten everything to work - except calendar.

I still get the error that gpe-calendar is looking for shared library: libgnutls.so.12

I downloaded the package named gnutls from Xromer's feed - but I still get the error!

Where did you find the libgnutls package that makes your calendar happy?

Thanks!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=133701\")

Uhm......! It' s strange, please see that the files of the package gnutls are linked in your main /usr/lib dir.
Or simply run ipkg-link add gnutls.
If error occours the same, tell me and i will look at the gnutls package if there' s something wrong.
BYEZ!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134161\"][{POST_SNAPBACK}][/a][/div]

Skot started another thread on that problem and it is solved see [a href=\"https://www.oesf.org/forums/index.php?showtopic=20289]https://www.oesf.org/forums/index.php?showtopic=20289[/url]
Title: Gpe Pim Apps
Post by: phunkhy on August 11, 2006, 05:14:55 am
Quote
I finally spent the evening setting up and trying out the cross compiler.  The end result is gpesyncd.  This is the pda side of the gpe sync solution.  From what i understand you can only use this with opensync, which was not hard to build and setup. 

If you want to give this a try this is what worked for me (at least well enough to sync evolution and gpe on my 6000.  You need a file in .gpe called gpesyncd.allow.  All it need to have in it is the ip address of the machines allowed to sync.  For example mine just says 192.168.129.1.  Then you need to run gpesynd from the command line with the -D switch to start it in Daemon mode. 

gpesyncd -D

you will see a message about it starting up on such and such a port.

On the pc side you have to setup libopensync, the gpe plugin and what every other plugin you need. 

Excellent work. Everything works out fine except that nsqld is missing. Without it there is no sync with the multisync gpe plugin. The plugin is trying to run nslqd on the Z (via ssh I guess).

I am trying to setup synchronisation (ubuntu dapper) multisync <-> zaurus (pdaXrom gpe apps OldBetas). I'm failing because I am missing nsqld. I tried the ipk for OZ but of cause it did not work. Could you, trich, please provide an updated version of your gpesyncd.tar.gz which includes nsqld. I think it is the last missing thing for me.

Probably it would be better to set up a new gpe-sync thread. I could do that and I would write a comprehensive HOWTO.

Cheers

Olaf
Title: Gpe Pim Apps
Post by: trichmon on August 14, 2006, 12:15:48 am
Sorry it took me time to reply.  I have had to leave my Z by the wayside to use my treo 700w for work.  I have to be able to sync with outlook (or at least exchange or syncml).  Im not sure where i got the file you are looking for.  I will dig through my backups and see if I can find it someplace.  If I can be of any help let me know.

Todd
Title: Gpe Pim Apps
Post by: Dobby on August 21, 2006, 05:47:19 pm
I'm a little confused. What does the GPE prefix mean with regards to these apps? I thought GPE was the WM on OpenZaurus so what's it doing on pdaXrom? Doesn't it mean something else? Will I need some other libraries or WM?

That actually prompts another question I had. When trying different WMs some of the apps didn't render correctly with the new WM and kinda looked like the old. Is this like Visual Styles in Windows i.e. if you've not specifically written it to a certain standard it'll be hard coded to that particular WM?

Forgive my ignorance but it's a bit of a mine field with the Z.
Title: Gpe Pim Apps
Post by: karlto on August 21, 2006, 05:55:09 pm
Quote
I'm a little confused. What does the GPE prefix mean with regards to these apps? I thought GPE was the WM on OpenZaurus so what's it doing on pdaXrom? Doesn't it mean something else? Will I need some other libraries or WM?

That actually prompts another question I had. When trying different WMs some of the apps didn't render correctly with the new WM and kinda looked like the old. Is this like Visual Styles in Windows i.e. if you've not specifically written it to a certain standard it'll be hard coded to that particular WM?

Forgive my ignorance but it's a bit of a mine field with the Z.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139327\"][{POST_SNAPBACK}][/a][/div]
They work fine under pdaXrom as compiled in these feeds (mainly Xromer's one). You are correct about the origins of the apps - they are recompiled for pdaXrom, but same apps so they keep the same names.

Because there are a number of toolkits, widget sets etc under X (gtk, gtk2, qt, etc) there are always a lot of different styles and themes. Some apps shortcut this and simply provide their own hard coded styles, whereas others will support multiple toolkits and use the best available depending on what you have installed. I guess it is similar to the Windows analogy - it all depends on whether each program actually uses what is provided or use their own....
Title: Gpe Pim Apps
Post by: Dobby on August 21, 2006, 06:08:29 pm
Ok that helps a great deal. Thanks for the quick response.
Title: Gpe Pim Apps
Post by: phunkhy on August 22, 2006, 04:57:39 am
I basicallly have synchronization GPE on pdaXrom <-> evolution working. I found the missing nsqld. The contacts don't sync because of database issues. Appointments and tasks are working fine except some minor issues. Tasks don't sync their status, for instance. But I keep on trying.

I had to take nsqld from this site: http://wing.nagaokauniv.ac.jp/wiki/index.php?files (http://wing.nagaokauniv.ac.jp/wiki/index.php?files)
Title: Gpe Pim Apps
Post by: karlto on August 31, 2006, 03:49:08 pm
I just updated (yes, I'm very much behind) to the latest version of gpe-calendar etc as in Xromer's feed. The calendar is certainly much nicer, but now the alarms aren't working again! at isn't being called - a file is created in /var/spool/at, but it isn't complete (much like the initial problems with earlier versions).

Does anyone else have alarms working on an SL6000 with the latest versions?
Title: Gpe Pim Apps
Post by: Antikx on September 22, 2006, 09:47:33 pm
I'm trying to get the gpe-pim apps working under pdaxrom Beta3. I've installed gpe-calendar and all of the dependencies that it installed automagically and asked for at run time. But when I try to run gpe-calendar it gives the error:
"error while loading shared libraries: libsqlite.so.0 can not open shared object file: no such file or directory"
Anyone have advice? grog?
Title: Gpe Pim Apps
Post by: karlto on September 22, 2006, 10:16:27 pm
Quote
I'm trying to get the gpe-pim apps working under pdaxrom Beta3. I've installed gpe-calendar and all of the dependencies that it installed automagically and asked for at run time. But when I try to run gpe-calendar it gives the error:
"error while loading shared libraries: libsqlite.so.0 can not open shared object file: no such file or directory"
Anyone have advice? grog?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142091\"][{POST_SNAPBACK}][/a][/div]
I think there are a couple of different versions of the sqlite package floating around and you need to get the correct one for gpe apps to work - they may even install side by side, but you'll definitely need the one from Xromer's feed.
Title: Gpe Pim Apps
Post by: Antikx on September 22, 2006, 11:40:38 pm
thanks for the quick reply.
ya. I installed the one from the oldbetas feed initially.
I tried installing the one from the beta4 feed after I got this problem, but it didn't help.
Title: Gpe Pim Apps
Post by: adf on September 23, 2006, 01:25:33 am
I linked one that was alrewdy installed...... now it segfaults.  somebody have the right sqlite package?
Title: Gpe Pim Apps
Post by: Antikx on September 23, 2006, 02:06:55 pm
I linked the wrong lib file.
When I typed this:
Code: [Select]
ln -s /usr/lib/libsqlite.so /usr/lib/libsqlite.so.0Now it works.
Title: Gpe Pim Apps
Post by: adf on September 23, 2006, 05:22:41 pm
Quote
I linked the wrong lib file.
When I typed this:
Code: [Select]
ln -s /usr/lib/libsqlite.so /usr/lib/libsqlite.so.0Now it works.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142127\"][{POST_SNAPBACK}][/a][/div]
i only have libsqlite3.so ... no plain libsqlite.. I think maybe I need a different version
Title: Gpe Pim Apps
Post by: Antikx on September 23, 2006, 05:37:45 pm
Quote
Quote
I linked the wrong lib file.
When I typed this:
Code: [Select]
ln -s /usr/lib/libsqlite.so /usr/lib/libsqlite.so.0Now it works.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142127\"][{POST_SNAPBACK}][/a][/div]
i only have libsqlite3.so ... no plain libsqlite.. I think maybe I need a different version
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142133\"][{POST_SNAPBACK}][/a][/div]
Did you try the one from the oldbetas folder?
Title: Gpe Pim Apps
Post by: adf on September 23, 2006, 05:44:08 pm
Quote
Quote
Quote
I linked the wrong lib file.
When I typed this:
Code: [Select]
ln -s /usr/lib/libsqlite.so /usr/lib/libsqlite.so.0Now it works.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142127\"][{POST_SNAPBACK}][/a][/div]
i only have libsqlite3.so ... no plain libsqlite.. I think maybe I need a different version
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142133\"][{POST_SNAPBACK}][/a][/div]
Did you try the one from the oldbetas folder?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142135\"][{POST_SNAPBACK}][/a][/div]
Honestly I don't remember... probably not, though, since I added Xromer's feed pretty late in my setup.  I'll mess with it a little and see
Title: Gpe Pim Apps
Post by: Antikx on September 25, 2006, 07:10:36 pm
I've done an:
Code: [Select]
ipgk install atd...because the alarm wasn't going off.
Now my pdaxrom beta 3 exhibits the tiresome power on -> screen flickers -> power off (on it's own).

My alarms go off now (without sound) if gpe-calendar is running in the background.

Questions:
#1: Is there an atd (that works with gpe-calendar) that doesn't cause this anoying power off issue?
#2: Sound was working in gpe-calendar but now is not. any clues?

thanks.
Title: Gpe Pim Apps
Post by: karlto on September 25, 2006, 07:34:08 pm
Quote
I've done an:
Code: [Select]
ipgk install atd...because the alarm wasn't going off.
Now my pdaxrom beta 3 exhibits the tiresome power on -> screen flickers -> power off (on it's own).

My alarms go off now (without sound) if gpe-calendar is running in the background.

Questions:
#1: Is there an atd (that works with gpe-calendar) that doesn't cause this anoying power off issue?
#2: Sound was working in gpe-calendar but now is not. any clues?

thanks.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142291\"][{POST_SNAPBACK}][/a][/div]
1) I have never experienced issues with atd itself. The latest gpe-calendar seems to be broken (see above), but that's not related to this either. The only thing I can think of that would cause your problem would be any old apm scripts that are fighting with atd (e.g. with atd running sltime doesn't work because it can't access the rtc - check /etc/apm/ stuff)

Have you got a backup of the working gpe-calendar version? The new one is nicer, but without working alarms...

2) Sound is the domain of gpe-announce, which is only involved when using atd for alarms. The latest gpe-calendar has its own little inbuilt notification which doesn't seem to use sound at all (and as you've noticed, only works when gpe-calendar is running)
Title: Gpe Pim Apps
Post by: Antikx on September 26, 2006, 08:14:59 am
Quote
1) I have never experienced issues with atd itself. The latest gpe-calendar seems to be broken (see above), but that's not related to this either. The only thing I can think of that would cause your problem would be any old apm scripts that are fighting with atd (e.g. with atd running sltime doesn't work because it can't access the rtc - check /etc/apm/ stuff)

Have you got a backup of the working gpe-calendar version? The new one is nicer, but without working alarms...

2) Sound is the domain of gpe-announce, which is only involved when using atd for alarms. The latest gpe-calendar has its own little inbuilt notification which doesn't seem to use sound at all (and as you've noticed, only works when gpe-calendar is running)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142294\"][{POST_SNAPBACK}][/a][/div]

Thanks for the reply.

#1
Code: [Select]
ls -R /etc/apm

/etc/apm/resume.d:
100carfctl  110hwclock  110openbox

/etc/apm/scripts.d:
cardctl  hwclock  openbox  smbfs  template

/etc/apm/suspend.d:
110hwclock  500smbfs  900cardctl  910openbox

/etc/apm/wakeup.d:
readme
I'm new to working with apm, so please let me know if the above looks ok.

I installed gpe-calendar from the oldbeta's folder. Is this the one you speak of (without working alarms) or are you talking about the beta4 folder? Or are you saying that there are olfer copies (that have since been removed from the contrib feed) that have alarms working? Sorry I'm a little confused.
Title: Gpe Pim Apps
Post by: karlto on September 26, 2006, 03:39:16 pm
Quote
Thanks for the reply.

#1
Code: [Select]
ls -R /etc/apm

/etc/apm/resume.d:
100carfctl  110hwclock  110openbox

/etc/apm/scripts.d:
cardctl  hwclock  openbox  smbfs  template

/etc/apm/suspend.d:
110hwclock  500smbfs  900cardctl  910openbox

/etc/apm/wakeup.d:
readme
I'm new to working with apm, so please let me know if the above looks ok.

I installed gpe-calendar from the oldbeta's folder. Is this the one you speak of (without working alarms) or are you talking about the beta4 folder? Or are you saying that there are olfer copies (that have since been removed from the contrib feed) that have alarms working? Sorry I'm a little confused.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142341\"][{POST_SNAPBACK}][/a][/div]
As far as the working alarms go - do they? Mine don't, but I have just realised that it could be the changes I made to the 'at' script, so that might be my fault...

Suspend problems - earlier versions of pdaXrom (or some hardware versions?) had problems resuming from suspend with the time being wrong which stuffed everything up - when apm and atd are heavily time-reliant, we see why. I've never had a problem on my SL6000 though, so I don't use any of those fixes. Try one of two things:

1) Remove the 110hwclock (just make /etc/apm/scripts/hwclock not executable) so it doesn't try to set the time on suspend and resume - it can't because atd has the clock locked.

2) If the above doesn't work or your clock is suddenly wrong, try adding another script to stop atd on suspend and start it on resume. Have a look at the other scripts for an idea on how to do this (they're pretty basic).
Title: Gpe Pim Apps
Post by: Antikx on September 27, 2006, 08:32:09 am
Quote
As far as the working alarms go - do they? Mine don't, but I have just realised that it could be the changes I made to the 'at' script, so that might be my fault...

Suspend problems - earlier versions of pdaXrom (or some hardware versions?) had problems resuming from suspend with the time being wrong which stuffed everything up - when apm and atd are heavily time-reliant, we see why. I've never had a problem on my SL6000 though, so I don't use any of those fixes. Try one of two things:

1) Remove the 110hwclock (just make /etc/apm/scripts/hwclock not executable) so it doesn't try to set the time on suspend and resume - it can't because atd has the clock locked.

2) If the above doesn't work or your clock is suddenly wrong, try adding another script to stop atd on suspend and start it on resume. Have a look at the other scripts for an idea on how to do this (they're pretty basic).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142386\"][{POST_SNAPBACK}][/a][/div]
Before I read your post, I did a NAND restore, because uninstalling atd didn't help.

Do you have a copy of the at script before you edited it?
I'll consider trying your suggestion if you don't have a copy.
I may just have to be content without alarms.

Man... IMO pdaXrom needs a speedy PIM suite with working alarms (right out of the box), like Sharp, Cacko, and OZ. Just my 2 cents.
Title: Gpe Pim Apps
Post by: karlto on September 27, 2006, 03:46:38 pm
Quote
Before I read your post, I did a NAND restore, because uninstalling atd didn't help.

Do you have a copy of the at script before you edited it?
I'll consider trying your suggestion if you don't have a copy.
I may just have to be content without alarms.

Man... IMO pdaXrom needs a speedy PIM suite with working alarms (right out of the box), like Sharp, Cacko, and OZ. Just my 2 cents.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142453\"][{POST_SNAPBACK}][/a][/div]
My suggestions above are just an attempt to stop your suspend/resume problem.

The at script before I edited it is the default one that comes in the atd package (it's not a real program in the stripped down version, just a script to put files in the right directory). It turns out this isn't the problem anyway; gpe-calendar is definitely at fault as it doesn't even call at directly any more! It gets 99% of the way there, so I'm working on a script to wrap gpe-calendar - it just cleans up the atd spool files each time the calendar is closed (almost works, and guarantee I'll get it right soon).

If you wanted to go back to kopi (I don't, it's too slow) I believe there is a package in one of the contrib feeds that does a similar thing with atd scripts. I figure I may as well do the same thing with gpe-calendar as it'll be plenty reliable enough.

If we could convince Xromer to jump back to beta1/beta3 and recompile gpe-calendar so it works again, we would have a nice out of the box solution, as atd and gpe-calendar work nicely together. Please Xromer?
Title: Gpe Pim Apps
Post by: karlto on September 27, 2006, 06:34:04 pm
Here is my rough wrapper script:

Code: [Select]
#!/bin/sh

CALENDAR_CMD=/usr/bin/gpe-calendar
ALERT_SND=/opt/kdepim-2.2.7/kdepim/korganizer/koalarm.wav
PLAY_CMD=/usr/bin/play
PLAY_REPEAT=3
REPEAT_PAUSE=3
AT_SPOOL=/var/spool/at
CALL_CALENDAR=$(pwd)/$0

$CALENDAR_CMD

COUNTER=1
ALERT_CMD="$PLAY_CMD $ALERT_SND"
while [ $COUNTER -lt $PLAY_REPEAT ]; do
        ALERT_CMD="$ALERT_CMD && sleep $REPEAT_PAUSE && $PLAY_CMD $ALERT_SND"
        let COUNTER=COUNTER+1
done

ATFILES=$(find $AT_SPOOL/ -name "*-0")
for FN in $ATFILES; do
        if [ -n "$(cat $FN | grep gpe-calendar)" ]; then
                AFN=$(echo $FN | awk '{ print substr($1,0,length($1)-2); }')
                echo "#!/bin/sh" > $AFN
                echo "" >> $AFN
                echo "export DISPLAY=:0" >> $AFN
                echo "$ALERT_CMD &> /dev/null &" >> $AFN
                echo "sleep 3" >> $AFN
                echo "$CALL_CALENDAR &> /dev/null &" >> $AFN
                echo "" >> $AFN
                echo 'rm -f $0' >> $AFN
                rm $FN
                chmod 755 $AFN
                echo >$AT_SPOOL/trigger
        fi
done

Just adjust the settings at top to suit yourself, and run this instead of gpe-calendar directly, and you have alarms!

What it does: runs gpe-calendar, then when finished, tidies up any atd scripts created (that are incomplete and won't work). It replaces these with ones that play a sound and open the calendar. Obviously you can change this to do something else if you prefer. Watch out as I discovered atd silently fails unless output is redirected and commands are disconnected (' &> /dev/null &' works every time).

Disclaimer: only tested with latest gpe-calendar in Xromer's feed (oldbetas), probably won't work with other versions, use at your own risk, etc. Although the worst that can happen is that alarms still don't work...  

Edit: added an extra sleep line which seems to help when running calendar on wakeup from suspend...
Title: Gpe Pim Apps
Post by: Antikx on September 28, 2006, 03:07:32 pm
cool! I'm going to do a NAND backup tnite and give it a try. thanks!
Title: Gpe Pim Apps
Post by: Antikx on September 28, 2006, 11:40:42 pm
Ya! It works! thanks!
I'm using /usr/bin/mpg123 instead of /usr/bin/play and an mp3 file instead of a wav file, but other that that I didn't change anything.

P.S. I think I fixed my time issue by using desertrat's script:
https://www.oesf.org/forums/index.php?showt...ndpost&p=137824 (https://www.oesf.org/forums/index.php?showtopic=20901&view=findpost&p=137824)
Title: Gpe Pim Apps
Post by: karlto on September 28, 2006, 11:50:22 pm
Quote
Ya! It works! thanks!
I'm using /usr/bin/mpg123 instead of /usr/bin/play and an mp3 file instead of a wav file, but other that that I didn't change anything.

P.S. I think I fixed my time issue by using desertrat's script:
https://www.oesf.org/forums/index.php?showt...ndpost&p=137824 (https://www.oesf.org/forums/index.php?showtopic=20901&view=findpost&p=137824)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142622\"][{POST_SNAPBACK}][/a][/div]
Cool - I think that desertrat's script implements one of my suggestions above - does this fix the suspend when resuming problem too?

This is why Linux suits me so well - don't even need to be able to program to fix broken apps!
Title: Gpe Pim Apps
Post by: Antikx on September 29, 2006, 10:00:10 am
Quote
Cool - I think that desertrat's script implements one of my suggestions above - does this fix the suspend when resuming problem too?

This is why Linux suits me so well - don't even need to be able to program to fix broken apps!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142623\"][{POST_SNAPBACK}][/a][/div]
I haven't experienced that suspend while resuming problem since using the script, but I've also remembered that in pdaXrom it is recommended to use (used to be the Ctrl key) home button to turn the Zaurus on, not the Power button.