Skip to content

Commit 1a97bbe

Browse files
committed
chore: build test for ubuntu 26.04
1 parent f273915 commit 1a97bbe

File tree

14 files changed

+307
-4
lines changed

14 files changed

+307
-4
lines changed

.github/workflows/linux-system.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,27 @@ on:
88

99
jobs:
1010
build:
11+
name: ${{ matrix.container || matrix.os }} (${{ matrix.distribution }})
1112
strategy:
1213
fail-fast: false
1314
matrix:
1415
include:
1516
- os: ubuntu-24.04
1617
distribution: noble
18+
container: ""
19+
apt_prefix: sudo
20+
upload_artifacts: true
21+
- os: ubuntu-latest
22+
distribution: resolute
23+
container: ubuntu:26.04
24+
apt_prefix: ""
25+
upload_artifacts: false
1726

1827
runs-on: ${{ matrix.os }}
28+
container: ${{ matrix.container }}
29+
defaults:
30+
run:
31+
shell: bash
1932

2033
steps:
2134
- uses: actions/checkout@v4
@@ -41,17 +54,17 @@ jobs:
4154
echo "BUILD_FILENAME=$BUILD_FILENAME" >> $GITHUB_OUTPUT
4255
4356
# install some needed tooling
44-
sudo apt-get update
45-
sudo apt-get -y install software-properties-common build-essential dpkg-dev debhelper devscripts
46-
sudo add-apt-repository ppa:casparcg/ppa
57+
$APT_PREFIX apt-get update
58+
$APT_PREFIX apt-get -y install software-properties-common build-essential dpkg-dev debhelper devscripts
59+
$APT_PREFIX add-apt-repository ppa:casparcg/ppa
4760
4861
# Put something in the changelog
4962
export DEBEMAIL="builds@casparcg.com"
5063
export DEBFULLNAME="CasparCG Builds"
5164
dch -v "$BUILD_VERSION" --create -D ${{ matrix.distribution }} --package casparcg-server-beta "Build"
5265
5366
# Install build dependencies
54-
sudo apt-get build-dep .
67+
$APT_PREFIX apt-get -y build-dep .
5568
5669
# update the control file to reference the current cef version
5770
CASPARCG_CEF_VER=$(dpkg-query -W -f='${Version}' casparcg-cef-142)
@@ -63,6 +76,8 @@ jobs:
6376
apt-get download casparcg-scanner
6477
env:
6578
CI: 1
79+
DEBIAN_FRONTEND: noninteractive
80+
APT_PREFIX: ${{ matrix.apt_prefix }}
6681

6782
- name: Run build
6883
run: |
@@ -73,6 +88,7 @@ jobs:
7388

7489
- name: Collect artifacts
7590
id: artifacts
91+
if: ${{ matrix.upload_artifacts }}
7692
run: |
7793
mkdir -p dist
7894
mv ../*.deb dist/
@@ -101,6 +117,7 @@ jobs:
101117
CI: 1
102118

103119
- uses: actions/upload-artifact@v4
120+
if: ${{ matrix.upload_artifacts }}
104121
with:
105122
name: ${{ steps.setup-env.outputs.BUILD_FILENAME }}
106123
path: dist
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.debhelper
2+
debhelper-build-stamp
3+
/casparcg-server-*/
4+
*.log
5+
*.substvars
6+
/files
7+
/tmp/
8+
/changelog
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CHANGELOG.md
2+
LICENSE
3+
README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
debian/casparcg-server-beta.1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
NAME
2+
casparcg-server-beta - layered real-time video compositor to multiple outputs
3+
SYNOPSIS
4+
casparcg-server-beta [path-to-config]
5+
DESCRIPTION
6+
Play out professional graphics, audio and video to multiple outputs as a
7+
layerbased real-time compositor.
8+
9+
If no path-to-config is provided, the default path is 'casparcg.config'.
10+
OPTIONS
11+
There are no options.
12+
AUTHOR
13+
Petter Reinholdtsen <pere@hungry.com> wrote this manual page.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
Source: casparcg-server-beta
2+
Maintainer: Julian Waller <git@julusian.co.uk>
3+
Section: video
4+
Priority: optional
5+
Standards-Version: 4.6.0.1
6+
Build-Depends: cmake,
7+
debhelper-compat (= 13),
8+
dh-exec,
9+
libavcodec-dev,
10+
libavdevice-dev,
11+
libavfilter-dev,
12+
libavformat-dev,
13+
libavutil-dev,
14+
libboost-coroutine-dev,
15+
libboost-date-time-dev,
16+
libboost-dev,
17+
libboost-filesystem-dev,
18+
libboost-locale-dev,
19+
libboost-log-dev,
20+
libboost-regex-dev,
21+
libboost-system-dev,
22+
libboost-thread-dev,
23+
libegl-dev,
24+
libicu-dev,
25+
libglew-dev,
26+
libjpeg-dev,
27+
libopenal-dev,
28+
libsfml-dev,
29+
libsimde-dev,
30+
libswresample-dev,
31+
libswscale-dev,
32+
libtbb-dev,
33+
libxrandr-dev,
34+
pkg-config,
35+
txt2man,
36+
zlib1g-dev,
37+
casparcg-cef-142-dev
38+
Homepage: https://github.com/CasparCG/server/
39+
Vcs-Git: https://github.com/CasparCG/server.git
40+
Vcs-Browser: https://github.com/CasparCG/server/
41+
42+
Package: casparcg-server-beta
43+
Pre-Depends: ${misc:Pre-Depends}
44+
Depends: fonts-liberation, casparcg-cef-142 (= @CASPARCG_CEF_VER@), ${misc:Depends}, ${shlibs:Depends}
45+
Architecture: amd64
46+
Description: layered real-time video compositor to multiple outputs
47+
Play out professional graphics, audio and video to multiple outputs as a
48+
layerbased real-time compositor.
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: casparcg-server
3+
Source: https://github.com/CasparCG/server/
4+
Files-Excluded: resources/windows/flash-template-host-files/*
5+
Comment: fth files are flash binary files not used on Linux
6+
7+
Files: *
8+
Copyright: 2010-2018 Sveriges Television AB
9+
2013 NewTek
10+
License: GPL-3.0+
11+
12+
Files: debian/*
13+
Copyright: 2023 Julian Waller
14+
License: GPL-3.0+
15+
16+
Files: src/common/tweener.cpp
17+
Copyright: 2001 Robert Penner
18+
2011 Sveriges Television AB <info@casparcg.com>
19+
License: GPL-3.0+
20+
21+
Files: src/modules/decklink/linux_interop/*
22+
Copyright: 2009-2014 Blackmagic Design
23+
License: Boost
24+
25+
Files: src/protocol/osc/oscpack/*
26+
Copyright: 2004-2005 Ross Bencina <rossb@audiomulch.com>
27+
License: MIT
28+
29+
Files: src/common/gl/*
30+
Copyright: 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
31+
License: Zlib
32+
This software is provided 'as-is', without any express or implied
33+
warranty. In no event will the authors be held liable for any
34+
damages arising from the use of this software.
35+
.
36+
Permission is granted to anyone to use this software for any purpose,
37+
including commercial applications, and to alter it and redistribute
38+
it freely, subject to the following restrictions:
39+
.
40+
1. The origin of this software must not be misrepresented;
41+
you must not claim that you wrote the original software.
42+
If you use this software in a product, an acknowledgment
43+
in the product documentation would be appreciated but is not required.
44+
.
45+
2. Altered source versions must be plainly marked as such,
46+
and must not be misrepresented as being the original software.
47+
.
48+
3. This notice may not be removed or altered from any source distribution.
49+
50+
Files: src/CMakeModules/FindFFmpeg.cmake
51+
Copyright: 2006 Matthias Kretz, <kretz@kde.org>
52+
2007 Matt Williams
53+
2008 Alexander Neundorf, <neundorf@kde.org>
54+
2011 Michael Jansen, <kde@michael-jansen.biz>
55+
License: BSD-3-clause
56+
57+
Files: src/CMakeModules/FindTBB.cmake
58+
Copyright: ?, Robert Maynard
59+
2010-2012 Kitware, Inc.
60+
2012 Rolf Eike Beer <eike@sf-mail.de>
61+
License: BSD-3-clause
62+
63+
Files: src/modules/bluefish/interop/*
64+
Copyright: 2018, Bluefish Technologies
65+
License: Boost
66+
67+
License: GPL-3.0+
68+
CasparCG is free software: you can redistribute it and/or modify
69+
it under the terms of the GNU General Public License as published by
70+
the Free Software Foundation, either version 3 of the License, or
71+
(at your option) any later version.
72+
.
73+
CasparCG is distributed in the hope that it will be useful,
74+
but WITHOUT ANY WARRANTY; without even the implied warranty of
75+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
76+
GNU General Public License for more details.
77+
.
78+
You should have received a copy of the GNU General Public License
79+
along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
80+
.
81+
On Debian systems, the complete text of the GNU General Public License
82+
Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
83+
84+
License: MIT
85+
Permission is hereby granted, free of charge, to any person
86+
obtaining a copy of this software and associated documentation files
87+
(the 'Software') deal in the Software without restriction,
88+
including without limitation the rights to use, copy, modify, merge,
89+
publish, distribute, sublicense, and/or sell copies of the Software,
90+
and to permit persons to whom the Software is furnished to do so,
91+
subject to the following conditions:
92+
.
93+
The above copyright notice and this permission notice shall be
94+
included in all copies or substantial portions of the Software.
95+
.
96+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
97+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
98+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
99+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
100+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
101+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
102+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
103+
SOFTWARE.
104+
105+
License: BSD-3-Clause
106+
Redistribution and use in source and binary forms, with or without
107+
modification, are permitted provided that the following conditions are met:
108+
.
109+
* Redistributions of source code must retain the above copyright notice,
110+
this list of conditions and the following disclaimer.
111+
* Redistributions in binary form must reproduce the above copyright notice,
112+
this list of conditions and the following disclaimer in the documentation
113+
and/or other materials provided with the distribution.
114+
* The name of the author may be used to endorse or promote products
115+
derived from this software without specific prior written permission.
116+
.
117+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
118+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
119+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
120+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
121+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
122+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
123+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
124+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
125+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
126+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
127+
THE POSSIBILITY OF SUCH DAMAGE.
128+
129+
License: Apache-2.0
130+
Licensed under the Apache License, Version 2.0 (the "Apache License")
131+
with the following modification; you may not use this file except in
132+
compliance with the Apache License and the following modification to it:
133+
Section 6. Trademarks. is deleted and replaced with:
134+
.
135+
6. Trademarks. This License does not grant permission to use the trade
136+
names, trademarks, service marks, or product names of the Licensor
137+
and its affiliates, except as required to comply with Section 4(c) of
138+
the License and to reproduce the content of the NOTICE file.
139+
.
140+
You may obtain a copy of the Apache License at
141+
.
142+
http://www.apache.org/licenses/LICENSE-2.0
143+
.
144+
Unless required by applicable law or agreed to in writing, software
145+
distributed under the Apache License with the above modification is
146+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
147+
KIND, either express or implied. See the Apache License for the specific
148+
language governing permissions and limitations under the Apache License.
149+
.
150+
On Debian systems, the complete text of the Apache 2.0 License can be
151+
found in `/usr/share/common-licenses/Apache-2.0'.
152+
153+
License: Boost
154+
Permission is hereby granted, free of charge, to any person or organization
155+
obtaining a copy of the software and accompanying documentation covered by
156+
this license (the "Software") to use, reproduce, display, distribute,
157+
execute, and transmit the Software, and to prepare derivative works of the
158+
Software, and to permit third-parties to whom the Software is furnished to
159+
do so, all subject to the following:
160+
.
161+
The copyright notices in the Software and this entire statement, including
162+
the above license grant, this restriction and the following disclaimer,
163+
must be included in all copies of the Software, in whole or in part, and
164+
all derivative works of the Software, unless such copies or derivative
165+
works are solely in the form of machine-executable object code generated by
166+
a source language processor.
167+
.
168+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
169+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
170+
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
171+
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
172+
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
173+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
174+
DEALINGS IN THE SOFTWARE.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[DEFAULT]
2+
pristine-tar = True
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
0xxx: Grabbed from upstream development.
2+
1xxx: Possibly relevant for upstream adoption.
3+
2xxx: Only relevant for packaging.

tools/linux/deb/ubuntu-resolute/debian/patches/series

Whitespace-only changes.

0 commit comments

Comments
 (0)