chore: rename to forge (steel)

This commit is contained in:
2025-11-01 20:39:24 +01:00
parent 23f4ce27ee
commit e2a93d6158
8 changed files with 34 additions and 34 deletions
+2
View File
@@ -22,3 +22,5 @@ configure
*.pkg.tar.zst *.pkg.tar.zst
pkg pkg
forge-* forge-*
confdeps.*
conftest.*
+14 -4
View File
@@ -42,15 +42,17 @@ valgrind: build
--undef-value-errors=no \ --undef-value-errors=no \
./build/$(TARGET) $(TEST_ARGS) ./build/$(TARGET) $(TEST_ARGS)
.PHONY: release .PHONY: release-%
release: clean release-%: clean
git pull origin master
sed -i -E "s/[0-9]+\\.[0-9]+\\.[0-9]+/$*/g" configure.ac
aclocal aclocal
autoconf autoconf
automake --add-missing automake --add-missing
./configure ./configure
make distcheck make distcheck
mkdir -p build mkdir -p build
cp $(TARGET)-*.tar.gz build/ cp "$(TARGET)-steel-$*.tar.gz" build/
@rm -rf \ @rm -rf \
autom4te.cache \ autom4te.cache \
aclocal.m4 \ aclocal.m4 \
@@ -66,7 +68,15 @@ release: clean
Makefile.in \ Makefile.in \
missing \ missing \
src/.* \ src/.* \
src/*.o \ src/*.o
sed -i -E "s/pkgver=[0-9]+\\.[0-9]+\\.[0-9]+/pkgver=$*/g" PKGBUILD
sha256sum build/forge-steel-$*.tar.gz | cut -d' ' -f1 | xargs -I{} sed -i -E "s/sha256sums=\\('.*'\\)/sha256sums=\\('{}'\\)/g" PKGBUILD
git add configure.ac PKGBUILD
git commit -am "forge steel-$*"
git tag steel-$* -m "forge steel-$*"
@echo "Push release: git push origin master --tags"
@echo "Rollback release: git reset HEAD~1 --hard && git tag -d steel-$*"
.PHONY: release-arch .PHONY: release-arch
release-arch: clean release-arch: clean
+3 -3
View File
@@ -1,12 +1,12 @@
pkgname=forge pkgname=forge
pkgver=0.0.0 pkgver=1.0.0
pkgrel=1 pkgrel=1
pkgdesc="Fusion Of Real Time Generative Effects" pkgdesc="Fusion Of Real Time Generative Effects"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64') arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
depends=('glfw>=1:3.0', 'v4l-utils>=1.30', 'alsa-lib>=1.2.14') depends=('glfw>=1:3.0', 'v4l-utils>=1.30', 'alsa-lib>=1.2.14')
url="https://github.com/klemek/forge" url="https://github.com/klemek/forge"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/klemek/forge/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz") source=("${pkgname}-steel-${pkgver}.tar.gz::https://github.com/klemek/forge-steel/releases/download/steel-v${pkgver}/${pkgname}-steel-${pkgver}.tar.gz")
sha256sums=('TODO') sha256sums=('71e2db98e1346b101d175535c30875f28eb21432f4147ecc2b40c9da3973f5fb')
srcdir=build srcdir=build
build() { build() {
+11 -18
View File
@@ -1,9 +1,11 @@
[![CI](https://github.com/klemek/forge/actions/workflows/ci.yml/badge.svg)](https://github.com/klemek/forge/actions/workflows/ci.yml) [![CI](https://github.com/klemek/forge-steel/actions/workflows/ci.yml/badge.svg)](https://github.com/klemek/forge-steel/actions/workflows/ci.yml)
# F.O.R.G.E. # F.O.R.G.E. (Steel)
> **F**usion **O**f **R**eal **T**ime **G**enerative **E**ffects > **F**usion **O**f **R**eal **T**ime **G**enerative **E**ffects
*Steel version (linux executable)*
TODO TODO
## Install ## Install
@@ -17,11 +19,11 @@ TODO
### From release ### From release
See [Releases](https://github.com/klemek/forge/releases) See [Releases](https://github.com/klemek/forge-steel/releases)
```shell ```shell
tar xvzf forge-x.y.z.tar.gz tar xvzf forge-steel-x.y.z.tar.gz
cd forge-x.y.z cd forge-steel-x.y.z
./configure ./configure
make make
make install make install
@@ -30,7 +32,7 @@ make install
### From repository (PKGBUILD) ### From repository (PKGBUILD)
```shell ```shell
git clone --recursive https://github.com/klemek/forge git clone --recursive https://github.com/klemek/forge-steel
cd forge cd forge
makepkg -si makepkg -si
``` ```
@@ -39,7 +41,7 @@ makepkg -si
### From repository (dev version) ### From repository (dev version)
```shell ```shell
git clone --recursive https://github.com/klemek/forge git clone --recursive https://github.com/klemek/forge-steel
cd forge cd forge
aclocal aclocal
autoconf autoconf
@@ -76,18 +78,9 @@ options:
## Release guide ## Release guide
```shell ```shell
# get latest version
git pull origin master
# update configure.ac with new version
$EDITOR configure.ac
# make full build # make full build
make -f Makefile.dev release make -f Makefile.dev release-1.0.0
# update PKGBUILD with new version and sha256 sum # push release
sha256sum build/forge-x.y.z.tar.gzx
$EDITOR PKGBUILD
# push to repo
git commit -am "forge vX.Y.Z"
git tag vX.Y.Z
git push origin master --tags git push origin master --tags
# create release from tag on github # create release from tag on github
# attach .tar.gz to the github release # attach .tar.gz to the github release
+1 -1
View File
@@ -1,4 +1,4 @@
AC_INIT([forge], [0.0.0], [klemek.dev@proton.me]) AC_INIT([forge], [steel-0.0.0], [klemek.dev@proton.me])
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
AC_PROG_CC AC_PROG_CC
+1 -1
View File
@@ -8,7 +8,7 @@
#endif /* PACKAGE */ #endif /* PACKAGE */
#ifndef VERSION #ifndef VERSION
#define VERSION "(dev)" #define VERSION "steel-dev"
#endif /* VERSION */ #endif /* VERSION */
/* TYPES */ /* TYPES */
-1
View File
@@ -56,7 +56,6 @@ static long get_average_tap_duration(Tempo tempo) {
average_tap_duration = running_total / amount; average_tap_duration = running_total / amount;
if (average_tap_duration < MIN_BEAT_LENGTH) { if (average_tap_duration < MIN_BEAT_LENGTH) {
log_debug("%ld", average_tap_duration);
return MIN_BEAT_LENGTH; return MIN_BEAT_LENGTH;
} }
-4
View File
@@ -129,10 +129,6 @@ void window_use(Window *window, SharedContext *context) {
context->tex_resolution[0] = context->tex_resolution[0] =
(int)(context->tex_resolution[1] * context->resolution[0] / (int)(context->tex_resolution[1] * context->resolution[0] /
context->resolution[1]); context->resolution[1]);
log_debug("Resolution %f %f", context->resolution[0], context->resolution[1]);
log_debug("Tex resolution %f %f", context->tex_resolution[0],
context->tex_resolution[1]);
} }
void window_close(Window *window) { void window_close(Window *window) {