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

sdl12-compat: Add at v1.2.68 #4606

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/CI/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ static_libs:
- qt6-declarative
- rocm-llvm
- rust
- sdl12-compat
- sdl2
- shadow
- sysprof
Expand Down
1 change: 1 addition & 0 deletions packages/s/sdl12-compat/abi_libs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libSDL-1.2.so.0
234 changes: 234 additions & 0 deletions packages/s/sdl12-compat/abi_symbols
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
libSDL-1.2.so.0:SDL12COMPAT_GetWindow
libSDL-1.2.so.0:SDL_AddTimer
libSDL-1.2.so.0:SDL_AllocRW
libSDL-1.2.so.0:SDL_AudioDriverName
libSDL-1.2.so.0:SDL_AudioInit
libSDL-1.2.so.0:SDL_AudioQuit
libSDL-1.2.so.0:SDL_BuildAudioCVT
libSDL-1.2.so.0:SDL_CDClose
libSDL-1.2.so.0:SDL_CDEject
libSDL-1.2.so.0:SDL_CDName
libSDL-1.2.so.0:SDL_CDNumDrives
libSDL-1.2.so.0:SDL_CDOpen
libSDL-1.2.so.0:SDL_CDPause
libSDL-1.2.so.0:SDL_CDPlay
libSDL-1.2.so.0:SDL_CDPlayTracks
libSDL-1.2.so.0:SDL_CDResume
libSDL-1.2.so.0:SDL_CDStatus
libSDL-1.2.so.0:SDL_CDStop
libSDL-1.2.so.0:SDL_ClearError
libSDL-1.2.so.0:SDL_CloseAudio
libSDL-1.2.so.0:SDL_CondBroadcast
libSDL-1.2.so.0:SDL_CondSignal
libSDL-1.2.so.0:SDL_CondWait
libSDL-1.2.so.0:SDL_CondWaitTimeout
libSDL-1.2.so.0:SDL_ConvertAudio
libSDL-1.2.so.0:SDL_ConvertSurface
libSDL-1.2.so.0:SDL_CreateCond
libSDL-1.2.so.0:SDL_CreateCursor
libSDL-1.2.so.0:SDL_CreateMutex
libSDL-1.2.so.0:SDL_CreateRGBSurface
libSDL-1.2.so.0:SDL_CreateRGBSurfaceFrom
libSDL-1.2.so.0:SDL_CreateSemaphore
libSDL-1.2.so.0:SDL_CreateThread
libSDL-1.2.so.0:SDL_CreateYUVOverlay
libSDL-1.2.so.0:SDL_Delay
libSDL-1.2.so.0:SDL_DestroyCond
libSDL-1.2.so.0:SDL_DestroyMutex
libSDL-1.2.so.0:SDL_DestroySemaphore
libSDL-1.2.so.0:SDL_DisplayFormat
libSDL-1.2.so.0:SDL_DisplayFormatAlpha
libSDL-1.2.so.0:SDL_DisplayYUVOverlay
libSDL-1.2.so.0:SDL_EnableKeyRepeat
libSDL-1.2.so.0:SDL_EnableUNICODE
libSDL-1.2.so.0:SDL_Error
libSDL-1.2.so.0:SDL_EventState
libSDL-1.2.so.0:SDL_FillRect
libSDL-1.2.so.0:SDL_Flip
libSDL-1.2.so.0:SDL_FreeCursor
libSDL-1.2.so.0:SDL_FreeRW
libSDL-1.2.so.0:SDL_FreeSurface
libSDL-1.2.so.0:SDL_FreeWAV
libSDL-1.2.so.0:SDL_FreeYUVOverlay
libSDL-1.2.so.0:SDL_GL_DisableContext
libSDL-1.2.so.0:SDL_GL_EnableContext_Thread
libSDL-1.2.so.0:SDL_GL_GetAttribute
libSDL-1.2.so.0:SDL_GL_GetProcAddress
libSDL-1.2.so.0:SDL_GL_LoadLibrary
libSDL-1.2.so.0:SDL_GL_Lock
libSDL-1.2.so.0:SDL_GL_SetAttribute
libSDL-1.2.so.0:SDL_GL_SwapBuffers
libSDL-1.2.so.0:SDL_GL_Unlock
libSDL-1.2.so.0:SDL_GL_UpdateRects
libSDL-1.2.so.0:SDL_GetAppState
libSDL-1.2.so.0:SDL_GetAudioStatus
libSDL-1.2.so.0:SDL_GetClipRect
libSDL-1.2.so.0:SDL_GetCursor
libSDL-1.2.so.0:SDL_GetError
libSDL-1.2.so.0:SDL_GetEventFilter
libSDL-1.2.so.0:SDL_GetGammaRamp
libSDL-1.2.so.0:SDL_GetKeyName
libSDL-1.2.so.0:SDL_GetKeyRepeat
libSDL-1.2.so.0:SDL_GetKeyState
libSDL-1.2.so.0:SDL_GetModState
libSDL-1.2.so.0:SDL_GetMouseState
libSDL-1.2.so.0:SDL_GetRGB
libSDL-1.2.so.0:SDL_GetRGBA
libSDL-1.2.so.0:SDL_GetRelativeMouseState
libSDL-1.2.so.0:SDL_GetThreadID
libSDL-1.2.so.0:SDL_GetTicks
libSDL-1.2.so.0:SDL_GetVideoInfo
libSDL-1.2.so.0:SDL_GetVideoSurface
libSDL-1.2.so.0:SDL_GetWMInfo
libSDL-1.2.so.0:SDL_Has3DNow
libSDL-1.2.so.0:SDL_Has3DNowExt
libSDL-1.2.so.0:SDL_HasAltiVec
libSDL-1.2.so.0:SDL_HasMMX
libSDL-1.2.so.0:SDL_HasMMXExt
libSDL-1.2.so.0:SDL_HasRDTSC
libSDL-1.2.so.0:SDL_HasSSE
libSDL-1.2.so.0:SDL_HasSSE2
libSDL-1.2.so.0:SDL_Init
libSDL-1.2.so.0:SDL_InitSubSystem
libSDL-1.2.so.0:SDL_JoystickClose
libSDL-1.2.so.0:SDL_JoystickEventState
libSDL-1.2.so.0:SDL_JoystickGetAxis
libSDL-1.2.so.0:SDL_JoystickGetBall
libSDL-1.2.so.0:SDL_JoystickGetButton
libSDL-1.2.so.0:SDL_JoystickGetHat
libSDL-1.2.so.0:SDL_JoystickIndex
libSDL-1.2.so.0:SDL_JoystickName
libSDL-1.2.so.0:SDL_JoystickNumAxes
libSDL-1.2.so.0:SDL_JoystickNumBalls
libSDL-1.2.so.0:SDL_JoystickNumButtons
libSDL-1.2.so.0:SDL_JoystickNumHats
libSDL-1.2.so.0:SDL_JoystickOpen
libSDL-1.2.so.0:SDL_JoystickOpened
libSDL-1.2.so.0:SDL_JoystickUpdate
libSDL-1.2.so.0:SDL_KillThread
libSDL-1.2.so.0:SDL_Linked_Version
libSDL-1.2.so.0:SDL_ListModes
libSDL-1.2.so.0:SDL_LoadBMP_RW
libSDL-1.2.so.0:SDL_LoadFunction
libSDL-1.2.so.0:SDL_LoadObject
libSDL-1.2.so.0:SDL_LoadWAV_RW
libSDL-1.2.so.0:SDL_LockAudio
libSDL-1.2.so.0:SDL_LockSurface
libSDL-1.2.so.0:SDL_LockYUVOverlay
libSDL-1.2.so.0:SDL_LowerBlit
libSDL-1.2.so.0:SDL_MapRGB
libSDL-1.2.so.0:SDL_MapRGBA
libSDL-1.2.so.0:SDL_MixAudio
libSDL-1.2.so.0:SDL_NumJoysticks
libSDL-1.2.so.0:SDL_OpenAudio
libSDL-1.2.so.0:SDL_PauseAudio
libSDL-1.2.so.0:SDL_PeepEvents
libSDL-1.2.so.0:SDL_PollEvent
libSDL-1.2.so.0:SDL_PumpEvents
libSDL-1.2.so.0:SDL_PushEvent
libSDL-1.2.so.0:SDL_Quit
libSDL-1.2.so.0:SDL_QuitSubSystem
libSDL-1.2.so.0:SDL_RWFromConstMem
libSDL-1.2.so.0:SDL_RWFromFP
libSDL-1.2.so.0:SDL_RWFromFile
libSDL-1.2.so.0:SDL_RWFromMem
libSDL-1.2.so.0:SDL_ReadBE16
libSDL-1.2.so.0:SDL_ReadBE32
libSDL-1.2.so.0:SDL_ReadBE64
libSDL-1.2.so.0:SDL_ReadLE16
libSDL-1.2.so.0:SDL_ReadLE32
libSDL-1.2.so.0:SDL_ReadLE64
libSDL-1.2.so.0:SDL_RemoveTimer
libSDL-1.2.so.0:SDL_SaveBMP_RW
libSDL-1.2.so.0:SDL_SemPost
libSDL-1.2.so.0:SDL_SemTryWait
libSDL-1.2.so.0:SDL_SemValue
libSDL-1.2.so.0:SDL_SemWait
libSDL-1.2.so.0:SDL_SemWaitTimeout
libSDL-1.2.so.0:SDL_SetAlpha
libSDL-1.2.so.0:SDL_SetClipRect
libSDL-1.2.so.0:SDL_SetColorKey
libSDL-1.2.so.0:SDL_SetColors
libSDL-1.2.so.0:SDL_SetCursor
libSDL-1.2.so.0:SDL_SetError
libSDL-1.2.so.0:SDL_SetEventFilter
libSDL-1.2.so.0:SDL_SetGamma
libSDL-1.2.so.0:SDL_SetGammaRamp
libSDL-1.2.so.0:SDL_SetModState
libSDL-1.2.so.0:SDL_SetPalette
libSDL-1.2.so.0:SDL_SetTimer
libSDL-1.2.so.0:SDL_SetVideoMode
libSDL-1.2.so.0:SDL_ShowCursor
libSDL-1.2.so.0:SDL_SoftStretch
libSDL-1.2.so.0:SDL_ThreadID
libSDL-1.2.so.0:SDL_UnloadObject
libSDL-1.2.so.0:SDL_UnlockAudio
libSDL-1.2.so.0:SDL_UnlockSurface
libSDL-1.2.so.0:SDL_UnlockYUVOverlay
libSDL-1.2.so.0:SDL_UpdateRect
libSDL-1.2.so.0:SDL_UpdateRects
libSDL-1.2.so.0:SDL_UpperBlit
libSDL-1.2.so.0:SDL_VideoDriverName
libSDL-1.2.so.0:SDL_VideoInit
libSDL-1.2.so.0:SDL_VideoModeOK
libSDL-1.2.so.0:SDL_VideoQuit
libSDL-1.2.so.0:SDL_WM_GetCaption
libSDL-1.2.so.0:SDL_WM_GrabInput
libSDL-1.2.so.0:SDL_WM_IconifyWindow
libSDL-1.2.so.0:SDL_WM_SetCaption
libSDL-1.2.so.0:SDL_WM_SetIcon
libSDL-1.2.so.0:SDL_WM_ToggleFullScreen
libSDL-1.2.so.0:SDL_WaitEvent
libSDL-1.2.so.0:SDL_WaitThread
libSDL-1.2.so.0:SDL_WarpMouse
libSDL-1.2.so.0:SDL_WasInit
libSDL-1.2.so.0:SDL_WriteBE16
libSDL-1.2.so.0:SDL_WriteBE32
libSDL-1.2.so.0:SDL_WriteBE64
libSDL-1.2.so.0:SDL_WriteLE16
libSDL-1.2.so.0:SDL_WriteLE32
libSDL-1.2.so.0:SDL_WriteLE64
libSDL-1.2.so.0:SDL_calloc
libSDL-1.2.so.0:SDL_free
libSDL-1.2.so.0:SDL_getenv
libSDL-1.2.so.0:SDL_iconv
libSDL-1.2.so.0:SDL_iconv_close
libSDL-1.2.so.0:SDL_iconv_open
libSDL-1.2.so.0:SDL_iconv_string
libSDL-1.2.so.0:SDL_lltoa
libSDL-1.2.so.0:SDL_ltoa
libSDL-1.2.so.0:SDL_malloc
libSDL-1.2.so.0:SDL_memcmp
libSDL-1.2.so.0:SDL_memcpy
libSDL-1.2.so.0:SDL_memset
libSDL-1.2.so.0:SDL_mutexP
libSDL-1.2.so.0:SDL_mutexV
libSDL-1.2.so.0:SDL_putenv
libSDL-1.2.so.0:SDL_qsort
libSDL-1.2.so.0:SDL_realloc
libSDL-1.2.so.0:SDL_revcpy
libSDL-1.2.so.0:SDL_snprintf
libSDL-1.2.so.0:SDL_sscanf
libSDL-1.2.so.0:SDL_strcasecmp
libSDL-1.2.so.0:SDL_strchr
libSDL-1.2.so.0:SDL_strcmp
libSDL-1.2.so.0:SDL_strdup
libSDL-1.2.so.0:SDL_strlcat
libSDL-1.2.so.0:SDL_strlcpy
libSDL-1.2.so.0:SDL_strlen
libSDL-1.2.so.0:SDL_strlwr
libSDL-1.2.so.0:SDL_strncasecmp
libSDL-1.2.so.0:SDL_strncmp
libSDL-1.2.so.0:SDL_strrchr
libSDL-1.2.so.0:SDL_strrev
libSDL-1.2.so.0:SDL_strstr
libSDL-1.2.so.0:SDL_strtod
libSDL-1.2.so.0:SDL_strtol
libSDL-1.2.so.0:SDL_strtoll
libSDL-1.2.so.0:SDL_strtoul
libSDL-1.2.so.0:SDL_strtoull
libSDL-1.2.so.0:SDL_strupr
libSDL-1.2.so.0:SDL_ulltoa
libSDL-1.2.so.0:SDL_ultoa
libSDL-1.2.so.0:SDL_vsnprintf
libSDL-1.2.so.0:X11_KeyToUnicode
1 change: 1 addition & 0 deletions packages/s/sdl12-compat/abi_used_libs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libc.so.6
8 changes: 8 additions & 0 deletions packages/s/sdl12-compat/abi_used_symbols
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
libc.so.6:__fprintf_chk
libc.so.6:__stack_chk_fail
libc.so.6:abort
libc.so.6:dlclose
libc.so.6:dlopen
libc.so.6:dlsym
libc.so.6:readlink
libc.so.6:stderr
6 changes: 6 additions & 0 deletions packages/s/sdl12-compat/monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
releases:
id: 242769
rss: https://github.com/libsdl-org/sdl12-compat/tags.atom
# No known CPE, checked 2024-12-17
security:
cpe: ~
25 changes: 25 additions & 0 deletions packages/s/sdl12-compat/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name : sdl12-compat
version : 1.2.68
release : 1
source :
- https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-1.2.68.tar.gz : 63c6e4dcc1154299e6f363c872900be7f3dcb3e42b9f8f57e05442ec3d89d02d
homepage : https://libsdl.org/
license : Zlib
component : multimedia.library
summary : An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes
description: |
This is the Simple DirectMedia Layer, a general API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across multiple platforms.
This code is a compatibility layer; it provides a binary and source compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. If you are writing new code, please target SDL 2.0 directly and do not use this layer
builddeps :
- pkgconfig(glu) # For SDL_opengl.h
- pkgconfig(sdl2)
- pkgconfig(x11) # For SDL_syswm.h
setup : |
%cmake_ninja
build : |
%ninja_build
install : |
%ninja_install
conflicts :
- sdl1
- devel: sdl1-devel
96 changes: 96 additions & 0 deletions packages/s/sdl12-compat/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<PISI>
<Source>
<Name>sdl12-compat</Name>
<Homepage>https://libsdl.org/</Homepage>
<Packager>
<Name>Muhammad Alfi Syahrin</Name>
<Email>[email protected]</Email>
</Packager>
<License>Zlib</License>
<PartOf>multimedia.library</PartOf>
<Summary xml:lang="en">An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes</Summary>
<Description xml:lang="en">This is the Simple DirectMedia Layer, a general API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across multiple platforms.
This code is a compatibility layer; it provides a binary and source compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. If you are writing new code, please target SDL 2.0 directly and do not use this layer
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>sdl12-compat</Name>
<Summary xml:lang="en">An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes</Summary>
<Description xml:lang="en">This is the Simple DirectMedia Layer, a general API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across multiple platforms.
This code is a compatibility layer; it provides a binary and source compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. If you are writing new code, please target SDL 2.0 directly and do not use this layer
</Description>
<PartOf>multimedia.library</PartOf>
<Files>
<Path fileType="executable">/usr/bin/sdl-config</Path>
<Path fileType="library">/usr/lib64/libSDL-1.2.so.0</Path>
<Path fileType="library">/usr/lib64/libSDL-1.2.so.1.2.68</Path>
</Files>
<Conflicts>
<Package>sdl1</Package>
</Conflicts>
</Package>
<Package>
<Name>sdl12-compat-devel</Name>
<Summary xml:lang="en">Development files for sdl12-compat</Summary>
<Description xml:lang="en">This is the Simple DirectMedia Layer, a general API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across multiple platforms.
This code is a compatibility layer; it provides a binary and source compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes. If you are writing new code, please target SDL 2.0 directly and do not use this layer
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="1">sdl12-compat</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/SDL/SDL.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_active.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_audio.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_byteorder.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_cdrom.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_config.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_copying.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_cpuinfo.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_endian.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_error.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_events.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_getenv.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_joystick.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_keyboard.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_keysym.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_loadso.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_main.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_mouse.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_mutex.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_name.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_opengl.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_platform.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_quit.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_rwops.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_stdinc.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_syswm.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_thread.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_timer.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_types.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_version.h</Path>
<Path fileType="header">/usr/include/SDL/SDL_video.h</Path>
<Path fileType="header">/usr/include/SDL/begin_code.h</Path>
<Path fileType="header">/usr/include/SDL/close_code.h</Path>
<Path fileType="library">/usr/lib64/libSDL-1.2.so</Path>
<Path fileType="library">/usr/lib64/libSDL.so</Path>
<Path fileType="library">/usr/lib64/libSDLmain.a</Path>
<Path fileType="data">/usr/lib64/pkgconfig/sdl12_compat.pc</Path>
<Path fileType="data">/usr/share/aclocal/sdl.m4</Path>
</Files>
<Conflicts>
<Package>sdl1-devel</Package>
</Conflicts>
</Package>
<History>
<Update release="1">
<Date>2024-12-17</Date>
<Version>1.2.68</Version>
<Comment>Packaging update</Comment>
<Name>Muhammad Alfi Syahrin</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>
Loading