Skip to content

Commit d0dbfdc

Browse files
fix(ci/package_on_device): do not conflict gh release upload archive filename with packages.yml (#2044)
* revbump(tur/darktable): for `imath` 3.2.2 * revbump(tur-on-device/openshadinglanguage): for `imath` 3.2.2 * revbump(tur-on-device/usd): for `openvdb` 13.0.0 * revbump(tur-on-device/blender): for `openvdb` 13.0.0 * revbump(tur-on-device/blender4): for `openvdb` 13.0.0 * fix(ci/package_on_device): do not conflict `gh release upload` `archive` filename with `packages.yml` * fix(common-files/building-system-patches): change `git fetch` in `lint-packages.sh` to TUR URL
1 parent df8f87d commit d0dbfdc

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

.github/workflows/package_on_device.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,10 @@ jobs:
282282
run: |
283283
GITHUB_SHA=${{ github.sha }}
284284
for archive in debs-*/debs-{aarch64,arm,i686,x86_64}-${{ github.sha }}.tar; do
285-
gh release upload -R https://github.com/termux-user-repository/tur "0.1" $archive
286-
echo "$archive uploaded"
285+
tur_on_device_archive="${archive//.tar/-tur-on-device.tar}"
286+
mv "$archive" "$tur_on_device_archive"
287+
gh release upload -R https://github.com/termux-user-repository/tur "0.1" "$tur_on_device_archive"
288+
echo "$tur_on_device_archive uploaded"
287289
done
288290
- name: Trigger workflow in dists repository
289291
env:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
'git reset HEAD~' is TEMPORARY - work around bug in lint-packages.sh
2+
will discuss with Tomjo2000 and fix upstream later
3+
4+
--- a/scripts/lint-packages.sh
5+
+++ b/scripts/lint-packages.sh
6+
@@ -124,7 +124,8 @@ check_indentation() {
7+
# We'll need the 'origin/master' as a base commit when running the version check.
8+
# So try fetching it now if it doesn't exist.
9+
+git reset HEAD~
10+
if ! base_commit="HEAD~$(git rev-list --count FETCH_HEAD..)"; then
11+
- git fetch https://github.com/termux/termux-packages.git
12+
+ git fetch https://github.com/termux-user-repository/tur.git
13+
base_commit="HEAD~$(git rev-list --count FETCH_HEAD..)"
14+
fi
15+

tur-on-device/blender/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TERMUX_PKG_DESCRIPTION="A fully integrated 3D graphics creation suite (legacy ve
55
TERMUX_PKG_LICENSE="GPL-3.0-or-later"
66
TERMUX_PKG_MAINTAINER="@termux-user-repository"
77
TERMUX_PKG_VERSION=1:3.6.23
8-
TERMUX_PKG_REVISION=2
8+
TERMUX_PKG_REVISION=3
99
TERMUX_PKG_SRCURL=git+https://projects.blender.org/blender/blender
1010
# Blender does not support 32-bit
1111
TERMUX_PKG_EXCLUDED_ARCHES="arm, i686"

tur-on-device/blender4/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ TERMUX_PKG_DESCRIPTION="A fully integrated 3D graphics creation suite"
55
TERMUX_PKG_LICENSE="GPL-3.0-or-later"
66
TERMUX_PKG_MAINTAINER="@termux-user-repository"
77
TERMUX_PKG_VERSION=4.5.4
8-
TERMUX_PKG_REVISION=1
8+
TERMUX_PKG_REVISION=2
99
TERMUX_PKG_SRCURL=git+https://projects.blender.org/blender/blender
1010
# Blender does not support 32-bit
1111
TERMUX_PKG_EXCLUDED_ARCHES="arm, i686"

tur-on-device/openshadinglanguage/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Advanced shading language for production GI renderers"
33
TERMUX_PKG_LICENSE="BSD 3-Clause"
44
TERMUX_PKG_MAINTAINER="@termux-user-repository"
55
TERMUX_PKG_VERSION="1.14.7.0"
6-
TERMUX_PKG_REVISION=1
6+
TERMUX_PKG_REVISION=2
77
TERMUX_PKG_SRCURL="https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/releases/download/v$TERMUX_PKG_VERSION/OSL-$TERMUX_PKG_VERSION.tar.gz"
88
TERMUX_PKG_SHA256=45b2b9de1bae6854fb8af0d332c3266898871d95741bdb6abe8178cd6d01aef2
99
TERMUX_PKG_DEPENDS="freetype, imath, libc++, libpng, libtiff, ncurses, openimageio, qt6-qtbase, zlib"

tur-on-device/usd/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="High-performance extensible software platform for collab
33
TERMUX_PKG_LICENSE="Apache-2.0"
44
TERMUX_PKG_MAINTAINER="@termux-user-repository"
55
TERMUX_PKG_VERSION="25.11"
6-
TERMUX_PKG_REVISION=1
6+
TERMUX_PKG_REVISION=2
77
TERMUX_PKG_SRCURL="https://github.com/PixarAnimationStudios/OpenUSD/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz"
88
TERMUX_PKG_SHA256=c37c633b5037a4552f61574670ecca8836229b78326bd62622f3422671188667
99
TERMUX_PKG_DEPENDS="alembic, draco, embree, fmt, glew, imath, libc++, libx11, libxt, materialx, libandroid-glob, libtbb, opencolorio, openexr, openimageio, openshadinglanguage, opensubdiv, openvdb, ptex, pyside6, python-opengl"

tur/darktable/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Virtual lighttable and darkroom for photographers"
33
TERMUX_PKG_LICENSE="GPL-3.0"
44
TERMUX_PKG_MAINTAINER="@termux-user-repository"
55
TERMUX_PKG_VERSION="5.2.0"
6-
TERMUX_PKG_REVISION=1
6+
TERMUX_PKG_REVISION=2
77
TERMUX_PKG_SRCURL=https://github.com/darktable-org/darktable/releases/download/release-${TERMUX_PKG_VERSION}/darktable-${TERMUX_PKG_VERSION}.tar.xz
88
TERMUX_PKG_SHA256=53a46cd46ef7118485c4abf4ab407c181639bb8634243ec0ed1f7c1e8299bec6
99
TERMUX_PKG_DEPENDS="exiv2, gdk-pixbuf, glib, graphicsmagick, gtk3, imath, json-glib, lensfun, libandroid-glob, libc++, libcairo, libcurl, libheif, libicu, libjpeg-turbo, libjxl, libllvm, liblua54, libpng, libpugixml, librsvg, libsqlite, libtiff, libwebp, libxml2, littlecms, ltrace, openexr, openjpeg, pango, portmidi, zlib"

0 commit comments

Comments
 (0)