Thursday, October 29, 2020

[Update] gerbv 2.6.2 -> 2.7.0

Hello ports and Brian,

This is an update for gerbv to version 2.7.0. I'm working on another
port that fails to build with 2.6.2, as there was apparently a bug
introduced the breaks linking with an undefined reference to screen. The
port builds fine with this update. Looks like quite a few functions were
removed, so I bumped the major.

Thoughts? Ok?

Thanks.

--

Tracey Emery

Index: Makefile
===================================================================
RCS file: /cvs/ports/cad/gerbv/Makefile,v
retrieving revision 1.37
diff -u -p -u -r1.37 Makefile
--- Makefile 12 Jul 2019 20:43:45 -0000 1.37
+++ Makefile 29 Oct 2020 16:49:32 -0000
@@ -1,27 +1,31 @@
# $OpenBSD: Makefile,v 1.37 2019/07/12 20:43:45 sthen Exp $

COMMENT= viewer for Gerber (RS-274X) files
-DISTNAME= gerbv-2.6.2
+DISTNAME= gerbv-2.7.0
CATEGORIES= cad graphics
-REVISION= 6

HOMEPAGE= http://gerbv.geda-project.org/
MAINTAINER= Brian Callahan <bcallah@openbsd.org>

-SHARED_LIBS += gerbv 0.1 # 1.5
+SHARED_LIBS += gerbv 1.0 # 1.5

# GPLv2
PERMIT_PACKAGE= Yes

-WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr
-WANTLIB += Xrender atk-1.0 c cairo expat ffi fontconfig freetype fribidi
-WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
-WANTLIB += gobject-2.0 graphite2 gthread-2.0 gtk-x11-2.0 harfbuzz iconv
-WANTLIB += intl m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
-WANTLIB += png pthread xcb xcb-render xcb-shm z
+WANTLIB += ${COMPILER_LIBCXX} X11 Xcomposite Xcursor Xdamage Xext
+WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat
+WANTLIB += ffi fontconfig freetype fribidi gdk-x11-2.0 gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 graphite2
+WANTLIB += gtk-x11-2.0 harfbuzz iconv intl m pango-1.0 pangocairo-1.0
+WANTLIB += pangoft2-1.0 pcre pixman-1 png xcb xcb-render xcb-shm
+WANTLIB += z

MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gerbv/}

+COMPILER= base-clang ports-gcc
+
+MODULES= devel/dconf
+
BUILD_DEPENDS= shells/bash
LIB_DEPENDS= x11/gtk+2

@@ -30,6 +34,8 @@ RUN_DEPENDS= devel/desktop-file-utils \

CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-update-desktop-database
+
+USE_GMAKE= Yes

pre-configure:
${SUBST_CMD} ${WRKSRC}/icon-theme-installer
Index: distinfo
===================================================================
RCS file: /cvs/ports/cad/gerbv/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo 14 Jun 2017 08:02:46 -0000 1.5
+++ distinfo 29 Oct 2020 16:49:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (gerbv-2.6.2.tar.gz) = 8QSboW6aKsug05+Di/A2wJ7pDFJwDtAU1xNhEK2ZiLM=
-SIZE (gerbv-2.6.2.tar.gz) = 2619053
+SHA256 (gerbv-2.7.0.tar.gz) = xe6AjEIwzmvjrRCrY8VHCYOG1DAicE3iXduTeOYgU7Q=
+SIZE (gerbv-2.7.0.tar.gz) = 5691407
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/cad/gerbv/pkg/PLIST,v
retrieving revision 1.11
diff -u -p -u -r1.11 PLIST
--- pkg/PLIST 29 Jun 2018 22:16:09 -0000 1.11
+++ pkg/PLIST 29 Oct 2020 16:49:32 -0000
@@ -1,9 +1,9 @@
@comment $OpenBSD: PLIST,v 1.11 2018/06/29 22:16:09 espie Exp $
@bin bin/gerbv
-include/gerbv-2.6.2/
-include/gerbv-2.6.2/gerbv.h
@comment lib/charset.alias
-lib/libgerbv.a
+include/gerbv-2.7.0/
+include/gerbv-2.7.0/gerbv.h
+@static-lib lib/libgerbv.a
lib/libgerbv.la
@lib lib/libgerbv.so.${LIBgerbv_VERSION}
lib/pkgconfig/libgerbv.pc
@@ -16,6 +16,7 @@ share/gerbv/scheme/
share/gerbv/scheme/gerb-debug.scm
share/gerbv/scheme/gerb-ps.scm
share/gerbv/scheme/init.scm
+share/glib-2.0/schemas/org.geda-user.gerbv.gschema.xml
share/icons/hicolor/16x16/apps/gerbv-16.png
share/icons/hicolor/22x22/apps/gerbv-22.png
share/icons/hicolor/24x24/apps/gerbv-24.png
@@ -26,3 +27,4 @@ share/icons/hicolor/scalable/apps/gerbv.
share/locale/ru/LC_MESSAGES/gerbv.mo
@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor
+@tag glib-compile-schemas

No comments:

Post a Comment