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

New package: firefox-ublock-origin-1.62.0 #54135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Emru1
Copy link
Contributor

@Emru1 Emru1 commented Jan 28, 2025

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64-glibc

I've based this template on Alpine's one.
Installs uBlock Origin for Firefox systemwide.
I'm going to use it in some deployments.
Is this package any good? Or shouldn't it be in repo?
Extension is installed same way as in firefox-i18n and firefox-esr-i18n packages.

Copy link
Member

@ahesford ahesford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drop the INSTALL.msg; that's for mission-critical notices, generally about breaking changes in new versions of software. Messages that teach people how to use software just add noise that is likely to be overlooked or ignored anyway.

I'm not convinced that there's enough value in this package to accept it.

Comment on lines 21 to 23
mkdir -p uBlock-${version}/dist/build/uAssets
mv uAssets-${_uassets_master} uBlock-${version}/dist/build/uAssets/main
mv uAssets-${_uassets_ghpages} uBlock-${version}/dist/build/uAssets/prod
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See vsrcextract for a better way to manage this.

Comment on lines 26 to 27
do_build() {
cd uBlock-${version}
make firefox
}
Copy link
Member

@ahesford ahesford Jan 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unnecessary, whether you adopt vsrcextract or not. Without vsrcextract, you probably need to set build_wrksrc. In either case, just set make_build_target="firefox".

@Emru1 Emru1 requested a review from ahesford January 28, 2025 13:53
@ahesford ahesford dismissed their stale review January 28, 2025 14:28

All requested changes adopted.

@classabbyamp classabbyamp added the new-package This PR adds a new package label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants