From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9933115812D for ; Mon, 06 Jan 2025 23:12:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A84E5E03EC; Mon, 06 Jan 2025 23:12:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89823E03EC for ; Mon, 06 Jan 2025 23:12:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88F71340CBB for ; Mon, 06 Jan 2025 23:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E24DB191A for ; Mon, 06 Jan 2025 23:12:48 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1736205165.d71ea4aaa32d5affc86f67fe6e596ea364fb98db.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/joplin-desktop/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/joplin-desktop/Manifest app-office/joplin-desktop/joplin-desktop-3.2.7.ebuild X-VCS-Directories: app-office/joplin-desktop/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: d71ea4aaa32d5affc86f67fe6e596ea364fb98db X-VCS-Branch: master Date: Mon, 06 Jan 2025 23:12:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 808beb07-3f55-4352-8791-4c1705fada19 X-Archives-Hash: e85fbd2b16185f05b56182c0965f1027 commit: d71ea4aaa32d5affc86f67fe6e596ea364fb98db Author: Maciej Barć gentoo org> AuthorDate: Mon Jan 6 23:04:20 2025 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Jan 6 23:12:45 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d71ea4aa app-office/joplin-desktop: bump to 3.2.7 Signed-off-by: Maciej Barć gentoo.org> app-office/joplin-desktop/Manifest | 1 + .../joplin-desktop/joplin-desktop-3.2.7.ebuild | 105 +++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/app-office/joplin-desktop/Manifest b/app-office/joplin-desktop/Manifest index 28bf95b4f1da..1bd6dba2bf2a 100644 --- a/app-office/joplin-desktop/Manifest +++ b/app-office/joplin-desktop/Manifest @@ -2,3 +2,4 @@ DIST Joplin-3.1.24.AppImage 244603841 BLAKE2B 2175019cbcca58473fb9b7f6157f001ca3 DIST Joplin-3.2.3.AppImage 386823720 BLAKE2B f75938fbe5a8a4de995966b5bbbd6bbb38a2581cf211b29e87a38587573ac49486957455a49a676c0a26a1c531bea48e09905caecd3c437bbda85cc0f1cd550a SHA512 b7019bf7a16edc4dbfbee9b9e76f0ef792267c044b4bd7c35aec1befdcb41b698640f5e2ba167883f4132da98db19b0c53c0e0757f4ce81683d0f410952fc43d DIST Joplin-3.2.4.AppImage 282754638 BLAKE2B 612bbe8d3a972d63afc67a399ccd5cd8dd114e1338406203be8e9092340a794e7579ae318d0c7210584169328487b0674ed8bb6f0a3372459e93a25464f5ff31 SHA512 4e3273ccf10cfdc731e4c616bf72bd6827a48934938b2ad7dc2c7750cf66c2b0ed23b4bd4825b1fd561ca5115ec1bb5f13a1ecb54a90e260b48999b9e70e498d DIST Joplin-3.2.6.AppImage 225929173 BLAKE2B 26c942997ee769621bd8c80e3ddd80c1e2b28d8e0e2c4a0c62dfa7e332bf6aac906a8bd2a25c29f9cf65be6aec15b1dbf360915d385fdcff91227631c57e2f27 SHA512 ace8f4c115642a567ad197bf71fb14969b8d4fb4fdee654b25f898496da0f6290b0c7fbc5d3459f4f3a2935565be8725a0b2c3792e8b3fd393d4a120654b100c +DIST Joplin-3.2.7.AppImage 226047655 BLAKE2B 407aaddb916b5082b6c040dfa4510d03564612634eb236f2f58fe6217ec57319393073762633eb20988e48bd89eebb3233c068cb812e5e341229e2ee5520f08f SHA512 211aff435bb9d493087eb0906d50424d4a4ab740b4ef0a054a34949eb65a49adf45ba4efc1b738fd4d81fc0012d7c7ba1293b36ff3fd213ab64dc6b1323f34dc diff --git a/app-office/joplin-desktop/joplin-desktop-3.2.7.ebuild b/app-office/joplin-desktop/joplin-desktop-3.2.7.ebuild new file mode 100644 index 000000000000..e512dc366a9a --- /dev/null +++ b/app-office/joplin-desktop/joplin-desktop-3.2.7.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# NOTICE: This is a Electron app (oh my) and the upstream only provides AppImages. + +EAPI=8 + +APPIMAGE="Joplin-${PV}.AppImage" + +inherit desktop xdg + +DESCRIPTION="Secure note taking and to-do app with synchronization capabilities" +HOMEPAGE="https://joplinapp.org/ + https://github.com/laurent22/joplin/" +SRC_URI="https://github.com/laurent22/joplin/releases/download/v${PV}/${APPIMAGE}" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + || ( + media-libs/libcanberra-gtk3 + media-libs/libcanberra[gtk3(-)] + ) + media-libs/libglvnd + media-libs/mesa + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/zlib + sys-process/lsof + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libnotify + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" + +src_unpack() { + mkdir -p "${S}" || die + cp "${DISTDIR}/${APPIMAGE}" "${S}" || die + + cd "${S}" || die # "appimage-extract" unpacks to current directory. + chmod +x "${S}/${APPIMAGE}" || die + "${S}/${APPIMAGE}" --appimage-extract || die +} + +src_prepare() { + # Fix permissions. + find "${S}" -type d -exec chmod a+rx {} + || die + find "${S}" -type f -exec chmod a+r {} + || die + + default +} + +src_install() { + cd "${S}/squashfs-root" || die + + insinto /usr/share + doins -r ./usr/share/icons + + local apphome="/opt/${PN}" + local -a toremove=( + .DirIcon + AppRun + LICENSE.electron.txt + LICENSES.chromium.html + joplin.png + resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm + resources/app.asar.unpacked/node_modules/7zip-bin-linux/arm64 + resources/app.asar.unpacked/node_modules/node-notifier + usr + ) + rm -f -r "${toremove[@]}" || die + + mkdir -p "${ED}/${apphome}" || die + cp -r . "${ED}/${apphome}" || die + + dosym -r "${apphome}/joplin" "/usr/bin/${PN}" + make_desktop_entry "${PN}" Joplin joplin "Office;" \ + "StartupWMClass=Joplin\nMimeType=x-scheme-handler/joplin;" +}