From: fanyx <fanyx@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: mailspring-1.9.2
Date: Sun, 14 Nov 2021 16:03:26 +0100 [thread overview]
Message-ID: <20211114150326.P8oGt1aiTp34NvfbmQs71uczCMSyjnMVOvLrC4uG8mg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34076@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
There is an updated pull request by fanyx against master on the void-packages repository
https://github.com/fanyx/void-packages mailspring
https://github.com/void-linux/void-packages/pull/34076
New package: mailspring-1.9.2
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- Unable to build as of time of opening PR
- Needs assistance with fixing libcrypto.so.1.0.0 issue
A patch file from https://github.com/void-linux/void-packages/pull/34076.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mailspring-34076.patch --]
[-- Type: text/x-diff, Size: 2698 bytes --]
From 9e8b9cce0e21709168709c094cece9f86283b64d Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@pm.me>
Date: Sun, 14 Nov 2021 15:36:29 +0100
Subject: [PATCH] New package: mailspring-1.9.2
---
.../mailspring/files/mailspring-wrapper.sh | 2 +
srcpkgs/mailspring/template | 47 +++++++++++++++++++
2 files changed, 49 insertions(+)
create mode 100755 srcpkgs/mailspring/files/mailspring-wrapper.sh
create mode 100644 srcpkgs/mailspring/template
diff --git a/srcpkgs/mailspring/files/mailspring-wrapper.sh b/srcpkgs/mailspring/files/mailspring-wrapper.sh
new file mode 100755
index 000000000000..75a01d3d6265
--- /dev/null
+++ b/srcpkgs/mailspring/files/mailspring-wrapper.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+LD_LIBRARY_PATH=/usr/lib/mailspring exec /usr/lib/mailspring/mailspring "$@"
diff --git a/srcpkgs/mailspring/template b/srcpkgs/mailspring/template
new file mode 100644
index 000000000000..bdc9498c8d68
--- /dev/null
+++ b/srcpkgs/mailspring/template
@@ -0,0 +1,47 @@
+# Template file for 'mailspring'
+pkgname=mailspring
+version=1.9.2
+revision=1
+archs="x86_64"
+depends="glibc glib libgcc libstdc++ libX11 libxkbfile libsecret mit-krb5-libs libsasl libdb libXcomposite
+ libXcursor libXdamage libXext libXfixes libXi libXrender libXtst nss nspr dbus-libs gdk-pixbuf gtk+3 pango
+ atk cairo expat libXrandr libXScrnSaver alsa-lib at-spi2-atk at-spi2-core libcups libcrypto1.1"
+short_desc="Standalone Mail client with advanced feature set"
+maintainer="fanyx <fanyx@pm.me>"
+license="custom:GPL-3.0-or-later"
+homepage="https://getmailspring.com/"
+distfiles="https://github.com/Foundry376/Mailspring/releases/download/${version}/mailspring-${version}-amd64.deb"
+checksum="a3bc365c77791673d8b7d8fc2081b2e8e80ab5d78d6ffa99f848971849f43544"
+noshlibprovides=yes
+nopie_files="/usr/lib/mailspring/resources/app.asar.unpacked/mailsync.bin"
+
+do_extract() {
+ ar p "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}-amd64.deb" data.tar.xz | bsdtar --extract --xz -f - -C .
+}
+
+do_install() {
+ vbin ${FILESDIR}/mailspring-wrapper.sh mailspring
+
+ vmkdir usr/lib/mailspring
+ vcopy usr/share/mailspring /usr/lib/
+
+ vmkdir usr/share
+ vcopy usr/share/applications usr/share/
+ vcopy usr/share/pixmaps /usr/share/
+ vcopy usr/share/icons /usr/share/
+ vcopy usr/share/lintian /usr/share/
+
+ vdoc usr/share/doc/mailspring/copyright
+
+ vlicense usr/share/mailspring/LICENSE
+ vlicense usr/share/mailspring/LICENSES.chromium.html
+}
+
+post_install() {
+ mkdir libsave
+ for lib in libffmpeg.so; do
+ mv ${DESTDIR}/usr/lib/mailspring/$lib libsave
+ done
+ find ${DESTDIR}/usr/lib/mailspring/ -name '*.so' -delete
+ mv libsave/* ${DESTDIR}/usr/lib/mailspring/
+}
next prev parent reply other threads:[~2021-11-14 15:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-14 14:41 [PR PATCH] " fanyx
2021-11-14 14:51 ` [PR PATCH] [Updated] " fanyx
2021-11-14 15:03 ` fanyx [this message]
2021-11-14 15:12 ` Johnnynator
2021-11-14 15:13 ` Johnnynator
2021-11-14 15:15 ` fanyx
2021-11-14 20:35 ` [PR REVIEW] " ericonr
2021-11-14 20:35 ` ericonr
2021-11-14 20:35 ` ericonr
2021-11-14 21:33 ` fanyx
2021-11-14 21:34 ` [PR PATCH] [Closed]: " fanyx
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=20211114150326.P8oGt1aiTp34NvfbmQs71uczCMSyjnMVOvLrC4uG8mg@z \
--to=fanyx@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).