Update to gummi-0.8.1.

This commit is contained in:
kili 2020-02-22 20:27:13 +00:00
parent 4ba49f7b96
commit 6191c97d7c
4 changed files with 11 additions and 44 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.18 2019/07/12 20:46:05 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2020/02/22 20:27:13 kili Exp $
COMMENT = simple LaTeX editor
V = 0.6.6
V = 0.8.1
DISTNAME = gummi-$V
REVISION = 1
CATEGORIES = editors
@ -17,11 +16,10 @@ MAINTAINER = Matthias Kilian <kili@openbsd.org>
# MIT
PERMIT_PACKAGE = 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 intl m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 poppler-glib pthread z
WANTLIB += atk-1.0 c cairo cairo-gobject enchant-2 gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-3 gtksourceview-3.0
WANTLIB += gtkspell3-3 harfbuzz intl m pango-1.0 pangocairo-1.0
WANTLIB += poppler-glib pthread synctex z
MODULES = textproc/intltool
@ -29,8 +27,9 @@ RUN_DEPENDS = devel/desktop-file-utils \
print/texlive/base
LIB_DEPENDS = print/poppler \
textproc/gtkspell \
x11/gtksourceview
print/texlive/base,-synctex \
textproc/gtkspell3 \
x11/gtksourceview3
CONFIGURE_STYLE = gnu

View File

@ -1,2 +1,2 @@
SHA256 (gummi-0.6.6.tar.gz) = AMPaKZuk0/Q+p3YerySejDnsY7a8ZhJuat46JYAB5KM=
SIZE (gummi-0.6.6.tar.gz) = 528121
SHA256 (gummi-0.8.1.tar.gz) = sggxQgDhdE82Bm83zoxJ11tRlhDmO5fyOYTCz0JD3qY=
SIZE (gummi-0.8.1.tar.gz) = 580887

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-configure,v 1.5 2017/12/31 20:05:45 kili Exp $
Index: configure
--- configure.orig
+++ configure
@@ -5547,7 +5547,7 @@ fi
fi
# Add explicit linking flags
-GUI_LIBS="$GUI_LIBS -pthread -lm -lz -lrt"
+GUI_LIBS="$GUI_LIBS -pthread -lm -lz"
# Checks for header files.
ac_ext=c

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-src_Makefile_in,v 1.2 2017/12/31 20:05:45 kili Exp $
Using -export-dynamic isn't supported by clang, and it's pure luck
that it works as expected with gcc. -rdynamic works with both and
passes -export-dynamic to the linker, allthough it still produces
warnings when compiling (rather than linking) with clang.
Index: src/Makefile.in
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -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 \
-DGUMMI_LIBS=\"$(libdir)/$(PACKAGE)\" \
-DGUMMI_DATA=\"$(datadir)/$(PACKAGE)\" \
-DGUMMI_LOCALES=\"$(datadir)/locale\"