Blog Forum Wiki Links Contact Us NetbookUser

You are not logged in.

#1 2008-02-07 4:35:14 pm

clevin
Member
Registered: 2007-11-14
Posts: 75

anybody tried update gtk to 2.10+ for default Xandros?

so far looks like firefox 3.0 will require gtk 2.10+, and eee only has 2.8.

anyone tried successfully get gtk 2.10? from which repo? is it stable?

Last edited by clevin (2008-02-07 4:57:55 pm)

Offline

 

#2 2008-02-07 4:51:35 pm

marf
Senior Member
From: Canada
Registered: 2007-11-01
Posts: 282
Website

Re: anybody tried update gtk to 2.10+ for default Xandros?

I had a little attempt at it but I'm no expert. Tried to compile a package on my eeepc, the gtk, glib, and pango from the website. It was a complete failure haha.

Offline

 

#3 2008-02-07 5:00:48 pm

richardkemp
Senior Member
From: Essex, UK
Registered: 2007-12-15
Posts: 174

Re: anybody tried update gtk to 2.10+ for default Xandros?

I too have struggled with this...


nLite'd XP on White 4G, 2GB of RAM

Offline

 

#4 2008-06-19 4:57:46 am

scullbox
New member
Registered: 2008-06-14
Posts: 5

Re: anybody tried update gtk to 2.10+ for default Xandros?

this is my sources.list:

>cat /etc/apt/sources.list
deb http://update.eeepc.asus.com/p701 p701 main
deb http://update.eeepc.asus.com/p701/en p701 main
deb http://xnv4.xandros.com/4.0/pkg xandros4.0-xn main contrib non-free
deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free
deb http://dccamirror.xandros.com/dccri/ dccri-3.0 main
deb http://www.geekconnection.org/ xandros4 main
deb http://download.tuxfamily.org/eeepcrepos/ p701 main etch

this is the steps that you want to perform to get firefox 3 running on asus eee (Xandros) OS:

sudo apt-get install build-essential pkg-config libtiff4-dev libglib2.0-dev libatk1.0-dev libpango1.0-dev libcairo2-dev # install all deps too.
wget http://ftp.gnome.org/pub/gnome/sources/ … 14.tar.bz2
tar xjvpf gtk+-2.10.14.tar.bz2
cd gtk+-2.10.14
./configure --prefix=/opt/gtk+-2.10.14
make
sudo make install
## Download firefox 3 distribution for linux.
sudo mkdir /opt/firefox3
sudo tar xjvpf My\ Documents/firefox-3.0.tar.bz2 -C /opt/firefox3
killall firefox-bin # you need to kill firefox 2 if it's running, otherwise last line will start another instance of previous version.
echo 'LD_LIBRARY_PATH="/opt/gtk+-2.10.14/lib" /opt/firefox3/firefox/firefox' > /usr/bin/firefox3
chmod +x /usr/bin/firefox3
sudo cp /etc/gtk-2.0/gtkrc /opt/gtk+-2.10.14/etc/gtk-2.0/
sudo cp /usr/lib/gtk-2.0/2.4.0/engines/libclearlooks.so /opt/gtk+-2.10.14/lib/gtk-2.0/2.10.0/engines/
chown -R user:user /opt/firefox3
firefox3

last line will start firefox 3.

it's kinda geeky way to install firefox, and it will take lot of space (overall something like 200M),
you can delete "dev" packages after installation (save some space  ~7m?) ( sudo apt-get remove build-essential pkg-config libtiff4-dev libglib2.0-dev libatk1.0-dev libpango1.0-dev libcairo2-dev )

Last edited by scullbox (2008-06-21 8:06:49 am)

Offline

 

#5 2008-06-19 12:45:38 pm

Susiek
Member
From: France
Registered: 2008-03-22
Posts: 66
Website

Re: anybody tried update gtk to 2.10+ for default Xandros?

"sudo apt-get install build-essential pkg-config libtiff4-dev libglib2.0-dev libatk1.0-dev libpango1.0-dev libcairo2-dev # install all deps too.
wget http://ftp.gnome.org/pub/gnome/sources/ … 14.tar.bz2
tar xjvpf gtk+-2.10.14.tar.bz2
cd gtk+-2.10.14
./configure --prefix=/opt/gtk+-2.10.14
make
sudo make install
## Download firefox 3 distribution for linux.
sudo mkdir /opt/firefox3
sudo tar xjvpf My\ Documents/firefox-3.0.tar.bz2 -C /opt/firefox3
killall firefox-bin # you need to kill firefox 2 if it's running, otherwise last line will start another instance of previous version.
echo 'LD_LIBRARY_PATH="/opt/gtk+-2.10.14/lib" /opt/firefox3/firefox/firefox' > /usr/bin/firefox3
chmod +x /usr/bin/firefox3
firefox3"

May I please clarify - by copying and pasting the above into the terminal, will it download and install Firefox 3 without any other actions required?

Last edited by Susiek (2008-06-19 12:51:30 pm)

Offline

 

#6 2008-06-19 3:09:41 pm

scullbox
New member
Registered: 2008-06-14
Posts: 5

Re: anybody tried update gtk to 2.10+ for default Xandros?

pay attention to small change in my first post.

if you have same repositories in sources.list, you will only need to download firefox distribution by hands ( read comments ).

Offline

 

#7 2008-09-23 11:21:52 am

lizajane999
New member
Registered: 2008-01-01
Posts: 1

Re: anybody tried update gtk to 2.10+ for default Xandros?

I'm running into a dependency problem installing one of the dependencies for GTK+2.10 on my 2G surf.

When I try to install libcairo2-dev I get:
The following packages have unmet dependencies:
libcairo2-dev: Depends: libfontconfig1-dev but it is not going to be installed

Then if I try to install libfontconfig1-dev it gives me:
The following packages have unmet dependencies:
libfontconfig1-dev: Depends: libfontconfig (=2.4.2-1.2) but 2.4.2-1.2asus2 is to be installed

I've tried installing libfontconfig1 but it tells me the newest version is already installed.

It seems that there's an ASUS specific version that is installed and isn't recognized by the other
packages. To uninstall it requires uninstalling practically all the programs on the whole computer!

Is there a way to work around this?

Offline

 

#8 2008-09-23 5:09:25 pm

rayhaque
Senior Member
Registered: 2008-05-31
Posts: 114
Website

Re: anybody tried update gtk to 2.10+ for default Xandros?

I ended up creating my own script.  When I install GTK 2.8, I end up bricking my default Xandros install.  I have combined two methods (clevin, SublimePort).

This script will download gtk, the latest Firefox (3.0.1 at the time of posting) and the Flash plugin.  It will then *jail* them all to their own directory so you are *not* replacing your current GTK libraries!  When this script is done you will have a "firefox3" directory in /home/user and a script to run firefox called "runfirefox3" (located in /home/user).

There are two errors I get consistently.  One is for the missing "clearlooks" gtk theme.  This is probably fixable by adding the other libraries described in SublimePorts post.  There is a second error you will see repeatedly if you visit YouTube.  This was patched in future versions of gtk - but who cares (it doesn't hurt anything).

The script:

#!/bin/bash
mkdir /home/user/firefox3
cd /home/user/firefox3
wget http://apt.linex.org/linex/gtk-2.10/lib … 1_i386.deb
dpkg-deb -x libgtk2.0-0_2.10.13-2~bpo.1_i386.deb gtk2-10
wget "http://download.mozilla.org/?product=firefox-3.0.1&os=linux&lang=en-US"
tar -xjf firefox-3.0.1.tar.bz2
cd /home/user/firefox3/firefox/
sed "2i\\
export LD_LIBRARY_PATH="/home/user/firefox3/gtk2-10/usr/lib"" /home/user/firefox3/firefox/firefox > /home/user/firefox3/firefox/eeefirefox
cp /home/user/firefox3/firefox/firefox-bin /home/user/firefox3/firefox/eeefirefox-bin
ln -s /home/user/firefox3/firefox/eeefirefox /home/user/runfirefox3
chmod 755 /home/user/firefox3/firefox/firefox-bin /home/user/firefox3/firefox/eeefirefox-bin /home/user/runfirefox3
wget "http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz"
tar -xzf install_flash_player_9_linux.tar.gz -C /home/user/firefox3/
ln -s /home/user/firefox3/install_flash_player_9_linux/libflashplayer.so /home/user/firefox3/firefox/plugins/libflashplayer.so

Copy and paste the above into a file called something like "install_firefox3" and save it to your home directory which should be /user/home.  Make the file executable (chmod 755 install_firefox3).  Then run it (./install_firefox3).  Watch the installation go.  Then start firefox with ./runfirefox3.

Enjoy?

If someone wants to fix this to get rid of the "clearlooks" problem - be my guest. ;-)

CREDITS:
clevin: http://forum.eeeuser.com/viewtopic.php?id=22973
SublimePorte: http://forum.eeeuser.com/viewtopic.php?id=33900&p=1

Last edited by rayhaque (2008-09-23 5:10:29 pm)

Offline

 

Board footer

Powered by PunBB 1.2.15
© Copyright 2002–2005 Rickard Andersson