Skip to content

Commit 145efcd

Browse files
committed
Improve armv6l-packages and remove various outdated references/commands
1 parent ba3b5e5 commit 145efcd

12 files changed

Lines changed: 29 additions & 71 deletions

File tree

.github/workflows/build-ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
runs-on: ubuntu-latest
1818
continue-on-error: true
1919
name: Build on Raspberry Pi ${{ matrix.arch }}
20+
env:
21+
NODIRTY: ${{ secrets.NODIRTY }}
2022
strategy:
2123
matrix:
2224
arch: [armv6l, armv7l, aarch64]
@@ -104,6 +106,7 @@ jobs:
104106
# Pass some environment variables to the container
105107
env: | # YAML, but pipe character is necessary
106108
artifact_name: git-${{ matrix.distro }}_${{ matrix.arch }}
109+
NODIRTY: ${{ secrets.NODIRTY }}
107110
108111
109112
# The shell to run commands with in the container
@@ -191,6 +194,8 @@ jobs:
191194
run: git config --global --add safe.directory /__w/tvheadend/tvheadend
192195
- name: build
193196
run: AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\ --enable-ffmpeg_static\ --enable-hdhomerun_static\ --python=python3 ./Autobuild.sh ${{ (startsWith(matrix.container, 'i386') && '-a i386') || '' }}
197+
env:
198+
NODIRTY: ${{ secrets.NODIRTY }}
194199
- name: copy-result
195200
run: cp ../tvheadend*.deb .
196201
- uses: actions/upload-artifact@v3
@@ -230,5 +235,5 @@ jobs:
230235
name: Tvheadend-RPM
231236
path: tvheadend*.rpm
232237
if-no-files-found: error
233-
# - name: upload-cloudsmith
234-
# run: support/cloudsmith.sh -n -f 'tvheadend*.rpm'
238+
- name: upload-cloudsmith
239+
run: support/cloudsmith.sh -n -f 'tvheadend*.rpm'

.github/workflows/build-cloudsmith.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
CLOUDSMITH_REPO: ${{ vars.CLOUDSMITH_REPO }}
1919
CLOUDSMITH_OWNER: ${{ secrets.CLOUDSMITH_OWNER }}
2020
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_KEY }}
21+
NODIRTY: ${{ secrets.NODIRTY }}
2122
strategy:
2223
matrix:
2324
arch: [armv6l, armv7l, aarch64]
@@ -109,6 +110,7 @@ jobs:
109110
CLOUDSMITH_REPO: ${{ vars.CLOUDSMITH_REPO }}
110111
CLOUDSMITH_OWNER: ${{ secrets.CLOUDSMITH_OWNER }}
111112
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_KEY }}
113+
NODIRTY: ${{ secrets.NODIRTY }}
112114
113115
114116
# The shell to run commands with in the container
@@ -197,6 +199,8 @@ jobs:
197199
run: git config --global --add safe.directory /__w/tvheadend/tvheadend
198200
- name: build
199201
run: AUTOBUILD_CONFIGURE_EXTRA=--enable-ccache\ --enable-ffmpeg_static\ --enable-hdhomerun_static\ --python=python3 ./Autobuild.sh ${{ (startsWith(matrix.container, 'i386') && '-a i386') || '' }}
202+
env:
203+
NODIRTY: ${{ secrets.NODIRTY }}
200204
- name: copy-result
201205
run: cp ../tvheadend*.deb .
202206
- uses: actions/upload-artifact@v3

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ debian/changelog
3838
debian/files
3939
debian/tvheadend
4040
debian/tvheadend-dbg
41+
debian/tvheadend-armv6l
42+
debian/tvheadend-dbg-armv6l
4143
debian/tvheadend*substvars
4244
debian/tvheadend*.debhelper*
4345

Autobuild.sh

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ do
4848
ARCHOVR="$OPTARG"
4949
;;
5050
p)
51-
OSPREFIX="$OPTARG"
52-
;;
51+
OSPREFIX="$OPTARG"
52+
;;
5353
o)
5454
OP="$OPTARG"
5555
;;
@@ -66,22 +66,6 @@ fi
6666

6767
TARGET=$OSPREFIX$TARGET
6868

69-
#
70-
# $1 = local file path
71-
# $2 = type
72-
# $3 = content-type
73-
# $4 = filename
74-
#
75-
artifact() {
76-
echo "doozer-artifact:$PWD/$1:$2:$3:$4"
77-
echo "$PWD/$1" >> "$FILELIST"
78-
}
79-
80-
versioned_artifact() {
81-
echo "doozer-versioned-artifact:$PWD/$1:$2:$3:$4"
82-
echo "$PWD/$1" >> "$FILELIST"
83-
}
84-
8569
git status
8670

8771
if [ -f Autobuild/${TARGET}.sh ]; then

Autobuild/armv6l.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
AUTOBUILD_CONFIGURE_EXTRA="${AUTOBUILD_CONFIGURE_EXTRA:-} --arch=armel"
22
sed -i -E '/-armv6l$/! s/^Package: (.*)(-armv6l)*$/Package: \1-armv6l/g' debian/control
33
sed -i -E 's/^Depends: tvheadend/Depends: tvheadend-armv6l/g' debian/control
4-
sed -i -E '/armv6l/! s/package=tvheadend([^ ]*)/package=tvheadend\1-armv6l/g' debian/rules
4+
sed -i -E '/armv6l/! s/package=tvheadend([^ ]*)/package=tvheadend\1-armv6l/g' debian/rules
5+
sed -i -E '/armv6l/! s/--destdir=debian\/tvheadend/--destdir=debian\/tvheadend-armv6l/g' debian/rules

Autobuild/debian.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ END {
2424
print out;
2525
}' debian/control`
2626

27-
case "${DEBDIST}" in
28-
precise|trusty|jessie|raspbianjessie)
29-
BUILD_DEPS=`echo ${BUILD_DEPS} | sed -e 's/libpcre2-dev/libpcre3-dev/g'` ;;
30-
esac
31-
3227
build()
3328
{
3429
$(dirname $0)/support/changelog "$CHANGELOG" "$DEBDIST" "$VER"
@@ -48,14 +43,6 @@ build()
4843
export USE_CCACHE
4944

5045
dpkg-buildpackage -b -us -uc
51-
52-
for a in ../tvheadend*${VER}*.deb; do
53-
versioned_artifact "$a" deb application/x-deb `basename $a`
54-
done
55-
56-
for a in ../tvheadend*${VER}*.changes; do
57-
versioned_artifact "$a" changes text/plain `basename $a`
58-
done
5946
}
6047

6148
clean()

CONTRIBUTING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ For further info, please see https://tvheadend.org/projects/tvheadend/wiki/Contr
99
## Before you start
1010

1111
* Make sure you have a [GitHub account](https://github.com/signup/free)
12-
* Make sure you have a [Redmine account](https://tvheadend.org)
13-
* Log on to the IRC channel (#hts on freenode), this is the best place to discussion development work.
12+
* Log on to the [Forum](https://tvheadend.org), this is the best place to discussion development work.
1413
* Fork the repository on Github
1514

1615
## Making Changes
@@ -33,8 +32,8 @@ This fixes #1234.
3332
# Additional Resources
3433

3534
* [More information on contributing](https://tvheadend.org/projects/tvheadend/wiki/Contributors)
36-
* [Bug tracker (Redmine)](https://tvheadend.org)
35+
* [Forum](https://tvheadend.org)
3736
* [General GitHub documentation](http://help.github.com/)
3837
* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
39-
* #hts IRC channel on freenode.org
38+
* #hts IRC channel on libera.chat
4039

debian/control

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Source: tvheadend
22
Section: video
33
Priority: extra
4-
Maintainer: Adam Sutton <aps@tvheadend.org>
4+
Maintainer: Tvheadend Project <admin@tvheadend.org>
55
Build-Depends: debhelper (>= 7.0.50), pkg-config, gettext, libavahi-client-dev, libssl-dev | libssl1.0-dev, zlib1g-dev, wget, bzip2, git-core, liburiparser-dev, python | python3, python-requests | python3-requests, ca-certificates, cmake, libpcre2-dev | libpcre3-dev, libdvbcsa-dev
66
Standards-Version: 3.7.3
77

8-
Package: tvheadend
8+
Package: tvheadend-armv6l
99
Architecture: any
1010
Depends: ${shlibs:Depends}, libavahi-client3, zlib1g, liburiparser1, bzip2
1111
Recommends: xmltv-util, python, python-requests
@@ -17,10 +17,10 @@ Description: Tvheadend
1717
- supports a variety of inputs (DVB-S(2)/T(2)/C, ISDB-S/T/C, ATSC-T/C, IPTV, SAT>IP, HDHR)
1818
- supports a variety of clients (Movian, Smart TV, Kodi, VLC)
1919

20-
Package: tvheadend-dbg
20+
Package: tvheadend-dbg-armv6l
2121
Architecture: any
2222
Section: debug
2323
Priority: extra
24-
Depends: tvheadend (= ${binary:Version}), ${misc:Depends}
24+
Depends: tvheadend-armv6l (= ${binary:Version}), ${misc:Depends}
2525
Description: Debug symbols for Tvheadend
2626
This package contains the debugging symbols for Tvheadend.

debian/copyright

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
HTS Tvheadend is copyright (c) Andreas Öman 2006 - 2009
1+
HTS Tvheadend is copyright (c) Tvheadend Project 2006 - 2024
22

33
This program is free software: you can redistribute it and/or modify
44
it under the terms of the GNU General Public License as published by

debian/rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ override_dh_auto_build:
1515
make ${JARGS}
1616

1717
override_dh_strip:
18-
dh_strip --dbg-package=tvheadend-dbg
18+
dh_strip --dbg-package=tvheadend-dbg-armv6l
1919

2020
override_dh_shlibdeps:
2121
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
2222

2323
override_dh_auto_install:
2424
dh_systemd_enable || true
2525
dh_systemd_start || true
26-
dh_auto_install --destdir=debian/tvheadend
26+
dh_auto_install --destdir=debian/tvheadend-armv6l
2727

2828
override_dh_auto_clean:

0 commit comments

Comments
 (0)