Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add md.obsidian.Obsidian (Obsidian) #1883

Closed
wants to merge 23 commits into from
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
777e130
Add initial Obsidian manifest
joshua-stone Oct 11, 2020
b7b40bf
Add proprietary tag
joshua-stone Oct 11, 2020
073f129
Add .gitignore to ignore flatpak build artifacts
joshua-stone Oct 11, 2020
e7a6ac6
Add appdata file
joshua-stone Oct 11, 2020
7e433c7
Fix affiliation info
joshua-stone Oct 11, 2020
7cc578d
Fix formatting of sed substitutions
joshua-stone Oct 11, 2020
622c69a
Update launcher to handle obsidian:// URI scheme
joshua-stone Oct 11, 2020
dbb2375
Refactor build to use tar.gz instead of appimage
joshua-stone Oct 11, 2020
bdc00b0
Add network access
joshua-stone Oct 11, 2020
b5a11d9
More cleanups
joshua-stone Oct 11, 2020
490a2ea
Fix alignment
joshua-stone Oct 11, 2020
e8c1119
Change up build process to set up files without needing to clean up
joshua-stone Oct 11, 2020
1b5d943
Add flathub metadata
joshua-stone Oct 11, 2020
94626ba
Update description for clarifying on automatic updates
joshua-stone Oct 12, 2020
a1a7e64
Remove smaller icon sizes and let flatpak resize them, plus add appda…
joshua-stone Oct 12, 2020
863077c
Update build to 0.9.3
joshua-stone Oct 12, 2020
f4fb32b
Update version in appdata
joshua-stone Oct 12, 2020
5885952
Fix version number
joshua-stone Oct 12, 2020
6b10f55
Add more screenshots
joshua-stone Oct 12, 2020
0e61bc6
Update license reference
joshua-stone Oct 12, 2020
55accef
Update appdata to include a more in-depth description
joshua-stone Oct 13, 2020
db94c7b
Add more to the description
joshua-stone Oct 13, 2020
5f3df56
Add translations URL
joshua-stone Oct 13, 2020
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,2 @@
_build/
.flatpak-builder/
@@ -0,0 +1,3 @@
{
"only-arches": ["x86_64"]
}
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
This conversation was marked as resolved by barthalion

This comment has been minimized.

@barthalion

barthalion Oct 12, 2020
Member

This file needs to be installed in the manifest.

<component type="desktop">
<id>md.obsidian.Obsidian</id>
<launchable type="desktop-id">md.obsidian.Obsidian.desktop</launchable>
<name>Obsidian</name>
<summary>Markdown-based knowledge base</summary>
<description>
<p>Obsidian is a powerful knowledge base that works on top of a local folder of plain text Markdown files. In Obsidian, making and following connections is frictionless, and with the connections in place, you can explore all of your knowledge in the interactive graph view. Obsidian supports CommonMark and GitHub Flavored Markdown (GFM), along with other useful notetaking features such as tags, LaTeX mathematical expressions, mermaid diagrams, footnotes, internal links and embedding Obsidian notes or external files. Obsidian also has a plugin system with 20+ supported plugins to expand its capabilities. The plugin system is currently a work-in-progress, there will be public APIs available to developers in the v1.0 release.</p>
<p>The documentation can be accessed by opening the demo vault that is shipped in Obsidian.</p>
<p>Obsidian will always remain free for personal use, no account or license is required for qualifying use cases described in the End User License Agreement. However, commercial users should purchase a license on Obsidian's website. Users also have the option to purchase a Catalyst license to get early access to insider builds and support the development. Additionally, Obsidian offers an optional paid hosting service for your notes. Details about this optional hosting service can be found on the Obsidian website.</p>
<p>This distribution is currently in beta and not officially supported by the Obsidian team</p>
<p>Note: Regular users should disable "Automatic Updates" within Obsidian as public release updates are handled by Flatpak itself. Insiders should keep this enabled to receive insider builds, as those will not be made available on Flathub.</p>
</description>
<screenshots>
<screenshot type="default">
<image type="source">https://obsidian.md/images/screenshot.png</image>
<image type="source">https://obsidian.md/images/formatting.png</image>
<image type="source">https://obsidian.md/images/graph-view.png</image>
<image type="source">https://obsidian.md/images/multi-pane.png</image>
</screenshot>
</screenshots>
<releases>
<release version="0.9.3" date="2020-10-07"/>
<release version="0.9.2" date="2020-09-30"/>
</releases>
<url type="homepage">https://obsidian.md/</url>
<url type="help">https://obsidian.md/community</url>
<url type="faq">https://obsidian.md/faq</url>
<url type="bugtracker">https://github.com/flathub/md.obsidian.Obsidian/issues</url>
<url type="translate">https://github.com/obsidianmd/obsidian-translations</url>
<developer_name>Obsidian</developer_name>
<metadata_license>CC0-1.0</metadata_license>
<project_license>LicenseRef-proprietary=https://obsidian.md/eula</project_license>
<content_rating type="oars-1.1">
<content_attribute id="language-humor">mild</content_attribute>
<content_attribute id="language-discrimination">mild</content_attribute>
<content_attribute id="social-chat">mild</content_attribute>
<content_attribute id="social-info">mild</content_attribute>
<content_attribute id="money-purchasing">mild</content_attribute>
</content_rating>
<update_contact>joshua.gage.stone_at_gmail.com</update_contact>
</component>
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Obsidian
Exec=obsidian.sh %u
Terminal=false
Type=Application
Icon=md.obsidian.Obsidian
StartupWMClass=obsidian
Comment=Obsidian
MimeType=x-scheme-handler/obsidian;
Categories=Office;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,39 @@
app-id: md.obsidian.Obsidian
branch: master
base: org.electronjs.Electron2.BaseApp
base-version: '20.08'
runtime: org.freedesktop.Platform
runtime-version: '20.08'
sdk: org.freedesktop.Sdk
command: obsidian.sh
tags:
- proprietary
finish-args:
- --socket=x11
- --device=dri
- --filesystem=home
- --share=network
modules:
- name: obsidian
buildsystem: simple
build-commands:
- mkdir -p bin share/{appdata,applications,icons/hicolor/512x512/apps}
- mv md.obsidian.Obsidian.png share/icons/hicolor/512x512/apps/md.obsidian.Obsidian.png
- mv md.obsidian.Obsidian.desktop share/applications/md.obsidian.Obsidian.desktop
- mv obsidian.sh bin/obsidian.sh
- mv md.obsidian.Obsidian.appdata.xml share/appdata/md.obsidian.Obsidian.appdata.xml
- cp -r * ${FLATPAK_DEST}
sources:
- type: archive
url: https://github.com/obsidianmd/obsidian-releases/releases/download/v0.9.3/obsidian-0.9.3.tar.gz

This comment has been minimized.

@barthalion

barthalion Oct 14, 2020
Member

One thing I'd add here is x-data-checker as documented at https://github.com/flathub/flatpak-external-data-checker so Flathub version doesn't fall behind with releases, but that can be fixed after merge.

sha256: 176c4e9d6c9d65d570c021428b0965d212407774e3567cb4773372e69cd278bb
- type: file
path: md.obsidian.Obsidian.png
- type: file
path: md.obsidian.Obsidian.desktop
- type: file
path: md.obsidian.Obsidian.appdata.xml
- type: script
dest-filename: obsidian.sh
commands:
- zypak-wrapper /app/obsidian $@