summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2015-03-10 01:43:59 +0000
committerYixun Lan <dlan@gentoo.org>2015-03-10 01:43:59 +0000
commitd39ffc8b4f30c3994597ec63270032d74f230a90 (patch)
tree3c43c60fa53debbfb5ec0fac3a911b54d90582ce /app-misc/rox-filer
parentAdded mask for =pypy-2.5.0 (diff)
downloadgentoo-2-d39ffc8b4f30c3994597ec63270032d74f230a90.tar.gz
gentoo-2-d39ffc8b4f30c3994597ec63270032d74f230a90.tar.bz2
gentoo-2-d39ffc8b4f30c3994597ec63270032d74f230a90.zip
initial import, bug 537388, thanks Punarbasu 'ppurka' Purkayastha, sitquietly
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'app-misc/rox-filer')
-rw-r--r--app-misc/rox-filer/ChangeLog11
-rw-r--r--app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch15
-rw-r--r--app-misc/rox-filer/files/rox.desktop10
-rw-r--r--app-misc/rox-filer/metadata.xml33
-rw-r--r--app-misc/rox-filer/rox-filer-2.11.ebuild71
5 files changed, 140 insertions, 0 deletions
diff --git a/app-misc/rox-filer/ChangeLog b/app-misc/rox-filer/ChangeLog
new file mode 100644
index 000000000000..026b7748659e
--- /dev/null
+++ b/app-misc/rox-filer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-misc/rox-filer
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/rox-filer/ChangeLog,v 1.1 2015/03/10 01:43:58 dlan Exp $
+
+*rox-filer-2.11 (10 Mar 2015)
+
+ 10 Mar 2015; Yixun Lan <dlan@gentoo.org> +rox-filer-2.11.ebuild,
+ +files/rox-filer-2.11-in-source-build.patch, +files/rox.desktop,
+ +metadata.xml:
+ initial import, bug 537388, thanks Punarbasu 'ppurka' Purkayastha, sitquietly
+
diff --git a/app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch b/app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch
new file mode 100644
index 000000000000..d5400ec5f63f
--- /dev/null
+++ b/app-misc/rox-filer/files/rox-filer-2.11-in-source-build.patch
@@ -0,0 +1,15 @@
+--- /root/configure 2015-03-09 16:39:03.921516152 +0800
++++ src/configure 2015-03-09 16:39:08.455516081 +0800
+@@ -2133,12 +2133,6 @@
+
+ ac_config_headers="$ac_config_headers config.h"
+
+-
+- if [ -f configure ]; then
+- as_fn_error $? "Please run configure from the build directory (try ../AppRun --compile)" "$LINENO" 5
+- exit 1
+-fi
+-
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff --git a/app-misc/rox-filer/files/rox.desktop b/app-misc/rox-filer/files/rox.desktop
new file mode 100644
index 000000000000..583eefaef6a6
--- /dev/null
+++ b/app-misc/rox-filer/files/rox.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Rox-Filer
+Comment=The Rox File Manager
+Icon=rox
+Exec=rox
+Categories=GTK;Utility;System;Core;
+StartupNotify=true
+Terminal=false
diff --git a/app-misc/rox-filer/metadata.xml b/app-misc/rox-filer/metadata.xml
new file mode 100644
index 000000000000..386e0d25ea97
--- /dev/null
+++ b/app-misc/rox-filer/metadata.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>proxy-maintainers</herd>
+<maintainer>
+ <email>ppurka@gmail.com</email>
+ <name>Punarbasu 'ppurka' Purkayastha</name>
+ <description>Primary Maintainer, Assign bugs</description>
+</maintainer>
+<maintainer>
+ <email>forestmoonsilence@gmail.com</email>
+ <name>sitquietly</name>
+ <description>Co Maintainer, CC bugs</description>
+</maintainer>
+<upstream>
+ <maintainer status="active">
+ <email>talex5@gmail.com</email>
+ <name>Thomas Leonard</name>
+ <description>Primary Author</description>
+ </maintainer>
+ <bugs-to>http://rox.sourceforge.net/desktop/lists</bugs-to>
+ <remote-id type="sourceforge">rox</remote-id>
+</upstream>
+<longdescription lang="en">
+ ROX-Filer is a fast and powerful graphical file manager for the
+ X Window System. You can use it as a small and fast filer within your
+ current desktop, or get it to manage your pinboard, panels and
+ applications. It is also the core component of the ROX Desktop.
+ Many of the filer's features were inspired by RISC OS. `ROX'
+ stands for `RISC OS–On–X'. The latest development for ROX-Filer can be
+ found in GitHub: https://github.com/rox-desktop/rox-filer
+</longdescription>
+</pkgmetadata>
diff --git a/app-misc/rox-filer/rox-filer-2.11.ebuild b/app-misc/rox-filer/rox-filer-2.11.ebuild
new file mode 100644
index 000000000000..37f4046b50f7
--- /dev/null
+++ b/app-misc/rox-filer/rox-filer-2.11.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/rox-filer/rox-filer-2.11.ebuild,v 1.1 2015/03/10 01:43:58 dlan Exp $
+
+EAPI=5
+inherit eutils virtualx
+
+DESCRIPTION="ROX-Filer a drag and drop spatial file manager"
+HOMEPAGE="http://rox.sourceforge.net/desktop"
+SRC_URI="mirror://sourceforge/rox/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="dev-lang/perl
+ dev-libs/libxml2:2
+ gnome-base/libglade:2.0
+ x11-libs/gtk+:2"
+RDEPEND="${COMMON_DEPEND}
+ x11-misc/shared-mime-info"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}"/ROX-Filer/src
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-in-source-build.patch"
+
+ sed -i -e 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' \
+ main.c || die "sed failed"
+}
+
+src_configure() {
+ econf LIBS="-lm -ldl"
+}
+
+src_install() {
+ cd "${WORKDIR}/${P}"/ROX-Filer || die
+ dodir /usr/share/applications /usr/share/pixmaps /usr/share/rox/Help
+ insinto /usr/share/rox
+ doins -r Messages Options.xml ROX images style.css .DirIcon Templates.ui
+ insinto /usr/share/rox/Help
+ doins Help/*.html Help/README*
+
+ doman ../rox.1
+
+ newbin ROX-Filer rox
+
+ dosym /usr/share/rox/ROX/MIME/text-x-{diff,patch}.png
+ dosym /usr/share/rox/ROX/MIME/application-x-font-{afm,type1}.png
+ dosym /usr/share/rox/ROX/MIME/application-xml{,-dtd}.png
+ dosym /usr/share/rox/ROX/MIME/application-xml{,-external-parsed-entity}.png
+ dosym /usr/share/rox/ROX/MIME/application-{,rdf+}xml.png
+ dosym /usr/share/rox/ROX/MIME/application-x{ml,-xbel}.png
+ dosym /usr/share/rox/ROX/MIME/application-{x-shell,java}script.png
+ dosym /usr/share/rox/ROX/MIME/application-x-{bzip,xz}-compressed-tar.png
+ dosym /usr/share/rox/ROX/MIME/application-x-{bzip,lzma}-compressed-tar.png
+ dosym /usr/share/rox/ROX/MIME/application-x-{bzip-compressed-tar,lzo}.png
+ dosym /usr/share/rox/ROX/MIME/application-x-{bzip,xz}.png
+ dosym /usr/share/rox/ROX/MIME/application-x-{gzip,lzma}.png
+ dosym /usr/share/rox/ROX/MIME/application-{msword,rtf}.png
+
+ dosym /usr/share/rox/.DirIcon /usr/share/pixmaps/rox.png
+
+ insinto /usr/share/applications
+ doins "${FILESDIR}"/rox.desktop
+}