Package Details: subsync 0.17-5

Git Clone URL: https://aur.archlinux.org/subsync.git (read-only, click to copy)
Package Base: subsync
Description: Subtitle Speech Synchronizer
Upstream URL: https://subsync.online
Licenses: GPL3
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 3
Popularity: 0.020984
First Submitted: 2021-08-16 22:58 (UTC)
Last Updated: 2022-05-29 17:44 (UTC)

Latest Comments

G4Zz0L1 commented on 2022-05-09 18:39 (UTC)

Can you fix this PKGBUILD? Or can you point me to some direction to install it correctly? The docs doesn't mention how to install it with python-wheel and I don't know python that much. Thanks in advance!

G4Zz0L1 commented on 2022-04-23 13:14 (UTC)

Lately I've this on the compilation stage instead

gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -fPIC -DNDEBUG=1 -DUSE_PYBIND11=1 -Igizmo -I/usr/include/python3.10 -I/usr/include/sphinxbase -I/usr/include/pocketsphinx -I/usr/lib/python3.10/site-packages/pybind11/include -I/usr/lib/python3.10/site-packages/pybind11/include -c gizmo/media/audiodec.cpp -o build/temp.linux-x86_64-3.10/gizmo/media/audiodec.o -O3 -g -std=c++14 -fvisibility=hidden -fomit-frame-pointer -fexpensive-optimizations
gizmo/media/audiodec.cpp: In member function ‘virtual bool AudioDec::feed(const AVPacket*)’:
gizmo/media/audiodec.cpp:105:35: error: ‘av_get_default_channel_layout’ was not declared in this scope
  105 |                                 = av_get_default_channel_layout(m_frame->channels);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gizmo/media/audiodec.cpp: In member function ‘virtual void AudioDec::flush()’:
gizmo/media/audiodec.cpp:117:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  117 |         av_init_packet(&packet);
      |         ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45,
                 from gizmo/media/decoder.h:9,
                 from gizmo/media/audiodec.h:4,
                 from gizmo/media/audiodec.cpp:1:
/usr/include/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1

ERROR Backend subproccess exited when trying to invoke build_wheel

yochananmarqos commented on 2022-04-15 18:26 (UTC) (edited on 2022-04-15 18:26 (UTC) by yochananmarqos)

I made a couple fixes, but there's still an issue with the way the setup.py uses pkg-config to check for the FFMPeg modules. Not quite sure how to fix that yet.

G4Zz0L1 commented on 2022-04-15 17:47 (UTC)

Same, in a clean chroot with aurto (aurutils chroot)

txtsd commented on 2022-03-04 05:18 (UTC)

Builds fails for me with:

gizmo/media/audiodec.cpp: In member function ‘virtual bool AudioDec::feed(const AVPacket*)’:
gizmo/media/audiodec.cpp:105:35: error: ‘av_get_default_channel_layout’ was not declared in this scope
  105 |                                 = av_get_default_channel_layout(m_frame->channels);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gizmo/media/audiodec.cpp: In member function ‘virtual void AudioDec::flush()’:
gizmo/media/audiodec.cpp:117:23: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  117 |         av_init_packet(&packet);
      |         ~~~~~~~~~~~~~~^~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45,
                 from gizmo/media/decoder.h:9,
                 from gizmo/media/audiodec.h:4,
                 from gizmo/media/audiodec.cpp:1:
/usr/include/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
    Aborting...

Herlock commented on 2022-01-18 18:21 (UTC)

Thanks!

EgidioCaprino commented on 2022-01-18 18:20 (UTC)

@Herlock I have the same problem. We should wait for python-wxpython to be updated

Herlock commented on 2022-01-18 18:17 (UTC) (edited on 2022-01-18 18:19 (UTC) by Herlock)

I am running this program on Manjaro KDE and I am getting the same error:

Slider.SetValue(): argument 1 has unexpected type 'float' Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/subsync/main.py", line 73, in gui win = MainWin(None, task) File "/usr/lib/python3.10/site-packages/subsync/gui/mainwin.py", line 71, in init self.m_sliderMaxDist.SetValue(settings().windowSize / 60.0) TypeError: Slider.SetValue(): argument 1 has unexpected type 'float'

Anyone knows how I can solve this?

e-v commented on 2022-01-10 14:08 (UTC)

@EdidioCaprino: Could it be this bug? https://github.com/sc0ty/subsync/issues/133 It seems to have been fixed in wxpython, but only in the development version.

Unfortunately, I can't get https://aur.archlinux.org/packages/python-wxpython41/ to build.

EgidioCaprino commented on 2022-01-10 10:37 (UTC)

I'm getting the argument 1 has unexpected type 'float' error. I've rebuilt subsync and don't have any packages that depend on Python 3.9:

$ pacman -Qoq /usr/lib/python3.9
error: No package owns /usr/lib/python3.9

How could I fix this issue?

kouros17 commented on 2021-12-15 07:55 (UTC) (edited on 2021-12-15 11:52 (UTC) by kouros17)

Failed to install because:

Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/subsync/__main__.py", line 73, in gui win = MainWin(None, task) File "/usr/lib/python3.10/site-packages/subsync/gui/mainwin.py", line 71, in __init__ self.m_sliderMaxDist.SetValue(settings().windowSize / 60.0) TypeError: Slider.SetValue(): argument 1 has unexpected type 'float'

It has to be rebuilt due to the upgrade of python 3.9 to python 3.10 https://www.reddit.com/r/archlinux/comments/rf6c84/psa_python_310_is_in_core_rebuild_your_aur/