public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-09-25  5:44 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2023-09-25  5:44 UTC (permalink / raw
  To: gentoo-commits

commit:     9fa1873cc5d587c4e85d88340f1e87c37f48d646
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Mon Sep 25 05:44:04 2023 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Mon Sep 25 05:44:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9fa1873c

app-office/obsidian: add myself as a maintainer

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-office/obsidian/metadata.xml b/app-office/obsidian/metadata.xml
index ea4fe5bcb6..863411a516 100644
--- a/app-office/obsidian/metadata.xml
+++ b/app-office/obsidian/metadata.xml
@@ -5,6 +5,10 @@
 		<email>rahul@sandhuservices.dev</email>
 		<name>Rahul Sandhu</name>
 	</maintainer>
+	<maintainer type="person">
+		<email>artemis@artemis.sh</email>
+		<name>Artemis Everfree</name>
+	</maintainer>
 	<longdescription lang="en">Obsidian is a powerful and extensible knowledge base
 that works on top of your local folder of plain text files.</longdescription>
 	<upstream>


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-11-26  0:38 Julien Roy
  0 siblings, 0 replies; 28+ messages in thread
From: Julien Roy @ 2024-11-26  0:38 UTC (permalink / raw
  To: gentoo-commits

commit:     14847c1c8837a668aa9b2c81ca9797ea08d63676
Author:     Daniel Bradbury <opensauce04 <AT> gmail <DOT> com>
AuthorDate: Sun Nov 24 12:35:55 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Nov 26 00:38:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=14847c1c

app-office/obsidian: Add `wayland` USE flag

Signed-off-by: Daniel Bradbury <opensauce04 <AT> gmail.com>
Closes: https://github.com/gentoo/guru/pull/265
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 app-office/obsidian/obsidian-1.6.7.ebuild | 6 ++++--
 app-office/obsidian/obsidian-1.7.4.ebuild | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-office/obsidian/obsidian-1.6.7.ebuild b/app-office/obsidian/obsidian-1.6.7.ebuild
index 168968ddb..842de0877 100644
--- a/app-office/obsidian/obsidian-1.6.7.ebuild
+++ b/app-office/obsidian/obsidian-1.6.7.ebuild
@@ -34,7 +34,7 @@ S="${WORKDIR}"
 LICENSE="Obsidian-EULA"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator"
+IUSE="appindicator wayland"
 RESTRICT="mirror strip bindist"
 
 RDEPEND="
@@ -158,7 +158,9 @@ src_install() {
 	fi
 
 	domenu usr/share/applications/obsidian.desktop
-	domenu usr/share/applications/obsidian-wayland.desktop
+	if use wayland; then
+		domenu usr/share/applications/obsidian-wayland.desktop
+	fi
 
 	for size in 16 32 48 64 128 256 512; do
 		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png

diff --git a/app-office/obsidian/obsidian-1.7.4.ebuild b/app-office/obsidian/obsidian-1.7.4.ebuild
index 168968ddb..842de0877 100644
--- a/app-office/obsidian/obsidian-1.7.4.ebuild
+++ b/app-office/obsidian/obsidian-1.7.4.ebuild
@@ -34,7 +34,7 @@ S="${WORKDIR}"
 LICENSE="Obsidian-EULA"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator"
+IUSE="appindicator wayland"
 RESTRICT="mirror strip bindist"
 
 RDEPEND="
@@ -158,7 +158,9 @@ src_install() {
 	fi
 
 	domenu usr/share/applications/obsidian.desktop
-	domenu usr/share/applications/obsidian-wayland.desktop
+	if use wayland; then
+		domenu usr/share/applications/obsidian-wayland.desktop
+	fi
 
 	for size in 16 32 48 64 128 256 512; do
 		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-10-20  6:09 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-10-20  6:09 UTC (permalink / raw
  To: gentoo-commits

commit:     680699eafbc86d8d9831b17aaef1597cb26f803b
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Oct 20 06:08:05 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Oct 20 06:08:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=680699ea

app-office/obsidian: add 1.7.4

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/obsidian-1.7.4.ebuild | 178 ++++++++++++++++++++++++++++++
 1 file changed, 178 insertions(+)

diff --git a/app-office/obsidian/obsidian-1.7.4.ebuild b/app-office/obsidian/obsidian-1.7.4.ebuild
new file mode 100644
index 000000000..168968ddb
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.7.4.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+inherit chromium-2 desktop linux-info unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+
+# For some reason, the main binary tarballs don't include the .desktop file or
+# icon. The .deb does. One would hope then, that we could just download the .deb
+# for each arch, but they only generate a .deb for amd64. Maybe we can get them
+# to fix this, but in the meantime, we download the .deb purely to get the
+# .desktop file and app icon out of it.
+SRC_URI="
+	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
+	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
+"
+
+DIR="/opt/${PN^}"
+
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
+
+LICENSE="Obsidian-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="appindicator"
+RESTRICT="mirror strip bindist"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-apps/util-linux
+	sys-libs/glibc
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXScrnSaver
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libxshmfence
+	x11-libs/pango
+	appindicator? ( dev-libs/libayatana-appindicator )
+"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+set_obsidian_src_dir() {
+	if use amd64; then
+		S_OBSIDIAN="${WORKDIR}/${P}"
+	elif use arm64; then
+		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
+	else
+		die "Obsidian only supports amd64 and arm64"
+	fi
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	# cleanup languages
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
+	chromium_remove_language_paks
+	popd >/dev/null || die "location reset for language cleanup failed"
+
+	# Create separate .desktop file for launching Obsidian with native wayland
+	# support.
+	#
+	# Obsidian is an Electron app, and Electron can be instructed to run in
+	# native-wayland mode by turning on the Ozone platform. However, doing this
+	# causes Obsidian to crash on some users' systems, while it works fine for
+	# others. (see https://bugs.gentoo.org/915899)
+	#
+	# It appears VSCode may have encountered a similar issue, because VSCode
+	# installs two separate .desktop files, one for launching with wayland
+	# support and one for launching without. We will do the same here.
+
+	# Create a copy of upstream's .desktop
+	cp usr/share/applications/obsidian.desktop \
+		usr/share/applications/obsidian-wayland.desktop \
+		|| die "failed to create obsidian-wayland.desktop file"
+
+	# Edit the Exec & Name
+	sed -i \
+		'
+			# Add Electron ozone enable flags to obsidian execution
+			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
+
+			# Give this .desktop file a new name/desc of "Obsidian Wayland"
+			/^Name/s/$/ Wayland/
+
+			# comment field
+			/^Comment/s/$/ with Wayland support enabled/
+		' \
+		'usr/share/applications/obsidian-wayland.desktop' ||
+		die "sed failed for obsidian-wayland.desktop file"
+}
+
+src_install() {
+	insinto "${DIR}"
+	exeinto "${DIR}"
+
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
+
+	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin vk_swiftshader_icd.json
+	insopts -m0755
+	doins -r locales resources
+
+	# Chrome-sandbox requires the setuid bit to be specifically set.
+	# see https://github.com/electron/electron/issues/17972
+	fowners root "${DIR}/chrome-sandbox"
+	fperms 4711 "${DIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	popd >/dev/null || die "location reset for main install failed"
+
+	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
+
+	if use appindicator; then
+		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
+	fi
+
+	domenu usr/share/applications/obsidian.desktop
+	domenu usr/share/applications/obsidian-wayland.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	ewarn "Some users have reported that running Obsidian with native Wayland"
+	ewarn "support causes the software to crash. Others have it working"
+	ewarn "without issue. See https://bugs.gentoo.org/915899"
+	ewarn ""
+	ewarn "This package now provides application entries for both Obsidian and"
+	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
+	ewarn "try the other Obsidian entry to launch with XWayland"
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-10-20  6:09 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-10-20  6:09 UTC (permalink / raw
  To: gentoo-commits

commit:     e8aef8e0d3a9fe581dde15457e2fec132c4ed9e8
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Oct 20 06:07:55 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Oct 20 06:07:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8aef8e0

app-office/obsidian: drop 1.6.3

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest              |   6 +-
 app-office/obsidian/obsidian-1.6.3.ebuild | 178 ------------------------------
 2 files changed, 3 insertions(+), 181 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 67330c385..7b5ff9d00 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,6 +1,6 @@
-DIST obsidian-1.6.3-amd64.tar.gz 107181697 BLAKE2B 28585263ebe3cda2bfebaec6a6a36855286d5e2c0b10538e207168ee945d810b84085190e1d4e76cb666982c5b83f7dadf0f533cfd3ff3c0c6e98329a6e06e1a SHA512 fa57ad6bbd1b8c04eba329a663a448786e31bf16c26a481f0ee078e40261e3f9d8dab09fb167940b28e067e6ab80a6120452a0ff08dba5382812d1eac6154161
-DIST obsidian-1.6.3-arm64.tar.gz 106921857 BLAKE2B c87abea6309a7bc8b87e7de44fd14a75747772797c3fa1133ee883f30839ca77c97b5e3eedb3bd4f72c692f2ec33b309847723232417c07bfe381650b5feabe0 SHA512 797c351aa7f4e09bb24b609c788f8856273aa4f21297a04cdc558772f188f43a8add146150e68d547ef6fc1033b9919b6ac6f760bc5cddad4a3d52d5c1d02307
-DIST obsidian-1.6.3.gh.deb 78238076 BLAKE2B 27164e545c36d9f7897aa3a81e1abcb233ea35ec9f9c0a797eafe83ad3fece6b73e82236bccd5deb23d496622609897e9f1c0e2dc2d38f75a75f3bddd0dc7eca SHA512 96219a0a4935f4b44ad969a58374c52cd642c202119291e0956adba9eec6f4b7887b9d46244c93bf0fff2609d66e3e1c09ed445e6657079d48b0dfe4f83572b3
 DIST obsidian-1.6.7-amd64.tar.gz 107961144 BLAKE2B c0b333eac80957e92d6abbd0d6330f04c195e41798bde1aba4be190fcac63c51c74aa685a1084274c1c5723c7fef3aec46fcdae5ebdea02ca7a8ad73ebe43ef7 SHA512 820e0fcd34e47c0cc840f406281fd808bb2b8ed70e78e639ba7f50c41b0643b59a161499d9f2b814b5e2abcc11cb52b3489276cb6852431e27e47643d192cd66
 DIST obsidian-1.6.7-arm64.tar.gz 108057397 BLAKE2B e48a6f59d216d10daf90811b413e85c49b9dffc83a2d671222da2732bd5c05885cfc831268eaadf1e5a41348ebbd5ade79013d63c2b41b1fd7a9b0063db0673b SHA512 2dcf0ece4e8ade2b81d7c3889cf26eaf35fded7bacbb006050001d169a4f0f501bb6b8335caf038d3370f5ca48f851554cbf9dd713dbdd4283e0bbb91470e17b
 DIST obsidian-1.6.7.gh.deb 79172558 BLAKE2B 1665e1bc2b9e298a3c7560dec159736c9f270dfce532b63d135adb9f00f14e15e28e5460461f0bbeeddb7c3d036679fc5b04f02d6d85c29d067a6f64f2e83973 SHA512 bbf913f6806a1d23d2a6bbb9d5572569b019c79c877c3165ff94938f01282e7d98b6ba660821dca7e38874413207846b025707161c8901983458bdf4add05336
+DIST obsidian-1.7.4-amd64.tar.gz 109408630 BLAKE2B d3175d0596bd9a53a73d642b5fd197ddc2265654d4901c626f5469721492820e98e3e7bc67898cd731b2521c1c8530499371ed77cbcfe1ea997eb85c07a5a559 SHA512 6c95b4d40abc7f9b69d8804d1d21279b6f0e61e60c4e0e2600876bee97810307bcd3aa9294ec65bffe3875caa3fb99ffcc3155bb03d401ce372e436c595ce59c
+DIST obsidian-1.7.4-arm64.tar.gz 109412252 BLAKE2B 217a555d131c406b9675768f563603503ede652fe24837b4cb17b68d949b94e20734a4ecd9d0cfcdd7b28c14d3cb29fcab8597a197d313748f1e7a0da31e1f37 SHA512 7c896521bfea5fb4a82758a98e7b13702a4e8891ac8ea6bcec12150e20a911a96f01aaa0aba7c79ee186cacface22b8bad94ea6c439b627f3397a8255b88dc0c
+DIST obsidian-1.7.4.gh.deb 79977146 BLAKE2B fef2803d620dc1c1219e8186c1f8b977c6e1bb642d4d8fd4fccc220dd794c2cfca3f3653430c5e3914ab9478fba00b2b786c0e0c451ea54e9e7b6313038d0366 SHA512 b10934513354ba565115851eb84ec5235ad738c146a088d02e70abd242486b4efc908de2e01850914e1464fe0f70ca0bd159325ea5efaab1d14d2b5f4c6c68ac

diff --git a/app-office/obsidian/obsidian-1.6.3.ebuild b/app-office/obsidian/obsidian-1.6.3.ebuild
deleted file mode 100644
index 168968ddb..000000000
--- a/app-office/obsidian/obsidian-1.6.3.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CHROMIUM_VERSION="102"
-CHROMIUM_LANGS="
-	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
-	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
-	sw ta te th tr uk ur vi zh-CN zh-TW
-"
-inherit chromium-2 desktop linux-info unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md/"
-
-# For some reason, the main binary tarballs don't include the .desktop file or
-# icon. The .deb does. One would hope then, that we could just download the .deb
-# for each arch, but they only generate a .deb for amd64. Maybe we can get them
-# to fix this, but in the meantime, we download the .deb purely to get the
-# .desktop file and app icon out of it.
-SRC_URI="
-	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
-	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
-"
-
-DIR="/opt/${PN^}"
-
-# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
-# which depends on CPU arch.
-S="${WORKDIR}"
-
-LICENSE="Obsidian-EULA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator"
-RESTRICT="mirror strip bindist"
-
-RDEPEND="
-	>=app-accessibility/at-spi2-core-2.46.0:2
-	app-crypt/libsecret[crypt]
-	dev-libs/expat
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/mesa[gbm(+)]
-	net-print/cups
-	sys-apps/dbus
-	sys-apps/util-linux
-	sys-libs/glibc
-	x11-libs/cairo
-	x11-libs/libdrm
-	x11-libs/gdk-pixbuf:2
-	x11-libs/gtk+:3
-	x11-libs/libX11
-	x11-libs/libXScrnSaver
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libXrandr
-	x11-libs/libxcb
-	x11-libs/libxkbcommon
-	x11-libs/libxshmfence
-	x11-libs/pango
-	appindicator? ( dev-libs/libayatana-appindicator )
-"
-
-QA_PREBUILT="*"
-
-CONFIG_CHECK="~USER_NS"
-
-set_obsidian_src_dir() {
-	if use amd64; then
-		S_OBSIDIAN="${WORKDIR}/${P}"
-	elif use arm64; then
-		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
-	else
-		die "Obsidian only supports amd64 and arm64"
-	fi
-}
-
-src_configure() {
-	default
-	chromium_suid_sandbox_check_kernel_config
-}
-
-src_prepare() {
-	default
-	# cleanup languages
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
-	chromium_remove_language_paks
-	popd >/dev/null || die "location reset for language cleanup failed"
-
-	# Create separate .desktop file for launching Obsidian with native wayland
-	# support.
-	#
-	# Obsidian is an Electron app, and Electron can be instructed to run in
-	# native-wayland mode by turning on the Ozone platform. However, doing this
-	# causes Obsidian to crash on some users' systems, while it works fine for
-	# others. (see https://bugs.gentoo.org/915899)
-	#
-	# It appears VSCode may have encountered a similar issue, because VSCode
-	# installs two separate .desktop files, one for launching with wayland
-	# support and one for launching without. We will do the same here.
-
-	# Create a copy of upstream's .desktop
-	cp usr/share/applications/obsidian.desktop \
-		usr/share/applications/obsidian-wayland.desktop \
-		|| die "failed to create obsidian-wayland.desktop file"
-
-	# Edit the Exec & Name
-	sed -i \
-		'
-			# Add Electron ozone enable flags to obsidian execution
-			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
-
-			# Give this .desktop file a new name/desc of "Obsidian Wayland"
-			/^Name/s/$/ Wayland/
-
-			# comment field
-			/^Comment/s/$/ with Wayland support enabled/
-		' \
-		'usr/share/applications/obsidian-wayland.desktop' ||
-		die "sed failed for obsidian-wayland.desktop file"
-}
-
-src_install() {
-	insinto "${DIR}"
-	exeinto "${DIR}"
-
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
-
-	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
-	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
-		v8_context_snapshot.bin vk_swiftshader_icd.json
-	insopts -m0755
-	doins -r locales resources
-
-	# Chrome-sandbox requires the setuid bit to be specifically set.
-	# see https://github.com/electron/electron/issues/17972
-	fowners root "${DIR}/chrome-sandbox"
-	fperms 4711 "${DIR}/chrome-sandbox"
-
-	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
-
-	popd >/dev/null || die "location reset for main install failed"
-
-	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
-
-	if use appindicator; then
-		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
-	fi
-
-	domenu usr/share/applications/obsidian.desktop
-	domenu usr/share/applications/obsidian-wayland.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
-	done
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-
-	ewarn "Some users have reported that running Obsidian with native Wayland"
-	ewarn "support causes the software to crash. Others have it working"
-	ewarn "without issue. See https://bugs.gentoo.org/915899"
-	ewarn ""
-	ewarn "This package now provides application entries for both Obsidian and"
-	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
-	ewarn "try the other Obsidian entry to launch with XWayland"
-}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-07-20  0:13 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-07-20  0:13 UTC (permalink / raw
  To: gentoo-commits

commit:     775da7c6b805e2b1adc5879ca00f6523e48b85f5
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Jul 20 00:12:01 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Jul 20 00:12:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=775da7c6

app-office/obsidian: drop 1.5.11, 1.5.12

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest               |   6 -
 app-office/obsidian/obsidian-1.5.11.ebuild | 178 -----------------------------
 app-office/obsidian/obsidian-1.5.12.ebuild | 178 -----------------------------
 3 files changed, 362 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 24e1653d0..67330c385 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,9 +1,3 @@
-DIST obsidian-1.5.11-amd64.tar.gz 107180896 BLAKE2B f4508b0123ccfd64acd113490ed591205e4b204ea837e1c320a9e4c9c5a30e68d27df19dfe213ac12bbc57219a00680adecab4a31a6a36853632d95e95b3f62c SHA512 bf1e9b52afa0c48347d532bc47b9625fa6c03ac884c899882e73e3464b257d8dfd89e32a5551d89b054e906c2e5078f2152af16ad16a746437e330ffe48dab7a
-DIST obsidian-1.5.11-arm64.tar.gz 106911612 BLAKE2B 438119f8eea0cd14578704eab899f9493b2ecb6b5e0abe48e97914215bc74259d32dff82c96f4b40553d0b2905c34f94d041b1cab934fe30b7bc0d3027552327 SHA512 9336bfe16c076dd83514bcd86137616d260bb0a2bd430504beb83ca5a92fc24af09bdd00a2b89bffb831099504947dd94efc8d972fa4c1da451e742745f89bb6
-DIST obsidian-1.5.11.gh.deb 78667536 BLAKE2B 7daa4827fc45573ea07f6bd93f9f9523a7c32286b06478ceb9999332b83d54edc9dcbc989d81e24d2a4f8d2393a87efe607c9eef5c392f8a9d408eb763bc29d6 SHA512 ac7b1edb3c377130ef6086cad419db5f602014160c7fe857b7552a1e84415c0e4a4c022c63fadf9c69ef9420fd516ff04f4c4db3003ef0650e6be9b751d1dfc4
-DIST obsidian-1.5.12-amd64.tar.gz 107180662 BLAKE2B 52dd5a7f818629ba57cadec4a0c6b4f75d99c19ceaf1537b4f6b7dc0f9901c52b78318587b1f2a273ad6345475026e45c805d8978e7c0558a2487b9b2bf33376 SHA512 643409760fd99c6863679ca93b740a5f9a3d331144a82889c0a2f85bd53af4dcc0d5960840f8b7fa06216796fb5fc10522a769c27d8218bb32fb79370524b324
-DIST obsidian-1.5.12-arm64.tar.gz 106911948 BLAKE2B 484128a6d790e5d7cf7c02df3ba192ea8a571b760b1b0e1719aa652237b586ceb281ca73e268cce200365a79fc711fb5b67966601be69e5b370fcebf59531de5 SHA512 b0bea43efd0be464a33847d23f8c3e5f204a9e76621cc17f37d852e9ebc5f6cddd82ac1ac65d6c847d4d1453dc9615a89bb7cf16739e08444ae2c502240a571b
-DIST obsidian-1.5.12.gh.deb 78651254 BLAKE2B 22b3596a9bb098b4a15a79ed39a302526dd8f2294b85227a06a95ceaf2e597d2ab5e1d689dd6f3e497ed2acc2e0689bf79949b1337e4b34998bdb3f1b93b96ca SHA512 f0cdb88d54c0ae3ab8dc62dab7df21b6617ce4973d81798d344cac5608689cc0a2618345dcdec1c08750194d2d02118c81b2edf8a308547bbbde56dbf6100528
 DIST obsidian-1.6.3-amd64.tar.gz 107181697 BLAKE2B 28585263ebe3cda2bfebaec6a6a36855286d5e2c0b10538e207168ee945d810b84085190e1d4e76cb666982c5b83f7dadf0f533cfd3ff3c0c6e98329a6e06e1a SHA512 fa57ad6bbd1b8c04eba329a663a448786e31bf16c26a481f0ee078e40261e3f9d8dab09fb167940b28e067e6ab80a6120452a0ff08dba5382812d1eac6154161
 DIST obsidian-1.6.3-arm64.tar.gz 106921857 BLAKE2B c87abea6309a7bc8b87e7de44fd14a75747772797c3fa1133ee883f30839ca77c97b5e3eedb3bd4f72c692f2ec33b309847723232417c07bfe381650b5feabe0 SHA512 797c351aa7f4e09bb24b609c788f8856273aa4f21297a04cdc558772f188f43a8add146150e68d547ef6fc1033b9919b6ac6f760bc5cddad4a3d52d5c1d02307
 DIST obsidian-1.6.3.gh.deb 78238076 BLAKE2B 27164e545c36d9f7897aa3a81e1abcb233ea35ec9f9c0a797eafe83ad3fece6b73e82236bccd5deb23d496622609897e9f1c0e2dc2d38f75a75f3bddd0dc7eca SHA512 96219a0a4935f4b44ad969a58374c52cd642c202119291e0956adba9eec6f4b7887b9d46244c93bf0fff2609d66e3e1c09ed445e6657079d48b0dfe4f83572b3

diff --git a/app-office/obsidian/obsidian-1.5.11.ebuild b/app-office/obsidian/obsidian-1.5.11.ebuild
deleted file mode 100644
index 168968ddb..000000000
--- a/app-office/obsidian/obsidian-1.5.11.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CHROMIUM_VERSION="102"
-CHROMIUM_LANGS="
-	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
-	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
-	sw ta te th tr uk ur vi zh-CN zh-TW
-"
-inherit chromium-2 desktop linux-info unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md/"
-
-# For some reason, the main binary tarballs don't include the .desktop file or
-# icon. The .deb does. One would hope then, that we could just download the .deb
-# for each arch, but they only generate a .deb for amd64. Maybe we can get them
-# to fix this, but in the meantime, we download the .deb purely to get the
-# .desktop file and app icon out of it.
-SRC_URI="
-	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
-	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
-"
-
-DIR="/opt/${PN^}"
-
-# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
-# which depends on CPU arch.
-S="${WORKDIR}"
-
-LICENSE="Obsidian-EULA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator"
-RESTRICT="mirror strip bindist"
-
-RDEPEND="
-	>=app-accessibility/at-spi2-core-2.46.0:2
-	app-crypt/libsecret[crypt]
-	dev-libs/expat
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/mesa[gbm(+)]
-	net-print/cups
-	sys-apps/dbus
-	sys-apps/util-linux
-	sys-libs/glibc
-	x11-libs/cairo
-	x11-libs/libdrm
-	x11-libs/gdk-pixbuf:2
-	x11-libs/gtk+:3
-	x11-libs/libX11
-	x11-libs/libXScrnSaver
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libXrandr
-	x11-libs/libxcb
-	x11-libs/libxkbcommon
-	x11-libs/libxshmfence
-	x11-libs/pango
-	appindicator? ( dev-libs/libayatana-appindicator )
-"
-
-QA_PREBUILT="*"
-
-CONFIG_CHECK="~USER_NS"
-
-set_obsidian_src_dir() {
-	if use amd64; then
-		S_OBSIDIAN="${WORKDIR}/${P}"
-	elif use arm64; then
-		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
-	else
-		die "Obsidian only supports amd64 and arm64"
-	fi
-}
-
-src_configure() {
-	default
-	chromium_suid_sandbox_check_kernel_config
-}
-
-src_prepare() {
-	default
-	# cleanup languages
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
-	chromium_remove_language_paks
-	popd >/dev/null || die "location reset for language cleanup failed"
-
-	# Create separate .desktop file for launching Obsidian with native wayland
-	# support.
-	#
-	# Obsidian is an Electron app, and Electron can be instructed to run in
-	# native-wayland mode by turning on the Ozone platform. However, doing this
-	# causes Obsidian to crash on some users' systems, while it works fine for
-	# others. (see https://bugs.gentoo.org/915899)
-	#
-	# It appears VSCode may have encountered a similar issue, because VSCode
-	# installs two separate .desktop files, one for launching with wayland
-	# support and one for launching without. We will do the same here.
-
-	# Create a copy of upstream's .desktop
-	cp usr/share/applications/obsidian.desktop \
-		usr/share/applications/obsidian-wayland.desktop \
-		|| die "failed to create obsidian-wayland.desktop file"
-
-	# Edit the Exec & Name
-	sed -i \
-		'
-			# Add Electron ozone enable flags to obsidian execution
-			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
-
-			# Give this .desktop file a new name/desc of "Obsidian Wayland"
-			/^Name/s/$/ Wayland/
-
-			# comment field
-			/^Comment/s/$/ with Wayland support enabled/
-		' \
-		'usr/share/applications/obsidian-wayland.desktop' ||
-		die "sed failed for obsidian-wayland.desktop file"
-}
-
-src_install() {
-	insinto "${DIR}"
-	exeinto "${DIR}"
-
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
-
-	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
-	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
-		v8_context_snapshot.bin vk_swiftshader_icd.json
-	insopts -m0755
-	doins -r locales resources
-
-	# Chrome-sandbox requires the setuid bit to be specifically set.
-	# see https://github.com/electron/electron/issues/17972
-	fowners root "${DIR}/chrome-sandbox"
-	fperms 4711 "${DIR}/chrome-sandbox"
-
-	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
-
-	popd >/dev/null || die "location reset for main install failed"
-
-	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
-
-	if use appindicator; then
-		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
-	fi
-
-	domenu usr/share/applications/obsidian.desktop
-	domenu usr/share/applications/obsidian-wayland.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
-	done
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-
-	ewarn "Some users have reported that running Obsidian with native Wayland"
-	ewarn "support causes the software to crash. Others have it working"
-	ewarn "without issue. See https://bugs.gentoo.org/915899"
-	ewarn ""
-	ewarn "This package now provides application entries for both Obsidian and"
-	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
-	ewarn "try the other Obsidian entry to launch with XWayland"
-}

diff --git a/app-office/obsidian/obsidian-1.5.12.ebuild b/app-office/obsidian/obsidian-1.5.12.ebuild
deleted file mode 100644
index 168968ddb..000000000
--- a/app-office/obsidian/obsidian-1.5.12.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CHROMIUM_VERSION="102"
-CHROMIUM_LANGS="
-	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
-	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
-	sw ta te th tr uk ur vi zh-CN zh-TW
-"
-inherit chromium-2 desktop linux-info unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md/"
-
-# For some reason, the main binary tarballs don't include the .desktop file or
-# icon. The .deb does. One would hope then, that we could just download the .deb
-# for each arch, but they only generate a .deb for amd64. Maybe we can get them
-# to fix this, but in the meantime, we download the .deb purely to get the
-# .desktop file and app icon out of it.
-SRC_URI="
-	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
-	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
-"
-
-DIR="/opt/${PN^}"
-
-# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
-# which depends on CPU arch.
-S="${WORKDIR}"
-
-LICENSE="Obsidian-EULA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator"
-RESTRICT="mirror strip bindist"
-
-RDEPEND="
-	>=app-accessibility/at-spi2-core-2.46.0:2
-	app-crypt/libsecret[crypt]
-	dev-libs/expat
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/mesa[gbm(+)]
-	net-print/cups
-	sys-apps/dbus
-	sys-apps/util-linux
-	sys-libs/glibc
-	x11-libs/cairo
-	x11-libs/libdrm
-	x11-libs/gdk-pixbuf:2
-	x11-libs/gtk+:3
-	x11-libs/libX11
-	x11-libs/libXScrnSaver
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libXrandr
-	x11-libs/libxcb
-	x11-libs/libxkbcommon
-	x11-libs/libxshmfence
-	x11-libs/pango
-	appindicator? ( dev-libs/libayatana-appindicator )
-"
-
-QA_PREBUILT="*"
-
-CONFIG_CHECK="~USER_NS"
-
-set_obsidian_src_dir() {
-	if use amd64; then
-		S_OBSIDIAN="${WORKDIR}/${P}"
-	elif use arm64; then
-		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
-	else
-		die "Obsidian only supports amd64 and arm64"
-	fi
-}
-
-src_configure() {
-	default
-	chromium_suid_sandbox_check_kernel_config
-}
-
-src_prepare() {
-	default
-	# cleanup languages
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
-	chromium_remove_language_paks
-	popd >/dev/null || die "location reset for language cleanup failed"
-
-	# Create separate .desktop file for launching Obsidian with native wayland
-	# support.
-	#
-	# Obsidian is an Electron app, and Electron can be instructed to run in
-	# native-wayland mode by turning on the Ozone platform. However, doing this
-	# causes Obsidian to crash on some users' systems, while it works fine for
-	# others. (see https://bugs.gentoo.org/915899)
-	#
-	# It appears VSCode may have encountered a similar issue, because VSCode
-	# installs two separate .desktop files, one for launching with wayland
-	# support and one for launching without. We will do the same here.
-
-	# Create a copy of upstream's .desktop
-	cp usr/share/applications/obsidian.desktop \
-		usr/share/applications/obsidian-wayland.desktop \
-		|| die "failed to create obsidian-wayland.desktop file"
-
-	# Edit the Exec & Name
-	sed -i \
-		'
-			# Add Electron ozone enable flags to obsidian execution
-			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
-
-			# Give this .desktop file a new name/desc of "Obsidian Wayland"
-			/^Name/s/$/ Wayland/
-
-			# comment field
-			/^Comment/s/$/ with Wayland support enabled/
-		' \
-		'usr/share/applications/obsidian-wayland.desktop' ||
-		die "sed failed for obsidian-wayland.desktop file"
-}
-
-src_install() {
-	insinto "${DIR}"
-	exeinto "${DIR}"
-
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
-
-	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
-	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
-		v8_context_snapshot.bin vk_swiftshader_icd.json
-	insopts -m0755
-	doins -r locales resources
-
-	# Chrome-sandbox requires the setuid bit to be specifically set.
-	# see https://github.com/electron/electron/issues/17972
-	fowners root "${DIR}/chrome-sandbox"
-	fperms 4711 "${DIR}/chrome-sandbox"
-
-	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
-
-	popd >/dev/null || die "location reset for main install failed"
-
-	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
-
-	if use appindicator; then
-		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
-	fi
-
-	domenu usr/share/applications/obsidian.desktop
-	domenu usr/share/applications/obsidian-wayland.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
-	done
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-
-	ewarn "Some users have reported that running Obsidian with native Wayland"
-	ewarn "support causes the software to crash. Others have it working"
-	ewarn "without issue. See https://bugs.gentoo.org/915899"
-	ewarn ""
-	ewarn "This package now provides application entries for both Obsidian and"
-	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
-	ewarn "try the other Obsidian entry to launch with XWayland"
-}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-07-20  0:13 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-07-20  0:13 UTC (permalink / raw
  To: gentoo-commits

commit:     5c3f39876cfc4765051e1bda022d2446911fbce1
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Jul 20 00:12:11 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Jul 20 00:12:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c3f3987

app-office/obsidian: update maintainers

I've been primary-maintaining this, so bumping myself up the maintainers
list to get bugs.gentoo.org assignee role

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/metadata.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-office/obsidian/metadata.xml b/app-office/obsidian/metadata.xml
index 863411a51..f22e4e683 100644
--- a/app-office/obsidian/metadata.xml
+++ b/app-office/obsidian/metadata.xml
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>rahul@sandhuservices.dev</email>
-		<name>Rahul Sandhu</name>
-	</maintainer>
 	<maintainer type="person">
 		<email>artemis@artemis.sh</email>
 		<name>Artemis Everfree</name>
 	</maintainer>
+	<maintainer type="person">
+		<email>rahul@sandhuservices.dev</email>
+		<name>Rahul Sandhu</name>
+	</maintainer>
 	<longdescription lang="en">Obsidian is a powerful and extensible knowledge base
 that works on top of your local folder of plain text files.</longdescription>
 	<upstream>


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-07-20  0:13 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-07-20  0:13 UTC (permalink / raw
  To: gentoo-commits

commit:     7a30d115dcee24d741df2214d64f19e238856340
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sat Jul 20 00:11:46 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sat Jul 20 00:11:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a30d115

app-office/obsidian: add 1.6.7

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest              |   3 +
 app-office/obsidian/obsidian-1.6.7.ebuild | 178 ++++++++++++++++++++++++++++++
 2 files changed, 181 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 41fd79a37..24e1653d0 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -7,3 +7,6 @@ DIST obsidian-1.5.12.gh.deb 78651254 BLAKE2B 22b3596a9bb098b4a15a79ed39a302526dd
 DIST obsidian-1.6.3-amd64.tar.gz 107181697 BLAKE2B 28585263ebe3cda2bfebaec6a6a36855286d5e2c0b10538e207168ee945d810b84085190e1d4e76cb666982c5b83f7dadf0f533cfd3ff3c0c6e98329a6e06e1a SHA512 fa57ad6bbd1b8c04eba329a663a448786e31bf16c26a481f0ee078e40261e3f9d8dab09fb167940b28e067e6ab80a6120452a0ff08dba5382812d1eac6154161
 DIST obsidian-1.6.3-arm64.tar.gz 106921857 BLAKE2B c87abea6309a7bc8b87e7de44fd14a75747772797c3fa1133ee883f30839ca77c97b5e3eedb3bd4f72c692f2ec33b309847723232417c07bfe381650b5feabe0 SHA512 797c351aa7f4e09bb24b609c788f8856273aa4f21297a04cdc558772f188f43a8add146150e68d547ef6fc1033b9919b6ac6f760bc5cddad4a3d52d5c1d02307
 DIST obsidian-1.6.3.gh.deb 78238076 BLAKE2B 27164e545c36d9f7897aa3a81e1abcb233ea35ec9f9c0a797eafe83ad3fece6b73e82236bccd5deb23d496622609897e9f1c0e2dc2d38f75a75f3bddd0dc7eca SHA512 96219a0a4935f4b44ad969a58374c52cd642c202119291e0956adba9eec6f4b7887b9d46244c93bf0fff2609d66e3e1c09ed445e6657079d48b0dfe4f83572b3
+DIST obsidian-1.6.7-amd64.tar.gz 107961144 BLAKE2B c0b333eac80957e92d6abbd0d6330f04c195e41798bde1aba4be190fcac63c51c74aa685a1084274c1c5723c7fef3aec46fcdae5ebdea02ca7a8ad73ebe43ef7 SHA512 820e0fcd34e47c0cc840f406281fd808bb2b8ed70e78e639ba7f50c41b0643b59a161499d9f2b814b5e2abcc11cb52b3489276cb6852431e27e47643d192cd66
+DIST obsidian-1.6.7-arm64.tar.gz 108057397 BLAKE2B e48a6f59d216d10daf90811b413e85c49b9dffc83a2d671222da2732bd5c05885cfc831268eaadf1e5a41348ebbd5ade79013d63c2b41b1fd7a9b0063db0673b SHA512 2dcf0ece4e8ade2b81d7c3889cf26eaf35fded7bacbb006050001d169a4f0f501bb6b8335caf038d3370f5ca48f851554cbf9dd713dbdd4283e0bbb91470e17b
+DIST obsidian-1.6.7.gh.deb 79172558 BLAKE2B 1665e1bc2b9e298a3c7560dec159736c9f270dfce532b63d135adb9f00f14e15e28e5460461f0bbeeddb7c3d036679fc5b04f02d6d85c29d067a6f64f2e83973 SHA512 bbf913f6806a1d23d2a6bbb9d5572569b019c79c877c3165ff94938f01282e7d98b6ba660821dca7e38874413207846b025707161c8901983458bdf4add05336

diff --git a/app-office/obsidian/obsidian-1.6.7.ebuild b/app-office/obsidian/obsidian-1.6.7.ebuild
new file mode 100644
index 000000000..168968ddb
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.6.7.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+inherit chromium-2 desktop linux-info unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+
+# For some reason, the main binary tarballs don't include the .desktop file or
+# icon. The .deb does. One would hope then, that we could just download the .deb
+# for each arch, but they only generate a .deb for amd64. Maybe we can get them
+# to fix this, but in the meantime, we download the .deb purely to get the
+# .desktop file and app icon out of it.
+SRC_URI="
+	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
+	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
+"
+
+DIR="/opt/${PN^}"
+
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
+
+LICENSE="Obsidian-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="appindicator"
+RESTRICT="mirror strip bindist"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-apps/util-linux
+	sys-libs/glibc
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXScrnSaver
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libxshmfence
+	x11-libs/pango
+	appindicator? ( dev-libs/libayatana-appindicator )
+"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+set_obsidian_src_dir() {
+	if use amd64; then
+		S_OBSIDIAN="${WORKDIR}/${P}"
+	elif use arm64; then
+		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
+	else
+		die "Obsidian only supports amd64 and arm64"
+	fi
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	# cleanup languages
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
+	chromium_remove_language_paks
+	popd >/dev/null || die "location reset for language cleanup failed"
+
+	# Create separate .desktop file for launching Obsidian with native wayland
+	# support.
+	#
+	# Obsidian is an Electron app, and Electron can be instructed to run in
+	# native-wayland mode by turning on the Ozone platform. However, doing this
+	# causes Obsidian to crash on some users' systems, while it works fine for
+	# others. (see https://bugs.gentoo.org/915899)
+	#
+	# It appears VSCode may have encountered a similar issue, because VSCode
+	# installs two separate .desktop files, one for launching with wayland
+	# support and one for launching without. We will do the same here.
+
+	# Create a copy of upstream's .desktop
+	cp usr/share/applications/obsidian.desktop \
+		usr/share/applications/obsidian-wayland.desktop \
+		|| die "failed to create obsidian-wayland.desktop file"
+
+	# Edit the Exec & Name
+	sed -i \
+		'
+			# Add Electron ozone enable flags to obsidian execution
+			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
+
+			# Give this .desktop file a new name/desc of "Obsidian Wayland"
+			/^Name/s/$/ Wayland/
+
+			# comment field
+			/^Comment/s/$/ with Wayland support enabled/
+		' \
+		'usr/share/applications/obsidian-wayland.desktop' ||
+		die "sed failed for obsidian-wayland.desktop file"
+}
+
+src_install() {
+	insinto "${DIR}"
+	exeinto "${DIR}"
+
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
+
+	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin vk_swiftshader_icd.json
+	insopts -m0755
+	doins -r locales resources
+
+	# Chrome-sandbox requires the setuid bit to be specifically set.
+	# see https://github.com/electron/electron/issues/17972
+	fowners root "${DIR}/chrome-sandbox"
+	fperms 4711 "${DIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	popd >/dev/null || die "location reset for main install failed"
+
+	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
+
+	if use appindicator; then
+		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
+	fi
+
+	domenu usr/share/applications/obsidian.desktop
+	domenu usr/share/applications/obsidian-wayland.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	ewarn "Some users have reported that running Obsidian with native Wayland"
+	ewarn "support causes the software to crash. Others have it working"
+	ewarn "without issue. See https://bugs.gentoo.org/915899"
+	ewarn ""
+	ewarn "This package now provides application entries for both Obsidian and"
+	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
+	ewarn "try the other Obsidian entry to launch with XWayland"
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-06-16  3:12 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-06-16  3:12 UTC (permalink / raw
  To: gentoo-commits

commit:     b81ec6ad4a0fa73b4ae22adbcb0a19896deda805
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Sun Jun 16 03:12:14 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Sun Jun 16 03:12:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b81ec6ad

app-office/obsidian: add 1.6.3

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest              |   3 +
 app-office/obsidian/obsidian-1.6.3.ebuild | 178 ++++++++++++++++++++++++++++++
 2 files changed, 181 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 28702d8ef..41fd79a37 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -4,3 +4,6 @@ DIST obsidian-1.5.11.gh.deb 78667536 BLAKE2B 7daa4827fc45573ea07f6bd93f9f9523a7c
 DIST obsidian-1.5.12-amd64.tar.gz 107180662 BLAKE2B 52dd5a7f818629ba57cadec4a0c6b4f75d99c19ceaf1537b4f6b7dc0f9901c52b78318587b1f2a273ad6345475026e45c805d8978e7c0558a2487b9b2bf33376 SHA512 643409760fd99c6863679ca93b740a5f9a3d331144a82889c0a2f85bd53af4dcc0d5960840f8b7fa06216796fb5fc10522a769c27d8218bb32fb79370524b324
 DIST obsidian-1.5.12-arm64.tar.gz 106911948 BLAKE2B 484128a6d790e5d7cf7c02df3ba192ea8a571b760b1b0e1719aa652237b586ceb281ca73e268cce200365a79fc711fb5b67966601be69e5b370fcebf59531de5 SHA512 b0bea43efd0be464a33847d23f8c3e5f204a9e76621cc17f37d852e9ebc5f6cddd82ac1ac65d6c847d4d1453dc9615a89bb7cf16739e08444ae2c502240a571b
 DIST obsidian-1.5.12.gh.deb 78651254 BLAKE2B 22b3596a9bb098b4a15a79ed39a302526dd8f2294b85227a06a95ceaf2e597d2ab5e1d689dd6f3e497ed2acc2e0689bf79949b1337e4b34998bdb3f1b93b96ca SHA512 f0cdb88d54c0ae3ab8dc62dab7df21b6617ce4973d81798d344cac5608689cc0a2618345dcdec1c08750194d2d02118c81b2edf8a308547bbbde56dbf6100528
+DIST obsidian-1.6.3-amd64.tar.gz 107181697 BLAKE2B 28585263ebe3cda2bfebaec6a6a36855286d5e2c0b10538e207168ee945d810b84085190e1d4e76cb666982c5b83f7dadf0f533cfd3ff3c0c6e98329a6e06e1a SHA512 fa57ad6bbd1b8c04eba329a663a448786e31bf16c26a481f0ee078e40261e3f9d8dab09fb167940b28e067e6ab80a6120452a0ff08dba5382812d1eac6154161
+DIST obsidian-1.6.3-arm64.tar.gz 106921857 BLAKE2B c87abea6309a7bc8b87e7de44fd14a75747772797c3fa1133ee883f30839ca77c97b5e3eedb3bd4f72c692f2ec33b309847723232417c07bfe381650b5feabe0 SHA512 797c351aa7f4e09bb24b609c788f8856273aa4f21297a04cdc558772f188f43a8add146150e68d547ef6fc1033b9919b6ac6f760bc5cddad4a3d52d5c1d02307
+DIST obsidian-1.6.3.gh.deb 78238076 BLAKE2B 27164e545c36d9f7897aa3a81e1abcb233ea35ec9f9c0a797eafe83ad3fece6b73e82236bccd5deb23d496622609897e9f1c0e2dc2d38f75a75f3bddd0dc7eca SHA512 96219a0a4935f4b44ad969a58374c52cd642c202119291e0956adba9eec6f4b7887b9d46244c93bf0fff2609d66e3e1c09ed445e6657079d48b0dfe4f83572b3

diff --git a/app-office/obsidian/obsidian-1.6.3.ebuild b/app-office/obsidian/obsidian-1.6.3.ebuild
new file mode 100644
index 000000000..168968ddb
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.6.3.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+inherit chromium-2 desktop linux-info unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+
+# For some reason, the main binary tarballs don't include the .desktop file or
+# icon. The .deb does. One would hope then, that we could just download the .deb
+# for each arch, but they only generate a .deb for amd64. Maybe we can get them
+# to fix this, but in the meantime, we download the .deb purely to get the
+# .desktop file and app icon out of it.
+SRC_URI="
+	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
+	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
+"
+
+DIR="/opt/${PN^}"
+
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
+
+LICENSE="Obsidian-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="appindicator"
+RESTRICT="mirror strip bindist"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-apps/util-linux
+	sys-libs/glibc
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXScrnSaver
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libxshmfence
+	x11-libs/pango
+	appindicator? ( dev-libs/libayatana-appindicator )
+"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+set_obsidian_src_dir() {
+	if use amd64; then
+		S_OBSIDIAN="${WORKDIR}/${P}"
+	elif use arm64; then
+		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
+	else
+		die "Obsidian only supports amd64 and arm64"
+	fi
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	# cleanup languages
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
+	chromium_remove_language_paks
+	popd >/dev/null || die "location reset for language cleanup failed"
+
+	# Create separate .desktop file for launching Obsidian with native wayland
+	# support.
+	#
+	# Obsidian is an Electron app, and Electron can be instructed to run in
+	# native-wayland mode by turning on the Ozone platform. However, doing this
+	# causes Obsidian to crash on some users' systems, while it works fine for
+	# others. (see https://bugs.gentoo.org/915899)
+	#
+	# It appears VSCode may have encountered a similar issue, because VSCode
+	# installs two separate .desktop files, one for launching with wayland
+	# support and one for launching without. We will do the same here.
+
+	# Create a copy of upstream's .desktop
+	cp usr/share/applications/obsidian.desktop \
+		usr/share/applications/obsidian-wayland.desktop \
+		|| die "failed to create obsidian-wayland.desktop file"
+
+	# Edit the Exec & Name
+	sed -i \
+		'
+			# Add Electron ozone enable flags to obsidian execution
+			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
+
+			# Give this .desktop file a new name/desc of "Obsidian Wayland"
+			/^Name/s/$/ Wayland/
+
+			# comment field
+			/^Comment/s/$/ with Wayland support enabled/
+		' \
+		'usr/share/applications/obsidian-wayland.desktop' ||
+		die "sed failed for obsidian-wayland.desktop file"
+}
+
+src_install() {
+	insinto "${DIR}"
+	exeinto "${DIR}"
+
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
+
+	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin vk_swiftshader_icd.json
+	insopts -m0755
+	doins -r locales resources
+
+	# Chrome-sandbox requires the setuid bit to be specifically set.
+	# see https://github.com/electron/electron/issues/17972
+	fowners root "${DIR}/chrome-sandbox"
+	fperms 4711 "${DIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	popd >/dev/null || die "location reset for main install failed"
+
+	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
+
+	if use appindicator; then
+		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
+	fi
+
+	domenu usr/share/applications/obsidian.desktop
+	domenu usr/share/applications/obsidian-wayland.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	ewarn "Some users have reported that running Obsidian with native Wayland"
+	ewarn "support causes the software to crash. Others have it working"
+	ewarn "without issue. See https://bugs.gentoo.org/915899"
+	ewarn ""
+	ewarn "This package now provides application entries for both Obsidian and"
+	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
+	ewarn "try the other Obsidian entry to launch with XWayland"
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-04-22  5:39 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-04-22  5:39 UTC (permalink / raw
  To: gentoo-commits

commit:     ea85967f855e063a22c8f90a2a1ac9dfada41828
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Mon Apr 22 05:34:15 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Mon Apr 22 05:34:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea85967f

app-office/obsidian: add 1.5.12, drop 1.5.8

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest                                        | 6 +++---
 .../obsidian/{obsidian-1.5.8.ebuild => obsidian-1.5.12.ebuild}      | 0
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 161b987306..28702d8efc 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,6 +1,6 @@
 DIST obsidian-1.5.11-amd64.tar.gz 107180896 BLAKE2B f4508b0123ccfd64acd113490ed591205e4b204ea837e1c320a9e4c9c5a30e68d27df19dfe213ac12bbc57219a00680adecab4a31a6a36853632d95e95b3f62c SHA512 bf1e9b52afa0c48347d532bc47b9625fa6c03ac884c899882e73e3464b257d8dfd89e32a5551d89b054e906c2e5078f2152af16ad16a746437e330ffe48dab7a
 DIST obsidian-1.5.11-arm64.tar.gz 106911612 BLAKE2B 438119f8eea0cd14578704eab899f9493b2ecb6b5e0abe48e97914215bc74259d32dff82c96f4b40553d0b2905c34f94d041b1cab934fe30b7bc0d3027552327 SHA512 9336bfe16c076dd83514bcd86137616d260bb0a2bd430504beb83ca5a92fc24af09bdd00a2b89bffb831099504947dd94efc8d972fa4c1da451e742745f89bb6
 DIST obsidian-1.5.11.gh.deb 78667536 BLAKE2B 7daa4827fc45573ea07f6bd93f9f9523a7c32286b06478ceb9999332b83d54edc9dcbc989d81e24d2a4f8d2393a87efe607c9eef5c392f8a9d408eb763bc29d6 SHA512 ac7b1edb3c377130ef6086cad419db5f602014160c7fe857b7552a1e84415c0e4a4c022c63fadf9c69ef9420fd516ff04f4c4db3003ef0650e6be9b751d1dfc4
-DIST obsidian-1.5.8-amd64.tar.gz 107058177 BLAKE2B 508e8241a40392efcceaed00fe5221afa9f9311b74d8704c92a45765eee2c3e5482676bf634fc537dd49ff3a77e8a2c7909416c1769bf1b8fa61801cbc9b22bb SHA512 1569c6b238fddbbd0be03e0d1935aa7d4d19ea580aceb3fef5165144c6accd39e82eefbc7c801e8bdf64313dbcca3607ca3df6dee01663a9a01f7a1ab57ca82d
-DIST obsidian-1.5.8-arm64.tar.gz 106789020 BLAKE2B 024327f2d55dbd7779672e4a51583d3997be0903c785ff990742afe1b7e5fd536c9ff2637168d7c9a3815cc67c77215c1b772db4a96cfb270af147bda620b5ff SHA512 ebdd067e058728409d24f0710da374e8a904ae4a66f1eb20b09f8ba1d9768176e19c1c22e08384f866510c294dc7f05715e2e10da32606b18979f3ceeb510c44
-DIST obsidian-1.5.8.gh.deb 78625030 BLAKE2B e4bb164b484072b3ea1c70242e60e89022101475191fc5ae3933c7596b78e5bed9ed840abec394653616777222b8e66e5b504789fe888dbed581518ce83ca94c SHA512 f5308bd94a80d70e1eb74862f54dc8ce5a0818544c2fd329f3fd7818d6748ecdbeac710ac4438d677e742c955161a7a5513afbe99303e54ba20ee65da3c62bd0
+DIST obsidian-1.5.12-amd64.tar.gz 107180662 BLAKE2B 52dd5a7f818629ba57cadec4a0c6b4f75d99c19ceaf1537b4f6b7dc0f9901c52b78318587b1f2a273ad6345475026e45c805d8978e7c0558a2487b9b2bf33376 SHA512 643409760fd99c6863679ca93b740a5f9a3d331144a82889c0a2f85bd53af4dcc0d5960840f8b7fa06216796fb5fc10522a769c27d8218bb32fb79370524b324
+DIST obsidian-1.5.12-arm64.tar.gz 106911948 BLAKE2B 484128a6d790e5d7cf7c02df3ba192ea8a571b760b1b0e1719aa652237b586ceb281ca73e268cce200365a79fc711fb5b67966601be69e5b370fcebf59531de5 SHA512 b0bea43efd0be464a33847d23f8c3e5f204a9e76621cc17f37d852e9ebc5f6cddd82ac1ac65d6c847d4d1453dc9615a89bb7cf16739e08444ae2c502240a571b
+DIST obsidian-1.5.12.gh.deb 78651254 BLAKE2B 22b3596a9bb098b4a15a79ed39a302526dd8f2294b85227a06a95ceaf2e597d2ab5e1d689dd6f3e497ed2acc2e0689bf79949b1337e4b34998bdb3f1b93b96ca SHA512 f0cdb88d54c0ae3ab8dc62dab7df21b6617ce4973d81798d344cac5608689cc0a2618345dcdec1c08750194d2d02118c81b2edf8a308547bbbde56dbf6100528

diff --git a/app-office/obsidian/obsidian-1.5.8.ebuild b/app-office/obsidian/obsidian-1.5.12.ebuild
similarity index 100%
rename from app-office/obsidian/obsidian-1.5.8.ebuild
rename to app-office/obsidian/obsidian-1.5.12.ebuild


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-04-22  5:39 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-04-22  5:39 UTC (permalink / raw
  To: gentoo-commits

commit:     dbb73f12d005a5730d7db153c050d2f2e1157616
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Mon Apr 22 05:38:47 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Mon Apr 22 05:38:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dbb73f12

app-office/obsidian: make pkgcheck happy

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/obsidian-1.5.11.ebuild | 14 ++++++--------
 app-office/obsidian/obsidian-1.5.12.ebuild | 14 ++++++--------
 2 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/app-office/obsidian/obsidian-1.5.11.ebuild b/app-office/obsidian/obsidian-1.5.11.ebuild
index daf1bfd3df..168968ddb8 100644
--- a/app-office/obsidian/obsidian-1.5.11.ebuild
+++ b/app-office/obsidian/obsidian-1.5.11.ebuild
@@ -25,13 +25,17 @@ SRC_URI="
 	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
 "
 
-RESTRICT="mirror strip bindist"
+DIR="/opt/${PN^}"
 
-LICENSE="Obsidian-EULA"
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
 
+LICENSE="Obsidian-EULA"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
 IUSE="appindicator"
+RESTRICT="mirror strip bindist"
 
 RDEPEND="
 	>=app-accessibility/at-spi2-core-2.46.0:2
@@ -65,12 +69,6 @@ RDEPEND="
 	appindicator? ( dev-libs/libayatana-appindicator )
 "
 
-DIR="/opt/${PN^}"
-
-# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
-# which depends on CPU arch.
-S="${WORKDIR}"
-
 QA_PREBUILT="*"
 
 CONFIG_CHECK="~USER_NS"

diff --git a/app-office/obsidian/obsidian-1.5.12.ebuild b/app-office/obsidian/obsidian-1.5.12.ebuild
index daf1bfd3df..168968ddb8 100644
--- a/app-office/obsidian/obsidian-1.5.12.ebuild
+++ b/app-office/obsidian/obsidian-1.5.12.ebuild
@@ -25,13 +25,17 @@ SRC_URI="
 	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
 "
 
-RESTRICT="mirror strip bindist"
+DIR="/opt/${PN^}"
 
-LICENSE="Obsidian-EULA"
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
 
+LICENSE="Obsidian-EULA"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
 IUSE="appindicator"
+RESTRICT="mirror strip bindist"
 
 RDEPEND="
 	>=app-accessibility/at-spi2-core-2.46.0:2
@@ -65,12 +69,6 @@ RDEPEND="
 	appindicator? ( dev-libs/libayatana-appindicator )
 "
 
-DIR="/opt/${PN^}"
-
-# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
-# which depends on CPU arch.
-S="${WORKDIR}"
-
 QA_PREBUILT="*"
 
 CONFIG_CHECK="~USER_NS"


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-03-20  3:22 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-03-20  3:22 UTC (permalink / raw
  To: gentoo-commits

commit:     4dbf91ee99fd40ff16e9a542ff39b561f9a457a8
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Mar 20 03:22:04 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Mar 20 03:22:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4dbf91ee

app-office/obsidian: drop 1.4.16-r2, 1.5.3-r1

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest                  |   6 -
 app-office/obsidian/obsidian-1.4.16-r2.ebuild | 180 --------------------------
 app-office/obsidian/obsidian-1.5.3-r1.ebuild  | 180 --------------------------
 3 files changed, 366 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index f1e1611b2f..161b987306 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,12 +1,6 @@
-DIST obsidian-1.4.16-amd64.tar.gz 99705807 BLAKE2B dd3297f3e81d096f0f480dbbda6b57f3a286643c3724232c65b64ff1cf2b26aa7df9290837da5e056095bf121b87a0d6cd6195de78ff4894a5f0d1b3c7c652da SHA512 ee51369c2067cc99b8c3351fc91f05e9b9edbc35f84d5c1bdcdab6c144fe95e8b4443d0223562fae595c53c23fc30abb4bf65f2f36e5b85d190009c49452ce0c
-DIST obsidian-1.4.16-arm64.tar.gz 100139135 BLAKE2B 2f49e5e6d3424c8c6bd617279da75c808744742ce5c27785b3856150023d0e514d09d9a315284b851d904886cac6499d00c8df98ab0a9eb72acc52bf5aa9b38a SHA512 140b3c26df79c95ed23d82b3b6859114f0ff74f9b92715e915b8b6b2733cb18d0233053ce4497ca0703a6cdb3df2d2f22110ca873720fb66e4e7e248efcd89dc
-DIST obsidian-1.4.16.gh.deb 73362498 BLAKE2B 15a2631dc22f8833fe79166ed09f5da9013a89ba9f28acd8bb819a75b3ed2393162fab070ea810257224b6d0ef30e439b831c63d198c1a941587f8254a461b33 SHA512 3b691188a05e20e0d1792a6b135076d3dabe33106e541ae4614703fdea44bcb64fc52bbd62808325c381f28348e37cbde0e3d072e4e1b077fb2b9728c43edb05
 DIST obsidian-1.5.11-amd64.tar.gz 107180896 BLAKE2B f4508b0123ccfd64acd113490ed591205e4b204ea837e1c320a9e4c9c5a30e68d27df19dfe213ac12bbc57219a00680adecab4a31a6a36853632d95e95b3f62c SHA512 bf1e9b52afa0c48347d532bc47b9625fa6c03ac884c899882e73e3464b257d8dfd89e32a5551d89b054e906c2e5078f2152af16ad16a746437e330ffe48dab7a
 DIST obsidian-1.5.11-arm64.tar.gz 106911612 BLAKE2B 438119f8eea0cd14578704eab899f9493b2ecb6b5e0abe48e97914215bc74259d32dff82c96f4b40553d0b2905c34f94d041b1cab934fe30b7bc0d3027552327 SHA512 9336bfe16c076dd83514bcd86137616d260bb0a2bd430504beb83ca5a92fc24af09bdd00a2b89bffb831099504947dd94efc8d972fa4c1da451e742745f89bb6
 DIST obsidian-1.5.11.gh.deb 78667536 BLAKE2B 7daa4827fc45573ea07f6bd93f9f9523a7c32286b06478ceb9999332b83d54edc9dcbc989d81e24d2a4f8d2393a87efe607c9eef5c392f8a9d408eb763bc29d6 SHA512 ac7b1edb3c377130ef6086cad419db5f602014160c7fe857b7552a1e84415c0e4a4c022c63fadf9c69ef9420fd516ff04f4c4db3003ef0650e6be9b751d1dfc4
-DIST obsidian-1.5.3-amd64.tar.gz 99822395 BLAKE2B 03743ac61135f8139ce6e0e0a30335415e0af1f6402a62679ec69c832a7c2305ee998c64f584125eab99a82295e8cd16cef237f9f97370ec180069dafd3bc58e SHA512 8da9329175d7cc7947186ab839621d6043cc4a9eac11335c7f234267c1e5804c21d2241121868664ca70435d124a7c242bc46ed40585b9bdd1c55009672f3390
-DIST obsidian-1.5.3-arm64.tar.gz 100258718 BLAKE2B c99c78e48db61bf89e0c6a27cc454ab1a1ceca95b71a82ab3b8933c5413dd87ec7dd5bd847ab95353978d80f4da39a955c4114ed94aa18d621a5a6083321857f SHA512 d429904af6bd46a06250cf3ace5fb9ff2ddf0d8b4765eb94a3a4ae4183fe6af79d0b76edf5fa496441d266df842a3c332a7e975b1ef6761cf4b98ad0b63942de
-DIST obsidian-1.5.3.gh.deb 73415050 BLAKE2B 10a0ea6eabfd4d00bb33e2cc9a6b5f28df3ca7cea2a33cf27895b74805dd25e0eb3ac342b7d80dcb741e18a9f263ca5fc200433006c8bc4253f12ce78d235e7c SHA512 1d60cd8c1c0f1eff3f8937a4a3117b13fadbc0311a4c490510262e4335927bd4826e895cbefdaf2e1172f45a39608cf102dc1c950c384a3015c387ebe2fb26cf
 DIST obsidian-1.5.8-amd64.tar.gz 107058177 BLAKE2B 508e8241a40392efcceaed00fe5221afa9f9311b74d8704c92a45765eee2c3e5482676bf634fc537dd49ff3a77e8a2c7909416c1769bf1b8fa61801cbc9b22bb SHA512 1569c6b238fddbbd0be03e0d1935aa7d4d19ea580aceb3fef5165144c6accd39e82eefbc7c801e8bdf64313dbcca3607ca3df6dee01663a9a01f7a1ab57ca82d
 DIST obsidian-1.5.8-arm64.tar.gz 106789020 BLAKE2B 024327f2d55dbd7779672e4a51583d3997be0903c785ff990742afe1b7e5fd536c9ff2637168d7c9a3815cc67c77215c1b772db4a96cfb270af147bda620b5ff SHA512 ebdd067e058728409d24f0710da374e8a904ae4a66f1eb20b09f8ba1d9768176e19c1c22e08384f866510c294dc7f05715e2e10da32606b18979f3ceeb510c44
 DIST obsidian-1.5.8.gh.deb 78625030 BLAKE2B e4bb164b484072b3ea1c70242e60e89022101475191fc5ae3933c7596b78e5bed9ed840abec394653616777222b8e66e5b504789fe888dbed581518ce83ca94c SHA512 f5308bd94a80d70e1eb74862f54dc8ce5a0818544c2fd329f3fd7818d6748ecdbeac710ac4438d677e742c955161a7a5513afbe99303e54ba20ee65da3c62bd0

diff --git a/app-office/obsidian/obsidian-1.4.16-r2.ebuild b/app-office/obsidian/obsidian-1.4.16-r2.ebuild
deleted file mode 100644
index daf1bfd3df..0000000000
--- a/app-office/obsidian/obsidian-1.4.16-r2.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CHROMIUM_VERSION="102"
-CHROMIUM_LANGS="
-	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
-	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
-	sw ta te th tr uk ur vi zh-CN zh-TW
-"
-inherit chromium-2 desktop linux-info unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md/"
-
-# For some reason, the main binary tarballs don't include the .desktop file or
-# icon. The .deb does. One would hope then, that we could just download the .deb
-# for each arch, but they only generate a .deb for amd64. Maybe we can get them
-# to fix this, but in the meantime, we download the .deb purely to get the
-# .desktop file and app icon out of it.
-SRC_URI="
-	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
-	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
-"
-
-RESTRICT="mirror strip bindist"
-
-LICENSE="Obsidian-EULA"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator"
-
-RDEPEND="
-	>=app-accessibility/at-spi2-core-2.46.0:2
-	app-crypt/libsecret[crypt]
-	dev-libs/expat
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/mesa[gbm(+)]
-	net-print/cups
-	sys-apps/dbus
-	sys-apps/util-linux
-	sys-libs/glibc
-	x11-libs/cairo
-	x11-libs/libdrm
-	x11-libs/gdk-pixbuf:2
-	x11-libs/gtk+:3
-	x11-libs/libX11
-	x11-libs/libXScrnSaver
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libXrandr
-	x11-libs/libxcb
-	x11-libs/libxkbcommon
-	x11-libs/libxshmfence
-	x11-libs/pango
-	appindicator? ( dev-libs/libayatana-appindicator )
-"
-
-DIR="/opt/${PN^}"
-
-# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
-# which depends on CPU arch.
-S="${WORKDIR}"
-
-QA_PREBUILT="*"
-
-CONFIG_CHECK="~USER_NS"
-
-set_obsidian_src_dir() {
-	if use amd64; then
-		S_OBSIDIAN="${WORKDIR}/${P}"
-	elif use arm64; then
-		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
-	else
-		die "Obsidian only supports amd64 and arm64"
-	fi
-}
-
-src_configure() {
-	default
-	chromium_suid_sandbox_check_kernel_config
-}
-
-src_prepare() {
-	default
-	# cleanup languages
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
-	chromium_remove_language_paks
-	popd >/dev/null || die "location reset for language cleanup failed"
-
-	# Create separate .desktop file for launching Obsidian with native wayland
-	# support.
-	#
-	# Obsidian is an Electron app, and Electron can be instructed to run in
-	# native-wayland mode by turning on the Ozone platform. However, doing this
-	# causes Obsidian to crash on some users' systems, while it works fine for
-	# others. (see https://bugs.gentoo.org/915899)
-	#
-	# It appears VSCode may have encountered a similar issue, because VSCode
-	# installs two separate .desktop files, one for launching with wayland
-	# support and one for launching without. We will do the same here.
-
-	# Create a copy of upstream's .desktop
-	cp usr/share/applications/obsidian.desktop \
-		usr/share/applications/obsidian-wayland.desktop \
-		|| die "failed to create obsidian-wayland.desktop file"
-
-	# Edit the Exec & Name
-	sed -i \
-		'
-			# Add Electron ozone enable flags to obsidian execution
-			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
-
-			# Give this .desktop file a new name/desc of "Obsidian Wayland"
-			/^Name/s/$/ Wayland/
-
-			# comment field
-			/^Comment/s/$/ with Wayland support enabled/
-		' \
-		'usr/share/applications/obsidian-wayland.desktop' ||
-		die "sed failed for obsidian-wayland.desktop file"
-}
-
-src_install() {
-	insinto "${DIR}"
-	exeinto "${DIR}"
-
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
-
-	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
-	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
-		v8_context_snapshot.bin vk_swiftshader_icd.json
-	insopts -m0755
-	doins -r locales resources
-
-	# Chrome-sandbox requires the setuid bit to be specifically set.
-	# see https://github.com/electron/electron/issues/17972
-	fowners root "${DIR}/chrome-sandbox"
-	fperms 4711 "${DIR}/chrome-sandbox"
-
-	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
-
-	popd >/dev/null || die "location reset for main install failed"
-
-	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
-
-	if use appindicator; then
-		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
-	fi
-
-	domenu usr/share/applications/obsidian.desktop
-	domenu usr/share/applications/obsidian-wayland.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
-	done
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-
-	ewarn "Some users have reported that running Obsidian with native Wayland"
-	ewarn "support causes the software to crash. Others have it working"
-	ewarn "without issue. See https://bugs.gentoo.org/915899"
-	ewarn ""
-	ewarn "This package now provides application entries for both Obsidian and"
-	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
-	ewarn "try the other Obsidian entry to launch with XWayland"
-}

diff --git a/app-office/obsidian/obsidian-1.5.3-r1.ebuild b/app-office/obsidian/obsidian-1.5.3-r1.ebuild
deleted file mode 100644
index daf1bfd3df..0000000000
--- a/app-office/obsidian/obsidian-1.5.3-r1.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CHROMIUM_VERSION="102"
-CHROMIUM_LANGS="
-	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
-	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
-	sw ta te th tr uk ur vi zh-CN zh-TW
-"
-inherit chromium-2 desktop linux-info unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md/"
-
-# For some reason, the main binary tarballs don't include the .desktop file or
-# icon. The .deb does. One would hope then, that we could just download the .deb
-# for each arch, but they only generate a .deb for amd64. Maybe we can get them
-# to fix this, but in the meantime, we download the .deb purely to get the
-# .desktop file and app icon out of it.
-SRC_URI="
-	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
-	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
-	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
-"
-
-RESTRICT="mirror strip bindist"
-
-LICENSE="Obsidian-EULA"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator"
-
-RDEPEND="
-	>=app-accessibility/at-spi2-core-2.46.0:2
-	app-crypt/libsecret[crypt]
-	dev-libs/expat
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/mesa[gbm(+)]
-	net-print/cups
-	sys-apps/dbus
-	sys-apps/util-linux
-	sys-libs/glibc
-	x11-libs/cairo
-	x11-libs/libdrm
-	x11-libs/gdk-pixbuf:2
-	x11-libs/gtk+:3
-	x11-libs/libX11
-	x11-libs/libXScrnSaver
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libXrandr
-	x11-libs/libxcb
-	x11-libs/libxkbcommon
-	x11-libs/libxshmfence
-	x11-libs/pango
-	appindicator? ( dev-libs/libayatana-appindicator )
-"
-
-DIR="/opt/${PN^}"
-
-# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
-# which depends on CPU arch.
-S="${WORKDIR}"
-
-QA_PREBUILT="*"
-
-CONFIG_CHECK="~USER_NS"
-
-set_obsidian_src_dir() {
-	if use amd64; then
-		S_OBSIDIAN="${WORKDIR}/${P}"
-	elif use arm64; then
-		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
-	else
-		die "Obsidian only supports amd64 and arm64"
-	fi
-}
-
-src_configure() {
-	default
-	chromium_suid_sandbox_check_kernel_config
-}
-
-src_prepare() {
-	default
-	# cleanup languages
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
-	chromium_remove_language_paks
-	popd >/dev/null || die "location reset for language cleanup failed"
-
-	# Create separate .desktop file for launching Obsidian with native wayland
-	# support.
-	#
-	# Obsidian is an Electron app, and Electron can be instructed to run in
-	# native-wayland mode by turning on the Ozone platform. However, doing this
-	# causes Obsidian to crash on some users' systems, while it works fine for
-	# others. (see https://bugs.gentoo.org/915899)
-	#
-	# It appears VSCode may have encountered a similar issue, because VSCode
-	# installs two separate .desktop files, one for launching with wayland
-	# support and one for launching without. We will do the same here.
-
-	# Create a copy of upstream's .desktop
-	cp usr/share/applications/obsidian.desktop \
-		usr/share/applications/obsidian-wayland.desktop \
-		|| die "failed to create obsidian-wayland.desktop file"
-
-	# Edit the Exec & Name
-	sed -i \
-		'
-			# Add Electron ozone enable flags to obsidian execution
-			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
-
-			# Give this .desktop file a new name/desc of "Obsidian Wayland"
-			/^Name/s/$/ Wayland/
-
-			# comment field
-			/^Comment/s/$/ with Wayland support enabled/
-		' \
-		'usr/share/applications/obsidian-wayland.desktop' ||
-		die "sed failed for obsidian-wayland.desktop file"
-}
-
-src_install() {
-	insinto "${DIR}"
-	exeinto "${DIR}"
-
-	set_obsidian_src_dir
-	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
-
-	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
-	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
-		v8_context_snapshot.bin vk_swiftshader_icd.json
-	insopts -m0755
-	doins -r locales resources
-
-	# Chrome-sandbox requires the setuid bit to be specifically set.
-	# see https://github.com/electron/electron/issues/17972
-	fowners root "${DIR}/chrome-sandbox"
-	fperms 4711 "${DIR}/chrome-sandbox"
-
-	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
-
-	popd >/dev/null || die "location reset for main install failed"
-
-	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
-
-	if use appindicator; then
-		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
-	fi
-
-	domenu usr/share/applications/obsidian.desktop
-	domenu usr/share/applications/obsidian-wayland.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
-	done
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-
-	ewarn "Some users have reported that running Obsidian with native Wayland"
-	ewarn "support causes the software to crash. Others have it working"
-	ewarn "without issue. See https://bugs.gentoo.org/915899"
-	ewarn ""
-	ewarn "This package now provides application entries for both Obsidian and"
-	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
-	ewarn "try the other Obsidian entry to launch with XWayland"
-}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-03-20  3:22 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-03-20  3:22 UTC (permalink / raw
  To: gentoo-commits

commit:     c29852a9ce3fd4902fe2908d0a951197aabd74ab
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Mar 20 03:21:33 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Mar 20 03:22:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c29852a9

app-office/obsidian: add 1.5.11

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest               |   3 +
 app-office/obsidian/obsidian-1.5.11.ebuild | 180 +++++++++++++++++++++++++++++
 2 files changed, 183 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 812cccab17..f1e1611b2f 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,6 +1,9 @@
 DIST obsidian-1.4.16-amd64.tar.gz 99705807 BLAKE2B dd3297f3e81d096f0f480dbbda6b57f3a286643c3724232c65b64ff1cf2b26aa7df9290837da5e056095bf121b87a0d6cd6195de78ff4894a5f0d1b3c7c652da SHA512 ee51369c2067cc99b8c3351fc91f05e9b9edbc35f84d5c1bdcdab6c144fe95e8b4443d0223562fae595c53c23fc30abb4bf65f2f36e5b85d190009c49452ce0c
 DIST obsidian-1.4.16-arm64.tar.gz 100139135 BLAKE2B 2f49e5e6d3424c8c6bd617279da75c808744742ce5c27785b3856150023d0e514d09d9a315284b851d904886cac6499d00c8df98ab0a9eb72acc52bf5aa9b38a SHA512 140b3c26df79c95ed23d82b3b6859114f0ff74f9b92715e915b8b6b2733cb18d0233053ce4497ca0703a6cdb3df2d2f22110ca873720fb66e4e7e248efcd89dc
 DIST obsidian-1.4.16.gh.deb 73362498 BLAKE2B 15a2631dc22f8833fe79166ed09f5da9013a89ba9f28acd8bb819a75b3ed2393162fab070ea810257224b6d0ef30e439b831c63d198c1a941587f8254a461b33 SHA512 3b691188a05e20e0d1792a6b135076d3dabe33106e541ae4614703fdea44bcb64fc52bbd62808325c381f28348e37cbde0e3d072e4e1b077fb2b9728c43edb05
+DIST obsidian-1.5.11-amd64.tar.gz 107180896 BLAKE2B f4508b0123ccfd64acd113490ed591205e4b204ea837e1c320a9e4c9c5a30e68d27df19dfe213ac12bbc57219a00680adecab4a31a6a36853632d95e95b3f62c SHA512 bf1e9b52afa0c48347d532bc47b9625fa6c03ac884c899882e73e3464b257d8dfd89e32a5551d89b054e906c2e5078f2152af16ad16a746437e330ffe48dab7a
+DIST obsidian-1.5.11-arm64.tar.gz 106911612 BLAKE2B 438119f8eea0cd14578704eab899f9493b2ecb6b5e0abe48e97914215bc74259d32dff82c96f4b40553d0b2905c34f94d041b1cab934fe30b7bc0d3027552327 SHA512 9336bfe16c076dd83514bcd86137616d260bb0a2bd430504beb83ca5a92fc24af09bdd00a2b89bffb831099504947dd94efc8d972fa4c1da451e742745f89bb6
+DIST obsidian-1.5.11.gh.deb 78667536 BLAKE2B 7daa4827fc45573ea07f6bd93f9f9523a7c32286b06478ceb9999332b83d54edc9dcbc989d81e24d2a4f8d2393a87efe607c9eef5c392f8a9d408eb763bc29d6 SHA512 ac7b1edb3c377130ef6086cad419db5f602014160c7fe857b7552a1e84415c0e4a4c022c63fadf9c69ef9420fd516ff04f4c4db3003ef0650e6be9b751d1dfc4
 DIST obsidian-1.5.3-amd64.tar.gz 99822395 BLAKE2B 03743ac61135f8139ce6e0e0a30335415e0af1f6402a62679ec69c832a7c2305ee998c64f584125eab99a82295e8cd16cef237f9f97370ec180069dafd3bc58e SHA512 8da9329175d7cc7947186ab839621d6043cc4a9eac11335c7f234267c1e5804c21d2241121868664ca70435d124a7c242bc46ed40585b9bdd1c55009672f3390
 DIST obsidian-1.5.3-arm64.tar.gz 100258718 BLAKE2B c99c78e48db61bf89e0c6a27cc454ab1a1ceca95b71a82ab3b8933c5413dd87ec7dd5bd847ab95353978d80f4da39a955c4114ed94aa18d621a5a6083321857f SHA512 d429904af6bd46a06250cf3ace5fb9ff2ddf0d8b4765eb94a3a4ae4183fe6af79d0b76edf5fa496441d266df842a3c332a7e975b1ef6761cf4b98ad0b63942de
 DIST obsidian-1.5.3.gh.deb 73415050 BLAKE2B 10a0ea6eabfd4d00bb33e2cc9a6b5f28df3ca7cea2a33cf27895b74805dd25e0eb3ac342b7d80dcb741e18a9f263ca5fc200433006c8bc4253f12ce78d235e7c SHA512 1d60cd8c1c0f1eff3f8937a4a3117b13fadbc0311a4c490510262e4335927bd4826e895cbefdaf2e1172f45a39608cf102dc1c950c384a3015c387ebe2fb26cf

diff --git a/app-office/obsidian/obsidian-1.5.11.ebuild b/app-office/obsidian/obsidian-1.5.11.ebuild
new file mode 100644
index 0000000000..daf1bfd3df
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.5.11.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+inherit chromium-2 desktop linux-info unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+
+# For some reason, the main binary tarballs don't include the .desktop file or
+# icon. The .deb does. One would hope then, that we could just download the .deb
+# for each arch, but they only generate a .deb for amd64. Maybe we can get them
+# to fix this, but in the meantime, we download the .deb purely to get the
+# .desktop file and app icon out of it.
+SRC_URI="
+	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
+	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
+"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="Obsidian-EULA"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="appindicator"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-apps/util-linux
+	sys-libs/glibc
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXScrnSaver
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libxshmfence
+	x11-libs/pango
+	appindicator? ( dev-libs/libayatana-appindicator )
+"
+
+DIR="/opt/${PN^}"
+
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+set_obsidian_src_dir() {
+	if use amd64; then
+		S_OBSIDIAN="${WORKDIR}/${P}"
+	elif use arm64; then
+		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
+	else
+		die "Obsidian only supports amd64 and arm64"
+	fi
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	# cleanup languages
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
+	chromium_remove_language_paks
+	popd >/dev/null || die "location reset for language cleanup failed"
+
+	# Create separate .desktop file for launching Obsidian with native wayland
+	# support.
+	#
+	# Obsidian is an Electron app, and Electron can be instructed to run in
+	# native-wayland mode by turning on the Ozone platform. However, doing this
+	# causes Obsidian to crash on some users' systems, while it works fine for
+	# others. (see https://bugs.gentoo.org/915899)
+	#
+	# It appears VSCode may have encountered a similar issue, because VSCode
+	# installs two separate .desktop files, one for launching with wayland
+	# support and one for launching without. We will do the same here.
+
+	# Create a copy of upstream's .desktop
+	cp usr/share/applications/obsidian.desktop \
+		usr/share/applications/obsidian-wayland.desktop \
+		|| die "failed to create obsidian-wayland.desktop file"
+
+	# Edit the Exec & Name
+	sed -i \
+		'
+			# Add Electron ozone enable flags to obsidian execution
+			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
+
+			# Give this .desktop file a new name/desc of "Obsidian Wayland"
+			/^Name/s/$/ Wayland/
+
+			# comment field
+			/^Comment/s/$/ with Wayland support enabled/
+		' \
+		'usr/share/applications/obsidian-wayland.desktop' ||
+		die "sed failed for obsidian-wayland.desktop file"
+}
+
+src_install() {
+	insinto "${DIR}"
+	exeinto "${DIR}"
+
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
+
+	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin vk_swiftshader_icd.json
+	insopts -m0755
+	doins -r locales resources
+
+	# Chrome-sandbox requires the setuid bit to be specifically set.
+	# see https://github.com/electron/electron/issues/17972
+	fowners root "${DIR}/chrome-sandbox"
+	fperms 4711 "${DIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	popd >/dev/null || die "location reset for main install failed"
+
+	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
+
+	if use appindicator; then
+		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
+	fi
+
+	domenu usr/share/applications/obsidian.desktop
+	domenu usr/share/applications/obsidian-wayland.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	ewarn "Some users have reported that running Obsidian with native Wayland"
+	ewarn "support causes the software to crash. Others have it working"
+	ewarn "without issue. See https://bugs.gentoo.org/915899"
+	ewarn ""
+	ewarn "This package now provides application entries for both Obsidian and"
+	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
+	ewarn "try the other Obsidian entry to launch with XWayland"
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-02-29  7:08 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-02-29  7:08 UTC (permalink / raw
  To: gentoo-commits

commit:     6eaa2b84235aff30e06af74d99801a91cd00bf01
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Thu Feb 29 07:07:38 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Thu Feb 29 07:07:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6eaa2b84

app-office/obsidian: fix up old ebuilds

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/obsidian-1.4.16-r2.ebuild | 4 ++--
 app-office/obsidian/obsidian-1.5.3-r1.ebuild  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-office/obsidian/obsidian-1.4.16-r2.ebuild b/app-office/obsidian/obsidian-1.4.16-r2.ebuild
index d982b36183..daf1bfd3df 100644
--- a/app-office/obsidian/obsidian-1.4.16-r2.ebuild
+++ b/app-office/obsidian/obsidian-1.4.16-r2.ebuild
@@ -168,8 +168,8 @@ src_install() {
 }
 
 pkg_postinst() {
-	xdg_icon_cache_update
-	
+	xdg_pkg_postinst
+
 	ewarn "Some users have reported that running Obsidian with native Wayland"
 	ewarn "support causes the software to crash. Others have it working"
 	ewarn "without issue. See https://bugs.gentoo.org/915899"

diff --git a/app-office/obsidian/obsidian-1.5.3-r1.ebuild b/app-office/obsidian/obsidian-1.5.3-r1.ebuild
index b23ea4fb8a..daf1bfd3df 100644
--- a/app-office/obsidian/obsidian-1.5.3-r1.ebuild
+++ b/app-office/obsidian/obsidian-1.5.3-r1.ebuild
@@ -168,7 +168,7 @@ src_install() {
 }
 
 pkg_postinst() {
-	xdg_icon_cache_update
+	xdg_pkg_postinst
 
 	ewarn "Some users have reported that running Obsidian with native Wayland"
 	ewarn "support causes the software to crash. Others have it working"


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-02-29  7:08 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-02-29  7:08 UTC (permalink / raw
  To: gentoo-commits

commit:     d8567a1bd47a0f7a750b16a70ffb7a1aa1c93785
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Thu Feb 29 07:05:15 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Thu Feb 29 07:05:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8567a1b

app-office/obsidian: add 1.5.8

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest              |   3 +
 app-office/obsidian/obsidian-1.5.8.ebuild | 180 ++++++++++++++++++++++++++++++
 2 files changed, 183 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index f93fef5264..812cccab17 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -4,3 +4,6 @@ DIST obsidian-1.4.16.gh.deb 73362498 BLAKE2B 15a2631dc22f8833fe79166ed09f5da9013
 DIST obsidian-1.5.3-amd64.tar.gz 99822395 BLAKE2B 03743ac61135f8139ce6e0e0a30335415e0af1f6402a62679ec69c832a7c2305ee998c64f584125eab99a82295e8cd16cef237f9f97370ec180069dafd3bc58e SHA512 8da9329175d7cc7947186ab839621d6043cc4a9eac11335c7f234267c1e5804c21d2241121868664ca70435d124a7c242bc46ed40585b9bdd1c55009672f3390
 DIST obsidian-1.5.3-arm64.tar.gz 100258718 BLAKE2B c99c78e48db61bf89e0c6a27cc454ab1a1ceca95b71a82ab3b8933c5413dd87ec7dd5bd847ab95353978d80f4da39a955c4114ed94aa18d621a5a6083321857f SHA512 d429904af6bd46a06250cf3ace5fb9ff2ddf0d8b4765eb94a3a4ae4183fe6af79d0b76edf5fa496441d266df842a3c332a7e975b1ef6761cf4b98ad0b63942de
 DIST obsidian-1.5.3.gh.deb 73415050 BLAKE2B 10a0ea6eabfd4d00bb33e2cc9a6b5f28df3ca7cea2a33cf27895b74805dd25e0eb3ac342b7d80dcb741e18a9f263ca5fc200433006c8bc4253f12ce78d235e7c SHA512 1d60cd8c1c0f1eff3f8937a4a3117b13fadbc0311a4c490510262e4335927bd4826e895cbefdaf2e1172f45a39608cf102dc1c950c384a3015c387ebe2fb26cf
+DIST obsidian-1.5.8-amd64.tar.gz 107058177 BLAKE2B 508e8241a40392efcceaed00fe5221afa9f9311b74d8704c92a45765eee2c3e5482676bf634fc537dd49ff3a77e8a2c7909416c1769bf1b8fa61801cbc9b22bb SHA512 1569c6b238fddbbd0be03e0d1935aa7d4d19ea580aceb3fef5165144c6accd39e82eefbc7c801e8bdf64313dbcca3607ca3df6dee01663a9a01f7a1ab57ca82d
+DIST obsidian-1.5.8-arm64.tar.gz 106789020 BLAKE2B 024327f2d55dbd7779672e4a51583d3997be0903c785ff990742afe1b7e5fd536c9ff2637168d7c9a3815cc67c77215c1b772db4a96cfb270af147bda620b5ff SHA512 ebdd067e058728409d24f0710da374e8a904ae4a66f1eb20b09f8ba1d9768176e19c1c22e08384f866510c294dc7f05715e2e10da32606b18979f3ceeb510c44
+DIST obsidian-1.5.8.gh.deb 78625030 BLAKE2B e4bb164b484072b3ea1c70242e60e89022101475191fc5ae3933c7596b78e5bed9ed840abec394653616777222b8e66e5b504789fe888dbed581518ce83ca94c SHA512 f5308bd94a80d70e1eb74862f54dc8ce5a0818544c2fd329f3fd7818d6748ecdbeac710ac4438d677e742c955161a7a5513afbe99303e54ba20ee65da3c62bd0

diff --git a/app-office/obsidian/obsidian-1.5.8.ebuild b/app-office/obsidian/obsidian-1.5.8.ebuild
new file mode 100644
index 0000000000..daf1bfd3df
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.5.8.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+inherit chromium-2 desktop linux-info unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+
+# For some reason, the main binary tarballs don't include the .desktop file or
+# icon. The .deb does. One would hope then, that we could just download the .deb
+# for each arch, but they only generate a .deb for amd64. Maybe we can get them
+# to fix this, but in the meantime, we download the .deb purely to get the
+# .desktop file and app icon out of it.
+SRC_URI="
+	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
+	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
+"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="Obsidian-EULA"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="appindicator"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-apps/util-linux
+	sys-libs/glibc
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXScrnSaver
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libxshmfence
+	x11-libs/pango
+	appindicator? ( dev-libs/libayatana-appindicator )
+"
+
+DIR="/opt/${PN^}"
+
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+set_obsidian_src_dir() {
+	if use amd64; then
+		S_OBSIDIAN="${WORKDIR}/${P}"
+	elif use arm64; then
+		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
+	else
+		die "Obsidian only supports amd64 and arm64"
+	fi
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	# cleanup languages
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
+	chromium_remove_language_paks
+	popd >/dev/null || die "location reset for language cleanup failed"
+
+	# Create separate .desktop file for launching Obsidian with native wayland
+	# support.
+	#
+	# Obsidian is an Electron app, and Electron can be instructed to run in
+	# native-wayland mode by turning on the Ozone platform. However, doing this
+	# causes Obsidian to crash on some users' systems, while it works fine for
+	# others. (see https://bugs.gentoo.org/915899)
+	#
+	# It appears VSCode may have encountered a similar issue, because VSCode
+	# installs two separate .desktop files, one for launching with wayland
+	# support and one for launching without. We will do the same here.
+
+	# Create a copy of upstream's .desktop
+	cp usr/share/applications/obsidian.desktop \
+		usr/share/applications/obsidian-wayland.desktop \
+		|| die "failed to create obsidian-wayland.desktop file"
+
+	# Edit the Exec & Name
+	sed -i \
+		'
+			# Add Electron ozone enable flags to obsidian execution
+			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
+
+			# Give this .desktop file a new name/desc of "Obsidian Wayland"
+			/^Name/s/$/ Wayland/
+
+			# comment field
+			/^Comment/s/$/ with Wayland support enabled/
+		' \
+		'usr/share/applications/obsidian-wayland.desktop' ||
+		die "sed failed for obsidian-wayland.desktop file"
+}
+
+src_install() {
+	insinto "${DIR}"
+	exeinto "${DIR}"
+
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
+
+	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin vk_swiftshader_icd.json
+	insopts -m0755
+	doins -r locales resources
+
+	# Chrome-sandbox requires the setuid bit to be specifically set.
+	# see https://github.com/electron/electron/issues/17972
+	fowners root "${DIR}/chrome-sandbox"
+	fperms 4711 "${DIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	popd >/dev/null || die "location reset for main install failed"
+
+	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
+
+	if use appindicator; then
+		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
+	fi
+
+	domenu usr/share/applications/obsidian.desktop
+	domenu usr/share/applications/obsidian-wayland.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	ewarn "Some users have reported that running Obsidian with native Wayland"
+	ewarn "support causes the software to crash. Others have it working"
+	ewarn "without issue. See https://bugs.gentoo.org/915899"
+	ewarn ""
+	ewarn "This package now provides application entries for both Obsidian and"
+	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
+	ewarn "try the other Obsidian entry to launch with XWayland"
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-01-04 12:21 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-01-04 12:21 UTC (permalink / raw
  To: gentoo-commits

commit:     3394582c993b1fac23afea96b5b7c30bd8c2584a
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Thu Jan  4 12:20:25 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Thu Jan  4 12:21:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3394582c

app-office/obsidian: fix postinst to run xdg postinst step

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 .../obsidian/{obsidian-1.5.3.ebuild => obsidian-1.4.16-r2.ebuild}       | 2 ++
 .../obsidian/{obsidian-1.4.16-r1.ebuild => obsidian-1.5.3-r1.ebuild}    | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/app-office/obsidian/obsidian-1.5.3.ebuild b/app-office/obsidian/obsidian-1.4.16-r2.ebuild
similarity index 99%
rename from app-office/obsidian/obsidian-1.5.3.ebuild
rename to app-office/obsidian/obsidian-1.4.16-r2.ebuild
index 8baafd637c..d982b36183 100644
--- a/app-office/obsidian/obsidian-1.5.3.ebuild
+++ b/app-office/obsidian/obsidian-1.4.16-r2.ebuild
@@ -168,6 +168,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	xdg_icon_cache_update
+	
 	ewarn "Some users have reported that running Obsidian with native Wayland"
 	ewarn "support causes the software to crash. Others have it working"
 	ewarn "without issue. See https://bugs.gentoo.org/915899"

diff --git a/app-office/obsidian/obsidian-1.4.16-r1.ebuild b/app-office/obsidian/obsidian-1.5.3-r1.ebuild
similarity index 99%
rename from app-office/obsidian/obsidian-1.4.16-r1.ebuild
rename to app-office/obsidian/obsidian-1.5.3-r1.ebuild
index 8baafd637c..b23ea4fb8a 100644
--- a/app-office/obsidian/obsidian-1.4.16-r1.ebuild
+++ b/app-office/obsidian/obsidian-1.5.3-r1.ebuild
@@ -168,6 +168,8 @@ src_install() {
 }
 
 pkg_postinst() {
+	xdg_icon_cache_update
+
 	ewarn "Some users have reported that running Obsidian with native Wayland"
 	ewarn "support causes the software to crash. Others have it working"
 	ewarn "without issue. See https://bugs.gentoo.org/915899"


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-01-03  6:33 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-01-03  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     8aafec17cffb4037f4c9bf02928c62148080ae32
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Jan  3 06:31:30 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Jan  3 06:31:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8aafec17

app-office/obsidian: drop 1.3.5

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest              |  1 -
 app-office/obsidian/obsidian-1.3.5.ebuild | 68 -------------------------------
 2 files changed, 69 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 45ff8bf3e9..f93fef5264 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,4 +1,3 @@
-DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe
 DIST obsidian-1.4.16-amd64.tar.gz 99705807 BLAKE2B dd3297f3e81d096f0f480dbbda6b57f3a286643c3724232c65b64ff1cf2b26aa7df9290837da5e056095bf121b87a0d6cd6195de78ff4894a5f0d1b3c7c652da SHA512 ee51369c2067cc99b8c3351fc91f05e9b9edbc35f84d5c1bdcdab6c144fe95e8b4443d0223562fae595c53c23fc30abb4bf65f2f36e5b85d190009c49452ce0c
 DIST obsidian-1.4.16-arm64.tar.gz 100139135 BLAKE2B 2f49e5e6d3424c8c6bd617279da75c808744742ce5c27785b3856150023d0e514d09d9a315284b851d904886cac6499d00c8df98ab0a9eb72acc52bf5aa9b38a SHA512 140b3c26df79c95ed23d82b3b6859114f0ff74f9b92715e915b8b6b2733cb18d0233053ce4497ca0703a6cdb3df2d2f22110ca873720fb66e4e7e248efcd89dc
 DIST obsidian-1.4.16.gh.deb 73362498 BLAKE2B 15a2631dc22f8833fe79166ed09f5da9013a89ba9f28acd8bb819a75b3ed2393162fab070ea810257224b6d0ef30e439b831c63d198c1a941587f8254a461b33 SHA512 3b691188a05e20e0d1792a6b135076d3dabe33106e541ae4614703fdea44bcb64fc52bbd62808325c381f28348e37cbde0e3d072e4e1b077fb2b9728c43edb05

diff --git a/app-office/obsidian/obsidian-1.3.5.ebuild b/app-office/obsidian/obsidian-1.3.5.ebuild
deleted file mode 100644
index 7c6ac6f333..0000000000
--- a/app-office/obsidian/obsidian-1.3.5.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md/"
-SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb"
-
-LICENSE="Obsidian-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="app-accessibility/at-spi2-core:2
-	dev-libs/expat
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/mesa
-	net-print/cups
-	sys-apps/dbus
-	x11-libs/cairo
-	x11-libs/gtk+:3
-	x11-libs/libX11
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libXrandr
-	x11-libs/libdrm
-	x11-libs/libxcb
-	x11-libs/libxkbcommon
-	x11-libs/pango
-"
-
-DIR="/opt/${PN^}"
-S="${WORKDIR}"
-
-QA_PREBUILT="${DIR#/}/chrome-sandbox
-	${DIR#/}/chrome_crashpad_handler
-	${DIR#/}/libGLESv2.so
-	${DIR#/}/libEGL.so
-	${DIR#/}/libffmpeg.so
-	${DIR#/}/libvk_swiftshader.so
-	${DIR#/}/libvulkan.so.1
-	${DIR#/}/obsidian
-	${DIR#/}/resources/app.asar.unpacked/node_modules/*
-"
-
-src_install() {
-	insinto ${DIR}
-	doins -r ${DIR#/}/*
-
-	domenu usr/share/applications/obsidian.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
-	done
-
-	fperms 4755 ${DIR}/chrome-sandbox
-	fperms +x  ${DIR}/obsidian
-
-	dosym -r ${DIR}/obsidian /usr/bin/obsidian
-}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-01-03  6:33 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-01-03  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     47d6aa9a9b0f1005f4fd592e6d6372c6f18b606d
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Jan  3 06:29:40 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Jan  3 06:29:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47d6aa9a

app-office/obsidian: Provide X11 and Wayland .desktop files together

For some users, Obsidian works fine with native wayland. For others, it
crashes. See https://bugs.gentoo.org/915899

To make this easier for users to deal with, provide both .desktop files
in the installation so they can switch between them to see what works.
Warn during install that they should try this if they see crashes.

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 ...ian-1.4.16.ebuild => obsidian-1.4.16-r1.ebuild} | 50 +++++++++++++++++++---
 1 file changed, 44 insertions(+), 6 deletions(-)

diff --git a/app-office/obsidian/obsidian-1.4.16.ebuild b/app-office/obsidian/obsidian-1.4.16-r1.ebuild
similarity index 67%
rename from app-office/obsidian/obsidian-1.4.16.ebuild
rename to app-office/obsidian/obsidian-1.4.16-r1.ebuild
index b07d924ffa..8baafd637c 100644
--- a/app-office/obsidian/obsidian-1.4.16.ebuild
+++ b/app-office/obsidian/obsidian-1.4.16-r1.ebuild
@@ -31,7 +31,7 @@ LICENSE="Obsidian-EULA"
 
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
-IUSE="appindicator wayland"
+IUSE="appindicator"
 
 RDEPEND="
 	>=app-accessibility/at-spi2-core-2.46.0:2
@@ -97,11 +97,38 @@ src_prepare() {
 	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
 	chromium_remove_language_paks
 	popd >/dev/null || die "location reset for language cleanup failed"
-	if use wayland; then
-		sed -i '/Exec/s/obsidian/obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations/' \
-			"usr/share/applications/obsidian.desktop" ||
-			die "sed failed for wayland"
-	fi
+
+	# Create separate .desktop file for launching Obsidian with native wayland
+	# support.
+	#
+	# Obsidian is an Electron app, and Electron can be instructed to run in
+	# native-wayland mode by turning on the Ozone platform. However, doing this
+	# causes Obsidian to crash on some users' systems, while it works fine for
+	# others. (see https://bugs.gentoo.org/915899)
+	#
+	# It appears VSCode may have encountered a similar issue, because VSCode
+	# installs two separate .desktop files, one for launching with wayland
+	# support and one for launching without. We will do the same here.
+
+	# Create a copy of upstream's .desktop
+	cp usr/share/applications/obsidian.desktop \
+		usr/share/applications/obsidian-wayland.desktop \
+		|| die "failed to create obsidian-wayland.desktop file"
+
+	# Edit the Exec & Name
+	sed -i \
+		'
+			# Add Electron ozone enable flags to obsidian execution
+			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
+
+			# Give this .desktop file a new name/desc of "Obsidian Wayland"
+			/^Name/s/$/ Wayland/
+
+			# comment field
+			/^Comment/s/$/ with Wayland support enabled/
+		' \
+		'usr/share/applications/obsidian-wayland.desktop' ||
+		die "sed failed for obsidian-wayland.desktop file"
 }
 
 src_install() {
@@ -133,8 +160,19 @@ src_install() {
 	fi
 
 	domenu usr/share/applications/obsidian.desktop
+	domenu usr/share/applications/obsidian-wayland.desktop
 
 	for size in 16 32 48 64 128 256 512; do
 		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
 	done
 }
+
+pkg_postinst() {
+	ewarn "Some users have reported that running Obsidian with native Wayland"
+	ewarn "support causes the software to crash. Others have it working"
+	ewarn "without issue. See https://bugs.gentoo.org/915899"
+	ewarn ""
+	ewarn "This package now provides application entries for both Obsidian and"
+	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
+	ewarn "try the other Obsidian entry to launch with XWayland"
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2024-01-03  6:33 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2024-01-03  6:33 UTC (permalink / raw
  To: gentoo-commits

commit:     7cfe1b350b7d2e520d59eb4972ceadd2dab727b0
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Jan  3 06:31:25 2024 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Jan  3 06:31:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7cfe1b35

app-office/obsidian: add 1.5.3

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest              |   3 +
 app-office/obsidian/obsidian-1.5.3.ebuild | 178 ++++++++++++++++++++++++++++++
 2 files changed, 181 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 7d107d8af7..45ff8bf3e9 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -2,3 +2,6 @@ DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb
 DIST obsidian-1.4.16-amd64.tar.gz 99705807 BLAKE2B dd3297f3e81d096f0f480dbbda6b57f3a286643c3724232c65b64ff1cf2b26aa7df9290837da5e056095bf121b87a0d6cd6195de78ff4894a5f0d1b3c7c652da SHA512 ee51369c2067cc99b8c3351fc91f05e9b9edbc35f84d5c1bdcdab6c144fe95e8b4443d0223562fae595c53c23fc30abb4bf65f2f36e5b85d190009c49452ce0c
 DIST obsidian-1.4.16-arm64.tar.gz 100139135 BLAKE2B 2f49e5e6d3424c8c6bd617279da75c808744742ce5c27785b3856150023d0e514d09d9a315284b851d904886cac6499d00c8df98ab0a9eb72acc52bf5aa9b38a SHA512 140b3c26df79c95ed23d82b3b6859114f0ff74f9b92715e915b8b6b2733cb18d0233053ce4497ca0703a6cdb3df2d2f22110ca873720fb66e4e7e248efcd89dc
 DIST obsidian-1.4.16.gh.deb 73362498 BLAKE2B 15a2631dc22f8833fe79166ed09f5da9013a89ba9f28acd8bb819a75b3ed2393162fab070ea810257224b6d0ef30e439b831c63d198c1a941587f8254a461b33 SHA512 3b691188a05e20e0d1792a6b135076d3dabe33106e541ae4614703fdea44bcb64fc52bbd62808325c381f28348e37cbde0e3d072e4e1b077fb2b9728c43edb05
+DIST obsidian-1.5.3-amd64.tar.gz 99822395 BLAKE2B 03743ac61135f8139ce6e0e0a30335415e0af1f6402a62679ec69c832a7c2305ee998c64f584125eab99a82295e8cd16cef237f9f97370ec180069dafd3bc58e SHA512 8da9329175d7cc7947186ab839621d6043cc4a9eac11335c7f234267c1e5804c21d2241121868664ca70435d124a7c242bc46ed40585b9bdd1c55009672f3390
+DIST obsidian-1.5.3-arm64.tar.gz 100258718 BLAKE2B c99c78e48db61bf89e0c6a27cc454ab1a1ceca95b71a82ab3b8933c5413dd87ec7dd5bd847ab95353978d80f4da39a955c4114ed94aa18d621a5a6083321857f SHA512 d429904af6bd46a06250cf3ace5fb9ff2ddf0d8b4765eb94a3a4ae4183fe6af79d0b76edf5fa496441d266df842a3c332a7e975b1ef6761cf4b98ad0b63942de
+DIST obsidian-1.5.3.gh.deb 73415050 BLAKE2B 10a0ea6eabfd4d00bb33e2cc9a6b5f28df3ca7cea2a33cf27895b74805dd25e0eb3ac342b7d80dcb741e18a9f263ca5fc200433006c8bc4253f12ce78d235e7c SHA512 1d60cd8c1c0f1eff3f8937a4a3117b13fadbc0311a4c490510262e4335927bd4826e895cbefdaf2e1172f45a39608cf102dc1c950c384a3015c387ebe2fb26cf

diff --git a/app-office/obsidian/obsidian-1.5.3.ebuild b/app-office/obsidian/obsidian-1.5.3.ebuild
new file mode 100644
index 0000000000..8baafd637c
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.5.3.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+inherit chromium-2 desktop linux-info unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+
+# For some reason, the main binary tarballs don't include the .desktop file or
+# icon. The .deb does. One would hope then, that we could just download the .deb
+# for each arch, but they only generate a .deb for amd64. Maybe we can get them
+# to fix this, but in the meantime, we download the .deb purely to get the
+# .desktop file and app icon out of it.
+SRC_URI="
+	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
+	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
+"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="Obsidian-EULA"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="appindicator"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-apps/util-linux
+	sys-libs/glibc
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXScrnSaver
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libxshmfence
+	x11-libs/pango
+	appindicator? ( dev-libs/libayatana-appindicator )
+"
+
+DIR="/opt/${PN^}"
+
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+set_obsidian_src_dir() {
+	if use amd64; then
+		S_OBSIDIAN="${WORKDIR}/${P}"
+	elif use arm64; then
+		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
+	else
+		die "Obsidian only supports amd64 and arm64"
+	fi
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	# cleanup languages
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
+	chromium_remove_language_paks
+	popd >/dev/null || die "location reset for language cleanup failed"
+
+	# Create separate .desktop file for launching Obsidian with native wayland
+	# support.
+	#
+	# Obsidian is an Electron app, and Electron can be instructed to run in
+	# native-wayland mode by turning on the Ozone platform. However, doing this
+	# causes Obsidian to crash on some users' systems, while it works fine for
+	# others. (see https://bugs.gentoo.org/915899)
+	#
+	# It appears VSCode may have encountered a similar issue, because VSCode
+	# installs two separate .desktop files, one for launching with wayland
+	# support and one for launching without. We will do the same here.
+
+	# Create a copy of upstream's .desktop
+	cp usr/share/applications/obsidian.desktop \
+		usr/share/applications/obsidian-wayland.desktop \
+		|| die "failed to create obsidian-wayland.desktop file"
+
+	# Edit the Exec & Name
+	sed -i \
+		'
+			# Add Electron ozone enable flags to obsidian execution
+			/Exec/s/obsidian /obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations /
+
+			# Give this .desktop file a new name/desc of "Obsidian Wayland"
+			/^Name/s/$/ Wayland/
+
+			# comment field
+			/^Comment/s/$/ with Wayland support enabled/
+		' \
+		'usr/share/applications/obsidian-wayland.desktop' ||
+		die "sed failed for obsidian-wayland.desktop file"
+}
+
+src_install() {
+	insinto "${DIR}"
+	exeinto "${DIR}"
+
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
+
+	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin vk_swiftshader_icd.json
+	insopts -m0755
+	doins -r locales resources
+
+	# Chrome-sandbox requires the setuid bit to be specifically set.
+	# see https://github.com/electron/electron/issues/17972
+	fowners root "${DIR}/chrome-sandbox"
+	fperms 4711 "${DIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	popd >/dev/null || die "location reset for main install failed"
+
+	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
+
+	if use appindicator; then
+		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
+	fi
+
+	domenu usr/share/applications/obsidian.desktop
+	domenu usr/share/applications/obsidian-wayland.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+}
+
+pkg_postinst() {
+	ewarn "Some users have reported that running Obsidian with native Wayland"
+	ewarn "support causes the software to crash. Others have it working"
+	ewarn "without issue. See https://bugs.gentoo.org/915899"
+	ewarn ""
+	ewarn "This package now provides application entries for both Obsidian and"
+	ewarn "Obsidian Wayland. If Obsidian Wayland breaks for you under Wayland,"
+	ewarn "try the other Obsidian entry to launch with XWayland"
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-10-17  2:38 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2023-10-17  2:38 UTC (permalink / raw
  To: gentoo-commits

commit:     5726929221c6380249acc647279accc34da1e834
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Tue Oct 17 02:38:09 2023 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Tue Oct 17 02:38:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57269292

app-office/obsidian: add 1.4.16, drop 1.4.14

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest                                        | 6 +++---
 .../obsidian/{obsidian-1.4.14.ebuild => obsidian-1.4.16.ebuild}     | 0
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index b2b906e234..7d107d8af7 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,4 +1,4 @@
 DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe
-DIST obsidian-1.4.14-amd64.tar.gz 99705283 BLAKE2B d8fc907cfda7acbd707a4ed2fb4ca6c96a2d98b98924249320925eca41511414211ac9a88515db575e1c7ab723ca45679644e251822ca5604d94ec7fae7574e5 SHA512 45f8d9cac7481612fbb98a3f31eb1ec1ad30fe0c888790c43065e19b7f5043b7fafe21929b14399102193457dcdce7b3a4199934c78d783cb6cd6247f47336da
-DIST obsidian-1.4.14-arm64.tar.gz 100139051 BLAKE2B 5fe93a8c5790dd5bdcadae90bb1ff73f645aa786b41f10d04ca73776d06d3addcb431d829f1f2ef75a5ee219511062b3cf4b82c5e7680c148e5509d67f0b65a9 SHA512 2c0ac5fe11ea82deb3013534d8f78d23fd9f5e94444b349abbd0c8ee3e914ff7832569018ca5c3897844521a132b02db13220d287a60ccb9935b7abf54f9962f
-DIST obsidian-1.4.14.gh.deb 73334984 BLAKE2B d90b619b485c4de820f47f18ce41ee47ce2c73ea085aa05eae82ba99a10cf1e197f3e0cfcc1d76e7b24ba07dfe0184bd0bdcfc7006a455d99ddfcbdf9d7386eb SHA512 0630f64e0e1e2c6b1346987de9998cad95a5789fced9517fa5cd2320ffc992d2d52f75e540e842fceab2845f4198314f7006d9c80e30d2cc1e9188087b0c8fc3
+DIST obsidian-1.4.16-amd64.tar.gz 99705807 BLAKE2B dd3297f3e81d096f0f480dbbda6b57f3a286643c3724232c65b64ff1cf2b26aa7df9290837da5e056095bf121b87a0d6cd6195de78ff4894a5f0d1b3c7c652da SHA512 ee51369c2067cc99b8c3351fc91f05e9b9edbc35f84d5c1bdcdab6c144fe95e8b4443d0223562fae595c53c23fc30abb4bf65f2f36e5b85d190009c49452ce0c
+DIST obsidian-1.4.16-arm64.tar.gz 100139135 BLAKE2B 2f49e5e6d3424c8c6bd617279da75c808744742ce5c27785b3856150023d0e514d09d9a315284b851d904886cac6499d00c8df98ab0a9eb72acc52bf5aa9b38a SHA512 140b3c26df79c95ed23d82b3b6859114f0ff74f9b92715e915b8b6b2733cb18d0233053ce4497ca0703a6cdb3df2d2f22110ca873720fb66e4e7e248efcd89dc
+DIST obsidian-1.4.16.gh.deb 73362498 BLAKE2B 15a2631dc22f8833fe79166ed09f5da9013a89ba9f28acd8bb819a75b3ed2393162fab070ea810257224b6d0ef30e439b831c63d198c1a941587f8254a461b33 SHA512 3b691188a05e20e0d1792a6b135076d3dabe33106e541ae4614703fdea44bcb64fc52bbd62808325c381f28348e37cbde0e3d072e4e1b077fb2b9728c43edb05

diff --git a/app-office/obsidian/obsidian-1.4.14.ebuild b/app-office/obsidian/obsidian-1.4.16.ebuild
similarity index 100%
rename from app-office/obsidian/obsidian-1.4.14.ebuild
rename to app-office/obsidian/obsidian-1.4.16.ebuild


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-office/obsidian/
@ 2023-09-28 15:54 David Roman
  2023-09-28 15:54 ` [gentoo-commits] repo/proj/guru:dev " David Roman
  0 siblings, 1 reply; 28+ messages in thread
From: David Roman @ 2023-09-28 15:54 UTC (permalink / raw
  To: gentoo-commits

commit:     c675ea6000acc4d99cbcff59eda0a6e327b9ca22
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Sep 28 15:53:14 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Sep 28 15:53:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c675ea60

app-office/obsidian: update Manifest

Needed because upstream:
"Re-built a couple of hours after the original release
due to the original one using the wrong Electron version."

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 app-office/obsidian/Manifest | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 900ce9f46e..b2b906e234 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,4 +1,4 @@
 DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe
-DIST obsidian-1.4.14-amd64.tar.gz 99705062 BLAKE2B a109422aa9ed39715e8b5da469e1dffbbdda7a1d135060a4c9129c3acd3e10b4db8dd4a3a3d281556e6d9836250bfa434c78cfeb5cd87306511d165a18ce788e SHA512 d132e209ca013254aa9ff034bc20b36afc1df5f2c45395480e159f8870d2b7d5239ee42c8e193d98bbfe47c1546ad95963d06addbe4d67797a8cf6b604b81088
-DIST obsidian-1.4.14-arm64.tar.gz 100135969 BLAKE2B 2f5932efd65ae3f684578718d07c7fcd8af6a633fcac3046fa1476ec6307085185b0f50605890f2b618e8076bec658622554d2278c6408a34ac43ca4b283707a SHA512 f4b38346e21db40cf99c6983913c92ab83d170a28c3461794e6d3b52ff547f3ddbbb4562b24edc0728ec6daf5fbbd0d3e2450c15cfbd3fcacaa752cf2d03b1ed
-DIST obsidian-1.4.14.gh.deb 73337570 BLAKE2B a4e7278e637b8e98904a057e07f57ff63a97f7dcdc536de99685435fff92d107da40597e5b27f5fae5cda7b9e383b9489821ff4501b274050f927ab60d018c23 SHA512 d0af112035f00efe1811f9235bd6d5eee9d3923e757f0c7707ce857e7a026579680da65c199720ad6290d5228d1b1aa1c267ac9728dc143e15628cc42b8180cd
+DIST obsidian-1.4.14-amd64.tar.gz 99705283 BLAKE2B d8fc907cfda7acbd707a4ed2fb4ca6c96a2d98b98924249320925eca41511414211ac9a88515db575e1c7ab723ca45679644e251822ca5604d94ec7fae7574e5 SHA512 45f8d9cac7481612fbb98a3f31eb1ec1ad30fe0c888790c43065e19b7f5043b7fafe21929b14399102193457dcdce7b3a4199934c78d783cb6cd6247f47336da
+DIST obsidian-1.4.14-arm64.tar.gz 100139051 BLAKE2B 5fe93a8c5790dd5bdcadae90bb1ff73f645aa786b41f10d04ca73776d06d3addcb431d829f1f2ef75a5ee219511062b3cf4b82c5e7680c148e5509d67f0b65a9 SHA512 2c0ac5fe11ea82deb3013534d8f78d23fd9f5e94444b349abbd0c8ee3e914ff7832569018ca5c3897844521a132b02db13220d287a60ccb9935b7abf54f9962f
+DIST obsidian-1.4.14.gh.deb 73334984 BLAKE2B d90b619b485c4de820f47f18ce41ee47ce2c73ea085aa05eae82ba99a10cf1e197f3e0cfcc1d76e7b24ba07dfe0184bd0bdcfc7006a455d99ddfcbdf9d7386eb SHA512 0630f64e0e1e2c6b1346987de9998cad95a5789fced9517fa5cd2320ffc992d2d52f75e540e842fceab2845f4198314f7006d9c80e30d2cc1e9188087b0c8fc3


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-09-27  5:33 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2023-09-27  5:33 UTC (permalink / raw
  To: gentoo-commits

commit:     29eefd19816483d4d6f02754e37a9a49ce29f2ed
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Wed Sep 27 05:33:05 2023 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Wed Sep 27 05:33:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29eefd19

app-office/obsidian: add 1.4.14, drop 1.4.13

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest                                        | 6 +++---
 .../obsidian/{obsidian-1.4.13.ebuild => obsidian-1.4.14.ebuild}     | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 14b37904a9..900ce9f46e 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,4 +1,4 @@
 DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe
-DIST obsidian-1.4.13-amd64.tar.gz 99706160 BLAKE2B 3da6f0c2422bd6c8af611ccfe8f52a1a07ad1985a96c3e23a26daaa98d5cff67c137cba7eefa1b59f7d459888d12af4a00331f0cc184d980c316186ed4d6b1a2 SHA512 20b0fdba156bf4dac46e4bd3ddb49dedf005612bcb3687bb5da2cc5c2a8cafc9f43fa911488441adf9ee3c4e65d78158ca22665837894ca50e319774c22742b9
-DIST obsidian-1.4.13-arm64.tar.gz 100139943 BLAKE2B e132df95e4cc8f282fd0c8c81f4fc4a2642a325d0c203d774ee14e6f32a28b2c0c0b7346647e5eb42a0a125a5e74bf4fa8662c473436f79edc9ebd83939616c2 SHA512 046be9f527f4de1070b4bcbd9d3a89e484f55e7e065fd69cb5e8581b8fda4a23db05fba1b5b46af9cc1ff2c520bd5bfd565143bdf5cc7d17cd46d60fcf2fa3da
-DIST obsidian-1.4.13.gh.deb 73357626 BLAKE2B d9e8623781b9777eeb9ff24267bfe5aefd02dd6a450063983f12f596c3fb713b3316bb25e4d040939939e554233718f90e4bb00c43b0f153625d922824df2146 SHA512 18806df0d5a77d99a044e2b365133fd6c719289505323e3c8c5555141532e6b5abedd6d45f882562368a4400bdd251e6afb964b68975a88c22bcf906f7885e4d
+DIST obsidian-1.4.14-amd64.tar.gz 99705062 BLAKE2B a109422aa9ed39715e8b5da469e1dffbbdda7a1d135060a4c9129c3acd3e10b4db8dd4a3a3d281556e6d9836250bfa434c78cfeb5cd87306511d165a18ce788e SHA512 d132e209ca013254aa9ff034bc20b36afc1df5f2c45395480e159f8870d2b7d5239ee42c8e193d98bbfe47c1546ad95963d06addbe4d67797a8cf6b604b81088
+DIST obsidian-1.4.14-arm64.tar.gz 100135969 BLAKE2B 2f5932efd65ae3f684578718d07c7fcd8af6a633fcac3046fa1476ec6307085185b0f50605890f2b618e8076bec658622554d2278c6408a34ac43ca4b283707a SHA512 f4b38346e21db40cf99c6983913c92ab83d170a28c3461794e6d3b52ff547f3ddbbb4562b24edc0728ec6daf5fbbd0d3e2450c15cfbd3fcacaa752cf2d03b1ed
+DIST obsidian-1.4.14.gh.deb 73337570 BLAKE2B a4e7278e637b8e98904a057e07f57ff63a97f7dcdc536de99685435fff92d107da40597e5b27f5fae5cda7b9e383b9489821ff4501b274050f927ab60d018c23 SHA512 d0af112035f00efe1811f9235bd6d5eee9d3923e757f0c7707ce857e7a026579680da65c199720ad6290d5228d1b1aa1c267ac9728dc143e15628cc42b8180cd

diff --git a/app-office/obsidian/obsidian-1.4.13.ebuild b/app-office/obsidian/obsidian-1.4.14.ebuild
similarity index 99%
rename from app-office/obsidian/obsidian-1.4.13.ebuild
rename to app-office/obsidian/obsidian-1.4.14.ebuild
index 47c9e43c29..b07d924ffa 100644
--- a/app-office/obsidian/obsidian-1.4.13.ebuild
+++ b/app-office/obsidian/obsidian-1.4.14.ebuild
@@ -23,7 +23,6 @@ SRC_URI="
 	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
 	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
 	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
-
 "
 
 RESTRICT="mirror strip bindist"


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-09-25  5:44 Artemis Everfree
  0 siblings, 0 replies; 28+ messages in thread
From: Artemis Everfree @ 2023-09-25  5:44 UTC (permalink / raw
  To: gentoo-commits

commit:     9cc92f8562ead72cbe77fa19278e6081aeefe56b
Author:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
AuthorDate: Mon Sep 25 05:41:28 2023 +0000
Commit:     Artemis Everfree <artemis <AT> artemis <DOT> sh>
CommitDate: Mon Sep 25 05:43:48 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cc92f85

app-office/obsidian: add 1.4.13, drop 1.2.8

Signed-off-by: Artemis Everfree <artemis <AT> artemis.sh>

 app-office/obsidian/Manifest               |   4 +-
 app-office/obsidian/obsidian-1.2.8.ebuild  |  68 --------------
 app-office/obsidian/obsidian-1.4.13.ebuild | 141 +++++++++++++++++++++++++++++
 3 files changed, 144 insertions(+), 69 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 6ef1a42022..14b37904a9 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,2 +1,4 @@
-DIST obsidian-1.2.8.gh.deb 71750440 BLAKE2B ea3194205dae9d9e9a3575cfc3a77db7932be02d3ca07df9e3de56346c7bae2ee66d67a4861896506bd80245b54966fdfabbc511973ef491b115fd4cfa7d5d2a SHA512 514706b51908355317982324391e115df1a24ba29a94a177ae465c83b45d239f59c97cac6a26c72b1705a2d7a74bba71f3869ae4170798840556c8324d8eaba3
 DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe
+DIST obsidian-1.4.13-amd64.tar.gz 99706160 BLAKE2B 3da6f0c2422bd6c8af611ccfe8f52a1a07ad1985a96c3e23a26daaa98d5cff67c137cba7eefa1b59f7d459888d12af4a00331f0cc184d980c316186ed4d6b1a2 SHA512 20b0fdba156bf4dac46e4bd3ddb49dedf005612bcb3687bb5da2cc5c2a8cafc9f43fa911488441adf9ee3c4e65d78158ca22665837894ca50e319774c22742b9
+DIST obsidian-1.4.13-arm64.tar.gz 100139943 BLAKE2B e132df95e4cc8f282fd0c8c81f4fc4a2642a325d0c203d774ee14e6f32a28b2c0c0b7346647e5eb42a0a125a5e74bf4fa8662c473436f79edc9ebd83939616c2 SHA512 046be9f527f4de1070b4bcbd9d3a89e484f55e7e065fd69cb5e8581b8fda4a23db05fba1b5b46af9cc1ff2c520bd5bfd565143bdf5cc7d17cd46d60fcf2fa3da
+DIST obsidian-1.4.13.gh.deb 73357626 BLAKE2B d9e8623781b9777eeb9ff24267bfe5aefd02dd6a450063983f12f596c3fb713b3316bb25e4d040939939e554233718f90e4bb00c43b0f153625d922824df2146 SHA512 18806df0d5a77d99a044e2b365133fd6c719289505323e3c8c5555141532e6b5abedd6d45f882562368a4400bdd251e6afb964b68975a88c22bcf906f7885e4d

diff --git a/app-office/obsidian/obsidian-1.2.8.ebuild b/app-office/obsidian/obsidian-1.2.8.ebuild
deleted file mode 100644
index 7c6ac6f333..0000000000
--- a/app-office/obsidian/obsidian-1.2.8.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md/"
-SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb"
-
-LICENSE="Obsidian-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="app-accessibility/at-spi2-core:2
-	dev-libs/expat
-	dev-libs/glib:2
-	dev-libs/nspr
-	dev-libs/nss
-	media-libs/alsa-lib
-	media-libs/fontconfig
-	media-libs/mesa
-	net-print/cups
-	sys-apps/dbus
-	x11-libs/cairo
-	x11-libs/gtk+:3
-	x11-libs/libX11
-	x11-libs/libXcomposite
-	x11-libs/libXdamage
-	x11-libs/libXext
-	x11-libs/libXfixes
-	x11-libs/libXrandr
-	x11-libs/libdrm
-	x11-libs/libxcb
-	x11-libs/libxkbcommon
-	x11-libs/pango
-"
-
-DIR="/opt/${PN^}"
-S="${WORKDIR}"
-
-QA_PREBUILT="${DIR#/}/chrome-sandbox
-	${DIR#/}/chrome_crashpad_handler
-	${DIR#/}/libGLESv2.so
-	${DIR#/}/libEGL.so
-	${DIR#/}/libffmpeg.so
-	${DIR#/}/libvk_swiftshader.so
-	${DIR#/}/libvulkan.so.1
-	${DIR#/}/obsidian
-	${DIR#/}/resources/app.asar.unpacked/node_modules/*
-"
-
-src_install() {
-	insinto ${DIR}
-	doins -r ${DIR#/}/*
-
-	domenu usr/share/applications/obsidian.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
-	done
-
-	fperms 4755 ${DIR}/chrome-sandbox
-	fperms +x  ${DIR}/obsidian
-
-	dosym -r ${DIR}/obsidian /usr/bin/obsidian
-}

diff --git a/app-office/obsidian/obsidian-1.4.13.ebuild b/app-office/obsidian/obsidian-1.4.13.ebuild
new file mode 100644
index 0000000000..47c9e43c29
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.4.13.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="102"
+CHROMIUM_LANGS="
+	af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk ur vi zh-CN zh-TW
+"
+inherit chromium-2 desktop linux-info unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+
+# For some reason, the main binary tarballs don't include the .desktop file or
+# icon. The .deb does. One would hope then, that we could just download the .deb
+# for each arch, but they only generate a .deb for amd64. Maybe we can get them
+# to fix this, but in the meantime, we download the .deb purely to get the
+# .desktop file and app icon out of it.
+SRC_URI="
+	https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb
+	amd64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}.tar.gz -> ${P}-amd64.tar.gz )
+	arm64? ( https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P}-arm64.tar.gz )
+
+"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="Obsidian-EULA"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="appindicator wayland"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa[gbm(+)]
+	net-print/cups
+	sys-apps/dbus
+	sys-apps/util-linux
+	sys-libs/glibc
+	x11-libs/cairo
+	x11-libs/libdrm
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXScrnSaver
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/libxshmfence
+	x11-libs/pango
+	appindicator? ( dev-libs/libayatana-appindicator )
+"
+
+DIR="/opt/${PN^}"
+
+# deb gets extracted to WORKDIR. actual program gets extracted to its own dir
+# which depends on CPU arch.
+S="${WORKDIR}"
+
+QA_PREBUILT="*"
+
+CONFIG_CHECK="~USER_NS"
+
+set_obsidian_src_dir() {
+	if use amd64; then
+		S_OBSIDIAN="${WORKDIR}/${P}"
+	elif use arm64; then
+		S_OBSIDIAN="${WORKDIR}/${P}-arm64"
+	else
+		die "Obsidian only supports amd64 and arm64"
+	fi
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	# cleanup languages
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}/locales/" >/dev/null || die "location change for language cleanup failed"
+	chromium_remove_language_paks
+	popd >/dev/null || die "location reset for language cleanup failed"
+	if use wayland; then
+		sed -i '/Exec/s/obsidian/obsidian --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations/' \
+			"usr/share/applications/obsidian.desktop" ||
+			die "sed failed for wayland"
+	fi
+}
+
+src_install() {
+	insinto "${DIR}"
+	exeinto "${DIR}"
+
+	set_obsidian_src_dir
+	pushd "${S_OBSIDIAN}" >/dev/null || die "location change for main install failed"
+
+	doexe obsidian chrome-sandbox libEGL.so libffmpeg.so libGLESv2.so libvk_swiftshader.so libvulkan.so.1
+	doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin \
+		v8_context_snapshot.bin vk_swiftshader_icd.json
+	insopts -m0755
+	doins -r locales resources
+
+	# Chrome-sandbox requires the setuid bit to be specifically set.
+	# see https://github.com/electron/electron/issues/17972
+	fowners root "${DIR}/chrome-sandbox"
+	fperms 4711 "${DIR}/chrome-sandbox"
+
+	[[ -x chrome_crashpad_handler ]] && doins chrome_crashpad_handler
+
+	popd >/dev/null || die "location reset for main install failed"
+
+	dosym "${DIR}/obsidian" "/usr/bin/obsidian"
+
+	if use appindicator; then
+		dosym ../../usr/lib64/libayatana-appindicator3.so "${DIR}/libappindicator3.so"
+	fi
+
+	domenu usr/share/applications/obsidian.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-07-13  9:37 David Roman
  0 siblings, 0 replies; 28+ messages in thread
From: David Roman @ 2023-07-13  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e1d9d5b1cda59af6b7d0af82b640e44cb9bc771d
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Jul 13 09:37:49 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Jul 13 09:37:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1d9d5b1

app-office/obsidian: add 1.3.5

Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 app-office/obsidian/Manifest              |  1 +
 app-office/obsidian/obsidian-1.3.5.ebuild | 68 +++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index c8728ad42..6ef1a4202 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1 +1,2 @@
 DIST obsidian-1.2.8.gh.deb 71750440 BLAKE2B ea3194205dae9d9e9a3575cfc3a77db7932be02d3ca07df9e3de56346c7bae2ee66d67a4861896506bd80245b54966fdfabbc511973ef491b115fd4cfa7d5d2a SHA512 514706b51908355317982324391e115df1a24ba29a94a177ae465c83b45d239f59c97cac6a26c72b1705a2d7a74bba71f3869ae4170798840556c8324d8eaba3
+DIST obsidian-1.3.5.gh.deb 72916766 BLAKE2B d44e9f8db6fc55e6dc7096b2a9bbcb2d68fb3a0eca06028cd0a9bbc7470dc98a05501ca3f81d15197da389f882167ce134b824961684bc8567ea7fa95907e4af SHA512 2047450ab04179be4c95e33fa35731700dbe5961795b8f11dda5410fdbc199486161a6a7abfcc1a3f555f352d014ac3515d1eeb5da984da4f0cdd4adf0e51bbe

diff --git a/app-office/obsidian/obsidian-1.3.5.ebuild b/app-office/obsidian/obsidian-1.3.5.ebuild
new file mode 100644
index 000000000..7c6ac6f33
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.3.5.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb"
+
+LICENSE="Obsidian-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-accessibility/at-spi2-core:2
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa
+	net-print/cups
+	sys-apps/dbus
+	x11-libs/cairo
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libdrm
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/pango
+"
+
+DIR="/opt/${PN^}"
+S="${WORKDIR}"
+
+QA_PREBUILT="${DIR#/}/chrome-sandbox
+	${DIR#/}/chrome_crashpad_handler
+	${DIR#/}/libGLESv2.so
+	${DIR#/}/libEGL.so
+	${DIR#/}/libffmpeg.so
+	${DIR#/}/libvk_swiftshader.so
+	${DIR#/}/libvulkan.so.1
+	${DIR#/}/obsidian
+	${DIR#/}/resources/app.asar.unpacked/node_modules/*
+"
+
+src_install() {
+	insinto ${DIR}
+	doins -r ${DIR#/}/*
+
+	domenu usr/share/applications/obsidian.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+
+	fperms 4755 ${DIR}/chrome-sandbox
+	fperms +x  ${DIR}/obsidian
+
+	dosym -r ${DIR}/obsidian /usr/bin/obsidian
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-05-27 17:08 Rahul Sandhu
  0 siblings, 0 replies; 28+ messages in thread
From: Rahul Sandhu @ 2023-05-27 17:08 UTC (permalink / raw
  To: gentoo-commits

commit:     8def58259c4c8b6203a83c5626331a1c884bdaf3
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Sat May 27 17:07:47 2023 +0000
Commit:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
CommitDate: Sat May 27 17:07:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8def5825

app-office/obsidian: fix leading whitespace

Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>

 app-office/obsidian/obsidian-1.2.8.ebuild | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/app-office/obsidian/obsidian-1.2.8.ebuild b/app-office/obsidian/obsidian-1.2.8.ebuild
index 62932b991..7c6ac6f33 100644
--- a/app-office/obsidian/obsidian-1.2.8.ebuild
+++ b/app-office/obsidian/obsidian-1.2.8.ebuild
@@ -41,14 +41,14 @@ DIR="/opt/${PN^}"
 S="${WORKDIR}"
 
 QA_PREBUILT="${DIR#/}/chrome-sandbox
-   ${DIR#/}/chrome_crashpad_handler
-   ${DIR#/}/libGLESv2.so
-   ${DIR#/}/libEGL.so
-   ${DIR#/}/libffmpeg.so
-   ${DIR#/}/libvk_swiftshader.so
-   ${DIR#/}/libvulkan.so.1
-   ${DIR#/}/obsidian
-   ${DIR#/}/resources/app.asar.unpacked/node_modules/*
+	${DIR#/}/chrome_crashpad_handler
+	${DIR#/}/libGLESv2.so
+	${DIR#/}/libEGL.so
+	${DIR#/}/libffmpeg.so
+	${DIR#/}/libvk_swiftshader.so
+	${DIR#/}/libvulkan.so.1
+	${DIR#/}/obsidian
+	${DIR#/}/resources/app.asar.unpacked/node_modules/*
 "
 
 src_install() {


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-05-18  1:51 Lucio Sauer
  0 siblings, 0 replies; 28+ messages in thread
From: Lucio Sauer @ 2023-05-18  1:51 UTC (permalink / raw
  To: gentoo-commits

commit:     e56c761fe2841d02ea2b6ec088548faf081dd5a7
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu May 18 01:49:57 2023 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu May 18 01:49:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e56c761f

app-office/obsidian: drop 1.1.16

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-office/obsidian/Manifest               |  1 -
 app-office/obsidian/obsidian-1.1.16.ebuild | 32 ------------------------------
 2 files changed, 33 deletions(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 4dae9fadf..c8728ad42 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1,2 +1 @@
 DIST obsidian-1.2.8.gh.deb 71750440 BLAKE2B ea3194205dae9d9e9a3575cfc3a77db7932be02d3ca07df9e3de56346c7bae2ee66d67a4861896506bd80245b54966fdfabbc511973ef491b115fd4cfa7d5d2a SHA512 514706b51908355317982324391e115df1a24ba29a94a177ae465c83b45d239f59c97cac6a26c72b1705a2d7a74bba71f3869ae4170798840556c8324d8eaba3
-DIST obsidian_1.1.16_amd64.deb 69117356 BLAKE2B 3ae0d9bd36e2048ff55e0a8757668e7e8b4de43dd3c658d263345181030f89bcbb3ddb005c317c432771f8d4f38185693ea30206e579612b99fde3c761b31352 SHA512 09f203890b1a445051dd4f7a18584a78b30e6083101ec660b63dff01ab4b6c2ab57fb2665e36cd4ddf5534f31afbb32bb9fd718dc76df5778b11038a09c0170f

diff --git a/app-office/obsidian/obsidian-1.1.16.ebuild b/app-office/obsidian/obsidian-1.1.16.ebuild
deleted file mode 100644
index db9d93c65..000000000
--- a/app-office/obsidian/obsidian-1.1.16.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop unpacker xdg
-
-DESCRIPTION="A second brain, for you, forever."
-HOMEPAGE="https://obsidian.md"
-SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
-
-LICENSE="Obsidian-EULA"
-SLOT="0"
-KEYWORDS="~amd64"
-
-S="${WORKDIR}"
-
-src_install() {
-	insinto /opt/Obsidian
-	doins -r opt/Obsidian/*
-
-	domenu usr/share/applications/obsidian.desktop
-
-	for size in 16 32 48 64 128 256 512; do
-		doicon --size "${size}" "usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png"
-	done
-
-	fperms 4755 /opt/Obsidian/chrome-sandbox || die
-	fperms +x  /opt/Obsidian/obsidian || die
-
-	dosym ../../opt/Obsidian/obsidian /usr/bin/obsidian
-}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-05-18  1:46 Lucio Sauer
  0 siblings, 0 replies; 28+ messages in thread
From: Lucio Sauer @ 2023-05-18  1:46 UTC (permalink / raw
  To: gentoo-commits

commit:     6bb208f349e407f9f5335b61a924cc2fa18f6513
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu May 18 01:46:27 2023 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu May 18 01:46:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6bb208f3

app-office/obsidian: add 1.2.8

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 app-office/obsidian/Manifest              |  1 +
 app-office/obsidian/metadata.xml          |  3 +-
 app-office/obsidian/obsidian-1.2.8.ebuild | 68 +++++++++++++++++++++++++++++++
 3 files changed, 71 insertions(+), 1 deletion(-)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
index 9f265465d..4dae9fadf 100644
--- a/app-office/obsidian/Manifest
+++ b/app-office/obsidian/Manifest
@@ -1 +1,2 @@
+DIST obsidian-1.2.8.gh.deb 71750440 BLAKE2B ea3194205dae9d9e9a3575cfc3a77db7932be02d3ca07df9e3de56346c7bae2ee66d67a4861896506bd80245b54966fdfabbc511973ef491b115fd4cfa7d5d2a SHA512 514706b51908355317982324391e115df1a24ba29a94a177ae465c83b45d239f59c97cac6a26c72b1705a2d7a74bba71f3869ae4170798840556c8324d8eaba3
 DIST obsidian_1.1.16_amd64.deb 69117356 BLAKE2B 3ae0d9bd36e2048ff55e0a8757668e7e8b4de43dd3c658d263345181030f89bcbb3ddb005c317c432771f8d4f38185693ea30206e579612b99fde3c761b31352 SHA512 09f203890b1a445051dd4f7a18584a78b30e6083101ec660b63dff01ab4b6c2ab57fb2665e36cd4ddf5534f31afbb32bb9fd718dc76df5778b11038a09c0170f

diff --git a/app-office/obsidian/metadata.xml b/app-office/obsidian/metadata.xml
index 7b24a7996..ea4fe5bcb 100644
--- a/app-office/obsidian/metadata.xml
+++ b/app-office/obsidian/metadata.xml
@@ -5,7 +5,8 @@
 		<email>rahul@sandhuservices.dev</email>
 		<name>Rahul Sandhu</name>
 	</maintainer>
-	<longdescription lang="en">A second brain, for you, forever.</longdescription>
+	<longdescription lang="en">Obsidian is a powerful and extensible knowledge base
+that works on top of your local folder of plain text files.</longdescription>
 	<upstream>
 		<remote-id type="github">obsidianmd/obsidian-releases</remote-id>
 	</upstream>

diff --git a/app-office/obsidian/obsidian-1.2.8.ebuild b/app-office/obsidian/obsidian-1.2.8.ebuild
new file mode 100644
index 000000000..62932b991
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.2.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md/"
+SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${P/-/_}_amd64.deb -> ${P}.gh.deb"
+
+LICENSE="Obsidian-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-accessibility/at-spi2-core:2
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/mesa
+	net-print/cups
+	sys-apps/dbus
+	x11-libs/cairo
+	x11-libs/gtk+:3
+	x11-libs/libX11
+	x11-libs/libXcomposite
+	x11-libs/libXdamage
+	x11-libs/libXext
+	x11-libs/libXfixes
+	x11-libs/libXrandr
+	x11-libs/libdrm
+	x11-libs/libxcb
+	x11-libs/libxkbcommon
+	x11-libs/pango
+"
+
+DIR="/opt/${PN^}"
+S="${WORKDIR}"
+
+QA_PREBUILT="${DIR#/}/chrome-sandbox
+   ${DIR#/}/chrome_crashpad_handler
+   ${DIR#/}/libGLESv2.so
+   ${DIR#/}/libEGL.so
+   ${DIR#/}/libffmpeg.so
+   ${DIR#/}/libvk_swiftshader.so
+   ${DIR#/}/libvulkan.so.1
+   ${DIR#/}/obsidian
+   ${DIR#/}/resources/app.asar.unpacked/node_modules/*
+"
+
+src_install() {
+	insinto ${DIR}
+	doins -r ${DIR#/}/*
+
+	domenu usr/share/applications/obsidian.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
+	done
+
+	fperms 4755 ${DIR}/chrome-sandbox
+	fperms +x  ${DIR}/obsidian
+
+	dosym -r ${DIR}/obsidian /usr/bin/obsidian
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-04-16  9:13 Rahul Sandhu
  0 siblings, 0 replies; 28+ messages in thread
From: Rahul Sandhu @ 2023-04-16  9:13 UTC (permalink / raw
  To: gentoo-commits

commit:     832723cd4791c6bc4471cd7eaeaab57b90ff098e
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Sun Apr 16 09:13:40 2023 +0000
Commit:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
CommitDate: Sun Apr 16 09:13:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=832723cd

app-office/obsidian: add github upstream metadata

Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>

 app-office/obsidian/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-office/obsidian/metadata.xml b/app-office/obsidian/metadata.xml
index 6c1e2f683..7b24a7996 100644
--- a/app-office/obsidian/metadata.xml
+++ b/app-office/obsidian/metadata.xml
@@ -6,4 +6,7 @@
 		<name>Rahul Sandhu</name>
 	</maintainer>
 	<longdescription lang="en">A second brain, for you, forever.</longdescription>
+	<upstream>
+		<remote-id type="github">obsidianmd/obsidian-releases</remote-id>
+	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 28+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/
@ 2023-04-16  9:12 Rahul Sandhu
  0 siblings, 0 replies; 28+ messages in thread
From: Rahul Sandhu @ 2023-04-16  9:12 UTC (permalink / raw
  To: gentoo-commits

commit:     0a9316ef0ebc53300338b04925c6a163238fd532
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Sun Apr 16 09:12:10 2023 +0000
Commit:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
CommitDate: Sun Apr 16 09:12:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a9316ef

app-office/obsidian: new package, add 1.1.16

Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>

 app-office/obsidian/Manifest               |  1 +
 app-office/obsidian/metadata.xml           |  9 +++++++++
 app-office/obsidian/obsidian-1.1.16.ebuild | 32 ++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/app-office/obsidian/Manifest b/app-office/obsidian/Manifest
new file mode 100644
index 000000000..9f265465d
--- /dev/null
+++ b/app-office/obsidian/Manifest
@@ -0,0 +1 @@
+DIST obsidian_1.1.16_amd64.deb 69117356 BLAKE2B 3ae0d9bd36e2048ff55e0a8757668e7e8b4de43dd3c658d263345181030f89bcbb3ddb005c317c432771f8d4f38185693ea30206e579612b99fde3c761b31352 SHA512 09f203890b1a445051dd4f7a18584a78b30e6083101ec660b63dff01ab4b6c2ab57fb2665e36cd4ddf5534f31afbb32bb9fd718dc76df5778b11038a09c0170f

diff --git a/app-office/obsidian/metadata.xml b/app-office/obsidian/metadata.xml
new file mode 100644
index 000000000..6c1e2f683
--- /dev/null
+++ b/app-office/obsidian/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>rahul@sandhuservices.dev</email>
+		<name>Rahul Sandhu</name>
+	</maintainer>
+	<longdescription lang="en">A second brain, for you, forever.</longdescription>
+</pkgmetadata>

diff --git a/app-office/obsidian/obsidian-1.1.16.ebuild b/app-office/obsidian/obsidian-1.1.16.ebuild
new file mode 100644
index 000000000..db9d93c65
--- /dev/null
+++ b/app-office/obsidian/obsidian-1.1.16.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker xdg
+
+DESCRIPTION="A second brain, for you, forever."
+HOMEPAGE="https://obsidian.md"
+SRC_URI="https://github.com/obsidianmd/obsidian-releases/releases/download/v${PV}/${PN}_${PV}_amd64.deb"
+
+LICENSE="Obsidian-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}"
+
+src_install() {
+	insinto /opt/Obsidian
+	doins -r opt/Obsidian/*
+
+	domenu usr/share/applications/obsidian.desktop
+
+	for size in 16 32 48 64 128 256 512; do
+		doicon --size "${size}" "usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png"
+	done
+
+	fperms 4755 /opt/Obsidian/chrome-sandbox || die
+	fperms +x  /opt/Obsidian/obsidian || die
+
+	dosym ../../opt/Obsidian/obsidian /usr/bin/obsidian
+}


^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2024-11-26  0:38 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-25  5:44 [gentoo-commits] repo/proj/guru:dev commit in: app-office/obsidian/ Artemis Everfree
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  0:38 Julien Roy
2024-10-20  6:09 Artemis Everfree
2024-10-20  6:09 Artemis Everfree
2024-07-20  0:13 Artemis Everfree
2024-07-20  0:13 Artemis Everfree
2024-07-20  0:13 Artemis Everfree
2024-06-16  3:12 Artemis Everfree
2024-04-22  5:39 Artemis Everfree
2024-04-22  5:39 Artemis Everfree
2024-03-20  3:22 Artemis Everfree
2024-03-20  3:22 Artemis Everfree
2024-02-29  7:08 Artemis Everfree
2024-02-29  7:08 Artemis Everfree
2024-01-04 12:21 Artemis Everfree
2024-01-03  6:33 Artemis Everfree
2024-01-03  6:33 Artemis Everfree
2024-01-03  6:33 Artemis Everfree
2023-10-17  2:38 Artemis Everfree
2023-09-28 15:54 [gentoo-commits] repo/proj/guru:master " David Roman
2023-09-28 15:54 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2023-09-27  5:33 Artemis Everfree
2023-09-25  5:44 Artemis Everfree
2023-07-13  9:37 David Roman
2023-05-27 17:08 Rahul Sandhu
2023-05-18  1:51 Lucio Sauer
2023-05-18  1:46 Lucio Sauer
2023-04-16  9:13 Rahul Sandhu
2023-04-16  9:12 Rahul Sandhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox