summaryrefslogtreecommitdiff
path: root/app-text/winefish
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/winefish
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/winefish')
-rw-r--r--app-text/winefish/Manifest8
-rw-r--r--app-text/winefish/files/winefish-1.3.3-desktop.patch11
-rw-r--r--app-text/winefish/files/winefish-1.3.3-doc.patch13
-rw-r--r--app-text/winefish/files/winefish-1.3.3-memset.patch11
-rw-r--r--app-text/winefish/files/winefish-1.3.3-nostrip.patch11
-rw-r--r--app-text/winefish/files/winefish-1.3.3-version.patch11
-rw-r--r--app-text/winefish/metadata.xml11
-rw-r--r--app-text/winefish/winefish-1.3.3-r2.ebuild53
8 files changed, 129 insertions, 0 deletions
diff --git a/app-text/winefish/Manifest b/app-text/winefish/Manifest
new file mode 100644
index 000000000000..f4a7546c3100
--- /dev/null
+++ b/app-text/winefish/Manifest
@@ -0,0 +1,8 @@
+AUX winefish-1.3.3-desktop.patch 355 BLAKE2B f99870a04c8d0de075bf6c4c169e2eabcbec212817a1ab6b1dd0aaf1bc29b0fcc063c834083b7ee9fd832600245f8e3650576b5f42ea53ffbc8e95d095f643db SHA512 12606e0e49bfe9e6de7fe5f7a3b17c55653a4465fb85376929f664afb8d25acad862c8004b9fdfed56e289f7d7ba9fa0618dd551663a9361e4acc174b51e6785
+AUX winefish-1.3.3-doc.patch 518 BLAKE2B e682e07326c44708ac8ee4e8fddd4a07145288f7fcac86e21e37a1cf97cc373d5340661855d896003539ae98b84d147da649a3909f49c02c7b26076cb47b412a SHA512 3a49d0035d580ec8a3daae606a3b1c287ce64cf355de899174fddc9610520ee987823d4fe84e82a25f8bcbf7d8a7c11043b373ab4865a4f7dd654e5520a5eb3b
+AUX winefish-1.3.3-memset.patch 364 BLAKE2B 5eeb23216a11845e2e5adff2fc869aae647a97f8ee6ab2ed1b1d90eb420125fe245b56332eb5a25d510d4bcafce88f4eda3a131d3463206635ee89c851150928 SHA512 282743d8eb64035c2f21a3b037004e17d4b14f15db1877baf7524d90b3a5b8c46a279ca00e9617f79be70c503611884de5859ae910406bf027fa61f70c0404fd
+AUX winefish-1.3.3-nostrip.patch 384 BLAKE2B 3f395994f6c4d214680b6c954ffc9973f3686f0dd29361e708b4e576e6043d9ebf349873ced4f53a782fd7649b6cc27b14560b5fe13c68860b32e81c16b99ba4 SHA512 4090358771013fffed32487eff4cd74c7545b4d7dea97aac6638c9b1bf1d3add2d2f5ab4ad2cc3d0626a3fed336203221528f8efe21802e0f72dd891b65e7bb9
+AUX winefish-1.3.3-version.patch 217 BLAKE2B 4830bcd33b1acc99732dc32bcaa3dd0950dc28c139286b152ba0a250833d39a1f92674900c1cf003ebc2218796aacdda1a509034b1693f7c77342f4f748d9e92 SHA512 c3da51e0a1140fbd0c2c811e16da19af0c9d8817b7d00a1d5fb97901234d8e2c8e1ad27b20a5cc79accac9d1c96239e942fd3ce5de87f5664f3769e6393f2600
+DIST winefish-1.3.3.tar.gz 485772 BLAKE2B 344059c9bc15ec693e66d5d901d2e620ff223dd48de64d32b385cc1e06f6782dc2a2ec965ab8f5ce26bbf518df8edc60a1640b7ed7b576939bf45bbc424f7900 SHA512 216196694979093f5152eb7e3ccaa1e342b44bde4a054c2b6a72c38451d08cd03c3209f5becab8ce3f3c8aace089253a60dff8d8c2f679bb297b34d0fa1ff19c
+EBUILD winefish-1.3.3-r2.ebuild 1017 BLAKE2B 015b366f7ed84feb3e3243315fc90e8e55f6c81b84a33aa1ec962cba205b3ce74725326fe5e17835e286330705563c5a238665c06017e7bf4174eb0aadd8ee5e SHA512 4897589831fb8ff3637fa79b763122edd16a9ef59487599bb418a616939de6a3dc0dab12dde544e5faa3ed4736a6ab76e4f8d4e6190da265b1dc6e260ad52ade
+MISC metadata.xml 330 BLAKE2B 28aec1129c0c006de502806221b22ef857fd367d9fa88dd34d2a4324845cf103e0446b45cf78877df1cf8038c8a569fe456126da51a5b7e7000cb7382797fa5b SHA512 000a6237daf47d5b798b4b0845582741df60e0b9c2d2bdb87e014c96d48a7c8697c03b0de38fd11a2e243c84683bf7ececad0853fbea06e8065ed4ea055cbfb6
diff --git a/app-text/winefish/files/winefish-1.3.3-desktop.patch b/app-text/winefish/files/winefish-1.3.3-desktop.patch
new file mode 100644
index 000000000000..eaa66eca7dd0
--- /dev/null
+++ b/app-text/winefish/files/winefish-1.3.3-desktop.patch
@@ -0,0 +1,11 @@
+--- a/data/winefish.desktop.in
++++ b/data/winefish.desktop.in
+@@ -7,7 +7,7 @@
+ Icon=ICONDIR/winefish-icon.png
+ Terminal=false
+ Type=Application
+-Categories=GTK;GNOME;Application;Editors;Office;Development;
++Categories=GTK;GNOME;TextEditor;Office;Development;
+ Encoding=UTF-8
+ StartupNotify=true
+ MimeType=text/x-tex;application/winefish-project;text/xml;
diff --git a/app-text/winefish/files/winefish-1.3.3-doc.patch b/app-text/winefish/files/winefish-1.3.3-doc.patch
new file mode 100644
index 000000000000..9e02510e35a8
--- /dev/null
+++ b/app-text/winefish/files/winefish-1.3.3-doc.patch
@@ -0,0 +1,13 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -89,8 +89,8 @@
+ $(INSTALL_DIR) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) images/winefish_splash.png $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DIR) $(DESTDIR)$(docdir)
+- $(INSTALL_DATA) doc/winefish.html $(DESTDIR)$(docdir)
+-# $(INSTALL_DATA) doc/winefish.txt $(DESTDIR)$(docdir)
++# $(INSTALL_DATA) doc/winefish.html $(DESTDIR)$(docdir)
++ $(INSTALL_DATA) doc/winefish.txt $(DESTDIR)$(docdir)
+ @cd icons/ && $(MAKE) install
+ @cd src/ && $(MAKE) install
+ @cd data/ && $(MAKE) install
diff --git a/app-text/winefish/files/winefish-1.3.3-memset.patch b/app-text/winefish/files/winefish-1.3.3-memset.patch
new file mode 100644
index 000000000000..7390642bb690
--- /dev/null
+++ b/app-text/winefish/files/winefish-1.3.3-memset.patch
@@ -0,0 +1,11 @@
+--- a/src/highlight.c
++++ b/src/highlight.c
+@@ -731,7 +731,7 @@
+ GList *tmplist = g_list_first(level);
+ while (tmplist) {
+ Tpattern * pat = (Tpattern *)tmplist->data;
+- memset(pat->ovector,0,sizeof(pat->ovector));
++ memset(pat->ovector,0,sizeof(&pat->ovector));
+ pat->is_match = FALSE;
+ patmatch_init_run(pat->childs);
+ tmplist = g_list_next(tmplist);
diff --git a/app-text/winefish/files/winefish-1.3.3-nostrip.patch b/app-text/winefish/files/winefish-1.3.3-nostrip.patch
new file mode 100644
index 000000000000..24f21e49d307
--- /dev/null
+++ b/app-text/winefish/files/winefish-1.3.3-nostrip.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -37,7 +37,7 @@ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ INSTALL = @INSTALL@
+ INSTALL_DIR = $(INSTALL) -d -m 755
+-INSTALL_PROGRAM = $(INSTALL) -s -m 755
++INSTALL_PROGRAM = $(INSTALL) -m 755
+ DEFS = -DLOCALEDIR=\"$(localedir)\" -DGNULOCALEDIR=\"$(gnulocaledir)\" \
+ -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" -DPKGDATADIR=\"$(pkgdatadir)\" @DEFS@
+
diff --git a/app-text/winefish/files/winefish-1.3.3-version.patch b/app-text/winefish/files/winefish-1.3.3-version.patch
new file mode 100644
index 000000000000..a586608719d9
--- /dev/null
+++ b/app-text/winefish/files/winefish-1.3.3-version.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -23,7 +23,7 @@
+ AC_CONFIG_HEADER(src/config.h)
+
+ PACKAGE=winefish
+-VERSION=1.3.2
++VERSION=1.3.3
+ AC_SUBST(PACKAGE)
+ AC_SUBST(VERSION)
+ AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
diff --git a/app-text/winefish/metadata.xml b/app-text/winefish/metadata.xml
new file mode 100644
index 000000000000..bb345a547d2f
--- /dev/null
+++ b/app-text/winefish/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">viettug/winefish</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/winefish/winefish-1.3.3-r2.ebuild b/app-text/winefish/winefish-1.3.3-r2.ebuild
new file mode 100644
index 000000000000..2c873d65af7f
--- /dev/null
+++ b/app-text/winefish/winefish-1.3.3-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils xdg-utils
+
+MY_PV=${PV/%[[:alpha:]]/}
+
+DESCRIPTION="LaTeX editor based on Bluefish"
+HOMEPAGE="https://github.com/viettug/winefish"
+SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="spell"
+
+RDEPEND="
+ >=dev-libs/libpcre-6.3
+ >=x11-libs/gtk+-2.4:2
+ spell? ( app-text/aspell )
+"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-desktop.patch
+ "${FILESDIR}"/${P}-doc.patch
+ "${FILESDIR}"/${P}-memset.patch
+ "${FILESDIR}"/${P}-nostrip.patch
+ "${FILESDIR}"/${P}-version.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-update-databases
+}
+
+src_install() {
+ emake install DESTDIR="${D}" docdir=/usr/share/doc/${PF}/html
+ dodoc AUTHORS CHANGES README ROADMAP THANKS TODO
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}