Package Details: mediathekview-xdg 14.0.0-4

Git Clone URL: https://aur.archlinux.org/mediathekview-xdg.git (read-only, click to copy)
Package Base: mediathekview-xdg
Description: Access the Mediathek of many German TV stations (store data in XDG_DATA_HOME)
Upstream URL: https://github.com/mediathekview/mediathekview
Licenses: GPL-3.0-or-later
Conflicts: mediathek
Provides: mediathek
Replaces: mediathek
Submitter: harmathy
Maintainer: harmathy
Last Packager: harmathy
Votes: 0
Popularity: 0.000000
First Submitted: 2023-01-17 07:44 (UTC)
Last Updated: 2024-04-08 20:39 (UTC)

Dependencies (10)

Required by (0)

Sources (3)

Latest Comments

harmathy commented on 2024-04-08 20:39 (UTC)

@martin-de indeed, building in a container worked with Java 22. I synced some changes from the community package. I'll have a look into whether the version pinning can be avoided.

martin-de commented on 2024-04-05 11:18 (UTC)

You should build the package by the recommended way in a clean chroot, then you can also build it for the current Java version 22.

The Java version should be passed in a variable and not a fixed value (as David Runge did with the _java_version variable). This makes changes easier and is less prone to errors.

The question is whether a specific version needs to be specified at all, because the developer specifies Java-20 as the minimum requirement for version 14.0.0, and that is always guaranteed in a current Arch environment.

harmathy commented on 2024-04-05 07:59 (UTC)

@dreieck sadly I coudn't get the package to build with openjdk 22.

You could try to do a partial upgrade (yes, I know: bad) of the package jdk21-openjdk:

pacman -Sy jdk21-openjdk

and then proceed with the upgrade or uninstall mediathekview-xdg, do the upgrade and the re-install.

dreieck commented on 2024-04-03 18:24 (UTC)

Up to date version of java in Arch Linux now is version 22.

Dependency java-runtime-openjdk=21 causes conflicts/ breakage of input, consider if you can update it to newer version (maybe java-runtime-openjdk>=21?)

Regards!

martin-de commented on 2023-11-10 09:42 (UTC)

Thank you for your response. I tried it again with the additional dependency, and the package could now be built in a clean chroot. namcap still gives a warning

 mediathekview-xdg W: Dependency included, but may not be needed ('xdg-user-dirs')

out, so the dependency is probably only needed to build the package.

However... if you start "mediathek" from the terminal, you see hundreds of exceptions and it doesn't work properly either. For example, the applications hang when trying to open the filter settings. There are again a lot of exceptions and the dialog window appears small and without content in the upper left corner of the screen. You can move it and enlarge it, but in result the application hangs now.

I'm not sure if this is a program problem that can only be solved upstream, or a bug in building the package; In any case, the application cannot be used. The warning about the missing profiles still appears, but I'm not sure what the implications are. For the moment, I am back on version 13.9.1

harmathy commented on 2023-11-09 17:58 (UTC)

@martin-de Cause was a missing dependency. Please try again!

harmathy commented on 2023-11-09 17:11 (UTC) (edited on 2023-11-09 17:29 (UTC) by harmathy)

@martin-de I can't reproduce the issue. I get the warnings as well. But the package build works for me.

edit: I can reproduce the issue now in a containerized environment

martin-de commented on 2023-11-09 10:33 (UTC)

Building process failed:

 [WARNING] The requested profile "linux" could not be activated because it does not exist.
 [WARNING] The requested profile "install4j-linux" could not be activated because it does not exist.
 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project MediathekView: There are test failures.

Aborting and no package created.