Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kodi-addon-inputstream-ffmpegdirect can't build under Manjaro XFCE #253

Open
HRompel opened this issue Oct 3, 2023 · 8 comments
Open

kodi-addon-inputstream-ffmpegdirect can't build under Manjaro XFCE #253

HRompel opened this issue Oct 3, 2023 · 8 comments

Comments

@HRompel
Copy link

HRompel commented Oct 3, 2023

Hello,

inxi -Fx System: Host: heiko-g750js Kernel: 6.5.3-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 Desktop: Xfce v: 4.18.1 Distro: Manjaro Linux base: Arch Linux Machine: Type: Laptop System: ASUSTeK product: G750JS v: 1.0 serial: <superuser required> Mobo: ASUSTeK model: G750JS v: 1.0 serial: <superuser required> BIOS: American Megatrends v: G750JS.208 date: 07/17/2014 Battery: ID-1: BAT0 charge: 49.1 Wh (100.0%) condition: 49.1/77.0 Wh (63.8%) volts: 14.8 min: 14.8 model: ASUSTeK G750-59 status: not charging Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K270 charge: 100% (should be ignored) status: discharging Device-2: hidpp_battery_1 model: Logitech Marathon Mouse/Performance Plus M705 charge: 55% (should be ignored) status: discharging CPU: Info: quad core model: Intel Core i7-4700HQ bits: 64 type: MT MCP arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB Speed (MHz): avg: 1961 high: 3400 min/max: 800/3400 cores: 1: 800 2: 2300 3: 2395 4: 800 5: 2395 6: 3400 7: 800 8: 2800 bogomips: 38334 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel arch: Gen-7.5 bus-ID: 00:02.0 Device-2: NVIDIA GK104M [GeForce GTX 870M] vendor: ASUSTeK driver: N/A arch: Kepler bus-ID: 01:00.0 Device-3: Chicony USB2.0 HD UVC WebCam driver: uvcvideo type: USB bus-ID: 3-7:4 Display: x11 server: X.org v: 1.21.1.8 driver: X: loaded: intel dri: i965 gpu: i915 resolution: <missing: xdpyinfo/xrandr> resolution: 1920x1080 API: EGL v: 1.5 drivers: crocus,swrast platforms: active: x11,surfaceless,device inactive: gbm,wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.1.7-1 glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 4600 (HSW GT2) Audio: Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel v: kernel bus-ID: 00:03.0 Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK 8 driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 API: ALSA v: k6.5.3-1-MANJARO status: kernel-api Server-1: sndiod v: N/A status: off Server-2: JACK v: 1.9.22 status: off Server-3: PipeWire v: 0.3.80 status: off Server-4: PulseAudio v: 16.1 status: active Network: Device-1: Broadcom BCM4352 802.11ac Wireless Network Adapter vendor: AzureWave driver: wl v: kernel bus-ID: 03:00.0 IF: wlp3s0 state: up mac: 54:27:1e:86:41:b5 Device-2: Qualcomm Atheros QCA8171 Gigabit Ethernet vendor: ASUSTeK driver: alx v: kernel port: d000 bus-ID: 04:00.0 IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: 40:16:7e:11:a1:29 Bluetooth: Device-1: IMC Networks BCM20702A0 driver: btusb v: 0.8 type: USB bus-ID: 3-5:3 Report: btmgmt ID: hci0 rfk-id: 1 state: up address: 54:27:1E:6B:2D:E3 bt-v: 4.0 lmp-v: 6 Drives: Local Storage: total: 1.6 TiB used: 801.22 GiB (49.0%) ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS541515A9E630 size: 1.36 TiB ID-2: /dev/sdb vendor: SanDisk model: SD5SE2256G1002E size: 238.47 GiB Partition: ID-1: / size: 233.67 GiB used: 12.72 GiB (5.4%) fs: ext4 dev: /dev/sdb1 Swap: Alert: No swap data was found. Sensors: System Temperatures: cpu: 45.0 C mobo: N/A Fan Speeds (rpm): cpu: 2200 Info: Processes: 233 Uptime: 23m Memory: total: 32 GiB note: est. available: 30.8 GiB used: 3.67 GiB (11.9%) Init: systemd Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: 1140 Shell: Bash v: 5.1.16 inxi: 3.3.30
I try to install kodi-addon-inputstream-ffmpegdirect, but the build-process break.
build-error.txt

Is the problem know?

Greetings from Germany
Heiko Rompel

@daiaji
Copy link

daiaji commented Oct 3, 2023

I have a modified PKGBUILD that can compile, but even after successful compilation, timeshift cannot be used, as it seems to crash. I am currently investigating the specific malfunction.


2023-10-04 01:37:27.117 T:6578 error <general>: CCurlFile::Open - <https://live.fanmingming.com/tv/e.xml> Failed with code 404:$
It appears to be merely a configuration issue, it seems usable.

@HRompel
Copy link
Author

HRompel commented Oct 5, 2023

Hello if i follow this way:

Build instructions
Linux

git clone --branch master https://github.com/xbmc/xbmc.git
git clone https://github.com/xbmc/inputstream.ffmpegdirect.git
cd inputstream.ffmpegdirect && mkdir build && cd build
cmake -DADDONS_TO_BUILD=inputstream.ffmpegdirect -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/build/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
make

I become this error:


Build instructions
Linux

git clone --branch master https://github.com/xbmc/xbmc.git
git clone https://github.com/xbmc/inputstream.ffmpegdirect.git
cd inputstream.ffmpegdirect && mkdir build && cd build
cmake -DADDONS_TO_BUILD=inputstream.ffmpegdirect -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/build/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons
make

Greetings from germany
Heiko

@daiaji
Copy link

daiaji commented Oct 6, 2023

Is there an input error? Also, you can try my PKGBUILD.

# Maintainer: ivanich
pkgname=kodi-addon-inputstream-ffmpegdirect
pkgver=20.5.0
pkgrel=2
pkgdesc="Inputstream ffmpegdirect kodi plugin"
_koditarget=Nexus
_gitname=inputstream.ffmpegdirect
_kodiver=20.2
arch=('armv6h' 'armv7h' 'aarch64' 'i686' 'x86_64')
url="https://github.com/xbmc/${_gitname}"
license=('GPL')
groups=('kodi')
makedepends=('cmake' 'git' 'autoconf' 'automake' 'patch' 'nasm' 'pkgconf')
provides=('kodi-addon-inputstream-ffmpegdirect')
depends=('kodi')
source=("git+https://github.com/daiaji/${_gitname}.git#branch=${_koditarget}"
        "https://github.com/xbmc/xbmc/archive/${_kodiver}-${_koditarget}.tar.gz"
)

sha256sums=('SKIP'
            '4e81abf81172812bc8891f69a7a80a2b846298cecaae7b5009725e28a3040c23')

build() {
        mkdir -p "${_gitname}/build"
        cd "${_gitname}/build"

        cmake \
                -DCMAKE_INSTALL_PREFIX=/usr \
                -DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \
                -DCMAKE_BUILD_TYPE=Release \
                -DBUILD_SHARED_LIBS=1 \
                -DADDONS_TO_BUILD=${_gitname} \
                -DADDON_SRC_PREFIX=../.. \
                ../../xbmc-${_kodiver}-${_koditarget}/cmake/addons
        make
}

package() {
        cd "${_gitname}/build"
        install -d "${pkgdir}/usr"
        mv .install/lib "${pkgdir}/usr/"
        mv .install/share "${pkgdir}/usr/"
}

@HRompel
Copy link
Author

HRompel commented Oct 6, 2023

Hello, with your PKGBUILD it works.
After the build is runnig, the manjaro xfce paketmanager giv me the information that a update from 20.5.0-1 to 20.5.0-2 avaible is.

If i accept the Update, the pKGBUILD means it will update to 20.5.0-1. This doesn't works.
I change in the pkgbuild "pkgrel=1" to "pkgrel=2" and its works.

Thanks
Heiko

p.S. I cant use the great "p" in this inputfield again - crazy.

@daiaji
Copy link

daiaji commented Oct 7, 2023

If I want to release PKGBUILD, it seems that these modifications are necessary, but can inputstream.ffmpegdirect itself work properly? Just need to set up the PVR plugin normally, so inputstream.ffmpegdirect can work properly?

@HRompel
Copy link
Author

HRompel commented Oct 7, 2023

Hello,

but can inputstream.ffmpegdirect itself work properly?
Just need to set up the PVR plugin normally, so inputstream.ffmpegdirect can work properly?
I can use it. With Kodi 20.2.0 (Manjaro Repo) it work now.

Heiko

@krissen
Copy link

krissen commented Jan 2, 2024

Also, you can try my PKGBUILD.

Thank you!

@HRompel
Copy link
Author

HRompel commented Mar 17, 2024

With the new 20.5.0-3 the PKGBUILD doesn't works.
Manjaro can't install the newplugin version.

And now?

Greetings from germany
Heiko

make-error.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants