Package Details: doublecmd-plugin-p7z-usr 0.9-1

Git Clone URL: https://aur.archlinux.org/doublecmd-plugin-p7z-usr.git (read-only, click to copy)
Package Base: doublecmd-plugin-p7z-usr
Description: Plugin for Double Commander that provides 7-Zip file archiver features
Upstream URL: https://github.com/ikk00/p7z-usr
Licenses: GPL3
Submitter: sirocco
Maintainer: sirocco
Last Packager: sirocco
Votes: 4
Popularity: 0.54
First Submitted: 2018-05-27 12:23 (UTC)
Last Updated: 2018-05-27 12:23 (UTC)

Pinned Comments

sirocco commented on 2018-05-28 00:41 (UTC) (edited on 2018-05-28 00:43 (UTC) by sirocco)

yes, according to https://github.com/ikk00/p7z-usr

In DCMD go to Options then Plugins. In Packer Plugin tab click the "Add" button and select the "p7z_usr.wcx" file.

In the "Tweak" dialog box, add the file extensions of file types for this plugin to open, see handlers list below.

Notes:

this is a read-only plugin, omitting types supported by other, archive dedicated, plugins is recommended.

list of file types supported is long, direct editing of DCMD configuration file may be a better approach.

ghderty commented on 2018-05-27 19:13 (UTC) (edited on 2018-05-27 19:25 (UTC) by ghderty)

It looks like this plugin needs to be installed manually: Configuration -> Options... -> Plugins -> Packer plugins (.WCX) -> Add -> and select /usr/lib/doublecmd/plugins/wcx/p7z_usr/p7z_usr.wcx

Latest Comments

szmaszmo commented on 2025-12-31 19:24 (UTC)

build() {
    cd "${_pkgname}-${pkgver}"

    # -------------------------------------------------------------------------
    # GCC 15 Fix: Move HfSStrReplace definition to the top
    # -------------------------------------------------------------------------
    local HEADER="src/hef_src/hef_str_piece.h"

    # 1. Define the compact struct string (including the fix for operator=)
    local NEW_DEF='struct HfSStrReplace { int limit; bool bCaseInsensitive; HfSStrReplace(int l=-1, bool b=0) : limit(l), bCaseInsensitive(b) {} HfSStrReplace\& operator=(const HfSStrReplace\&) = default; };'

    # 2. Delete the original definition at the bottom of the file
    # We match the line starting with "struct HfSStrReplace {" (with brace) to avoid deleting the forward decl
    sed -i '/^struct HfSStrReplace {/,/^};/d' "$HEADER"

    # 3. Replace the forward declaration at the top with the full definition
    sed -i "s/^struct HfSStrReplace;/${NEW_DEF}/" "$HEADER"

    # -------------------------------------------------------------------------
    # Fix 2: Missing <ctime> include in hef_data.cpp (for struct tm, time, etc.)
    # -------------------------------------------------------------------------
    sed -i '1i #include <ctime>' src/hef_src/hef_data.cpp

    cd "projects/01_shared_lib"

    make release CXX="g++ -Wno-template-body"
}

With this patch I am able to compile it as of today. Hope it will help.

vvch commented on 2024-06-28 18:20 (UTC)

Cannot compile in Manjaro, g++ (GCC) 14.1.1 20240522

g++ -Wall -fPIC -pthread -DENV_UNIX -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DEXTERNAL_CODECS -O2 -flto -DNDEBUG -I../../src/hef_src -I../../p7zip/compatible_version/CPP -I../../p7zip/compatible_version/CPP/include_windows -I../../p7zip/compatible_version/CPP/myWindows -c ../../src/hef_src/hef_file.cpp -o obj/release/__/__/src/hef_src/hef_file.o
In file included from ../../src/hef_src/hef_data.h:4,
                 from ../../src/hef_src/hef_file.cpp:20:
../../src/hef_src/hef_str_piece.h: In member function ‘std::__cxx11::basic_string<T> hef::HfCStrPiece<T>::replace(const hef::HfCStrPiece<T>&, const hef::HfCStrPiece<T>&, const hef::HfSStrReplace&) const’:
../../src/hef_src/hef_str_piece.h:453:53: error: no match for ‘operator=’ (operand types are ‘hef::HfSStrReplace’ and ‘const hef::HfSStrReplace’)
  453 |                 *static_cast<HfSStrReplace*>(&sr) = cfg;
      |                                                     ^~~

ghderty commented on 2018-07-20 21:02 (UTC)

can someone also create packages for other plugins? this one is really interesting https://github.com/doublecmd/doublecmd/wiki/Plugins#Android_ADB

sirocco commented on 2018-05-28 00:41 (UTC) (edited on 2018-05-28 00:43 (UTC) by sirocco)

yes, according to https://github.com/ikk00/p7z-usr

In DCMD go to Options then Plugins. In Packer Plugin tab click the "Add" button and select the "p7z_usr.wcx" file.

In the "Tweak" dialog box, add the file extensions of file types for this plugin to open, see handlers list below.

Notes:

this is a read-only plugin, omitting types supported by other, archive dedicated, plugins is recommended.

list of file types supported is long, direct editing of DCMD configuration file may be a better approach.

ghderty commented on 2018-05-27 19:13 (UTC) (edited on 2018-05-27 19:25 (UTC) by ghderty)

It looks like this plugin needs to be installed manually: Configuration -> Options... -> Plugins -> Packer plugins (.WCX) -> Add -> and select /usr/lib/doublecmd/plugins/wcx/p7z_usr/p7z_usr.wcx