sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master binary grimoire by Vlad Glagolev (98873bcc07174a2ea5b1c9c125f2823b11687136)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master binary grimoire by Vlad Glagolev (98873bcc07174a2ea5b1c9c125f2823b11687136)
- Date: Sat, 7 Aug 2021 18:02:44 +0000
GIT changes to master binary grimoire by Vlad Glagolev
<stealth AT sourcemage.org>:
ChangeLog | 4 ++
bin-graphics/drawio-desktop-bin/BUILD | 1
bin-graphics/drawio-desktop-bin/DEPENDS | 43
++++++++++++++++++++++++++++++
bin-graphics/drawio-desktop-bin/DETAILS | 17 +++++++++++
bin-graphics/drawio-desktop-bin/FINAL | 8 +++++
bin-graphics/drawio-desktop-bin/HISTORY | 3 ++
bin-graphics/drawio-desktop-bin/INSTALL | 18 ++++++++++++
bin-graphics/drawio-desktop-bin/PRE_BUILD | 6 ++++
8 files changed, 100 insertions(+)
New commits:
commit 98873bcc07174a2ea5b1c9c125f2823b11687136
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
drawio-desktop-bin: new spell, diagram drawing application built on web
technology
diff --git a/ChangeLog b/ChangeLog
index 6a24745..7f327ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-08-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * bin-graphics/drawio-desktop-bin: new spell, diagram drawing
+ application built on web technology
+
2021-07-03 Vlad Glagolev <stealth AT sourcemage.org>
* bin-security/boundary-bin: new spell, network resources access
controller
diff --git a/bin-graphics/drawio-desktop-bin/BUILD
b/bin-graphics/drawio-desktop-bin/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/bin-graphics/drawio-desktop-bin/BUILD
@@ -0,0 +1 @@
+true
diff --git a/bin-graphics/drawio-desktop-bin/DEPENDS
b/bin-graphics/drawio-desktop-bin/DEPENDS
new file mode 100755
index 0000000..f2ad181
--- /dev/null
+++ b/bin-graphics/drawio-desktop-bin/DEPENDS
@@ -0,0 +1,43 @@
+# essential
+runtime_depends -sub CXX gcc &&
+
+# crypto stack
+runtime_depends nspr &&
+runtime_depends nss &&
+
+# X11
+runtime_depends libx11 &&
+runtime_depends libxext &&
+runtime_depends libxscrnsaver &&
+runtime_depends libxshmfence &&
+runtime_depends libxcomposite &&
+runtime_depends libxdamage &&
+runtime_depends libxfixes &&
+runtime_depends libxrandr &&
+runtime_depends libxkbcommon &&
+runtime_depends libxcb &&
+runtime_depends libdrm &&
+runtime_depends mesalib &&
+
+# GTK+
+runtime_depends expat &&
+runtime_depends dbus &&
+runtime_depends glib2 &&
+runtime_depends atk &&
+runtime_depends at-spi2-core &&
+runtime_depends at-spi2-atk &&
+runtime_depends pango &&
+runtime_depends cairo &&
+runtime_depends gdk-pixbuf2 &&
+runtime_depends gtk+3 &&
+
+# required for gtk-update-icon-cache
+depends gtk+2 &&
+# required for update-desktop-database
+depends desktop-file-utils &&
+
+# audio
+runtime_depends alsa-lib &&
+
+# printing
+runtime_depends cups
diff --git a/bin-graphics/drawio-desktop-bin/DETAILS
b/bin-graphics/drawio-desktop-bin/DETAILS
new file mode 100755
index 0000000..5de6b25
--- /dev/null
+++ b/bin-graphics/drawio-desktop-bin/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=drawio-desktop-bin
+ SPELLX=${SPELL/-bin/}
+ VERSION=14.6.13
+ SOURCE=${SPELLX/-desktop/}-amd64-${VERSION}.deb
+
SOURCE_URL[0]=https://github.com/jgraph/${SPELLX}/releases/download/v${VERSION}/${SOURCE}
+
SOURCE_HASH=sha512:2eefdcd347f176a2bcdf64edb72552ccf2659be4626292d08aa96dee3d7acd29b2ec5e881908b2c74ae887d543094cf0f32f4fa519e7a1a12d399e411d9fe7b7
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX/-desktop/}-${VERSION}"
+ GATHER_DOCS=off
+ WEB_SITE=https://www.diagrams.net/
+ ENTERED=20210807
+ LICENSE[0]=APACHE
+ SHORT="diagram drawing application built on web technology"
+cat << EOF
+This is a binary version of drawio-desktop.
+
+drawio-desktop is a diagrams.net desktop app based on Electron.
+EOF
diff --git a/bin-graphics/drawio-desktop-bin/FINAL
b/bin-graphics/drawio-desktop-bin/FINAL
new file mode 100755
index 0000000..4668792
--- /dev/null
+++ b/bin-graphics/drawio-desktop-bin/FINAL
@@ -0,0 +1,8 @@
+# binaries require /lib64
+if [ ! -d "${INSTALL_ROOT}/lib64" ]; then
+ ln -vsf "${TRACK_ROOT}/lib" "${INSTALL_ROOT}/lib64"
+fi &&
+
+update-desktop-database &&
+
+gtk-update-icon-cache -q -t -f "${INSTALL_ROOT}/usr/share/icons/hicolor"
diff --git a/bin-graphics/drawio-desktop-bin/HISTORY
b/bin-graphics/drawio-desktop-bin/HISTORY
new file mode 100644
index 0000000..73f121f
--- /dev/null
+++ b/bin-graphics/drawio-desktop-bin/HISTORY
@@ -0,0 +1,3 @@
+2021-08-07 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, FINAL: created spell,
+ version 14.6.13
diff --git a/bin-graphics/drawio-desktop-bin/INSTALL
b/bin-graphics/drawio-desktop-bin/INSTALL
new file mode 100755
index 0000000..cb4b084
--- /dev/null
+++ b/bin-graphics/drawio-desktop-bin/INSTALL
@@ -0,0 +1,18 @@
+cp -dRv opt/drawio "${INSTALL_ROOT}/opt" &&
+
+chmod 4755 "${INSTALL_ROOT}/opt/drawio/chrome-sandbox" &&
+
+install -vm 644 usr/share/applications/drawio.desktop
"${INSTALL_ROOT}/usr/share/applications/drawio.desktop" &&
+install -vm 644 usr/share/mime/packages/drawio.xml
"${INSTALL_ROOT}/usr/share/mime/packages/drawio.xml" &&
+
+for size in $(ls usr/share/icons/hicolor/); do
+ local icon_dir="usr/share/icons/hicolor/${size}/apps" &&
+
+ if [ ! -d "${INSTALL_ROOT}/${icon_dir}" ]; then
+ mkdir -vp "${INSTALL_ROOT}/${icon_dir}"
+ fi &&
+
+ install -vm 644 "${icon_dir}/drawio.png"
"${INSTALL_ROOT}/${icon_dir}/drawio.png"
+done &&
+
+ln -vsf "${TRACK_ROOT}/opt/drawio/drawio" "${INSTALL_ROOT}/usr/bin/drawio"
diff --git a/bin-graphics/drawio-desktop-bin/PRE_BUILD
b/bin-graphics/drawio-desktop-bin/PRE_BUILD
new file mode 100755
index 0000000..0e88968
--- /dev/null
+++ b/bin-graphics/drawio-desktop-bin/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+verify_file &&
+
+ar p "${SOURCE_CACHE}/${SOURCE}" data.tar.xz | tar -xJf -
- [SM-Commit] GIT changes to master binary grimoire by Vlad Glagolev (98873bcc07174a2ea5b1c9c125f2823b11687136), Vlad Glagolev, 08/07/2021
Archive powered by MHonArc 2.6.24.