LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Adding 'Cairo' to Slackware 10.2 (https://www.linuxquestions.org/questions/slackware-14/adding-cairo-to-slackware-10-2-a-611169/)

Toods 01-04-2008 02:00 PM

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.

trickykid 01-04-2008 03:30 PM

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.

adriv 01-04-2008 04:12 PM

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...

Toods 01-04-2008 04:12 PM

Quote:

Originally Posted by trickykid (Post 3011544)
--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.

adriv 01-04-2008 04:20 PM

Quote:

Originally Posted by Toods (Post 3011613)
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. ;)

jong357 01-04-2008 05:57 PM

Quote:

Originally Posted by Toods (Post 3011613)
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. ;)

Toods 01-05-2008 03:09 AM

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.

Alien_Hominid 01-05-2008 03:20 AM

Use ldconfig to update library cache, so you won't need to reboot.

jong357 01-05-2008 08:24 AM

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.


All times are GMT -5. The time now is 05:48 AM.