Package Details: subtitlecomposer-git 0.7.1+git298.fe1477b5-2

Git Clone URL: https://aur.archlinux.org/subtitlecomposer-git.git (read-only, click to copy)
Package Base: subtitlecomposer-git
Description: A KDE subtitle editor (git version)
Upstream URL: https://invent.kde.org/multimedia/subtitlecomposer
Keywords: composer editor kde subtitle
Licenses: GPL
Conflicts: subtitlecomposer
Provides: subtitlecomposer
Submitter: maxrd2
Maintainer: maxrd2 (Martchus)
Last Packager: Martchus
Votes: 5
Popularity: 0.170270
First Submitted: 2016-02-07 03:20 (UTC)
Last Updated: 2023-10-20 09:04 (UTC)

Latest Comments

1 2 Next › Last »

jan666 commented on 2023-12-10 16:28 (UTC)

@xiota

I had troubles with this too on Manjaro. Finally figured it out i had pocketsphinx installed so the build process recognized this and tries to build SC with speech recognition even if disabled in pkgbuild.

Uninstall pocketsphinx did the trick, and clean build SC again

xiota commented on 2023-11-13 07:21 (UTC)

As previously reported (Aug 2023), attempting to build with pocketsphinx enabled continues to fail.

[100%] Linking CXX executable test-core-richdocumentlayout
/home/main-builder/pkgwork/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp: In member function ‘virtual bool SubtitleComposer::PocketSphinxPlugin::init()’:
/home/main-builder/pkgwork/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:43:22: error: ‘cmd_ln_init’ was not declared in this scope; did you mean ‘cmd_ln_t’?
   43 |         m_psConfig = cmd_ln_init(nullptr, ps_args(), true,
      |                      ^~~~~~~~~~~
      |                      cmd_ln_t
/home/main-builder/pkgwork/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:69:25: error: ‘cmd_ln_int32_r’ was not declared in this scope
   69 |         m_psFrameRate = cmd_ln_int32_r(m_psConfig, "-frate");
      |                         ^~~~~~~~~~~~~~
/home/main-builder/pkgwork/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp: In member function ‘virtual void SubtitleComposer::PocketSphinxPlugin::cleanup()’:
/home/main-builder/pkgwork/src/subtitlecomposer/src/speechplugins/pocketsphinx/pocketsphinxplugin.cpp:88:17: error: ‘cmd_ln_free_r’ was not declared in this scope
   88 |                 cmd_ln_free_r(m_psConfig);
      |                 ^~~~~~~~~~~~~
make[2]: *** [src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/build.make:121: src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/pocketsphinxplugin.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable test-core-subtitle
make[1]: *** [CMakeFiles/Makefile2:1403: src/speechplugins/pocketsphinx/CMakeFiles/pocketsphinxasr.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Built target test-core-richdocumentlayout
[100%] Built target test-core-subtitle
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().

xiota commented on 2023-10-20 15:20 (UTC)

No epoch bump necessary.

$ vercmp 0.7.1.r298.gf31477b5  0.7.1+git298.fe1477b5
1

$ vercmp --help
vercmp (pacman) v6.0.2

Compare package version numbers using pacman's version comparison logic.

Usage: vercmp <ver1> <ver2>

Output values:
  < 0 : if ver1 < ver2
    0 : if ver1 == ver2
  > 0 : if ver1 > ver2

Martchus commented on 2023-10-20 15:15 (UTC) (edited on 2023-10-20 15:16 (UTC) by Martchus)

I agree that the versioning scheme could be improved. Maybe this requires bumping the epoch. I'll leave it up to the main maintainer to decide on the exact version scheme to be used.

xiota commented on 2023-08-19 16:45 (UTC)

Please update pkgver():

  • $srcdir can contain spaces, so should be guarded by quotes
  • Produce version strings in format: #.#.#.r#.g# to match VCS package guidelines.
pkgver() {
  cd "$srcdir/$_name"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

maxrd2 commented on 2023-08-01 06:58 (UTC)

@xiota pocketsphinx is optional for speech recognition, so it compiles with and without it.

MarsSeed commented on 2023-08-01 01:35 (UTC)

First the source should be switched from the abandoned fork branch 'obs/latest' of the now-unofficial old repo to the current upstream repo's master branch:

https://invent.kde.org/multimedia/subtitlecomposer.git

xiota commented on 2023-08-01 00:46 (UTC) (edited on 2023-08-01 00:54 (UTC) by xiota)

Clean chroot. Fails to build. Should pocketsphinx be disabled by default, like in subtitlecomposer?

asteri0n commented on 2022-10-24 00:28 (UTC)

Thank you Martchus. That solved my problem.

Martchus commented on 2022-10-23 21:32 (UTC)

Simply recompile this package against the new icu package.