commit:     563a7534478672a17e7e5eefc0891b573403f408
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Apr 25 09:56:02 2020 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 09:56:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=563a7534

app-editors/bluegriffon-bin: HTML and EPUB editor

New ebuild, I'm not sure about proper category
May be it should be www-apps, however, it can be used
as non-web editor (epub editor)
Binary package because building from source is terrible hell

>From Wikipedia:
BlueGriffon is a WYSIWYG content editor for the World Wide Web.
It is based on the discontinued Nvu editor,
which in turn is based on the Composer
component of the Mozilla Application Suite. Powered by Gecko,
the rendering engine of Firefox, it can edit Web pages
in conformance to Web Standards.
It runs on Microsoft Windows, macOS and Linux.,

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 app-editors/bluegriffon-bin/Manifest               |  2 +
 .../bluegriffon-bin/bluegriffon-bin-3.1.ebuild     | 60 ++++++++++++++++++++++
 .../bluegriffon-bin/files/bluegriffon-bin.desktop  | 13 +++++
 app-editors/bluegriffon-bin/metadata.xml           | 39 ++++++++++++++
 4 files changed, 114 insertions(+)

diff --git a/app-editors/bluegriffon-bin/Manifest 
b/app-editors/bluegriffon-bin/Manifest
new file mode 100644
index 0000000..326e413
--- /dev/null
+++ b/app-editors/bluegriffon-bin/Manifest
@@ -0,0 +1,2 @@
+DIST bluegriffon-bin-3.1.tar.bz2 281359437 BLAKE2B 
dddcf0dc38a9d7f6ad81047598ac62f5698e1771019e34aaaca29361f15a9cb603686e1c9f68848afda4c64dce2b5e36dd07c7e734b0cc2e0828bcf8be47cd89
 SHA512 
f069f0313523c7a32f286e3629f149728c565717252f17ce5f31eee2f58de53413edce8c60cc302704b4013913f7da995ce746fa25c1b13eea0551ecc946d28b
+DIST bluegriffon-bin.png 54142 BLAKE2B 
de0002498a22b0574bd9379e14c9bf4afb51f5a0c1cfb754514127844626ab7e8bf91daf80151b309af47a9c01bc472fa6f8135121d8014af854257847d38f16
 SHA512 
68f0ae4ce9566d7dbdda49c6c6572d888f121a5d89de3ce0d567f62f9e1062df4e72e9bf1b0fbe67dec7c583abd40dd706817e49653a28c09096bbb33b5bd207

diff --git a/app-editors/bluegriffon-bin/bluegriffon-bin-3.1.ebuild 
b/app-editors/bluegriffon-bin/bluegriffon-bin-3.1.ebuild
new file mode 100644
index 0000000..6333b1b
--- /dev/null
+++ b/app-editors/bluegriffon-bin/bluegriffon-bin-3.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg desktop
+
+DESCRIPTION="The Open Source next-gen Web Editor based on the rendering engine 
of Firefox"
+HOMEPAGE="https://github.com/therealglazou/bluegriffon 
http://www.bluegriffon.org/";
+SRC_URI="http://bluegriffon.org/freshmeat/${PV}/bluegriffon-${PV}.Ubuntu18.04-x86_64.tar.bz2
 -> ${P}.tar.bz2
+http://bluegriffon.org/BG_files/bluegriffon.png -> ${PN}.png"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+S="${WORKDIR}/bluegriffon/"
+XDG_ECLASS_DESKTOPFILES="${FILESDIR}"
+XDG_ECLASS_ICONFILES="${FILESDIR}"
+
+BUNDLED_DEPEND="dev-libs/nspr
+               dev-libs/nss"
+DEPEND=">=sys-libs/glibc-2.30-r8"
+RDEPEND="${DEPEND}
+       ${BUNDLED_DEPEND}
+       x11-libs/gtk+:2
+       virtual/opengl
+       x11-libs/cairo
+       x11-libs/pango
+       dev-libs/gobject-introspection
+       x11-libs/libxcb
+       x11-libs/libXrender
+       x11-libs/libXi
+       x11-libs/libXrandr
+       x11-libs/libXcursor
+       x11-libs/libXcomposite
+       x11-libs/libXdamage
+       x11-libs/libXext
+       x11-libs/libXau
+       x11-libs/libXdmcp
+       media-libs/freetype
+       x11-libs/libxcb
+       x11-libs/pixman
+       media-libs/libpng:0/16
+       sys-apps/util-linux
+       media-libs/harfbuzz:0/0.9.18
+       dev-libs/fribidi
+       dev-libs/libffi:0/7
+       dev-libs/libpcre
+       dev-libs/expat
+       media-gfx/graphite2
+       dev-libs/libbsd"
+BDEPEND=""
+
+src_install() {
+       dodir /opt/bluegriffon
+       cp -ap "${S}"/* "${D}"/opt/bluegriffon/
+       dosym ../../opt/bluegriffon/bluegriffon-bin /usr/bin/bluegriffon-bin
+       doicon "${DISTDIR}/bluegriffon-bin.png"
+       domenu "${FILESDIR}/bluegriffon-bin.desktop"
+}

diff --git a/app-editors/bluegriffon-bin/files/bluegriffon-bin.desktop 
b/app-editors/bluegriffon-bin/files/bluegriffon-bin.desktop
new file mode 100644
index 0000000..e5de937
--- /dev/null
+++ b/app-editors/bluegriffon-bin/files/bluegriffon-bin.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Bluegriffon(Binary)
+GenericName=Bluegriffon(Binary)
+Comment=Web and EPUB Editor
+Exec=bluegriffon-bin %u
+Icon=bluegriffon-bin
+Terminal=false
+X-MultipleArgs=false
+Type=Application
+StartupWMClass=Bluegriffon
+Categories=Network;WebBrowser;
+MimeType=text/html;text/xml;application/xhtml+xml;application/epub+zip

diff --git a/app-editors/bluegriffon-bin/metadata.xml 
b/app-editors/bluegriffon-bin/metadata.xml
new file mode 100644
index 0000000..134df5d
--- /dev/null
+++ b/app-editors/bluegriffon-bin/metadata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Denis Reva</name>
+               <description>RarogCmex</description>
+       </maintainer>
+       <longdescription>BlueGriffon
+               The next-gen Web and EPUB Editor based on the rendering engine 
of Firefox
+
+               « My HTML Editor is BlueGriffon, an intuitive, modern and 
robust application.
+               I like that what I see is what I get on the Web. »
+               Jeff Jaffe, CEO of the World Wide Web Consortium (W3C)
+
+               « The HTML Editor I'm Using Today? BlueGriffon »
+               Nick Longo, author of CoffeeCup, the very first HTML Editor
+
+               « Dear @BlueGriffonApp , you saved my a$$ once again »
+               Tristan Nitot, former President of Mozilla Europe
+
+               BlueGriffon is a WYSIWYG content editor for the World Wide Web. 
+               It is based on the discontinued Nvu editor, which in turn is 
based on the Composer 
+               component of the Mozilla Application Suite. Powered by Gecko, 
the rendering engine of Firefox,
+               it can edit Web pages in conformance to Web Standards. It runs 
on Microsoft Windows, macOS and Linux.
+
+               BlueGriffon complies with the W3C's web standards. It can 
create and edit pages in accordance 
+               to HTML 4, XHTML 1.1, HTML 5 and XHTML 5. It supports CSS 2.1 
and all parts of CSS 3 already 
+               implemented by Gecko. BlueGriffon also includes SVG-edit, an 
XUL-based editor for SVG that is 
+               originally distributed as an add-on to Firefox and was adapted 
to BlueGriffon.
+
+               A version without the CSS Stylesheet editor is free to download 
and is available on Microsoft Windows, 
+               macOS and Linux.
+
+               Many enhancements are available via add-ons. Most add-ons such 
as 'Project Manager', 'CSS Stylesheet editor',
+               'MathML Editor', 'Word Count' and 'FullScreen view/edit' must 
be paid for, 
+               while only two ('FireFTP' and 'Dictionaries') are free to 
download.
+       </longdescription>
+</pkgmetadata>

Reply via email to