aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2016-03-13 21:39:37 +0000
committerThomas Zander <riggs@FreeBSD.org>2016-03-13 21:39:37 +0000
commit49761da6e6bca9e77e3d6f5fcdfa20c68811891e (patch)
tree8fbad9ab646a52aed6f805e7db8debd983a5d44f /x11-fm
parent0a0acad55992b812ca028b93cf0cdd6fad718651 (diff)
downloadports-49761da6e6bca9e77e3d6f5fcdfa20c68811891e.tar.gz
ports-49761da6e6bca9e77e3d6f5fcdfa20c68811891e.zip
Un-break port, update to upstream version 0.7.0
While on it: - Pet portlint PR: 206840 Submitted by: bbtruk@users.sourceforge.net (maintainer) MFH: 2016Q1
Notes
Notes: svn path=/head/; revision=411032
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/doublecmd/Makefile17
-rw-r--r--x11-fm/doublecmd/distinfo4
-rw-r--r--x11-fm/doublecmd/files/patch-plugins_wlx_WlxMplayer_src_wlxMplayer.lpr (renamed from x11-fm/doublecmd/files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr)2
-rw-r--r--x11-fm/doublecmd/files/patch-src__dmhelpmanager.pas16
-rw-r--r--x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas18
-rw-r--r--x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas (renamed from x11-fm/doublecmd/files/patch-src__uGlobsPaths.pas)14
6 files changed, 33 insertions, 38 deletions
diff --git a/x11-fm/doublecmd/Makefile b/x11-fm/doublecmd/Makefile
index adfd6e851c60..cb23326dae19 100644
--- a/x11-fm/doublecmd/Makefile
+++ b/x11-fm/doublecmd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= doublecmd
-PORTVERSION= 0.6.6
+PORTVERSION= 0.7.0
CATEGORIES= x11-fm
MASTER_SITES= SF/${PORTNAME}/Double%20Commander%20Source
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -13,9 +13,6 @@ COMMENT= Total Commander like file manager for the X Window System
LICENSE= GPLv2
-BROKEN= fails with FPC-3.0.0-built Lazarus\
- (Can't find unit uOverlayScrollBarFix)
-
BUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \
fpcres:${PORTSDIR}/lang/fpc-utils
@@ -23,7 +20,7 @@ ONLY_FOR_ARCHS= i386 amd64
PORTDOCS= *
-USES= dos2unix
+USES= dos2unix desktop-file-utils
USE_FPC= cairo fcl-base fcl-db fcl-image fcl-json fcl-registry \
fcl-xml iconvenc pasjpeg rtl-extra x11
DOS2UNIX_FILES= src/dmhelpmanager.pas
@@ -32,7 +29,7 @@ WANT_GNOME= yes
PLIST= ${WRKDIR}/pkg-plist
PROJECT_FILE= src/doublecmd.lpi
-LAZARUS_VER= 1.4.2
+LAZARUS_VER= 1.6RC2
LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d --pcp=${WRKSRC}/tmppcp
LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER}
MAKE_ENV+= LDVER=ld.bfd # for DragonFly
@@ -104,7 +101,6 @@ OPTIONS_DEFAULT= GTK2 \
GTK2_USE= fpc=gtk2 gnome=gtk20
GTK2_BUILD_DEPENDS= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2
-QT4_USE= fpc=yes
QT4_LIB_DEPENDS= libQt4Pas.so:${PORTSDIR}/x11-toolkits/qt4pas
QT4_BUILD_DEPENDS= ${LAZARUS_DIR}/lcl/units/${BUILDNAME}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
@@ -141,10 +137,9 @@ post-patch:
${WRKSRC}/plugins/wlx/WlxMplayer/src/wlxMplayer.lpr
do-build:
-.for FILE in chsdet/chsdet.lpk CmdLine/cmdbox.lpk dcpcrypt/dcpcrypt.lpk \
- doublecmd/doublecmd_common.lpk KASToolBar/kascomp.lpk \
- viewer/viewerpackage.lpk gifanim/pkg_gifanim.lpk \
- ZVDateTimeCtrls/zvdatetimectrls.lpk
+.for FILE in chsdet/chsdet.lpk CmdLine/cmdbox.lpk multithreadprocs/multithreadprocslaz.lpk \
+ dcpcrypt/dcpcrypt.lpk doublecmd/doublecmd_common.lpk KASToolBar/kascomp.lpk \
+ viewer/viewerpackage.lpk gifanim/pkg_gifanim.lpk
@cd ${WRKSRC}/components && ${SETENV} ${MAKE_ENV} \
${LAZBUILD_CMD} --lazarusdir=${LAZARUS_DIR} --ws=${LCL_PLATFORM} "${FILE}"
.endfor
diff --git a/x11-fm/doublecmd/distinfo b/x11-fm/doublecmd/distinfo
index b631010cec60..59c87a4025eb 100644
--- a/x11-fm/doublecmd/distinfo
+++ b/x11-fm/doublecmd/distinfo
@@ -1,4 +1,4 @@
-SHA256 (doublecmd-0.6.6-src.tar.gz) = 40172d410b7f37608e702edcb36bdaf3b13ae65f065bf01bc99082c0b01f8610
-SIZE (doublecmd-0.6.6-src.tar.gz) = 6108433
+SHA256 (doublecmd-0.7.0-src.tar.gz) = 4c0bb537268f44c6571da20a68650ee0164d1db9a300666012a72e8e3d7d6d20
+SIZE (doublecmd-0.7.0-src.tar.gz) = 6635488
SHA256 (doublecmd-help-0.6.0-src.tar.gz) = d50a58f0e8c25c07720f2afd987213f330dfce268e2aef349d1da3de2eef1c39
SIZE (doublecmd-help-0.6.0-src.tar.gz) = 11514996
diff --git a/x11-fm/doublecmd/files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr b/x11-fm/doublecmd/files/patch-plugins_wlx_WlxMplayer_src_wlxMplayer.lpr
index eac4ed696a71..b3256a0b558c 100644
--- a/x11-fm/doublecmd/files/patch-plugins__wlx__WlxMplayer__src__wlxMplayer.lpr
+++ b/x11-fm/doublecmd/files/patch-plugins_wlx_WlxMplayer_src_wlxMplayer.lpr
@@ -1,4 +1,4 @@
---- plugins/wlx/WlxMplayer/src/wlxMplayer.lpr.orig 2013-03-10 10:26:35 UTC
+--- plugins/wlx/WlxMplayer/src/wlxMplayer.lpr.orig 2016-01-13 13:19:01 UTC
+++ plugins/wlx/WlxMplayer/src/wlxMplayer.lpr
@@ -258,7 +258,7 @@ var
sPlayerPath: String;
diff --git a/x11-fm/doublecmd/files/patch-src__dmhelpmanager.pas b/x11-fm/doublecmd/files/patch-src__dmhelpmanager.pas
deleted file mode 100644
index 1bf2068673c7..000000000000
--- a/x11-fm/doublecmd/files/patch-src__dmhelpmanager.pas
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/dmhelpmanager.pas.orig 2015-08-17 15:35:25 UTC
-+++ src/dmhelpmanager.pas
-@@ -69,11 +69,11 @@ begin
- else
- begin
- gHelpLang:= ExtractDelimited(2, gPOFileName, ['.']);
-- if not mbDirectoryExists(gpExePath + 'doc' + PathDelim + gHelpLang) then
-+ if not mbDirectoryExists(gpDocsDir + PathDelim + gHelpLang) then
- gHelpLang:= 'en';
- end;
-
-- HTMLHelpDatabase.BaseURL:= 'file://' + gpExePath + 'doc' + PathDelim + gHelpLang;
-+ HTMLHelpDatabase.BaseURL:= 'file://' + gpDocsDir + PathDelim + gHelpLang;
- HTMLHelpDatabase.KeywordPrefix:= '/';
-
- {$IFDEF MSWindows}
diff --git a/x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas b/x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas
new file mode 100644
index 000000000000..b34da62c799b
--- /dev/null
+++ b/x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas
@@ -0,0 +1,18 @@
+--- src/dmhelpmanager.pas.orig 2016-01-13 13:34:47 UTC
++++ src/dmhelpmanager.pas
+@@ -106,12 +106,12 @@ begin
+ else
+ begin
+ gHelpLang:= ExtractDelimited(2, gPOFileName, ['.']);
+- if not mbDirectoryExists(gpExePath + 'doc' + PathDelim + gHelpLang) then
++ if not mbDirectoryExists(gpDocsDir + PathDelim + gHelpLang) then
+ gHelpLang:= 'en';
+ end;
+
+- if mbDirectoryExists(gpExePath + 'doc' + PathDelim + gHelpLang) then
+- HTMLHelpDatabase.BaseURL:= 'file://' + gpExePath + 'doc' + PathDelim + gHelpLang
++ if mbDirectoryExists(gpDocsDir + PathDelim + gHelpLang) then
++ HTMLHelpDatabase.BaseURL:= 'file://' + gpDocsDir + PathDelim + gHelpLang
+ else begin
+ HTMLHelpDatabase.BaseURL:= 'http://doublecmd.github.io/doc/' + gHelpLang;
+ end;
diff --git a/x11-fm/doublecmd/files/patch-src__uGlobsPaths.pas b/x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas
index ad4694e8a7f4..b22ddda14665 100644
--- a/x11-fm/doublecmd/files/patch-src__uGlobsPaths.pas
+++ b/x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas
@@ -1,6 +1,6 @@
---- src/uGlobsPaths.pas.orig 2015-08-17 15:35:25 UTC
+--- src/uGlobsPaths.pas.orig 2016-01-13 13:34:19 UTC
+++ src/uGlobsPaths.pas
-@@ -3,14 +3,15 @@ unit uGlobsPaths;
+@@ -3,13 +3,14 @@ unit uGlobsPaths;
interface
var
@@ -11,14 +11,12 @@
gpCmdLineCfgDir : String = ''; // config dir passed on the command line
gpLngDir : String = ''; // path to language *.po files
gpPixmapPath : String = ''; // path to pixmaps
- gpCacheDir : UTF8String = ''; // cache directory
--
+ gpCacheDir : String = ''; // cache directory
+ gpDocsDir : String = '%%DOCSDIR%%'; // directory for help files
-+
- procedure LoadPaths;
- procedure UpdateEnvironmentVariable;
-@@ -32,7 +33,7 @@ end;
+ //Global Configuration Filename
+ const
+@@ -36,7 +37,7 @@ end;
procedure LoadPaths;
begin
OnGetApplicationName := @GetAppName;