OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ZDevil on October 25, 2005, 11:00:59 am

Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on October 25, 2005, 11:00:59 am
Hi, there,

As a token of thanks and my humble contribution, here are two handy apps for X, TuxCards 1.2 and Sticky Notes 1.1.5, which I compiled lately.  

Special thanks to Chero for his great teaching and advice.   Your Z home page is yet another chapter in my "Zaurus Bible" collection.    

I compiled both with pgas' "Qt-enhanced" zgcc-3.3.2.img from http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/pgas/gcc-qt/ (http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/pgas/gcc-qt/) (the current 3.4.4 seems to lack uic and moc, which are necessary for make) .  pgas, you're darn cool!    

Some notes below.

================================================================
1. TuxCards 1.2:
-- Source file here: http://www.tuxcards.de/requirements.html (http://www.tuxcards.de/requirements.html)

-- In the process of compiling, before using pgas' zgcc, make sure the qt dir is symlinked correctly, as described in https://www.oesf.org/forums/index.php?showtopic=11588&hl= (https://www.oesf.org/forums/index.php?showtopic=11588&hl=) , post #12 (thanks Chero for fishing this out).  

-- A funny story: I followed the original readme of zgcc-3.3.2 and symlink without the "qt" (as reminded by pgas later in that post).   But I could compile successfully with this funny combination of export:
Code: [Select]
# export QTDIR=/usr/local/qt/qt
# export QMAKESPEC=/usr/local/qt/qt/mkspecs/default
# export QT_LIBRARY_PATH=/usr/local/qt/lib
Why?  My funny findings:
The directory "armv5tel-cacko-linux" is in /usr/local/qt, not /usr/local/qt/qt;
The directory "gccv-lib" is in /usr/local/qt, again not in /usr/local/qt/qt;
"make" is only found in .../qt/bin, not .../qt/qt/bin;
but "moc" and "uic" are inside /usr/local/qt/qt/bin, not in /usr/local/qt/bin;

-- "install DESTDIR=... make" doesn't apply in this case.  The files still make install to the main memory anyway.  Actually I was using a foolish way to put things together by copying /usr/local/bin/tuxcards and /usr/local/doc/tuxcards/flowers/* to the data part for creating data.tar.gz.

-- Chero discovers that when this .ipk is installed in cards, all symlinks are like this: "/mnt/card//usr/local/...".   Launching it this way will get segmentation fault.  Fix this by manually re-linking the "flowers" files after installation and it runs just as fine.  Installing it to the main memory does not have this issue.

-- In case someone is looking for libGLU.so.1, install mesa3d_6.2.1-1_armv5tel.ipk and things will go fine.  

-- What's surpring to me is this compiled version opens with the proper window size, so no more drag and resize.

-- The encryption and history functions are very welcome additions indeed (kudo to the author).  Check them out.  The only minor catch is the new function buttions will force the original two neat tool bars into three and leave some empty space unused.  I tend to drag the tool bars to the sides and they sit there beautifully.    

================================================================
2. Sticky notes 1.1.5

-- Source file here: http://freshmeat.net/projects/snotes/ (http://freshmeat.net/projects/snotes/)

--  I was told that xfce has got a nice a notes-plugin.  But since I am still sticking with matchbox so I need a post-it app so badly.  Being so used to post-its I've got them everywhere: in my pockets, in my inbox, and even on my ibook (Stickies).  So why not my Z?    

-- It's compiled from the latest build (just released on 10 Oct 05).

-- The source seems not to have included a desktop icon.  I just picked one up from a pool of free icons.  Sorry for my poor taste.

-- Some tips for use:
Upon first startup there is a very tiny yellow squrare somewhere in the upper left quarter of the screen.   Alt + hold can drag it anywhere.  It will stay in the new position even after relaunching.
To start playing, simply right click (fn-tap) it.
Snotes will automatically create a dir ".snotes" under /home/root.  A great feature is all the notes are saved just as plain texts in the dir.

================================================================

I'm just a linux dummy.  So don't hesitate to point out any mistake I made here.  
I find the compiling process very fruitful and have gained some hands-on experience.  Plus doing native compilation on Z is great fun, isn't it?    

See if the packages suit your needs.   Enjoy!

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]  (which contains 4 different versions plus the documentation -- pls see my post #13 below)
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: Chero on October 26, 2005, 02:04:38 am
Hi,

32 downloads and not one reaction ?    

I'm really getting to like tuxcards 1.2.
As for sticky notes, I guess I'll stick to the notes in xfce, but it seems a great app for non-xfce-users.

Thanks,
Chero.
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: mitro on October 26, 2005, 02:23:09 am
Hello,
thanks a lot for your work. I use matchbox and I really missed an app like sticky notes. It is a must have to take notes quickly and it runs perfectly on my Z 760 / rc11.
Thanks again
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: jh on October 26, 2005, 10:46:45 am
pdaxrom rc 11 on c1k -- tuxcards segfaults but snotes works ok.  I'm tempted to look into what would be necessary to make stickynotes a matchbox applet.  That tiny icon isn't too easy to find with a picture as your background :-)

jason
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: Chero on October 26, 2005, 11:20:21 am
Quote
pdaxrom rc 11 on c1k -- tuxcards segfaults but snotes works ok.  I'm tempted to look into what would be necessary to make stickynotes a matchbox applet.  That tiny icon isn't too easy to find with a picture as your background :-)

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

did you install tuxcards on / or on sd/cf ?
If you installed on sd/cf, there is a solution :
The symlinks of the flower files are probably : /mnt/card//usr/local/... (notice the "//"). If you change them to /mnt/card/usr/local/... (one "/"), it will work ok. I simply deleted the "flowers"-dir on / and symlinked it to the one on sd. (that's only one link to make instead of 30)

Chero.
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on October 26, 2005, 11:26:02 am
Quote
pdaxrom rc 11 on c1k -- tuxcards segfaults but snotes works ok.  I'm tempted to look into what would be necessary to make stickynotes a matchbox applet.  That tiny icon isn't too easy to find with a picture as your background :-)

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

Sorry about that ...  

Did you install tuxcards to main memory or card?  During testing Chero got the seg fault on card whereas I got no issue in main memory.  What about those who downloaded it?  Just wanna know if any one of you also get the seg fault error.
Thanks.

zdevil
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: plcg on October 26, 2005, 02:28:32 pm
Hello,

Sticky Notes and Tuxcards (with right symlinks) work nicely.
Thank you, ZDevil, Chero and pgas !
You guys are great  

plcg
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on October 26, 2005, 02:36:17 pm
Quote
Hello,

Sticky Notes and Tuxcards (with right symlinks) work nicely.
Thank you, ZDevil, Chero and pgas !
You guys are great   

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

Glad you like them... Sorry for the symlink issue coz I'm a very newbie.

So did you get seg fault when installing in main memory or card?  
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: plcg on October 26, 2005, 02:43:55 pm
I only had segfault when installing to "/mnt/card" or "/mnt/user" (I didn't try "/mnt/cf").

plcg
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: jh on October 26, 2005, 05:33:01 pm
Thanks, Chero & zdevil... I re-installed to main memory (it was in user) and it works great.  Sorry, I should have read your initial post :-)

Looks like a nice tool, I'll have to explore it a bit.  Thanks for the packages!

jason
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on October 31, 2005, 03:59:31 am
A few updates:

TuxCards 1.2

-- Here is a set of alternative icons take from the original site: http://www.tuxcards.de/requirements.html
Simply unpack it anywhere, specify the path under "Look & Feel" in Option > Edit Options > General.  Restart TuxCards and the new icons are there.

-- Grab this greeting file (a kinda intro + readme) in case you want it:

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]   (Note: This is not a real IPK -- can't upload the file with the original extension.  Simply remove the .ipk extension and put it in /home/root or anywhere you want.)

============================================================

Sticky Notes 1.1.5

I guess some users will find the launch yellow icon too tiny to use.  Here is a trick:
In the terminal add an option like this:
Code: [Select]
snotes -geometry 24x24And the icon will appear with 24 x 24 pixels.  You can specify any size as you like (I find 24x24 the best value).    

If you want to recompile it from source, add the line resize(n,n); in snotes.cpp, as here:
Code: [Select]
int Snotes::run() {
    updateConfig();
    
    resize(32,32);

    show();
Then it will get compiled nicely with pgas' zgcc-3.3.2.img.
Many thanks to the author (Jørn V. Christensen) for the tip, and writing this cool app!  
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: pgas on October 31, 2005, 04:12:26 am
Quote
Sorry for the symlink issue coz I'm a very newbie.

In rc12, ipkg (ipkg-link) creates the links with one / and not 2 //, so hopefully this is not an issue anymore.
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on November 01, 2005, 02:36:17 pm
Hi there,

Perhaps some of the users of Sticky Notes find the startup icon too small to see/tap/use.
So I recompiled it and made 4 different flavors to suit the different tastes of the users:

1) snotes_1.1.5_armv5tel.ipk: The original version.  You can freely adjust the size of the startup icon by running it in the terminal with the option -geometry NxN.  For example, snotes -geometry 24x24 will render the icon with 24x24 pixels.
2) snotes_1.1.5_12p_armv5tel.ipk: The version with a fixed 12x12 startup icon.
3) snotes_1.1.5_24p_armv5tel.ipk: The version with a fixed 24x24 startupicon.
4) snotes_1.1.5_36p_armv5tel.ipk: The version with a fixed 36x36 startup icon.
The tradeoff of the fixed size versions is that you cannot readjust the startup icon any more with the -geometry option.
Otherwise the method of use remains the same across the versions.

Thanks go to JVC for writing this handy app and his suggestions during my compilation.  

All the 4 versions, plus the documentations, are put into one package which is already uploaded to the very first post.  Enjoy!
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on November 03, 2005, 02:45:40 pm
Sorry got no intent to bring this thread up again,
but today I discover one very interesting (and very useful) behavior of Sticky Notes:
You can drag the startup icon even to the panel at the bottom!  When it's there it simply looks and acts like a panel icon (actually not of course   )
So this startup icon will never get in the way again, plus you can change its location to anywhere you like.
Enjoy!  

[Edited: Sorry, this trick doesn't play perfectly.  By panel here I refer to the one in matchbox.  If the snotes startup icon stays in the panel while you tap on the proper panel icons, the panel seems to freeze a bit and you have to kill snotes to make things come back to normal.  Moving the startup in temporarily without launching things in from the panel, and then moving it out is fine, though.]
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: cmpayc on December 03, 2005, 05:15:11 pm
I installed the tuxcard_1.2_arm5tel.ipk from this thread on my RC12-C860 and have some libs-problems.
I created a sym-link:
ln -s /usr/lib/libstdc++.so /usr/lib/libstdc++.so.5
Trying to start tuxcards I've got the error-message:
tuxcards: /usr/lib/libstdc++.so.5: version 'GLIBCPP_3.2' not found (required by tuxcards)
tuxcards: /usr/lib/libstdc++.so.5: version 'GXXABI_1.2' not found (required by tuxcards)

Any idea how to fix it?

Best regards

Cmpayc
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on December 03, 2005, 05:20:54 pm
There is another version of libstdc++.so.5 posted by pgas in a pinned thread, which can fix some compatibility issues.  Dunno if that helps.  
I remember I don't need to do the link in order to get TuxCards to run.
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: cmpayc on December 03, 2005, 05:41:48 pm
Thanks a lot, Zdevil!

Tuxcards and xfe work fine. Sorry, I have to learn to read first.

Best regards

Cmpayc
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: desertrat on January 12, 2006, 02:39:49 pm
ZDevil any chance of recompiling tuxcards to remove the dependency on libstdcxx5-compat? I was going to give it a go myself but fell at the first hurdle - the installation instructions for tuxcards says you need a qt installation along qmake etc. Then I read your introductory notes at the beginning of this thread that I need pgas' "Qt-enhanced" zgcc-3.3.2.img. Does this img still work under 1.1.0beta1?

-- cheers
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: pgas on January 12, 2006, 03:01:53 pm
Quote
Then I read your introductory notes at the beginning of this thread that I need pgas' "Qt-enhanced" zgcc-3.3.2.img. Does this img still work under 1.1.0beta1?
If you wait until tomorrow I'll try to upload the full qt install (3.3.5 with moc designer and the rest)  I recompiled for beta1


Or you can cross-compile it,

or I think if you install the qt-headers and ajusting the QT_MKSPEC and perhaps the config file in the mkspec you might also be able to compile it
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: desertrat on January 12, 2006, 03:40:40 pm
Quote
If you wait until tomorrow I'll try to upload the full qt install (3.3.5 with moc designer and the rest)  I recompiled for beta1

I think I'll wait if you don't mind   . In the meantime I'll read up on that long thread to see how it all fits together.


-- cheers
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on January 12, 2006, 05:17:32 pm
Wow.  That's wonderful news.  Really look forward to your great work, pgas.    
No more hassle to switch back and forth between 3.3.2 and 3.4.5 anymore...
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: desertrat on January 14, 2006, 01:41:19 pm
Thanks to pgas' updated qt development package (https://www.oesf.org/forums/index.php?showtopic=17109) I have managed to recompile tuxcards so that it removes the dependency on libstdcxx5-compat.

However I've come across some funny behaviour. The first time I ran my compiled version of tuxcards I got this error:

Code: [Select]
Conflict in /usr/local/qt/plugins/inputmethods/libqscim.so:
  Plugin uses incompatible Qt library!
  expected build key "armv5tel Linux g++-3.* full-config no-opengl no-stl", got "i686 Linux g++-g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. full-config no-opengl no-stl".

Apart from this it appears to run fine. However I can't get scim to work with it, ie usually CTRL-SPACE will bring up scim, but in tuxcards it has no effect (I have right-clicked in input area and selected "Simple composing input method").

The puzzling thing is that on subsequent runs of tuxcards I don't get the above error anymore, but I still can't use scim.

I reinstalled ZDevil's tuxcards and find that this version does not allow the setting of input methods (ie right-clicking on input area does not give choice of input methods). So what I want to know is whether or not ZDevil's tuxcards does support scim, because if it does then I know I have broken something.

More importantly (  ) I would like to know how I can get scim working in my compilation of tuxcards. I suspect this is what pgas meant when he said (https://www.oesf.org/forums/index.php?showtopic=17109) "I didn't test either of these very much (at least the input method menu is showning up with the qu-uim ...)"!

-- cheers
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on January 14, 2006, 05:20:07 pm
No, my compiled version of tuxcards does not support qt inputmethods, not because of the app itself, but just because the qt in pdaX does not support these inputmethods at all.
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: desertrat on January 14, 2006, 11:24:38 pm
Quote
No, my compiled version of tuxcards does not support qt inputmethods
OK, that's good, now I know I haven't messed things up.

Quote
not because of the app itself, but just because the qt in pdaX does not support these inputmethods at all.

Right, I think I understand now  , I compiled using the version with the qt-uim patch applied, that is why my tuxcards allows a choice of input methods, but tuxcards being a qt program means scim is not going to work with it.

That is why we need skim.  ShiroiKuma tried, see here (https://www.oesf.org/forums/index.php?act=ST&f=73&t=16851&hl=skim&view=findpost&p=108954) and here (https://www.oesf.org/forums/index.php?act=ST&f=73&t=16516&hl=skim&view=findpost&p=108953)
but failed because of lack of the KDE headers    

-- cheers
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: tombraider on January 15, 2006, 11:00:54 am
Installed both of these apps to internal on Cacko C1000 Zaurus.
Can't copy and paste from any other app to Tuxcards, button to change font in editor doesn't work and the "sidebar" does not show up at all.

When I install snotes it complains that it requires some dependencies which are not installed.  Run at the console it says it can't find libqte-mt.so.3,  although I placed it in bin in internal.  How do I fix that?

Thanks in advance.

Quote
Hi, there,

As a token of thanks and my humble contribution, here are two handy apps for X, TuxCards 1.2 and Sticky Notes 1.1.5, which I compiled lately. 

Special thanks to Chero for his great teaching and advice.   Your Z home page is yet another chapter in my "Zaurus Bible" collection.     

I compiled both with pgas' "Qt-enhanced" zgcc-3.3.2.img from http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/pgas/gcc-qt/ (http://zaurus.spy.org/feeds/cacko/pdaXrom/misc/pgas/gcc-qt/) (the current 3.4.4 seems to lack uic and moc, which are necessary for make) .  pgas, you're darn cool!    

Some notes below.

================================================================
1. TuxCards 1.2:
-- Source file here: http://www.tuxcards.de/requirements.html (http://www.tuxcards.de/requirements.html)

-- In the process of compiling, before using pgas' zgcc, make sure the qt dir is symlinked correctly, as described in https://www.oesf.org/forums/index.php?showtopic=11588&hl= (https://www.oesf.org/forums/index.php?showtopic=11588&hl=) , post #12 (thanks Chero for fishing this out). 

-- A funny story: I followed the original readme of zgcc-3.3.2 and symlink without the "qt" (as reminded by pgas later in that post).   But I could compile successfully with this funny combination of export:
Code: [Select]
# export QTDIR=/usr/local/qt/qt
# export QMAKESPEC=/usr/local/qt/qt/mkspecs/default
# export QT_LIBRARY_PATH=/usr/local/qt/lib
Why?  My funny findings:
The directory "armv5tel-cacko-linux" is in /usr/local/qt, not /usr/local/qt/qt;
The directory "gccv-lib" is in /usr/local/qt, again not in /usr/local/qt/qt;
"make" is only found in .../qt/bin, not .../qt/qt/bin;
but "moc" and "uic" are inside /usr/local/qt/qt/bin, not in /usr/local/qt/bin;

-- "install DESTDIR=... make" doesn't apply in this case.  The files still make install to the main memory anyway.  Actually I was using a foolish way to put things together by copying /usr/local/bin/tuxcards and /usr/local/doc/tuxcards/flowers/* to the data part for creating data.tar.gz.

-- Chero discovers that when this .ipk is installed in cards, all symlinks are like this: "/mnt/card//usr/local/...".   Launching it this way will get segmentation fault.  Fix this by manually re-linking the "flowers" files after installation and it runs just as fine.  Installing it to the main memory does not have this issue.

-- In case someone is looking for libGLU.so.1, install mesa3d_6.2.1-1_armv5tel.ipk and things will go fine. 

-- What's surpring to me is this compiled version opens with the proper window size, so no more drag and resize.

-- The encryption and history functions are very welcome additions indeed (kudo to the author).  Check them out.  The only minor catch is the new function buttions will force the original two neat tool bars into three and leave some empty space unused.  I tend to drag the tool bars to the sides and they sit there beautifully.   

================================================================
2. Sticky notes 1.1.5

-- Source file here: http://freshmeat.net/projects/snotes/ (http://freshmeat.net/projects/snotes/)

--  I was told that xfce has got a nice a notes-plugin.  But since I am still sticking with matchbox so I need a post-it app so badly.  Being so used to post-its I've got them everywhere: in my pockets, in my inbox, and even on my ibook (Stickies).  So why not my Z?   

-- It's compiled from the latest build (just released on 10 Oct 05).

-- The source seems not to have included a desktop icon.  I just picked one up from a pool of free icons.  Sorry for my poor taste.

-- Some tips for use:
Upon first startup there is a very tiny yellow squrare somewhere in the upper left quarter of the screen.   Alt + hold can drag it anywhere.  It will stay in the new position even after relaunching.
To start playing, simply right click (fn-tap) it.
Snotes will automatically create a dir ".snotes" under /home/root.  A great feature is all the notes are saved just as plain texts in the dir.

================================================================

I'm just a linux dummy.  So don't hesitate to point out any mistake I made here. 
I find the compiling process very fruitful and have gained some hands-on experience.  Plus doing native compilation on Z is great fun, isn't it?   

See if the packages suit your needs.   Enjoy!

 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]  (which contains 4 different versions plus the documentation -- pls see my post #13 below)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100889\"][{POST_SNAPBACK}][/a][/div]
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on January 15, 2006, 11:23:29 am
Oh, these two apps here are compiled for pdaXrom, not for Sharp/Cacko.
Title: Tuxcards 1.2 And Sticky Notes 1.1.5
Post by: ZDevil on January 18, 2006, 09:35:00 am
Quote
Quote
No, my compiled version of tuxcards does not support qt inputmethods
OK, that's good, now I know I haven't messed things up.

Quote
not because of the app itself, but just because the qt in pdaX does not support these inputmethods at all.
Right, I think I understand now  , I compiled using the version with the qt-uim patch applied, that is why my tuxcards allows a choice of input methods, but tuxcards being a qt program means scim is not going to work with it.
That is why we need skim.  ShiroiKuma tried, see here (https://www.oesf.org/forums/index.php?act=ST&f=73&t=16851&hl=skim&view=findpost&p=108954) and here (https://www.oesf.org/forums/index.php?act=ST&f=73&t=16516&hl=skim&view=findpost&p=108953)
but failed because of lack of the KDE headers    
-- cheers
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=110993\")

Good news.  I've tested 2or0's qt-mt and quiminput packages and uim works in tuxcards now!  
[a href=\"https://www.oesf.org/forums/index.php?showtopic=17206]https://www.oesf.org/forums/index.php?showtopic=17206[/url]