Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: raylib-4.0.0
@ 2022-12-21 18:39 Sqvid
  2022-12-21 18:46 ` Sqvid
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Sqvid @ 2022-12-21 18:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Sqvid/void-packages raylib
https://github.com/void-linux/void-packages/pull/41218

New package: raylib-4.0.0
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 89464a524cd462b0ff59c50e59a67c39cf02b4fe Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com>
Date: Wed, 21 Dec 2022 18:22:15 +0000
Subject: [PATCH] New package: raylib-4.0.0

---
 srcpkgs/raylib/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/raylib/template

diff --git a/srcpkgs/raylib/template b/srcpkgs/raylib/template
new file mode 100644
index 000000000000..64da19cf0e23
--- /dev/null
+++ b/srcpkgs/raylib/template
@@ -0,0 +1,15 @@
+# Template file for 'raylib'
+pkgname=raylib
+version=4.0.0
+revision=1
+build_style=cmake
+configure_args="-DPLATFORM=Desktop -DBUILD_SHARED_LIBS=ON -DUSE_EXTERNAL_GLFW=ON"
+makedepends="alsa-lib-devel MesaLib-devel libX11-devel libXrandr-devel
+ libXi-devel libXcursor-devel libXinerama-devel libatomic-devel glfw-devel"
+depends="glfw-devel"
+short_desc="Raylib is a simple and easy-to-use library for videogames programming"
+maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
+license="Zlib"
+homepage="https://www.raylib.com/"
+distfiles="https://github.com/raysan5/raylib/archive/refs/tags/${version}.tar.gz"
+checksum=11f6087dc7bedf9efb3f69c0c872f637e421d914e5ecea99bbe7781f173dc38c

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

* Re: New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
@ 2022-12-21 18:46 ` Sqvid
  2022-12-21 18:47 ` Sqvid
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-21 18:46 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/41218#issuecomment-1361875282

Comment:
This is not the latest release of raylib because that requires glfw>=3.4
We could let raylib build it's bundled glfw but that doesn't seem smart. We can just bump when glfw3.4 comes out.

I would appreciate advice on whether this should be a devel package?
Paper_ expressed some concerns on the IRC about raylib's API changing too frequently (if I understood them correctly). I would appreciate any clarification on this matter.

Lastly, this closes issue/request #18723

Have a nice day, and happy holidays!

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

* Re: New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
  2022-12-21 18:46 ` Sqvid
@ 2022-12-21 18:47 ` Sqvid
  2022-12-21 18:48 ` [PR PATCH] [Updated] " Sqvid
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-21 18:47 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/41218#issuecomment-1361875282

Comment:
This is not the latest release of raylib because that requires glfw>=3.4
We could let raylib build it's bundled glfw but that doesn't seem smart. We can just bump when glfw3.4 comes out.

I would appreciate advice on whether this should be a devel package?
@paper42 expressed some concerns on the IRC about raylib's API changing too frequently (if I understood them correctly). I would appreciate any clarification on this matter.

Lastly, this closes issue/request #18723

Have a nice day, and happy holidays!

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

* Re: [PR PATCH] [Updated] New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
  2022-12-21 18:46 ` Sqvid
  2022-12-21 18:47 ` Sqvid
@ 2022-12-21 18:48 ` Sqvid
  2022-12-23 13:17 ` Sqvid
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-21 18:48 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages raylib
https://github.com/void-linux/void-packages/pull/41218

New package: raylib-4.0.0
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 006012df43b564497362d056b7bf40921f996418 Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com>
Date: Wed, 21 Dec 2022 18:22:15 +0000
Subject: [PATCH] New package: raylib-4.0.0

---
 srcpkgs/raylib/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/raylib/template

diff --git a/srcpkgs/raylib/template b/srcpkgs/raylib/template
new file mode 100644
index 000000000000..64da19cf0e23
--- /dev/null
+++ b/srcpkgs/raylib/template
@@ -0,0 +1,15 @@
+# Template file for 'raylib'
+pkgname=raylib
+version=4.0.0
+revision=1
+build_style=cmake
+configure_args="-DPLATFORM=Desktop -DBUILD_SHARED_LIBS=ON -DUSE_EXTERNAL_GLFW=ON"
+makedepends="alsa-lib-devel MesaLib-devel libX11-devel libXrandr-devel
+ libXi-devel libXcursor-devel libXinerama-devel libatomic-devel glfw-devel"
+depends="glfw-devel"
+short_desc="Raylib is a simple and easy-to-use library for videogames programming"
+maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
+license="Zlib"
+homepage="https://www.raylib.com/"
+distfiles="https://github.com/raysan5/raylib/archive/refs/tags/${version}.tar.gz"
+checksum=11f6087dc7bedf9efb3f69c0c872f637e421d914e5ecea99bbe7781f173dc38c

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

* Re: [PR PATCH] [Updated] New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
                   ` (2 preceding siblings ...)
  2022-12-21 18:48 ` [PR PATCH] [Updated] " Sqvid
@ 2022-12-23 13:17 ` Sqvid
  2022-12-23 13:23 ` Sqvid
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-23 13:17 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages raylib
https://github.com/void-linux/void-packages/pull/41218

New package: raylib-4.0.0
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 36c1d5cc10334a160560cf700d026880fa2cb793 Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com>
Date: Wed, 21 Dec 2022 18:22:15 +0000
Subject: [PATCH] New package: raylib-4.0.0

---
 common/shlibs           |  1 +
 srcpkgs/raylib/template | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 srcpkgs/raylib/template

diff --git a/common/shlibs b/common/shlibs
index 11ef64e0cc7f..6448995c4f8d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4220,3 +4220,4 @@ libfst.so.25 openfst-1.8.2_1
 libvosk.so vosk-api-0.3.43_1
 libdspy-1.so.1 d-spy-1.4.0_1
 libpanel-1.so.1 libpanel-1.0.1_1
+libraylib.so.4.0.0 raylib-4.0.0_1
diff --git a/srcpkgs/raylib/template b/srcpkgs/raylib/template
new file mode 100644
index 000000000000..efef1504f3e6
--- /dev/null
+++ b/srcpkgs/raylib/template
@@ -0,0 +1,16 @@
+# Template file for 'raylib'
+pkgname=raylib
+version=4.0.0
+revision=1
+build_style=cmake
+configure_args="-DCUSTOMIZE_BUILD=ON -DPLATFORM=Desktop -DBUILD_SHARED_LIBS=ON
+ -DUSE_EXTERNAL_GLFW=ON -DINCLUDE_EVERYTHING=ON"
+makedepends="glfw-devel"
+depends="glfw-devel"
+short_desc="Raylib is a simple and easy-to-use library for videogames programming"
+maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
+license="Zlib"
+homepage="https://www.raylib.com/"
+changelog="https://raw.githubusercontent.com/raysan5/raylib/${version}/CHANGELOG"
+distfiles="https://github.com/raysan5/raylib/archive/refs/tags/${version}.tar.gz"
+checksum=11f6087dc7bedf9efb3f69c0c872f637e421d914e5ecea99bbe7781f173dc38c

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

* Re: [PR PATCH] [Updated] New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
                   ` (3 preceding siblings ...)
  2022-12-23 13:17 ` Sqvid
@ 2022-12-23 13:23 ` Sqvid
  2022-12-23 17:13 ` Sqvid
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-23 13:23 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by Sqvid against master on the void-packages repository

https://github.com/Sqvid/void-packages raylib
https://github.com/void-linux/void-packages/pull/41218

New package: raylib-4.0.0
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

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

From 53e4b4f97c3d83711d376e5ce0773a99aaf3e508 Mon Sep 17 00:00:00 2001
From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com>
Date: Wed, 21 Dec 2022 18:22:15 +0000
Subject: [PATCH] New package: raylib-4.0.0

---
 common/shlibs           |  1 +
 srcpkgs/raylib/template | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 srcpkgs/raylib/template

diff --git a/common/shlibs b/common/shlibs
index 11ef64e0cc7f..f6f5de42435e 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4220,3 +4220,4 @@ libfst.so.25 openfst-1.8.2_1
 libvosk.so vosk-api-0.3.43_1
 libdspy-1.so.1 d-spy-1.4.0_1
 libpanel-1.so.1 libpanel-1.0.1_1
+libraylib.so.400 raylib-4.0.0_1
diff --git a/srcpkgs/raylib/template b/srcpkgs/raylib/template
new file mode 100644
index 000000000000..efef1504f3e6
--- /dev/null
+++ b/srcpkgs/raylib/template
@@ -0,0 +1,16 @@
+# Template file for 'raylib'
+pkgname=raylib
+version=4.0.0
+revision=1
+build_style=cmake
+configure_args="-DCUSTOMIZE_BUILD=ON -DPLATFORM=Desktop -DBUILD_SHARED_LIBS=ON
+ -DUSE_EXTERNAL_GLFW=ON -DINCLUDE_EVERYTHING=ON"
+makedepends="glfw-devel"
+depends="glfw-devel"
+short_desc="Raylib is a simple and easy-to-use library for videogames programming"
+maintainer="Siddhartha Menon <siddharthamenon+void@outlook.com>"
+license="Zlib"
+homepage="https://www.raylib.com/"
+changelog="https://raw.githubusercontent.com/raysan5/raylib/${version}/CHANGELOG"
+distfiles="https://github.com/raysan5/raylib/archive/refs/tags/${version}.tar.gz"
+checksum=11f6087dc7bedf9efb3f69c0c872f637e421d914e5ecea99bbe7781f173dc38c

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

* Re: New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
                   ` (4 preceding siblings ...)
  2022-12-23 13:23 ` Sqvid
@ 2022-12-23 17:13 ` Sqvid
  2022-12-23 17:13 ` Sqvid
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-23 17:13 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/41218#issuecomment-1364124763

Comment:
> It's very simple to setup raylib as a dependency with meson's wrapdb. This package doesn't make much sense for building some games that need raylib because we would soon have to have multiple raylib versions at the same time. It also doesn't make sense for development because there you want to develop with one version and not worry about it changing under your hands.
Thank you for taking the time to review my PR, and for the feedback. You are absolutely right about the API changes. I do agee that games built on raylib are best off statically linking. But for new developers, experimenting with the library, don't the releases make sense? As far as I can see new releases come out ~6months and upstream encourages users to use their distros version if possible. And indeed [several other distros do package it](https://repology.org/project/raylib/versions). Perhaps there is some utility to new developers who want to rely on versioned releases?
> 
> I do not think this is a good fit for a void package.
However, I am very happy to admit my inexperience in this area, so please feel free to close the PR if this is not sensible and there is no way to make it work. Thank you for your time.


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

* Re: New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
                   ` (5 preceding siblings ...)
  2022-12-23 17:13 ` Sqvid
@ 2022-12-23 17:13 ` Sqvid
  2022-12-23 17:14 ` Sqvid
  2023-02-08 17:14 ` [PR PATCH] [Closed]: " Sqvid
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-23 17:13 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/41218#issuecomment-1364124763

Comment:
> It's very simple to setup raylib as a dependency with meson's wrapdb. This package doesn't make much sense for building some games that need raylib because we would soon have to have multiple raylib versions at the same time. It also doesn't make sense for development because there you want to develop with one version and not worry about it changing under your hands.

Thank you for taking the time to review my PR, and for the feedback. You are absolutely right about the API changes. I do agee that games built on raylib are best off statically linking. But for new developers, experimenting with the library, don't the releases make sense? As far as I can see new releases come out ~6months and upstream encourages users to use their distros version if possible. And indeed [several other distros do package it](https://repology.org/project/raylib/versions). Perhaps there is some utility to new developers who want to rely on versioned releases?

> I do not think this is a good fit for a void package.
However, I am very happy to admit my inexperience in this area, so please feel free to close the PR if this is not sensible and there is no way to make it work. Thank you for your time.


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

* Re: New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
                   ` (6 preceding siblings ...)
  2022-12-23 17:13 ` Sqvid
@ 2022-12-23 17:14 ` Sqvid
  2023-02-08 17:14 ` [PR PATCH] [Closed]: " Sqvid
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2022-12-23 17:14 UTC (permalink / raw)
  To: ml

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

New comment by Sqvid on void-packages repository

https://github.com/void-linux/void-packages/pull/41218#issuecomment-1364124763

Comment:
> It's very simple to setup raylib as a dependency with meson's wrapdb. This package doesn't make much sense for building some games that need raylib because we would soon have to have multiple raylib versions at the same time. It also doesn't make sense for development because there you want to develop with one version and not worry about it changing under your hands.

Thank you for taking the time to review my PR, and for the feedback. You are absolutely right about the API changes. I do agee that games built on raylib are best off statically linking. But for new developers, experimenting with the library, don't the releases make sense? As far as I can see new releases come out ~6months and upstream encourages users to use their distros version if possible. And indeed [several other distros do package it](https://repology.org/project/raylib/versions). Perhaps there is some utility to new developers who want to rely on versioned releases?

> I do not think this is a good fit for a void package.

However, I am very happy to admit my inexperience in this area, so please feel free to close the PR if this is not sensible and there is no way to make it work. Thank you for your time.


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

* Re: [PR PATCH] [Closed]: New package: raylib-4.0.0
  2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
                   ` (7 preceding siblings ...)
  2022-12-23 17:14 ` Sqvid
@ 2023-02-08 17:14 ` Sqvid
  8 siblings, 0 replies; 10+ messages in thread
From: Sqvid @ 2023-02-08 17:14 UTC (permalink / raw)
  To: ml

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

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

New package: raylib-4.0.0
https://github.com/void-linux/void-packages/pull/41218

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

end of thread, other threads:[~2023-02-08 17:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21 18:39 [PR PATCH] New package: raylib-4.0.0 Sqvid
2022-12-21 18:46 ` Sqvid
2022-12-21 18:47 ` Sqvid
2022-12-21 18:48 ` [PR PATCH] [Updated] " Sqvid
2022-12-23 13:17 ` Sqvid
2022-12-23 13:23 ` Sqvid
2022-12-23 17:13 ` Sqvid
2022-12-23 17:13 ` Sqvid
2022-12-23 17:14 ` Sqvid
2023-02-08 17:14 ` [PR PATCH] [Closed]: " Sqvid

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).