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

Package-Manager: portage-2.3.0
This commit is contained in:
Jeroen Roovers
2016-06-30 10:55:36 +02:00
parent f05e3d7b96
commit 2d0284d88d
7 changed files with 103 additions and 4 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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

View File

@@ -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);

View File

@@ -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@

View File

@@ -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")

View File

@@ -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
}