Xserver-gimp: shmem emulation that somehow works

This commit is contained in:
pelya
2013-11-16 23:42:40 +02:00
parent 2420ce5caa
commit 2fd6ee15a0
7 changed files with 17 additions and 17 deletions

View File

@@ -175,10 +175,10 @@ MultiABI=armeabi-v7a
AppMinimumRAM=0
# Application version code (integer)
AppVersionCode=28206
AppVersionCode=28207
# 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)
ResetSdlConfigForThisVersion=y

View File

@@ -58,7 +58,7 @@ xkb/.libs/libxkbstubs.a \
composite/.libs/libcomposite.a \
os/.libs/libos.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
#-lfreetype is inside -lsdl_ttf

View File

@@ -36,7 +36,7 @@ void * unpackFilesThread(void * unused)
if( stat( fname, &st ) == 0 )
{
unpackFinished = 1;
return 1;
return (void *)1;
}
__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");
unpackFinished = 1;
return 0;
return (void *)0;
}
for(;;)
@@ -60,7 +60,7 @@ void * unpackFilesThread(void * unused)
{
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot copy busybox");
unpackFinished = 1;
return 1;
return (void *)1;
}
fwrite( buf, 1, cnt, fo );
if( cnt < sizeof(buf) )
@@ -74,7 +74,7 @@ void * unpackFilesThread(void * unused)
{
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Cannot chmod busybox");
unpackFinished = 1;
return 0;
return (void *)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");
unpackFinished = 1;
return 0;
return (void *)0;
}
int unpackProgressKb = 0;
@@ -104,7 +104,7 @@ void * unpackFilesThread(void * unused)
{
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
unpackFinished = 1;
return 1;
return (void *)1;
}
fwrite( buf, 1, cnt, fo );
if( cnt < sizeof(buf) )
@@ -122,7 +122,7 @@ void * unpackFilesThread(void * unused)
{
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Error extracting data");
unpackFinished = 1;
return 0;
return (void *)0;
}
remove("data.tar.gz");
@@ -135,7 +135,7 @@ void * unpackFilesThread(void * unused)
{
__android_log_print(ANDROID_LOG_INFO, "XSDL", "No postinstall script");
unpackFinished = 1;
return 1;
return (void *)1;
}
__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");
unpackFinished = 1;
return 0;
return (void *)0;
}
for(;;)
{
@@ -158,7 +158,7 @@ void * unpackFilesThread(void * unused)
__android_log_print(ANDROID_LOG_INFO, "XSDL", "Postinstall scipt exited with status %d", pclose(fo));
unpackFinished = 1;
return 1;
return (void *)1;
}
void XSDL_unpackFiles()