Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please, update up to 7-Zip 23.01 STABLE #337

Open
VictorVG opened this issue Jun 20, 2023 · 16 comments
Open

Please, update up to 7-Zip 23.01 STABLE #337

VictorVG opened this issue Jun 20, 2023 · 16 comments

Comments

@mcmilk
Copy link
Owner

mcmilk commented Jun 20, 2023

Hello,

Igor has made the source public again ... okay, then I can update this. But now today, there are other things I have open ...

@mcmilk
Copy link
Owner

mcmilk commented Jun 20, 2023

@VictorVG - can we compile this also for BSD?

@VictorVG
Copy link
Author

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 ...

@VictorVG
Copy link
Author

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 ...:)

@rohitab
Copy link

rohitab commented Jul 8, 2023

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.

Patch Details

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.

Apply Patch

The patch can be applied to 7-Zip ZS 22.01 to update it to 7-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
  • Download and extract 7-Zip ZS 22.01 - v1.5.5 - Release 3 from 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.

Attached Files

@mcmilk
Copy link
Owner

mcmilk commented Jul 8, 2023

I am on holiday, that is the reason .... I will apply the update, when I am home again

@rohitab
Copy link

rohitab commented Jul 8, 2023

No worries. Take your time. I patched it last month and figured I'd share it in case anyone needs it.

@dominicator
Copy link

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.

Patch Details

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.

Apply Patch

The patch can be applied to 7-Zip ZS 22.01 to update it to 7-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...

@rohitab
Copy link

rohitab commented Aug 11, 2023

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.

@andrin55
Copy link

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

@akuropka
Copy link

akuropka commented Sep 3, 2023

Just use the original version of 7-Zip and integrate the codecs by your own as described here.

@sebres
Copy link
Contributor

sebres commented Oct 26, 2023

@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.

@mcmilk
Copy link
Owner

mcmilk commented Oct 26, 2023

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.

@truefriend-cz
Copy link

I am on holiday, that is the reason .... I will apply the update, when I am home again

it is long long holiday 👯

@Dominiquini
Copy link

Any news about this update?

Thanks

@ImportTaste
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants