Hi,

this updates gummi to the latest release 0.6.6.

HOMEPAGE and MASTER_SITES moved to gitub. I hope it's ok the way I
did it (no magic GH_* knobs, because they have ordinary releases).

Works for me on amd64, but I'll wait a few days to let people test
it if they want.

Ciao,
        Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/gummi/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile    21 Dec 2017 19:36:17 -0000      1.14
+++ Makefile    29 Dec 2017 15:31:12 -0000
@@ -2,12 +2,14 @@
 
 COMMENT =              simple LaTeX editor
 
-DISTNAME =             gummi-0.6.5
-REVISION =             3
+V =                    0.6.6
+DISTNAME =             gummi-$V
 
 CATEGORIES =           editors
 
-HOMEPAGE =             http://gummi.midnightcoding.org/
+HOMEPAGE =             https://github.com/alexandervdm/gummi
+
+MASTER_SITES =         ${HOMEPAGE}/releases/download/$V/
 
 MAINTAINER =           Matthias Kilian <k...@openbsd.org>
 
@@ -17,10 +19,8 @@ PERMIT_PACKAGE_CDROM =       Yes
 WANTLIB =  X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
 WANTLIB += Xrender atk-1.0 c cairo fontconfig freetype gdk-x11-2.0
 WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gthread-2.0
-WANTLIB += gtk-x11-2.0 gtksourceview-2.0 gtkspell iconv intl m pango-1.0
+WANTLIB += gtk-x11-2.0 gtksourceview-2.0 gtkspell intl m pango-1.0
 WANTLIB += pangocairo-1.0 pangoft2-1.0 poppler-glib pthread z
-
-MASTER_SITES =         http://dev.midnightcoding.org/attachments/download/301/
 
 MODULES =              textproc/intltool
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/gummi/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo    24 Nov 2012 21:49:46 -0000      1.7
+++ distinfo    29 Dec 2017 15:31:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (gummi-0.6.5.tar.gz) = sjwpWDdupDxwGidq0ZzqxbUNnLMqSJoQiXslqlAE//s=
-SIZE (gummi-0.6.5.tar.gz) = 520902
+SHA256 (gummi-0.6.6.tar.gz) = AMPaKZuk0/Q+p3YerySejDnsY7a8ZhJuat46JYAB5KM=
+SIZE (gummi-0.6.6.tar.gz) = 528121
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/editors/gummi/patches/patch-configure,v
retrieving revision 1.4
diff -u -p -r1.4 patch-configure
--- patches/patch-configure     23 Mar 2014 18:17:34 -0000      1.4
+++ patches/patch-configure     29 Dec 2017 15:31:12 -0000
@@ -1,7 +1,8 @@
 $OpenBSD: patch-configure,v 1.4 2014/03/23 18:17:34 kili Exp $
---- configure.orig     Sat Oct 20 15:36:04 2012
-+++ configure  Sat Nov 24 22:35:55 2012
-@@ -5418,7 +5418,7 @@ fi
+Index: configure
+--- configure.orig
++++ configure
+@@ -5547,7 +5547,7 @@ fi
  fi
  
  # Add explicit linking flags
Index: patches/patch-src_Makefile_in
===================================================================
RCS file: /cvs/ports/editors/gummi/patches/patch-src_Makefile_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_Makefile_in
--- patches/patch-src_Makefile_in       21 Dec 2017 19:36:17 -0000      1.1
+++ patches/patch-src_Makefile_in       29 Dec 2017 15:31:12 -0000
@@ -8,9 +8,9 @@ warnings when compiling (rather than lin
 Index: src/Makefile.in
 --- src/Makefile.in.orig
 +++ src/Makefile.in
-@@ -224,7 +224,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
+@@ -301,7 +301,7 @@ top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = subdir-objects
  AM_CFLAGS = $(GUI_CFLAGS) \
 -          -export-dynamic -Wall -O2 \
 +          -rdynamic -Wall -O2 \
Index: patches/patch-src_update.c
===================================================================
RCS file: patches/patch-src_update.c
diff -N patches/patch-src_update.c
--- patches/patch-src_update.c  5 Dec 2011 19:48:21 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_update.c,v 1.2 2011/12/05 19:48:21 kili Exp $
---- src/update.c.orig  Fri Dec  2 10:41:51 2011
-+++ src/update.c       Mon Dec  5 20:14:23 2011
-@@ -33,7 +33,9 @@
- #include <string.h>
- 
- #ifndef WIN32
-+#   include <sys/types.h>
- #   include <sys/socket.h>
-+#   include <netinet/in.h>
- #   include <sys/time.h>
- #   include <netdb.h>
- #   include <unistd.h>

Reply via email to