Date: Wed, 19 Jun 2024 14:55:27 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 73df2607b7fc - main - textproc/obsidian: update to 1.5.12 Message-ID: <202406191455.45JEtRMC022448@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=73df2607b7fc75cfd54dd31b95d8dc6c4e5c8fef commit 73df2607b7fc75cfd54dd31b95d8dc6c4e5c8fef Author: Жунёва Мария Михайловна <zhunyova@mts.ru> AuthorDate: 2024-06-18 15:28:15 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-06-19 14:54:55 +0000 textproc/obsidian: update to 1.5.12 Sponsored by: Serenity Cybersecurity, LLC --- MOVED | 1 - textproc/Makefile | 1 + textproc/obsidian/Makefile | 43 ++++++++++++ textproc/obsidian/distinfo | 5 ++ .../files/md.obsidian.obsidian.appdata.xml | 51 ++++++++++++++ textproc/obsidian/files/obsidian.desktop | 10 +++ textproc/obsidian/files/obsidian.in | 14 ++++ textproc/obsidian/pkg-descr | 3 + textproc/obsidian/pkg-plist | 81 ++++++++++++++++++++++ 9 files changed, 208 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index 914ab2e57978..41411d5dbb4a 100644 --- a/MOVED +++ b/MOVED @@ -3313,7 +3313,6 @@ graphics/electricsheep||2024-06-15|Has expired: Broken for more than 6 months an www/apt-cacher-ng||2024-06-15|Has expired: Outdated and unsupported version, current version was released in 2020 and upstream is still active audio/taglookup||2024-06-15|Has expired: Obsolete, depends on legacy service that is defunct once again www/vieb||2024-06-15|Has expired: Outdated and depends on expired (and blacklisted) devel/electron25 -textproc/obsidian||2024-06-15|Has expired: Outdated and depends on expired (and blacklisted) devel/electron25 devel/electron25||2024-06-15|Has expired: EOLed upstream, switch to newer version devel/py-dj42-django-rq|devel/py-django-rq|2024-06-15|Has expired: Obsolete, please use devel/py-django-rq instead www/py-dj42-django-taggit|www/py-django-taggit|2024-06-15|Has expired: Obsolete, please use www/py-django-taggit instead diff --git a/textproc/Makefile b/textproc/Makefile index 44b66ecd5682..7727c0fc4d00 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -517,6 +517,7 @@ SUBDIR += nuspell SUBDIR += nux SUBDIR += ny-aspell + SUBDIR += obsidian SUBDIR += ocaml-csv SUBDIR += ocaml-expat SUBDIR += ocaml-text diff --git a/textproc/obsidian/Makefile b/textproc/obsidian/Makefile new file mode 100644 index 000000000000..83c941dbdc2f --- /dev/null +++ b/textproc/obsidian/Makefile @@ -0,0 +1,43 @@ +# This port will not be packaged by the official FreeBSD build cluster, because +# its license doesn't permit redistribution. +# +# To build this port locally with minimal effort use +# cd <PORTSDIR>/textproc/obsidian +# pkg install -A `make -V 'electron${ELECTRON_VERSION}'` +# make USE_PACKAGE_DEPENDS_ONLY=yes install clean + +PORTNAME= obsidian +PORTVERSION= 1.5.12 +CATEGORIES= textproc +# Icon is taken from the Nix build recipe +# https://github.com/NixOS/nixpkgs/blob/de5448dab588ad41aef40f8c7c0c230981656698/pkgs/applications/misc/obsidian/default.nix#L31-L34 +MASTER_SITES= https://github.com/obsidianmd/obsidian-releases/releases/download/v${PORTVERSION}/ \ + https://forum.obsidian.md/uploads/default/original/1X/:icon +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + bf119bd48f748f4fd2d65f2d1bb05d3c806883b5.png:icon +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Powerful and extensible knowledge base application +WWW= https://obsidian.md + +LICENSE= EULA +LICENSE_NAME= End User License Agreement +LICENSE_TEXT= See https://obsidian.md/terms +LICENSE_PERMS= + +USES= electronfix:28 + +ELECTRONFIX_MAIN_EXECUTABLE= obsidian +SUB_FILES= obsidian +NO_BUILD= yes + +do-install: + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKDIR}/obsidian ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${PATCHDIR}/obsidian.desktop ${STAGEDIR}${DESKTOPDIR}/obsidian.desktop + ${INSTALL_DATA} ${DISTDIR}/bf119bd48f748f4fd2d65f2d1bb05d3c806883b5.png ${STAGEDIR}${PREFIX}/share/pixmaps/obsidian.png + @${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo + ${INSTALL_DATA} ${FILESDIR}/md.obsidian.obsidian.appdata.xml ${STAGEDIR}${PREFIX}/share/metainfo/ + +.include <bsd.port.mk> diff --git a/textproc/obsidian/distinfo b/textproc/obsidian/distinfo new file mode 100644 index 000000000000..33c4f0388cb9 --- /dev/null +++ b/textproc/obsidian/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1716476107 +SHA256 (obsidian-1.5.12.tar.gz) = 5102e58cfede6442d3b87c17f8eca55d8f96cb660ad591095f52107c8bc12def +SIZE (obsidian-1.5.12.tar.gz) = 107180662 +SHA256 (bf119bd48f748f4fd2d65f2d1bb05d3c806883b5.png) = 4227a64156df4043395183dc7b9b23b809df79292d44c208e9649adcf7b2d4a3 +SIZE (bf119bd48f748f4fd2d65f2d1bb05d3c806883b5.png) = 11970 diff --git a/textproc/obsidian/files/md.obsidian.obsidian.appdata.xml b/textproc/obsidian/files/md.obsidian.obsidian.appdata.xml new file mode 100644 index 000000000000..8ff1331a5e86 --- /dev/null +++ b/textproc/obsidian/files/md.obsidian.obsidian.appdata.xml @@ -0,0 +1,51 @@ +<component type="desktop"> + <id>md.obsidian.obsidian</id> + <metadata_license>CC0-1.0</metadata_license> + <project_license>LicenseRef-EULA-1</project_license> + <name>Obsidian</name> + <name xml:lang="ru">Obsidian</name> + <summary>Application for creating notes and full-fledged knowledge bases</summary> + <summery xml:lang="ru">Приложение для создания заметок и полноценных баз знаний</summary> + <description> + <p>Obsidian helps teams and individual users store important information in the form of structured and interconnected data. Thanks to this, Obsidian allows users to quickly navigate through the data and find the necessary information.</p> + <p xml:lang="ru">Obsidian помогает командам и отдельным пользователям хранить важную информацию в виде структурированных и взаимосвязанных данных. Благодаря этому Obsidian позволяет пользователям быстро ориентироваться в данных и находить необходимую информацию.</p> + <p>Obsidian features:</p> + <p xml:lang="ru">Особенности Obsidian:</p> + <p>Creating documents using Markdown markup;</p> + <p xml:lang="ru">Создание документов с помощью разметки Markdown;</p> + <p>File attachment, images and video;</p> + <p xml:lang="ru">Вложение файлов, изображений и видео;</p> + <p>Storing documents on users' devices;</p> + <p xml:lang="ru">Хранение документов на устройствах пользователей;</p> + <p>Downloading and viewing Markdown files;</p> + <p xml:lang="ru">Загрузка и просмотр Markdown-файлов;</p> + <p>Visualization of connections between documents;</p> + <p xml:lang="ru">Визуализация связей между документами;</p> + <p>Loading documents from Evernote and Notion;</p> + <p xml:lang="ru">Выгрузка документов из Evernote и Notion;</p> + <p>Increasing functionality with plugins</p> + <p xml:lang="ru">Увеличение функциональности с помощью плагинов</p> + </description> + <url type="homepage">https://obsidian.md/</url> + <url type="help">https://help.obsidian.md/Home</url> + <screenshots> + <screenshot type="default"> + <caption>Interface</caption> + <caption xml:lang="ru">Интерфейс</caption> + <image>https://obsidian.md/images/screenshot-1.0-hero-combo.png</image> + </screenshot> + <screenshot type="default"> + <caption>History of changes</caption> + <caption xml:lang="ru">История изменений</caption> + <image>https://obsidian.md/images/sync-diff.png</image> + </screenshot> + <screenshot type="default"> + <caption>Сотрудничество</caption> + <caption xml:lang="ru">Совместная работа</caption> + <image>https://obsidian.md/images/sync-share.png</image> + </screenshot> + </screenshots> + <provides> + <binary>obsidian</binary> + </provides> +</component> diff --git a/textproc/obsidian/files/obsidian.desktop b/textproc/obsidian/files/obsidian.desktop new file mode 100644 index 000000000000..317f4a0fd9a2 --- /dev/null +++ b/textproc/obsidian/files/obsidian.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Obsidian +GenericName=Knowledge base +Comment=Knowledge base +Icon=obsidian +Exec=obsidian %u +Categories=Office; +MimeType=x-scheme-handler/obsidian diff --git a/textproc/obsidian/files/obsidian.in b/textproc/obsidian/files/obsidian.in new file mode 100644 index 000000000000..53de60edc6a8 --- /dev/null +++ b/textproc/obsidian/files/obsidian.in @@ -0,0 +1,14 @@ +#!/bin/sh + +# workaround Chromium bug https://bugs.chromium.org/p/chromium/issues/detail?id=918234 +if [ "$DBUS_SESSION_BUS_ADDRESS" = "" ]; then + export DBUS_SESSION_BUS_ADDRESS="autolaunch:" +fi + +# disable auto updater on first run +if [ ! -f $HOME/.config/obsidian/obsidian.json ]; then + mkdir -p $HOME/.config/obsidian/ + echo '{"updateDisabled":true}' > $HOME/.config/obsidian/obsidian.json +fi + +exec %%DATADIR%%/obsidian "$@" diff --git a/textproc/obsidian/pkg-descr b/textproc/obsidian/pkg-descr new file mode 100644 index 000000000000..8ee5a9f5c176 --- /dev/null +++ b/textproc/obsidian/pkg-descr @@ -0,0 +1,3 @@ +Obsidian is an Electron-based desktop application that allows creating a +knowledge base from Markdown-formatted notes. Notes can be connected and +visualized as a graph. diff --git a/textproc/obsidian/pkg-plist b/textproc/obsidian/pkg-plist new file mode 100644 index 000000000000..c651c818522a --- /dev/null +++ b/textproc/obsidian/pkg-plist @@ -0,0 +1,81 @@ +bin/obsidian +share/applications/obsidian.desktop +%%DATADIR%%/LICENSE.electron.txt +%%DATADIR%%/LICENSES.chromium.html +%%DATADIR%%/chrome_100_percent.pak +%%DATADIR%%/chrome_200_percent.pak +%%DATADIR%%/chrome_crashpad_handler +%%DATADIR%%/chromedriver +%%DATADIR%%/icudtl.dat +%%DATADIR%%/libEGL.so +%%DATADIR%%/libGLESv2.so +%%DATADIR%%/libffmpeg.so +%%DATADIR%%/libvk_swiftshader.so +%%DATADIR%%/libvulkan.so +%%DATADIR%%/locales/af.pak +%%DATADIR%%/locales/am.pak +%%DATADIR%%/locales/ar.pak +%%DATADIR%%/locales/bg.pak +%%DATADIR%%/locales/bn.pak +%%DATADIR%%/locales/ca.pak +%%DATADIR%%/locales/cs.pak +%%DATADIR%%/locales/da.pak +%%DATADIR%%/locales/de.pak +%%DATADIR%%/locales/el.pak +%%DATADIR%%/locales/en-GB.pak +%%DATADIR%%/locales/en-US.pak +%%DATADIR%%/locales/es-419.pak +%%DATADIR%%/locales/es.pak +%%DATADIR%%/locales/et.pak +%%DATADIR%%/locales/fa.pak +%%DATADIR%%/locales/fi.pak +%%DATADIR%%/locales/fil.pak +%%DATADIR%%/locales/fr.pak +%%DATADIR%%/locales/gu.pak +%%DATADIR%%/locales/he.pak +%%DATADIR%%/locales/hi.pak +%%DATADIR%%/locales/hr.pak +%%DATADIR%%/locales/hu.pak +%%DATADIR%%/locales/id.pak +%%DATADIR%%/locales/it.pak +%%DATADIR%%/locales/ja.pak +%%DATADIR%%/locales/kn.pak +%%DATADIR%%/locales/ko.pak +%%DATADIR%%/locales/lt.pak +%%DATADIR%%/locales/lv.pak +%%DATADIR%%/locales/ml.pak +%%DATADIR%%/locales/mr.pak +%%DATADIR%%/locales/ms.pak +%%DATADIR%%/locales/nb.pak +%%DATADIR%%/locales/nl.pak +%%DATADIR%%/locales/pl.pak +%%DATADIR%%/locales/pt-BR.pak +%%DATADIR%%/locales/pt-PT.pak +%%DATADIR%%/locales/ro.pak +%%DATADIR%%/locales/ru.pak +%%DATADIR%%/locales/sk.pak +%%DATADIR%%/locales/sl.pak +%%DATADIR%%/locales/sr.pak +%%DATADIR%%/locales/sv.pak +%%DATADIR%%/locales/sw.pak +%%DATADIR%%/locales/ta.pak +%%DATADIR%%/locales/te.pak +%%DATADIR%%/locales/th.pak +%%DATADIR%%/locales/tr.pak +%%DATADIR%%/locales/uk.pak +%%DATADIR%%/locales/ur.pak +%%DATADIR%%/locales/vi.pak +%%DATADIR%%/locales/zh-CN.pak +%%DATADIR%%/locales/zh-TW.pak +%%DATADIR%%/obsidian +%%DATADIR%%/resources.pak +%%DATADIR%%/resources/app.asar +%%DATADIR%%/resources/app.asar.unpacked/node_modules/btime/binding.node +%%DATADIR%%/resources/app.asar.unpacked/node_modules/get-fonts/binding.node +%%DATADIR%%/resources/app.asar.unpacked/node_modules/vibrancy-win/binding.node +%%DATADIR%%/resources/obsidian.asar +%%DATADIR%%/snapshot_blob.bin +%%DATADIR%%/v8_context_snapshot.bin +%%DATADIR%%/vk_swiftshader_icd.json +share/metainfo/md.obsidian.obsidian.appdata.xml +share/pixmaps/obsidian.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406191455.45JEtRMC022448>