Gentoo Archives: gentoo-commits

From: Denis Reva <denis7774@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/bluegriffon-bin/files/, app-editors/bluegriffon-bin/
Date: Sat, 25 Apr 2020 09:56:31
Message-Id: 1587808562.563a7534478672a17e7e5eefc0891b573403f408.RarogCmex@gentoo
1 commit: 563a7534478672a17e7e5eefc0891b573403f408
2 Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
3 AuthorDate: Sat Apr 25 09:56:02 2020 +0000
4 Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
5 CommitDate: Sat Apr 25 09:56:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=563a7534
7
8 app-editors/bluegriffon-bin: HTML and EPUB editor
9
10 New ebuild, I'm not sure about proper category
11 May be it should be www-apps, however, it can be used
12 as non-web editor (epub editor)
13 Binary package because building from source is terrible hell
14
15 From Wikipedia:
16 BlueGriffon is a WYSIWYG content editor for the World Wide Web.
17 It is based on the discontinued Nvu editor,
18 which in turn is based on the Composer
19 component of the Mozilla Application Suite. Powered by Gecko,
20 the rendering engine of Firefox, it can edit Web pages
21 in conformance to Web Standards.
22 It runs on Microsoft Windows, macOS and Linux.,
23
24 Package-Manager: Portage-2.3.89, Repoman-2.3.20
25 Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
26
27 app-editors/bluegriffon-bin/Manifest | 2 +
28 .../bluegriffon-bin/bluegriffon-bin-3.1.ebuild | 60 ++++++++++++++++++++++
29 .../bluegriffon-bin/files/bluegriffon-bin.desktop | 13 +++++
30 app-editors/bluegriffon-bin/metadata.xml | 39 ++++++++++++++
31 4 files changed, 114 insertions(+)
32
33 diff --git a/app-editors/bluegriffon-bin/Manifest b/app-editors/bluegriffon-bin/Manifest
34 new file mode 100644
35 index 0000000..326e413
36 --- /dev/null
37 +++ b/app-editors/bluegriffon-bin/Manifest
38 @@ -0,0 +1,2 @@
39 +DIST bluegriffon-bin-3.1.tar.bz2 281359437 BLAKE2B dddcf0dc38a9d7f6ad81047598ac62f5698e1771019e34aaaca29361f15a9cb603686e1c9f68848afda4c64dce2b5e36dd07c7e734b0cc2e0828bcf8be47cd89 SHA512 f069f0313523c7a32f286e3629f149728c565717252f17ce5f31eee2f58de53413edce8c60cc302704b4013913f7da995ce746fa25c1b13eea0551ecc946d28b
40 +DIST bluegriffon-bin.png 54142 BLAKE2B de0002498a22b0574bd9379e14c9bf4afb51f5a0c1cfb754514127844626ab7e8bf91daf80151b309af47a9c01bc472fa6f8135121d8014af854257847d38f16 SHA512 68f0ae4ce9566d7dbdda49c6c6572d888f121a5d89de3ce0d567f62f9e1062df4e72e9bf1b0fbe67dec7c583abd40dd706817e49653a28c09096bbb33b5bd207
41
42 diff --git a/app-editors/bluegriffon-bin/bluegriffon-bin-3.1.ebuild b/app-editors/bluegriffon-bin/bluegriffon-bin-3.1.ebuild
43 new file mode 100644
44 index 0000000..6333b1b
45 --- /dev/null
46 +++ b/app-editors/bluegriffon-bin/bluegriffon-bin-3.1.ebuild
47 @@ -0,0 +1,60 @@
48 +# Copyright 1999-2020 Gentoo Authors
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=7
52 +
53 +inherit xdg desktop
54 +
55 +DESCRIPTION="The Open Source next-gen Web Editor based on the rendering engine of Firefox"
56 +HOMEPAGE="https://github.com/therealglazou/bluegriffon http://www.bluegriffon.org/"
57 +SRC_URI="http://bluegriffon.org/freshmeat/${PV}/bluegriffon-${PV}.Ubuntu18.04-x86_64.tar.bz2 -> ${P}.tar.bz2
58 +http://bluegriffon.org/BG_files/bluegriffon.png -> ${PN}.png"
59 +LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
60 +SLOT="0"
61 +KEYWORDS="~amd64"
62 +IUSE=""
63 +S="${WORKDIR}/bluegriffon/"
64 +XDG_ECLASS_DESKTOPFILES="${FILESDIR}"
65 +XDG_ECLASS_ICONFILES="${FILESDIR}"
66 +
67 +BUNDLED_DEPEND="dev-libs/nspr
68 + dev-libs/nss"
69 +DEPEND=">=sys-libs/glibc-2.30-r8"
70 +RDEPEND="${DEPEND}
71 + ${BUNDLED_DEPEND}
72 + x11-libs/gtk+:2
73 + virtual/opengl
74 + x11-libs/cairo
75 + x11-libs/pango
76 + dev-libs/gobject-introspection
77 + x11-libs/libxcb
78 + x11-libs/libXrender
79 + x11-libs/libXi
80 + x11-libs/libXrandr
81 + x11-libs/libXcursor
82 + x11-libs/libXcomposite
83 + x11-libs/libXdamage
84 + x11-libs/libXext
85 + x11-libs/libXau
86 + x11-libs/libXdmcp
87 + media-libs/freetype
88 + x11-libs/libxcb
89 + x11-libs/pixman
90 + media-libs/libpng:0/16
91 + sys-apps/util-linux
92 + media-libs/harfbuzz:0/0.9.18
93 + dev-libs/fribidi
94 + dev-libs/libffi:0/7
95 + dev-libs/libpcre
96 + dev-libs/expat
97 + media-gfx/graphite2
98 + dev-libs/libbsd"
99 +BDEPEND=""
100 +
101 +src_install() {
102 + dodir /opt/bluegriffon
103 + cp -ap "${S}"/* "${D}"/opt/bluegriffon/
104 + dosym ../../opt/bluegriffon/bluegriffon-bin /usr/bin/bluegriffon-bin
105 + doicon "${DISTDIR}/bluegriffon-bin.png"
106 + domenu "${FILESDIR}/bluegriffon-bin.desktop"
107 +}
108
109 diff --git a/app-editors/bluegriffon-bin/files/bluegriffon-bin.desktop b/app-editors/bluegriffon-bin/files/bluegriffon-bin.desktop
110 new file mode 100644
111 index 0000000..e5de937
112 --- /dev/null
113 +++ b/app-editors/bluegriffon-bin/files/bluegriffon-bin.desktop
114 @@ -0,0 +1,13 @@
115 +[Desktop Entry]
116 +Encoding=UTF-8
117 +Name=Bluegriffon(Binary)
118 +GenericName=Bluegriffon(Binary)
119 +Comment=Web and EPUB Editor
120 +Exec=bluegriffon-bin %u
121 +Icon=bluegriffon-bin
122 +Terminal=false
123 +X-MultipleArgs=false
124 +Type=Application
125 +StartupWMClass=Bluegriffon
126 +Categories=Network;WebBrowser;
127 +MimeType=text/html;text/xml;application/xhtml+xml;application/epub+zip
128
129 diff --git a/app-editors/bluegriffon-bin/metadata.xml b/app-editors/bluegriffon-bin/metadata.xml
130 new file mode 100644
131 index 0000000..134df5d
132 --- /dev/null
133 +++ b/app-editors/bluegriffon-bin/metadata.xml
134 @@ -0,0 +1,39 @@
135 +<?xml version="1.0" encoding="UTF-8"?>
136 +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
137 +<pkgmetadata>
138 + <maintainer type="person">
139 + <email>denis7774@×××××.com</email>
140 + <name>Denis Reva</name>
141 + <description>RarogCmex</description>
142 + </maintainer>
143 + <longdescription>BlueGriffon
144 + The next-gen Web and EPUB Editor based on the rendering engine of Firefox
145 +
146 + « My HTML Editor is BlueGriffon, an intuitive, modern and robust application.
147 + I like that what I see is what I get on the Web. »
148 + Jeff Jaffe, CEO of the World Wide Web Consortium (W3C)
149 +
150 + « The HTML Editor I'm Using Today? BlueGriffon »
151 + Nick Longo, author of CoffeeCup, the very first HTML Editor
152 +
153 + « Dear @BlueGriffonApp , you saved my a$$ once again »
154 + Tristan Nitot, former President of Mozilla Europe
155 +
156 + BlueGriffon is a WYSIWYG content editor for the World Wide Web.
157 + It is based on the discontinued Nvu editor, which in turn is based on the Composer
158 + component of the Mozilla Application Suite. Powered by Gecko, the rendering engine of Firefox,
159 + it can edit Web pages in conformance to Web Standards. It runs on Microsoft Windows, macOS and Linux.
160 +
161 + BlueGriffon complies with the W3C's web standards. It can create and edit pages in accordance
162 + to HTML 4, XHTML 1.1, HTML 5 and XHTML 5. It supports CSS 2.1 and all parts of CSS 3 already
163 + implemented by Gecko. BlueGriffon also includes SVG-edit, an XUL-based editor for SVG that is
164 + originally distributed as an add-on to Firefox and was adapted to BlueGriffon.
165 +
166 + A version without the CSS Stylesheet editor is free to download and is available on Microsoft Windows,
167 + macOS and Linux.
168 +
169 + Many enhancements are available via add-ons. Most add-ons such as 'Project Manager', 'CSS Stylesheet editor',
170 + 'MathML Editor', 'Word Count' and 'FullScreen view/edit' must be paid for,
171 + while only two ('FireFTP' and 'Dictionaries') are free to download.
172 + </longdescription>
173 +</pkgmetadata>