Package Details: subtitlecomposer 0.6.6-2

Git Clone URL: (read-only)
Package Base: subtitlecomposer
Description: A KDE subtitle editor
Upstream URL:
Keywords: composer editor kde subtitle
Licenses: GPL
Submitter: Martchus
Maintainer: Martchus (maxrd2)
Last Packager: Martchus
Votes: 14
Popularity: 0.084284
First Submitted: 2015-09-02 23:50
Last Updated: 2018-04-11 21:32

Pinned Comments

Martchus commented on 2016-05-18 21:59

All my packages are managed at GitHub where you can also contribute directly:
There also exist a binary repository (i686 and x86_64, also contains Git version):

Latest Comments

Martchus commented on 2017-05-24 21:20

I've just rebuild the package in a clean chroot. Not sure why you're getting this error. Could you provide a little bit more of the output (not just the end)? Which makedepends/optdepends do you use?

andre-fernando commented on 2017-05-24 06:45

I am getting a build error:

make[1]: *** [CMakeFiles/Makefile2:2470: src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build subtitlecomposer.

any idea how to fix this?

mikronimo commented on 2017-02-08 13:48

@Martchus: i Just tried to update pocketsphinx, but, still, it requires gst0.10... anyway, i'll try what you said, thanks for the answer.

EDIT: I updated subtitlecomposer, and modified the PKGBUILD (at the prompt request about it); compilation and installation are gone well; the issue, for what about me, is solved. Thanks again.

Martchus commented on 2017-02-08 12:11

mikronimo: Did you read the comments about optional dependencies in the PKGBUILD? I propose you just comment the pocketsphinx dependencies out. There is no real benefit having it anyways because pocketsphinx integration isn't ready yet (as far as I know). But wait, hasn't pocketsphinx already been updated to use new gstreamer?

mikronimo commented on 2017-02-08 02:37

I had all working untill the last update; now that gstreamer0.10 became obsolete in manjaro, i removed it, since the new gstreamer1.10 works in his place; subtitle compser has like dependency gstreamer1.10, but pocketsphinx still have the 0.10 version, so i can't update unless i reinstall it: is there a solution without doing that?

Martchus commented on 2016-05-18 21:59

All my packages are managed at GitHub where you can also contribute directly:
There also exist a binary repository (i686 and x86_64, also contains Git version):

Martchus commented on 2016-05-10 20:56

Just to not confuse people which haven't read the last comments, I'm referring to this version of the PKGBUILD:

allum: I added pocketsphinx as optional dependency. However, to be able to build the plugin, pocketsphinx must be available at build time. There is no way around it. If you comment the pocketsphinx make-dependency out, you should also out comment the optional dependency for pocketsphinx because in the case the pocketsphinx hasn't been built and hence the package can not make use of pocketsphinx afterwards. That's actually the reason why you got the error message in the first place. I also mentioned this in the comments I've added to the PKGBUILD file itself. The version in my binary repo does not have the pocketsphinx optdep yet (just the make dep and hence the plugin is available), because I forgot to add it and I don't think it is worth to rebuild it (it will be rebuild soon enough when the next version is released).

Actually, pocketsphinx does not take long to build so it isn't an "annoying dependency" anyways. The problem is just that the version which is currently available in the AUR doesn't build. I already posted my fixed versions in the comment sections of sphinxbase and pocketsphinx, so the maintainer can fix it.

alium commented on 2016-05-10 19:54

can you make pocketsphinx as optional and no as 'hard' dependencies?

Martchus commented on 2016-05-10 16:14

I fixed the AUR package for sphinxbase and pocketsphinx and added it as make dependency so the plugin will be build.

You can find the updated packages (sphinxbase, pocketsphinx, subtitlecomposer and subtitlecomposer-git) here:

However, I don't think it makes sense to update the subtitlecomposer package here until the issues in the pocketsphinx and sphinxbase packages are fixed. Otherwise I'll probably get complaints that the package is not building.

If you don't want to build everything on your own, you can also use my binary repository (i686, x86_64):

Martchus commented on 2016-05-10 14:10

There is currently no package for pocketsphinx available in the official repositories. Last time I tried to build the version from the AUR it didn't work. That's why I didn't add pocketsphinx to the dependencies.

If you want to build the pocketsphinx plugin, add pocketsphinx to the dependencies and try to build it (eg. from the AUR) before. (You also need to build sphinxbase before.)

alium commented on 2016-05-10 13:57

Can not build - missing "pocketsphinx":

Package pocketsphinx was not found in the pkg-config search path.
Perhaps you should add the directory containing `pocketsphinx.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pocketsphinx' found
CMake Warning at src/speechplugins/CMakeLists.txt:12 (message):
PocketSphinx not found - Speech plugin will not be built

-- Configuring incomplete, errors occurred!

maxigaz commented on 2016-04-13 15:47

Thank you for the advice! Removing PocketSphinx worked, indeed.

PocketSphinx was installed from the official repos of Manjaro Linux, which is currently outdated. I'll try with the AUR package next time.

Martchus commented on 2016-04-13 12:08

I just changed the pkgver in the last update (rebuilding is required because of ICU update).

You might try to build it without the PocketSphinx plug-in. If you need it, ensure you have the latest version installed.

maxigaz commented on 2016-04-13 12:01

When trying to update from 0.6.3-1 to 0.6.3-2, compilation fails towards the end. Here is the terminal output I get:

[ 97%] Building CXX object src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o
/tmp/yaourt-tmp-xxx/aur-subtitlecomposer/src/subtitlecomposer-0.6.3/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp: In member function ‘void SubtitleComposer::PocketSphinxPlugin::processUtterance()’:
/tmp/yaourt-tmp-xxx/aur-subtitlecomposer/src/subtitlecomposer-0.6.3/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:95:42: error: too few arguments to function ‘ps_seg_t* ps_seg_iter(ps_decoder_t*, int32*)’
ps_seg_t *iter = ps_seg_iter(m_psDecoder);
In file included from /tmp/yaourt-tmp-xxx/aur-subtitlecomposer/src/subtitlecomposer-0.6.3/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:25:0:
/usr/include/pocketsphinx/pocketsphinx.h:462:11: note: declared here
ps_seg_t *ps_seg_iter(ps_decoder_t *ps, int32 *out_best_score);
src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/build.make:62: recipe for target 'src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o' failed
make[2]: *** [src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o] Error 1
CMakeFiles/Makefile2:2469: recipe for target 'src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all' failed
make[1]: *** [src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Martchus commented on 2016-02-07 21:09

It seems like dependencies for the backends MVP, Xine and gstreamer must be present at compile time. Hence I added these optional dependencies to the regular deps. Read the comment in the PKGBUILD file. I enabled Xine and gstreamer and disabled MVP by default.

Currently I wouldn't recommend to use the binary repository noted in the PKGBUILD file as the dependencies of this binary package doesn't match what really is required by the new version. (See the comment below for my own repository.)

EDIT: This is no longer valid since release 0.6.0. gstreamer is now always required. The other backends are now pluggable. Of course Xine/MPV must be present to build the plugins in the first place.

Martchus commented on 2015-11-07 22:43

I've just updated the package since the previous version didn't work when building for i686 architecture.

I hope this fixes your issue, but I can't say it exactly, because the error message you've provided misses the interesting part. But I guess before "compilation terminated." you've got:
"In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0,
from /usr/include/gstreamer-1.0/gst/gst.h:35,
from /build/subtitlecomposer/src/subtitlecomposer-0.5.7/src/services/gstreamer/gstreamerplayerbackend.h:33,
from /build/subtitlecomposer/src/subtitlecomposer-0.5.7/src/services/player.cpp:24:
/usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory"

I use a workaround to prevent this error and as I sayed it should now also work for i686.

By the way, here's a link to my binary repository:
(The link in the PKGBUILD file is from the maintainer in the old AUR but I think he doesn't update the repository very frequently.)

dare023 commented on 2015-11-07 19:56

Update fails:
compilation terminated.
src/services/tests/CMakeFiles/services-wavewritertest.dir/build.make:374: recipe for target 'src/services/tests/CMakeFiles/services-wavewritertest.dir/__/player.o' failed
make[2]: *** [src/services/tests/CMakeFiles/services-wavewritertest.dir/__/player.o] Error 1
CMakeFiles/Makefile2:1709: recipe for target 'src/services/tests/CMakeFiles/services-wavewritertest.dir/all' failed
make[1]: *** [src/services/tests/CMakeFiles/services-wavewritertest.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2