summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-06 11:37:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-06 11:37:55 +0000
commit4746f1199636a76ed24c939ab7dd79a6420969e0 (patch)
treee69476f1d188afdd94d91517f6478d53249e83a7 /app-editors
parentFix sandbox violation wrt #296891 by Kevin Pyle. Force Python 2.x wrt #311177. (diff)
downloadgentoo-2-4746f1199636a76ed24c939ab7dd79a6420969e0.tar.gz
gentoo-2-4746f1199636a76ed24c939ab7dd79a6420969e0.tar.bz2
gentoo-2-4746f1199636a76ed24c939ab7dd79a6420969e0.zip
Fix .desktop file.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/scribes/ChangeLog6
-rw-r--r--app-editors/scribes/files/scribes-0.3.3.3-desktop_entry.patch17
-rw-r--r--app-editors/scribes/scribes-0.3.3.3.ebuild5
3 files changed, 25 insertions, 3 deletions
diff --git a/app-editors/scribes/ChangeLog b/app-editors/scribes/ChangeLog
index 55b896e940a3..3c08a155ac82 100644
--- a/app-editors/scribes/ChangeLog
+++ b/app-editors/scribes/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-editors/scribes
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scribes/ChangeLog,v 1.6 2010/06/06 11:28:04 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scribes/ChangeLog,v 1.7 2010/06/06 11:37:55 ssuominen Exp $
+
+ 06 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+ scribes-0.3.3.3.ebuild, +files/scribes-0.3.3.3-desktop_entry.patch:
+ Fix .desktop file.
06 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
scribes-0.3.3.3.ebuild, +files/scribes-0.3.3.3-sandbox.patch:
diff --git a/app-editors/scribes/files/scribes-0.3.3.3-desktop_entry.patch b/app-editors/scribes/files/scribes-0.3.3.3-desktop_entry.patch
new file mode 100644
index 000000000000..5e7bc6d3c8f5
--- /dev/null
+++ b/app-editors/scribes/files/scribes-0.3.3.3-desktop_entry.patch
@@ -0,0 +1,17 @@
+--- data/scribes.desktop.in
++++ data/scribes.desktop.in
+@@ -1,12 +1,11 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=Scribes Text Editor
+ _Comment=Edit text files
+ Exec=scribes %U
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+-MimeType=text/css;text/html;text/htmlh;text/plain;text/rss;text/sgml;text/x-adasrc;text/x-authors;text/x-c++hdr;text/x-c++src;text/x-copying;text/x-credits;text/x-csharp;text/x-csrc;text/x-dtd;text/x-fortran;text/x-gettext-translation-template;text/x-gettext-translation;text/x-gtkrc;text/x-haskell;text/x-idl;text/x-install;text/x-java;text/x-js;text/x-ksh;text/x-ksysv-log;text/x-literate-haskell;text/x-log;text/x-makefile;text/x-moc;text/x-msil;text/x-nemerle;text/x-objcsrc;text/x-pascal;text/x-patch;text/x-readme;text/x-scheme;text/x-setext;text/x-sql;text/x-tcl;text/x-tex;text/x-texinfo;text/x-troff-me;text/x-troff-mm;text/x-troff-ms;text/x-uil;text/x-vb;text/xml;text/x-csharp;application/x-mds;application/x-mdp;application/x-cmbx;application/x-prjx
++MimeType=text/css;text/html;text/htmlh;text/plain;text/rss;text/sgml;text/x-adasrc;text/x-authors;text/x-c++hdr;text/x-c++src;text/x-copying;text/x-credits;text/x-csharp;text/x-csrc;text/x-dtd;text/x-fortran;text/x-gettext-translation-template;text/x-gettext-translation;text/x-gtkrc;text/x-haskell;text/x-idl;text/x-install;text/x-java;text/x-js;text/x-ksh;text/x-ksysv-log;text/x-literate-haskell;text/x-log;text/x-makefile;text/x-moc;text/x-msil;text/x-nemerle;text/x-objcsrc;text/x-pascal;text/x-patch;text/x-readme;text/x-scheme;text/x-setext;text/x-sql;text/x-tcl;text/x-tex;text/x-texinfo;text/x-troff-me;text/x-troff-mm;text/x-troff-ms;text/x-uil;text/x-vb;text/xml;application/x-mds;application/x-mdp;application/x-cmbx;application/x-prjx;
+ Icon=scribes
+-Categories=Utility;TextEditor;GNOME;GTK;Application;
++Categories=Utility;TextEditor;GNOME;GTK;
+ X-GNOME-DocPath=scribes/scribes.xml
diff --git a/app-editors/scribes/scribes-0.3.3.3.ebuild b/app-editors/scribes/scribes-0.3.3.3.ebuild
index ffa56350c938..d8d4efecdd24 100644
--- a/app-editors/scribes/scribes-0.3.3.3.ebuild
+++ b/app-editors/scribes/scribes-0.3.3.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/scribes/scribes-0.3.3.3.ebuild,v 1.5 2010/06/06 11:28:04 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/scribes/scribes-0.3.3.3.ebuild,v 1.6 2010/06/06 11:37:55 ssuominen Exp $
EAPI=3
@@ -39,7 +39,8 @@ pkg_setup() {
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-sandbox.patch
+ epatch "${FILESDIR}"/${P}-sandbox.patch \
+ "${FILESDIR}"/${P}-desktop_entry.patch
eautoreconf
ln -nfs $(type -P true) py-compile || die