public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/winefish/, app-text/winefish/files/
@ 2016-06-30  8:56 Jeroen Roovers
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2016-06-30  8:56 UTC (permalink / raw
  To: gentoo-commits

commit:     2d0284d88d1f783ea8caad042678e9b09f1780a1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 08:55:36 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 08:56:31 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0284d8

app-text/winefish: New HOMEPAGE/SRC_URI (bug #537716).

Package-Manager: portage-2.3.0

 app-text/winefish/Manifest                         |  1 +
 .../winefish/files/winefish-1.3.3-desktop.patch    | 11 +++++
 app-text/winefish/files/winefish-1.3.3-doc.patch   | 13 ++++++
 .../winefish/files/winefish-1.3.3-memset.patch     | 11 +++++
 .../winefish/files/winefish-1.3.3-nostrip.patch    |  6 +--
 .../winefish/files/winefish-1.3.3-version.patch    | 11 +++++
 app-text/winefish/winefish-1.3.3-r2.ebuild         | 54 ++++++++++++++++++++++
 7 files changed, 103 insertions(+), 4 deletions(-)

diff --git a/app-text/winefish/Manifest b/app-text/winefish/Manifest
index 0171f68..8c285c8 100644
--- a/app-text/winefish/Manifest
+++ b/app-text/winefish/Manifest
@@ -1 +1,2 @@
+DIST winefish-1.3.3.tar.gz 485772 SHA256 dab48badeb783a978c456256493345ae260f8847590b096e8a9a6e44dcced16f SHA512 216196694979093f5152eb7e3ccaa1e342b44bde4a054c2b6a72c38451d08cd03c3209f5becab8ce3f3c8aace089253a60dff8d8c2f679bb297b34d0fa1ff19c WHIRLPOOL 857db9e6e565b3d6e609fa2bd945ff98097626421f15f6fd5aa06ed904142e913ce61b64727c7d934fbd39c75cd62c2ee35a32b5908ced19a1e4818f4afa1fcd
 DIST winefish-1.3.3.tgz 478063 SHA256 b61a7edf954b0314695a3fc09b3780602d331b676e8ccea5b0aabe0427f6b7c7 SHA512 bc357d01d23ad5eed71e77754804201d0e13be20d6b9338b63b0599aeb174e9d1828f94251755c14494f135a3f53b76614c4a9fcc06467b49a04e07123c557ec WHIRLPOOL cc689a8a2904f938557dae8c79009664ed09da166be651b193d9487a89e0248ce07ebb7bf7016fb8be4c6daf8cd1451f3ecd6458d457e75d47b30d467b11985f

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 0000000..eaa66ec
--- /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 0000000..9e02510
--- /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 0000000..7390642
--- /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
index b1118eb..24f21e4 100644
--- a/app-text/winefish/files/winefish-1.3.3-nostrip.patch
+++ b/app-text/winefish/files/winefish-1.3.3-nostrip.patch
@@ -1,7 +1,5 @@
-Index: winefish-1.3.3/src/Makefile.in
-===================================================================
---- winefish-1.3.3.orig/src/Makefile.in
-+++ winefish-1.3.3/src/Makefile.in
+--- a/src/Makefile.in
++++ b/src/Makefile.in
 @@ -37,7 +37,7 @@ LDFLAGS = @LDFLAGS@
  LIBS = @LIBS@
  INSTALL = @INSTALL@

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 0000000..a586608
--- /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/winefish-1.3.3-r2.ebuild b/app-text/winefish/winefish-1.3.3-r2.ebuild
new file mode 100644
index 0000000..044738c
--- /dev/null
+++ b/app-text/winefish/winefish-1.3.3-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-30  8:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-30  8:56 [gentoo-commits] repo/gentoo:master commit in: app-text/winefish/, app-text/winefish/files/ Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox