From 4047024a005332a915d980f3652b18943acd1d09 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 23 Jun 2019 04:52:03 +0000 Subject: [PATCH] New port: editors/quilter: Editor allowing you to focus on your writing --- editors/Makefile | 1 + editors/quilter/Makefile | 33 +++++++++++++++++++++ editors/quilter/distinfo | 3 ++ editors/quilter/files/patch-meson.build | 20 +++++++++++++ editors/quilter/pkg-descr | 4 +++ editors/quilter/pkg-plist | 38 +++++++++++++++++++++++++ 6 files changed, 99 insertions(+) create mode 100644 editors/quilter/Makefile create mode 100644 editors/quilter/distinfo create mode 100644 editors/quilter/files/patch-meson.build create mode 100644 editors/quilter/pkg-descr create mode 100644 editors/quilter/pkg-plist diff --git a/editors/Makefile b/editors/Makefile index a4d0c6535a7f..5bdc50aa4948 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -217,6 +217,7 @@ SUBDIR += py-editorconfig SUBDIR += py-pynvim SUBDIR += py-room + SUBDIR += quilter SUBDIR += rox-edit SUBDIR += rubygem-neovim SUBDIR += scite diff --git a/editors/quilter/Makefile b/editors/quilter/Makefile new file mode 100644 index 000000000000..cbef2fd2ea89 --- /dev/null +++ b/editors/quilter/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= quilter +DISTVERSION= 1.9.1 +CATEGORIES= editors + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Editor allowing you to focus on your writing + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= valac:lang/vala \ + discount>0:textproc/discount +LIB_DEPENDS= libgee-0.8.so:devel/libgee \ + libgranite.so:x11-toolkits/granite \ + libgtkspell3-3.so:textproc/gtkspell3 \ + libwebkit2gtk-4.0.so:www/webkit2-gtk3 + +USES= desktop-file-utils gettext gnome meson pkgconfig python:build +USE_GITHUB= yes +GH_ACCOUNT= lainsce +USE_GNOME= glib20 gtk30 gtksourceview3 + +INSTALLS_ICONS= yes + +GLIB_SCHEMAS= com.github.lainsce.quilter.gschema.xml + +LDFLAGS+= ${LOCALBASE}/lib/libmarkdown.a + +BINARY_ALIAS= python3=${PYTHON_CMD} + +.include diff --git a/editors/quilter/distinfo b/editors/quilter/distinfo new file mode 100644 index 000000000000..87bd08e8da5f --- /dev/null +++ b/editors/quilter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1561223420 +SHA256 (lainsce-quilter-1.9.1_GH0.tar.gz) = 49d6d3d300211f0b787a4487b67fad22fd1bec11d9d5f06489ec0105b0cabe55 +SIZE (lainsce-quilter-1.9.1_GH0.tar.gz) = 916154 diff --git a/editors/quilter/files/patch-meson.build b/editors/quilter/files/patch-meson.build new file mode 100644 index 000000000000..929c9910c7fc --- /dev/null +++ b/editors/quilter/files/patch-meson.build @@ -0,0 +1,20 @@ +--- meson.build.orig 2019-06-23 03:48:31 UTC ++++ meson.build +@@ -39,7 +39,7 @@ c_args = [ + + # Find libMarkdown + cc = meson.get_compiler('c') +-libmarkdown = cc.find_library('markdown', required: true) ++#libmarkdown = cc.find_library('markdown', required: true) + + # Let's define our executable + add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')], language: 'vala') +@@ -78,7 +78,7 @@ executable( + dependency('gtk+-3.0'), + dependency('webkit2gtk-4.0'), + dependency('gtkspell3-3.0'), +- libmarkdown ++ #libmarkdown + ], + vala_args: [ + meson.source_root() + '/vapi/config.vapi', diff --git a/editors/quilter/pkg-descr b/editors/quilter/pkg-descr new file mode 100644 index 000000000000..752f22f097de --- /dev/null +++ b/editors/quilter/pkg-descr @@ -0,0 +1,4 @@ +Focus on your writing and write beautiful solid stories with the Focus Mode in +tow in this Markdown editor. + +WWW: https://github.com/lainsce/quilter diff --git a/editors/quilter/pkg-plist b/editors/quilter/pkg-plist new file mode 100644 index 000000000000..abf2695ae46f --- /dev/null +++ b/editors/quilter/pkg-plist @@ -0,0 +1,38 @@ +bin/com.github.lainsce.quilter +share/applications/com.github.lainsce.quilter.desktop +share/com.github.lainsce.quilter/font/mono.css +share/com.github.lainsce.quilter/font/sans.css +share/com.github.lainsce.quilter/font/serif.css +share/com.github.lainsce.quilter/highlight.js/lib/highlight.min.js +share/com.github.lainsce.quilter/highlight.js/styles/dark.min.css +share/com.github.lainsce.quilter/highlight.js/styles/default.min.css +share/com.github.lainsce.quilter/highlight.js/styles/sepia.min.css +share/fonts/truetype/quilt/QuiltMono.ttf +share/gtksourceview-3.0/styles/quilter-dark.xml +share/gtksourceview-3.0/styles/quilter-moon.xml +share/gtksourceview-3.0/styles/quilter-sepia.xml +share/gtksourceview-3.0/styles/quilter.xml +share/icons/hicolor/128x128/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/128x128@2/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/16x16/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/16x16@2/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/24x24/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/24x24@2/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/32x32/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/32x32@2/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/48x48/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/48x48@2/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/64x64/apps/com.github.lainsce.quilter.svg +share/icons/hicolor/64x64@2/apps/com.github.lainsce.quilter.svg +share/locale/ca/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/da/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/de/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/es/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/fr/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/it/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/ja/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/lt/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/nl_NL/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/pl/LC_MESSAGES/com.github.lainsce.quilter.mo +share/locale/pt_BR/LC_MESSAGES/com.github.lainsce.quilter.mo +share/metainfo/com.github.lainsce.quilter.appdata.xml