From 4aec48a05dc06acbc67929836904a97ac3e0b825 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 12 Apr 2010 14:03:18 +0200 Subject: [PATCH] Added gnome-vfs-2.24.2 build template. --HG-- extra : convert_revision : 98e1af8be4277cc87b7e3fc9d183ef7005e8348f --- srcpkgs/gnome-vfs-devel | 1 + srcpkgs/gnome-vfs/depends | 2 + srcpkgs/gnome-vfs/gnome-vfs-devel.template | 37 +++++++++++++ srcpkgs/gnome-vfs/template | 62 ++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 103 insertions(+) create mode 120000 srcpkgs/gnome-vfs-devel create mode 100644 srcpkgs/gnome-vfs/depends create mode 100644 srcpkgs/gnome-vfs/gnome-vfs-devel.template create mode 100644 srcpkgs/gnome-vfs/template diff --git a/srcpkgs/gnome-vfs-devel b/srcpkgs/gnome-vfs-devel new file mode 120000 index 0000000000..d8b1f884a3 --- /dev/null +++ b/srcpkgs/gnome-vfs-devel @@ -0,0 +1 @@ +gnome-vfs \ No newline at end of file diff --git a/srcpkgs/gnome-vfs/depends b/srcpkgs/gnome-vfs/depends new file mode 100644 index 0000000000..6a373ede15 --- /dev/null +++ b/srcpkgs/gnome-vfs/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.24.2" +api_depends="${abi_depends}" diff --git a/srcpkgs/gnome-vfs/gnome-vfs-devel.template b/srcpkgs/gnome-vfs/gnome-vfs-devel.template new file mode 100644 index 0000000000..bc6cb28b4d --- /dev/null +++ b/srcpkgs/gnome-vfs/gnome-vfs-devel.template @@ -0,0 +1,37 @@ +# Template file for 'gnome-vfs-devel'. +# +short_desc="${sourcepkg} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run dbus-devel +Add_dependency run glib-devel +Add_dependency run dbus-glib-devel +Add_dependency run zlib-devel +Add_dependency run bzip2-devel +Add_dependency run libxml2-devel +Add_dependency run mit-krb5-devel +Add_dependency run e2fsprogs-devel +Add_dependency run acl-devel +Add_dependency run attr-devel +Add_dependency run gamin-devel +Add_dependency run openssl-devel +Add_dependency run GConf-devel +Add_dependency run gnome-vfs + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/gnome-vfs-2.0/modules \ + ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/gnome-vfs-2.0/modules/*.a \ + ${DESTDIR}/usr/lib/gnome-vfs-2.0/modules + mv ${SRCPKGDESTDIR}/usr/lib/gnome-vfs-2.0/include \ + ${DESTDIR}/usr/lib/gnome-vfs-2.0 + mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share +} diff --git a/srcpkgs/gnome-vfs/template b/srcpkgs/gnome-vfs/template new file mode 100644 index 0000000000..7231e85bbd --- /dev/null +++ b/srcpkgs/gnome-vfs/template @@ -0,0 +1,62 @@ +# Template file for 'gnome-vfs' +pkgname=gnome-vfs +version=2.24.2 +distfiles="${GNOME_SITE}/$pkgname/2.24/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var --disable-schemas-install +--with-gconf-schema-file-dir=/usr/share/gconf/schemas +--disable-samba --enable-openssl --disable-gnutls --disable-howl +--disable-avahi --disable-hal --enable-ipv6 --enable-fam" +short_desc="GNOME Virtual File System" +maintainer="Juan RP " +checksum=50ecf5f37d377492e8943a3c359ffe64176d4e7f045e9980790eca999a1c6856 +long_desc=" + GNOME VFS is the GNOME virtual file system. It is the foundation of the + Nautilus file manager. It provides a modular architecture and ships with + several modules that implement support for local files, http, ftp and others. + It provides an URI-based API, a backend supporting asynchronous file + operations, a MIME type manipulation library and other features." + +conf_files=" +/etc/gnome-vfs-2.0/modules/default-modules.conf +/etc/gnome-vfs-2.0/modules/ssl-modules.conf" + +gconf_schemas=" +desktop_default_applications.schemas +desktop_gnome_url_handlers.schemas +system_dns_sd.schemas +system_http_proxy.schemas +system_smb.schemas" + +subpackages="$pkgname-devel" + +# XXX: Investigate smb, avahi, hal modules. gnome-vfs is deprecated. +Add_dependency run glibc +Add_dependency run dbus-libs +Add_dependency run glib +Add_dependency run dbus-glib +Add_dependency run zlib +Add_dependency run bzip2 +Add_dependency run libxml2 +Add_dependency run mit-krb5-libs +Add_dependency run e2fsprogs-libs +Add_dependency run acl +Add_dependency run attr +Add_dependency run openssl +Add_dependency run gamin +Add_dependency run GConf +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build dbus-devel +Add_dependency build glib-devel +Add_dependency build dbus-glib-devel +Add_dependency build zlib-devel +Add_dependency build bzip2-devel +Add_dependency build libxml2-devel +Add_dependency build mit-krb5-devel +Add_dependency build e2fsprogs-devel +Add_dependency build acl-devel +Add_dependency build attr-devel +Add_dependency build gamin-devel +Add_dependency build openssl-devel +Add_dependency build GConf-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 23c67f001b..be432f7412 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -528,3 +528,4 @@ libbonobo-activation.so libbonobo libbonobo-devel libORBitCosNaming-2.so ORBit2 ORBit2-devel libORBit-imodule-2.so ORBit2 ORBit2-devel libORBit-2.so ORBit2 ORBit2-devel +libgnomevfs-2.so gnome-vfs gnome-vfs-devel