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

Add support for .7z archives #60

Open
soakbot opened this issue Jun 30, 2015 · 1 comment
Open

Add support for .7z archives #60

soakbot opened this issue Jun 30, 2015 · 1 comment

Comments

@soakbot
Copy link

soakbot commented Jun 30, 2015

(Original issue 60 created by scottmc on 2015-04-28T16:39:01.836740+00:00)

A patch for the older haikuporter is attached to this old trac ticket, which may or may not be helpful in adding support to the current haikuporter
http://ports.haiku-files.org/ticket/617

@Begasus
Copy link

Begasus commented May 28, 2023

This still seems to be a problem, trying to timidi_freepats with a SOURCE_URI: https://freepats.zenvoid.org/SoundSets/FreePats-GeneralMIDI/FreePatsGM-SF2-20221026.7z fails to extract the archive with haikuporter, Expander is fine extracting the archive.
Content of the archive as it is presented by Expander:

7-Zip (a) [32] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs x86)

Scanning the drive for archives:
1 file, 237775919 bytes (227 MiB)

Listing archive: /Opslag/haikuports/media-sound/timidity-freepats/download/FreePatsGM-SF2-20221026.7z

--
Path = /Opslag/haikuports/media-sound/timidity-freepats/download/FreePatsGM-SF2-20221026.7z
Type = 7z
Physical Size = 237775919
Headers Size = 243
Method = LZMA2:26
Solid = +
Blocks = 1

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
                    D....            0            0  FreePatsGM-SF2-20221026
                    ....A    322219516    237775676  FreePatsGM-SF2-20221026/FreePatsGM-20221026.sf2
                    ....A         7048               FreePatsGM-SF2-20221026/cc0.txt
                    ....A        35147               FreePatsGM-SF2-20221026/gpl.txt
                    ....A        31419               FreePatsGM-SF2-20221026/readme.txt
------------------- ----- ------------ ------------  ------------------------
                             322293130    237775676  4 files, 1 folders

Error message from haikuporter:

~> hp timidity_freepatsgm_sf
Checking if any dependency-infos need to be updated ...
Looking for stale dependency-infos ...
----------------------------------------------------------------------
media-sound::timidity_freepatsgm_sf-20221026
        /Opslag/haikuports/media-sound/timidity-freepats/timidity_freepatsgm_sf-20221026.recipe
----------------------------------------------------------------------
Skipping download of source for FreePatsGM-SF2-20221026.7z
Skipping checksum validation of FreePatsGM-SF2-20221026.7z
Cleaning source dir for FreePatsGM-SF2-20221026.7z
Unpacking source of FreePatsGM-SF2-20221026.7z
invalid header

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

No branches or pull requests

3 participants