Xserver-gimp: shmem emulation that somehow works
This commit is contained in:
Submodule project/jni/application/openarena/engine updated: 30e98be358...07c011b6cc
Submodule project/jni/application/openarena/vm updated: 278f045202...4b83db91ab
Submodule project/jni/application/teeworlds/src updated: e5489c8c08...34b64249c4
@@ -175,10 +175,10 @@ MultiABI=armeabi-v7a
|
|||||||
AppMinimumRAM=0
|
AppMinimumRAM=0
|
||||||
|
|
||||||
# Application version code (integer)
|
# Application version code (integer)
|
||||||
AppVersionCode=28206
|
AppVersionCode=28207
|
||||||
|
|
||||||
# Application user-visible version name (string)
|
# Application user-visible version name (string)
|
||||||
AppVersionName="2.8.2.06"
|
AppVersionName="2.8.2.07"
|
||||||
|
|
||||||
# Reset SDL config when updating application to the new version (y) / (n)
|
# Reset SDL config when updating application to the new version (y) / (n)
|
||||||
ResetSdlConfigForThisVersion=y
|
ResetSdlConfigForThisVersion=y
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ xkb/.libs/libxkbstubs.a \
|
|||||||
composite/.libs/libcomposite.a \
|
composite/.libs/libcomposite.a \
|
||||||
os/.libs/libos.a \
|
os/.libs/libos.a \
|
||||||
hw/kdrive/linux/.libs/liblinux.a \
|
hw/kdrive/linux/.libs/liblinux.a \
|
||||||
-lpixman-1 -lXfont -lXau -lXdmcp -lfontenc -lts -lfreetype' \
|
-lpixman-1 -lXfont -lXau -lXdmcp -lfontenc -lts -lfreetype -landroid-shmem' \
|
||||||
|| exit 1
|
|| exit 1
|
||||||
|
|
||||||
#-lfreetype is inside -lsdl_ttf
|
#-lfreetype is inside -lsdl_ttf
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
if( stat( fname, &st ) == 0 )
|
if( stat( fname, &st ) == 0 )
|
||||||
{
|
{
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 1;
|
return (void *)1;
|
||||||
}
|
}
|
||||||
|
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Unpacking data");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Unpacking data");
|
||||||
@@ -49,7 +49,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot copy busybox");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot copy busybox");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 0;
|
return (void *)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(;;)
|
for(;;)
|
||||||
@@ -60,7 +60,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot copy busybox");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot copy busybox");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 1;
|
return (void *)1;
|
||||||
}
|
}
|
||||||
fwrite( buf, 1, cnt, fo );
|
fwrite( buf, 1, cnt, fo );
|
||||||
if( cnt < sizeof(buf) )
|
if( cnt < sizeof(buf) )
|
||||||
@@ -74,7 +74,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot chmod busybox");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot chmod busybox");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 0;
|
return (void *)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( stat( "data.tar.gz", &st ) == 0 )
|
if( stat( "data.tar.gz", &st ) == 0 )
|
||||||
@@ -92,7 +92,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 0;
|
return (void *)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int unpackProgressKb = 0;
|
int unpackProgressKb = 0;
|
||||||
@@ -104,7 +104,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 1;
|
return (void *)1;
|
||||||
}
|
}
|
||||||
fwrite( buf, 1, cnt, fo );
|
fwrite( buf, 1, cnt, fo );
|
||||||
if( cnt < sizeof(buf) )
|
if( cnt < sizeof(buf) )
|
||||||
@@ -122,7 +122,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 0;
|
return (void *)0;
|
||||||
}
|
}
|
||||||
|
|
||||||
remove("data.tar.gz");
|
remove("data.tar.gz");
|
||||||
@@ -135,7 +135,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "No postinstall script");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "No postinstall script");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 1;
|
return (void *)1;
|
||||||
}
|
}
|
||||||
|
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Running postinstall scipt");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Running postinstall scipt");
|
||||||
@@ -145,7 +145,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
{
|
{
|
||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "ERROR: Cannot launch postinstall scipt");
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "ERROR: Cannot launch postinstall scipt");
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 0;
|
return (void *)0;
|
||||||
}
|
}
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
@@ -158,7 +158,7 @@ void * unpackFilesThread(void * unused)
|
|||||||
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Postinstall scipt exited with status %d", pclose(fo));
|
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Postinstall scipt exited with status %d", pclose(fo));
|
||||||
|
|
||||||
unpackFinished = 1;
|
unpackFinished = 1;
|
||||||
return 1;
|
return (void *)1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void XSDL_unpackFiles()
|
void XSDL_unpackFiles()
|
||||||
|
|||||||
Reference in New Issue
Block a user