https://bugzilla.xfce.org/show_bug.cgi?id=15090

--- Comment #7 from rmuncr...@humanavance.com ---
Just to end this more cleanly I found and downloaded the current Manjaro
thunar-gtk3 PKGBUILD and discovered that even though it claims to be building
version 1.8.2-9.1 it's actually building 1.8.1git-480dfc.

So I modified it to build 1.8.3-2 with the -gtk3 suffix and dependencies. This
is important if you're using Manjaro because if you try to directly use the
Arch package it conflicts with the Manjaro's GTK3 naming convention. So to save
others time here is the PKGBUILD to create a working drop-in replacement for
thunar-gtk3:

PKGBUILD for Manjaro thunar-gtk3
-----------------------------------------------------------------------------------

# Maintainer: Evangelos Foutras <evange...@foutrelis.com>
# Contributor: Andrew Simmons <andrew.simm...@gmail.com>

_pkgname=thunar
pkgname=$_pkgname-gtk3
pkgver=1.8.3
pkgrel=2
pkgdesc="Modern file manager for Xfce"
arch=('x86_64')
url="http://thunar.xfce.org";
license=('GPL2' 'LGPL2.1')
groups=('xfce4')
depends=('desktop-file-utils' 'libexif' 'hicolor-icon-theme' 'libnotify'
         'libgudev' 'gtk3' 'exo-gtk3' 'libxfce4util-gtk3' 'libxfce4ui-gtk3'
'libpng')
makedepends=('intltool' 'xfce4-dev-tools' 'xfce4-panel-gtk3')
optdepends=('gvfs: for trash support, mounting with udisk and remote
filesystems'
            'xfce4-panel-gtk3: for trash applet'
            'tumbler: for thumbnail previews'
            'thunar-volman: manages removable devices'
            'thunar-archive-plugin: create and deflate archives'
            'thunar-media-tags-plugin: view/edit id3/ogg tags')
source=(https://archive.xfce.org/src/xfce/$_pkgname/${pkgver%.*}/Thunar-$pkgver.tar.bz2
       
thunar-bz14946.patch::https://github.com/xfce-mirror/thunar/commit/4c0e17d7fc.patch)
sha256sums=('c8fa2d55948c4137af6196419372250742790807d12293a804f543491298d32f'
            '23497c2472807b5268b5df3e707940326565f15c480fde755d4fd2f9a86bed8d')

prepare() {
  cd "$srcdir/Thunar-$pkgver"

  # https://bugzilla.xfce.org/show_bug.cgi?id=14946
  patch -Np1 -i ../thunar-bz14946.patch
}

build() {
  cd "$srcdir/Thunar-$pkgver"

  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-gio-unix \
    --enable-gudev \
    --enable-notifications \
    --enable-exif \
    --enable-pcre \
    --disable-debug
  make
}

package() {
  cd "$srcdir/Thunar-$pkgver"
  make DESTDIR="$pkgdir" install

  # Remove file conflicting with nautilus
  # https://bugs.archlinux.org/task/61531
  rm "$pkgdir/usr/share/dbus-1/services/org.freedesktop.FileManager1.service"
}

# vim:set ts=2 sw=2 et:

-----------------------------------------------------------------------------------

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
Xfce-bugs@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to