From: Feleuxens <Feleuxens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: PWAsForFirefox-2.7.3
Date: Tue, 03 Oct 2023 22:55:44 +0200 [thread overview]
Message-ID: <20231003205544.svXMcvgcCKhdxsAFlLLmzz9zQT3ipea8DPrCfbTVtr4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46316@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 684 bytes --]
There is an updated pull request by Feleuxens against master on the void-packages repository
https://github.com/Feleuxens/void-packages PWAsForFirefox
https://github.com/void-linux/void-packages/pull/46316
New package: PWAsForFirefox-2.7.3
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/46316.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-PWAsForFirefox-46316.patch --]
[-- Type: text/x-diff, Size: 1967 bytes --]
From f948006b142d7341c606193e4b85c174dea4809a Mon Sep 17 00:00:00 2001
From: Feleuxens <felixgrueb@icloud.com>
Date: Thu, 28 Sep 2023 22:42:49 +0200
Subject: [PATCH] New package: PWAsForFirefox-2.8.0
---
srcpkgs/PWAsForFirefox/template | 35 +++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 srcpkgs/PWAsForFirefox/template
diff --git a/srcpkgs/PWAsForFirefox/template b/srcpkgs/PWAsForFirefox/template
new file mode 100644
index 0000000000000..558deef7f9440
--- /dev/null
+++ b/srcpkgs/PWAsForFirefox/template
@@ -0,0 +1,35 @@
+# Template file for 'PWAsForFirefox'
+pkgname=PWAsForFirefox
+version=2.8.0
+revision=1
+archs="~*-musl"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel"
+depends="firefox"
+short_desc="Native part of the firefox extension PWAsForFirefox"
+maintainer="Feleuxens <me@feleuxens.de>"
+license="MPL-2.0"
+homepage="https://github.com/filips123/PWAsForFirefox"
+distfiles="https://github.com/filips123/PWAsForFirefox/archive/refs/tags/v${version}.tar.gz"
+checksum=d2aff50d963d9d197b41f8736d9fbc3a01922f455d7b90eae1ce80dab3d9f313
+
+post_extract() {
+ # rm everything except native/
+ find . -mindepth 1 -maxdepth 1 -not -name native -exec rm -r '{}' \;
+ # move everything inside native to root
+ mv native/* .
+ # set version because it is set to 0.0.0
+ vsed -i "s/0.0.0/${version}/" Cargo.toml
+ vsed -i "/firefoxpwa/,/0.0.0/ s/0.0.0/${version}/" Cargo.lock
+ vsed -i "s/DISTRIBUTION_VERSION = '0.0.0'/DISTRIBUTION_VERSION = '${version}'/g" userchrome/profile/chrome/pwa/chrome.jsm
+}
+
+post_install() {
+ vinstall "target/${RUST_TARGET}/release/firefoxpwa-connector" 755 usr/libexec
+ vinstall manifests/linux.json 644 usr/lib/mozilla/native-messaging-hosts firefoxpwa.json
+ vinstall manifests/linux.json 644 usr/lib64/mozilla/native-messaging-hosts firefoxpwa.json
+
+ vmkdir usr/share/firefoxpwa/userchrome/
+ vcopy userchrome/* usr/share/firefoxpwa/userchrome/
+}
next prev parent reply other threads:[~2023-10-03 20:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-28 20:52 [PR PATCH] " Feleuxens
2023-09-28 22:02 ` [PR REVIEW] " Bnyro
2023-09-28 22:04 ` Bnyro
2023-09-28 22:04 ` Bnyro
2023-09-28 22:04 ` Bnyro
2023-09-28 22:06 ` Bnyro
2023-09-28 22:13 ` Bnyro
2023-09-29 13:49 ` [PR PATCH] [Updated] " Feleuxens
2023-09-29 13:53 ` [PR REVIEW] " Feleuxens
2023-10-03 20:55 ` Feleuxens [this message]
2024-01-02 1:47 ` New package: PWAsForFirefox-2.8.0 github-actions
2024-01-17 1:47 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231003205544.svXMcvgcCKhdxsAFlLLmzz9zQT3ipea8DPrCfbTVtr4@z \
--to=feleuxens@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).