1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

x11-fm/worker: Update version 3.5.2=>3.6.0

- Add support for building with clang on 10+
- Add support for AVFS option to conveniently step into archives

PR:	196958
Submitted by:	mp39590@gmail.com (maintainer)
Approved by:	bapt marino (implicit)
This commit is contained in:
Muhammad Moinur Rahman 2015-02-08 10:39:07 +00:00
parent b024bf4540
commit d2f807025e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378640
5 changed files with 38 additions and 12 deletions

View File

@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= worker
PORTVERSION= 3.5.2
PORTVERSION= 3.6.0
CATEGORIES= x11-fm
MASTER_SITES= http://www.boomerangsworld.de/cms/worker/downloads/
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= mp39590@gmail.com
COMMENT= X11 File Manager based on Directory Opus
@ -16,21 +15,25 @@ RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
GNU_CONFIGURE= yes
USE_XORG= x11
USE_GCC= yes
USES= shebangfix tar:bzip2
SHEBANG_FILES= ${WRKSRC}/scripts/*.sh \
${WRKSRC}/scripts/xeditor
CFLAGS+= ${PTHREAD_CFLAGS}
OPTIONS_DEFINE= XFT
OPTIONS_DEFINE= XFT AVFS
AVFS_DESC= Use AVFS library to access an archives
AVFS_LIB_DEPENDS= libavfs.so:${PORTSDIR}/sysutils/avfs
XFT_CONFIGURE_ENABLE= xft
XFT_USE= XORG=xft
pre-configure:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
.if ${OSVERSION} < 1000024
USE_GCC= 4.6+
.else
CONFIGURE_ARGS+= --disable-cxx-check
CXXFLAGS+= -std=c++11
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (worker-3.5.2.tar.bz2) = 9619edd29359d9e107aeb666208e379852cd462857fcfbf6f4507a8923226af6
SIZE (worker-3.5.2.tar.bz2) = 1488217
SHA256 (worker-3.6.0.tar.bz2) = 3b8f5451523fe73cd81317689ee61e3f8ed43a8f2087c945970cfb369110f735
SIZE (worker-3.6.0.tar.bz2) = 1495468

View File

@ -0,0 +1,10 @@
--- src/dmcacheentrynwc.hh.orig 2015-01-08 18:44:53.000000000 +0300
+++ src/dmcacheentrynwc.hh 2015-01-20 14:58:29.000000000 +0300
@@ -25,6 +25,7 @@
#include "wdefines.h"
#include "nwc_dir.hh"
#include <aguix/refcount.hh>
+#include <functional>
class DirBookmarksSettings;
class DirFilterSettings;

View File

@ -0,0 +1,11 @@
--- src/pathjumpui.hh.orig 2015-01-08 18:44:53.000000000 +0300
+++ src/pathjumpui.hh 2015-01-20 00:01:56.000000000 +0300
@@ -101,7 +101,7 @@
m_always_ignore( false )
{}
- bool operator<( const pathjump_entry &rhs )
+ bool operator<( const pathjump_entry &rhs ) const
{
if ( m_blockcount < rhs.m_blockcount ) return true;
else if ( m_blockcount == rhs.m_blockcount ) {

View File

@ -96,3 +96,5 @@ share/applications/worker.desktop
%%DATADIR%%/config-updates/update-3.3.3.conf
%%DATADIR%%/config-updates/update-3.4.0-utf8.conf
%%DATADIR%%/config-updates/update-3.4.0.conf
%%DATADIR%%/config-updates/update-3.6.0-utf8.conf
%%DATADIR%%/config-updates/update-3.6.0.conf