summaryrefslogtreecommitdiff
path: root/app-text/keepnote
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/keepnote
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/keepnote')
-rw-r--r--app-text/keepnote/Manifest4
-rw-r--r--app-text/keepnote/files/keepnote-0.7.8-desktopfile.patch30
-rw-r--r--app-text/keepnote/keepnote-0.7.9-r2.ebuild46
-rw-r--r--app-text/keepnote/metadata.xml20
4 files changed, 100 insertions, 0 deletions
diff --git a/app-text/keepnote/Manifest b/app-text/keepnote/Manifest
new file mode 100644
index 000000000000..2ac485a2e3e9
--- /dev/null
+++ b/app-text/keepnote/Manifest
@@ -0,0 +1,4 @@
+AUX keepnote-0.7.8-desktopfile.patch 1195 BLAKE2B 4dd5dd1eaa5893b7aae496215fb7c6206632b431025fbf86354391baefc3cdf64a4852e0aaf7cfc538be6dc56d2d89336b465491c129b77aaae4893858e4cb00 SHA512 f2b59d656573bd052fe2b26687338939ace7cfbbf71a0ef051c45b829662ccd601f08a406de87cbd37391dfe2743cda13b58bced26fa2186688289a008f8d1be
+DIST keepnote-0.7.9.tar.gz 786634 BLAKE2B e14b41f6d5e983ef4ef27e10a2b39f8972cfd47c34a15f7efd97c1c809a29c50554d5edd5fcd0ff8624861fc0a33662c6f00eef675519fdab11d8cef9b67da1d SHA512 1d818fab1fea69b6369209dbaad403b2431352ba359d4f233ab412fd56a57e970b6b6adf63201811ce45faee471cf3521c6b4ccecc67f3befc727b2e77189ac5
+EBUILD keepnote-0.7.9-r2.ebuild 854 BLAKE2B 950323f0c34cd0dc4511b215db9e7ff5906f37105dfa168568dfccd1d13c6ffdd347eefdcfd4cf7d907c5272af045d51c0518b1551f49044c093c7377848d680 SHA512 f3c26859af94cae7c6dda7255f2d03d105dba5493e3a468b65617c062dbb9d5c23f651b11b0b6e68aba0b59da4a0b18edeae23b5f54e37d76db273fff48286ca
+MISC metadata.xml 785 BLAKE2B 03dfc70d07b076f7769481f33bc2df9c1cb6458579486495c49f43f670fcc31b7f246b5555366b2f0f01e16d44b507929c04400d41b9bcd89beea9df1a34b1e8 SHA512 7d04a216120b8d52d73e4a4a1f8972b59d63c50c23f398be9ff7a8b0d5d37d793b5c7269579d05fd517da7c813ed68eb3381613604b1057c39358700419c072e
diff --git a/app-text/keepnote/files/keepnote-0.7.8-desktopfile.patch b/app-text/keepnote/files/keepnote-0.7.8-desktopfile.patch
new file mode 100644
index 000000000000..7c06aab2c91d
--- /dev/null
+++ b/app-text/keepnote/files/keepnote-0.7.8-desktopfile.patch
@@ -0,0 +1,30 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Tue Aug 14 07:08:05 UTC 2012
+Subject: desktop file
+
+respect fd.o desktop entry spec
+
+# desktop-file-validate keepnote.desktop
+keepnote.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
+keepnote.desktop: warning: value "Note-taking Application" for key "Comment" in group "Desktop Entry" looks redundant with value "Note-taking Application" of key "GenericName"
+keepnote.desktop: warning: value "Program na spr?vu pozn?mok" for key "Comment[sk]" in group "Desktop Entry" looks redundant with value "Program na spr?vu pozn?mok" of key "GenericName[sk]"
+keepnote.desktop: error: value "Office" for string list key "Categories" in group "Desktop Entry" does not have a semicolon (';') as trailing character
+
+--- desktop/keepnote.desktop
++++ desktop/keepnote.desktop
+@@ -1,14 +1,11 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=Application
+ Name=KeepNote
+ GenericName=Note-taking Application
+ GenericName[sk]=Program na správu poznámok
+-Comment=Note-taking Application
+-Comment[sk]=Program na správu poznámok
+ Icon=keepnote
+ Exec=keepnote %f
+-Categories=Office
++Categories=Office;
+ #MimeType=
+ Terminal=false
+ StartupNotify=false
diff --git a/app-text/keepnote/keepnote-0.7.9-r2.ebuild b/app-text/keepnote/keepnote-0.7.9-r2.ebuild
new file mode 100644
index 000000000000..d991974ffc3d
--- /dev/null
+++ b/app-text/keepnote/keepnote-0.7.9-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite,xml"
+
+inherit gnome2-utils distutils-r1
+
+DESCRIPTION="A note taking application"
+HOMEPAGE="http://keepnote.org/"
+SRC_URI="http://keepnote.org/download-test/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+SLOT="0"
+IUSE=""
+
+RDEPEND="dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ x11-misc/xdg-utils"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.7.8-desktopfile.patch )
+DOCS=( CHANGES )
+
+python_test() {
+ "${PYTHON}" test/testing.py || die
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+
+ einfo
+ elog "optional dependencies:"
+ elog " app-text/gtkspell:2 (spell checking)"
+ einfo
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/app-text/keepnote/metadata.xml b/app-text/keepnote/metadata.xml
new file mode 100644
index 000000000000..406d1cd53480
--- /dev/null
+++ b/app-text/keepnote/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <maintainer status="active">
+ <email>rasmus@alum.mit.edu</email>
+ <name>Matt Rasmussen</name>
+ </maintainer>
+ <doc lang="en">http://keepnote.org/manual/</doc>
+ <bugs-to>https://code.google.com/p/keepnote/issues/list</bugs-to>
+ </upstream>
+ <longdescription lang="en">
+ KeepNote is a note taking application . With KeepNote, you can
+ store your class notes, TODO lists, research notes, journal entries,
+ paper outlines, etc in a simple notebook hierarchy with rich-text
+ formatting, images, and more. Using full-text search, you can
+ retrieve any note for later reference.
+ </longdescription>
+</pkgmetadata>