pcmanfm my version

The dedicated forum for PCMan File Manager - http://wiki.lxde.org/en/PCManFM
Corto
Posts: 14
Joined: Thu Feb 19, 2009 5:21 pm

pcmanfm my version

Post by Corto »

I modify pcmanfm with this features:
- inotify support complete
- vfs volume support without hal (the both modifications allows to use pcmanfm without any other daemon, the kernel does every thing)
- buggy KDE *.desktop files support partially
- few bug fix (mime cache monitoring, dialog box without installation, ...)
- version 0.6 for me

Pcmanfm does every thing that I want now, then I stop the development.
Thank you for all I hope that you will like my modifications...
Frank
Posts: 28
Joined: Sat Sep 27, 2008 4:42 pm

Re: pcmanfm my version

Post by Frank »

Sounds great. Where can your version be downloaded?
Corto
Posts: 14
Joined: Thu Feb 19, 2009 5:21 pm

Re: pcmanfm my version

Post by Corto »

Hello,
join here the patch to apply to the directory pcmanfm-0.5

> ls
pcmanfm-0.5 patch-0.5-0.6.2.gz
> cd pcmafm-0.5
> zcat ../patch-0.5-0.6.2.gz | patch -p 1
> ./autogen.sh
> make
> make install

I added:
- the previous features.
- kde themes full support
- .directory file support
Attachments
patch-0.5-0.6.2.gz
(24.65 KiB) Downloaded 406 times
Frank
Posts: 28
Joined: Sat Sep 27, 2008 4:42 pm

Re: pcmanfm my version

Post by Frank »

Thank you for the patch. Somehow it did not work. My steps were: I downloaded a fresh copy of PCManFM 0.5 from SourceForge, extracted it, and applied your patch. This produced many errors, see the attached file "patch.log.gz". I ran "autogen.sh" nevertheless, but it did not run to completion, see the attached file "autogen.sh.log.gz".
Attachments
patch.log.gz
Output from the "patch" step
(539 Bytes) Downloaded 368 times
autogen.sh.log.gz
Errors from the "autogen.sh" step
(387 Bytes) Downloaded 373 times
Corto
Posts: 14
Joined: Thu Feb 19, 2009 5:21 pm

Re: pcmanfm my version

Post by Corto »

There isn't critical error, all of them come from the use of different version of autotools (autoheader, aclocal, automake, autoconf)
Delete the files:
- configure
- all Makefile.in
- autom4te.cache
- aclocal.m4
After run the commands:
if Makefile is present
> make distclean
and after:
> libtoolize --force --copy
> autoheader
> aclocal
> automake
> autoconf
> ./configure --prefix=/usr --enable-fam --enable-inotify (--disable-hal)
> make
> make install
karabaja4
Posts: 11
Joined: Wed Dec 31, 2008 12:23 am

Re: pcmanfm my version

Post by karabaja4 »

Since you look like you know your coding... :)

Can you help me to hack pcmanfm so it doesn't display the godawful annoying "My Documents" icon on the desktop?

I tried to comment out lines 1831-1844 in src/desktop/desktop-window.c - that removes the icon but also causes pcmanfm to freeze when trying to display right click menu on the desktop (menu provided by pcmanfm).

any help would be really appreciated.
Frank
Posts: 28
Joined: Sat Sep 27, 2008 4:42 pm

Re: pcmanfm my version

Post by Frank »

Sorry, it did not work.

My program versions, as found by running "<progname> --version": autoheader 2.63, aclocal 1.10.1, automake 1.10.1, autoconf 2.63, libtoolize 2.2.6, m4 1.4.11, gettext 0.17, intltoolize 0.37.1, gcc 4.3.2. GTK+ 2.14.4 is installed in /usr/local, with its PKGCONFIG-file in /usr/local/lib/pkgconfig, which is listed in the PKG_CONFIG_PATH.

I can play with it over the weekend, but maybe you see the problem faster. Here is what I did:
Corto wrote:Delete the files:
- configure
Deleted.
Corto wrote: - all Makefile.in
Deleted (both of them: the one in the top folder, and the one in "src").
Corto wrote: - autom4te.cache
Did not exist.
Corto wrote: - aclocal.m4
Deleted.
Corto wrote:After run the commands:
if Makefile is present
> make distclean
Makefile was not present.
Corto wrote:and after:
> libtoolize --force --copy
Done. Output:

libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Corto wrote:> autoheader
Done. No output was produced.
Corto wrote:> aclocal
Done. Output:

configure.in:231: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
Corto wrote:> automake
Done. Output:

src/Makefile.am:19: compiling `mime-type.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
Corto wrote:> autoconf
Done. Output:

configure.in:231: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Corto wrote:> ./configure --prefix=/usr --enable-fam --enable-inotify (--disable-hal)
Done, including the "--disable-hal" parameter. End of output:

checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
./configure: line 12734: IT_PROG_INTLTOOL: command not found
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
./configure: line 13360: syntax error near unexpected token `GTK,'
./configure: line 13360: `PKG_CHECK_MODULES(GTK, $gtk_modules)'
Corto wrote:> make
> make install
There was no Makefile, so I did not run these.
Corto
Posts: 14
Joined: Thu Feb 19, 2009 5:21 pm

Re: pcmanfm my version

Post by Corto »

There is a lot of problems with autotools version.

try to run ./autogen.sh

or you can use this "configure.gz" that you gunzip first.
Attachments
configure.gz
(163.91 KiB) Downloaded 384 times
Corto
Posts: 14
Joined: Thu Feb 19, 2009 5:21 pm

Re: pcmanfm my version

Post by Corto »

Hello,
here my patch from the svn repository.
Added:
- from 2 to 4 buttons on the bottom of the side panel: first the dir tree, the system button (HOME, DESKTOP, ROOT, BOOKMARKS), the network button (HOME, NETWORK), the host button (HOME, REMOVABLE, ROOT)
Corto
Posts: 14
Joined: Thu Feb 19, 2009 5:21 pm

Re: pcmanfm my version

Post by Corto »

I forgot the file, sorry
Attachments
patch-pcman-svn-0.6.gz
(22.16 KiB) Downloaded 407 times
Locked