Notes v0.9 - Post-It notes for IRIX

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
jimmer
Posts: 330
Joined: Tue Oct 12, 2004 3:54 pm
Location: London, Ingerlund

Notes v0.9 - Post-It notes for IRIX

Unread postby jimmer » Thu Apr 12, 2007 11:59 pm

Hello All,

I'm happy to announce a version of Notes that actually saves the notes you create.

Get the source here:

http://www.sillypages.org/sgi/notes-0.9.tar.gz

Please read the README - it contains all the information you need to run the applet.

enjoy!

jimmer

User avatar
Spidy
Posts: 333
Joined: Sat Jan 25, 2003 10:17 pm
Location: Melbourne, Australia

Unread postby Spidy » Sat Apr 14, 2007 6:33 pm

Uhm...having a bit of trouble compiling.

cstdio needs to be in usr/local/lib?

Ammended the Makefile to include /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++ where the file lives, still getting errors I'm afraid.



#gmake notes
CC -O2 -LANG:std -I. -I../../../vk/include -I/usr/include -I/usr/local/include -I/usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++ -c Main.C
cc-1155 CC: WARNING File = /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++/iostream, Line = 42
The indicated "#pragma" directive is not recognized.

#pragma GCC system_header
^

cc-1005 CC: ERROR File = /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++/iostream, Line = 44
The source file "bits/c++config.h" is unavailable.

#include <bits/c++config.h>
^

1 catastrophic error detected in the compilation of "Main.C".
Compilation terminated.
gmake: *** [Main.o] Error 2

Any pointers?
Man is the only animal smart enough to build the Empire State Building, and the only one stupid enough to jump off it.

User avatar
jimmer
Posts: 330
Joined: Tue Oct 12, 2004 3:54 pm
Location: London, Ingerlund

Unread postby jimmer » Sun Apr 15, 2007 12:34 am

Spidy wrote:Uhm...having a bit of trouble compiling.
cstdio needs to be in usr/local/lib?


Hello Spidy - thanks for taking an interest in Notes ;)

As far as i know cstdio doesn't belong in /usr/local/lib at least not for MIPSpro.

Spidy wrote:Ammended the Makefile to include /usr/nekoware/lib/gcc/mips-sgi-irix6.5/3.4.6/include/c++ where the file lives, still getting errors I'm afraid.


It seems that you're using gcc and I haven't tested compilation with gcc as I've been using MIPSpro for a while now. I am terribly sorry, but I have no idea why your seeing these errors.

Spidy wrote:Any pointers?


If you don't have a copy of MIPSpro handy, I'm afraid you may have to wait a couple more days till I release an officially blessed-and-holy-pee-sprinkled sillypages.org tardist :(

jimmer

User avatar
Spidy
Posts: 333
Joined: Sat Jan 25, 2003 10:17 pm
Location: Melbourne, Australia

Unread postby Spidy » Sun Apr 15, 2007 3:44 am

jimmer, I have MipsPro.

I may be missing something. Maybe if you tell me exactly (ie, like I'm a very stupid 4 year old) what to do to compile, I'll try your instructions.
Man is the only animal smart enough to build the Empire State Building, and the only one stupid enough to jump off it.

User avatar
ka0s
Posts: 589
Joined: Sat Mar 20, 2004 5:23 am
Location: The Netherlands

Unread postby ka0s » Sun May 06, 2007 4:02 am

Jimmer I love your Notes app !!!

What would be really nice is to have just a little more features added to it like different fonts and fontsize, Bold , Italic , underline.
And a way to resize the window.

But for a 0.9 version it's 'tha bomb' !)
I can feel it, my mind is going ....

User avatar
jimmer
Posts: 330
Joined: Tue Oct 12, 2004 3:54 pm
Location: London, Ingerlund

Unread postby jimmer » Sun May 06, 2007 4:46 am

ka0s wrote:Jimmer I love your Notes app !!!

You're welcome ;)

ka0s wrote:What would be really nice is to have just a little more features added to it like different fonts and fontsize, Bold , Italic , underline. And a way to resize the window.


Wrt. different text size/colour etc., i thought about it and then I ran in to issues with Motif. The stock Motif 1.2 text widget is annoyingly primitive, but I might try something with Motif 2.x 'rendertables' one of these days. Of course 'right way' to do this would be to write a new ViewKit component that does Fontconfig/Freetype AA text. But I simply don't have the time atm to learn how to code such a beastie. Sorry.

Wrt. window resizing, that's a function of the window manager borders. If I want non-bordered notes, which i want, then I sacrifice resizing. Adding a popup-dialog just to enter a new note size seems a little 'cumbersome'.

In the end I decided that fonts and resizing weren't essential to the applet and left them out.

ka0s wrote:But for a 0.9 version it's 'tha bomb' !)


You da' Man! ;)

User avatar
ka0s
Posts: 589
Joined: Sat Mar 20, 2004 5:23 am
Location: The Netherlands

Unread postby ka0s » Sun May 06, 2007 12:30 pm

I see !)

No worry's, I still think this is quite an asset to the motif desktop!!!
I can feel it, my mind is going ....

User avatar
stuart
Posts: 912
Joined: Mon Aug 23, 2004 5:37 pm
Location: Cambridge, UK
Contact:

Unread postby stuart » Tue May 08, 2007 12:59 pm

Code: Select all

$ ./notes -new
Notes: Error opening your $HOME/.notes directory.
Segmentation fault (core dumped)
$ dbx ./notes core
dbx version 7.3.4 (86441_Nov11 MR) Nov 11 2002 11:31:55
Core from signal SIGSEGV: Segmentation violation
(dbx) where
>  0 _closedir(0x0, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/xlv52/patches/7143/work/irix/lib/libc/libc_n32_M4/gen/closedir.c":31, 0xfa673b8]
   1 App::loadNotes(void)(0x0, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/usr/people/stuart/devel/notes-0.9/Main.C":59, 0x10007bfc]
   2 ::main(0x2, 0xffffffff, 0x2, 0x0, 0x0, 0x0, 0x72, 0x10007c04) ["/usr/people/stuart/devel/notes-0.9/Main.C":158, 0x10006e78]
   3 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x10006ae8]


It seems to run fine if I first manually create a "~/.notes" directory, but seems to reliably segfault if this doesn't exist!

pan1k

Unread postby pan1k » Thu May 10, 2007 4:06 am

Still can't get this compiled. I to have MIPS Pro installed. I get an error just like above abouit CSTDIO. Any help?


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 1 guest