how to update pcmanfm to v1.1.0 ?

Please post all general support questions for LXDE here.
Locked
Littlebig1
Posts: 9
Joined: Sat Dec 08, 2012 9:24 am

how to update pcmanfm to v1.1.0 ?

Post by Littlebig1 »

Hi,

I'm using Lubuntu v12.04 32bits and I would like to update pcmanfm to v1.1.0 as I saw it working somewhere else and it seems to works better than mine.
I'vre downloaded the packs from sourceforge but there is only source code inside. I have not find anywhere a compiled version or a .deb file ready
to install (the Lxde blog states it also needs libfm). Please can someone provide some help and tell me how I can update my systems ?

Thanks in advance.
Rex Bouwense
Posts: 1109
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: how to update pcmanfm to v1.1.0 ?

Post by Rex Bouwense »

As far as I know (and this web site confirms it) there is no official way.
http://ubuntuforums.org/showthread.php?t=2114836
The poster indicates a possible source but I have not tried it. I am using Lubuntu 12.04 with PCManFM .9.10 and Lubuntu 12.10 with PCManFM 1.01.
Rex
Littlebig1
Posts: 9
Joined: Sat Dec 08, 2012 9:24 am

Re: how to update pcmanfm to v1.1.0 ?

Post by Littlebig1 »

Rex Bouwense wrote:As far as I know (and this web site confirms it) there is no official way.
http://ubuntuforums.org/showthread.php?t=2114836
The poster indicates a possible source but I have not tried it. I am using Lubuntu 12.04 with PCManFM .9.10 and Lubuntu 12.10 with PCManFM 1.01.
I've been looking for the package but it's not there. I think it was removed when LinuxLite moved from PCManFM to Thunar.

I tried to compile it myself from the package I downloaded at SourceForge
http://sourceforge.net/projects/pcmanfm ... 9/PCManFM/

But compilation failed (PCManFM and libfm) with the following error:

Code: Select all

./configure: line 12839: intltool-update: command not found
checking for intltool >= 0.40.0...  found
configure: error: Your intltool is too old.  You need intltool 0.40.0 or later.
It would be great to have a ready-to-use DEB package at SourceForge, but at least I hope someone can help with the compilation :-)

Best regards
Littlebig1
Posts: 9
Joined: Sat Dec 08, 2012 9:24 am

Re: how to update pcmanfm to v1.1.0 ?

Post by Littlebig1 »

I found a wiki !! :oops:
http://wiki.lxde.org/en/LXDE:PCManFM_bu ... etup_guide

God bless programmers whom write their documentations :geek:

First step, I had to install all required dependencies:

Code: Select all

sudo apt-get install dpkg-dev autoconf automake autotools-dev intltool libglib2.0-dev libgtk2.0-dev libmenu-cache1-dev libtool pkg-config
Then I found valac was also missing... All in all, that's around 70 Mo

Code: Select all

sudo apt-get install valac
Then moved libfm and PCManFM sources to /usr/src and started to compile as explained in the wiki
Compile and install components:

libfm:
if you have valac >= 0.13 available

Code: Select all

cd /usr/src/libfm
./configure --prefix=/usr && make
DEB_MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null` && rm -f /usr/lib/$DEB_MULTIARCH/libfm-*
sudo make install-strip
pcmanfm:

Code: Select all

cd /usr/src/pcmanfm
./configure --prefix=/usr && make
sudo make install-strip
So far so good ... 8-) Launch PCManFM to check release number and it's v1.1.0 !

Now, I really don't know what to with the runtime dependencies the wiki is talking about, it seems important ok, but what can I do to make it good for my Lubuntu 12.04 ?

Also, can I remove now all this 70 Mo I had to install or is there something absolutely needed ? I have a small system and need space as much as I can...

Best regards
Locked