Commit graph

50 commits

Author SHA1 Message Date
G Derber
f7761fd635
Add ability to differentiate group ownership from user ownership. 2024-08-06 09:38:25 -04:00
s1eve-mcdichae1
cf1cae5d81 dxx-rebirth - ignore case for user-supplied registered/demo game data 2024-06-12 18:48:45 +01:00
s1eve-mcdichae1
fa7fec366d dxx-rebirth - don't download D2DEMO if registered version file exist 2024-06-12 18:48:45 +01:00
Jools Wills
f65014e5a0 dxx-rebirth - use self hosted shareware game data
The official site no longer hosts the files.
2024-05-21 19:38:29 +01:00
Jools Wills
d026921bf2 dxx-rebirth - fix build path on recent dxx-rebirth
Newer dxx-rebirth uses a build/ subfolder.
2024-05-21 19:38:29 +01:00
Jools Wills
5ff541e3b3 dxx-rebirth - fix building on newer distros
In 77bb4c16 the code was locked to an older commit due to incompatibilities with Raspberry Pi OS Buster, but this version doesn't build with newer GCC.

Switch to using the latest code by default but lock to older versions for Buster and GCC 10 and lower

Tested to build correctly on Raspberry Pi OS Buster, Bullseye and Bookworm.
2024-05-21 19:33:18 +01:00
Jools Wills
90d535028b Don't use compareVersions for GCC version comparisons
gcc -dumpversion on GCC >= 7 seems to provide the major version but the documentation suggests this depends on how it's configured.
We only need to test the major version so using compareVersions isn't required.

https://gcc.gnu.org/onlinedocs/gcc/Developer-Options.html states:
>Print the compiler version (for example, 3.0, 6.3.0 or 7)—and don’t do anything else. This is the compiler
>version used in filesystem paths and specs. Depending on how the compiler has been configured it can be
>just a single number (major version), two numbers separated by a dot (major and minor version) or three
>numbers separated by dots (major, minor and patchlevel version).

Ensure __gcc_version only contains the major version just in case in system.sh
2023-03-05 14:09:26 +00:00
Jools Wills
27af2cd479 dxx-rebirth - skip config copying etc when running configure on removal 2021-03-02 05:09:00 +00:00
Jools Wills
77bb4c16d8 dxx-rebirth - temporarily roll back code due to a configure failure on Raspbian Buster
The commit after has a change to use pkg-config for locating physfs and it seems to fail on Debian/Raspbian Buster.
Will debug properly and feed upstream, but for now am rolling back to the commit before.

Unfortunately the dxx-rebirth repository has no recent releases at all, as it would be preferable to lock
to the last stable release, but the last tag is from 2018 and there are no version branches etc.
2021-03-02 04:08:46 +00:00
Jools Wills
b3c1d15fda dxx-rebirth - remove leftover debugging default commit of moooo :-) sorry 2021-02-25 05:03:35 +00:00
Jools Wills
4c99509c76 Updating modules to use the new rp_module_repo function hooks
ppsspp was incorrectly changed in 23b154b4 as it uses a subfolder which needs to be specified
2021-02-15 23:54:13 +00:00
Jools Wills
630529f3d0 dxx-rebirth - rework game_data to use download function
Also de-duplicate descent1/descent2 paths using dest_d1/dest_d2 vars, making sure they exist
in case the function is called outside of a full install. Also update urls to the new https location.
2021-01-21 05:20:28 +00:00
Jools Wills
384f41119c dxx-rebirth - fix build issues
* latest code requires gcc 7 or newer, so use an older revision if gcc < 7
  * added missing sdl1/sdl2-image-dev dependencies and rework logic
  * remove logic for sdl1 + gles for now as it's not used by any platform
  * add -j with our configured number of jobs for parallel building
2020-07-03 06:43:22 +01:00
Conn O'Griofa
69c3226bbc dxx-rebirth: enforce vsync for kms 2019-09-10 00:21:49 +01:00
Conn O'Griofa
5ab01f562e dxx-rebirth: update for fkms and buster
* Update dependencies
* Enable OpenGL + SDL2 build for non-gles targets
* Enable fkms/mesa target, also using SDL2+GL (due to upstream
  source requiring changes to support GLESv2 builds)
2019-07-07 17:07:37 +01:00
Jools Wills
5e1754d057 dxx-rebirth - README.txt files removed upstream so remove from install - fixes #2762 2019-07-07 07:07:34 +01:00
Jools Wills
518b888eab disable some modules (rpi1 / sdl1 etc) from the kms platform 2017-11-02 19:49:59 +00:00
Conn O'Griofa
d0c12d6256 dxx-rebirth: switch to master branch
The unification/master branch is no longer recommended by upstream,
and the master branch has support for the new vendor libraries (as
well as the experimental Mesa driver).
2017-10-26 17:15:21 +01:00
Jools Wills
74dea59827 use downloadAndExtract instead of wget/unzip for some modules 2017-08-11 01:40:46 +01:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
14cc370643 cosmetic - trailing whitespace 2016-09-27 23:05:40 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
3ad2020ae3 dxx-rebirth - fix up addPort name for each version 2016-07-21 04:31:16 +01:00
Jools Wills
83ba7ad6f0 remove workarounds to use gcc 4.8 on some modules on wheezy, and just use 4.8 by default. Wheezy is no longer supported, but this simplifies some code. 2016-06-26 19:03:26 +01:00
Jools Wills
f4c88ae26c rename install_games_id -> game_data_id 2016-06-11 23:36:06 +01:00
Jools Wills
0340085958 dxx-rebirth - split off descent game data install / de-duplicate / don't install on remove 2016-06-11 23:16:48 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
9e3d573b13 new module variable md_conf_root that points to $configdir or $configdir/ports for ports - for ports in the libretro folder, this is set manually with setConfigRoot, and for "love" which is a ES system, but lives in ports (so configs go in $configdir not $configdir/ports to match the roms folder structure)
adjust ports configs / symlinks to $configdir/ports and move old configs to new location (when calling addPort)
fix up some paths in a few experimental modules (wolf4sdl / sdlpop)
2016-03-25 20:13:02 +00:00
Jools Wills
7b4911bb33 Revert "use an older revision of dxx-rebirth for the rpi due to upstream build breaking - https://github.com/dxx-rebirth/dxx-rebirth/issues/176"
This reverts commit 56207818aa.

Upstream is fixed again
2016-02-03 03:32:40 +00:00
Jools Wills
56207818aa use an older revision of dxx-rebirth for the rpi due to upstream build breaking - https://github.com/dxx-rebirth/dxx-rebirth/issues/176 2016-02-01 23:41:33 +00:00
Jools Wills
1d2d293310 added missing libraspberrypi-dev for dxx-rebirth for rpi 2016-01-28 14:30:18 +00:00
Jools Wills
1eb6e56887 fix building dxx-rebirth module for X11/x86 2016-01-23 19:15:57 +00:00
Jools Wills
184dda8c8e use !mali instead of !odroid 2016-01-17 00:36:03 +00:00
Jools Wills
13e5c227e0 more odroid exclusions. Some of the sdl1.x stuff may work, but would require X and on ubuntu on odroid-c1 you can't have mali-x11 and mali-fbdev installed at the same time 2016-01-04 19:55:01 +00:00
Jools Wills
d4e827c6e4 moveConfigDir makes the destination directory, so we don't have to create it in the modules 2015-12-03 04:47:54 +00:00
Jools Wills
5511ee7db7 create moveConfigDir/moveConfigFile functions to move existing configuration locations/files and symlink them - this de-duplicates a lot of the modules that make the configurations available from /opt/retropie/config 2015-12-03 03:38:02 +00:00
Jools Wills
dce4362bc0 get rid of global variables in dxx-rebirth 2015-12-03 01:16:08 +00:00
Jools Wills
1675c3b7e1 rework the addPorts functionality, making it use addSystem and emulators.cfg like the rest of retropie. Although in most cases this doesn't add any benefit
for things like doom / quake where there may be multiple engines, it makes switching available from runcommand etc. it would also allow adding additional launch options with say different wads / settings and so on. It also
simplifies the actual module scripting.
2015-11-07 14:30:03 +00:00
Jools Wills
bc26585dee make "ports" folder before making any subfolders to "ports" always has the correct permissions 2015-10-23 01:26:33 +01:00
Jools Wills
b6c238e899 de-duplicate script creation /chown / chmod for ports with addPort function 2015-10-23 01:08:09 +01:00
Jools Wills
01f573dcd2 addPorts function to replace setESSytem duplication for ports 2015-10-22 19:23:09 +01:00
Jools Wills
98ae061dbe only override CXX for scons - doesn't like CC but it's a C++ project anyway 2015-10-14 08:35:22 +01:00
Jools Wills
28292e5302 fix dxx-rebirth compiling 2015-10-14 08:30:51 +01:00
Jools Wills
d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills
11119b20dd fix up descent module overriding CC/CXX and adapt it to checking for gcc4.7 etc. 2015-09-10 18:03:08 +01:00
Jools Wills
a6933a6445 use githubs preferred access protocol - https:// - before we had mixed git:// and http:// around the code 2015-06-16 16:50:37 +01:00
Jools Wills
ce8ede4def updated licence url (to RetroPie org). Remove . at end of licence url to avoid any confusion 2015-06-16 16:41:34 +01:00
Matt Watt
9c16610ffb Remove added Author comment
Not needed
2015-05-10 23:45:31 -05:00
Matt Watt
c4052482e9 DXX-Rebirth Port Initial
Add script to build DXX-Rebirth from current source and add Descent and
Descent 2 to the Ports system.
2015-05-10 21:33:12 -05:00