Commit Graph

29 Commits

Author SHA1 Message Date
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