[arch-commits] Commit in (5 files)
Balló György
bgyorgy at archlinux.org
Tue Jul 14 20:44:37 UTC 2020
Date: Tuesday, July 14, 2020 @ 20:44:37
Author: bgyorgy
Revision: 663795
Add notes-up
Added:
notes-up/
notes-up/trunk/
notes-up/trunk/0001-Add-missing-icon.patch
notes-up/trunk/PKGBUILD
notes-up/trunk/fix-build.patch
-----------------------------+
0001-Add-missing-icon.patch | 48 ++++++++++++++++++++++++++++++++++++++++++
PKGBUILD | 39 ++++++++++++++++++++++++++++++++++
fix-build.patch | 22 +++++++++++++++++++
3 files changed, 109 insertions(+)
Added: notes-up/trunk/0001-Add-missing-icon.patch
===================================================================
--- notes-up/trunk/0001-Add-missing-icon.patch (rev 0)
+++ notes-up/trunk/0001-Add-missing-icon.patch 2020-07-14 20:44:37 UTC (rev 663795)
@@ -0,0 +1,48 @@
+From d28d8290e52135e2da909415062ddc04939123f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor at gmail.com>
+Date: Tue, 14 Jul 2020 22:10:15 +0200
+Subject: [PATCH] Add missing icon
+
+The tag-symbolic icon is missing from the default Adwaita icon theme. Add it from Elementary to provide fallback.
+---
+ data/assets.gresource.xml | 1 +
+ data/icons/symbolic/tag-symbolic.svg | 14 ++++++++++++++
+ 2 files changed, 15 insertions(+)
+ create mode 100644 data/icons/symbolic/tag-symbolic.svg
+
+diff --git a/data/assets.gresource.xml b/data/assets.gresource.xml
+index 354496f..ef2d1b1 100644
+--- a/data/assets.gresource.xml
++++ b/data/assets.gresource.xml
+@@ -11,6 +11,7 @@
+ </gresource>
+ <gresource prefix="/com/github/philip-scott/notes-up/icons">
+ <file alias="notebook-symbolic.svg" compressed="false" preprocess="">icons/symbolic/notebook-symbolic.svg</file>
++ <file alias="tag-symbolic.svg" compressed="false" preprocess="">icons/symbolic/tag-symbolic.svg</file>
+ </gresource>
+ <gresource prefix="/com/github/philip-scott/notes-up/">
+ <file alias="Application.css" compressed="true">assets/stylesheets/app/Application.css</file>
+diff --git a/data/icons/symbolic/tag-symbolic.svg b/data/icons/symbolic/tag-symbolic.svg
+new file mode 100644
+index 0000000..9b192bf
+--- /dev/null
++++ b/data/icons/symbolic/tag-symbolic.svg
+@@ -0,0 +1,14 @@
++<?xml version="1.0" encoding="UTF-8" standalone="no"?>
++<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" height="16" width="16" id="svg2" version="1.1">
++ <metadata id="metadata12">
++ <rdf:RDF>
++ <cc:Work rdf:about="">
++ <dc:format>image/svg+xml</dc:format>
++ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
++ <dc:title/>
++ </cc:Work>
++ </rdf:RDF>
++ </metadata>
++ <defs id="defs10"/>
++ <path style="fill:#666666;fill-rule:evenodd" id="path6" d="m 8.5,1 -7.25,7.75 6,6 L 15,7.5 15,3 C 15,1 13,1 13,1 Z M 12,3 c 1.333333,0 1.333333,2 0,2 -1.333333,0 -1.333333,-2 0,-2 z"/>
++</svg>
+\ No newline at end of file
+--
+2.27.0
+
Added: notes-up/trunk/PKGBUILD
===================================================================
--- notes-up/trunk/PKGBUILD (rev 0)
+++ notes-up/trunk/PKGBUILD 2020-07-14 20:44:37 UTC (rev 663795)
@@ -0,0 +1,39 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
+# Contributor: Matthew Sexton <wsdmatty (at) _gmail_ (dot) _com_>
+
+pkgname=notes-up
+pkgver=2.0.2
+pkgrel=2
+pkgdesc="Write beautiful notes fast and easy using Markdown"
+arch=(x86_64)
+url="https://github.com/Philip-Scott/Notes-up"
+license=(GPL2)
+depends=(discount granite gtksourceview3 gtkspell3 webkit2gtk)
+makedepends=(cmake vala)
+source=(https://github.com/Philip-Scott/Notes-up/archive/$pkgver/Notes-up-$pkgver.tar.gz
+ fix-build.patch
+ 0001-Add-missing-icon.patch)
+sha256sums=('35eb1df71034a118e66e6e00f5394c68423cfba7ceac035bde156d77da933b17'
+ 'a0187a27ddf8a2203da65c63eff62c3dcd0beaa4ac10f2ed604951706f3db1e3'
+ '8f3dfb0f410b34a79b24a129e75e954414b06853519b000a4efc4be312d8c2fd')
+
+prepare() {
+ [[ -d build ]] || mkdir build
+ cd Notes-up-$pkgver
+ patch -Np1 -i ../fix-build.patch
+ patch -Np1 -i ../0001-Add-missing-icon.patch
+}
+
+build() {
+ cd build
+ cmake -G "Unix Makefiles" ../Notes-up-$pkgver/ \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -Dnoele=1
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Added: notes-up/trunk/fix-build.patch
===================================================================
--- notes-up/trunk/fix-build.patch (rev 0)
+++ notes-up/trunk/fix-build.patch 2020-07-14 20:44:37 UTC (rev 663795)
@@ -0,0 +1,22 @@
+From 248c94feb79d6e4467bb0f9614bc0a1e2846f79c Mon Sep 17 00:00:00 2001
+From: Felipe Escoto Aceves <feescoto at microsoft.com>
+Date: Tue, 28 Apr 2020 09:35:41 -0700
+Subject: [PATCH] Add size to charArray in libmarkdown.vapi
+
+---
+ vapi/libmarkdown.vapi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/vapi/libmarkdown.vapi b/vapi/libmarkdown.vapi
+index 81b5189..a6bf7e7 100644
+--- a/vapi/libmarkdown.vapi
++++ b/vapi/libmarkdown.vapi
+@@ -41,7 +41,7 @@ namespace Markdown
+ public void initialize ();
+ public void with_html5_tags ();
+ public void shlib_destructor ();
+- public char markdown_version[];
++ public char markdown_version[512];
+
+ [Compact]
+ [CCode (cname = "MMIOT", cprefix = "mkd_", free_function = "mkd_cleanup")]
More information about the arch-commits
mailing list