Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] hunspell: change openoffice search path to libreoffice
Date: Mon, 06 Jan 2020 02:46:20 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18064@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

There is a new pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages hunspell
https://github.com/void-linux/void-packages/pull/18064

hunspell: change openoffice search path to libreoffice
Closes: #18052
Signed-off-by: Nathan Owens <ndowens04@gmail.com>

A patch file from https://github.com/void-linux/void-packages/pull/18064.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hunspell-18064.patch --]
[-- Type: text/x-diff, Size: 3022 bytes --]

From 740ddbf0c278f8557294be928efe11ac360258c8 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens04@gmail.com>
Date: Sun, 5 Jan 2020 19:40:02 -0600
Subject: [PATCH] hunspell: change openoffice search path to libreoffice

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
---
 srcpkgs/hunspell/patches/search_path.patch | 34 ++++++++++++++++++++++
 srcpkgs/hunspell/template                  |  4 +--
 2 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/hunspell/patches/search_path.patch

diff --git a/srcpkgs/hunspell/patches/search_path.patch b/srcpkgs/hunspell/patches/search_path.patch
new file mode 100644
index 00000000000..24608654b32
--- /dev/null
+++ b/srcpkgs/hunspell/patches/search_path.patch
@@ -0,0 +1,34 @@
+diff --git src/tools/hunspell.cxx src/tools/hunspell.cxx
+index 690e34a..d9b094d 100644
+--- src/tools/hunspell.cxx
++++ src/tools/hunspell.cxx
+@@ -119,25 +119,11 @@
+   "/usr/share/hunspell:"      \
+   "/usr/share/myspell:"       \
+   "/usr/share/myspell/dicts:" \
+-  "/Library/Spelling"
+-#define USEROOODIR {                  \
+-  ".openoffice.org/3/user/wordbook", \
+-  ".openoffice.org2/user/wordbook",  \
+-  ".openoffice.org2.0/user/wordbook",\
+-  "Library/Spelling" }
++  "/usr/share/mozilla-dicts"
++#define USEROOODIR {								 \
++   ".config/libreoffice/4/user/wordbook" }
+ #define OOODIR                                       \
+-  "/opt/openoffice.org/basis3.0/share/dict/ooo:"     \
+-  "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
+-  "/opt/openoffice.org2.4/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.4/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.3/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.3/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.2/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.2/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.1/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.1/share/dict/ooo:"       \
+-  "/opt/openoffice.org2.0/share/dict/ooo:"           \
+-  "/usr/lib/openoffice.org2.0/share/dict/ooo"
++	"/usr/lib/libreoffice/share/wordbook"
+ #define HOME getenv("HOME")
+ #define DICBASENAME ".hunspell_"
+ #define LOGFILE "/tmp/hunspell.log"
diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template
index 93287db1615..46da84a580e 100644
--- a/srcpkgs/hunspell/template
+++ b/srcpkgs/hunspell/template
@@ -1,15 +1,15 @@
 # Template file for 'hunspell'
 pkgname=hunspell
 version=1.7.0
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--with-ui"
 hostmakedepends="automake bison libtool pkg-config"
 makedepends="ncurses-devel"
 short_desc="Spell checker and morphological analyzer"
 maintainer="Orphaned <orphan@voidlinux.org>"
-homepage="https://hunspell.github.io/"
 license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1"
+homepage="https://hunspell.github.io/"
 distfiles="https://github.com/hunspell/hunspell/archive/v${version}.tar.gz"
 checksum=bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a
 

             reply	other threads:[~2020-01-06  1:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-06  1:46 voidlinux-github [this message]
2020-01-06  1:55 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-06  8:01 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18064@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).