Update to roxterm-3.10.1 (unbreak with -fno-common).

This commit is contained in:
ajacoutot 2021-02-11 10:20:04 +00:00
parent 84ba1fdeb6
commit cc6aedbc39
4 changed files with 23 additions and 65 deletions

View File

@ -1,59 +1,30 @@
# $OpenBSD: Makefile,v 1.49 2020/11/01 13:24:10 jasper Exp $
# $OpenBSD: Makefile,v 1.50 2021/02/11 10:20:04 ajacoutot Exp $
COMMENT= terminal emulator for X
COMMENT= highly configurable terminal emulator
GH_ACCOUNT= realh
GH_PROJECT= roxterm
GH_TAGNAME= 3.10.1
DISTNAME= roxterm-3.3.2
CATEGORIES= x11
HOMEPAGE= http://roxterm.sourceforge.net/
# GPLv3
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} ICE SM X11 Xcomposite Xcursor Xdamage
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 atk-bridge-2.0
WANTLIB += c cairo cairo-gobject dbus-1 dbus-glib-1 epoxy expat
WANTLIB += ffi fontconfig freetype fribidi gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gmp gnutls gobject-2.0
WANTLIB += graphite2 gtk-3 harfbuzz hogweed iconv icudata icuuc
WANTLIB += idn2 intl m nettle p11-kit pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pcre2-8 pixman-1 png tasn1 unistring
WANTLIB += vte-2.91 xcb xcb-render xcb-shm z
WANTLIB += atk-1.0 c cairo cairo-gobject dbus-1 dbus-glib-1 gdk-3
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
WANTLIB += gtk-3 harfbuzz intl pango-1.0 pangocairo-1.0 vte-2.91
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=roxterm/}
EXTRACT_SUFX= .tar.xz
MODULES= devel/cmake
MODULES= lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
BUILD_DEPENDS= textproc/docbook-xsl
LIB_DEPENDS= devel/vte3 \
x11/dbus-glib
BUILD_DEPENDS= graphics/ImageMagick \
sysutils/py-lockfile${MODPY_FLAVOR} \
textproc/docbook-xsl \
textproc/xmlto
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+3,-guic
# XXX: translations require unported po4a-gettextize
CONFIGURE_ARGS += --disable-translations \
--destdir="${DESTDIR}" \
--mandir="${PREFIX}/man" \
CC="${CC}" \
CXX="${CXX}"
NO_TEST= Yes
do-configure:
${MODPY_BIN} ${WRKSRC}/mscript.py configure ${CONFIGURE_ARGS}
do-build:
${MODPY_BIN} ${WRKSRC}/mscript.py build
do-install:
${MODPY_BIN} ${WRKSRC}/mscript.py install
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (roxterm-3.3.2.tar.xz) = M1AdaYlx/oDidWEE/6VUGv8j8K4rcYRkAG2RKsk8UG4=
SIZE (roxterm-3.3.2.tar.xz) = 309948
SHA256 (roxterm-3.10.1.tar.gz) = rFutk6+7/sVMZ6Y4g1rTSTzwjxigTVGubCfs6qY9cEE=
SIZE (roxterm-3.10.1.tar.gz) = 528635

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-mscript_py,v 1.3 2020/11/01 13:24:10 jasper Exp $
-T not supported on OpenBSD
Index: mscript.py
--- mscript.py.orig
+++ mscript.py
@@ -615,8 +615,7 @@ elif ctx.mode == "install" or ctx.mode == "uninstall":
if ctx.env['HAVE_GETTEXT']:
for l in linguas:
ctx.install_data("po/%s.mo" % l,
- "${LOCALEDIR}/%s/LC_MESSAGES/roxterm.mo" % l,
- other_options = "-T")
+ "${LOCALEDIR}/%s/LC_MESSAGES/roxterm.mo" % l)
ptdir = ctx.subst("${DESTDIR}/${LOCALEDIR}/pt/LC_MESSAGES")
ctx.ensure_out_dir(ptdir)
call_subprocess(["ln", "-sfn",

View File

@ -1,33 +1,37 @@
@comment $OpenBSD: PLIST,v 1.15 2020/11/01 13:24:10 jasper Exp $
@comment $OpenBSD: PLIST,v 1.16 2021/02/11 10:20:04 ajacoutot Exp $
@bin bin/roxterm
@bin bin/roxterm-config
@man man/man1/roxterm-config.1
@man man/man1/roxterm.1
share/appdata/
share/appdata/roxterm.appdata.xml
share/applications/roxterm.desktop
share/doc/roxterm/
share/doc/roxterm/AUTHORS
share/doc/roxterm/ChangeLog
share/doc/roxterm/README
share/doc/roxterm/en/
share/doc/roxterm/en/guide.html
share/doc/roxterm/en/index.html
share/doc/roxterm/en/installation.html
share/doc/roxterm/en/news.html
share/doc/roxterm/index.html
share/doc/roxterm/index.php
share/doc/roxterm/lib/
share/doc/roxterm/lib/favicon.ico
share/doc/roxterm/lib/header.png
share/doc/roxterm/lib/logo_text.png
share/doc/roxterm/lib/logo_text.xcf
share/doc/roxterm/lib/logo_text_only.png
share/doc/roxterm/lib/roxterm.css
share/doc/roxterm/lib/roxterm_ie.css
share/doc/roxterm/lib/roxterm_logo.png
share/doc/roxterm/lib/screenshot1.png
share/doc/roxterm/lib/screenshot2.png
share/doc/roxterm/lib/sprites.png
share/icons/hicolor/scalable/apps/roxterm.svg
share/metainfo/
share/metainfo/roxterm.metainfo.xml
share/roxterm/
share/roxterm/Config/
share/roxterm/Config/Colours/
share/roxterm/Config/Colours/GTK
share/roxterm/Config/Colours/Nocturne
share/roxterm/Config/Colours/Tango
share/roxterm/Config/Shortcuts/
share/roxterm/Config/Shortcuts/Default