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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 82F53159C9B for ; Fri, 2 Aug 2024 09:31:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D885E2B06; Fri, 2 Aug 2024 09:31:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 721EFE2B06 for ; Fri, 2 Aug 2024 09:31:29 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6401134164C for ; Fri, 2 Aug 2024 09:31:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B063E1EA4 for ; Fri, 2 Aug 2024 09:31:25 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1722590216.de8e8ee418aa5867cbcb73bd1105b56ed0e49fd9.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: www-apps/pleroma/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/pleroma/pleroma-2.7.0-r1.ebuild www-apps/pleroma/pleroma-2.7.0.ebuild X-VCS-Directories: www-apps/pleroma/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: de8e8ee418aa5867cbcb73bd1105b56ed0e49fd9 X-VCS-Branch: master Date: Fri, 2 Aug 2024 09:31:25 +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: 1f1ee10d-5ce3-4b9a-8832-010d617eff06 X-Archives-Hash: 1a42659a7485bd7ab6874d8f3d60490f commit: de8e8ee418aa5867cbcb73bd1105b56ed0e49fd9 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Aug 2 09:16:37 2024 +0000 Commit: David Roman gmail com> CommitDate: Fri Aug 2 09:16:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de8e8ee4 www-apps/pleroma: synchronize current release with live Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> .../{pleroma-2.7.0.ebuild => pleroma-2.7.0-r1.ebuild} | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/www-apps/pleroma/pleroma-2.7.0.ebuild b/www-apps/pleroma/pleroma-2.7.0-r1.ebuild similarity index 87% rename from www-apps/pleroma/pleroma-2.7.0.ebuild rename to www-apps/pleroma/pleroma-2.7.0-r1.ebuild index 02d502a4d..0465384fa 100644 --- a/www-apps/pleroma/pleroma-2.7.0.ebuild +++ b/www-apps/pleroma/pleroma-2.7.0-r1.ebuild @@ -24,14 +24,15 @@ RESTRICT="network-sandbox" BDEPEND=" =dev-util/rebar-3.20.0-r1 dev-elixir/hex " DEPEND=" - sys-libs/ncurses:= + media-libs/vips:= sys-apps/file + sys-libs/ncurses:= " RDEPEND=" ${DEPEND} @@ -57,7 +58,9 @@ src_prepare() { sed -i "s!source_url: .*!source_url: \"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die fi - sed -i -e '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die + # strip_beams: Keep debug information in Erlang BEAM bytecode + # include_erts: Depend on system erlang for the runtime + sed -i '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die sed -i \ -e '/update \[OPTIONS\]/,/--tmp-dir/d' \ @@ -72,6 +75,9 @@ src_prepare() { src_compile() { mkdir -p pleroma || die + + export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS" + emix release --overwrite --path pleroma } @@ -80,7 +86,8 @@ src_install() { mkdir -p "${ED}/opt" || die cp -pr ./pleroma "${ED}/opt/pleroma" || die fperms 0750 /opt/pleroma - fowners 0:pleroma /opt/pleroma + fperms -R g-w,o= /opt/pleroma + fowners -R 0:pleroma /opt/pleroma doinitd ./pleroma/installation/init.d/pleroma