Skip to content

Commit 135f822

Browse files
version 2.6.0
1 parent fab40e8 commit 135f822

File tree

6 files changed

+22
-68
lines changed

6 files changed

+22
-68
lines changed

.github/workflows/debian.yml

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ master ]
99

1010
env:
11-
HORIZON_VERSION: 2.5.0
11+
HORIZON_VERSION: 2.6.0
1212
HORIZON_PKG_VERSION: 1
1313
DEBIAN_FRONTEND: noninteractive
1414
LANG: en_US.UTF-8
@@ -21,22 +21,18 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os:
24-
- distro: debian
25-
release: buster
2624
- distro: debian
2725
release: bullseye
2826
- distro: debian
2927
release: bookworm
30-
- distro: ubuntu
31-
release: bionic
3228
- distro: ubuntu
3329
release: focal
3430
- distro: ubuntu
3531
release: jammy
3632
- distro: ubuntu
37-
release: kinetic
33+
release: noble
3834
- distro: ubuntu
39-
release: lunar
35+
release: oracular
4036
runs-on: ubuntu-latest
4137
container: ${{ matrix.os.distro }}:${{ matrix.os.release }}
4238
steps:
@@ -52,16 +48,19 @@ jobs:
5248
echo "${{ env.LANG }} UTF-8" > /etc/locale.gen
5349
locale-gen
5450
- name: install build utils
55-
run: apt-get install -y devscripts build-essential lintian wget debhelper curl jq reprepro gnupg rsync
51+
run: apt-get install -y devscripts build-essential lintian wget debhelper curl jq reprepro gnupg rsync meson cmake
5652
- name: import gpg key
5753
run: |
5854
echo "${{ secrets.GPG_KEY}}" | gpg --import
5955
gpg --list-keys
6056
- name: install dependencies
61-
run: apt-get install -y git build-essential libsqlite3-dev util-linux librsvg2-dev libcairomm-1.0-dev libepoxy-dev libgtkmm-3.0-dev uuid-dev libzmq5 libzmq3-dev libglm-dev libgit2-dev libcurl4-gnutls-dev liboce-ocaf-dev libpodofo-dev python3 libarchive-dev libspnav-dev git libdxflib-dev
62-
- name: install gcc 8
63-
if: ${{ matrix.os.release == 'bionic' }}
64-
run: apt-get install -y g++-8
57+
run: apt-get install -y git build-essential libsqlite3-dev util-linux librsvg2-dev libcairomm-1.0-dev libepoxy-dev libgtkmm-3.0-dev uuid-dev libzmq5 libzmq3-dev libglm-dev libgit2-dev libcurl4-gnutls-dev libpodofo-dev python3 libarchive-dev libspnav-dev git libdxflib-dev
58+
- name: Install opencascade
59+
run: apt-get install liboce-ocaf-dev -y
60+
if: ${{ matrix.os.release != 'noble' && matrix.os.release != 'oracular' }}
61+
- name: Install opencascade
62+
run: apt-get install libocct-ocaf-dev libocct-data-exchange-dev -y
63+
if: ${{ matrix.os.release == 'noble' || matrix.os.release == 'oracular' }}
6564
- name: download tarball
6665
run: wget https://github.com/horizon-eda/horizon/archive/v${HORIZON_VERSION}.tar.gz -O horizon-eda-upstream_${HORIZON_VERSION}.orig.tar.gz
6766

@@ -71,11 +70,9 @@ jobs:
7170
mv horizon-${HORIZON_VERSION} horizon-eda-upstream-${HORIZON_VERSION}
7271
cp -r debian horizon-eda-upstream-${HORIZON_VERSION}
7372
74-
- name: patch debian/rules to use gcc 8
75-
if: ${{ matrix.os.release == 'bionic' }}
76-
run: |
77-
sed -i '/export CC/s/#//g' horizon-eda-upstream-${HORIZON_VERSION}/debian/rules
78-
sed -i '/export CXX/s/#//g' horizon-eda-upstream-${HORIZON_VERSION}/debian/rules
73+
- name: patch debian/control opencascade package names
74+
run: sed -i "s/liboce-ocaf-dev,/libocct-ocaf-dev,\\n libocct-data-exchange-dev,/" horizon-eda-upstream-${HORIZON_VERSION}/debian/control
75+
if: ${{ matrix.os.release == 'noble' || matrix.os.release == 'oracular' }}
7976

8077
- name: run debuild
8178
run: debuild -uc -us
@@ -84,12 +81,12 @@ jobs:
8481
- name: list files
8582
run: ls
8683
- name: upload debian packages
87-
uses: actions/upload-artifact@v2-preview
84+
uses: actions/upload-artifact@v4
8885
with:
8986
name: packages-${{ matrix.os.distro }}-${{ matrix.os.release }}
9087
path: ./*.*deb
9188
- name: upload debian source files
92-
uses: actions/upload-artifact@v2-preview
89+
uses: actions/upload-artifact@v4
9390
with:
9491
name: source-packages-${{ matrix.os.distro }}-${{ matrix.os.release }}
9592
path: |

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
horizon-eda-upstream (2.6.0-1) stable; urgency=medium
2+
3+
* New upstream version
4+
5+
-- Lukas K <[email protected]> Sun, 19 May 2024 17:04:29 +0200
6+
17
horizon-eda-upstream (2.5.0-1) stable; urgency=medium
28

39
* New upstream version

debian/patches/03-use-system-dxflib.patch

Lines changed: 0 additions & 23 deletions
This file was deleted.

debian/patches/buildflags.patch

Lines changed: 0 additions & 14 deletions
This file was deleted.

debian/patches/series

Lines changed: 0 additions & 2 deletions
This file was deleted.

debian/rules

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export DH_VERBOSE = 1
1010
# package maintainers to append CFLAGS
1111
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
1212
# package maintainers to append LDFLAGS
13-
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
1413
export PREFIX=/usr
1514

1615
#export CXX=g++-8
@@ -19,12 +18,3 @@ export PREFIX=/usr
1918
%:
2019
dh $@
2120

22-
override_dh_clean:
23-
-rm -r docs
24-
-rm -r horizon.so
25-
-rm -f src/preferences/color_presets.json
26-
dh_clean
27-
28-
override_dh_auto_install:
29-
dh_auto_install -- install-man
30-

0 commit comments

Comments
 (0)