Florian
0056affa40
Merge pull request #383 from joolswills/gcc
...
move setting default gcc version to retropie_packages.sh so it is used f...
2014-07-17 22:09:20 +02:00
Florian
4d307d3eed
Merge pull request #382 from joolswills/depends
...
Depends
2014-07-17 22:08:45 +02:00
Jools Wills
59c2169c3b
move setting default gcc version to retropie_packages.sh so it is used for both manual commandline building and the dialog gui
2014-07-17 17:50:38 +01:00
Jools Wills
2a147e95e8
use rps_checkNeededPackages for installing dependencies. Less verbose, and means we don't have to launch apt-get when not needed
2014-07-17 17:16:28 +01:00
Jools Wills
981f91f974
added gcc-4.7 as a required package
2014-07-17 17:02:33 +01:00
Jools Wills
c9f186f7aa
re-work rps_checkNeededPackages allowing required packages to be passed to it.
...
change the previously unused checkForInstalledAPTPackage to be less verbose and make use of it
2014-07-17 17:01:07 +01:00
Florian
209272ee14
Fixed installation of Duke3D
2014-07-16 21:25:09 +02:00
Florian
1d2e8fbe65
Minor fix for checking the available diskspace
2014-07-16 20:27:10 +02:00
Florian
798d4ce296
Merge pull request #380 from joolswills/fixes
...
ln -f for timidity patchsets link, to avoid an errors message it is alre...
2014-07-16 20:20:07 +02:00
Florian
f6ebd20992
Merge pull request #379 from joolswills/de-duplication
...
move some duplicated functions to helpers.shinc and remove duplicated st...
2014-07-16 20:17:47 +02:00
Florian
67a3d09b9b
Merge pull request #378 from joolswills/menus
...
wrong variable name - copy n paste fail. fixed
2014-07-16 20:14:07 +02:00
Jools Wills
d97cf0d7e3
ln -f for timidity patchsets link, to avoid an errors message it is already exists
...
if download of timidity patchsets fail, don't just echo "error", but return an error string
2014-07-16 19:08:33 +01:00
Jools Wills
2333c62736
use script name in usage info
2014-07-16 18:47:39 +01:00
Jools Wills
2bbc67a2d1
we can check for required packages just once in retropie_packages.sh
2014-07-16 18:45:17 +01:00
Jools Wills
9df5e737f2
move some duplicated functions to helpers.shinc and remove duplicated startup code from retropie_setup.sh. retropie set up now gets it's
...
initial environment from retropie_packages.sh so there is no duplication of functionality. However it might be even cleaner to have a core module that contains this stuff and perhaps another module for packages, so the root shell scripts become simplified.
2014-07-16 18:27:00 +01:00
Jools Wills
343ea71a4a
wrong variable name - copy n paste fail. fixed
2014-07-16 18:20:32 +01:00
Florian
50bc126ce9
Minor bug fix for retroarch-core-option configuration
2014-07-16 08:06:10 +02:00
Florian
b3b2cfee6b
Merge pull request #377 from joolswills/packages_perf
...
much faster fn_exists - output of retropie_packages is significantly improved
2014-07-16 07:50:51 +02:00
Florian
c69cc316a3
Merge branch 'pr/376'
2014-07-16 07:49:02 +02:00
Florian
641c5e24d4
Merge pull request #375 from joolswills/samba
...
Samba
2014-07-16 07:41:08 +02:00
Florian
c25e645708
Merge pull request #374 from joolswills/newline
...
changed addLineToFile() to add a newline if the file does not end with o...
2014-07-16 07:39:34 +02:00
Florian
1c21aa5147
Merge pull request #369 from joolswills/menus
...
rework the main sources/setup menus so that the control for the menus is...
2014-07-16 07:38:42 +02:00
Jools Wills
4c0a885551
much faster fn_exists - output of retropie_packages is significantly improved.
2014-07-16 01:54:52 +01:00
Jools Wills
a8175cea4e
file/directory masks were the wrong way round. oops.
2014-07-16 01:10:34 +01:00
Jools Wills
92a0733b3f
directory permissions for rom directories to protect them from deletion, yet allow pi user to write to them
2014-07-15 23:30:07 +01:00
Jools Wills
dbdc5fb1df
more sensible samba directory/file masks
2014-07-15 23:26:33 +01:00
Jools Wills
32430c702f
no need for the chmods for samba config
2014-07-15 23:26:05 +01:00
Jools Wills
88ce95e15c
_EOF_ for consistency
2014-07-15 23:25:07 +01:00
Jools Wills
b01cd65c63
readonly/public are inverted synonyms for writable / guest ok so no need for both
2014-07-15 23:24:38 +01:00
Jools Wills
c10b5f7b93
single rom share for samba, and remove old configs
2014-07-15 23:24:05 +01:00
Jools Wills
06edf2b0ba
changed addLineToFile() to add a newline if the file does not end with one. fixes #372
2014-07-15 22:54:25 +01:00
Florian
c8d12c916b
Merge pull request #370 from joolswills/fixes
...
Fixes
2014-07-15 22:02:35 +02:00
Jools Wills
e7e493d489
missing slash in python code - this needs a rewrite to use python mkdir and os.path.join etc.
2014-07-15 20:55:03 +01:00
Jools Wills
f1b27efbf4
use mkdir -p in mame4all Makefile to avoid directory creation errors (at least when building with -jX)
2014-07-15 20:40:42 +01:00
Jools Wills
feb9d70b54
don't delete / re-clone each time
2014-07-15 20:12:48 +01:00
Jools Wills
a26a8cedde
do not remove git checkout of gngeo before build.
...
no need for host/target options
2014-07-15 20:10:04 +01:00
Jools Wills
f2a90e4ed1
use mkdir -p for rom dirs to not throw error if they exist
2014-07-15 20:03:33 +01:00
Jools Wills
c60cf94916
Merge branch 'master' into fixes
2014-07-15 20:01:43 +01:00
Jools Wills
ac24cafc41
cosmetic - indentation fix
2014-07-15 18:58:31 +01:00
Jools Wills
439d0c69fc
fix menu on/off processing (don't overwrite menu variable)
2014-07-15 18:48:33 +01:00
Jools Wills
bdbdc0c905
rework the main sources/setup menus so that the control for the menus is configured in retropie_packages. This allows for considerable
...
de-duplication, and new packages can be added without having to manually add menu entries for them.
retropie_setup.sh calls retropie_packages with the parameter init, to load the arrays with the package information. this will also
allow some de-duplication of start up code between these two scripts later.
the rp_registerFunction now takes an additional parameter after the description which is in the format
I+command
where I= the menu you want it to appear in (2=source menu, 3=setup menu)
+ or - says whether the item will be enabled or disabled by default (for the source menus which uses checkboxes)
command is optional and sets the default command to pass to retropie_packages when building. for example in the setup menu
some options use "configure".
you can add multiple menu entries. eg for SNESDev to appear in the sources menu as well as setup menu, you could use
"2+ 3+configure"
in the sources menu it would download/build/install and in the setup menu it would just configure
the next step with this could besplit/separate out the packages to their own modules and have them dynamically included, so it is even easier to add new items without
having to edit the large cumbersome rp_registerFunction list
2014-07-15 18:35:58 +01:00
Florian
afb8357c1a
Merge pull request #368 from joolswills/info
...
rather than printing "getting sources/building/configuring/etc" for ever...
2014-07-15 18:49:07 +02:00
Jools Wills
f85fd9d3c2
rather than printing "getting sources/building/configuring/etc" for every single package, handle it in retro_packages.sh
...
automatically. This allows for some de-duplication and more consistent output. Also handle it from a function which allows
for some more compact code in retropie_packages.sh
2014-07-15 16:22:16 +01:00
Florian
6a82eee4ab
Fixed download of RetroPie binaries
2014-07-14 19:45:36 +02:00
Jools Wills
422696e13e
rather than world writable files, chown to $user.
...
no need to use install command for copying individual files
2014-07-14 18:09:06 +01:00
Jools Wills
04e50b2627
should be chmod +x not chown +x
2014-07-14 18:02:03 +01:00
Florian
ed7f062313
Merge pull request #366 from joolswills/fixes
...
fixed - typo - missing space in advmame configure script.oops
2014-07-14 18:20:22 +02:00
Jools Wills
44a332199a
delete root .advance / $user/.advance folders before generating default config and moving. no need to chmod, just chown to pi user
2014-07-14 16:28:49 +01:00
Jools Wills
6041d0c498
fixed - typo - missing space in advmame configure script.oops
2014-07-14 16:15:55 +01:00
Florian
2298310d5b
Merge pull request #363 from joolswills/fixes
...
Fixes
2014-07-14 07:00:46 +02:00