Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [wip] sdl12-compat
@ 2023-10-06 18:03 mobinmob
  2024-01-05  1:46 ` github-actions
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mobinmob @ 2023-10-06 18:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

There is a new pull request by mobinmob against master on the void-packages repository

https://github.com/mobinmob/void-packages sdl12-compat
https://github.com/void-linux/void-packages/pull/46488

[wip] sdl12-compat
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES/WIP**

This is experimental - I am trying to gauge the amount of work it would take to replace SDL with libsdl12-compat.

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/46488.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sdl12-compat-46488.patch --]
[-- Type: text/x-diff, Size: 3213 bytes --]

From 4a58a032f091683aaee52d0740d39d2ef15a2ef1 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 6 Oct 2023 20:59:46 +0300
Subject: [PATCH 1/2] New package: sdl12-compat-1.2.68

---
 common/shlibs                 |  2 +-
 srcpkgs/sdl12-compat-devel    |  1 +
 srcpkgs/sdl12-compat/template | 31 +++++++++++++++++++++++++++++++
 3 files changed, 33 insertions(+), 1 deletion(-)
 create mode 120000 srcpkgs/sdl12-compat-devel
 create mode 100644 srcpkgs/sdl12-compat/template

diff --git a/common/shlibs b/common/shlibs
index 941a8d6e804c8..a1876843e8f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -394,7 +394,7 @@ libpostproc.so.55 libpostproc-4.0_1
 libavcodec.so.58 libavcodec-4.0_1
 libavutil.so.56 libavutil-4.0_1
 libavfilter.so.7 libavfilter-4.0_1
-libSDL-1.2.so.0 SDL-1.2.14_1
+libSDL-1.2.so.0 sdl12-compat-1.2.68_1
 libSDL_image-1.2.so.0 SDL_image-1.2.10_1
 libx264.so.157 x264-20190507.2245_1
 libxvidcore.so.4 xvidcore-1.2.2_1
diff --git a/srcpkgs/sdl12-compat-devel b/srcpkgs/sdl12-compat-devel
new file mode 120000
index 0000000000000..901c98ddbd0f9
--- /dev/null
+++ b/srcpkgs/sdl12-compat-devel
@@ -0,0 +1 @@
+sdl12-compat
\ No newline at end of file
diff --git a/srcpkgs/sdl12-compat/template b/srcpkgs/sdl12-compat/template
new file mode 100644
index 0000000000000..7343f700aaddd
--- /dev/null
+++ b/srcpkgs/sdl12-compat/template
@@ -0,0 +1,31 @@
+# Template file for 'sdl12-compat'
+pkgname=sdl12-compat
+version=1.2.68
+revision=1
+build_style=cmake
+configure_args="-DSTATICDEVEL=ON"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel"
+short_desc="SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes"
+maintainer="mobinmob <mobinmob@disroot.org>"
+license="BSD-3-Clause"
+homepage="https://github.com/libsdl-org/sdl12-compat/tree/main"
+distfiles="https://github.com/libsdl-org/sdl12-compat/archive/refs/tags/release-${version}.tar.gz"
+checksum=63c6e4dcc1154299e6f363c872900be7f3dcb3e42b9f8f57e05442ec3d89d02d
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+sdl12-compat-devel_package() {
+	short_desc+=" - development files"
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/bin
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/share
+	}
+}

From 300b65707e111d52176400d6070b630195da0754 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 6 Oct 2023 21:00:05 +0300
Subject: [PATCH 2/2] dgen-sdl: update to 1.33.

---
 srcpkgs/dgen-sdl/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/dgen-sdl/template b/srcpkgs/dgen-sdl/template
index d32ca6d23948b..fc7c23b53a6d2 100644
--- a/srcpkgs/dgen-sdl/template
+++ b/srcpkgs/dgen-sdl/template
@@ -1,10 +1,10 @@
 # Template file for 'dgen-sdl'
 pkgname=dgen-sdl
 version=1.33
-revision=4
+revision=5
 build_style=gnu-configure
 hostmakedepends="automake libtool pkg-config nasm"
-makedepends="SDL-devel libarchive-devel"
+makedepends="sdl12-compat-devel libarchive-devel"
 short_desc="Multi-platform Genesis/Mega Drive Emulator"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="BSD-3-Clause, GPL-2.0-or-later, LGPL-2.1-or-later"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [wip] sdl12-compat
  2023-10-06 18:03 [PR PATCH] [wip] sdl12-compat mobinmob
@ 2024-01-05  1:46 ` github-actions
  2024-01-14 21:07 ` mobinmob
  2024-03-16 11:00 ` [PR PATCH] [Closed]: " mobinmob
  2 siblings, 0 replies; 4+ messages in thread
From: github-actions @ 2024-01-05  1:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/46488#issuecomment-1877998419

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [wip] sdl12-compat
  2023-10-06 18:03 [PR PATCH] [wip] sdl12-compat mobinmob
  2024-01-05  1:46 ` github-actions
@ 2024-01-14 21:07 ` mobinmob
  2024-03-16 11:00 ` [PR PATCH] [Closed]: " mobinmob
  2 siblings, 0 replies; 4+ messages in thread
From: mobinmob @ 2024-01-14 21:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 148 bytes --]

New comment by mobinmob on void-packages repository

https://github.com/void-linux/void-packages/pull/46488#issuecomment-1891072680

Comment:
Bump.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Closed]: [wip] sdl12-compat
  2023-10-06 18:03 [PR PATCH] [wip] sdl12-compat mobinmob
  2024-01-05  1:46 ` github-actions
  2024-01-14 21:07 ` mobinmob
@ 2024-03-16 11:00 ` mobinmob
  2 siblings, 0 replies; 4+ messages in thread
From: mobinmob @ 2024-03-16 11:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1200 bytes --]

There's a closed pull request on the void-packages repository

[wip] sdl12-compat
https://github.com/void-linux/void-packages/pull/46488

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES/WIP**

This is experimental - I am trying to gauge the amount of work it would take to replace SDL with libsdl12-compat.

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-16 11:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-06 18:03 [PR PATCH] [wip] sdl12-compat mobinmob
2024-01-05  1:46 ` github-actions
2024-01-14 21:07 ` mobinmob
2024-03-16 11:00 ` [PR PATCH] [Closed]: " mobinmob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).