From 09cd6c0bf643252697c3d3f60891081239c07da2 Mon Sep 17 00:00:00 2001 From: Olivier Duchateau Date: Tue, 20 Dec 2016 17:42:59 +0000 Subject: [PATCH] - Update to 0.3.0 - Remove DOCS option - Adjust dependencies - Remove unneeded patch --- sysutils/lxterminal/Makefile | 25 ++++++++----------- sysutils/lxterminal/distinfo | 5 ++-- sysutils/lxterminal/files/patch-src_setting.c | 11 -------- sysutils/lxterminal/pkg-plist | 1 - 4 files changed, 13 insertions(+), 29 deletions(-) delete mode 100644 sysutils/lxterminal/files/patch-src_setting.c diff --git a/sysutils/lxterminal/Makefile b/sysutils/lxterminal/Makefile index cb209370977b..0beaa4afbdb9 100644 --- a/sysutils/lxterminal/Makefile +++ b/sysutils/lxterminal/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= lxterminal -PORTVERSION= 0.2.0 -PORTREVISION= 2 +PORTVERSION= 0.3.0 CATEGORIES= sysutils MASTER_SITES= SF/lxde/LXTerminal%20%28terminal%20emulator%29/LXTerminal%20${PORTVERSION}/ @@ -12,32 +11,28 @@ COMMENT= Lightweight terminal emulator from the LXDE project LICENSE= GPLv2 -BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser -LIB_DEPENDS= libvte.so:x11-toolkits/vte +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 -USES= gmake iconv pkgconfig -USE_GNOME= gtk20 intlhack +USES= gmake localbase pkgconfig tar:xz +USE_GNOME= gtk20 glib20 cairo vte intltool +USE_XORG= x11 xext GNU_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PREFIX} USE_LDCONFIG= yes -PORTDOCS= AUTHORS README INSTALLS_ICONS= YES -OPTIONS_DEFINE= DOCS NLS +CONFIGURE_ARGS= --enable-gtk3=no + +OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls NLS_USES_OFF= gettext-tools -NLS_CPPFLAGS= -I${LOCALBASE}/include -NLS_LDFLAGS= -L${LOCALBASE}/lib post-patch-NLS-off: @${REINPLACE_CMD} -e 's|src po|src|' \ ${WRKSRC}/Makefile.in -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - .include diff --git a/sysutils/lxterminal/distinfo b/sysutils/lxterminal/distinfo index 9ff14c9d73cb..f4f75753c854 100644 --- a/sysutils/lxterminal/distinfo +++ b/sysutils/lxterminal/distinfo @@ -1,2 +1,3 @@ -SHA256 (lxterminal-0.2.0.tar.gz) = 174b0e99652f72acd7a98b6ff1b75eba1a9bf364996e6f118cccdaba0d282baf -SIZE (lxterminal-0.2.0.tar.gz) = 248698 +TIMESTAMP = 1482250130 +SHA256 (lxterminal-0.3.0.tar.xz) = 2a424653565f04f4459cc86756e583f3107ca90e5e81250804dced5f8236c7f9 +SIZE (lxterminal-0.3.0.tar.xz) = 193056 diff --git a/sysutils/lxterminal/files/patch-src_setting.c b/sysutils/lxterminal/files/patch-src_setting.c deleted file mode 100644 index f0e52ecdae81..000000000000 --- a/sysutils/lxterminal/files/patch-src_setting.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/setting.c.orig 2014-10-21 15:29:18 UTC -+++ src/setting.c -@@ -162,7 +162,7 @@ void save_setting() - /* Deep copy settings. */ - Setting * copy_setting(Setting * setting) - { -- g_return_if_fail (setting != NULL); -+ g_return_val_if_fail (setting != NULL, NULL); - - /* Allocate structure. */ - Setting * new_setting = g_slice_new0(Setting); diff --git a/sysutils/lxterminal/pkg-plist b/sysutils/lxterminal/pkg-plist index ff84392a8144..2dce5ec9c98f 100644 --- a/sysutils/lxterminal/pkg-plist +++ b/sysutils/lxterminal/pkg-plist @@ -16,7 +16,6 @@ share/icons/hicolor/128x128/apps/lxterminal.png %%NLS%%share/locale/en_GB/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/eo/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/es/LC_MESSAGES/lxterminal.mo -%%NLS%%share/locale/es_VE/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/et/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/eu/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/fa/LC_MESSAGES/lxterminal.mo