LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-04-2008, 03:00 PM   #1
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
Adding 'Cairo' to Slackware 10.2


I have a Slackware 10.2 installation on which I would like to evaluate some of the Firefox 3beta builds. This requires 'Cairo' which was not an optional package with Slack 10.2.

My question is: can I build 'Cairo' from source using the SlackBuild script from Slack 11?.

I have the following packages already installed on my 10.2 installation:

glib2
popt
atk
pango
gtk+2.

Do I need to rebuild any of the above packages to be compatible with Cairo?.

Thanks,

Bill.
 
Old 01-04-2008, 04:30 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
linuxpackages.net has cairo-1.0.2 available. Your probably best to build from source instead of using a script for 11.0 or use the one from linuxpackages.net to ensure it will work with your base install of 10.2.
 
Old 01-04-2008, 05:12 PM   #3
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 14.1
Posts: 661

Rep: Reputation: 38
There is a Cairo-package at LinuxPackages.net for SW 10.2.

EDIT:
Was away for a while, didn't see the question was already answered...

Last edited by adriv; 01-04-2008 at 05:14 PM.
 
Old 01-04-2008, 05:12 PM   #4
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by trickykid View Post
--Your probably best to build from source instead of using a script for 11.0 or use the one from linuxpackages.net to ensure it will work with your base install of 10.2.

I have read somewhere on the Forum that after building 'Cairo' I should next re-build 'Pango' followed by rebuilding 'gtk+2' in that order to make things work correctly.

Is this correct?.

Bill.
 
Old 01-04-2008, 05:20 PM   #5
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 14.1
Posts: 661

Rep: Reputation: 38
Quote:
Originally Posted by Toods View Post
I have read somewhere on the Forum that after building 'Cairo' I should next re-build 'Pango' followed by rebuilding 'gtk+2' in that order to make things work correctly.

Is this correct?.

Bill.
I'm not 100% sure, but I don't think so. Can't recall rebuilding that stuff on 10.2 and I'm positive about Cairo being installed. There is also nothing of that kind at the package details.
And if it is, you'll find out soon enough.
 
Old 01-04-2008, 06:57 PM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Quote:
Originally Posted by Toods View Post
I have read somewhere on the Forum that after building 'Cairo' I should next re-build 'Pango' followed by rebuilding 'gtk+2' in that order to make things work correctly.

Is this correct?.

Bill.
Yes, that's correct. If you don't, you'll be missing the pango-cairo libs. Try not to use linuxpackages.net. Bad, bad habit. I wish people would quit suggesting it.

Last edited by jong357; 01-04-2008 at 07:02 PM.
 
Old 01-05-2008, 04:09 AM   #7
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Original Poster
Rep: Reputation: 32
Many thanks 'Adriv' and 'jong357' for your replies. I think I will rebuild the appropriate packages just to be safe:
Quote:
Yes, that's correct. If you don't, you'll be missing the pango-cairo libs. Try not to use linuxpackages.net. Bad, bad habit. I wish people would quit suggesting it.
This is therefore what I am proposing to do:

1.)Get the lastest source files for 'cairo', 'pango'' and 'gtk+2 from slackware 12 and edit the 'slackBuild' files appropriately the make them work in Slackware 10.2.

2.) build 'cairo' and install, then reboot;

3.) Build 'pango' and 'upgradepkg' then reboot;

4.) Build 'gtk+2' and 'upgradepkg.

Two questions:

Will this be a suitable route and will it ensure 'cairo' support in 'pango' and 'cairo/pango' support in 'gtk+2'?.

Are the 'reboots' necessary between the builds?.

Mant thanks,

Bill.

Last edited by Toods; 01-05-2008 at 04:23 AM.
 
Old 01-05-2008, 04:20 AM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Use ldconfig to update library cache, so you won't need to reboot.
 
Old 01-05-2008, 09:24 AM   #9
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Quote:
Will this be a suitable route and will it ensure 'cairo' support in 'pango' and 'cairo/pango' support in 'gtk+2'?.
yep. Thats how you do it.
glib2
popt
atk
cairo
pango
gtk+2
That's the proper build order for those packages.

You also might run into problems by using the latest source for just a couple of those. Dunno. You can try it and see what happens. On the same token, you might run into problems with FFbeta3 if you use the original versions that shipped with 10.2....

Typically, if you use a brand new gtk2, you should use a brand new glib2 as well. Those 2 are kinda married to each other. However, upgrading to new glib2 and gtk2 packages _could_ have adverse effects on existing gtk applications that are installed on your 10.2 box. You really don't know until you get the new versions installed and start watching for breakage.

Last edited by jong357; 01-05-2008 at 09:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling Cairo ryanfx Linux - Software 3 12-08-2008 10:43 AM
problems makeing cairo-1.2.6 bloodyscript Ubuntu 1 07-23-2007 10:32 AM
cairo in testing gefst Slackware 4 10-08-2006 05:19 PM
installing cairo? lilili Linux - Newbie 9 02-01-2006 01:19 PM
gtk+2.8 and cairo John Velman Slackware 3 10-19-2005 05:16 PM


All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration