Commit Graph

1122 Commits

Author SHA1 Message Date
Christopher Waschke
7ae7c508e6
Fixed bug with RosBE-rc overriding path. (#14)
Preserved $PATH from being overridden while reading user's bashrc by putting current $PATH in a variable $savedpath and restoring that after sourcing .bashrc

Co-authored-by: Colin Finck <colin@reactos.org>
2021-06-24 19:31:32 +02:00
Colin Finck
c4fb83d364
Merge pull request #13 from ColinFinck/feature/nixos-unattended
Support unattended installation on NixOS
2021-06-24 18:40:23 +02:00
Colin Finck
f9e43c3b01
Add patch file: Allow .seh_pushframe to take an optional [code] parameter 2021-06-17 21:10:48 +02:00
Colin Finck
f6ed3852cc
[ROSBE-UNIX] Call Python explicitly instead of relying on the shebang.
This fixes build on NixOS according to Hervé Poussineau.
We already check for "python" as part of `rs_needed_tools`, so this is guaranteed to exist.
2021-06-17 20:36:33 +02:00
Colin Finck
be82770b2b
[ROSBE-UNIX] Only check for root on an interactive installation. 2021-06-17 20:29:18 +02:00
Colin Finck
ee9cf1817a
[ROSBE-UNIX] Delete Debian packages again, Launchpad doesn't build these.
We restrict us to Ubuntu packages for now, which is what all our servers use anyway.
2020-06-11 18:47:04 +02:00
Colin Finck
4a8da49cdc
[ROSBE-UNIX] Also build packages for Debian 9/10 and Ubuntu 20.04 2020-06-11 18:28:26 +02:00
Colin Finck
aff79fe611
[ROSBE-UNIX] Add a script and required files to build a DEB source package.
I plan to upload that to Launchpad and have official RosBE-Unix packages hosted there.
Only Ubuntu 18.04 (bionic) is supported for now, but it's easy to add more distros.
2020-06-11 16:26:22 +02:00
Colin Finck
2128875f3c
Merge RosBE 2.2.1 changes from dreimer1986/master (#9) 2020-06-09 18:40:59 +02:00
Daniel Reimer
7e92295155 [ROSBE-Windows] Revert part of changes to give back the vs command. Looks like at least one popular demand exists. 2020-06-04 20:15:06 +02:00
Daniel Reimer
6b285c6ee8 [ROSBE-Windows] Finish Changelog 2020-06-04 19:12:25 +02:00
Colin Finck
d3a71e5b89
[ROSBE-UNIX] Fix broken installation directory check. 2020-05-31 11:40:13 +02:00
Colin Finck
591ab8dc0c
[ROSBE-UNIX] Restore --enable-version-specific-runtime-libs, reduce diffs to Buildtoolchain. 2020-05-31 11:31:35 +02:00
Daniel Reimer
cd01d3e863 [ROSBE-WINDOWS]
Clean up some text files.
Update Copyright headers.
Update version numbers to 2.2.1.
Try to fix GCC changing console color to white again.
2020-05-30 11:55:52 +02:00
Colin Finck
8bb7462450
[ROSBE-WINDOWS] Add back --enable-version-specific-runtime-libs and unify amd64 and x86 build scripts a bit.
Needs backporting to RosBE-Unix when it's proven.
2020-05-29 18:42:39 +02:00
Colin Finck
47c35a0798
[ROSBE-WINDOWS] Add a script for building an amd64 GCC compiler for compiling ReactOS.
Based on Daniel's modifications, with a fix by me.
2020-05-28 08:55:02 +02:00
Colin Finck
56c6cc6349
[ROSBE-WINDOWS] Fix package name in buildtoolchain-mingw32.sh 2020-05-28 08:55:02 +02:00
Victor Perevertkin
3578ee350b
[ROSBE-UNIX] Inherit user's .bashrc file (#8)
Add an identification to terminal prompt
2020-05-27 08:49:33 +02:00
Colin Finck
ba1f4584e2
[ROSBE-WINDOWS] Revert the Ninja build step changes.
They only seem to work under Unix, but not for Windows/MinGW.
Shouldn't change anything anyway, change was just for consistency.
2020-05-26 23:10:40 +02:00
Colin Finck
ce2eb08f0f
[ROSBE-WINDOWS] Add my changes to changelog and readme. 2020-05-26 22:52:52 +02:00
Colin Finck
6bafd0b433
[ROSBE-WINDOWS] Sync Buildtoolchain with RosBE-Unix 2.2.1 changes 2020-05-26 22:41:51 +02:00
Colin Finck
7e3c5fc15a
[ROSBE-UNIX] Update to CMake 3.17.2-ReactOS in the README files. 2020-05-26 08:42:02 +02:00
Colin Finck
24811288ad
[ROSBE-UNIX] Create the no longer existing "tools" directory in makepackage.sh. 2020-05-25 20:09:44 +02:00
Colin Finck
0db6c2d5a8
[ROSBE-UNIX] Fix Bison breaking when the RosBE-Unix installation directory is relocated. 2020-05-25 18:47:24 +02:00
Colin Finck
420fbddba3
[ROSBE-UNIX] Improve some more texts of my younger self. 2020-05-24 20:28:00 +02:00
Colin Finck
fe3a75d335
[ROSBE-UNIX] Remove no longer used execute_hooks() function. 2020-05-24 20:04:26 +02:00
Colin Finck
8cbbb98a97
[ROSBE-UNIX] Show more information when using the version command. 2020-05-24 19:55:13 +02:00
Colin Finck
8a60cda1f0
[ROSBE-UNIX] Remove the update logic and simplify a lot of code.
There has hardly been a case where you could update from one RosBE-Unix to another without a full reinstallation.
Even then, I often cannot guarantee that the update installation is as clean as a new installation.
2020-05-23 20:49:52 +02:00
Colin Finck
ba3b975184
[ROSBE-UNIX] Remove no longer needed rs_do_command_can_fail() 2020-05-23 19:13:40 +02:00
Colin Finck
8d953dd8a6
[ROSBE-UNIX] Fix-up host and target compilers/flags, expect -march=native, simplify code
I couldn't get RosBE-Unix 2.2.x to compile with GCC 4.x, so the earliest supported GCC version will surely support -march=native.
These changes allow me to build RosBE-Unix under macOS 10.11.6.
2020-05-23 19:07:54 +02:00
Colin Finck
0429fa773b
[ROSBE-UNIX] Fix CMake build under macOS by leaving out -Wl,-S in compiler flags.
This is again a very interesting bug with an equally interesting solution :)
CMake checks for C++11 support of the host compiler during build by compiling a simple test program.
Any warning here means that C++11 is not supported.
However, our default compiler flags used to contain -Wl,-S which isn't supported under macOS.
Therefore every such check used to fail.

We can simply leave it out for all platforms, because binaries are stripped anyway on supported platforms.
2020-05-13 21:56:58 +02:00
Colin Finck
ecd8b59e01
[ROSBE-UNIX] Don't modify $PATH where it isn't needed anymore or where we have better alternatives.
Should fix building RosBE-Unix on NixOS. Thanks to hpoussin for testing!
2020-05-10 19:03:58 +02:00
Colin Finck
d50dba3fbf
Fix some oversights and bad English of my younger self, add Victor to credits, and prepare for RosBE-Unix 2.2.1.
The next version will be released when all reported RosBE-Unix 2.2 build problems are fixed.
2020-05-06 21:59:21 +02:00
Colin Finck
e87b00c8f8
Add GMP-6.2.0-C89-fixes.patch by Jim Tabor
https://jira.reactos.org/browse/ROSBE-164
2020-05-06 21:12:36 +02:00
Colin Finck
131941d5ad
[ROSBE-UNIX] Looks like re2c isn't required after all, so don't depend on it. 2020-05-03 13:13:30 +02:00
Colin Finck
14c8cfdd80
Merge RosBE-Windows 2.2.0 changes from remote-tracking branch 'dreimer/master' 2020-05-01 09:28:11 +02:00
Colin Finck
3701d25fc2
[ROSBE-UNIX] Remove last traces of make and our supplemental buildtime tool. 2020-04-29 20:43:11 +02:00
Colin Finck
7e3502b711
[ROSBE-UNIX] Fix banner message for version 2.2. 2020-04-29 20:34:41 +02:00
Colin Finck
6bdffacac2
[ROSBE-UNIX] Update toolchain versions in README files. 2020-04-29 18:48:53 +02:00
Daniel Reimer
ce7d6d7fc8 This is the end ^^ 2020-04-26 11:50:39 +02:00
Daniel Reimer
69e701f8ce [ROSBE] Finally, release is close 2020-04-26 11:29:50 +02:00
Colin Finck
e20dd70d78
[ROSBE-WINDOWS] Rename buildtoolchain.sh for consistency with the new naming and reflect latest changes. 2020-04-25 21:32:34 +02:00
Colin Finck
0328c8c1bf
[ROSBE-WINDOWS] Add a script to fetch the right versions of the supplemental RosBE-Windows tools 2020-04-25 21:31:28 +02:00
Colin Finck
d8c20b4d98
[ROSBE-WINDOWS] Time has come to dockerize the complicated process to build RosBE, and thereby make it understandable and reproducible for everyone!
This Dockerfile sets up an MSYS2 environment using only specific versions from 2016 - the last versions creating XP-compatible binaries.
The environment can then be used to build our Flex.

This is the last component required for a full XP-compatible RosBE 2.2.
2020-04-25 20:35:36 +02:00
Daniel Reimer
ed4ca9a6f0 Bye Cert Installer for XP, not needed anymore
Cleaned up some dependencies noone needs anymore.
Fixed some line endings
2020-04-23 22:05:33 +02:00
Daniel Reimer
eb502bbd8d [CHANGELOG]
Another Update of used versions
2020-04-15 20:20:08 +02:00
Daniel Reimer
3dfbaf106d Merge branch 'master' of https://github.com/dreimer1986/RosBE 2020-04-15 19:40:14 +02:00
Daniel Reimer
00db2b4591 - M4 path needs the FULL path, not the folder the exe is inside...
- Fix a 'maybe' problem with multi arch and options.exe
- Remove color codes from shortcuts. We do things the same way now on PS and Batch
2020-04-15 19:34:30 +02:00
Daniel Reimer
9f4cda089c Fix for NSIS 3.05 by replacing the dated macro for PATH var manipulation with the very recent plugin "EnvVar".
Make sure that the certificate updater does NOTHING on anything newer than XP.
2020-04-15 19:34:30 +02:00
Daniel Reimer
cf40c685ef Update README.* 2020-04-15 19:34:30 +02:00