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 Fri 24 Oct 2014, 12:13
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
[request] GtkMathView package
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
SpiceGuid


Joined: 20 Mar 2008
Posts: 20

PostPosted: Sat 10 Apr 2010, 12:29    Post_subject:  [request] GtkMathView package
Sub_title: Can't find GtkMathView for Puppy
 

The title says it all, i use Objective-Caml plus i have LablGtk bindings to GtkSourceView2 and GtkMathView.
So i could develop advanced math software using Puppy Linux & Geany but one piece is missing.

I simply can't find a GtkMathView package for Puppy.
Could someone help, please ?

Supposing i build it myself should i expect a garden party or a never-ending nightmare ?
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sun 11 Apr 2010, 02:25    Post_subject: Re: [request] GtkMathView package
Sub_title: Can't find GtkMathView for Puppy
 

SpiceGuid wrote:
...a garden party or a never-ending nightmare?
Heh...depends on how many of the dependencies you lack.

I built it about a month ago, so this is from dim memory:

There's one ocaml package that takes either a "glut" or a "lib" or a "togl" parameter. Choose "lib".

When you build gmetadom, first apply the patch
gmetadom-gcc43-fixes.patch
from
http://sourceforge.net/tracker/index.php?func=detail&aid=2055331&group_id=40627&atid=428476

lablgtk must be configured with the --without-gl parameter, because it suffers the unfortunate libxcb-xlib malady. You prolly already knew that.

I just checked out the trunk, revision 1185
Code:
svn co http://svn.gnome.org/svn/gtkmathview/trunk


and am compiling it now.

src/engine/boxml/BoxMLHOVElement.cc needed an
#include <stdio.h>
inserted at the top, i.e. make generated the
printf not declared in this scope
error,
but after inserting that include line it continued without trouble.

Back in 9 or 10 with the exciting conclusion of tonight's episode...
Back to top
View user's profile Send_private_message 
SpiceGuid


Joined: 20 Mar 2008
Posts: 20

PostPosted: Sun 11 Apr 2010, 06:54    Post_subject:  

Wow Very Happy

I certainly did'nt expect such a fast and informed reply.
Thanks to you.
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sun 11 Apr 2010, 11:12    Post_subject:  

In the dawn's bleary light, it turns out that the compile fails.

Heh...now I recall, it failed a month ago too, the same way, a series of error messages having to do with the two lines in
src/common/Object.hh
Code:
void ref(void) const { refCounter++; }
  void unref(void) const { if (--refCounter == 0) delete this; }

So, what I ended up doing was...wimping out. I downloaded several RPM's and unpacked those.

Problem is, I never tested it.

If you can give me an example of a thoroughgoing test sequence to put it through, to thoroughly prove that everything is in order, then I will try this installation. If it works, I'll package it into a .pet or .sfs.

Opera 10 can render Presentation MathML embedded on webpages, try
http://www.w3.org/Math/XSL/pmathml2.xml.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6688
Location: lisbon

PostPosted: Mon 12 Apr 2010, 14:13    Post_subject:  

SHS,

compiles OK on p412. Anyway, I've uploaded here: gtkmathview-0.8.0.pet
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 12 Apr 2010, 14:59    Post_subject:  

muggins wrote:
compiles OK on p412...

Interesting. I'm using my gcc 4.4.1. Evidently, that little snippet breaks the newer gcc but not the older one in 412.

I just tried compiling a static build of geany 0.18.1 too, on my newer system, which carries gtk+ 2.20.1 (necessary for the current git head branch of the evolution email client) (and yes I did succeed in compiling evolution) (what an alligator-wrestle *that* was!). Nope, no can do geany. In this case the gcc isn't at fault, rather it is too new a gtk+ for geany's scintilla component. Had to drop back and do the compile on 4.20-rt-smp. This static geany does run OK, however (albeit without plugins) on my new Puplet (ordinary shared-libs geany had a nasty habit of vanishing).
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 12 Apr 2010, 15:13    Post_subject:  

@muggins: Incidentally, on the other (Canon scanner) thread... the missing link library (but an earlier version, 1.0.1 instead of 1.0.4) is supplied in mp150_sane-0.14.4.pet.

The solution of the missing-models problem in older versions of scangearmp_common appears to be simply a matter of changing the format of /etc/sane.d/canon_mfp.conf from the way it looks in the newest .deb version to the way it looks in the .pet version, and then just recreate the .pet.

If you can't find the time, I'll give it a go in the next few days. On 412, hehe...
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 12 Apr 2010, 15:53    Post_subject: /usr/lib contents for gtkmathview-0.80.0 from .rpm packages  

Also, your gtkmathview is missing quite a bit in /usr/lib --see the optional features in the file configure.

Just a moment, I'll post the listing of the /usr/lib I got by combining AltLinux, PCLinuxOS, and Mandriva rpm's...unfortunately, I did not write down the configure line...

OK, here it is...
gtkmathview-from-RPM.gz
Description  /usr/lib contents for gtkmathview-0.80.0 from .rpm packages
gz

 Download 
Filename  gtkmathview-from-RPM.gz 
Filesize  333 Bytes 
Downloaded  537 Time(s) 
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Mon 12 Apr 2010, 16:38    Post_subject: /usr/lib files for gtkmathview-0.80.0 from rpm's  

Here they are, all the files in /usr/lib from .rpm's. I have the static files too, if you want them.
gtkmathview-usr-lib.tar.gz
Description  /usr/lib files for gtkmathview-0.80.0 from rpm's of PCLinuxOS, Mandriva, and AltLinux
gz

 Download 
Filename  gtkmathview-usr-lib.tar.gz 
Filesize  977.98 KB 
Downloaded  555 Time(s) 
Back to top
View user's profile Send_private_message 
SpiceGuid


Joined: 20 Mar 2008
Posts: 20

PostPosted: Fri 16 Apr 2010, 11:02    Post_subject:    

Thanks to all contributors.

Hopefully i will install GtkMathView and the Objective-Caml bindings Very Happy
I suppose i need a gtkmathview-dev package, isn't it ?
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Fri 16 Apr 2010, 11:59    Post_subject:  

SpiceGuid wrote:
Thanks to all contributors.

Hopefully i will install GtkMathView and the Objective-Caml bindings Very Happy
I suppose i need a gtkmathview-dev package, isn't it ?
Yup...

...but...I just within the past 48 hours figured out Barry's bones+woof buildsystem...

A Ubuntu Lucid build (and probably any Debian/Ubuntu build) gives you gtkmathview including the Abiword bindings automatically.

Creating gtkmathview by hand-compiling is, by comparison, what in my adolescence was called "a date with rough, tough Rosie"...

Another 24 hours and I should have a working distro. Then, if you don't have it already, I can give you a comprehensive .pet package or, better, bolt-on .sfs (What version of Puppy are you running?).

Unless, of course, you choose to do a bones+woof build yourself...

I notice, on his blog, Barry recently mentioned that he is using boost (one of gtkmathview's myriad dependencies) from an .rpm. But I built it "The Right Way(tm)" using bjam not too long ago, so might have to upgrade the Puppy world to a better .pet, made from mine, in order for gtkmathview to manifest in all its glory.

Back in 24.
Back to top
View user's profile Send_private_message 
SpiceGuid


Joined: 20 Mar 2008
Posts: 20

PostPosted: Sun 18 Apr 2010, 13:26    Post_subject:  

My config :

Puppy Linux: 4.31 full install
OCaml: 3.11.2
LablGtk: 2.14 --with-gtksourceview2
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) » Engineering/Science/Simulation
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.0755s ][ Queries: 13 (0.0068s) ][ GZIP on ]