Commit Graph

121 Commits

Author SHA1 Message Date
Dan Rosser
439c73a4d8 Android Action 2025-03-05 22:27:19 +11:00
Dan Rosser
a5aa450588 Merge commit '5630d2034d835e81225a225355e97f4144b21179' into android2025
* commit '5630d2034d835e81225a225355e97f4144b21179': (446 commits)
  Restore target build dir behavior for Xcode. Closes #8321 (#8340)
  of script updates (#8339)
  _OBJC_CLASS_$_AVFoundationVideoPlayer fix (#8337)
  poco mk (#8336)
  relative locations rabbit (#8335)
  fix(ofParameter): better default init() handling of non-comparable/non-copyable objects and containers (#8325)
  path to string conversion on Windows fix. (#8333)
  iOS template add ofxiOS group ref (#8330)
  Xcode iOS Target Project Fixes (#8328)
  chore(iOS): remove iosNativeARCExample (#8324)
  ofxGui fix for apple targets (#8320)
  assimp ios addon_config (#8319)
  chore(iOS): remove GLKit example (#8317)
  fix(iOS): adjustments to layout of Location example + deprecations updates (#8311)
  fix(iOS): update to CoreLocation authorization request (#8309)
  remove boost from android. (#8307)
  Remove boost from linux scripts, download_libs (#8306)
  ofPixels memory allocation size fix (#8226)
  remove boost references from CoreOF.xcconfig and config.*.default.mk for macOS and osx. (#8304)
  Fix to json scripts (#8301)
  ...

# Conflicts:
#	.gitignore
#	libs/openFrameworks/gl/ofGLProgrammableRenderer.cpp
#	libs/openFrameworks/gl/ofGLUtils.h
#	libs/openFrameworks/gl/ofShader.cpp
#	libs/openFrameworks/gl/ofTexture.h
#	libs/openFrameworks/graphics/ofTrueTypeFont.cpp
#	libs/openFrameworks/graphics/ofTrueTypeFont.h
#	libs/openFrameworks/sound/ofAVEngineSoundPlayer.h
#	libs/openFrameworks/sound/ofSoundBaseTypes.cpp
#	libs/openFrameworks/sound/ofSoundBaseTypes.h
#	libs/openFrameworks/sound/ofSoundStream.cpp
#	libs/openFrameworks/utils/ofConstants.h
#	libs/openFrameworks/utils/ofThread.h
#	libs/openFrameworks/utils/ofURLFileLoader.cpp
#	libs/openFrameworks/utils/ofUtils.h
#	libs/openFrameworks/utils/ofXml.h
#	libs/openFrameworksCompiled/project/android/build.gradle
#	libs/openFrameworksCompiled/project/android/common-functions.gradle
2025-03-05 19:55:12 +11:00
Dan Rosser
c9561a082e Emscripten 3.1.74 -> 4.0.4 (#8293) 2025-02-27 18:40:56 +11:00
Dan Rosser
67c7b3ef07 Github Actions - Cache Fix (#8247)
* Clean up caches Actions

* Fix Github Actions
2025-01-13 00:14:36 +11:00
Dan Rosser
b1b33b0f1b Emscripten 3.1.74 - Latest Libraries (#8056)
* Emscripten API Updated to latest

* emscripten, webserver configuration file apache added to file for wasm. Fixed lib exclusions emscrioten. Added memory64 option. Fixed removed commands. -pThreads enabled variable

* Emscripten defines if not defined

(cherry picked from commit 5b935bfa42100014ac73f64a27407892371ba766)

* Emscripten .htaccess for apache

* Emscripten mk - glfw=2 main module=1

* Shell minimal template updated
-fPIC
WASM=2 (fallback js and WASM)

* fPIC c/cxx flags

* download_libs emscripten variants for pthreads/memory64

* module removed emscripten

* WASM=1

* template off

* Emscripten - Fix addons. Template add bash build script

* Emscripten 3.1.73 update. CSP fixes. Working on htaccess stuff at the moment. Split template for style and script CSP requirements

* Updates to Emscripten template for CSP

* Updates debug

* Emscripten Fixes

* Fix for audio

* Actions release fix

* emscripten

* Emscripten scripts
+ vcpkg install libraries script
+ install EMSDK script

* Emscripten make
+ changes for vcpkg binding if set
+ cleanup stadard flags
2025-01-12 23:49:52 +11:00
Dan Rosser
f3fa59790c Visual Studio 2019 template / downloads (#8164)
* VS 2019 Latest Libraries

* VS2019 download scripts

* Visual Studio 2019 / Visual Studio 2022
- 2019 Template Updated.
- Core Project in sync with 2022. only change is v142

* VS2019 template fixes for uniqueness

* Github Actions and download libs fix for VS2019

* VS2019 actions

* downloader - fix shift

* MS Build VS2019

* MS Build verify

* working dir issue

* Update for pg building / update create

* Fix vs download

* Fix pg ci

* fix chmod vs

* download_pg [ 2.=6.0 ~> 2.7.0 ]
- fix vs depth of chmod missing /app/app

* VS2019 example build disabled until pg support
2025-01-11 23:52:44 +11:00
Dimitre
4777b61e16 [actions] comment out armv7l 2025-01-04 14:56:33 -03:00
Dan Rosser
a34ab6017a Fix: ofGetLastFrameTime() always returns 0 (Filtered/System timeMode) Bug (#8240)
* timer debugging

* Timer Fixes

* Fixed defaults.

* Emscripten 3.1.74. Spit CI to default and addons for more clarity of issues

* Linux defines fix

* Fix for divide by zero

* Fix double longs

* double double

* linux double issues

* linux debug

* timer what

* targetRate type fixes

* ofTimerFPS fix for default ctor list

* bash fixes
2024-12-31 20:35:26 +11:00
Dimitre
af33e9154e [test] ofTexture more straightforward way to see if it support GL_RGB16F (#8212) 2024-12-07 20:56:32 -08:00
Theodore Watson
8f64c96ce0 Update of.yml 2024-12-07 18:56:06 -08:00
Dimitre
9ea94e14c0 [msys2] - ofxGui avoid fs::path / string implicit conversion. fix for __builtin_va_arg_pack issue in swprintf (#8222) 2024-12-05 08:38:20 -08:00
Dimitre
d6019c3d21 [actions] manual nightly back generating nightly (#8217) 2024-11-27 22:38:55 -03:00
Dimitre
4f6a1aed68 [actions] - Nightly to generate latest, corrections on runners parameters (#8209) 2024-11-22 23:53:50 -03:00
Dimitre
2acbcabbef of.yml - remove determine release
determine release is an intricate script to make download_libs still more incomprehensible with a mixture of BLEEDING and tag
2024-11-20 22:28:24 -03:00
Dimitre
5cea0bc152 [test] fix rpi install libs (#8207) 2024-11-20 19:01:17 -03:00
Dimitre
b70e617903 [actions] - Fix for RPI actions that should be failing (#8205) 2024-11-20 12:24:24 -03:00
Dimitre
dd0799c692 [actions] fix libraries setting env var RELEASE=latest (#8204) 2024-11-20 01:00:03 -03:00
Dimitre
3c5cdc0676 manual of with env. var RELEASE set 2024-11-19 15:13:46 -03:00
Dimitre
9858d16f08 Put back nightly from 10 days ago with another name (#8203) 2024-11-19 01:08:20 -03:00
Theodore Watson
05332352df Update manual-nightly.yml 2024-11-18 18:45:39 -08:00
Dimitre
2f7e2d805b fix yml format (#8195) 2024-11-15 08:55:48 -08:00
Dan Rosser
698d8895df Actions update - nightly (#8186)
* GitHub Scripts for downloading tags

* GitHub Actions - Update Fix nightly

* Nightly Package use tag

* VS 2022 fix

* vs ci fix and emscripten not using tag yet

* VS ci Install
2024-11-13 09:55:06 +11:00
Dan Rosser
66ed1abce8 Actions Fix (#8185)
* Actions Fix

* Actions Manual on Tag. Artefact enabled with past 7 days for nightly then expires.1 for tag release.
2024-11-12 20:57:22 +11:00
Dan Rosser
3f4abcb6ba GitHub Actions update (#8183)
* Download Libs - [2.5.0~ 2.6.0] Change for release tag default from bleeding to Latest (for apothecary). - Allow to download libs of --tag (or version target for libs i.e v12.1.0, v13.0.0 etc) Allowing locking off of libraries

* GitHub Action - Fix Xcode change for install Xcode 16 Nov5th change

* GitHub Actions - Nightly update release to softprops/action gh release.
Add determine release type.
Allow for future night to build for tags (more to do with local scripts for that). (So manually can tag and it will build nighty to say v13.0.0)
2024-11-10 12:29:44 +11:00
Dimitre
47583f6165 remove wget2 from nightly actions (#8118) 2024-09-10 13:27:46 -03:00
Dimitre
9940c24be8 github actions version up (#8099) 2024-08-30 23:18:35 -03:00
Dan Rosser
a9a639420d [scripts] download latest libs to just download libs - [rebased] (#8085)
* download libs scripts uniformity. fix linux libraries to -b, fix gcc check when not installed

* emscripten libs on master

* download_libs [2.4.0 ~ 2.5.0] - if clean download also remove includes

* emscripten script attributes +x fix

* attribute fix

* emscripten +x

* emscripten

* emscripten
2024-08-19 18:25:50 +10:00
Dimitre
b4fb28afb6 [actions] update msys2 (#8059) 2024-07-28 15:28:39 -03:00
Dan Rosser
318ee9f7f1 C++2b / C++23 / C17 - Clang macOS/iOS - MSVC VS2022 - VS (#8052)
* VS2022 - cppstd23

* macOS / iOS - CLANG_CXX = c++23 -  CLANG_C = c17

* vs c++latest (23)

* getenv wrapped

* MSVC - PreprocessorDefinitions: _HAS_STREAM_INSERTION_OPERATORS_DELETED_IN_CXX20

* addons/ofxKinect fix for libfreenect c code

* Windows Test VS Debug / Release and - addonsExample

* VS - Fix CI tests for Addons and variables passed

* Fix ci install

* VS2022 - Project Updates. C++23. C17. C++Modules. Unicode Enabled.

* Linux64 2204 disabled

* projectGenerator download script fix

* projectGenerator downloader osx fixes. added arch determine code for target arch downloads in future

* script fix for projectGenerator download

---------

Co-authored-by: Dan Rosser <danoli@gmail.com>
2024-07-29 02:00:19 +10:00
Dan Rosser
ab435f60ef nightly packages - msys2 add clang64, ucrt64, add linux arm64 linuxaarch64 (#8050)
* define no fmod if not defined

* nightly packages - msys2 add clang64, ucrt64, add linux arm64 linuxaarch64

* test nightly

(cherry picked from commit d53b3fdbf67e3f3977ddc96fb18bbb15504f68df)

* Update manual-nightly.yml

* nightly fixed up paths and msys2. added _ between compiler

* vs missing define OF_RTAUDIO

* RTAudio 5 fix using #RTAUDIO_VERSION_MAJOR >= 6

* GitHub Actions - Linux added 24.04 - also keeping 22.04 for now. Added linuxarmv7. nightly back to auto

* action fix
2024-07-16 22:44:51 +10:00
Dan Rosser
2a8059b911 ci fixes - projectGenerator download fix for vs (#8044)
* ci fixes projectGenerator download. pg set to put command line in root projectGenerator

* vs ci fix

* missing pipes

* ill figure it out later
2024-07-12 22:15:17 +10:00
Dan Rosser
d5fc49f363 [msys2] fix bash scripts / downloader / installer per target (#8037)
* Git Ignore fixes and template generic files synced

* osx project fix crashes on 14.5 macOS camera with
NSCameraUseContinuityCameraDeviceType

* projectGenerator to location projectGenerator/

* msys2 fixes

* download libs msys2 defaults

* Update addon_config.mk

* msys2 confirm

* Update install.sh

fixes confirm / no confirm

* Update install.sh

ci fix msys2

* ofxNetwork fix long long to long

* Update of.yml

msys2 tests off
2024-07-12 03:36:48 +10:00
Theodore Watson
a6bbc5aae4 Update nightly-linux64.yml
allow scheduled nightly to be manually run as well
2024-07-11 09:13:41 -07:00
Theodore Watson
e16c4de165 Update nightly-linux64.yml 2024-07-11 09:04:14 -07:00
Dan Rosser
51d5c89092 Nightly upload to release (#8033) 2024-07-10 03:41:30 +10:00
Dan Rosser
786bb2e4eb Developer scripts - Submodule init, Fix Nightly build (#8030)
* Script dev add init_submodules

* Developer scripts nightly build updates for macos, ios, android, added vs_only x64,

* Release script to convert to git repo script! to be packaged

* Create Package dev script fixes

* Dev scripts for packages updates for macos/ios/vs (x64)

* Update manual-nightly.yml

* Fix package script

* Update manual-nightly.yml

* Fix create_package

* fix linux using debug for pg

* linux create package fix

* create package fixes

* package fixes

* Edit fixing permissions

* Forcing git to accept +X attribute

* chmod executable

* create_package fix x64 vs

* GitHub Actions - test manual / auto build releases - upload to artefact

* GitHub Actions Test nightly

* Fix ios/macos/osx projectGenerator in wrong folder. Fix useful missing source examples from platforms. Fix vs x86_64 download single architecture. Fix missing osx folder in ios release causing new xcode scripts to fail

* nightly actions back to timers and real upload

* create_package fixes for missing clangformat and hidden files, osx project generator

* Revert "nightly actions back to timers and real upload"

This reverts commit 84384aaab8.

* fix pkg_name

* pg osx

* ios fix up project and config files for templates

* Add OF_TARGET_MACOS

* ios template working

* Revert "Revert "nightly actions back to timers and real upload""

This reverts commit 31361d1ce5.
2024-07-07 20:57:12 +10:00
Dan Rosser
51012f492d macOS Xcode Project Updates to XCFrameworks C++17 - Bleeding Edge (#7889)
* Xcode Project Updates to XCFrameworks C++17 - Bleeding Edge

* macOS GitHub Actions Latest Libs

* GitHub Actions

* macOS just one download latest libs

* Fixes #7781

* Apothecary on Bleeding

* macOS addon ofxSVG

* GitHub Actions - macOS disabled makefile until dupe fix

* GitHub Actions

* GitHub Actions macOS makefiles on

* Download Libs macos

* macos download all targets

* macOS template against super mega xcframework

* Compiler scripts for macOS / Actions

* GitHub Actions - macOS disabled makefile until dupe fix

* GitHub Actions

* iOS Bleeding Latest

* iOS curl disabled for moment

* iOS Download Libs / Actions and scripts for other platforms

* Fix ofxAccelerometer / url off for tvOS

* Xcode Pbxproj to XML script - XML is required for PG to work for these projects. Added script as we keep forgetting

* Xcode Project to XML iOS / macOS

* tvOS Update Bleeding

* Xcode Xchemas

* Revert "Xcode Project to XML iOS / macOS"

This reverts commit bcdb4db0d2.

* Fix download / addons

* iOS Project Update Link to Mega

* Actions ios to libs macos download

* tvos

* tvOS Code - Add temp url loader

* tvOS Project Working

* Fix ofURLFileLoader

* tvOS Schema

* tvOS Fix

* OpenAL Disabled for Sims

* tvOS Actions +

* Project Changes iPhone to iOS. openFrameworksLib to OSX+OFLib

* macOS Super Mega Framework Project all Targets

* Major Preprocessor Defines for Ability to Scope out platform and features

* Create Package Nightly Fixes for macOS

* iOS Compiling - More Define Fixes

* tvOS Compiling - fixed defines

* Define Updates

* Obj-C Fixing

* Cairo Include Fix

* macOS Nightly package

* macos project changes

* Revert "macos project changes"

This reverts commit 4a54492ce59caa846aa2542bb55f2a68cfc87075.

* Mega Project Changes

* Mega Project Assets

* macOS ci

* Video Grabber / Player updates

* macOS fixes for openFrameworks core project

* AV macOS Foundation Fixes

* Add missing core frameworks

* osx project fix up

* Workflow macOS XCFrameworks

* VS Fix Cairo Include Path

* tvOS and iOS Fixes

* VS Fix Cairo

* Defines for OF_RTAUDIO_6 / #define OF_RTAUDIO

* projectGenerator tip

* iOS / tvOS / OSX project updates - frameworks linked

* update create_package

* mk curl

* remove script
2024-06-27 04:06:45 +10:00
Dan Rosser
63a3db6ee2 linux fix missing libcurl (#8027)
* linux fix missing libcurl

* libcurl4-openssl-dev

* libcurl

* Update build-linux64.yml

* Update build-linux64.yml

* curl

* ssl3 / libcurl

* package managers

* allow upgrade

* ssl
2024-06-26 05:44:58 +10:00
Dan Rosser
676ae97978 Download libs script update (adds #7907 wget2) - params and fixes deploy logs (#8002)
* downloader in parallel

(cherry picked from commit 6e8819c740)

* Update download_libs.sh - parallel downloads

(cherry picked from commit 2391c4ff62)

* wget2 changes downloader fixes

* Updated downloader script to support changes for parellel downloads, no ssl, wget2, curl, wget
Cleaned up download_libs with better logs and overwrite settings to the target download type

* downloader fix up URLs parellel

* Downloader fix parallel curl - add commands

* Apothecary Fix up commands

* Download script osx - no need to send -a causing double download

* Downloader updates
- fixes command determination artefact now tracks installed of curl/wget2/wget in variable
- added wget2 params for override or continue last download (-nc)
- t20 retries
- console formatting
- added error message if no commands installed

* cURL Test Ci

* wget og Ci test

* wget2 Ci Test / SSL off

* download libs ci just BITS target

* ci focused VS bits off for the moment

* ci test downloader --silent

* Download libs fix arch

* Download script v3.0.1 - fixes for cURL in silent mode
cURL now has progress bar
Version in echo
Wget2/wget Verbose turned off
Download_libs silent now passed as bool

* Download_libs fixed Overwrite
- Overwrite / remove old libs was not working at all - not looping correctly for core libs - rewrote loop
- Overwrite now removes old libs for that target type for the download... will remove only osx if download osx etc rather than all for that library
- Overwrite Addons now will work if folders are deleted

* downloader 3.1.0 wget/wget2 - now checks remote file vs local if found and optimises - won't download if same

* download_libs 2.1 -
- files downloaded (zip/tar.bz2) are now stored in libs/download/
- creates libs/download for downloading zips/tars for optimisation
- clean up of logs
- not removing dl zip now
- code to remove zips on start also done commented out

* download_libs - set PLATFORM to target if set
- include overwrite off

* downloader 3.1.1 - fixes for cURL - no ssl fixed

* github actions workflow fix for concurrency in PRs being cancelled by other PRs of not the same hash. fallback to sha for non-prs

* cURL optimisation with remote and local file check. Using HEAD flags so it just queries the content size and time rather than getting whole file

* github actions cleanup cache

* Linux Cache off

* apt-get broken for ssl-dev

* no cache on libssl

* cache remove ssl/curl

* chmod +x for msys2

* cache disable for linux

* linux cache?

* ubuntu-22.04

* Downloader 3.2.1 - wget2 re-enabled default if available

---------

Co-authored-by: Dimitre <dimitre@users.noreply.github.com>
2024-05-30 19:23:43 +10:00
Dimitre
9e7aec02ae msys2 improvements (#7976) 2024-05-23 22:22:49 -03:00
Dimitre
b99a05c51c [actions] faster 2024-05-21 02:36:55 -03:00
Dimitre
f9e343b81a actions changes (#7968) 2024-05-17 12:57:17 -03:00
Dimitre
dff62dce99 [actions] ccache update (#7967) 2024-05-16 14:18:14 -03:00
Dimitre
048a2cff20 [actions] update ubuntu 24.04 (#7955) 2024-05-14 22:26:09 -03:00
Dimitre
4621d70fb1 [actions] - testing one action with multiple jobs for tests (#7860) 2024-05-11 17:22:52 -03:00
Dimitre
8f2db49058 msys2 actions cleanup (#7934) 2024-05-07 02:26:16 -03:00
Dimitre
c191d359ae [actions] rpi changes (#7928)
#changelog #rpi
2024-05-06 18:30:37 -03:00
Dimitre
1a67b05908 update actions (#7905) 2024-03-03 11:00:55 -03:00
Dimitre
3fcedf2853 Update nightly-linux64.yml 2024-03-03 09:58:44 -03:00
Theodore Watson
229439fd38 Bugfix armv6 (#7901) 2024-02-16 08:00:22 -08:00