Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 22 Nov 2014, 06:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
linux baseball simulation
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
bugman


Joined: 20 Dec 2005
Posts: 2131
Location: buffalo commons

PostPosted: Sat 07 Feb 2009, 17:10    Post_subject:  linux baseball simulation  

netstats baseball is a not-quite-like-strat-o-matic simulator

but it runs in linux, and runs in puppy [at least in 4.12]

i successfully compiled it but am way too lame to make a pet Embarassed

you can get it here

http://freshmeat.net/projects/nsb/

and here

http://sourceforge.net/projects/nsbb

note that the developers state that they've had problems compiling with gcc versions 4.1.3 and 4.2.1, devx_412 uses 4.2.2 which worked okay for me
Back to top
View user's profile Send_private_message Visit_website 
WhoDo


Joined: 11 Jul 2006
Posts: 4441
Location: Lake Macquarie NSW Australia

PostPosted: Sat 07 Feb 2009, 18:12    Post_subject: Re: linux baseball simulation  

bugman wrote:
i successfully compiled it but am way too lame to make a pet Embarassed

Nah, not "lame" bugman; just a little "short" in the gnostic department.

Creating dotpets is easy when you know how.

1. Create a directory with the name of your application as its name - I usually create these in the /root directory so I can quickly return to them without searching.

2. Inside that directory create the whole file system structure your application uses - /usr, /root, /usr/share/applications, /usr/sbin, whatever.

3. Use dir2pet from a terminal to convert the directory to a dotpet file
Code:
dir2pet mydir
and a file called mydir.pet will result.

OR ... if your tarball is already formatted that way, use tgz2pet to convert it from the CLI.
Code:
tgz2pet myapp.tar.gz


Hope that helps

_________________
Actions speak louder than words ... and they usually work when words don't!
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com
Back to top
View user's profile Send_private_message 
bugman


Joined: 20 Dec 2005
Posts: 2131
Location: buffalo commons

PostPosted: Sat 07 Feb 2009, 18:18    Post_subject: Re: linux baseball simulation  

WhoDo wrote:
2. Inside that directory create the whole file system structure your application uses - /usr, /root, /usr/share/applications, /usr/sbin, whatever.


by this do you mean that i should copy all the files over? the install scattered stuff everywhere, is there a log?

WhoDo wrote:
OR ... if your tarball is already formatted that way, use tgz2pet to convert it from the CLI.


does that work for a tarball that needs to be compiled?

EDIT to say i think i have got it, i have made either a pet or a 22mb mess, added a startup script and a menu entry and modified the install notes into a read me that is pet-specific, and will upload it for intrepid testers when i have the available time, probably tomorrow morning
Back to top
View user's profile Send_private_message Visit_website 
trapster


Joined: 28 Nov 2005
Posts: 2027
Location: Maine, USA

PostPosted: Sun 08 Feb 2009, 00:08    Post_subject:  

What I usually do when compiling...
./configure
make
Before make install, create a directory with the program name (and version), ie. /root/test/email-3.1.2.

Then do make install DESTDIR=/root/test/email-3.1.2

This will install the files to that location.
A good idea is to "strip" the "executable" file which is usually found in /root/test/email-3.1.2/usr/bin or /root/test/email-3.1.2/usr/local/bin or wherevever.
change to that directory and do strip email.
Then make the .pet
From inside /root/test do dir2pet email-3.1.2

Install the program with the pet. It makes it much easier to remove the file if you ever decide.

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
bugman


Joined: 20 Dec 2005
Posts: 2131
Location: buffalo commons

PostPosted: Sun 08 Feb 2009, 09:27    Post_subject:  

trapster

thanks for the tip, too late for the code way, but i might move all the installed files out of path's way, and install the pet to see if it works

not sure why i didn't think of that myself, fear kills the soul?

bugman [feeling especially buggy this morning]

edit - got a good pet, now i can't access my friend's ftp server to upload it, guessing a 22mb pet not welcome as an attachment, some day this will all be over with . . .
Back to top
View user's profile Send_private_message Visit_website 
bugman


Joined: 20 Dec 2005
Posts: 2131
Location: buffalo commons

PostPosted: Thu 12 Feb 2009, 20:37    Post_subject:  

well, i have not uploaded the damn thing anywhere yet

on the other hand, no one's asked me about it

so i think it might not be much in demand?

no problem, the app is still early in development and feature-shy and a little buggy, but i might try and help the guy with it [if i can] as i miss strat-o-matic on occasion

i tried making pets of some other things--minbar, a muslim prayer reminder, plus another app [name forgotten] that did the same--also zekr, a koran study tool

sadly they are gnome and kde applets, and dependencies were killing me

[no, i am not a muslim, i just thought they'd be helpful, and no one else has done them as far as i know]
Back to top
View user's profile Send_private_message Visit_website 
smil99

Joined: 18 Aug 2007
Posts: 174

PostPosted: Wed 26 Aug 2009, 19:43    Post_subject: zekr installation  

Hi bugman,
Just found your post when I searched for zekr.
Well, I tried installing from a deb and I got the following error after the gui attempted to start:
org.eclipse.swt.SWTError: XPCOM error -2147221164
org.eclipse.swt.browser.Mozilla.error(Unknown Source)
org.eclipse.swt.browser.Mozilla.create(Unknown Source)
org.eclipse.swt.browser.Browser.<init>(Unknown Source)
net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:466)
net.sf.zekr.ui.QuranForm.init(QuranForm.java:308)
net.sf.zekr.ui.QuranForm.<init>(QuranForm.java:283)
net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
net.sf.zekr.ZekrMain.main(ZekrMain.java:8Cool
Do you have any clue as to how to resolve this? Alternatively, if you already made a working pet, would you mind making it available for me?

Thanks.
smil99.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0680s ][ Queries: 11 (0.0074s) ][ GZIP on ]