Package Details: subtitlecomposer-git 0.8.0+git105.e588beff-1

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: maxrd2
Votes: 5
Popularity: 0.025643
First Submitted: 2016-02-07 03:20 (UTC)
Last Updated: 2024-05-22 20:30 (UTC)

Latest Comments

1 2 Next › Last »

maxrd2 commented on 2024-05-22 20:40 (UTC)

The xorg-server-xvfb was moved to checkdepends.
Build depends on KF6 now, although it should build fine with KF5 too.

matheuz1210 commented on 2024-05-18 15:07 (UTC)

ah, i was testing out the qt6 version, so i didn't notice that (it compiled nice, but i haven't actually used it yet, sorry)

Martchus commented on 2024-05-18 12:33 (UTC)

You are right. Unfortunately, the package currently doesn't compile anyway as of icu 75. This needs upstream changes or a hacky workaround on our side.

matheuz1210 commented on 2024-05-18 04:58 (UTC)

shouldn't xorg-server-xvfb be on checkdepends instead of makedepends?

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.