Commit graph

60 commits

Author SHA1 Message Date
cmitu
9875f23289 scraper: remove locally applied patch
It's has been applied to the upstream project.
2024-12-16 16:31:21 +00:00
G Derber
f7761fd635
Add ability to differentiate group ownership from user ownership. 2024-08-06 09:38:25 -04:00
cmitu
6e84202206 scraper: change build method to fix FTBS
Changed the build method by using Golang's module support and creating a module from the upstream sources. Fixes the current build errors due to a transitive depedency which requires upgrading Go to 1.17+.
This simplifies applying the patch and rolling back (downgrading) the TGDB module dependency. As a bonus, we can use the normal way of retrieving the sources and generating the scriptmodule `.pkg` info file.

Fixed also the `golang` installation, the new version was not installed automatically due to a insufficient version check.
2023-09-11 04:57:26 +01:00
cmitu
84a6d73cc0 scraper: fix scraping from ScreenScraper.fr
Added the patch from @Torben2000 [1] which fixes scraping from the ScreenScraper source.
Can be removed when/if upstream (@sselph) accepts the changes in the main repository.

[1] https://github.com/sselph/scraper/pull/265
2022-08-20 05:56:17 +01:00
cmitu
6f739fb3cb scraper: fix building the package
One of the depedencies updates has broke the `scraper` build [1].
Until the compatibility is restored (could happen) or scraper is updated (unlikely), just use a previous version of the dependent Go library.

[1] 06967c20ca (commitcomment-75241057)
2022-08-06 17:49:07 +01:00
Jools Wills
39f6364c7c scraper - remove update menu option
Updates should be done via RetroPie-Setup which has better control.

Updates via this option would have rebuilt even when unnecessary.
2021-08-04 01:36:29 +01:00
Jools Wills
dde27f240b scraper - adjust the module to work with package info / version checking 2021-03-08 00:59:25 +00:00
Jools Wills
186c838888 scraper - use download function 2021-01-21 05:20:29 +00:00
Clinton Fillier
f3c2a437bd moved default mame settings to be configured earlier so as to not override custom options 2019-02-24 16:33:49 -03:30
Jools Wills
f180a28c04 scraper - put the nobin flag in the flags - thanks mitu 2018-10-26 04:00:37 +01:00
Jools Wills
f1906cfade builder / scraper - reintroduce flag nobin for the scraper module
* can't currently build binaries for the scraper module due to go1.8 not working in an emulated chroot with qemu. Build time is not long so it's ok to just skip this one.
2018-10-22 23:44:27 +01:00
UncleRus
fb60606acd Steven Selph's scraper: prefer screenshots 2018-05-26 11:31:25 +05:00
Jools Wills
042cdef9ac variable quoting 2017-09-19 15:36:32 +01:00
Jools Wills
805b788efc some missing local variable definitions, and variable renaming of choices to choice 2017-09-19 15:04:33 +01:00
Jools Wills
94052198aa scraper - allow aborting scraping with ctrl+c (without exiting RetroPie-Setup) - fixes #1898 2017-09-17 11:58:22 +01:00
Steven Selph
775bfef7db Add video and ArcadeItalia support for scraper 2017-06-15 00:49:45 -04:00
Jools Wills
b27c7751f0 scraper - move to optional packages
* not really a configuration tool / allows removing now
 * remove golang on removal, to save space. This will have to change if we have any other software that needs go1.8
2017-03-01 17:10:44 +00:00
Jools Wills
57e8138e14 golang / scraper changes
* use noinstclean flag so golang isn't reinstalled if not needed
 * remove from optional packages and make it hidden (as it's a dependency only)
 * quieten wget output
 * no need to check for folder before removing
2017-03-01 16:41:59 +00:00
Jools Wills
6276ee1107 Merge pull request #1899 from sselph/golang
Download a modern version of Go
2017-03-01 16:32:38 +00:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Steven Selph
774e30fd70 Install a modern version of Go in retropie. 2017-02-28 20:35:44 -05:00
Steven Selph
a648bd5542 Add more options to scraper.sh 2017-01-06 21:09:06 -05:00
Jools Wills
672f6dfdf5 scraper - use go get -u 2017-01-06 01:16:11 +00:00
Jools Wills
b0db60b205 scraper - include LICENSE/README.md and hash.csv in install 2016-12-27 04:36:20 +00:00
Jools Wills
29ec6488fe remove more wheezy code 2016-12-27 04:29:08 +00:00
Jools Wills
5e369663b7 styleguide / cleanups 2016-11-13 23:32:34 +00:00
Jools Wills
1391bcb5e3 scraper - clean up passing settings to scrape_scraper
some parameters were passed in the function while some were set in parent function - as this is a standalone function that can be called from the commandline, it meant some functionality was lost. Instead we now load the ini configuration in the scrape function so it can be used standalone and uses the saved settings
2016-11-10 17:41:22 +00:00
Jools Wills
6496792640 scaper - fix empty selection / cleanup 2016-11-10 17:26:50 +00:00
Jools Wills
204e9cf9c1 update modules to use new __os_* variables 2016-10-09 05:50:40 +01:00
Jools Wills
14cc370643 cosmetic - trailing whitespace 2016-09-27 23:05:40 +01:00
Jools Wills
e835a54c05 scraper - move chown 2016-09-02 18:19:46 +01:00
Jools Wills
a66efeef3d scraper - downloaded_image -> images when using rom folder to match sselph scraper defaults 2016-08-12 21:43:07 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
4a530f9cbb scraper - config ownership 2016-08-06 18:25:58 +01:00
Jools Wills
fbbfe9b992 scraper - fix max_width not saving. move module config loading to helpers 2016-08-06 18:17:51 +01:00
Jools Wills
dcf288be87 scraper - left over debug 2016-08-03 01:02:44 +01:00
Jools Wills
aae2158f7a scraper - defaults were wrong on first run 2016-08-03 01:00:18 +01:00
Jools Wills
87bc57beae scraper - remember menu position 2016-07-19 00:09:21 +01:00
Jools Wills
2f31177fc3 scraper - save settings to $configdir/all/scraper.cfg 2016-07-19 00:08:08 +01:00
Jools Wills
14bd0e50cd scraper - add support for using the rom folder for gamelist & images 2016-07-18 23:49:52 +01:00
Steven Selph
9a5a560866 scraper: add option to use filenames as ROM name. (#1513)
Fixes #1506
2016-06-08 14:21:19 +01:00
Jools Wills
8dd2069660 use config instead of conf 2016-06-06 22:08:36 +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
Steven Selph
fef44e1d03 Add option to set -append and -use_nointro_name=false flags
I've seen this pop up in issues and emails so thought I'd
add the option to tweak these flags.
2016-05-27 21:24:42 -04:00
Jools Wills
ff6747275c sort systems in scraper 2016-03-11 05:42:46 +00:00
Jools Wills
67a6f383dd add "neon" platform flag to be used instead of armv7 for neon optimisations 2016-02-29 10:20:10 +00:00
zerojay
a8195e822d Allow users to select the scraper to use with sselph's scraper.
Add the option to allow users to select which scraper the sselph scraper should scrape from.

Updated menu items to make more sense.
2016-02-27 17:10:58 +00:00
Jools Wills
8e9c9fc410 allow changing the image width when scraping 2016-02-17 10:12:33 +00:00
Jools Wills
ab1d20edcb move scraper out of experimental 2016-02-17 09:09:35 +00:00
Jools Wills
b3cec8ed5a allow configuring of scraping thumbs only in sselph's scraper 2016-02-17 09:08:57 +00:00