7zip: Should DISABLE_RAR condition check be added in 7zip_gcc.mak
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 57/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp
- Domain
- build-system
Research direction
Read 7zip_gcc.mak and compare its RAR compile rules with the existing conditional checks in Arc_gcc.mak. Check how DISABLE_RAR and DISABLE_RAR_COMPRESS are used in the GCC build; done means the RAR handlers and crypto objects follow DISABLE_RAR, while decoder and codec-registration objects follow DISABLE_RAR_COMPRESS, including the requested default when DISABLE_RAR is set.
Written by the indexing model from the issue text.
Description
I’m preparing a small build-system change for the GCC Makefile. In 7zip_gcc.mak, the RAR-related compile rules appear to be unconditional, so setting DISABLE_RAR does not prevent those rules from compiling the RAR handlers and crypto objects.
These changes are referenced from Arc_gcc.mak, where this conditional check is already present.
The proposed patch would:
- Guard the RAR archive handlers and crypto objects with DISABLE_RAR.
- Guard the RAR decoder and codec-registration objects with DISABLE_RAR_COMPRESS.
- Set DISABLE_RAR_COMPRESS=1 when DISABLE_RAR is set, while still allowing DISABLE_RAR_COMPRESS to be set independently.
Is this the intended behavior for the GCC build, and is 7zip_gcc.mak the right place to implement it? If so, I can submit the patch as a pull request.
I have checked that the patch applies to this source tree.
- Dominant language
- C++
- Stars
- 4.6k
- Forks
- 519
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ip7z/7zip
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
area::installer documentation engine::sd enhancement wg::platform-core
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
lemonade-sdk/lemonade#4349 ·
Maintainers usually reply within 1 day
-
Python example: list a model's scenes and their camerasPossibly taken @rudraparmar76 claimed this today. Opendocumentation good first issue python
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
iamahsanmehmood/openskp#796 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tenstorrent/tt-umd#4183 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
odelaneau/GLIMPSE#353 · 1 comment ·
Maintainers usually reply within 4 days