summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-18 08:17:50 -0700
committerStefano Karapetsas <[email protected]>2013-10-18 08:17:50 -0700
commit63a43cfd77e7d8677bab2dbd3323bf0f3c7f51e0 (patch)
tree4f1205780d8698ec1f631251b909383801052a78
parent65506a18e77da734bb0f82f04dd2517fc5c4b8bf (diff)
parent7f698a6b163da556164b9b92d11d8d54498bddb5 (diff)
downloadengrampa-63a43cfd77e7d8677bab2dbd3323bf0f3c7f51e0.tar.bz2
engrampa-63a43cfd77e7d8677bab2dbd3323bf0f3c7f51e0.tar.xz
Merge pull request #31 from infirit/master
Finish the mate-file-archiver -> engrampa rename + misc fixes
-rw-r--r--Makefile.am2
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac3
-rw-r--r--data/Makefile.am3
-rw-r--r--distro/archlinux/PKGBUILD49
-rw-r--r--distro/archlinux/mate-file-archiver.install25
6 files changed, 7 insertions, 77 deletions
diff --git a/Makefile.am b/Makefile.am
index 82d04be..514a751 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,6 @@
## Process this file with automake to produce Makefile.in.
+ACLOCAL_AMFLAGS = -I m4
+
if ENABLE_CAJA_ACTIONS
CAJA = caja
else
diff --git a/autogen.sh b/autogen.sh
index 7f350db..d489707 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,7 +4,7 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
-PKG_NAME="mate-file-archiver"
+PKG_NAME="engrampa"
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
diff --git a/configure.ac b/configure.ac
index 9932084..b41ea5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,11 +3,12 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT([engrampa], [1.6.0], [http://www.mate-desktop.org/])
-AM_INIT_AUTOMAKE([1.9 foreign])
+AM_INIT_AUTOMAKE([1.9 foreign dist-xz no-dist-gzip])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])
+AC_CONFIG_MACRO_DIR([m4])
MATE_COMMON_INIT
diff --git a/data/Makefile.am b/data/Makefile.am
index 41375d6..2c7fc8e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -53,6 +53,7 @@ CLEANFILES = \
$(gsettings_SCHEMAS) \
$(NULL)
-dist-hook: cd $(distdir); rm -f $(CLEANFILES)
+dist-hook:
+ cd $(distdir); rm -f $(CLEANFILES)
-include $(top_srcdir)/git.mk
diff --git a/distro/archlinux/PKGBUILD b/distro/archlinux/PKGBUILD
deleted file mode 100644
index 6b357c9..0000000
--- a/distro/archlinux/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# Maintainer: Spyros Stathopoulos <[email protected]>
-# Contributor: Alessio Sergi <asergi at archlinux dot us>
-pkgname=mate-extract
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="Archive manipulator for MATE"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('desktop-file-utils' 'mate-conf' 'hicolor-icon-theme')
-makedepends=('mate-doc-utils' 'intltool')
-conflicts=('engrampa' 'engrampa2')
-optdepends=('unrar: for RAR uncompression'
-'zip: for ZIP archives' 'unzip: for ZIP archives'
-'p7zip: 7zip compression utility' 'arj: for ARJ archives'
-'unace: extraction tool for the proprietary ace archive format')
-options=('!libtool' '!emptydirs')
-install=mate-extract.install
-url="http://matsusoft.com.ar/projects"
-groups=('mate-extras')
-source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
-md5sums=('4f26837dca3752cc9d17cdbcb16c4ed5')
-
-build() {
- cd "$srcdir/$pkgname"
-
- mate-doc-prepare --force
- autoreconf -i
- aclocal
-
- ./configure --prefix=/usr \
- --disable-static \
- --localstatedir=/var \
- --libexecdir=/usr/lib/${pkgname} \
- --disable-scrollkeeper \
- --disable-schemas-install \
- --sysconfdir=/etc \
- --disable-packagekit
- make
-}
-
-package() {
- cd "$srcdir/$pkgname"
- make MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install
- install -d -m755 "${pkgdir}/usr/share/mateconf/schemas"
- mateconf-merge-schema "${pkgdir}/usr/share/mateconf/schemas/${pkgname}.schemas" --domain ${pkgname} "${pkgdir}/etc/mateconf/schemas/*.schemas"
- rm -f "${pkgdir}/etc/mateconf/schemas/*.schemas"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/distro/archlinux/mate-file-archiver.install b/distro/archlinux/mate-file-archiver.install
deleted file mode 100644
index fbbe087..0000000
--- a/distro/archlinux/mate-file-archiver.install
+++ /dev/null
@@ -1,25 +0,0 @@
-pkgname=engrampa
-
-post_install() {
- usr/sbin/mateconfpkg --install ${pkgname}
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-desktop-database -q
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/mateconfpkg --uninstall ${pkgname}
-}
-
-post_remove() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-desktop-database -q
-}
-