You are not logged in.

#1 2008-07-09 07:02:20

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

PKGBUILDSs for Thunar with LUKS support

Hi,

I've made some PKGBUILDs for exo-svn, thunar-svn and thunar-volman which use patches to provide support for LUKS encrypted devices in Thunar.

I didn't upload them to AUR, cause I will not use the packages. I only wanted to see if it works already and will wait until it's integrated in the stable release of Thunar.

exo-svn-luks

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: aurelien <aurelien@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>

pkgname=exo-svn-luks
pkgver=27155
pkgrel=1
pkgdesc="Extensions to Xfce by os-cillation - patched for LUKS support"
arch=(i686)
license=('GPL2' 'LGPL2')
url="http://www.os-cillation.com/article.php?sid=40"
groups=('xfce4')
depends=('libxfce4util>=4.4.2' 'gtk2>=2.12.1' 'hal' 'perl-uri')
makedepends=('pygtk>=2.12.0' 'pkgconfig' 'xfce-mcs-manager>=4.4.2 xfce4-dev-tools')
options=('!libtool')
provides=('exo')
conflicts=('exo')
install=${pkgname}.install
source=(http://bugzilla.xfce.org/attachment.cgi?id=1689)
md5sums=('7a1af943b1df32b6f89ae91823118a22' '22738e04b61e407b583c49ea661b9c63')

_svntrunk=http://svn.xfce.org/svn/xfce/libexo/trunk/
_svnmod=libexo

build() {
    cd $startdir/src
    # Get Latest Source Code
    svn co $_svntrunk $_svnmod
                        
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
                                                              
    cd $_svnmod
    patch -Np0 -i ../attachment.cgi?id=1689 || return 1
    ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
      --localstatedir=/var --disable-static \
      --enable-mcs-plugin --enable-python
    make || return 1
    make DESTDIR=${startdir}/pkg install
}

thunar-svn-luks

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=thunar-svn-luks
pkgver=27155
pkgrel=1
pkgdesc="new modern file manager for Xfce - patched for LUKS support"
arch=(i686)
license=('GPL2' 'LGPL2')
url="http://thunar.xfce.org"
groups=('xfce4') 
depends=('exo-svn-luks' 'shared-mime-info' 'pcre' \
         'desktop-file-utils' 'libexif' 'hal' 'fam' \
         'startup-notification')
makedepends=('intltool' 'pkgconfig' 'xfce4-dev-tools')
provides=('thunar')
conflicts=('thunar')
options=('!libtool')
install=${pkgname}.install
source=(http://bugzilla.xfce.org/attachment.cgi?id=1690)
md5sums=('7f381d597d9c34e7f427fe65b011709b')

_svntrunk=http://svn.xfce.org/svn/xfce/thunar/trunk/
_svnmod=thunar

build() {
    cd $startdir/src
    # Get Latest Source Code
    svn co $_svntrunk $_svnmod
                
    msg "SVN checkout done or server timeout"
    msg "Starting make..."
                                
    cd $_svnmod

    patch -Np0 -i ../attachment.cgi?id=1690 || return 1
     ./autogen.sh --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
      --localstatedir=/var --disable-static \
      --disable-gnome-thumbnailers --enable-exif --enable-pcre
    make || return 1
    make DESTDIR=${startdir}/pkg install
    sed -i 's:x-directory/gnome-default-handler;::' ${startdir}/pkg/usr/share/applications/Thunar-folder-handler.desktop
}

thunar-volman-luks

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>

pkgname=thunar-volman-luks
pkgver=0.2.0
pkgrel=1
pkgdesc="automatic management for removeable devices in thunar - patched for LUKS support"
arch=(i686)
license=('GPL2')
url="http://foo-projects.org/~benny/projects/thunar-volman"
groups=('xfce4-goodies')
depends=('thunar-svn-luks')
makedepends=('intltool' 'pkgconfig')
provides=('thunar-volman')
conflicts=('thunar-volman')
options=('!libtool')
install=${pkgname}.install
source=(http://download.berlios.de/xfce-goodies/thunar-volman-${pkgver}.tar.bz2 \
        http://bugzilla.xfce.org/attachment.cgi?id=1691
)
md5sums=('e4587967fe3b3858d93735fee3edb2fc' 'a5590137233af36fbccf721562312161')

build() {
  cd ${startdir}/src/thunar-volman-${pkgver}
  patch -Np0 -i ../attachment.cgi?id=1691 || return 1
  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/xfce4 \
    --localstatedir=/var --disable-static
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

The .install files are just renamed copies from the .install files in the ABS tree.

Offline

Board footer

Powered by FluxBB