Package Details: libfm-fixes-git 20120712-1

Package Base: libfm-fixes-git
Description: the core of next generation file manager PCManFM
Upstream URL: https://github.com/geekless/libfm
Category: system
Licenses: GPL
Submitter: geekless
Maintainer: geekless
Last Packager: None
Votes: 4
First Submitted: 2012-03-24 06:56
Last Updated: 2012-07-12 07:25

Dependencies (5)

Required by (1)

Sources

Latest Comments

Comment by MrMen

2012-06-30 13:42

pcmanfm-fixes-git and libfm-fixes-git cannot be compiled with automake-1.12 so you must force use of automake/aclocal-1.11. The following PKGBUILD seems to work :

#Maintainer : Vadim Ushakov <igeekless [at] gmail [dot] com>

pkgname=libfm-fixes-git
pkgver=20120627
pkgrel=1
url="https://github.com/geekless/libfm"
pkgdesc="the core of next generation file manager PCManFM"
arch=('i686' 'x86_64')
license=('GPL')
depends=('udisks' 'gtk2' 'glib2' 'vala' 'menu-cache')
install='libfm-fixes-git.install'
optdepends=('gvfs: To access remote file systems.'
'ffmpegthumbnailer: video thumbnails'
'pdftoppm: pdf thumbnails'
'convert: epub thumbnails'
'unzip: epub thumbnails')
makedepends=('git' 'intltool' 'perl' 'gtk-doc' 'automake-1.11')
provides=('libfm' )
conflicts=('libfm' 'libfm-git' 'libfm_with_external_thumbnailers')

_gitroot="git://github.com/geekless/libfm"
_gitname="${pkgname%-git}"

build() {

msg "Connecting to GIT server...."
cd "${srcdir}"
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi

[ -d "$srcdir/${_gitname}-build" ] && rm -rf "$srcdir/${_gitname}-build"
git clone "$srcdir/${_gitname}" "$srcdir/${_gitname}-build"

msg "GIT checkout done or server timeout"

msg "Start to build..."
cd "$srcdir/${_gitname}-build"

# to use automake-1.11
sed -i 's/-automake\}/-automake-1\.11\}/; s/-aclocal\$AM_VERSION/-aclocal-1\.11/' autogen.sh

sh ./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --enable-udisks --with-gnu-ld || return 1

# strange: twice make is needed only for makepkg; compiling manually is fine
make || make
}
package ()
{
cd "$srcdir/${_gitname}-build"
make DESTDIR="$pkgdir/" install
#mv $pkgdir/usr/bin/{libfm-demo,libfm}
#install -Dm644 $srcdir/${_gitname}.png $pkgdir/usr/share/pixmaps/${_gitname}.png
#install -Dm755 $srcdir/${_gitname}.desktop $pkgdir/usr/share/applications/${_gitname}.desktop
}

----

libfm-fixes-git.install :

post_install(){
update-mime-database usr/share/mime
}

Can you update please ?

Comment by adaptee

2012-06-24 05:28

==> Start to build...

You must have automake > 1.10 or 1.11 installed
Install the appropriate package for your distribution,
or get the source tarball at http://ftp.gnu.org/gnu/automake/