Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my pc #2

Open
wants to merge 403 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
403 commits
Select commit Hold shift + click to select a range
27bcdf3
Findbugs was updated to the latest version to work with Java 8.
onebeartoe Feb 16, 2016
de7501e
A duplicate dependency entry was removed.
onebeartoe Feb 16, 2016
93e73b2
A temporary project URL was added.
onebeartoe Feb 16, 2016
7fca2ad
The compiler plugin configuration was corrected.
onebeartoe Feb 16, 2016
21ec60c
The checkstyle version was updated.
onebeartoe Feb 16, 2016
1cbea13
The reporting plugin was defined, so that the Maven site goal (hopefu…
onebeartoe Feb 17, 2016
834e795
A JXR plugin was added.
onebeartoe Feb 17, 2016
011b12d
The artifact ID was updated.
onebeartoe Feb 17, 2016
9f02546
The parent POM tag was added.
onebeartoe Feb 23, 2016
bcd3616
The whitespace was formatted.
onebeartoe Feb 23, 2016
5512625
The parent POM tag was added.
onebeartoe Feb 23, 2016
59b839d
An offset for the scrolling text y-axis was added, as well as tips fo…
onebeartoe May 10, 2016
4b5e916
Changes were maded for the y-axis offset for scrolling text.
onebeartoe May 10, 2016
dfded7c
Changes were maded for the y-axis offset for scrolling text.
onebeartoe May 10, 2016
ae24e05
An example init.d daemon script was added to run the applicaion on boot.
onebeartoe May 10, 2016
e1750cd
Merge branch 'master' of https://github.com/alinke/PIXEL
onebeartoe May 10, 2016
e82b11b
An implementation for TextFileReader is now specified.
onebeartoe Aug 22, 2016
1f9fbc5
The import statements were corrected.
onebeartoe Aug 22, 2016
564281d
added PIXLZ025 board support - this is the iOS/Android 32x32 Only fir…
alinke Jan 16, 2019
15c233c
changed default led matrix to PIXEL V2 / Adafruit 32x32 from the olde…
alinke Jan 16, 2019
7bd0994
changed default panel to pixel v2 / adafruit 32x32 for the pixelweb app
alinke Jan 16, 2019
32ae868
Merge branch 'master' into master
onebeartoe Jan 16, 2019
8ebb3c3
update the repository URL and update code for the latest onebeartoe API
onebeartoe Jun 12, 2019
ad51401
merge conflict resolution
onebeartoe Jun 12, 2019
01e9371
add continuous integration
onebeartoe Jun 13, 2019
a914812
remove the group ID and version
onebeartoe Jun 13, 2019
8b328db
remove the group ID and version
onebeartoe Jun 13, 2019
3ee2b31
update the group ID and version
onebeartoe Jun 13, 2019
0096226
update the group ID and version
onebeartoe Jun 13, 2019
cea9eee
update the group ID and version
onebeartoe Jun 13, 2019
f07f4aa
updated pom to java 7
alinke Jun 15, 2019
cf5a01a
updated led matrix panels in ioio libs
alinke Jun 15, 2019
3283005
in pixel-web-enabled, changed resources directory name from "stills" …
alinke Jun 15, 2019
8120578
renamed "stills" to "images"
alinke Jun 15, 2019
68d1129
adding new supported led matrix to pixel commons
alinke Jun 15, 2019
17c11fe
WIP, added new handler for arcade mode, this handler will handle both…
alinke Jun 18, 2019
4afdabc
added error handling if gif or png is not there
alinke Jun 18, 2019
4061718
arcade handler now can take png or gif
alinke Jun 18, 2019
32b7cd1
detecting the pixel port from settings.ini
alinke Jun 18, 2019
8df7917
getting the PIXEL port from settings.ini
alinke Jun 19, 2019
d3a3a9f
added hack to change a single frame gif to two frames due to raspberr…
alinke Jun 19, 2019
ba50922
removed the pixel port option since we're using setttings.ini instead
alinke Jun 19, 2019
b26a8b0
fixed bug where /gifsource was not getting extracted on first run, al…
alinke Jun 19, 2019
8a21134
fixed bug where single frame gif wasn't decoding, changed base direct…
alinke Jun 20, 2019
d36f9c2
added png versions of the mame marquees
alinke Jun 20, 2019
708eda4
fixed web-content files and add install files for Pi/Mac only
alinke Jun 21, 2019
856225a
deleted a few files not needed
alinke Jun 21, 2019
c5cea8c
added more supported LED matrix types
alinke Jun 22, 2019
7b3bfd7
reading the LED panel type from settings.ini, added first install fil…
alinke Jun 22, 2019
98164aa
added new led panel types including the frame types and sizes
alinke Jun 22, 2019
f21f2d4
now handling both stream and writes for both PNG and GIFs (still need…
alinke Jun 22, 2019
2cc1416
getting the PIXEL port from settings.ini
alinke Jun 22, 2019
8d87059
swapped out single frame GIFs with PNGs because PNGs will be faster a…
alinke Jun 22, 2019
173cb63
WIP of pixelcade front end that will make calls to pixelweb, this .ex…
alinke Jun 22, 2019
c4be763
defaulting the com port to com99 so we can prompt the user if they di…
alinke Jun 22, 2019
e6e4d5b
garbage push
alinke Jun 22, 2019
691f3eb
adding PNG write
alinke Jun 22, 2019
09c5190
POM change for pixelcade-front-end, maven not working yet for it
alinke Jun 22, 2019
d0c6326
renamed the pixelcade front end class to PixelcadeFrontEnd from WebEn…
alinke Jun 22, 2019
6cdffd7
typos
alinke Jun 23, 2019
9bd0781
removed 15s delay on GIF writes, also fixed bug where switching from …
alinke Jun 23, 2019
513ffd2
pixelcade front end working now, does the http rest call
alinke Jun 23, 2019
e34749f
garbage push
alinke Jun 23, 2019
0086d86
changed from user.home to user.dir, this way we don't need to force t…
alinke Jun 23, 2019
93dc989
we won't extract the arcade and mame files for windows since the inst…
alinke Jun 23, 2019
bc44246
changed the delay from 15 sec to 10 ms
alinke Jun 24, 2019
3c3fea4
added error handling to catch crash if pixelcade is run but pixelweb …
alinke Jun 24, 2019
517d249
may need to change home dirctory back to user home vs. working directory
alinke Jun 24, 2019
9cf9728
still crashing on windows but not on Mac when switching from PNG str…
alinke Jun 24, 2019
588502d
garbage push
alinke Jun 24, 2019
6feda49
added a thread sleep before playlocal on writes, this solves the ioio…
alinke Jun 24, 2019
47e22c3
still open issue when streaming a gif and then streaming another gif
alinke Jun 24, 2019
9c64c97
added graceful exit if pixelweb was already running when launched
alinke Jun 24, 2019
07718ca
changed the home directory for Pi and Mac to user.home / pixelcade, f…
alinke Jun 24, 2019
5443457
looks like bug is fixed where on streaming will get ioio disconnects,…
alinke Jun 26, 2019
038acbc
updated to latest version of purejavacomm
alinke Jun 26, 2019
afde1ea
garbage push
alinke Jun 26, 2019
bec723d
switching over to the new timers
alinke Jun 27, 2019
ced73a3
release 2.0.1, cleaned up println statements
alinke Jun 27, 2019
0cbea84
added rest api to quit pixelweb
alinke Jun 30, 2019
a1e9d32
added common file logger (logme) and pixelcade.exe will now auto-laun…
alinke Jun 30, 2019
a971c6e
updated mame PNGs and GIFs
alinke Jul 1, 2019
43cf685
version change
alinke Jul 1, 2019
7403059
added logging
alinke Jul 1, 2019
ebd5497
added logger just for pixelcade.exe front end which writes to pixelca…
alinke Jul 3, 2019
1ea4a49
added pixelcade.jar to Pi one time install, updated settings.ini
alinke Jul 3, 2019
b1577de
added support for scrolling text including text, color, and speed
alinke Jul 3, 2019
5032f25
changed names of logging files
alinke Jul 3, 2019
276b6dc
tweaks for scrolling text in pixel.java
alinke Jul 3, 2019
839552c
limiting pixelcade.log file size to 2 MB max
alinke Jul 3, 2019
e3c3388
scrolling text controller color can be a hex code (existing) or also …
alinke Jul 4, 2019
24e58c9
added an interactivemode() on stoptimer as there was a bug where the …
alinke Jul 5, 2019
9727c0c
adding max log size
alinke Jul 5, 2019
85671c2
these now support both PNG and GIFs and also writes
alinke Jul 5, 2019
868defe
changing default panel to 15 (128x32)
alinke Jul 5, 2019
814f236
added arcade marquees and animations, updated artwork
alinke Jul 5, 2019
0a2d832
added an interactivemode here as sometimes the text was working
alinke Jul 5, 2019
21a8805
default panel to 15
alinke Jul 5, 2019
81c5488
WIP adding Q Feature
alinke Jul 12, 2019
15340a8
added more supported panels
alinke Jul 12, 2019
59ae7a0
added library to parse URL parameters
alinke Jul 12, 2019
e74a479
garbage push
alinke Jul 12, 2019
4b9aa52
fixes for q feature, added timer for still images looping
alinke Jul 13, 2019
9064d8c
Q feature
alinke Jul 13, 2019
44655f1
added 6 digit length check to verify valid hex value (no #)
alinke Jul 13, 2019
5a643f0
added more parameters including loop
alinke Jul 13, 2019
8623d0a
bug fixes for queue, mainly release 2.0.6
alinke Jul 13, 2019
399b073
the extra Interactivemode() in stopexistingtimer() was causing proble…
alinke Jul 15, 2019
4881d50
added backgroundmode flag which is needed to run pixelweb.jar as a se…
alinke Jul 15, 2019
b252c99
added mapping for mame-libretro as a console which will be coming fro…
alinke Jul 15, 2019
eb5ee3b
misc fixes
alinke Jul 15, 2019
215d203
changed default led display setting to 64x32 for RetroPie only
alinke Jul 15, 2019
19ecfcd
updated Pi scripts
alinke Jul 15, 2019
a163b4c
removed one Pi file not needed
alinke Jul 15, 2019
63fd47b
added if statement so -t is not there for non MAME
alinke Jul 15, 2019
3e04187
2.0.8 Changes:
alinke Jul 19, 2019
3270ea4
timer bug fix for png stills
alinke Jul 20, 2019
795a8f2
bug fix for queue items that had a comma and tweaked scrolling text f…
alinke Jul 20, 2019
f5ac24c
added game title feature to v2.1.2, -gt flag that scrolls Araknoid fr…
alinke Aug 4, 2019
f81341e
updated pi script for the gt flag
alinke Aug 4, 2019
da509d6
added scrollspeed to all commands include the Queue, added 64x64 , 64…
alinke Aug 4, 2019
bbb577b
added latest pixelcade.jar to retropie files
alinke Aug 5, 2019
e134484
added console.csv file to map the consoles
alinke Aug 12, 2019
81a12b2
added loop=99999 flag which is a new feature in the Q, if loop = 9999…
alinke Aug 15, 2019
a5de9a9
add a value for dist:
onebeartoe Sep 2, 2019
e7bb51a
added support for P2.5 64x32 panel from SYRLED, green and blue lines …
alinke Sep 8, 2019
02c6bb8
added new art in images
alinke Sep 8, 2019
8e0c037
initial arduino release for the max7219 matrix and 7 segment display…
alinke Dec 29, 2019
2027c82
bug fixes in arduino code for max7219
alinke Dec 29, 2019
32f3c50
added oled support to the display accessory, stable release
alinke Dec 30, 2019
62cfd14
Arduino - added support for multiple LED matrix displays or zones
alinke Jan 1, 2020
6406591
changed from waiting for IOIO connection to waiting for PIXEL connect…
alinke Jan 2, 2020
b3fdf3f
added support for sub display accessory, java is writing to an additi…
alinke Jan 2, 2020
bb3a4a6
garbage push
alinke Jan 2, 2020
fe48487
added support for multiple matrix displays (matrix, 7segment, and ole…
alinke Jan 12, 2020
6e1b417
for the arduino integration, had an extra % in the string and added c…
alinke Jan 16, 2020
5c1483b
fixed bug in parsing from java, added some logic for incomplete data
alinke Jan 16, 2020
c3f8e2e
added call to arduino display accessory to show console meta data whi…
alinke Jan 16, 2020
46e8f28
added api to switch pixel local playback
alinke Jan 16, 2020
f2d878e
small tweaks
alinke Jan 19, 2020
b3653db
bug fix: animations now working from pixelcade art browser
alinke Jan 25, 2020
6129fb9
added localplayback to the Q such that when LEDBlinky calls http://lo…
alinke Jan 29, 2020
36ba944
added two new board firmware strings, PIXLA025 (for pixelcade 128x32)…
alinke Mar 5, 2020
4e5c4d0
removed default artwork from pixelweb.jar to make things smaller and …
alinke Mar 11, 2020
7672268
if a gif and png are both there (ex. pacman.gif and pacman.png), then…
alinke Mar 11, 2020
f8b1bbf
changed default to 128x32 in settings.ini
alinke Mar 11, 2020
62a95a1
added emulationstation mod from Kai
alinke Mar 18, 2020
213ce1c
skipping installing extra files as the pi installer now covers
alinke Mar 18, 2020
251f30c
unzipped files
alinke Apr 8, 2020
0324929
added the modified files for pixelcade to the readme for ES
alinke Apr 8, 2020
f1a04ca
Updated with URLEncode
alinke Apr 8, 2020
92031f3
bug fix, added a blank frame when both a gif and png is present as a …
alinke Apr 12, 2020
4f01c12
bug fix - when _ or space replaces in file name , the Q name was wron…
alinke Apr 16, 2020
479d818
Update README.md
alinke Apr 19, 2020
9350c83
Update README.md
alinke Apr 19, 2020
0aa932f
Update README.md
alinke Apr 20, 2020
590c7d8
Update README.md
alinke Apr 20, 2020
7227b5c
added new handler for uploading console images including ALU and also…
alinke Apr 26, 2020
64669ea
new handler to upload gif and png to console dirs including ALU and a…
alinke Apr 26, 2020
3918102
Merge branch 'master' of https://github.com/alinke/PIXEL
alinke Apr 26, 2020
4f0c035
frame rates for gif decoding
alinke Apr 26, 2020
b9a7839
version upgrade and adding platform handler
alinke Apr 26, 2020
ccb7299
removed logging to reduce clutter in console output
alinke Apr 26, 2020
d5e4213
garbage push
alinke Apr 26, 2020
5f1afea
Update README.md
alinke Apr 29, 2020
4d3f586
Update README.md
alinke May 2, 2020
d9d7a26
added ?r parameter which will play a random animation
alinke May 4, 2020
fd6ca3d
Merge branch 'master' of https://github.com/alinke/PIXEL
alinke May 4, 2020
f23dc0a
new rest call to accept an uploaded png or gif, this is for the ALU i…
alinke May 4, 2020
744a05c
lowercase in the gif decoder was causing gif decoding for long file n…
alinke May 4, 2020
dc7be66
added "please wait, one time decoding" to the arcade animations if de…
alinke May 4, 2020
88b0dea
added Pixelcade Factory Test Android App used by the manufacturer to …
alinke May 6, 2020
c95757b
cleaned up some code comments on the arduino sub-display code
alinke May 11, 2020
e7d0f3b
Pi Image and Setup Scripts
alinke May 13, 2020
e848466
API to return a random gif from the animations folder
alinke May 13, 2020
7fc2a09
pi image instructions updated
alinke May 13, 2020
44bf9ff
pi wifi access point
alinke May 13, 2020
fabdbfe
garbage push
alinke May 13, 2020
78e9734
merge conflict
alinke May 15, 2020
dea13aa
Merge branch 'master' of https://github.com/alinke/PIXEL
alinke May 15, 2020
6daf39a
ES screen saver code tweaks
alinke May 20, 2020
fa382be
screen saver crash debugging
alinke May 20, 2020
4473938
hoping this resolves screen saver crashes on pi
alinke May 20, 2020
53cb9fa
updated Pi scripts
alinke May 20, 2020
a8e59b2
updated scripts and es mod for pi 4
alinke May 21, 2020
06b0642
updated readme with build instructions
alinke May 23, 2020
a7f5dbf
pi image and script updates
alinke May 24, 2020
fa79f01
added attract mode setup to setup.sh
alinke May 25, 2020
54761c8
first pass at lcd marquee support
alinke May 31, 2020
4ff1e83
path fix for windows lcd module
alinke May 31, 2020
a429b1a
LCD tweaks
alinke Jun 1, 2020
b8bcfd8
updated pi image steps
alinke Jun 1, 2020
e50a401
LCD Support Windows inhancements
kaicherry Jun 2, 2020
627cb1c
Merge pull request #10 from kaicherry/master
alinke Jun 2, 2020
6ae56ee
memory tweaks for LCD
alinke Jun 2, 2020
fa4ed35
Fixed displayImage/WindowsLCD issue
kaicherry Jun 2, 2020
5d1d4e4
Merge pull request #11 from kaicherry/master
alinke Jun 2, 2020
bc34a74
reverted back LCD fixes
alinke Jun 3, 2020
8fc5d3c
scrolling speed bug fixes, changed scrollspeed default to 0 so it get…
alinke Jun 7, 2020
8fd3cc9
removed unused dependenacy which reduced .jar file size from 12 mb to…
alinke Jun 7, 2020
2452c30
windows scrolling text for LCD
alinke Jun 11, 2020
4045a83
LCD windows changes
alinke Jun 12, 2020
83ecc71
console LCD fix
alinke Jun 12, 2020
736e7ce
lcd marquee fixes
alinke Jun 13, 2020
4b32024
LCD marquee tweaks
alinke Jun 14, 2020
628768d
pixelhome fix for LCD
alinke Jun 14, 2020
082c430
windows LCD fixes
alinke Jun 15, 2020
33dea9d
Fixed UUID call
kaicherry Jun 15, 2020
c518f0f
Long text scroll fix
kaicherry Jun 15, 2020
660718c
Merge pull request #14 from kaicherry/master
alinke Jun 15, 2020
bdadf8f
Adds support for anigifs on linux, adds hooks for text scroller
Jun 16, 2020
e1c71b3
Merge branch 'master' of https://github.com/alinke/PIXEL
Jun 16, 2020
f1ea3d5
AniGif Support
kaicherry Jun 16, 2020
1289ace
Tweaks and cleanup
kaicherry Jun 16, 2020
0ac78dd
Scroller Hooks and clean up
kaicherry Jun 16, 2020
412e818
Support and fixes for Pi Scroller
kaicherry Jun 16, 2020
5071260
Clean up + pi scroller
kaicherry Jun 16, 2020
75a2f64
Fixes and support for pi scroller implementation
Jun 16, 2020
c326e6f
Modifies internal logic for scroller integration
kaicherry Jun 16, 2020
3bff7c2
Merge pull request #15 from kaicherry/master
alinke Jun 16, 2020
47f33c7
Create maven.yml
kaicherry Jun 18, 2020
e3f46c2
adding in latest changes for skrola and gifs on pi, modified arcadeht…
alinke Jun 18, 2020
427d356
gifs on LCD were getting called twice
alinke Jun 18, 2020
52c1faa
merge(?)
Jun 18, 2020
ffbfa06
font color conversion
Jun 18, 2020
08bc8c0
Merge branch 'master' of https://github.com/alinke/PIXEL
Jun 18, 2020
116ea1b
Merge branch 'master' of https://github.com/kaicherry/PIXEL
Jun 18, 2020
72d2fe7
Merge pull request #2 from kaicherry/ref/kaicherry-ReduxT2
kaicherry Jun 18, 2020
d58958a
Delete maven.yml
kaicherry Jun 18, 2020
9c417bf
Delete maven.yml
kaicherry Jun 18, 2020
14322fe
Merge pull request #3 from kaicherry/ref/kaicherry-ReduxT2
kaicherry Jun 18, 2020
3ce8f8d
Merge pull request #16 from kaicherry/ref/kaicherry-ReduxT2
alinke Jun 18, 2020
159ec86
Merge pull request #4 from alinke/master
kaicherry Jun 18, 2020
ae45de1
Merge pull request #17 from kaicherry/master
alinke Jun 18, 2020
7a92de6
Fix for gif/scroll collision
kaicherry Jun 18, 2020
e55052b
Merge pull request #18 from kaicherry/master
alinke Jun 18, 2020
74cf907
fixing multiple LCD calls issue
alinke Jun 18, 2020
730524c
Merge pull request #1 from alinke/master
kaicherry Jun 18, 2020
1d1d645
console changes for LCD
alinke Jun 19, 2020
20ffec5
bug fix: setting the color was not in the right place
alinke Jun 21, 2020
56ebaef
upgraded libraries purejavacomm to 1.0.3 and jna to 5.5
alinke Jun 21, 2020
05ceb53
WIP - works on Pi and PC, still need to clean up code
alinke Jun 25, 2020
1fab942
code clean-up
alinke Jun 25, 2020
07d3342
pixelhome fix
alinke Jun 25, 2020
fff7da3
kai's updates to LCD
alinke Jun 27, 2020
1ea920e
Updating to current Retropie Master, includes Pixelcade patches
Jun 28, 2020
ed229a2
Added missing GL renderers...yikes!
Jun 28, 2020
16c7064
Re-add resourse dir installation, edited metatdata, removed build fra…
Jun 28, 2020
b8a5525
Merge pull request #20 from kaicherry/master
alinke Jun 28, 2020
9815af7
Update README.md
alinke Dec 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,10 @@
/pixel-plugin-tests/target/
/pixel-games/target/
/pixel-plugins/target/
/pixel-commons/target/
/pixel-commons/target/
/pixel-web-enabled/target/
/pixel-web-enabled copy/target/
/pixelcade-frontend/target/
/pixelcade-installer/target/
/pixelcade-frontend copy/target/
/pixelcade-pipeserver/target/
2 changes: 2 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sudo: true
dist: trusty
language: java
install: true
jdk:
- oraclejdk8
script:
- mvn clean package
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
Binary file added EmulationStation-kai/AppDir/.DirIcon
Binary file not shown.
46 changes: 46 additions & 0 deletions EmulationStation-kai/AppDir/AppRun
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/sh

HERE="$(dirname "$(readlink -f "${0}")")"

############################################################################################
# Allow AppRun or the AppImage to be symlinked to, e.g.,
# /usr/local/bin/scribus
# or to be called with ./Scribus*.AppImage scribus
############################################################################################

if [ ! -z $APPIMAGE ] ; then
BINARY_NAME=$(basename "$ARGV0")
else
BINARY_NAME=$(basename "$0")
fi
if [ ! -z "$1" ] && [ -e "$HERE/bin/$1" ] ; then
MAIN="$HERE/bin/$1" ; shift
elif [ ! -z "$1" ] && [ -e "$HERE/usr/bin/$1" ] ; then
MAIN="$HERE/usr/bin/$1" ; shift
elif [ -e "$HERE/bin/$BINARY_NAME" ] ; then
MAIN="$HERE/bin/$BINARY_NAME"
elif [ -e "$HERE/usr/bin/$BINARY_NAME" ] ; then
MAIN="$HERE/usr/bin/$BINARY_NAME"
else
MAIN="$HERE/usr/bin/emulationstation"
fi

############################################################################################
# Use bundled paths
############################################################################################

export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/sbin/:"${HERE}"/usr/games/:"${HERE}"/bin/:"${HERE}"/sbin/:"${PATH}"
export XDG_DATA_DIRS="${HERE}"/usr/share/:"${XDG_DATA_DIRS}"

############################################################################################
# Change into bundled usr/ directory
############################################################################################

#cd "${HERE}"/usr # Because Scribus has some hardcoded paths that we patch away; FIXME

############################################################################################
# Use bundled Python
############################################################################################

exec "${MAIN}" "$@"

Binary file added EmulationStation-kai/AppDir/emulationstation
Binary file not shown.
Binary file added EmulationStation-kai/AppDir/emulationstation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions EmulationStation-kai/CMake/Packages/FindFreeImage.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#snapped from: https://bitbucket.org/sinbad/ogre/src/0bba4f7cdb95/CMake/Packages/FindFreeImage.cmake?at=default
#-------------------------------------------------------------------
# This file is part of the CMake build system for OGRE
# (Object-oriented Graphics Rendering Engine)
# For the latest info, see httpwww.ogre3d.org
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

# - Try to find FreeImage
# Once done, this will define
#
# FreeImage_FOUND - system has FreeImage
# FreeImage_INCLUDE_DIRS - the FreeImage include directories
# FreeImage_LIBRARIES - link these to use FreeImage

include(FindPkgMacros)
findpkg_begin(FreeImage)

# Get path, convert backslashes as ${ENV_${var}}
getenv_path(FREEIMAGE_HOME)

# construct search paths
set(FreeImage_PREFIX_PATH ${FREEIMAGE_HOME} ${ENV_FREEIMAGE_HOME})
create_search_paths(FreeImage)
# redo search if prefix path changed
clear_if_changed(FreeImage_PREFIX_PATH
FreeImage_LIBRARY_FWK
FreeImage_LIBRARY_REL
FreeImage_LIBRARY_DBG
FreeImage_INCLUDE_DIR
)

set(FreeImage_LIBRARY_NAMES freeimage freeimageLib)
get_debug_names(FreeImage_LIBRARY_NAMES)

use_pkgconfig(FreeImage_PKGC freeimage)

findpkg_framework(FreeImage)

find_path(FreeImage_INCLUDE_DIR NAMES FreeImage.h HINTS ${FreeImage_INC_SEARCH_PATH} ${FreeImage_PKGC_INCLUDE_DIRS})

find_library(FreeImage_LIBRARY_REL NAMES ${FreeImage_LIBRARY_NAMES} HINTS ${FreeImage_LIB_SEARCH_PATH} ${FreeImage_PKGC_LIBRARY_DIRS} PATH_SUFFIXES release relwithdebinfo minsizerel)
find_library(FreeImage_LIBRARY_DBG NAMES ${FreeImage_LIBRARY_NAMES_DBG} HINTS ${FreeImage_LIB_SEARCH_PATH} ${FreeImage_PKGC_LIBRARY_DIRS} PATH_SUFFIXES debug)

make_library_set(FreeImage_LIBRARY)

findpkg_finish(FreeImage)
101 changes: 101 additions & 0 deletions EmulationStation-kai/CMake/Packages/FindOpenGLES.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
#snapped from: https://bitbucket.org/sinbad/ogre/src/0bba4f7cdb95/CMake/Packages/FindOpenGLES.cmake?at=default
#-------------------------------------------------------------------
# This file is part of the CMake build system for OGRE
# (Object-oriented Graphics Rendering Engine)
# For the latest info, see http://www.ogre3d.org/
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

# - Try to find OpenGLES
# Once done this will define
#
# OPENGLES_FOUND - system has OpenGLES
# OPENGLES_INCLUDE_DIR - the GL include directory
# OPENGLES_LIBRARIES - Link these to use OpenGLES

IF (WIN32)
IF (CYGWIN)

FIND_PATH(OPENGLES_INCLUDE_DIR GLES/gl.h )

FIND_LIBRARY(OPENGLES_gl_LIBRARY libgles_cm )

ELSE (CYGWIN)

IF(MSVC)
#The user hast to provide this atm. GLES can be emulated via Desktop OpenGL
#using the ANGLE project found at: http://code.google.com/p/angleproject/
SET (OPENGLES_gl_LIBRARY import32 CACHE STRING "OpenGL ES 1.x library for win32")
ENDIF(MSVC)

ENDIF (CYGWIN)

ELSE (WIN32)

IF (APPLE)

create_search_paths(/Developer/Platforms)
findpkg_framework(OpenGLES)
set(OPENGLES_gl_LIBRARY "-framework OpenGLES")

ELSE(APPLE)

IF (DEFINED BCMHOST)
FIND_PATH(OPENGLES_INCLUDE_DIR GLES/gl.h
/opt/vc/include
NO_DEFAULT_PATH
)

FIND_LIBRARY(OPENGLES_gl_LIBRARY
NAMES brcmGLESv2
PATHS /opt/vc/lib
)

ELSE (DEFINED BCMHOST)

FIND_PATH(OPENGLES_INCLUDE_DIR GLES/gl.h
/usr/openwin/share/include
/opt/graphics/OpenGL/include /usr/X11R6/include
/usr/include
)

FIND_LIBRARY(OPENGLES_gl_LIBRARY
NAMES GLES_CM GLESv1_CM
PATHS /opt/graphics/OpenGL/lib
/usr/openwin/lib
/usr/shlib /usr/X11R6/lib
/usr/lib
)
ENDIF (DEFINED BCMHOST)

# On Unix OpenGL most certainly always requires X11.
# Feel free to tighten up these conditions if you don't
# think this is always true.

IF (OPENGLES_gl_LIBRARY)
IF(NOT X11_FOUND)
INCLUDE(FindX11)
ENDIF(NOT X11_FOUND)
IF (X11_FOUND)
SET (OPENGLES_LIBRARIES ${X11_LIBRARIES})
ENDIF (X11_FOUND)
ENDIF (OPENGLES_gl_LIBRARY)

ENDIF(APPLE)
ENDIF (WIN32)

SET( OPENGLES_FOUND "NO" )
IF(OPENGLES_gl_LIBRARY)

SET( OPENGLES_LIBRARIES ${OPENGLES_gl_LIBRARY} ${OPENGLES_LIBRARIES})

SET( OPENGLES_FOUND "YES" )

ENDIF(OPENGLES_gl_LIBRARY)

MARK_AS_ADVANCED(
OPENGLES_INCLUDE_DIR
OPENGLES_gl_LIBRARY
)
71 changes: 71 additions & 0 deletions EmulationStation-kai/CMake/Packages/FindRapidJSON.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
#.rst:
# FindRapidjson
# --------
#
# Find the native rapidjson includes and library.
#
# IMPORTED Targets
# ^^^^^^^^^^^^^^^^
#
#
# Result Variables
# ^^^^^^^^^^^^^^^^
#
# This module defines the following variables:
#
# ::
#
# RAPIDJSON_INCLUDE_DIRS - where to find rapidjson/document.h, etc.
# RAPIDJSON_LIBRARIES - List of libraries when using rapidjson.
# RAPIDJSON_FOUND - True if rapidjson found.
#
# ::
#
#
# Hints
# ^^^^^
#
# A user may set ``RAPIDJSON_ROOT`` to a rapidjson installation root to tell this
# module where to look.

#=============================================================================
# Copyright 2018 OWenT.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)

unset(_RAPIDJSON_SEARCH_ROOT_INC)
unset(_RAPIDJSON_SEARCH_ROOT_LIB)

# Search RAPIDJSON_ROOT first if it is set.
if (Rapidjson_ROOT)
set(RAPIDJSON_ROOT ${Rapidjson_ROOT})
endif()

if(RAPIDJSON_ROOT)
set(_RAPIDJSON_SEARCH_ROOT_INC PATHS ${RAPIDJSON_ROOT} ${RAPIDJSON_ROOT}/include NO_DEFAULT_PATH)
endif()

# Try each search configuration.
find_path(RAPIDJSON_INCLUDE_DIRS NAMES rapidjson/document.h ${_RAPIDJSON_SEARCH_ROOT_INC})

mark_as_advanced(RAPIDJSON_INCLUDE_DIRS)

# handle the QUIETLY and REQUIRED arguments and set RAPIDJSON_FOUND to TRUE if
# all listed variables are TRUE
include("FindPackageHandleStandardArgs")
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Rapidjson
REQUIRED_VARS RAPIDJSON_INCLUDE_DIRS
FOUND_VAR Rapidjson_FOUND
)

if(Rapidjson_FOUND)
set(RAPIDJSON_FOUND ${Rapidjson_FOUND})
endif()
Loading