summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2014-03-22 19:00:13 +0000
committerTom Wijsman <tomwij@gentoo.org>2014-03-22 19:00:13 +0000
commitf5d8c9eb069319044289b842f9cfa9ef6ff7b90a (patch)
treea420fa37a529ae4986d3b8f27f1cac90b2817276 /app-admin
parentRemove old. (diff)
downloadgentoo-2-f5d8c9eb069319044289b842f9cfa9ef6ff7b90a.tar.gz
gentoo-2-f5d8c9eb069319044289b842f9cfa9ef6ff7b90a.tar.bz2
gentoo-2-f5d8c9eb069319044289b842f9cfa9ef6ff7b90a.zip
New ebuild for app-admin/mate-system-tools, tools aimed to make easy the administration of UNIX systems; imported from the mate-overlay, reviewed and adjusted.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/mate-system-tools/ChangeLog12
-rw-r--r--app-admin/mate-system-tools/files/mate-system-tools-1.6.0-Update-POTFILES-skip.patch32
-rw-r--r--app-admin/mate-system-tools/mate-system-tools-1.6.0.ebuild84
-rw-r--r--app-admin/mate-system-tools/metadata.xml19
4 files changed, 147 insertions, 0 deletions
diff --git a/app-admin/mate-system-tools/ChangeLog b/app-admin/mate-system-tools/ChangeLog
new file mode 100644
index 000000000000..a949b5edc962
--- /dev/null
+++ b/app-admin/mate-system-tools/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-admin/mate-system-tools
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mate-system-tools/ChangeLog,v 1.1 2014/03/22 19:00:12 tomwij Exp $
+
+*mate-system-tools-1.6.0 (22 Mar 2014)
+
+ 22 Mar 2014; Tom Wijsman <TomWij@gentoo.org>
+ +files/mate-system-tools-1.6.0-Update-POTFILES-skip.patch,
+ +mate-system-tools-1.6.0.ebuild, +metadata.xml:
+ New ebuild for app-admin/mate-system-tools, tools aimed to make easy the
+ administration of UNIX systems; imported from the mate-overlay, reviewed and
+ adjusted.
diff --git a/app-admin/mate-system-tools/files/mate-system-tools-1.6.0-Update-POTFILES-skip.patch b/app-admin/mate-system-tools/files/mate-system-tools-1.6.0-Update-POTFILES-skip.patch
new file mode 100644
index 000000000000..ee89cf57ac8c
--- /dev/null
+++ b/app-admin/mate-system-tools/files/mate-system-tools-1.6.0-Update-POTFILES-skip.patch
@@ -0,0 +1,32 @@
+From 0dc126ba76d32a66c73daa5c2a93980efbc1264e Mon Sep 17 00:00:00 2001
+From: Stefano Karapetsas <stefano@karapetsas.com>
+Date: Sat, 25 Jan 2014 12:29:44 +0100
+Subject: [PATCH] Update POTFILES.skip
+
+---
+ po/POTFILES.skip | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/po/POTFILES.skip b/po/POTFILES.skip
+index a6a3e9f..d54118d 100644
+--- a/po/POTFILES.skip
++++ b/po/POTFILES.skip
+@@ -6,11 +6,11 @@ interfaces/services.glade
+ interfaces/shares.glade
+ interfaces/time.glade
+ interfaces/users.glade
+-src/network/network.desktop.in
+-src/services/services.desktop.in
+-src/shares/shares.desktop.in
+-src/time/time.desktop.in
+-src/users/users.desktop.in
++src/network/mate-network.desktop.in
++src/services/mate-services.desktop.in
++src/shares/mate-shares.desktop.in
++src/time/mate-time.desktop.in
++src/users/mate-users.desktop.in
+ interfaces/disks.glade.in
+ src/disks/callbacks.c
+ src/disks/disks-cdrom-disc.c
+--
+1.8.5.5
diff --git a/app-admin/mate-system-tools/mate-system-tools-1.6.0.ebuild b/app-admin/mate-system-tools/mate-system-tools-1.6.0.ebuild
new file mode 100644
index 000000000000..dce241b5ae61
--- /dev/null
+++ b/app-admin/mate-system-tools/mate-system-tools-1.6.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mate-system-tools/mate-system-tools-1.6.0.ebuild,v 1.1 2014/03/22 19:00:12 tomwij Exp $
+
+EAPI="5"
+
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit autotools eutils gnome2 versionator
+
+MATE_BRANCH="$(get_version_component_range 1-2)"
+
+SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz"
+DESCRIPTION="Tools aimed to make easy the administration of UNIX systems"
+HOMEPAGE="http://mate-desktop.org"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="caja nfs policykit samba"
+
+RDEPEND="app-text/rarian:0
+ >=app-admin/system-tools-backends-2.10.1:0
+ dev-libs/atk:0
+ dev-libs/dbus-glib:0
+ >=dev-libs/glib-2.25.3:2
+ >=dev-libs/liboobs-1.1:0
+ >=sys-apps/dbus-0.32:0
+ sys-libs/cracklib:0
+ x11-libs/gdk-pixbuf:2
+ x11-libs/pango:0
+ >=x11-libs/gtk+-2.19.7:2
+ virtual/libintl:0
+ caja? ( mate-base/mate-file-manager:0 )
+ nfs? ( net-fs/nfs-utils:0 )
+ policykit? (
+ mate-extra/mate-polkit:0
+ >=sys-auth/polkit-0.92:0
+ )
+ samba? ( >=net-fs/samba-3:0 )"
+
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ >=app-text/scrollkeeper-dtd-1:1.0
+ app-text/mate-doc-utils:0
+ sys-devel/gettext:*
+ virtual/pkgconfig:*
+ >=dev-util/intltool-0.35.0:*"
+
+src_prepare() {
+ # add -lm to linker, fixed upstream
+ sed -i 's:DBUS_LIBS):DBUS_LIBS) -lm:' \
+ src/time/Makefile.am || die
+
+ find "${WORKDIR}" -name "*.desktop*" -exec sed -i \
+ -e 's:Categories=MATE;:Categories=:g' {} \; || die
+
+ epatch "${FILESDIR}"/${P}-Update-POTFILES-skip.patch
+
+ # Tarball has no proper build system, should be fixed on next release.
+ mkdir m4 || die
+ autotools_run_tool mate-doc-prepare --force --copy || die
+ autotools_run_tool mate-doc-common --copy || die
+ eautoreconf
+
+ gnome2_src_prepare
+}
+
+src_configure() {
+ local myconf
+ if ! use nfs && ! use samba; then
+ myconf="--disable-shares"
+ fi
+
+ gnome2_src_configure \
+ ${myconf} \
+ --disable-static \
+ $(use_enable policykit polkit-gtk-mate) \
+ $(use_enable caja)
+}
+
+DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
diff --git a/app-admin/mate-system-tools/metadata.xml b/app-admin/mate-system-tools/metadata.xml
new file mode 100644
index 000000000000..cf06c26a4a04
--- /dev/null
+++ b/app-admin/mate-system-tools/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>TomWij@gentoo.org</email>
+ <name>Tom Wijsman</name>
+ </maintainer>
+ <longdescription lang="en">
+ Formerly known as the Ximian Setup Tools, the GST are a fully
+ integrated set of tools aimed to make easy the job that means the
+ computer administration on an UNIX or Linux system. They're
+ thought to help from the new Linux or UNIX user to the system
+ administrators.
+ </longdescription>
+ <use>
+ <flag name="nfs">Adds support for NFS shares</flag>
+ <flag name="caja">Adds support for the Caja file manager</flag>
+ </use>
+</pkgmetadata>