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.
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 !
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.
Created attachment 423760 [details] double-commander-0.6.6.ebuild I made ebuild for 0.6.6.
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 :)
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.
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.
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
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.
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.
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
*** Bug 709832 has been marked as a duplicate of this bug. ***
If anyone wants doublemcd-0.9.8 see bug 709832
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.
Created attachment 855028 [details] ebuild for v1.0.10 ebuild for doublecmd 1.0.10
Why it only for qt but not gtk?
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.
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
Created attachment 898971 [details] latest 1.1.16 doublecmd ebuild
(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!
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(+)