Package Details: libfm-directory_thumbnails 1.3.2-1

Git Clone URL: https://aur.archlinux.org/libfm-directory_thumbnails.git (read-only, click to copy)
Package Base: libfm-directory_thumbnails
Description: Library for file management. Patched to allow directory thumbnails.
Upstream URL: https://sourceforge.net/projects/pcmanfm/
Licenses: GPL2
Conflicts: libfm
Provides: libfm
Submitter: gcavallo
Maintainer: gcavallo (vs220)
Last Packager: gcavallo
Votes: 3
Popularity: 0.000000
First Submitted: 2016-09-29 04:06 (UTC)
Last Updated: 2024-01-22 22:53 (UTC)

Latest Comments

vs220 commented on 2019-04-28 21:08 (UTC)

@gcavallo Thanks for adding to the maintainers

gcavallo commented on 2019-04-27 21:47 (UTC)

@vs220 I will update the package tonight. Would you like to be added as a co-maintainer?

vs220 commented on 2019-01-27 14:15 (UTC)

After update libfm 1.3.1 Edit PKGBUILD pkgver=1.3.1 pkgrel=1 sha256sums=('96b1244bde41ca0eef0332cfb5c67bb16725dfd102128f3e6f74fadc13a1cfe4' '7065c345ae29762a6e3d75c6757b999c5d609a967f61522c15f6e85d8b4bc9ef' 'f1fc131318b1b87bc5614738ad864f44b389da004ea7afd57be88f72f1a7d698')

working PKGBUILD

Maintainer: Gabriel Cavallo gabrielcavallo@mail.com

pkgname=libfm-directory_thumbnails pkgver=1.3.1 pkgrel=1 pkgdesc='Library for file management. Patched to allow directory thumbnails.' depends=('gtk2' 'libexif' "libfm-extra=$pkgver" 'menu-cache') makedepends=('intltool' 'vala') provides=("libfm=$pkgver") conflicts=("libfm=$pkgver") url='https://sourceforge.net/projects/pcmanfm/' arch=('i686' 'x86_64') license=('GPL2') source=("https://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz" 'https://sourceforge.net/p/pcmanfm/bugs/1020/attachment/directory_thumbnails.patch' 'https://gist.githubusercontent.com/gcavallo/8367304d725c6da03277500d4edb57ff/raw/8487492b4f6a30c924e5d77627bd49998e7da22d/fm-file-info.patch') sha256sums=('96b1244bde41ca0eef0332cfb5c67bb16725dfd102128f3e6f74fadc13a1cfe4' '7065c345ae29762a6e3d75c6757b999c5d609a967f61522c15f6e85d8b4bc9ef' 'f1fc131318b1b87bc5614738ad864f44b389da004ea7afd57be88f72f1a7d698')

prepare() { cd "$srcdir/libfm-$pkgver" patch -Np1 < '../directory_thumbnails.patch' patch -Np1 < '../fm-file-info.patch' }

build() { cd "$srcdir/libfm-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-actions \ --with-gnu-ld

# <https://bugzilla.gnome.org/show_bug.cgi?id=656231>
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

make

}

package() { cd "$srcdir/libfm-$pkgver"

make DESTDIR="$pkgdir/" install

# Temporary fix to [FS#32361](https://bugs.archlinux.org/task/32361)
rm -rf "$pkgdir"/usr/include/libfm
mv "$pkgdir"/usr/include/libfm-1.0/ "$pkgdir"/usr/include/libfm

# libfm-extra
rm -rf "$pkgdir"/usr/include/libfm/fm-{extra,version,xml-file}.h \
       "$pkgdir"/usr/lib/libfm-extra.* \
       "$pkgdir"/usr/lib/pkgconfig/libfm-extra.pc

# libfm-gtk2
rm -rf "$pkgdir"/usr/bin \
       "$pkgdir"/usr/lib/libfm-gtk.* \
       "$pkgdir"/usr/lib/libfm/modules/gtk-* \
       "$pkgdir"/usr/lib/pkgconfig/libfm-gtk.pc \
       "$pkgdir"/usr/share/applications \
       "$pkgdir"/usr/share/man

}

vs220 commented on 2018-04-28 21:37 (UTC) (edited on 2018-04-30 18:19 (UTC) by vs220)

After update libfm 1.3.0.2-1 Edit PKGBUILD pkgver=1.2.5 > pkgver=1.3.0.2 pkgrel=2 > pkgrel=1 sha256sums= > sha256sums=('18d06f7996ce1cf8947df6e106bc0338c6ae0c4138c316f2501f6f6f435c7c72' '7065c345ae29762a6e3d75c6757b999c5d609a967f61522c15f6e85d8b4bc9ef' 'f1fc131318b1b87bc5614738ad864f44b389da004ea7afd57be88f72f1a7d698')

vs220 commented on 2017-12-31 18:19 (UTC) (edited on 2017-12-31 18:28 (UTC) by vs220)

change the url

https://gist.github.com/gcavallo/8367304d725c6da03277500d4edb57ff/raw/8487492b4f6a30c924e5d77627bd49998e7da22d/fm-file-info.patch

and does not work with gtk-doc >1.24-1

Downgrading gtk-doc >1.24-1 or delete --enable-gtk-doc

working PKGBUILD

Maintainer: Gabriel Cavallo gabrielcavallo@mail.com

pkgname=libfm-directory_thumbnails pkgver=1.2.5 pkgrel=1 pkgdesc='Library for file management. Patched to allow directory thumbnails.' depends=('gtk2' 'libexif' "libfm-extra=$pkgver" 'menu-cache') makedepends=('gtk-doc' 'intltool' 'vala') provides=("libfm=$pkgver") conflicts=("libfm=$pkgver") url='https://sourceforge.net/projects/pcmanfm/' arch=('i686' 'x86_64') license=('GPL2') source=("https://downloads.sourceforge.net/pcmanfm/libfm-$pkgver.tar.xz" 'https://sourceforge.net/p/pcmanfm/bugs/1020/attachment/directory_thumbnails.patch' "https://gist.github.com/gcavallo/8367304d725c6da03277500d4edb57ff/raw/8487492b4f6a30c924e5d77627bd49998e7da22d/fm-file-info.patch") sha256sums=('c706bb1020cf5f2d6f5a9226f692ce1985947134dcf2bde64278bd0420779b5a' '7065c345ae29762a6e3d75c6757b999c5d609a967f61522c15f6e85d8b4bc9ef' 'f1fc131318b1b87bc5614738ad864f44b389da004ea7afd57be88f72f1a7d698')

prepare() { cd "$srcdir/libfm-$pkgver" patch -Np1 < '../directory_thumbnails.patch' patch -Np1 < "../fm-file-info.patch" }

build() { cd "$srcdir/libfm-$pkgver" ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-actions \ --with-gnu-ld

# <https://bugzilla.gnome.org/show_bug.cgi?id=656231>
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

make

}

package() { cd "$srcdir/libfm-$pkgver"

make DESTDIR="$pkgdir/" install

# Temporary fix to [FS#32361](https://bugs.archlinux.org/task/32361)
rm -rf "$pkgdir"/usr/include/libfm
mv "$pkgdir"/usr/include/libfm-1.0/ "$pkgdir"/usr/include/libfm

# libfm-extra
rm -rf "$pkgdir"/usr/include/libfm/fm-{extra,version,xml-file}.h \
       "$pkgdir"/usr/lib/libfm-extra.* \
       "$pkgdir"/usr/lib/pkgconfig/libfm-extra.pc

# libfm-gtk2
rm -rf "$pkgdir"/usr/bin \
       "$pkgdir"/usr/lib/libfm-gtk.* \
       "$pkgdir"/usr/lib/libfm/modules/gtk-* \
       "$pkgdir"/usr/lib/pkgconfig/libfm-gtk.pc \
       "$pkgdir"/usr/share/applications \
       "$pkgdir"/usr/share/man

}

vs220 commented on 2017-12-31 17:12 (UTC)

https://github.com/tsujan/libfm/commit/49150d1f66e1be15ac9fdcb4416e4f0cd06a9dd3.patch 404 Not Found