LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 02-12-2007, 06:58 AM   #1
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 429

Rep: Reputation: 32
ubuntu packages in slackware


Hi!
My question is can I install ubuntu packages (specifically - firefox) in slackware 11.0? If so how do I go about it?
My reasons for doing so are simple. I need ctl support (i.e. Complex Text Layout support for rendering correctly Indic fonts for Hindi and such-like languages) this is missing in the official firefox package and also in the package that is meant for Slackware. Ubuntu provides this support by default. Hence, I want to install the firefox package for Ubuntu in my slackware. One may be wondering why not use Ubuntu instead of Slackware. The reason is that I don't get the satisfaction I get in using Slackware, when I use Ubuntu.
Awaiting your knowledgable suggestions,
 
Old 02-12-2007, 08:58 AM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
I'm having a go with "alien" as we speak. For slackware you can use ftp://ykbsb2.yk.psu.edu/pub/alien/alien-extra.tgz to get the dependencies for the full alien install (it's written primarily for debian).

As Ubuntu packages are .deb packages I'd have thought they'd work as well as debian native packages. The only thing to look out for then is the dependencies, see eg http://packages.ubuntu.com/feisty/web/firefox for details.

Last edited by pbhj; 02-12-2007 at 09:00 AM.
 
Old 02-12-2007, 09:13 AM   #3
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
Seems fine, using alien from ftp://ykbsb2.yk.psu.edu/pub/alien/Alien-8.41/

Just did something like "tar xvf alien*; cd alien*; alien -t firefox*.deb; installpkg firefox*.tgz; firefox".

As expected I have dependency issues it's looking for GLIBC_2.4 whilst I have glibc version 2.3.6. But can't see anything to prevent this working other than dep problems - I used a "feisty" package, presumably a previous package ("hoary" or something???) would work with earlier glibc.

HTH
 
Old 02-12-2007, 09:51 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,746

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
Sorry, I don't think you'll get that to work if it's calling for glibc-2.4. However, youz should eb able to locate the ubuntu firefox sources and find out what options are needed for compiling it yourself from scratch.
 
Old 02-12-2007, 09:55 AM   #5
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 429

Original Poster
Rep: Reputation: 32
My firefox is asking libplds4.so
 
Old 02-12-2007, 10:09 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,746

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
That's a mozilla/seamonkey/firefox library. They probably compiled the package to use already-installed seamonkey system libs.
 
Old 02-13-2007, 12:41 AM   #7
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 429

Original Poster
Rep: Reputation: 32
I have done a foolish thing. I installed the ubuntu firefox without uninstalling previously installed version of it. Now I successfully messed up firefox.
 
Old 02-13-2007, 01:49 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
aditya,
you dont need CTL to render Hindi fonts. a run of the mill firefox install comes with support for Unicode. It will render all fonts correctly. I am using it!
Just install any firefox 2.0 package (maybe from slacky.it) and you are done.
 
Old 02-13-2007, 10:04 PM   #9
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 429

Original Poster
Rep: Reputation: 32
I may be missing something duryodhana, but my install of firefox 2.0.0.1 renders the hi.wikipedia.org page incorrectly especially the 'matras', if you know what I mean. the matra for small 'ee' is being placed after the consonant.
Should I be doing something else to correct this. The encoding is being auto-detected to UTF-8.
 
Old 02-14-2007, 02:10 AM   #10
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
you can't do anything ... the wikipedia guys haven't written it correctly IMHO.
I also see some really weird matras. but as one can see them, it is able to render them ... problem is with what they have typed. I visit many other sites which work fine. try shabdkosh.com
 
Old 02-14-2007, 03:45 AM   #11
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 429

Original Poster
Rep: Reputation: 32
no luck duryodhan, the matras are rendered incorrectly even in Shabdkosh - Hindi has become hanidi and so on.
 
Old 02-14-2007, 05:28 AM   #12
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
hey, its giving same problem ..,. but weirdly the TITLE of page is coming correctly (title is at the topmost red bar which has 'x' to close etc.

Anyways, its a firefox bug .. it works in Konqueror.

Last edited by duryodhan; 02-14-2007 at 05:51 AM.
 
Old 02-14-2007, 05:30 AM   #13
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 429

Original Poster
Rep: Reputation: 32
I think the solution may be compiling firefox from source with ctl enabled. I tried to do it once but after nearly about 45 minutes the compiling abruptly ended with some errors.

Did you compile Firefox from source?
 
Old 02-14-2007, 08:01 AM   #14
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
No , I didn't compile from source~ I guess you are right,, it needs to be compiled with CTL enabled , I will try it out sometime this week and tell you my experience,

but why don't you use Konqueror?
 
Old 02-14-2007, 08:17 AM   #15
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,746

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
"after nearly about 45 minutes the compiling abruptly ended"
It was just getting started, probably. If you'll post the exact errors we can perhaps help you with that. mozilla products are pretty tricky to compile -notice that not even Pat V. compiles them (except the full mozilla/seamonkey itself).
You might want to look at the build script and mozconfig that I have here:
http://distro.ibiblio.org/pub/linux/...firefox-1.0.7/

The options I use are for compiling with GTK-1.2-only, but if you remove the references to toolkit it should give you a basis to start with.

You might compare with the way I compile mozilla, not using the mozconfig file:
http://distro.ibiblio.org/pub/linux/...ozilla-1.7.12/

However, it's much easier to keep track of your changes if you keep them al in a mozconfig file. Just copy it into the topdir of the sources and then run configure, etc. Running ./configure --help will show the new options which are available.
 
  


Reply

Tags
alien, deb, tgz


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
search for packages for ubuntu alaios Ubuntu 1 11-16-2006 05:21 AM
Identifying "non-native" Slackware-packages in /var/log/packages Yalla-One Slackware 8 07-06-2006 06:57 AM
Debian Packages and Ubuntu saltireboy Ubuntu 1 07-07-2005 07:28 AM
Can ubuntu take .deb packages? Jmcatch742 Linux - Distributions 1 11-04-2004 12:14 AM
Newer Slackware Packages on older slackware version pengStudent Slackware 2 11-12-2003 12:47 PM


All times are GMT -5. The time now is 04:43 PM.

Main Menu
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