Package Details: clapper 0.6.0-1

Git Clone URL: https://aur.archlinux.org/clapper.git (read-only, click to copy)
Package Base: clapper
Description: A modern media player powered by GStreamer and built for the GNOME desktop environment.
Upstream URL: https://github.com/Rafostar/clapper
Keywords: clapper media player
Licenses: GPL-3.0-or-later AND LGPL-2.1-or-later
Conflicts: clapper
Provides: clapper, libclapper-0.0, libclapper-gtk-0.0
Submitter: sp1rit
Maintainer: sp1rit
Last Packager: sp1rit
Votes: 21
Popularity: 0.044431
First Submitted: 2021-02-27 13:24 (UTC)
Last Updated: 2024-06-15 17:39 (UTC)

Latest Comments

1 2 Next › Last »

sp1rit commented on 2024-05-28 12:05 (UTC)

@Stunkymonkey: cmake is not needed. Meson is just notifying you that it can't use cmake to resolve dependencies. As clapper just uses dependencies using pkg-config this is perfectly fine.

As to your build error, it seems like your missing libexpat or it is outdated (< 2.6.0). But thats a packacking issue of the python package, not clapper.

fabiscafe commented on 2024-05-23 09:29 (UTC)

@Stunkymonkey I have 0 experience with docker as build system. If you're able to run anything from within the image, this should work:

git clone https://aur.archlinux.org/clapper.git 
pkgctl build clapper

Stunkymonkey commented on 2024-05-22 18:52 (UTC)

@fabiscafe sorry i mixed this on up with another comment i was writing. But the output is still the same and correct. I am using the docker image to compile archlinux:base-devel

fabiscafe commented on 2024-05-22 17:40 (UTC)

@Stunkymonkey

FAILED: src/lib/clapper/features/mpris/clapper-mpris-gdbus.c 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.mpris. --c-namespace ClapperMpris --body --output src/lib/clapper/features/mpris/clapper-mpris-gdbus.c ../src/lib/clapper/features/mpris/clapper-mpris-gdbus.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "/usr/share/glib-2.0/codegen/codegen_main.py", line 31, in <module>
    from . import parser
  File "/usr/share/glib-2.0/codegen/parser.py", line 22, in <module>
    import xml.parsers.expat
  File "/usr/lib/python3.12/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib/python3.12/lib-dynload/pyexpat.cpython-312-x86_64-linux-gnu.so: undefined symbol: XML_SetReparseDeferralEnabled

this looks more like your system is in a problematic state. clapper doesnt use cmake.

Stunkymonkey commented on 2024-05-22 16:28 (UTC)

cmake is missing as a "makedepends".

Additionally It does not compile for me:

...
Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Configuring com.github.rafostar.Clapper.service using configuration
Dependency gio-2.0 found: YES 2.80.2 (cached)
Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/usr/bin/update-desktop-database)
Program update-mime-database found: YES (/usr/bin/update-mime-database)
Dependency gio-2.0 found: YES 2.80.2 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring config.h using configuration
Program gi-docgen found: NO
Program dot found: YES (/usr/bin/dot)
Build targets in project: 81

clapper 0.6.0

  Directories
    prefix            : /usr
    bindir            : bin
    datadir           : share
    libdir            : lib
    localedir         : share/locale
    includedir        : include
    optimization      : plain

  Build
    clapper           : Yes
    clapper-gtk       : Yes
    clapper-app       : Yes
    gst-plugin        : Yes
    introspection     : Yes
    vapi              : Yes
    doc               : No

  Features
    discoverer        : Yes
    mpris             : Yes
    server            : Yes

  User defined options
    auto_features     : enabled
    buildtype         : plain
    libexecdir        : lib
    prefix            : /usr
    sbindir           : bin
    wrap_mode         : nodownload
    python.bytecompile: 1
    b_pie             : true

Found ninja-1.12.1 at /usr/bin/ninja
==> Starting build()...                                                                                                                                                                                              
ninja: Entering directory `_build'
[1/157] Generating gdbus header src/lib/clapper/features/mpris/clapper-mpris-gdbus.h
FAILED: src/lib/clapper/features/mpris/clapper-mpris-gdbus.h 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.mpris. --c-namespace ClapperMpris --header --output src/lib/clapper/features/mpris/clapper-mpris-gdbus.h ../src/lib/clapper/features/mpris/clapper-mpris-gdbus.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "/usr/share/glib-2.0/codegen/codegen_main.py", line 31, in <module>
    from . import parser
  File "/usr/share/glib-2.0/codegen/parser.py", line 22, in <module>
    import xml.parsers.expat
  File "/usr/lib/python3.12/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib/python3.12/lib-dynload/pyexpat.cpython-312-x86_64-linux-gnu.so: undefined symbol: XML_SetReparseDeferralEnabled
[2/157] Generating gdbus source src/lib/clapper/features/mpris/clapper-mpris-gdbus.c
FAILED: src/lib/clapper/features/mpris/clapper-mpris-gdbus.c 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.mpris. --c-namespace ClapperMpris --body --output src/lib/clapper/features/mpris/clapper-mpris-gdbus.c ../src/lib/clapper/features/mpris/clapper-mpris-gdbus.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "/usr/share/glib-2.0/codegen/codegen_main.py", line 31, in <module>
    from . import parser
  File "/usr/share/glib-2.0/codegen/parser.py", line 22, in <module>
    import xml.parsers.expat
  File "/usr/lib/python3.12/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib/python3.12/lib-dynload/pyexpat.cpython-312-x86_64-linux-gnu.so: undefined symbol: XML_SetReparseDeferralEnabled
[8/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstclappersink.c.o
../src/lib/gst/plugin/gstclappersink.c: In function ‘gst_clapper_sink_start_on_main’:
../src/lib/gst/plugin/gstclappersink.c:561:5: warning: ‘gtk_css_provider_load_from_data’ is deprecated: Use 'gtk_css_provider_load_from_string' instead [-Wdeprecated-declarations]
  561 |     gtk_css_provider_load_from_data (provider,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:99,
                 from ../src/lib/gst/plugin/gstclappersink.h:22,
                 from ../src/lib/gst/plugin/gstclappersink.c:24:
/usr/include/gtk-4.0/gtk/gtkcssprovider.h:49:18: note: declared here
   49 | void             gtk_css_provider_load_from_data (GtkCssProvider  *css_provider,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstclapperimporter.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

sp1rit commented on 2024-04-23 18:14 (UTC)

Minty: install python-packaging. It for some reason* doesn't get pulled in by glib as dependency even tho it ought to.

*apparently due to cycles

Minty commented on 2024-04-23 17:50 (UTC) (edited on 2024-04-23 17:51 (UTC) by Minty)

Hello this doesnt work for me

ninja: Entering directory `_build'
[1/157] Building translation src/lib/clapper-gtk/po/ar/LC_MESSAGES/clapper-gtk-ar.mo
[2/157] Building translation src/lib/clapper-gtk/po/ca/LC_MESSAGES/clapper-gtk-ca.mo
[3/157] Building translation src/lib/clapper-gtk/po/ast/LC_MESSAGES/clapper-gtk-ast.mo
[4/157] Building translation src/lib/clapper-gtk/po/cs/LC_MESSAGES/clapper-gtk-cs.mo
[5/157] Building translation src/lib/clapper-gtk/po/de/LC_MESSAGES/clapper-gtk-de.mo
[6/157] Generating gdbus header src/lib/clapper/features/mpris/clapper-mpris-gdbus.h
FAILED: src/lib/clapper/features/mpris/clapper-mpris-gdbus.h 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.mpris. --c-namespace ClapperMpris --header --output src/lib/clapper/features/mpris/clapper-mpris-gdbus.h ../src/lib/clapper/features/mpris/clapper-mpris-gdbus.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "/usr/share/glib-2.0/codegen/codegen_main.py", line 30, in <module>
    from . import dbustypes
  File "/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
[7/157] Building translation src/lib/clapper-gtk/po/eu/LC_MESSAGES/clapper-gtk-eu.mo
[8/157] Building translation src/lib/clapper-gtk/po/fa/LC_MESSAGES/clapper-gtk-fa.mo
[9/157] Generating gdbus source src/lib/clapper/features/mpris/clapper-mpris-gdbus.c
FAILED: src/lib/clapper/features/mpris/clapper-mpris-gdbus.c 
/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.mpris. --c-namespace ClapperMpris --body --output src/lib/clapper/features/mpris/clapper-mpris-gdbus.c ../src/lib/clapper/features/mpris/clapper-mpris-gdbus.xml
Traceback (most recent call last):
  File "/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "/usr/share/glib-2.0/codegen/codegen_main.py", line 30, in <module>
    from . import dbustypes
  File "/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
[10/157] Building translation src/lib/clapper-gtk/po/es/LC_MESSAGES/clapper-gtk-es.mo
[11/157] Generating GObject enum file src/lib/clapper/clapper-enum-types.h (wrapped by meson because command contains newlines, to capture output)
[12/157] Generating GObject enum file src/lib/clapper/clapper-enum-types.c (wrapped by meson because command contains newlines, to capture output)
[13/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstclappercontexthandler.c.o
[14/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstgtkutils.c.o
[15/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstclapperpaintable.c.o
[16/157] Compiling C object src/lib/gst/plugin/importers/libgstclapperrawimporter.so.p/gstclapperrawimporter.c.o
[17/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstclapperimporter.c.o
[18/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstplugin.c.o
[19/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstclapperimporterloader.c.o
../src/lib/gst/plugin/gstclapperimporterloader.c: In function ‘_obtain_available_modules_once’:
../src/lib/gst/plugin/gstclapperimporterloader.c:142:7: warning: ‘g_module_build_path’ is deprecated [-Wdeprecated-declarations]
  142 |       module_path = g_module_build_path (CLAPPER_SINK_IMPORTER_PATH, module_name);
      |       ^~~~~~~~~~~
In file included from ../src/lib/gst/plugin/gstclapperimporterloader.c:24:
/usr/include/glib-2.0/gmodule.h:142:23: note: declared here
  142 | gchar*                g_module_build_path    (const gchar  *directory,
      |                       ^~~~~~~~~~~~~~~~~~~
[20/157] Compiling C object src/lib/gst/plugin/libgstclapper.so.p/gstclappersink.c.o
../src/lib/gst/plugin/gstclappersink.c: In function ‘gst_clapper_sink_start_on_main’:
../src/lib/gst/plugin/gstclappersink.c:561:5: warning: ‘gtk_css_provider_load_from_data’ is deprecated: Use 'gtk_css_provider_load_from_string' instead [-Wdeprecated-declarations]
  561 |     gtk_css_provider_load_from_data (provider,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:99,
                 from ../src/lib/gst/plugin/gstclappersink.h:22,
                 from ../src/lib/gst/plugin/gstclappersink.c:24:
/usr/include/gtk-4.0/gtk/gtkcssprovider.h:49:18: note: declared here
   49 | void             gtk_css_provider_load_from_data (GtkCssProvider  *css_provider,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[21/157] Compiling C object src/lib/gst/plugin/importers/libgstclapperglimporter.so.p/gstclapperglimporter.c.o
[22/157] Compiling C object src/lib/gst/plugin/importers/libgstclappergluploader.so.p/gstclappergluploader.c.o
[23/157] Compiling C object src/lib/gst/plugin/handlers/gl/libgstclapperglcontexthandler.so.0.6.0.p/gstclapperglcontexthandler.c.o
../src/lib/gst/plugin/handlers/gl/gstclapperglcontexthandler.c: In function ‘gst_clapper_gl_context_handler_make_gl_texture’:
../src/lib/gst/plugin/handlers/gl/gstclapperglcontexthandler.c:573:3: warning: ‘gdk_gl_texture_new’ is deprecated: Use 'GdkGLTextureBuilder' instead [-Wdeprecated-declarations]
  573 |   texture = gdk_gl_texture_new (
      |   ^~~~~~~
In file included from /usr/include/gtk-4.0/gdk/gdk.h:59,
                 from /usr/include/gtk-4.0/gtk/gtk.h:30,
                 from ../src/lib/gst/plugin/handlers/gl/gstclapperglcontexthandler.h:27,
                 from ../src/lib/gst/plugin/handlers/gl/gstclapperglcontexthandler.c:24:
/usr/include/gtk-4.0/gdk/gdkgltexture.h:43:25: note: declared here
   43 | GdkTexture *            gdk_gl_texture_new                     (GdkGLContext    *context,
      |                         ^~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

SolarAquarion commented on 2024-03-22 19:50 (UTC)

can you change gtuber to gtuber-git?

MischiefTomato commented on 2022-07-13 16:44 (UTC)

Youtube videos fail to load unless gtuber-git is installed.

gorneman commented on 2022-07-11 18:28 (UTC)

Hi, the new version will be released? theanks