Actually, makepkg works on the PKGBUILD below, so it just needs an update.
Search Criteria
Package Details: pcmanfm-fixes-git 20120712-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2014-06-07)
| Package Base: | pcmanfm-fixes-git |
|---|---|
| Description: | An extremely fast, lightweight, yet feature-rich file manager with tabbed browsing |
| Upstream URL: | https://github.com/geekless/pcmanfm |
| Category: | x11 |
| Licenses: | |
| Submitter: | geekless |
| Maintainer: | geekless |
| Last Packager: | None |
| Votes: | 7 |
| First Submitted: | 2012-03-24 06:57 |
| Last Updated: | 2012-07-12 07:33 |
Latest Comments
Comment by MrMen
Comment by desperat
My suggestion: try "spacefm-git" instead.
Comment by MrMen
I have found that automake-1.12 cannot compile both pcmanfm-fixes-git and libfm-fixes-git. The solution is to force use of automake/aclocal-1.11 and add it as a dependency. The following PKGBUILD seems to work :
#Maintainer : Vadim Ushakov <igeekless [at] gmail [dot] com>
pkgname=pcmanfm-fixes-git
pkgver=20120627
pkgrel=1
pkgdesc="An extremely fast, lightweight, yet feature-rich file manager with tabbed browsing"
arch=('i686' 'x86_64')
url="https://github.com/geekless/pcmanfm"
license=('GPL')
depends=('libfm-fixes-git' 'desktop-file-utils')
makedepends=('git' 'intltool' 'automake-1.11')
optdepends=('gvfs: mounting of local and remote drives'
'gnome-menus: applications menu and "Open with..." dialog')
provides=('pcmanfm')
conflicts=('pcmanfm' 'pcmanfm-git' 'pcmanfm_with_search')
_gitroot=git://github.com/geekless/pcmanfm
_gitname=pcmanfm
build() {
cd "$srcdir"
msg "Connecting to $_gitroot..."
if [[ -d $_gitname ]]; then
cd $_gitname && git pull origin && cd ..
msg2 "Local files updated"
else
git clone $_gitroot $_gitname
msg2 "Git checkout done"
fi
rm -rf $_gitname-build
git clone $_gitname $_gitname-build
cd $_gitname-build
# to use automake-1.11
sed -i 's/-automake\}/-automake-1\.11\}/; s/-aclocal\$AM_VERSION/-aclocal-1\.11/' autogen.sh
msg "Starting make..."
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd "$srcdir/$_gitname-build"
make DESTDIR="$pkgdir" install
}
Comment by paulbarbee
I think I have the same problem as Lorentz. I try to install this package and it says
==> 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/
==> ERROR: A failure occurred in build().
Aborting...
I have automake 1.12-1 installed from Core.
What is wrong?
Thank you in advance!
Anonymous comment
lumberjack, у меня та-же проблема.
Пробовал комментировать проверку версии в autogen.sh :
#AM_INSTALLED_VERSION=$($AUTOMAKE --version | sed -e '2,$ d' -e 's/.* \([0-9]*\.[0-9]*\).*/\1/')
#if [ "$AM_INSTALLED_VERSION" != "1.10" \
# -a "$AM_INSTALLED_VERSION" != "1.11" ];then
# echo
# echo "You must have automake > 1.10 or 1.11 installed"
# echo "Install the appropriate package for your distribution,"
# echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
# exit 1
#fi
а также обновление исходника в PKGBUILD, чтобы мой изменённый autogen.sh не пропал :
# 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"
только после этого ещё одна ошибка :
[...]
checking for xgettext... (cached) /usr/bin/xgettext
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: `src/Makefile.in'
Понятия не имею.
А почему pcmanfm так долго не обновляется в репозиториях ?!
Comment by lumberjack
программа не саобирается:
...
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/
==> ОШИБКА: Произошел сбой в build().
Преждевременный выход...
==> ERROR: Makepkg was unable to build libfm-fixes-git.
==> Restart building libfm-fixes-git ? [y/N]
...
версия automake 1.12-1 (base-devel).
установка automake версий 1.10 и 1.11 ошибку не исправляют
Comment by Mic92
Please add the external thumbnailer as optional dependencies:
optdepends=('ffmpegthumbnailer: video thumbnails'
'pdftoppm: pdf thumbnails'
'convert: epub thumbnails'
'unzip: epub thumbnails')