Commit Graph
72 Commits
Author SHA1 Message Date
takase1121 fceb773d96 build.sh: update SDL3 version 2025-05-19 08:47:47 +08:00
takase1121 8664245843 build.sh: fix LTO option parsing 2025-05-18 23:16:10 +08:00
Takase 6d686e78db build.sh: build SDL3 with CMake (#2060)
* build.sh: support building SDL3 with cmake

* ci: install cmake

* ci: make msvc use bash to build again

* ci: use get-command to get link.exe

* build.sh: revert back to CMAKE_INSTALL_PREFIX

* ci: hardcode CMAKE_INSTALL_LIBDIR

* ci: set cc_ld to not step on cmake

* build.sh: less messing with cwd

* build.sh: fix prefix once and for all

* ci: skip installing cmake on macos to avoid warnings

* build.sh: pass MACOSX_DEPLOYMENT_TARGET to cmake

* build.sh: remove extra .. in configure command

* build.sh: remove unused variable

* build.sh: allow SIMD runtime detection

* build.sh: propagate LTO to SDL3
2025-05-18 23:16:07 +08:00
takase1121 4ad47c1180 build.sh: add LTO support
(cherry picked from commit 3eab686fc16e836d05c28d352f45e1f14b8f2ebe)
2025-05-18 22:55:30 +08:00
Takase 1ada01e7b0 Update InnoSetup files (#1988)
* inno: update visual style to modern; support hidpi

* inno: fix add to PATH and add banner images

* inno: fix arch specification and default to x64compatible

* scripts: actually use x64compatible in package-innosetup.sh

* inno: fix unsupported windows warning

* gitignore: add trailing newline

(cherry picked from commit 819fa9d30e2c0e737fad519fbff63ce2baff4456)
2025-05-18 22:55:29 +08:00
Takase fdd5ab8ed0 common.sh: support OSTYPE == cygwin for MSYS2 (#2028)
(cherry picked from commit f30214464c0613c281c91be192c2ef8360f3543e)
2025-05-18 22:54:38 +08:00
takase1121 fff5acda25 appimage.sh: temporarily fix the script to generate the appimage correctly 2024-11-27 20:53:35 +08:00
Samuelandtakase1121 eafd283019 fix appimage cd error and use static appimage runtime (#1924)
* fix appimage cd error and use static appimage runtime

* include `desktop-file-utils` for appimagetool

* remove mv of old `AppRun`

* revert indentation

* don't export `APPIMAGE_EXTRACT_AND_RUN`
2024-11-27 20:53:34 +08:00
Janandtakase1121 f0d7e22dbf remove lhelper script, build configuration and dependency support (#1906)
* remove lhelper script, build configuration and dependency support

* turn lhelper flag into a error
2024-11-25 21:29:22 +08:00
takase1121 474d696c84 resources,scripts: use gh cli to fetch the correct release tags 2024-06-29 22:46:14 +08:00
Takase 8782c8064f ci: use latest macos images (#1804)
* ci: use latest macos images

* ci/build: clarify the purpose of md5sha1sum

* meson.build: remove hidapi usage

* ci: downgrade macos version for universal build

* scripts: codesign the universal binary with sha1 and sha256

* ci: revert back to macos-14 for universal

* ci/build: remove old comment
2024-06-23 09:02:55 +08:00
Takase bab7b3caf9 Generate release notes (#1774)
* ci: generate better release notes

* scripts: rename generate-release-note.sh

* ci/release: check out all the history

* ci/release: accept version from input
2024-06-21 08:06:18 +08:00
Takase 5296f8de4b scripts: not hardcode MSYSTEM (#1739) 2024-03-23 20:28:31 +08:00
takase1121 43643a16c0 fix(ci,build.sh): un-hardcode lua subproject detection 2023-11-30 11:24:42 +08:00
Takase 34d163aa25 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-11-10 09:51:39 +08:00
TakaseandGuldoman 63d99d4431 feat(package): ad-hoc sign macOS bundles (#1656)
* feat(package): ad-hoc sign macOS bundles

* fix(package.sh): syntax error

* docs(readme): add instructions for self-signed builds

* docs(readme): grammar

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>

---------

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-11-10 09:47:15 +08:00
Takase 64a6d88618 Build releases with Ubuntu 18.04 container (#1460)
* ci(release): try using lite-xl-build-box

* ci(build): test with my own fork

* ci(build): do not install python via actions

* ci(build): disable package updates

* fix(scripts/appimage.sh): add workaround for non-FUSE environments

* ci(build): document why the actions are disabled

* ci(release): fix typo
2023-08-19 12:43:56 +08:00
Takase a44a7eafe8 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-19 12:42:31 +08:00
Takase 84aeea61c2 Optimizing MSYS2 CI (#1435)
* feat(ci): install dependencies on setup
* fix(ci): don't update msys2 when setup
* fix(ci): download subprojects before patching
* doc(ci): document why meson subprojects download is called
2023-08-19 12:41:56 +08:00
jgmdevandtakase1121 b8eb6865a6 gh workflow: fix path to macOS arm64 cross file 2023-08-19 12:30:41 +08:00
Jefferson Gonzálezandtakase1121 03d11c869d ci: fix msys build now requiring ca-certificates (#1348)
Thanks to Guldoman who discovered the cause for meson failing to
validate SSL certificates which turned out to be MSYS now requiring
ca-certificates package installed for the different architectures.
2023-08-19 12:30:41 +08:00
jgmdevandtakase1121 291e7eab6f packaging: use master branch for plugin addons 2023-08-19 12:28:21 +08:00
jgmdevandtakase1121 60f0e3f3da Packaging Scripts: updated widgets install location 2023-08-19 12:28:20 +08:00
vkedwardliandGitHub 1590be8c8d macOS: -mmacosx-version-min is required for setting min version (#1192)
* Set `MACOSX_DEPLOYMENT_TARGET` also
2022-11-10 02:16:28 -04:00
AdamandGitHub 9951e785b6 Getting ready for 2.1. (#1181)
* Getting ready for 2.1.

* Fixed version.

* Year.

* Manually added line as takase said to.

* Fixed minor issue at takase's behest.

* Dunno where that went.

* Updated to use a function pointer.

* OK, as discussed, adding this manually for now.

* Updated SDL.
2022-11-02 03:38:58 +01:00
Adam Harrison 3bd567f5e1 Fixed small plugin header error. 2022-11-01 21:01:25 -04:00
jgmdev a619054951 scripts build: properly detect if cross-compiling 2022-10-30 19:05:17 -04:00
Jefferson GonzálezandGitHub d89d1e6d98 ci release: add macos arm64 support (#1179) 2022-10-30 11:48:20 -04:00
TakaseandGitHub 3409929a0c draw lite-xl icon in TitleView (#1143)
the original hamburger menu icon is confusing. It is not a menu
and clicking it doesn't do anything. There is no reason why
we can't draw lite-xl's icon in place of that.
2022-10-10 11:05:30 -04:00
Jefferson GonzálezandGitHub 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
Jefferson GonzálezandGitHub fccd7dbaa9 Merge pull request #1063 from lite-xl/port-build-lhelper-2
Adapt build job to lhelper-2
2022-07-05 17:49:17 -04:00
Francesco Abbate ed99623ad3 Adapt build job to lhelper-2 2022-06-30 09:42:01 +02:00
jgmdev 3c682512e7 build script: fix lua subproject expansion 2022-06-17 11:04:53 -04:00
takase1121 bccc02743a add option to patch lua with UTF8 support 2022-06-16 13:35:38 +08:00
Francesco AbbateandGuldoman 85531b0d3f Include addons with build-package for bundles 2022-02-11 06:33:53 +01:00
Jan200101 192c577966 Add fallbacks to all common dependencies 2022-01-15 00:53:46 +01:00
takase1121 087314aea4 fix lhelper script 2022-01-07 17:31:24 +08:00
Guldoman d16e46dba5 Update website location 2021-12-23 23:26:52 +01:00
Guldoman 2e9619f630 Directly link to our repo 2021-12-19 18:13:19 +01:00
Guldoman 4cf9d85986 Use new color themes repo 2021-12-19 18:12:34 +01:00
AdamandGitHub 8120654c59 Merge branch 'master' into plugin_api_h_fix 2021-12-05 22:11:47 -05:00
takase1121 aff1261b08 move NULL check to import side 2021-12-01 20:42:49 +08:00
Adam Harrison 96db380c73 Manual merge of into . 2021-11-23 15:57:22 -05:00
takase1121 b42f48782b revert system.c
do not generate the exported symbols with the script
2021-11-17 08:58:44 +08:00
TakaseandGitHub d22bf520ed Keymap generator (#503)
add keymap generator
2021-11-08 12:44:09 +08:00
takase1121 b26ffb4731 add warning if the symbol cannot be exported 2021-11-08 12:17:50 +08:00
takase1121 8bcc2d20f4 stylistic changes
removes comment from luaconf.h
add comment to signify filename
2021-11-08 12:17:26 +08:00
takase1121 ad58f8898f make some stylistic changes
self printing isn't really needed now the script is in scripts/.
This will also fix a gcc warning
2021-11-06 20:36:33 +08:00
takase1121 ac50404337 print luaconf.h into the output 2021-11-06 20:24:40 +08:00
takase1121 3982a8b31c fix possible nested comment 2021-11-06 20:24:17 +08:00