Skip to content

"[MultiBoot.py]" fix ValueError: invalid literal for int() with base … #914

"[MultiBoot.py]" fix ValueError: invalid literal for int() with base …

"[MultiBoot.py]" fix ValueError: invalid literal for int() with base … #914

Workflow file for this run

name: Enigma2 Python3
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
gcc: [13]
python: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: install dep packages
run: |
python -m pip install --upgrade pip
pip install six
- uses: actions/checkout@v4
- name: install gcc ${{ matrix.gcc }}
run: |
sudo apt-get -q update
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get install g++-${{ matrix.gcc }}
- name: install dev packages
run: |
sudo apt-get -q update
sudo apt remove -y libunwind-14-dev
sudo apt-get install linux-libc-dev
sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install automake
sudo apt-get install libtool
sudo apt-get install python3-dev
sudo apt-get install zlib1g-dev
sudo apt-get install gettext
sudo apt-get install swig
sudo apt-get install libgstreamer1.0-dev
sudo apt-get install libgstreamer-plugins-base1.0-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install libfribidi-dev
sudo apt-get install libavahi-client-dev
sudo apt-get install libjpeg-turbo8-dev
sudo apt-get install libgif-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install mm-common
- name: build enigma2 dependencies
id: depends
continue-on-error: true
env:
CC: "gcc-${{ matrix.gcc }}"
CXX: "g++-${{ matrix.gcc }}"
run: |
echo "installing libdvbsi++"
pushd .
cd /tmp
git clone --depth 1 https://github.com/oe-alliance/libdvbsi.git
cd libdvbsi
autoreconf -i
./configure
make
sudo make install
popd
echo "installing libsigc++-3"
pushd .
cd /tmp
git clone --depth 1 https://github.com/dbus-cxx/libsigc--3.0.git
cd libsigc--3.0
autoreconf -i
./configure
make
sudo make install
popd
echo "installing tuxbox"
pushd .
cd /tmp
git clone --depth 1 https://github.com/OpenPLi/tuxtxt.git
cd tuxtxt/libtuxtxt
autoreconf -i
./configure --with-boxtype=generic DVB_API_VERSION=5
make
sudo make install
cd ../tuxtxt
autoreconf -i
./configure --with-boxtype=generic DVB_API_VERSION=5
make
sudo make install
popd
- name: Check on failures
if: steps.depends.outcome != 'success'
run: |
cat /tmp/libdvbsi/config.log
exit 1
- name: patch enigma cpp files
run: |
sed -i 's/mallinfo2/mallinfo/g' main/enigma.cpp
- name: build enigma2
env:
CC: "gcc-${{ matrix.gcc }}"
CXX: "g++-${{ matrix.gcc }}"
run: |
echo compiling enigma2
autoreconf -i
./configure --with-libsdl=no --with-boxtype=nobox --enable-dependency-tracking ac_cv_prog_c_openmp=-fopenmp --with-gstversion=1.0 --with-textlcd
make
python -m compileall .
echo done!