summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-20 16:15:16 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-20 16:15:16 +0000
commit417c7d1d8c71c124d62300640020c1e7432c7442 (patch)
tree9fb811b41c951ae5f11557875a3fdf4330dcf381 /app-editors/medit
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadgentoo-2-417c7d1d8c71c124d62300640020c1e7432c7442.tar.gz
gentoo-2-417c7d1d8c71c124d62300640020c1e7432c7442.tar.bz2
gentoo-2-417c7d1d8c71c124d62300640020c1e7432c7442.zip
initial commit, ebuild by kenneth prugh
(Portage version: 2.1.4)
Diffstat (limited to 'app-editors/medit')
-rw-r--r--app-editors/medit/ChangeLog11
-rw-r--r--app-editors/medit/Manifest20
-rw-r--r--app-editors/medit/files/digest-medit-0.9.23
-rw-r--r--app-editors/medit/files/medit-0.9.2-desktop-entry.patch16
-rw-r--r--app-editors/medit/medit-0.9.2.ebuild60
-rw-r--r--app-editors/medit/metadata.xml6
6 files changed, 116 insertions, 0 deletions
diff --git a/app-editors/medit/ChangeLog b/app-editors/medit/ChangeLog
new file mode 100644
index 000000000000..52e6e2966cc1
--- /dev/null
+++ b/app-editors/medit/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-editors/medit
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/medit/ChangeLog,v 1.1 2008/01/20 16:15:15 drac Exp $
+
+*medit-0.9.2 (20 Jan 2008)
+
+ 20 Jan 2008; Samuli Suominen <drac@gentoo.org>
+ +files/medit-0.9.2-desktop-entry.patch, +medit-0.9.2.ebuild:
+ Initial commit wrt #192051, thanks to Steve L. for reporting and Kenneth
+ Prugh for ebuild.
+
diff --git a/app-editors/medit/Manifest b/app-editors/medit/Manifest
new file mode 100644
index 000000000000..5025dc18edb8
--- /dev/null
+++ b/app-editors/medit/Manifest
@@ -0,0 +1,20 @@
+AUX medit-0.9.2-desktop-entry.patch 474 RMD160 68521d3eb2bd57452209417746cf01201d447ef0 SHA1 a2165cd0adcbbde47d4dc42a12fec547d41de576 SHA256 990f0b1b3946a10fd1920f4f61f336349d4051686d19e834d1340f4f16af3d1a
+MD5 17f646bd06bdeb6cecc4509bfd57913a files/medit-0.9.2-desktop-entry.patch 474
+RMD160 68521d3eb2bd57452209417746cf01201d447ef0 files/medit-0.9.2-desktop-entry.patch 474
+SHA256 990f0b1b3946a10fd1920f4f61f336349d4051686d19e834d1340f4f16af3d1a files/medit-0.9.2-desktop-entry.patch 474
+DIST medit-0.9.2.tar.bz2 1772737 RMD160 50e98ec5f2037ff56961781a361183a16edd747a SHA1 512d84e3467290a15c52df9a601019c03af2805e SHA256 296a192692cbb38f88bd9802cc034bd0616b0ff8b7c6fa63400ceedb810e8358
+EBUILD medit-0.9.2.ebuild 1446 RMD160 e92734bb3d292b5bbe5976ab2e49e267ff2a1424 SHA1 fe566af5687ac293a38462edf56e486c11d25da8 SHA256 f5eb810e0d12214087976889cdb628224a63e4bb6818f28a6d50a73f02ade8d9
+MD5 e9c9ec0c1251b2dbf49251960da3c944 medit-0.9.2.ebuild 1446
+RMD160 e92734bb3d292b5bbe5976ab2e49e267ff2a1424 medit-0.9.2.ebuild 1446
+SHA256 f5eb810e0d12214087976889cdb628224a63e4bb6818f28a6d50a73f02ade8d9 medit-0.9.2.ebuild 1446
+MISC ChangeLog 354 RMD160 8b22dcb98473cf675082ff1dc6aad9e7b9ca9d1f SHA1 b5b5210b52d5235636f011262d98b48ae916a612 SHA256 1f0b79c3ecb49476b0b74a4c85e97a011d79e50a55c5c17c4449b0f659008a66
+MD5 a5bcd1a6336a2b87ec75f5e99a260560 ChangeLog 354
+RMD160 8b22dcb98473cf675082ff1dc6aad9e7b9ca9d1f ChangeLog 354
+SHA256 1f0b79c3ecb49476b0b74a4c85e97a011d79e50a55c5c17c4449b0f659008a66 ChangeLog 354
+MISC metadata.xml 221 RMD160 474f3a8a7afd57798ef57c28bb9ddbe23af5862e SHA1 450f9ca3664802f192242ff29afafeffa842b7b0 SHA256 3725d6055cf578aed05cbc7c484f33e94348e25a8534198dadb8fdb2ef2e8dd8
+MD5 172f0229dd7731f6da59b2dfb77374a7 metadata.xml 221
+RMD160 474f3a8a7afd57798ef57c28bb9ddbe23af5862e metadata.xml 221
+SHA256 3725d6055cf578aed05cbc7c484f33e94348e25a8534198dadb8fdb2ef2e8dd8 metadata.xml 221
+MD5 e2fff358773a5eea0b18587466fc327f files/digest-medit-0.9.2 241
+RMD160 1f3a92016b0424cc3bb75b74f24b94b4621797f9 files/digest-medit-0.9.2 241
+SHA256 e99fb5b8eaef314319d8f0f41428fab387307d4426896dc43eb90630d46738d4 files/digest-medit-0.9.2 241
diff --git a/app-editors/medit/files/digest-medit-0.9.2 b/app-editors/medit/files/digest-medit-0.9.2
new file mode 100644
index 000000000000..257ad65040c8
--- /dev/null
+++ b/app-editors/medit/files/digest-medit-0.9.2
@@ -0,0 +1,3 @@
+MD5 23e99f052591f28d278d5e88b3246a3c medit-0.9.2.tar.bz2 1772737
+RMD160 50e98ec5f2037ff56961781a361183a16edd747a medit-0.9.2.tar.bz2 1772737
+SHA256 296a192692cbb38f88bd9802cc034bd0616b0ff8b7c6fa63400ceedb810e8358 medit-0.9.2.tar.bz2 1772737
diff --git a/app-editors/medit/files/medit-0.9.2-desktop-entry.patch b/app-editors/medit/files/medit-0.9.2-desktop-entry.patch
new file mode 100644
index 000000000000..9d1f240ab00c
--- /dev/null
+++ b/app-editors/medit/files/medit-0.9.2-desktop-entry.patch
@@ -0,0 +1,16 @@
+diff -ur medit-0.9.2.orig/medit/medit.desktop.in medit-0.9.2/medit/medit.desktop.in
+--- medit-0.9.2.orig/medit/medit.desktop.in 2008-01-09 08:20:26.000000000 +0200
++++ medit-0.9.2/medit/medit.desktop.in 2008-01-20 18:03:57.000000000 +0200
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=medit
+ _Comment=Text editor
+ Exec=medit %F
+@@ -7,5 +6,5 @@
+ Type=Application
+ StartupNotify=true
+ MimeType=text/plain;
+-Icon=medit.png
++Icon=medit
+ Categories=Utility;TextEditor;
diff --git a/app-editors/medit/medit-0.9.2.ebuild b/app-editors/medit/medit-0.9.2.ebuild
new file mode 100644
index 000000000000..3fdb2e374e25
--- /dev/null
+++ b/app-editors/medit/medit-0.9.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/medit/medit-0.9.2.ebuild,v 1.1 2008/01/20 16:15:15 drac Exp $
+
+inherit eutils python fdo-mime gnome2-utils multilib
+
+DESCRIPTION="Multiplatform text editor"
+HOMEPAGE="http://mooedit.sourceforge.net"
+SRC_URI="mirror://sourceforge/mooedit/${P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="fam nls python xml"
+
+RDEPEND="fam? ( virtual/fam )
+ python? ( dev-python/pygtk )
+ xml? ( dev-libs/libxml2 )
+ >=x11-libs/gtk+-2"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ dev-util/pkgconfig
+ dev-libs/libxslt"
+
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i -e 's:update-mime-database:true:' \
+ moo/mooedit/language-specs/Makefile.in || die "sed failed."
+ sed -i -e 's:gtk-update-icon-cache:true:g' medit/Makefile.in || die "sed failed."
+
+ epatch "${FILESDIR}"/${P}-desktop-entry.patch
+}
+src_compile() {
+ econf $(use_with fam) $(use_with nls) \
+ $(use_with python) $(use_with xml)
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS NEWS README THANKS
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+ use python && python_mod_optimize "${ROOT}"usr/$(get_libdir)/moo/plugins
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+ use python && python_mod_cleanup
+}
diff --git a/app-editors/medit/metadata.xml b/app-editors/medit/metadata.xml
new file mode 100644
index 000000000000..68902eed6509
--- /dev/null
+++ b/app-editors/medit/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>desktop-misc</herd>
+<maintainer><email>drac@gentoo.org</email></maintainer>
+</pkgmetadata>