Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2018 18:06:44 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477439 - in head/x11-fm/rox-filer: . files
Message-ID:  <201808171806.w7HI6idL071575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Aug 17 18:06:43 2018
New Revision: 477439
URL: https://svnweb.freebsd.org/changeset/ports/477439

Log:
  x11-fm/rox-filer: add missing dependencies and clean Makefile
  
  - Regenerate patch files with make makepatch.
  - Remove useless assignment to DISTNAME.
  - Add a lib dependency on print/freetype2
  - Add a lib dependency on x11-fonts/fontconfig
  - Add LICENSE= GPLv2+
  - Move USES ahead of USE_*
  - Add gettext-runtime:build to the USES variable
  - Add ice to the variable USE_XORG and sort the corresponding list
  - Add cairo and gdkpixbuf2 to the variable USE_GNOME
  - Reindent the lines of the target post-configure
  - Split a line of the target do-install
  - Replace the use of ${CHMOD} 755 in Makefile
    with the use of @(,,755) in pkg-plist
  
  PR:		230710
  Submitted by:	Samy Mahmoudi <samy.mahmoudi@gmail.com>
  Approved by:	olgeni (maintainer)

Modified:
  head/x11-fm/rox-filer/Makefile
  head/x11-fm/rox-filer/files/patch-ROX-Filer_src_Makefile.in
  head/x11-fm/rox-filer/files/patch-ROX-Filer_src_configure
  head/x11-fm/rox-filer/pkg-plist

Modified: head/x11-fm/rox-filer/Makefile
==============================================================================
--- head/x11-fm/rox-filer/Makefile	Fri Aug 17 17:53:24 2018	(r477438)
+++ head/x11-fm/rox-filer/Makefile	Fri Aug 17 18:06:43 2018	(r477439)
@@ -2,21 +2,24 @@
 
 PORTNAME=	rox-filer
 PORTVERSION=	2.11
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	x11-fm gnome
 MASTER_SITES=	SF/rox/rox/${PORTVERSION}
-DISTNAME=	rox-filer-${PORTVERSION}
 
 MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	Simple and easy to use graphical file manager
 
-LIB_DEPENDS=	libinotify.so:devel/libinotify
+LICENSE=	GPLv2+
 
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libinotify.so:devel/libinotify
+
 PLIST_SUB+=	LOCALBASE=${LOCALBASE}
 
-USE_XORG=	x11 sm xaw xorgproto
-USE_GNOME=	atk glib20 gtk20 libxml2 pango
-USES=		gmake pkgconfig shared-mime-info tar:bzip2
+USES=		gettext-runtime:build gmake pkgconfig shared-mime-info tar:bzip2
+USE_XORG=	ice sm x11 xaw xorgproto
+USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 libxml2 pango
 
 GNU_CONFIGURE=		yes
 CONFIGURE_ENV=		APP_DIR=${WRKSRC}/ROX-Filer
@@ -26,24 +29,30 @@ BUILD_WRKSRC=		${CONFIGURE_WRKSRC}
 ALL_TARGET=
 LIBS+=			-lm
 
+OPTIONS_DEFINE=		NLS
+OPTIONS_DEFAULT=	NLS
+
+NLS_USES=		gettext-runtime:run
+
 post-configure:
-	@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
-                ${CONFIGURE_WRKSRC}/configure \
-                ${CONFIGURE_WRKSRC}/choices.c \
-                ${CONFIGURE_WRKSRC}/support.c \
-                ${CONFIGURE_WRKSRC}/type.c \
-                ${CONFIGURE_WRKSRC}/usericons.c \
-                ${CONFIGURE_WRKSRC}/xdgmime.c
-	@${TOUCH} ${CONFIGURE_WRKSRC}/config.status
+	${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
+	   ${CONFIGURE_WRKSRC}/configure \
+	   ${CONFIGURE_WRKSRC}/choices.c \
+	   ${CONFIGURE_WRKSRC}/support.c \
+	   ${CONFIGURE_WRKSRC}/type.c \
+	   ${CONFIGURE_WRKSRC}/usericons.c \
+	   ${CONFIGURE_WRKSRC}/xdgmime.c
+	${TOUCH} ${CONFIGURE_WRKSRC}/config.status
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/apps/ROX-Filer
-	cd ${WRKSRC}/ROX-Filer && ${CP} -r .DirIcon AppInfo.xml AppRun Help Messages Options.xml ROX ROX-Filer Templates.ui images style.css subclasses ${STAGEDIR}${PREFIX}/apps/ROX-Filer
+	${MKDIR} ${STAGEDIR}${PREFIX}/apps/ROX-Filer
+	cd ${WRKSRC}/ROX-Filer && ${CP} -r .DirIcon AppInfo.xml AppRun \
+	   Help Messages Options.xml ROX ROX-Filer Templates.ui images \
+	   style.css subclasses ${STAGEDIR}${PREFIX}/apps/ROX-Filer
 	cd ${WRKSRC} && ${CP} -r Choices ${STAGEDIR}${PREFIX}/share/
 	${CAT} ${FILESDIR}/rox | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" > ${STAGEDIR}${PREFIX}/bin/rox
-	${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/rox
 	${INSTALL_MAN} ${WRKSRC}/rox.1 ${STAGEDIR}${PREFIX}/man/man1
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages
 	${INSTALL_DATA} ${WRKSRC}/rox.xml ${STAGEDIR}${PREFIX}/share/mime/packages
 
 .include <bsd.port.mk>

Modified: head/x11-fm/rox-filer/files/patch-ROX-Filer_src_Makefile.in
==============================================================================
--- head/x11-fm/rox-filer/files/patch-ROX-Filer_src_Makefile.in	Fri Aug 17 17:53:24 2018	(r477438)
+++ head/x11-fm/rox-filer/files/patch-ROX-Filer_src_Makefile.in	Fri Aug 17 18:06:43 2018	(r477439)
@@ -1,6 +1,6 @@
---- ROX-Filer/src/Makefile.in.orig	2011-10-09 16:31:59.000000000 +0200
-+++ ROX-Filer/src/Makefile.in	2018-07-31 22:30:30.674172000 +0200
-@@ -7,7 +7,7 @@
+--- ROX-Filer/src/Makefile.in.orig	2011-10-09 14:31:59 UTC
++++ ROX-Filer/src/Makefile.in
+@@ -7,7 +7,7 @@ CC = @CC@
  .SUFFIXES: .c .o
  
  PKG_CONFIG = @PKG_CONFIG@
@@ -9,7 +9,7 @@
  #PROF = -fprofile-arcs -pg
  
  PKG_CONFIG_FLAGS=
-@@ -47,10 +47,7 @@
+@@ -47,10 +47,7 @@ OBJECTS = abox.o action.o appinfo.o appm
  ${PROG}: ${OBJECTS}
  	${CC} -o "${PROG}" ${OBJECTS} ${LDFLAGS}
  	mv "${PROG}" "${PLATFORM_DIR}"

Modified: head/x11-fm/rox-filer/files/patch-ROX-Filer_src_configure
==============================================================================
--- head/x11-fm/rox-filer/files/patch-ROX-Filer_src_configure	Fri Aug 17 17:53:24 2018	(r477438)
+++ head/x11-fm/rox-filer/files/patch-ROX-Filer_src_configure	Fri Aug 17 18:06:43 2018	(r477439)
@@ -1,6 +1,6 @@
---- ROX-Filer/src/configure.orig
+--- ROX-Filer/src/configure.orig	2011-10-09 14:32:14 UTC
 +++ ROX-Filer/src/configure
-@@ -2134,10 +2134,6 @@
+@@ -2134,10 +2134,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  ac_config_headers="$ac_config_headers config.h"
  
  

Modified: head/x11-fm/rox-filer/pkg-plist
==============================================================================
--- head/x11-fm/rox-filer/pkg-plist	Fri Aug 17 17:53:24 2018	(r477438)
+++ head/x11-fm/rox-filer/pkg-plist	Fri Aug 17 18:06:43 2018	(r477439)
@@ -143,7 +143,7 @@ apps/ROX-Filer/images/rox-xattr.png
 apps/ROX-Filer/images/symlink.png
 apps/ROX-Filer/style.css
 apps/ROX-Filer/subclasses
-bin/rox
+@(,,755) bin/rox
 man/man1/rox.1.gz
 share/Choices/MIME-types/application_postscript
 share/Choices/MIME-types/text



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808171806.w7HI6idL071575>