46768830ae
Now x11-packages repository will use original names for packages. For example, libgtk2 now will be provided as gtk2, libgtk3 will be available as gtk3, libsdl - as sdl. List of changed packages: libatk --> atk libglu --> glu libgtk2 --> gtk2 libgtk3 --> gtk3 libmesa --> mesa libsdl --> sdl libsdl2 --> sdl2 libsdl-net --> sdl-net riscvemu-sdl --> riscvemu xorg-xvfb --> xorg-server-xvfb List of dependent packages (should be rebuilt with new deps): dosbox, emacs-x, galculator, geany, libepoxy, mtpaint, qemu-system-x86_64, the-powder-toy, tigervnc, wireshark-gtk, xarchiver. Note: depending on which packages are installed, it may be necessary to upgrade with 'apt dist-upgrade'.
68 lines
2.3 KiB
Diff
68 lines
2.3 KiB
Diff
diff -uNr SDL2-2.0.8/include/SDL_system.h SDL2-2.0.8.mod/include/SDL_system.h
|
|
--- SDL2-2.0.8/include/SDL_system.h 2018-03-01 18:34:41.000000000 +0200
|
|
+++ SDL2-2.0.8.mod/include/SDL_system.h 2018-09-07 16:13:56.456904701 +0300
|
|
@@ -89,63 +89,6 @@
|
|
|
|
|
|
/* Platform specific functions for Android */
|
|
-#if defined(__ANDROID__) && __ANDROID__
|
|
-
|
|
-/**
|
|
- \brief Get the JNI environment for the current thread
|
|
-
|
|
- This returns JNIEnv*, but the prototype is void* so we don't need jni.h
|
|
- */
|
|
-extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv(void);
|
|
-
|
|
-/**
|
|
- \brief Get the SDL Activity object for the application
|
|
-
|
|
- This returns jobject, but the prototype is void* so we don't need jni.h
|
|
- The jobject returned by SDL_AndroidGetActivity is a local reference.
|
|
- It is the caller's responsibility to properly release it
|
|
- (using env->Push/PopLocalFrame or manually with env->DeleteLocalRef)
|
|
- */
|
|
-extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void);
|
|
-
|
|
-/**
|
|
- \brief Return true if the application is running on Android TV
|
|
- */
|
|
-extern DECLSPEC SDL_bool SDLCALL SDL_IsAndroidTV(void);
|
|
-
|
|
-/**
|
|
- See the official Android developer guide for more information:
|
|
- http://developer.android.com/guide/topics/data/data-storage.html
|
|
-*/
|
|
-#define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01
|
|
-#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02
|
|
-
|
|
-/**
|
|
- \brief Get the path used for internal storage for this application.
|
|
-
|
|
- This path is unique to your application and cannot be written to
|
|
- by other applications.
|
|
- */
|
|
-extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath(void);
|
|
-
|
|
-/**
|
|
- \brief Get the current state of external storage, a bitmask of these values:
|
|
- SDL_ANDROID_EXTERNAL_STORAGE_READ
|
|
- SDL_ANDROID_EXTERNAL_STORAGE_WRITE
|
|
-
|
|
- If external storage is currently unavailable, this will return 0.
|
|
-*/
|
|
-extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState(void);
|
|
-
|
|
-/**
|
|
- \brief Get the path used for external storage for this application.
|
|
-
|
|
- This path is unique to your application, but is public and can be
|
|
- written to by other applications.
|
|
- */
|
|
-extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath(void);
|
|
-
|
|
-#endif /* __ANDROID__ */
|
|
|
|
/* Platform specific functions for WinRT */
|
|
#if defined(__WINRT__) && __WINRT__
|