Commit Graph

37 Commits

Author SHA1 Message Date
Takase dc62c59705 refactor(build): use dmgbuild to create dmgs (#1664)
* refactor(appdmg): make dmgs with dmgbuild

* fix(appdmg.sh): typo

* refactor(appdmg.sh): don't generate config on the fly

* fix(dmgbuild): icon file

* fix(gitignore): dmgbuild settings

* chore(resources): update readme with new files

* chore(resources/macos): add missing newline
2023-12-26 13:16:33 +00:00
Takase 6ad288aa39 Cross compiling improvements + macOS universal binary (#1458)
* chore(resources): rename macos_arm64.txt to macos-arm64.txt
   This matches the platform-arch convention like many other parts of the project.
* chore(resources/cross): rename wasm.txt to unknown-wasm32.txt
* refactor(scripts/common.sh): use parameter expansion instead of if else
* feat(scripts/common.sh): support custom arch and platform for get_default_build_dir
* feat(scripts/build.sh): add --cross-platform, --cross-arch and --cross-file
* feat(scripts/package.sh): add --cross-platform and --cross-arch
* feat(build-packages.sh): add support for new options in build.sh and packages.sh
* ci(build): make arm64 binaries in CI
* ci(build): do not install external libraries
* ci(build): fix invalid artifact name
* ci(build): fix INSTALL_NAME
* ci(build): change name for macos artifacts
* ci(build): add script to build universal dmgs from individual dmgs
* ci(build): build universal dmgs
* fix(make-universal-binaries): fix wrong path for hdiutil
* ci(build): rename macos action
* fix(make-universal-binaries.sh): fix wrong pathname for ditto
* ci(release): build macos universal binaries
* ci(release): remove useless variables
* ci(release): fix wrong dependency
* ci(build): fix old ubuntu version
   This version will be restored once I complete some container-specific fixes.
* ci(build): make build_macos_universal depend on release
* ci(build): fix wrong dmg dir
* style(ci): capitalize 'universal' for CI name
* fix(make-universal-binaries.sh): fix truncated dmg name when it contains dots
* ci: styling changes
* ci(release): install appdmg only
2023-08-07 14:50:58 +01:00
Jefferson González 9f1294fea2
Added Release Workflow and Fixed some build script issues (#1013)
* ci linux: make builds properly static
* test workflow_dispatch
* install wayland-protocols
* append missing portable
* make debug builds by default
* auto enable some video subsystems for proper wayland support
* added release workflow
* make line shorter in innosetup bash script
* disable some video subsystems on darwin and windows
* fix default build dir on msys
* print output of ntldd
* properly set msys arch
* disable opengl on windows
* copy mingw dependencies on package
* innosetup script copy from generated package dir
* changed license to reflect team work
* adjusted the ci windows install name
* add all language plugins to addons
* disabled generation of source tarballs
* removed language_cpp from plugins repo
* enabled lua utf8 patch for windows build
* added open_ext to addons
* moved away from deprecated virtual environments
* make minimal build and with addons
* simplified CI build.yml
2022-09-25 16:59:01 -04:00
Francesco Abbate f69e42a43c Bring back pgo option in new build package script 2021-09-05 15:43:22 +02:00
redtide 38d85f2483 Adapt all scripts to work together with build-packages.sh 2021-09-05 15:23:08 +02:00
Francesco Abbate 4e6f4d5c39 Fix build-packages to use generated Info.plist 2021-09-04 18:08:04 +02:00
Francesco Abbate a134c8ea99 Add missing release flag in build-packages.sh 2021-09-03 23:33:36 +02:00
redtide df8c1a98e4 Renamed freedesktop resources 2021-08-31 20:19:40 +02:00
Francesco Abbate dcf84c743d Add renderer build options in build-packages.sh 2021-08-30 14:29:20 +02:00
Zack A e9246bcb56 build script: check if .git is present 2021-08-30 09:15:44 +02:00
boppyt 3b35c86c96 build script: check for BUILD_PROHIBIT_GIT 2021-08-30 09:15:44 +02:00
boppyt 08e4e5275f build script: add .git fallback 2021-08-30 09:15:44 +02:00
Francesco Abbate c9669410ad Fix macOS build issue with recent commit
Add objc_args in meson when compiling to pass C defines also to
bundle_open.m.

Default "bundle" option to false to have by default a unix-like
build and install.

In the run-local script always expect that "bundle" option is to
false to have a unix-like install.

In the build-package script pass the -Dbundle=true option when
building on macos.

When setting the resouce path revert to original method using

[[NSBundle mainBundle] resourcePath]

to have the real resource path when the bundle option will be
activated. With the recent commit the function
set_macos_bundle_resources will be called only if the "bundle"
option is activate and is not used in unix-like mode.
2021-08-19 14:33:39 -07:00
redtide dd7c345fd9 Added missing resource files in build-packages.sh 2021-08-17 23:58:19 +02:00
Francesco Abbate 8c86cc51b0 Fix copying of start file in build-packages script 2021-08-12 10:35:32 +02:00
redtide df63775dca Use lite-xl as project and exacutable names 2021-06-25 22:54:02 +02:00
redtide 3f58e554ba Reorganization of data resources 2021-06-24 22:53:14 +02:00
Francesco Abbate f1621192f9 Update build package script for window 2021-05-06 09:36:39 +02:00
Francesco Abbate 18bcfa7e54 Call package macos in build script and do not create disk image 2021-04-23 07:05:57 -07:00
Francesco Abbate 52ee1ed2b9 Add command in build-package script to create dmg 2021-04-19 01:29:51 -07:00
Francesco Abbate 53f77a29ea Implement correctly loading from macos bundle resources 2021-04-18 08:51:31 -07:00
Francesco Abbate 394f98041d Update build-package.sh script for macos 2021-04-17 17:15:32 +02:00
Francesco Abbate 5f3b4c0f13 Do not build portable package on unix-like systems 2021-03-23 08:51:13 +01:00
Francesco Abbate 30cdc35df5 Add stand-alone desktop file
As request in #117
2021-03-22 20:20:58 +01:00
Francesco Abbate 8567f6a7ee Add desktop entry and svg icon in build-package script
Close #117
2021-03-20 16:12:19 +01:00
Francesco Abbate ff5052be9a Improve build-package script to create portable and unix-like packages 2021-02-24 17:39:12 +01:00
Francesco Abbate f2721e8ea4 Do not mandate branch name in build-package script 2021-02-19 16:09:36 +01:00
Francesco Abbate 4335ab93c9 Require a branch in build-package script 2021-02-16 16:31:46 +01:00
Francesco Abbate 7cf37999df Include rxi/lite-colors when building a package 2020-12-11 15:14:57 +01:00
Francesco Abbate b396556df4 Print warning about the portable option based on OS 2020-12-11 15:14:13 +01:00
Francesco Abbate 549ac806e9 Fix build-package script with the portable option 2020-12-04 14:20:11 +01:00
Francesco Abbate f88fd0f6cd Add missing colors directory from build and run scripts 2020-12-04 12:00:42 +01:00
Francesco Abbate c41dedafad Improve the implementation of unix-like directories usage
Add a Meson option "portable" to choose between "portable" and unix-like
directories. Add information about this option in the README.

To determine the user's directory use the variable USERPROFILE only on
Windows and use HOME otherwise.

Implement the "portable" option in the package build script.
2020-12-03 16:46:18 +01:00
Francesco Abbate e9938862b5 No longer include version in package name 2020-11-23 15:33:34 +01:00
Francesco Abbate abad5cce0f Improve script to build packages to name the package with the OS name 2020-07-30 14:25:21 +02:00
Francesco Abbate b484cb8bd3 Ensure build-package script copy data directory from repository's head
Rename also the directory of the package with the arch name.
2020-07-05 12:36:46 +02:00
Francesco Abbate 9a52b440f5 Modifies the build script to handle Mac OS X
Not tested for Mac OS X but building with subproject gives an error on
windows. To be clarified.
2020-06-30 16:16:28 +02:00