Open VictorVG opened 1 year ago
Hello,
Igor has made the source public again ... okay, then I can update this. But now today, there are other things I have open ...
@VictorVG - can we compile this also for BSD?
Everything is in order, all of them are full of work, I do not rush - the main thing is that there are sources and it is clear in which direction to conduct development.
Until I tried it since the chief of work was thrown. The ideas are interesting, but so far not everything turns out the way I would like - the technique does not allow this to implement it yet ...
And if possible, I would like to additionally get the opportunity to use codec's at least for unpacking the TAR/ZIP archives with 7z.dll from the set from 7-Zip.org. For example, now the use of ZSTD compression is possible only in 7z format, and in the ports and packages of FreeBSD UNIX a significant part of the tarballs began to pack in tzr.zst and the standard 7-ZIP does not recognize Tarballs such as archives. I have now replaced in Far :: ArcLite standard 7z.dll on yours, but it is almost three times larger than the size than that makes the placement of the assembly on the working flash drive - a capacious TLC there is no desire to carry it and lose it along with the ideas , but somehow I don’t want to show them to others while you yourself don’t understand what you want to do, it’s somehow unpleasant, and the reliable SLC's have a small capacity and although it can also be forgotten somewhere, this is not so disappointing. So the small SLC is more convenient - if it is interesting to someone who want to read - after all, there is still nothing important or personal. But outsiders will not go by the arm with their "wise" tips ...:)
I integrated 7-Zip ZS 22.01
into 7-Zip 23.01
for my own use. I'm sharing the patch here in case anyone else wants it. Since I only needed 7z.dll
for use in Far Manager, I did not merge all the changes. I only merged those required to build 7z.dll
with support for all formats, including those from 7-Zip ZS.
Although this patch is designed to be applied to 7-Zip ZS 22.01
, it was created by using 7-Zip 23.01
as the base code, and merging the required changes from 7-Zip ZS 22.01
. As such, it does not contain all the changes from 7-Zip ZS 22.01
. This patch only includes changes required to build the Format7zF
bundle. I did not integrate the changes for other bundles or the UI. If you want to build other bundles, you just need to update the makefiles and add the objects for the additional codecs. To build the UI, you will also need to update the sources. Most of the changes are straightforward and easy to integrate, since the codecs have already been merged.
The patch can be applied to 7-Zip ZS 22.01
to update it to 7-Zip 23.01
.
7-zip-zstd-22.01-to-23.01.patch
from the attached archive 7-zip-zstd-22.01-to-23.01.patch.zip
7-Zip ZS 22.01 - v1.5.5 - Release 3
from v22.01-v1.5.5-R3.zip
git apply 7-zip-zstd-22.01-to-23.01.patch
in the extracted 7-Zip-zstd-22.01-v1.5.5-R3
directorypatch -p1 < 7-zip-zstd-22.01-to-23.01.patch
instead of git apply
I used the following source files for merging the code and generating the attached patch.
v22.01-v1.5.5-R3.zip
7z2301-src.7z
I am on holiday, that is the reason .... I will apply the update, when I am home again
No worries. Take your time. I patched it last month and figured I'd share it in case anyone needs it.
I integrated
7-Zip ZS 22.01
into7-Zip 23.01
for my own use. I'm sharing the patch here in case anyone else wants it. Since I only needed7z.dll
for use in Far Manager, I did not merge all the changes. I only merged those required to build7z.dll
with support for all formats, including those from 7-Zip ZS.Patch Details
Although this patch is designed to be applied to
7-Zip ZS 22.01
, it was created by using7-Zip 23.01
as the base code, and merging the required changes from7-Zip ZS 22.01
. As such, it does not contain all the changes from7-Zip ZS 22.01
. This patch only includes changes required to build theFormat7zF
bundle. I did not integrate the changes for other bundles or the UI. If you want to build other bundles, you just need to update the makefiles and add the objects for the additional codecs. To build the UI, you will also need to update the sources. Most of the changes are straightforward and easy to integrate, since the codecs have already been merged.Apply Patch
The patch can be applied to
7-Zip ZS 22.01
to update it to7-Zip 23.01
.* Extract `7-zip-zstd-22.01-to-23.01.patch` from the attached archive [`7-zip-zstd-22.01-to-23.01.patch.zip`](https://github.com/mcmilk/7-Zip-zstd/files/11988619/7-zip-zstd-22.01-to-23.01.patch.zip) * Download and extract `7-Zip ZS 22.01 - v1.5.5 - Release 3` from [`v22.01-v1.5.5-R3.zip`](https://github.com/mcmilk/7-Zip-zstd/archive/refs/tags/v22.01-v1.5.5-R3.zip) * Run `git apply 7-zip-zstd-22.01-to-23.01.patch` in the extracted `7-Zip-zstd-22.01-v1.5.5-R3` directory * Alternatively, you can use `patch -p1 < 7-zip-zstd-22.01-to-23.01.patch` instead of `git apply`
Sources
I used the following source files for merging the code and generating the attached patch.
* 7-Zip ZS 22.01 - v1.5.5 - Release 3 – [`v22.01-v1.5.5-R3.zip`](https://github.com/mcmilk/7-Zip-zstd/archive/refs/tags/v22.01-v1.5.5-R3.zip) * 7-Zip 23.01 (2023-06-20) – [`7z2301-src.7z`](https://www.7-zip.org/a/7z2301-src.7z)
Attached Files
* [`7-zip-zstd-22.01-to-23.01.patch.zip`](https://github.com/mcmilk/7-Zip-zstd/files/11988619/7-zip-zstd-22.01-to-23.01.patch.zip)
Hey my friend, i need the last version of 7-Zip Zst version (7-Zip Zstd v23.01 patched version for Windows x86 and x64). If you share it to me i will be very pleasured. Thanks in advance...
Hey my friend, i need the last version of 7-Zip Zst version (7-Zip Zstd v23.01 patched version for Windows x86 and x64). If you share it to me i will be very pleasured. Thanks in advance...
@dominicator I assume you're looking for the full application with the UI. I only built the 64-bit version of 7z.dll
. The version that I have includes custom patches for APFS and GPT/MBR, so it's probably better that you build a clean version from the source code. Besides, you shouldn't trust binaries created by others as they may contain malware. You should either download them from known websites like this one, or build them yourself.
In light of the recent vulnerabilities, is there any progress on the official 23.01 release?
https://sourceforge.net/p/sevenzip/discussion/45797/thread/3f550826d8/?page=1&limit=25#524e
Just use the original version of 7-Zip and integrate the codecs by your own as described here.
@mcmilk: I saw your new branch 23 trying to update to 23.01... Do you try to update it by copy & paste source and do manual review hereafter? Or cherry-picking of some patch from original repo? If so, would not be better to merge backwards to original source instead. If you still don't have a common ancestor with original 7-Zip, one could create empty branch, checkout original 7-Zip to commit of v.22.01 there, create a merge point to some version you started from v.22.01 (merge them together without changes) and then from there merge to v.23.01. This will be probably many times simpler (and safer), because of common ancestor between both origins, also few conflicts etc.
Igor did a lot changes to the COM interfaces... and I hadn't really the time currently. I did some things on last sunday... but it wasn't enough :(
I always apply the diff of the two last versions of Standard 7-Zip and check what needs to be done afterwards.
I am on holiday, that is the reason .... I will apply the update, when I am home again
it is long long holiday 👯
Any news about this update?
Thanks
@mcmilk I notice that the 23 branch seems to indicate you finished updating to 23.01, but there is no new release published. Is it actually unfinished, or have you just not gotten around to publishing the release?
20.06.2023 announced 7-Zip 23.01 STABLE have more fix and new features after 22.01.
URL:
https://7-zip.org/a/7z2301.exe https://7-zip.org/a/7z2301.msi https://7-zip.org/a/7z2301-arm64.exe https://7-zip.org/a/7z2301-extra.7z https://7-zip.org/a/7z2301-linux-arm.tar.xz https://7-zip.org/a/7z2301-linux-arm64.tar.xz https://7-zip.org/a/7z2301-linux-x64.tar.xz https://7-zip.org/a/7z2301-linux-x86.tar.xz https://7-zip.org/a/7z2301-mac.tar.xz https://7-zip.org/a/7z2301-src.7z https://7-zip.org/a/7z2301-x64.exe https://7-zip.org/a/7z2301-x64.msi https://7-zip.org/a/lzma2301.7z