public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/
@ 2019-09-08  6:55 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2019-09-08  6:55 UTC (permalink / raw
  To: gentoo-commits

commit:     fc4d0b573010a14bc2f5e301185ef05b72b41a86
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  8 06:54:58 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Sep  8 06:54:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc4d0b57

app-office/libreoffice-voikko: new package

- Free Finnish spell checking and hyphenation for LibreOffice

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-office/libreoffice-voikko/Manifest             |  1 +
 .../libreoffice-voikko-5.0.ebuild                  | 56 ++++++++++++++++++++++
 app-office/libreoffice-voikko/metadata.xml         |  8 ++++
 3 files changed, 65 insertions(+)

diff --git a/app-office/libreoffice-voikko/Manifest b/app-office/libreoffice-voikko/Manifest
new file mode 100644
index 00000000000..aeec9c2c876
--- /dev/null
+++ b/app-office/libreoffice-voikko/Manifest
@@ -0,0 +1 @@
+DIST libreoffice-voikko-5.0.tar.gz 51882 BLAKE2B c4d33f469821b3d3ee15f71c21a2e3fd5474939dda204873e85d9e52aee0d1cd9c01f660d63fdbef87786dbb0b8a88ba4fd45b8aff07b0b35588c9933d4c9cef SHA512 58f139c190acf5c56a8506365c296d06efd95b4422bb66c50e8058231bd10410b202d2a01ad0a2bf82dc0f41565c1e3a07ed86a4ae070d32af8cfd0e56d7eec0

diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
new file mode 100644
index 00000000000..407d34087ed
--- /dev/null
+++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Free Finnish spell checking and hyphenation for LibreOffice"
+HOMEPAGE="https://voikko.puimula.org/"
+SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-office/libreoffice[odk]
+	dev-libs/voikko-fi"
+RDEPEND="${DEPEND}
+	dev-libs/libvoikko"
+
+src_compile() {
+	emake oxt
+}
+
+src_install() {
+	einstalldocs
+
+	emake DESTDIR="${D}/usr/$(get_libdir)/${P}" install-unpacked
+
+	insinto /usr/$(get_libdir)/libreoffice/share/extension/install/
+	doins build/voikko.oxt
+}
+
+pkg_postinst() {
+	# Register voikko with libreoffice
+	COMPONENT="${ROOT}/usr/$(get_libdir)/libreoffice/share/extension/install/voikko.oxt"
+
+	einfo "Trying to register ${COMPONENT} ..."
+	unopkg add --shared "${COMPONENT}"
+	if [[ $? == 0 ]] ; then
+		einfo "${PN} registered succesfully with LibreOffice."
+	else
+		eerror "Couldn’t register ${PN} with LibreOffice."
+	fi
+}
+
+pkg_prerm() {
+	# Remove voikko registration from libreoffice
+	unopkg remove --shared org.puimula.ooovoikko
+	if [[ $? == 0 ]] ; then
+		einfo "${PN} removed succesfully from LibreOffice."
+	else
+		eerror "Couldn't remove ${PN} from LibreOffice, "
+		eerror "manual removal might be needed with "
+		eerror "  unopkg list --shared"
+		eerror "  unopkg remove --shared VOIKKO-IDENTIFIER"
+	fi
+}

diff --git a/app-office/libreoffice-voikko/metadata.xml b/app-office/libreoffice-voikko/metadata.xml
new file mode 100644
index 00000000000..6b0a0fb3a72
--- /dev/null
+++ b/app-office/libreoffice-voikko/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>juippis@gentoo.org</email>
+    <name>Joonas Niilola</name>
+  </maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/
@ 2019-11-21  8:40 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2019-11-21  8:40 UTC (permalink / raw
  To: gentoo-commits

commit:     61eadc85882e6f0d021f985043c909ff270f2b2a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 08:39:00 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 08:40:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61eadc85

app-office/libreoffice-voikko: stabilize 5.0 on amd64

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
index 16c64712172..7d9eece935c 100644
--- a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
+++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 DEPEND="app-office/libreoffice[odk]
 	dev-libs/voikko-fi"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/
@ 2019-11-21  8:40 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2019-11-21  8:40 UTC (permalink / raw
  To: gentoo-commits

commit:     fcfa2a31748c97c226e778d1224ec9738640d28a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 08:31:13 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 08:40:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcfa2a31

app-office/libreoffice-voikko: stabilize 5.0 on x86

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
index 407d34087ed..16c64712172 100644
--- a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
+++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 DEPEND="app-office/libreoffice[odk]
 	dev-libs/voikko-fi"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/
@ 2020-01-08 12:54 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2020-01-08 12:54 UTC (permalink / raw
  To: gentoo-commits

commit:     cd7681c873cbff7558a76a1374326d8214ceaf4a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 12:39:00 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 12:52:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7681c8

app-office/libreoffice-voikko: ebuild enhancements

Closes: https://bugs.gentoo.org/704974
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
index 7d9eece935c..4dfc323f80e 100644
--- a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
+++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -35,17 +35,17 @@ pkg_postinst() {
 
 	einfo "Trying to register ${COMPONENT} ..."
 	unopkg add --shared "${COMPONENT}"
-	if [[ $? == 0 ]] ; then
+	if [[ ${?} == 0 ]] ; then
 		einfo "${PN} registered succesfully with LibreOffice."
 	else
-		eerror "Couldn’t register ${PN} with LibreOffice."
+		eerror "Couldn't register ${PN} with LibreOffice."
 	fi
 }
 
 pkg_prerm() {
 	# Remove voikko registration from libreoffice
 	unopkg remove --shared org.puimula.ooovoikko
-	if [[ $? == 0 ]] ; then
+	if [[ ${?} == 0 ]] ; then
 		einfo "${PN} removed succesfully from LibreOffice."
 	else
 		eerror "Couldn't remove ${PN} from LibreOffice, "


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/
@ 2020-10-14  9:21 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2020-10-14  9:21 UTC (permalink / raw
  To: gentoo-commits

commit:     76d908559fe6853cb5ab0f775af7c3df245084a8
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 16:25:28 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct 14 09:21:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76d90855

app-office/libreoffice-voikko: use verify-sig

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-office/libreoffice-voikko/Manifest                      | 1 +
 app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/app-office/libreoffice-voikko/Manifest b/app-office/libreoffice-voikko/Manifest
index aeec9c2c876..a7e9d315d81 100644
--- a/app-office/libreoffice-voikko/Manifest
+++ b/app-office/libreoffice-voikko/Manifest
@@ -1 +1,2 @@
 DIST libreoffice-voikko-5.0.tar.gz 51882 BLAKE2B c4d33f469821b3d3ee15f71c21a2e3fd5474939dda204873e85d9e52aee0d1cd9c01f660d63fdbef87786dbb0b8a88ba4fd45b8aff07b0b35588c9933d4c9cef SHA512 58f139c190acf5c56a8506365c296d06efd95b4422bb66c50e8058231bd10410b202d2a01ad0a2bf82dc0f41565c1e3a07ed86a4ae070d32af8cfd0e56d7eec0
+DIST libreoffice-voikko-5.0.tar.gz.asc 819 BLAKE2B 4305cd6cfccce6ee832cbda6c3b10a7676e94fa968c71f1894c178a3715ec00b477e745ef22b284b06190291748ac71dad2b43ea5d15e49833b0dcb53eabb7ca SHA512 7df7317018904700957691785ba80f1fcb390891fdbf6210a8eb06db5ac4ae1721b8175777685d062af08b52168dd94d5bb4b851c9405501781f1b1257a32cc3

diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
index 4dfc323f80e..a3f28fbbb56 100644
--- a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
+++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
@@ -3,9 +3,12 @@
 
 EAPI=7
 
+inherit verify-sig
+
 DESCRIPTION="Free Finnish spell checking and hyphenation for LibreOffice"
 HOMEPAGE="https://voikko.puimula.org/"
-SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz"
+SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz
+	verify-sig? ( https://www.puimula.org/voikko-sources/libreoffice-voikko/${P}.tar.gz.asc )"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -15,6 +18,9 @@ DEPEND="app-office/libreoffice[odk]
 	dev-libs/voikko-fi"
 RDEPEND="${DEPEND}
 	dev-libs/libvoikko"
+BDEPEND="verify-sig? ( app-crypt/openpgp-keys-voikko )"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc
 
 src_compile() {
 	emake oxt


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/
@ 2020-12-09  8:04 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2020-12-09  8:04 UTC (permalink / raw
  To: gentoo-commits

commit:     acee7b758e961aeb9d92bf034e4803b874b64a69
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  9 08:04:18 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 08:04:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acee7b75

app-office/libreoffice-voikko: allow >=libreoffice-bin-6.4.7.2_p1

 - thanks to dilfridge, 'odk' has been enabled in libreoffice-bin-6.4.7.2_p1
   which now works with libreoffice-voikko.

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 ...ibreoffice-voikko-5.0.ebuild => libreoffice-voikko-5.0-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild b/app-office/libreoffice-voikko/libreoffice-voikko-5.0-r1.ebuild
similarity index 94%
rename from app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
rename to app-office/libreoffice-voikko/libreoffice-voikko-5.0-r1.ebuild
index a3f28fbbb56..5a72ac24f93 100644
--- a/app-office/libreoffice-voikko/libreoffice-voikko-5.0.ebuild
+++ b/app-office/libreoffice-voikko/libreoffice-voikko-5.0-r1.ebuild
@@ -14,7 +14,10 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 x86"
 
-DEPEND="app-office/libreoffice[odk]
+DEPEND="|| (
+		app-office/libreoffice[odk]
+		>=app-office/libreoffice-bin-6.4.7.2_p1
+	)
 	dev-libs/voikko-fi"
 RDEPEND="${DEPEND}
 	dev-libs/libvoikko"


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-09  8:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-09  8:04 [gentoo-commits] repo/gentoo:master commit in: app-office/libreoffice-voikko/ Joonas Niilola
  -- strict thread matches above, loose matches on Subject: below --
2020-10-14  9:21 Joonas Niilola
2020-01-08 12:54 Joonas Niilola
2019-11-21  8:40 Joonas Niilola
2019-11-21  8:40 Joonas Niilola
2019-09-08  6:55 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox