Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415029 - app-misc/doublecmd - Double Commander is a cross platform open source file manager with two panels side by side
Summary: app-misc/doublecmd - Double Commander is a cross platform open source file ma...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL: http://doublecmd.sourceforge.net/
Whiteboard:
Keywords: PullRequest
: 709832 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-07 15:56 UTC by Mark
Modified: 2024-09-19 17:13 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
double-commander-0.6.6.ebuild (double-commander-0.6.6.ebuild,1.41 KB, text/plain)
2016-01-24 10:55 UTC, Constantine Bytensky
Details
double-commander-0.7.1.ebuild (double-commander-0.7.1.ebuild,1.45 KB, text/plain)
2016-04-01 22:21 UTC, Wojciech Myrda
Details
double-commander-0.7.7.ebuild (double-commander-0.7.7.ebuild,1.45 KB, text/plain)
2016-12-26 04:32 UTC, Wojciech Myrda
Details
double-commander-0.8.1.ebuild (double-commander-0.8.1.ebuild,1.66 KB, text/plain)
2018-01-21 10:28 UTC, Wojciech Myrda
Details
double-commander-0.8.3.ebuild (double-commander-0.8.3.ebuild,1.78 KB, text/plain)
2018-06-09 06:31 UTC, Wojciech Myrda
Details
build patch (doublecmd-build.patch,404 bytes, patch)
2023-02-27 13:55 UTC, MeatShooter
Details | Diff
ebuild for v1.0.10 (doublecmd-1.0.10.ebuild,899 bytes, text/plain)
2023-02-27 13:56 UTC, MeatShooter
Details
latest 1.1.16 doublecmd ebuild (doublecmd-1.1.16.ebuild,905 bytes, text/plain)
2024-08-04 10:40 UTC, MeatShooter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2012-05-07 15:56:18 UTC

    
Comment 1 Mark 2012-05-07 15:59:14 UTC
I have been using this and found it a very nice dual pane file manager. I do not know to make an e-build nad make dev life easier, so I must ask.
Comment 2 Ulenrich 2012-05-31 00:27:22 UTC
I would appreciate an ebuild of this, as all of the outher two pane managers are currently not worked on as doublecmd. And you can enable your old Win-Totalcommander scripts as an extra benefit !
Comment 3 Mads 2013-09-13 07:47:49 UTC
The installation procedure is very non-standard, everything is done through custom shell scripts. But it should be doable if we can figure out the dependencies and stuff.
Comment 4 Constantine Bytensky 2016-01-24 10:55:46 UTC
Created attachment 423760 [details]
double-commander-0.6.6.ebuild

I made ebuild for 0.6.6.
Comment 5 Wojciech Myrda 2016-04-01 22:21:37 UTC
Created attachment 429458 [details]
double-commander-0.7.1.ebuild

slightly updated ebuild for new version of doublecmd released March 27, 2016

PS Great job Constantine :)
Comment 6 Wojciech Myrda 2016-12-26 04:32:27 UTC
Created attachment 457400 [details]
double-commander-0.7.7.ebuild

version 0.7.7 has been just released. Simple bump works. Please include that one in the tree as it is best file management tool out there for all of those that like Norton Commander two panel look.
Comment 7 Wojciech Myrda 2018-01-21 10:28:00 UTC
Created attachment 515606 [details]
double-commander-0.8.1.ebuild

As there is new version of Double Commander https://doublecmd.sourceforge.io/mediawiki/index.php/Changes_in_version_0.8.0 I created new ebuild corresponding to it. It makes use of QT5 now as well, but hence I do not use QT than I did not test it.

Ebuild requires lazarus-1.8 hence it is required for propoer High DPI support (see link to changes above). Co compile lazarus 1.6.4 is still enough https://doublecmd.sourceforge.io/mediawiki/index.php/Development#Building_from_source

Ebuild builds and works fine for me using GTK2, but I am not able to tell if it requires any of this https://wiki.gentoo.org/wiki/Notes_on_ebuilds_with_GUI as it all sounds voodish to me.
Comment 8 Wojciech Myrda 2018-01-21 10:50:53 UTC
This bug depends on:
https://bugs.gentoo.org/645226 - dev-lang/fpc
https://bugs.gentoo.org/645224 - dev-lang/lazarus
https://bugs.gentoo.org/645228 - dev-qt/qtpascal
Comment 9 Wojciech Myrda 2018-06-09 06:31:43 UTC
Created attachment 535350 [details]
double-commander-0.8.3.ebuild

Hence there is new version available https://doublecmd.sourceforge.io/mantisbt/changelog_page.php?version_id=53 I took liberty of fixing ebuild according to skel.ebuild also adding appropriate xdg_desktop_database_update to it.
Comment 10 Florian Berger 2018-06-26 04:46:53 UTC
The 0.8.3. ebuild builds on my machine, but whenn I try to run the program, it gives me one of:

[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $00000021 in 
  $F349775E in /usr/share/doublecmd/plugins/wdx/audioinfo/audioinfo.wdx
  $F77BFFE5 in /lib/ld-linux.so.2
TApplication.HandleException Access violation
  Stack trace:
  $00000021 in 
  $F349775E in /usr/share/doublecmd/plugins/wdx/audioinfo/audioinfo.wdx
  $F77BFFE5 in /lib/ld-linux.so.2
[FORMS.PP] ExceptionOccurred 
[FORMS.PP] ExceptionOccurred 

or

Creating PixmapManager
Loading icon theme DCTheme
Loading icon theme DCTheme
[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $F67813E5 in /usr/lib/libpng16.so.16
TApplication.HandleException Access violation
  Stack trace:
  $F67813E5 in /usr/lib/libpng16.so.16
Finishing GuiMessageQueue
Shutting down PixmapManager

A quick check with ldd looked fine so far, I can not find any apparent linking problems.
Comment 11 Wojciech Myrda 2018-06-26 07:41:27 UTC
I just noticed it does show an error due to pixmaps not loading, but works fine here with below setup:

~ $ doublecmd 
Starting GuiMessageQueue
Starting Double Commander
Double Commander 0.8.3 beta
Revision: 8160
Build: 2018/06/09
Lazarus: 1.8.4.0
Free Pascal: 3.0.4
Platform: x86_64-Linux-gtk2
System: "Gentoo"
Desktop Environment: Xfce
Widgetset library: GTK 2.24.32
This program is free software released under terms of GNU GPL 2
(C)opyright 2006-2017 Alexander Koblov (alexx2000@mail.ru)
   and contributors (see about dialog)
Executable directory: /usr/share/doublecmd/
Loading configuration from /home/user/.config/doublecmd/
Loading lng file: /usr/share/doublecmd/language/doublecmd.pl.po
WDX: LOAD: /usr/share/doublecmd/plugins/wdx/deb_wdx/deb_wdx.wdx
WDX: LOAD: /usr/share/doublecmd/plugins/wdx/rpm_wdx/rpm_wdx.wdx
WDX: LOAD: /usr/share/doublecmd/plugins/wdx/audioinfo/audioinfo.wdx
Error loading configuration file /home/user/.config/doublecmd/favoritetabs.xml
PollThread: Start polling
PollThread: AddPoll 9
Creating PixmapManager
Loading icon theme DCTheme
Loading icon theme DCTheme
Error: pixmap [/usr/share/doublecmd/doublecmd] not loaded!
UDisks: Service successfully started.
UDisks: Version 1.0.5
TColumnsFileView.Create components
Creating TFileSystemFileSource
TColumnsFileView.Create components
FileSystemWatcher thread starting
frmMain.frmMainShow
UDisks: Device changed: /org/freedesktop/UDisks/devices/sda
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2020-02-16 18:33:10 UTC
*** Bug 709832 has been marked as a duplicate of this bug. ***
Comment 13 MeatShooter 2020-02-16 19:00:17 UTC
If anyone wants doublemcd-0.9.8 see bug 709832
Comment 14 MeatShooter 2023-02-27 13:55:28 UTC
Created attachment 855026 [details, diff]
build patch

Since libqt5pas was recently added to tree, let me attach the current (v 1.10) ebuild+small_patch here. May be it will be useful for somebody.
Comment 15 MeatShooter 2023-02-27 13:56:44 UTC
Created attachment 855028 [details]
ebuild for v1.0.10

ebuild for doublecmd 1.0.10
Comment 16 Vitaly Zdanevich 2024-05-25 01:16:28 UTC
Why it only for qt but not gtk?
Comment 17 Vitaly Zdanevich 2024-05-25 01:25:28 UTC
Here https://gpo.zugaina.org/app-misc/double-commander I found ebuild for 0.8.3, I tried to adapt it for the current 1.1.4:

```
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit xdg-utils desktop

DESCRIPTION="Cross Platform file manager."
HOMEPAGE="http://$PN.sourceforge.net/"
SRC_URI="https://github.com/$PN/$PN/releases/download/v$PV/$P-src.tar.gz"

S="$WORKDIR/$P"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="gtk qt5"
REQUIRED_USE=" ^^ ( gtk qt5 )"
RESTRICT="strip"

DEPEND="dev-lang/lazarus"
RDEPEND="
	${DEPEND}
	sys-apps/dbus
	dev-libs/glib
	sys-libs/ncurses
	x11-libs/libX11
	gtk? ( x11-libs/gtk+:2 )
	qt5? ( dev-qt/qtcore )
"

src_prepare(){
	eapply_user

	use gtk && export lcl="gtk2"
	use qt5 && export lcl="qt5"
	use amd64 && export CPU_TARGET="x86_64" || export CPU_TARGET="i386"

	export lazpath="/usr/share/lazarus"

	find ./ -type f -name "build.sh" -exec sed -i 's#$lazbuild #$lazbuild --lazarusdir=/usr/share/lazarus #g' {} \;
}

src_compile(){
	./build.sh beta || die
}

src_install(){
	diropts -m0755
	dodir /usr/share

	install/linux/install.sh --portable-prefix=build

	newicon pixmaps/mainicon/colored/v4_3.png $PN.png

	rsync -a "${S}/build/" "${D}/usr/share/" || die "Unable to copy files"

	dosym ../share/$PN/$PN /usr/bin/$PN

	make_desktop_entry $PN "Double Commander" "$PN" "Utility;" || die "Failed making desktop entry!"
}

pkg_postinst() {
	xdg_desktop_database_update
}

pkg_postrm() {
	xdg_desktop_database_update
}
```

but errors on build:
```
SetupCompilerFilename: Searching compiler ...
SearchCompilerCandidates Value=fpc File=/usr/bin/fpc
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas"
SetupCompilerFilename: using /usr/bin/fpc
Hint: (lazarus) storing Lazarus directory "/usr/share/lazarus/" Compiler path "/usr/bin/fpc" in "/etc/lazarus/environmentoptions.xml"
Error: (lazarus) unable to edit file /etc/lazarus/environmentoptions.xml
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-iWTOTP" "-Px86_64"
Hint: (lazarus) [RunTool] "/usr/bin/fpc" "-va" "compilertest.pas" "-Px86_64"
Hint: (lazarus) Missing state file of FCL 1.0.1: /usr/share/lazarus/packager/units/x86_64-linux/FCL.compiled
Hint: (lazarus) normal output directory of package FCL 1.0.1 is not writable: "/usr/share/lazarus/packager/units/x86_64-linux/"
TParsedCompilerOptions.SetOutputDirectoryOverride New=/etc/lazarus/lib/units/x86_64-linux
Hint: (lazarus) Missing state file of FCL 1.0.1: /etc/lazarus/lib/units/x86_64-linux/FCL.compiled
Error: (lazarus) unable to create package output directory "/etc/lazarus/lib/units/x86_64-linux" of package "FCL 1.0.1"
Error: (lazarus) [TLazPackageGraph.PreparePackageOutputDirectory] failed to create writable directory: /etc/lazarus/lib/units/x86_64-linux
Error: (lazarus) [TLazPackageGraph.CompilePackage] PreparePackageOutputDirectory failed: FCL 1.0.1
Error: (lazarus) Compile required packages failed: chsdet 0.2.9
Error: (lazbuild) chsdet 0.2.9 compilation failed
```

Please help.
Comment 18 MeatShooter 2024-05-25 10:49:09 UTC
Hi, GTK2 is way outdated. On the other hand, the attached 1.0.10 ebuild works perfectly with QT, just rename to 1.1.14
Comment 19 MeatShooter 2024-08-04 10:40:10 UTC
Created attachment 898971 [details]
latest 1.1.16 doublecmd ebuild
Comment 20 Viorel Munteanu gentoo-dev 2024-08-05 05:06:43 UTC
(In reply to MeatShooter from comment #19)
> Created attachment 898971 [details]
> latest 1.1.16 doublecmd ebuild

I am adding your ebuild to GURU (with a few tweaks).  If you want, you can request access to GURU and maintain it.

https://wiki.gentoo.org/wiki/Project:GURU

Thanks!
Comment 21 Larry the Git Cow gentoo-dev 2024-08-05 05:20:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4abb04f5e9ac09f81d84a801b5cd7a98d8be16eb

commit 4abb04f5e9ac09f81d84a801b5cd7a98d8be16eb
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-08-04 18:16:38 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-08-05 04:58:13 +0000

    app-misc/doublecmd: new package, add 1.1.16
    
    Bug: https://bugs.gentoo.org/415029
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 app-misc/doublecmd/Manifest                        |  1 +
 app-misc/doublecmd/doublecmd-1.1.16.ebuild         | 59 ++++++++++++++++++++++
 .../doublecmd/files/doublecmd-1.1.16-build.patch   | 11 ++++
 app-misc/doublecmd/metadata.xml                    |  9 ++++
 4 files changed, 80 insertions(+)