Author |
Message |
charlie6

Joined: 30 Jun 2008 Posts: 1231 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Sun 13 Nov 2011, 05:18 Post subject:
|
|
Hi Technosaurus,
This looks great !
(tested on slacko5.3 - works OTB - entered some tasks and ressources and predecessors; and got all projects printout in one only output file ...very handy !).
Many thanks for the ideas and making this pet!
That's indeed what was missing on Puppy !
Planner looks tiny and allows even to define predecessors which was not availble on the KPlato I tested one or two years ago.
I also tried GanttPV http://www.pureviolet.net/ganttpv/ which looks simple to use; but requires a working Python and wxGTk installed.
Planner looks even more simplier to use.
So ... just great !
Thanks again !
Charlie
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 9400 Location: Perth, Western Australia
|
Posted: Sun 13 Nov 2011, 05:26 Post subject:
|
|
jim3630 wrote: | BarryK wrote: | jim3630 wrote: | tried in Dpup Exprimo SMP 5.X.10.
console:
# planner
planner: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory
#
libxcb-xlib.so.0: looks like a symlink library just to show how little I know. if it is then don't know what to do with it.
missing library or is planner not suited for Dpup? |
Try this:
Code: | # ln -s libX11.so.6 /usr/lib/libxcb-xlib.so.0 |
|
Hey Barry it worked!
will study your code to figure out how it worked.
ln a command to link. -s symlink. can't quite get how you came up with "6"? |
Planner doesn't really need that library. It was in the environment in which technosaurus compiled Planner. libxcb-xlib.so.0 could have been symlinked to anything, just to satisfy Planner as it starts up.
_________________ https://bkhome.org/news/
|
Back to top
|
|
 |
jim3630

Joined: 13 Feb 2011 Posts: 792 Location: Northern Nevada
|
Posted: Sun 13 Nov 2011, 10:59 Post subject:
|
|
BarryK wrote: |
Planner doesn't really need that library. It was in the environment in which technosaurus compiled Planner. libxcb-xlib.so.0 could have been symlinked to anything, just to satisfy Planner as it starts up. |
thanks Barry.
tested briefly in Racy and worked well. thanks tecnosaurus
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 937
|
Posted: Sun 13 Nov 2011, 17:57 Post subject:
Re: Project Management in gtkdialog/yad/CLI/HTML Subject description: something to manage small to medium sized projects |
|
technosaurus wrote: | I looked for a decent project management software that didn't have over 50mb worth of dependencies, and couldn't really find anything light weight. I have a pretty basic understanding of the underlying logic, so I started thinking what it would take at a minimum. |
technosaurus,
What I find fascinating is your ability to take a complex, involved program task such as a project planner and reduce it to a simplified concept. You might call it a "Puppification". No particular dependencies, just do it with simple tools at hand and end up with just as good, if not better, program than the big and bloated software boats.
Bravo, and I hope you'll find the time to do it anyway.
Thanks for your inspirations,
s
(Of course we expect only an "all-bash" approach... )
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Mon 14 Nov 2011, 00:12 Post subject:
|
|
here is a rebuild of Planner that is more optimised and _should_ be more portable along with a patch of my hacks
compiled with:
Code: | CFLAGS=" -DGTK_NO_CHECK_CASTS -DG_DISABLE_CAST_CHECKS -DNDEBUG -DG_DISABLE_ASSERT -pipe -combine -Os -momit-leaf-frame-pointer -fomit-frame-pointer -fmerge-all-constants -mno-accumulate-outgoing-args -march=i586 -mtune=i686 " LDFLAGS=" -Wl,-O4,-Os,-relax,--sort-common,--as-needed,-s " ./configure --disable-schemas-install --disable-python --disable-silent-rules --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu | It (unnecessarily) uses plugins, so I couldn't apply my more aggressive compiler/linker flags.
Description |
|

Download |
Filename |
planner-rmvgconf-Os.patch.gz |
Filesize |
952 Bytes |
Downloaded |
394 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Mon 14 Nov 2011, 03:52 Post subject:
|
|
as I suspected, my hypothesis about compressing the flat file database when using a variable format is confirmed, in fact with bzip2, it is actually even smaller than the separated version
a way to make this almost seamless is to do something like this:
bzcat $FILE | while read LINE ...
...
done |bzip -9c >$FILE~ && mv -f $FILE~ $FILE
Description |
|

Download |
Filename |
flatdb2.gz |
Filesize |
24.3 KB |
Downloaded |
379 Time(s) |
Description |
|

Download |
Filename |
flatdb.gz |
Filesize |
20.49 KB |
Downloaded |
371 Time(s) |
Description |
|

Download |
Filename |
flatdb2.bz2 |
Filesize |
10.63 KB |
Downloaded |
318 Time(s) |
Description |
|

Download |
Filename |
flatdb.bz2 |
Filesize |
10.85 KB |
Downloaded |
335 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1538 Location: Ukraine
|
Posted: Mon 14 Nov 2011, 04:54 Post subject:
planner |
|
Dear technosaurus,
Great work on planner. It works fine in lucid and is VERY fast. Thanks from me and, I suppose, from the entire community, too.
With kind regards,
vovchik
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2806 Location: UK
|
Posted: Mon 14 Nov 2011, 13:13 Post subject:
Re: planner |
|
vovchik wrote: | Dear technosaurus,
Great work on planner. It works fine in lucid and is VERY fast. Thanks from me and, I suppose, from the entire community, too.
With kind regards,
vovchik |
Thanks very much for this, I should use this instead of big long horrible text files of crap
(I'm probably too dumb anyway... but) How would I go about trying to compile planner without glade?
I couldn't understand the manual changes (last steps), not sure about using Glade, and couldn't find the gtk-converter-thing
Also, is it even possible with planner?
(I like the idea of Puppy moving away from using glade,
as we now have stuff in GTK itself (gtk-builder, is it?) to replace it.. less bloat)
_________________ Pkg, mdsh, Woofy, Akita, VLC-GTK, Search
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Mon 14 Nov 2011, 15:06 Post subject:
Re: planner |
|
sc0ttman wrote: |
(I'm probably too dumb anyway... but) How would I go about trying to compile planner without glade?
I couldn't understand the manual changes (last steps), not sure about using Glade, and couldn't find the gtk-converter-thing
Also, is it even possible with planner?
(I like the idea of Puppy moving away from using glade,
as we now have stuff in GTK itself (gtk-builder, is it?) to replace it.. less bloat) |
I didn't want to mention this, but since you brought it up...
the basic idea appears to be: convert the glade/ui files to gtkbuilder format (possibly automatically using glade? or manually or some of each) If a hybrid conversion is required, maybe try removing/replacing libglade specifics from the .glade files before modifying any C code to see if it is usable before attempting to convert and replace the glade references in C with the corresponding gtkbuilder code... crap that didn't even make sense to me, so I will bulletize it, I tend not to F that up as much:
1. open each glade/ui file in glade
2. try to save it as a gtkbuilder project
2a. take note of the warnings that glade gives
3. remove/change/replace the referenced warnings with code that is glade AND gtkbuilder compatible.
4. run Planner and check the modified GUIs
5. if all GUIs are at least acceptable modify the C for gtkbuilder, convert the xml files and recompile.
6. if when you get it running with gtkbuilder, add back any functionality you had to remove previously
anyhow here is what ROX-Filer did:
http://repo.or.cz/w/rox-filer.git/commit/5d2e0437ff79c5b38e94a9fd0a3403d883255fa6
also disciple converted glipper-lite to use gtkbuilder
http://www.murga-linux.com/puppy/viewtopic.php?p=391744#391744
though Puppy would probably benefit more from porting gtkdialog to use gtkbuilder, I am sure it is on the Planner wish list too.
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Mon 14 Nov 2011, 18:09 Post subject:
|
|
I'm glad my portable version is working, as I don't wish to continue updating it. (though the updates don't appear to be frequent.
For those of you who have downloaded the patch, you will still need to trick the configure script into thinking you have packages that you don't. Such as adding a symlink for gconf* to /bin/true and fake .pc files in /usr/lib/pkgconfig (i used gtk as a template)
Hth
BTW resource value of 100 becomes 8, I assume this is some kind of conversion of 100% of a day to work hours?
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 937
|
Posted: Mon 14 Nov 2011, 18:16 Post subject:
|
|
technosaurus.
I just tried the planner pet and got this error-
Quote: | planner: symbol lookup error: planner: undefined symbol: g_malloc0_n |
This was run in pup431 with updated libs. Can I assume that this error was because it needs to be compiled in pup431 in order to run it in pup431?
Regards,
s
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4878 Location: Blue Springs, MO
|
Posted: Mon 14 Nov 2011, 21:01 Post subject:
|
|
seaside wrote: | technosaurus.
I just tried the planner pet and got this error-
Quote: | planner: symbol lookup error: planner: undefined symbol: g_malloc0_n |
This was run in pup431 with updated libs. Can I assume that this error was because it needs to be compiled in pup431 in order to run it in pup431?
Regards,
s | or you can upgrade that library (glib >= 2.24)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 937
|
Posted: Mon 14 Nov 2011, 21:36 Post subject:
|
|
technosaurus wrote: | seaside wrote: | technosaurus.
I just tried the planner pet and got this error-
Quote: | planner: symbol lookup error: planner: undefined symbol: g_malloc0_n |
This was run in pup431 with updated libs. Can I assume that this error was because it needs to be compiled in pup431 in order to run it in pup431?
Regards,
s | or you can upgrade that library (glib >= 2.24) |
technosaurus,
Thanks, I'll give that a try.
Regards,
s
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 937
|
Posted: Tue 15 Nov 2011, 12:32 Post subject:
|
|
seaside wrote: | technosaurus wrote: | seaside wrote: | technosaurus.
I just tried the planner pet and got this error-
Quote: | planner: symbol lookup error: planner: undefined symbol: g_malloc0_n |
This was run in pup431 with updated libs. Can I assume that this error was because it needs to be compiled in pup431 in order to run it in pup431?
Regards,
s | or you can upgrade that library (glib >= 2.24) |
technosaurus,
Thanks, I'll give that a try.
Regards,
s |
technosaurus,
When I tried that upgrade, it unfortunately broke Rox.
Regards,
s
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Tue 15 Nov 2011, 12:43 Post subject:
|
|
seaside wrote: |
When I tried that upgrade, it unfortunately broke Rox.
Regards,
|
While I admire technosaurus' accomplishments, I personally find a lot more flexibility and usefulness in a simple spreadsheet.
|
Back to top
|
|
 |
|