summaryrefslogtreecommitdiff
path: root/app-misc/fslint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/fslint
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/fslint')
-rw-r--r--app-misc/fslint/Manifest5
-rw-r--r--app-misc/fslint/fslint-2.46.ebuild79
-rw-r--r--app-misc/fslint/metadata.xml8
3 files changed, 92 insertions, 0 deletions
diff --git a/app-misc/fslint/Manifest b/app-misc/fslint/Manifest
new file mode 100644
index 000000000000..fd7791229822
--- /dev/null
+++ b/app-misc/fslint/Manifest
@@ -0,0 +1,5 @@
+DIST fslint-2.46.tar.xz 135988 SHA256 f15daebfecfd2eea0d3b48a0193e25974b71dcf1e4b4a33d5a3dcfb7bb9c90cc SHA512 7b6122b5920d37548cfb05bb986cc29a86c7de9f549375923299c23fe19cbc8c6a521feafcf6df6fe0562dae8b6a4e804f24fdf5a833ea2b68308be41a96b696 WHIRLPOOL 2ec6e5e494f140ad3af6b159e0838253851b2b87478b6208030eec7c3c6b178311822b1e45703e6c55bc236ab9e308b2c16e178ea1c4577695c1e34f9e85efe0
+EBUILD fslint-2.46.ebuild 2137 SHA256 a23e61bad875b862cfc6da00d07fd69ac022dad8bd4844c93cd3812bec600ef6 SHA512 b8244fbd2c91a810bca8b29a63d0a3fbfe9eec21934682d89989b1d7569338cf2b9ff8f266808b2bf7bdd4d0ebf23a416b1ffa9bd1c1a4066fd72790f68f7902 WHIRLPOOL 579c605ba0a57f969165d9c6506c8b93e0c3d2b45f780819c1b25f7c8bf9d9502be88c05013e20a5d46f12662f008e9aaea9ca80e1f5d0fd47555cfdd90170c5
+MISC ChangeLog 3274 SHA256 95b40938880d81169a43888bf2bd090b723ccc98b4e59145c8cf1b7112c4731a SHA512 1cc1ab97abfd7f3476c888c9d0f5f7a15fb331fefff6b8192e4a1ea68019e7168dd812cd88ef0ad271023396338ddfe4088e25340bfff03275a4371487bb7da1 WHIRLPOOL d606e3e72b470dfec72972700391fca56bec1c80a24a9b20a09047af90ff524f27538c673653bf5f4452123cb5ce63fa84e83f6e489893d1cad99f0a754b5d13
+MISC ChangeLog-2015 2291 SHA256 c9cfa07dfa4a1b0a92d69e7fb4e651f0608b7b8feb0560ef9cd0142b0babb771 SHA512 d3b1ee413784f3ee00e4243bd6ef5f00906d425e8cc77d9f66858f0dbbfc8b35049b285e8d01e7ae953f5f6e6b45ca677500f8580409a43378f10bfdb11968fe WHIRLPOOL 4d0a983b7255fea7bfc507367119f3896a5d615e7fa2ba80cc90476a5f8965f7e2d7827e350da90b16600ca99c6370bcd42873184fa578cfbe3b5bdff8215fd3
+MISC metadata.xml 250 SHA256 0c8855ea8254caab4a93052bb9ee7f39a48cf4512f1e4b136def6a0773d2e8f0 SHA512 aba0ad6bb553b7f17cc5865b37e6ab4d7cb932b9384937bd8e2c8b254f9ba39afa3b1df70b83974c58076339fbf62b60f26d69f789e349f02b1d89dea299ce3a WHIRLPOOL 18e9e5b90627b878c57f1789ba7c9bd38725792250f58ba8210b8e9257894ff8af3539369a556ccf1f93eb16bd123b5f66dff85adf3363b00bcef08bc591bc57
diff --git a/app-misc/fslint/fslint-2.46.ebuild b/app-misc/fslint/fslint-2.46.ebuild
new file mode 100644
index 000000000000..6e119a86e0a1
--- /dev/null
+++ b/app-misc/fslint/fslint-2.46.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+# The eutils eclass is still needed for doicon() and domenu().
+inherit eutils python-r1
+
+DESCRIPTION="A utility to find various forms of lint on a filesystem"
+HOMEPAGE="http://www.pixelbeat.org/fslint/"
+SRC_URI="${HOMEPAGE}${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="nls"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ gnome-base/libglade:2.0"
+
+DEPEND="nls? ( sys-devel/gettext:* )"
+
+src_prepare() {
+ default
+
+ # Change some paths to make ${PN}-gui run with our filesystem layout.
+ # These commands are taken from the debian/rules file.
+ sed -e "s:^liblocation=.*$:liblocation='${EROOT}usr/share/${PN}':" \
+ -e "s:^locale_base=.*$:locale_base=None:" \
+ -i "${PN}-gui" \
+ || die "failed to fix liblocation and locale_base in ${PN}-gui"
+}
+
+src_install() {
+ # The commands below roughly follow debian/rules.
+ python_foreach_impl python_doscript "${PN}-gui"
+
+ insinto "/usr/share/${PN}"
+ doins "${PN}.glade" "${PN}_icon.png"
+
+ exeinto "/usr/share/${PN}/${PN}"
+ doexe "${PN}"/find*
+ doexe "${PN}/${PN}"
+ doexe "${PN}/zipdir"
+
+ exeinto "/usr/share/${PN}/${PN}/fstool"
+ doexe "${PN}/fstool/dir_size" "${PN}/fstool/edu" "${PN}/fstool/lS"
+ python_scriptinto "/usr/share/${PN}/${PN}/fstool"
+ python_foreach_impl python_doscript "${PN}/fstool/dupwaste"
+
+ exeinto "/usr/share/${PN}/${PN}/supprt"
+ doexe "${PN}"/supprt/get*
+
+ python_scriptinto "/usr/share/${PN}/${PN}/supprt"
+ python_foreach_impl python_doscript "${PN}/supprt/md5sum_approx"
+
+ doexe "${PN}/supprt/fslver"
+
+ exeinto "/usr/share/${PN}/${PN}/supprt/rmlint"
+ doexe "${PN}"/supprt/rmlint/*.sh
+ python_scriptinto "/usr/share/${PN}/${PN}/supprt/rmlint"
+ python_foreach_impl python_doscript "${PN}/supprt/rmlint/fixdup"
+ python_foreach_impl python_doscript "${PN}/supprt/rmlint/merge_hardlinks"
+
+ doicon "${PN}_icon.png"
+ domenu "${PN}.desktop"
+
+ dodoc doc/{FAQ,NEWS,README,TODO}
+ doman man/*.1
+
+ if use nls; then
+ cd po || die
+ emake DESTDIR="${D}" install
+ fi
+}
diff --git a/app-misc/fslint/metadata.xml b/app-misc/fslint/metadata.xml
new file mode 100644
index 000000000000..6e883e5321c1
--- /dev/null
+++ b/app-misc/fslint/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">pixelb/fslint</remote-id>
+ </upstream>
+</pkgmetadata>