Hi,
while packaging speechnote 4.9.0 for opensuse, I found the following issues:
In the file cmake/espeak.cmake in the project espeak the line:
INSTALL_COMMAND make DESTDIR=/ install
is missing. Without it espeak gets installed in the BUILDROOT directory
instead of the BUILD directory.
The same is true for the file camke/rhvoice.cmake, missing
INSTALL_COMMAND make DESTDIR=/ install
The following part of the patch openfst.patch
diff -ruN openfst-org/src/include/fst/fst.h openfst-patched/src/include/fst/fst.h
--- openfst-org/src/include/fst/fst.h 2021-02-07 09:38:45.000000000 +0100
+++ openfst-patched/src/include/fst/fst.h 2024-10-06 17:38:03.698500302 +0200
@@ -701,8 +701,8 @@
properties_.store(impl.properties_.load(std::memory_order_relaxed),
std::memory_order_relaxed);
type_ = impl.type_;
- isymbols_ = impl.isymbols_ ? impl.isymbols_->Copy() : nullptr;
- osymbols_ = impl.osymbols_ ? impl.osymbols_->Copy() : nullptr;
- isymbols_ = fst::WrapUnique(impl.isymbols_ ? impl.isymbols_->Copy() : nullptr);
- osymbols_ = fst::WrapUnique(impl.osymbols_ ? impl.osymbols_->Copy() : nullptr);
return *this;
}
cannot be applied to openfst.
Either the patch is obsolete or it needs to be rebased.
Hi,
while packaging speechnote 4.9.0 for opensuse, I found the following issues:
In the file cmake/espeak.cmake in the project espeak the line:
INSTALL_COMMAND make DESTDIR=/ installis missing. Without it espeak gets installed in the BUILDROOT directory
instead of the BUILD directory.
The same is true for the file camke/rhvoice.cmake, missing
INSTALL_COMMAND make DESTDIR=/ installThe following part of the patch openfst.patch
diff -ruN openfst-org/src/include/fst/fst.h openfst-patched/src/include/fst/fst.h
--- openfst-org/src/include/fst/fst.h 2021-02-07 09:38:45.000000000 +0100
+++ openfst-patched/src/include/fst/fst.h 2024-10-06 17:38:03.698500302 +0200
@@ -701,8 +701,8 @@
properties_.store(impl.properties_.load(std::memory_order_relaxed),
std::memory_order_relaxed);
type_ = impl.type_;
return *this;
}
cannot be applied to openfst.
Either the patch is obsolete or it needs to be rebased.