summaryrefslogtreecommitdiff
path: root/app-text/winefish
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-text/winefish
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/winefish')
-rw-r--r--app-text/winefish/Manifest10
-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, 131 insertions, 0 deletions
diff --git a/app-text/winefish/Manifest b/app-text/winefish/Manifest
new file mode 100644
index 000000000000..ea77d3fb39eb
--- /dev/null
+++ b/app-text/winefish/Manifest
@@ -0,0 +1,10 @@
+AUX winefish-1.3.3-desktop.patch 355 SHA256 1466cc98a82fbd373855bc0ee66593477564fa9cfcd6a10b942933a809a225fc SHA512 12606e0e49bfe9e6de7fe5f7a3b17c55653a4465fb85376929f664afb8d25acad862c8004b9fdfed56e289f7d7ba9fa0618dd551663a9361e4acc174b51e6785 WHIRLPOOL d87e3222305ecb8e5308054d861ee13c73df17ac62c307a91fcad1bf3e4c4e81866926f2c7acfca93ce55ec806c1562f3868851e2e899d2546194a7fda73a795
+AUX winefish-1.3.3-doc.patch 518 SHA256 999e868911136bc9103a4894a5701a114bd181dc76b94c8e028b6fe892ba7311 SHA512 3a49d0035d580ec8a3daae606a3b1c287ce64cf355de899174fddc9610520ee987823d4fe84e82a25f8bcbf7d8a7c11043b373ab4865a4f7dd654e5520a5eb3b WHIRLPOOL 9b38c104c48b5bdc9da454cb7829864b962e99b20aa5201973fe2add91f13f9974f5b366ffeeff9ff1a3bd026cb9a27e66406f2b3760e1fd438e3394cbbda2ef
+AUX winefish-1.3.3-memset.patch 364 SHA256 09315f33c69eb0ecf541bf3fa9f48740b6fbb55939e7ba01d3130891bfba801d SHA512 282743d8eb64035c2f21a3b037004e17d4b14f15db1877baf7524d90b3a5b8c46a279ca00e9617f79be70c503611884de5859ae910406bf027fa61f70c0404fd WHIRLPOOL 65177770ad24e7bdd08699e9f52882596be4a3657ae11903489f4fbc226ab3b5f168363ccc0c6bf00a381e98536e6c3979c63dbe906ea3ba134fe1470dfbb070
+AUX winefish-1.3.3-nostrip.patch 384 SHA256 765ad2f9b00af804eba0740a5eb3f75aac3f1a12ed99924696c6db6b07ab7271 SHA512 4090358771013fffed32487eff4cd74c7545b4d7dea97aac6638c9b1bf1d3add2d2f5ab4ad2cc3d0626a3fed336203221528f8efe21802e0f72dd891b65e7bb9 WHIRLPOOL 1b283e346960e50e6d477b8bd7c41aaeedeb6998149d0acf5213e01a8b456c461d680c80d6f39cd14b9525e276052cd79cbe997ef0ca13c13a0f1ff0ea783813
+AUX winefish-1.3.3-version.patch 217 SHA256 f0e321abb52a24376765ad1e8e19618c75a9d0556c2ab8c98b9a9c1075f522a3 SHA512 c3da51e0a1140fbd0c2c811e16da19af0c9d8817b7d00a1d5fb97901234d8e2c8e1ad27b20a5cc79accac9d1c96239e942fd3ce5de87f5664f3769e6393f2600 WHIRLPOOL 785e59e6d9c25191fd1fe92a71cc6ea9fb794d9b82380d893d5582b874582c82cc16d2ce930639943a256aad7452486d1a68dc0400682fa8b65839e695f235c4
+DIST winefish-1.3.3.tar.gz 485772 SHA256 dab48badeb783a978c456256493345ae260f8847590b096e8a9a6e44dcced16f SHA512 216196694979093f5152eb7e3ccaa1e342b44bde4a054c2b6a72c38451d08cd03c3209f5becab8ce3f3c8aace089253a60dff8d8c2f679bb297b34d0fa1ff19c WHIRLPOOL 857db9e6e565b3d6e609fa2bd945ff98097626421f15f6fd5aa06ed904142e913ce61b64727c7d934fbd39c75cd62c2ee35a32b5908ced19a1e4818f4afa1fcd
+EBUILD winefish-1.3.3-r2.ebuild 1022 SHA256 0f3a8da3767c0df058a3231b4ed792999e57dd3bdd1185e15ee493264eeb457c SHA512 9c0ac3fc997fc49f3fe0a88713ff0a9dc457a0121adf5aa1297e0fe3775beaf2de0b2a8269395661dd536636b9b00d7113627dedd92e8277ec40b0a5708506f6 WHIRLPOOL f5067a1624fde7161f583626b7cb2fcd66fc978881447d96ae889f73fc59a9f34a66a4aac425c48ac5e5c3609851c11243e11d0ba39ad8e2fccac7663c4d3d5e
+MISC ChangeLog 3187 SHA256 f3196abb2e9b0ec5d2b78487faee90ca691ca5ed5b33855beffeee1df9250595 SHA512 87863fec8197dc73816e5b1f37dfdf278b88ab0b406a87f097180f55f7f9aca91756b11998d32f2d687d531c567be3ec9dc3a0e6a54c77f04aade8e75f5aca8c WHIRLPOOL f973f28e35b7fbb87b445ff82294534ab67cdd2105787349ef9e0a315065a52dcf2a3900f4c77a03b48869f5bd2e3af99ccc119b996d236352378d544d695ae7
+MISC ChangeLog-2015 1877 SHA256 177836f8065859b415267e83ffef62f2e421e004286c8461366955abbba00904 SHA512 8e3e650eea8da7fcfe44c372d48852936b276705cdde455766421e3746e5eb68c1cb919ea3c584864c8429dd478958b1d8e69c535fafd49d084be50f14306f8e WHIRLPOOL e3b7b5527509c23efd8c7dc03e0e8cea0abe5e5d4911ff434219a780499d359753e03920442f74e09571140160c29c17d5d8b4f3bbe6a4df1f2b2269c4afe9e2
+MISC metadata.xml 330 SHA256 ab391a84b8f784e90acf7df44d5bb39e01aba2a99f1d8c064fbd115e33ffac21 SHA512 000a6237daf47d5b798b4b0845582741df60e0b9c2d2bdb87e014c96d48a7c8697c03b0de38fd11a2e243c84683bf7ececad0853fbea06e8065ed4ea055cbfb6 WHIRLPOOL 34a81a462093139cc46affa9f5de205ee10f8c20985dcc612e79a7c4d40e2e7b616fdeab586749e36b8060b5133837151367aeb74124cf5bddee96430399c005
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..95b899b38b91
--- /dev/null
+++ b/app-text/winefish/winefish-1.3.3-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils fdo-mime
+
+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() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}