Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: LibreSprite-1.0
@ 2021-12-22  1:54 notthewave
  2021-12-22  1:56 ` [PR PATCH] [Updated] " notthewave
                   ` (11 more replies)
  0 siblings, 12 replies; 40+ messages in thread
From: notthewave @ 2021-12-22  1:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/notthewave/void-packages LibreSprite
https://github.com/void-linux/void-packages/pull/34654

New package: LibreSprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - NO.

closes https://github.com/void-linux/void-packages/issues/34594 and potentially https://github.com/void-linux/void-packages/issues/24800

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

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

From 26a0ec6bda50fd8356a950b2383e9f9e9f6d15f7 Mon Sep 17 00:00:00 2001
From: notthewave <winklbauer_m@zoho.eu>
Date: Wed, 22 Dec 2021 02:51:36 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 000000000000..6de4136ce700
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,48 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_fliccommit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observablecommit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undocommit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_simpleinicommit=0687587cef1816a04307d632e517be9803bbdca6
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+#archs="i686 x86_64"
+#wrksrc=
+#create_wrksrc=yes
+build_style=cmake
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config"
+makedepends="libpng-devel pixman-devel libcurl-devel nodejs-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+short_desc="Animated sprite editor & pixel art tool - GPL2 Aseprite fork"
+maintainer="notthewave <winklbauer_m@zoho.eu>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ eafc2435d03d4660edeaa6c89087abe8a6dfe0003cfcda1560b1a3296ea408f5
+ 0ef2ef3c3cd7b7e48c9df3e1af134059c53e295f1f82a23c91e92dae7eb602a2
+ 5df61dc43fc5c7491fa261502a4e547c33dbfab53b52965613235961e63f65bb
+ f870af42e3f9983862545c24f8ee9a0dff5a30415a1be06b68445d6ea4c3bc62
+ f72bd22ccca908ec0c61f2517fed8402af1ace1b07c4d111688bc9ee95789dcb
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${XBPS_BUILDDIR}/clip-${_clipcommit} ${wrksrc}/src/clip
+	mv -T ${XBPS_BUILDDIR}/flic-${_fliccommit} ${wrksrc}/src/flic
+	mv -T ${XBPS_BUILDDIR}/observable-${_observablecommit} ${wrksrc}/src/observable
+	mv -T ${XBPS_BUILDDIR}/undo-${_undocommit} ${wrksrc}/src/undo
+	mv -T ${XBPS_BUILDDIR}/simpleini-${_simpleinicommit} ${wrksrc}/third_party/simpleini
+	mv -T ${XBPS_BUILDDIR}/duktape-${_duktapecommit} ${wrksrc}/third_party/duktape
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
@ 2021-12-22  1:56 ` notthewave
  2021-12-22  2:01 ` notthewave
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-22  1:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/notthewave/void-packages LibreSprite
https://github.com/void-linux/void-packages/pull/34654

New package: LibreSprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - NO.

closes https://github.com/void-linux/void-packages/issues/34594 and potentially https://github.com/void-linux/void-packages/issues/24800

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

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

From 87fd94bea713b83b9acc75628e22e161efce95d3 Mon Sep 17 00:00:00 2001
From: notthewave <winklbauer_m@zoho.eu>
Date: Wed, 22 Dec 2021 02:51:36 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 000000000000..0f28ba8cedb4
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,40 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_fliccommit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observablecommit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undocommit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_simpleinicommit=0687587cef1816a04307d632e517be9803bbdca6
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="libpng-devel pixman-devel libcurl-devel nodejs-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+short_desc="Animated sprite editor & pixel art tool - GPL2 Aseprite fork"
+maintainer="notthewave <winklbauer_m@zoho.eu>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ eafc2435d03d4660edeaa6c89087abe8a6dfe0003cfcda1560b1a3296ea408f5
+ 0ef2ef3c3cd7b7e48c9df3e1af134059c53e295f1f82a23c91e92dae7eb602a2
+ 5df61dc43fc5c7491fa261502a4e547c33dbfab53b52965613235961e63f65bb
+ f870af42e3f9983862545c24f8ee9a0dff5a30415a1be06b68445d6ea4c3bc62
+ f72bd22ccca908ec0c61f2517fed8402af1ace1b07c4d111688bc9ee95789dcb
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${XBPS_BUILDDIR}/clip-${_clipcommit} ${wrksrc}/src/clip
+	mv -T ${XBPS_BUILDDIR}/flic-${_fliccommit} ${wrksrc}/src/flic
+	mv -T ${XBPS_BUILDDIR}/observable-${_observablecommit} ${wrksrc}/src/observable
+	mv -T ${XBPS_BUILDDIR}/undo-${_undocommit} ${wrksrc}/src/undo
+	mv -T ${XBPS_BUILDDIR}/simpleini-${_simpleinicommit} ${wrksrc}/third_party/simpleini
+	mv -T ${XBPS_BUILDDIR}/duktape-${_duktapecommit} ${wrksrc}/third_party/duktape
+}

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
  2021-12-22  1:56 ` [PR PATCH] [Updated] " notthewave
@ 2021-12-22  2:01 ` notthewave
  2021-12-22  2:08 ` notthewave
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-22  2:01 UTC (permalink / raw)
  To: ml

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

New comment by notthewave on void-packages repository

https://github.com/void-linux/void-packages/pull/34654#issuecomment-999223798

Comment:
.desktop seems to be missing

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
  2021-12-22  1:56 ` [PR PATCH] [Updated] " notthewave
  2021-12-22  2:01 ` notthewave
@ 2021-12-22  2:08 ` notthewave
  2021-12-22 17:28 ` notthewave
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-22  2:08 UTC (permalink / raw)
  To: ml

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

New comment by notthewave on void-packages repository

https://github.com/void-linux/void-packages/pull/34654#issuecomment-999226831

Comment:
worked totally fine locally

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (2 preceding siblings ...)
  2021-12-22  2:08 ` notthewave
@ 2021-12-22 17:28 ` notthewave
  2021-12-23 20:04 ` notthewave
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-22 17:28 UTC (permalink / raw)
  To: ml

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

New comment by notthewave on void-packages repository

https://github.com/void-linux/void-packages/pull/34654#issuecomment-999226831

Comment:
worked totally fine locally

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (3 preceding siblings ...)
  2021-12-22 17:28 ` notthewave
@ 2021-12-23 20:04 ` notthewave
  2021-12-23 20:13 ` notthewave
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-23 20:04 UTC (permalink / raw)
  To: ml

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

New comment by notthewave on void-packages repository

https://github.com/void-linux/void-packages/pull/34654#issuecomment-1000501924

Comment:
how can I fix those failing checks?

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (4 preceding siblings ...)
  2021-12-23 20:04 ` notthewave
@ 2021-12-23 20:13 ` notthewave
  2021-12-27 16:16 ` [PR PATCH] [Updated] " notthewave
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-23 20:13 UTC (permalink / raw)
  To: ml

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

New comment by notthewave on void-packages repository

https://github.com/void-linux/void-packages/pull/34654#issuecomment-1000501924

Comment:
how can I fix those failing checks? the checks that fail are from the submoudule

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (5 preceding siblings ...)
  2021-12-23 20:13 ` notthewave
@ 2021-12-27 16:16 ` notthewave
  2021-12-27 16:39 ` notthewave
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-27 16:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/notthewave/void-packages LibreSprite
https://github.com/void-linux/void-packages/pull/34654

New package: LibreSprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - NO.

closes https://github.com/void-linux/void-packages/issues/34594 and potentially https://github.com/void-linux/void-packages/issues/24800

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

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

From bd357f0180a66a31f4f261e5e6d5c835852d6353 Mon Sep 17 00:00:00 2001
From: notthewave <winklbauer_m@zoho.eu>
Date: Wed, 22 Dec 2021 02:51:36 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 000000000000..34ca2fd5ce21
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,44 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_fliccommit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observablecommit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undocommit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_simpleinicommit=0687587cef1816a04307d632e517be9803bbdca6
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="libpng-devel pixman-devel libcurl-devel nodejs-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+short_desc="Animated sprite editor & pixel art tool - GPL2 Aseprite fork"
+maintainer="notthewave <winklbauer_m@zoho.eu>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ eafc2435d03d4660edeaa6c89087abe8a6dfe0003cfcda1560b1a3296ea408f5
+ 0ef2ef3c3cd7b7e48c9df3e1af134059c53e295f1f82a23c91e92dae7eb602a2
+ 5df61dc43fc5c7491fa261502a4e547c33dbfab53b52965613235961e63f65bb
+ f870af42e3f9983862545c24f8ee9a0dff5a30415a1be06b68445d6ea4c3bc62
+ f72bd22ccca908ec0c61f2517fed8402af1ace1b07c4d111688bc9ee95789dcb
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${XBPS_BUILDDIR}/clip-${_clipcommit} ${wrksrc}/src/clip
+	mv -T ${XBPS_BUILDDIR}/flic-${_fliccommit} ${wrksrc}/src/flic
+	mv -T ${XBPS_BUILDDIR}/observable-${_observablecommit} ${wrksrc}/src/observable
+	mv -T ${XBPS_BUILDDIR}/undo-${_undocommit} ${wrksrc}/src/undo
+	mv -T ${XBPS_BUILDDIR}/simpleini-${_simpleinicommit} ${wrksrc}/third_party/simpleini
+	mv -T ${XBPS_BUILDDIR}/duktape-${_duktapecommit} ${wrksrc}/third_party/duktape
+}
+
+do_install() {
+	vinstall desktop/libresprite.desktop 644 usr/share/applications
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (6 preceding siblings ...)
  2021-12-27 16:16 ` [PR PATCH] [Updated] " notthewave
@ 2021-12-27 16:39 ` notthewave
  2021-12-27 16:47 ` notthewave
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-27 16:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/notthewave/void-packages LibreSprite
https://github.com/void-linux/void-packages/pull/34654

New package: LibreSprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - NO.

closes https://github.com/void-linux/void-packages/issues/34594 and potentially https://github.com/void-linux/void-packages/issues/24800

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

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

From 1533c318e2db57e52e1f5fc3a76e2f4abd1e54d8 Mon Sep 17 00:00:00 2001
From: notthewave <winklbauer_m@zoho.eu>
Date: Wed, 22 Dec 2021 02:51:36 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 000000000000..9c9727e49e88
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,41 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_fliccommit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observablecommit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undocommit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_simpleinicommit=0687587cef1816a04307d632e517be9803bbdca6
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON"
+hostmakedepends="pkg-config gtest-devel"
+makedepends="libpng-devel pixman-devel libcurl-devel nodejs-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+short_desc="Animated sprite editor & pixel art tool - GPL2 Aseprite fork"
+maintainer="notthewave <winklbauer_m@zoho.eu>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ eafc2435d03d4660edeaa6c89087abe8a6dfe0003cfcda1560b1a3296ea408f5
+ 0ef2ef3c3cd7b7e48c9df3e1af134059c53e295f1f82a23c91e92dae7eb602a2
+ 5df61dc43fc5c7491fa261502a4e547c33dbfab53b52965613235961e63f65bb
+ f870af42e3f9983862545c24f8ee9a0dff5a30415a1be06b68445d6ea4c3bc62
+ f72bd22ccca908ec0c61f2517fed8402af1ace1b07c4d111688bc9ee95789dcb
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${XBPS_BUILDDIR}/clip-${_clipcommit} ${wrksrc}/src/clip
+	mv -T ${XBPS_BUILDDIR}/flic-${_fliccommit} ${wrksrc}/src/flic
+	mv -T ${XBPS_BUILDDIR}/observable-${_observablecommit} ${wrksrc}/src/observable
+	mv -T ${XBPS_BUILDDIR}/undo-${_undocommit} ${wrksrc}/src/undo
+	mv -T ${XBPS_BUILDDIR}/simpleini-${_simpleinicommit} ${wrksrc}/third_party/simpleini
+	mv -T ${XBPS_BUILDDIR}/duktape-${_duktapecommit} ${wrksrc}/third_party/duktape
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (7 preceding siblings ...)
  2021-12-27 16:39 ` notthewave
@ 2021-12-27 16:47 ` notthewave
  2022-01-04 22:36 ` notthewave
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2021-12-27 16:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/notthewave/void-packages LibreSprite
https://github.com/void-linux/void-packages/pull/34654

New package: LibreSprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - NO.

closes https://github.com/void-linux/void-packages/issues/34594 and potentially https://github.com/void-linux/void-packages/issues/24800

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

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

From 283b6e36bf16d2ff5f83abcf0df62f1aa96a29a0 Mon Sep 17 00:00:00 2001
From: notthewave <winklbauer_m@zoho.eu>
Date: Wed, 22 Dec 2021 02:51:36 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 000000000000..3c43c79f7d29
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,41 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_fliccommit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observablecommit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undocommit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_simpleinicommit=0687587cef1816a04307d632e517be9803bbdca6
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON"
+hostmakedepends="pkg-config gtest-devel"
+makedepends="libpng-devel pixman-devel libcurl-devel nodejs-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+short_desc="Animated sprite editor & pixel art tool - GPL2 Aseprite fork"
+maintainer="notthewave <winklbauer_m@zoho.eu>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ eafc2435d03d4660edeaa6c89087abe8a6dfe0003cfcda1560b1a3296ea408f5
+ 0ef2ef3c3cd7b7e48c9df3e1af134059c53e295f1f82a23c91e92dae7eb602a2
+ 5df61dc43fc5c7491fa261502a4e547c33dbfab53b52965613235961e63f65bb
+ f870af42e3f9983862545c24f8ee9a0dff5a30415a1be06b68445d6ea4c3bc62
+ f72bd22ccca908ec0c61f2517fed8402af1ace1b07c4d111688bc9ee95789dcb
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${XBPS_BUILDDIR}/clip-${_clipcommit} ${wrksrc}/src/clip
+	mv -T ${XBPS_BUILDDIR}/flic-${_fliccommit} ${wrksrc}/src/flic
+	mv -T ${XBPS_BUILDDIR}/observable-${_observablecommit} ${wrksrc}/src/observable
+	mv -T ${XBPS_BUILDDIR}/undo-${_undocommit} ${wrksrc}/src/undo
+	mv -T ${XBPS_BUILDDIR}/simpleini-${_simpleinicommit} ${wrksrc}/third_party/simpleini
+	mv -T ${XBPS_BUILDDIR}/duktape-${_duktapecommit} ${wrksrc}/third_party/duktape
+}

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (8 preceding siblings ...)
  2021-12-27 16:47 ` notthewave
@ 2022-01-04 22:36 ` notthewave
  2022-04-09  0:32 ` illusioon
  2022-07-08  2:14 ` github-actions
  11 siblings, 0 replies; 40+ messages in thread
From: notthewave @ 2022-01-04 22:36 UTC (permalink / raw)
  To: ml

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

New comment by notthewave on void-packages repository

https://github.com/void-linux/void-packages/pull/34654#issuecomment-999223798

Comment:
~~.desktop seems to be missing~~

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (9 preceding siblings ...)
  2022-01-04 22:36 ` notthewave
@ 2022-04-09  0:32 ` illusioon
  2022-07-08  2:14 ` github-actions
  11 siblings, 0 replies; 40+ messages in thread
From: illusioon @ 2022-04-09  0:32 UTC (permalink / raw)
  To: ml

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

New comment by illusioon on void-packages repository

https://github.com/void-linux/void-packages/pull/34654#issuecomment-1093522560

Comment:
Any news on this one?

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

* Re: New package: LibreSprite-1.0
  2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
                   ` (10 preceding siblings ...)
  2022-04-09  0:32 ` illusioon
@ 2022-07-08  2:14 ` github-actions
  11 siblings, 0 replies; 40+ messages in thread
From: github-actions @ 2022-07-08  2:14 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/34654#issuecomment-1178461554

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] 40+ messages in thread

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (23 preceding siblings ...)
  2024-02-18 13:18 ` MIvanchev
@ 2024-02-18 13:24 ` MIvanchev
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 13:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From a50f9bd0a41f2406bd3b8d8a35904ff7fd195012 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/files/cstdint.patch | 36 +++++++++++++++
 srcpkgs/LibreSprite/template            | 61 +++++++++++++++++++++++++
 2 files changed, 97 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/files/cstdint.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/files/cstdint.patch b/srcpkgs/LibreSprite/files/cstdint.patch
new file mode 100644
index 00000000000000..c94985df80ce72
--- /dev/null
+++ b/srcpkgs/LibreSprite/files/cstdint.patch
@@ -0,0 +1,36 @@
+diff --git a/src/base/convert_to.h b/src/base/convert_to.h
+index ecd2fe88c..7485958d7 100644
+--- a/src/base/convert_to.h
++++ b/src/base/convert_to.h
+@@ -8,6 +8,7 @@
+ 
+ #include "base/base.h"
+ #include <string>
++#include <cstdint>
+ 
+ namespace base {
+ 
+diff --git a/src/base/sha1.h b/src/base/sha1.h
+index 435faae24..1f0a5b873 100644
+--- a/src/base/sha1.h
++++ b/src/base/sha1.h
+@@ -8,6 +8,7 @@
+ 
+ #include <vector>
+ #include <string>
++#include <cstdint>
+ 
+ extern "C" struct SHA1Context;
+ 
+diff --git a/src/gfx/region.h b/src/gfx/region.h
+index a59fb0011..301f21b87 100644
+--- a/src/gfx/region.h
++++ b/src/gfx/region.h
+@@ -9,6 +9,7 @@
+ #include "gfx/rect.h"
+ #include <vector>
+ #include <iterator>
++#include <cstdint>
+ 
+ namespace gfx {
+ 
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 00000000000000..b130c41f1222ac
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,61 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic flic.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable observable.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo undo.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktape duktape.tar.gz
+}
+
+post_patch() {
+	patch -Np1 -i "${FILESDIR}/cstdint.patch"
+
+        # When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (22 preceding siblings ...)
  2024-02-18 13:13 ` MIvanchev
@ 2024-02-18 13:18 ` MIvanchev
  2024-02-18 13:24 ` MIvanchev
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 13:18 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 28b60023c52020cf29ddf913f2ded3c379d5b957 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/files/cstdint.patch | 24 ++++++++++
 srcpkgs/LibreSprite/template            | 61 +++++++++++++++++++++++++
 2 files changed, 85 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/files/cstdint.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/files/cstdint.patch b/srcpkgs/LibreSprite/files/cstdint.patch
new file mode 100644
index 0000000000000..defc2eec54eda
--- /dev/null
+++ b/srcpkgs/LibreSprite/files/cstdint.patch
@@ -0,0 +1,24 @@
+diff --git a/src/base/convert_to.h b/src/base/convert_to.h
+index ecd2fe88c..7485958d7 100644
+--- a/src/base/convert_to.h
++++ b/src/base/convert_to.h
+@@ -8,6 +8,7 @@
+ 
+ #include "base/base.h"
+ #include <string>
++#include <cstdint>
+ 
+ namespace base {
+ 
+diff --git a/src/base/sha1.h b/src/base/sha1.h
+index 435faae24..1f0a5b873 100644
+--- a/src/base/sha1.h
++++ b/src/base/sha1.h
+@@ -8,6 +8,7 @@
+ 
+ #include <vector>
+ #include <string>
++#include <cstdint>
+ 
+ extern "C" struct SHA1Context;
+ 
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..b130c41f1222a
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,61 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic flic.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable observable.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo undo.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktape duktape.tar.gz
+}
+
+post_patch() {
+	patch -Np1 -i "${FILESDIR}/cstdint.patch"
+
+        # When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (21 preceding siblings ...)
  2024-02-18 13:08 ` MIvanchev
@ 2024-02-18 13:13 ` MIvanchev
  2024-02-18 13:18 ` MIvanchev
  2024-02-18 13:24 ` MIvanchev
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 13:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 39d86358768265da12c61e9a3f6ff36efabca884 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/files/cstdint.patch | 24 ++++++++++
 srcpkgs/LibreSprite/template            | 61 +++++++++++++++++++++++++
 2 files changed, 85 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/files/cstdint.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/files/cstdint.patch b/srcpkgs/LibreSprite/files/cstdint.patch
new file mode 100644
index 00000000000000..9fe83a32f2d768
--- /dev/null
+++ b/srcpkgs/LibreSprite/files/cstdint.patch
@@ -0,0 +1,24 @@
+diff --git a/src/base/convert_to.h b/src/base/convert_to.h
+index ecd2fe88c..9418d351a 100644
+--- a/src/base/convert_to.h
++++ b/src/base/convert_to.h
+@@ -8,6 +8,7 @@
+ 
+ #include "base/base.h"
+ #include <string>
++#include <cstdint.h>
+ 
+ namespace base {
+ 
+diff --git a/src/base/sha1.h b/src/base/sha1.h
+index 435faae24..1f0a5b873 100644
+--- a/src/base/sha1.h
++++ b/src/base/sha1.h
+@@ -8,6 +8,7 @@
+ 
+ #include <vector>
+ #include <string>
++#include <cstdint>
+ 
+ extern "C" struct SHA1Context;
+ 
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 00000000000000..b130c41f1222ac
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,61 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic flic.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable observable.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo undo.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktape duktape.tar.gz
+}
+
+post_patch() {
+	patch -Np1 -i "${FILESDIR}/cstdint.patch"
+
+        # When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (20 preceding siblings ...)
  2024-02-18 13:01 ` MIvanchev
@ 2024-02-18 13:08 ` MIvanchev
  2024-02-18 13:13 ` MIvanchev
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 13:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From f47f5541d95cc7571ee15ec415e93dc2bcd6a128 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/files/cstdint.patch | 61 +++++++++++++++++++++++++
 srcpkgs/LibreSprite/template            | 61 +++++++++++++++++++++++++
 2 files changed, 122 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/files/cstdint.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/files/cstdint.patch b/srcpkgs/LibreSprite/files/cstdint.patch
new file mode 100644
index 0000000000000..42d496770f28c
--- /dev/null
+++ b/srcpkgs/LibreSprite/files/cstdint.patch
@@ -0,0 +1,61 @@
+diff --git a/desktop/libresprite.appdata.xml b/desktop/libresprite.appdata.xml
+index 204281970..33580fa32 100644
+--- a/desktop/libresprite.appdata.xml
++++ b/desktop/libresprite.appdata.xml
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <application>
+-  <id type="desktop">libresprite.desktop</id>  
++  <id type="desktop">libresprite.desktop</id>
+   <metadata_license>CC0-1.0</metadata_license>
+   <project_license>GPL-2.0</project_license>
+   <name>LibreSprite</name>
+@@ -15,6 +15,6 @@
+   <url type="bugtracker">https://github.com/LibreSprite/LibreSprite/issues/</url>
+   <content_rating type="oars-1.1" />
+   <releases>
+-    <release date="2021-02-18" version="1.0-dev" />
++    <release date="2021-11-17" version="1.0" />
+   </releases>
+ </application>
+diff --git a/src/base/convert_to.h b/src/base/convert_to.h
+index ecd2fe88c..9418d351a 100644
+--- a/src/base/convert_to.h
++++ b/src/base/convert_to.h
+@@ -8,6 +8,7 @@
+ 
+ #include "base/base.h"
+ #include <string>
++#include <cstdint.h>
+ 
+ namespace base {
+ 
+diff --git a/src/base/sha1.h b/src/base/sha1.h
+index 435faae24..1f0a5b873 100644
+--- a/src/base/sha1.h
++++ b/src/base/sha1.h
+@@ -8,6 +8,7 @@
+ 
+ #include <vector>
+ #include <string>
++#include <cstdint>
+ 
+ extern "C" struct SHA1Context;
+ 
+diff --git a/src/config.h b/src/config.h
+index d000a008f..6a07735a1 100644
+--- a/src/config.h
++++ b/src/config.h
+@@ -24,7 +24,7 @@
+ 
+ // General information
+ #define PACKAGE "LibreSprite"
+-#define VERSION "1.0-dev"
++#define VERSION "1.0"
+ 
+ #define WEBSITE                 "https://github.com/LibreSprite/LibreSprite/"
+ #define WEBSITE_DOWNLOAD        WEBSITE "releases/"
+diff --git a/src/config.h.gch b/src/config.h.gch
+new file mode 100644
+index 000000000..40fa93856
+Binary files /dev/null and b/src/config.h.gch differ
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..b130c41f1222a
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,61 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic flic.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable observable.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo undo.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktape duktape.tar.gz
+}
+
+post_patch() {
+	patch -Np1 -i "${FILESDIR}/cstdint.patch"
+
+        # When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (19 preceding siblings ...)
  2024-02-18 12:52 ` MIvanchev
@ 2024-02-18 13:01 ` MIvanchev
  2024-02-18 13:08 ` MIvanchev
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 13:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 1c233153286915d441c48090ef843cd5c7e25b30 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/patches/cstdint.patch | 61 +++++++++++++++++++++++
 srcpkgs/LibreSprite/template              | 59 ++++++++++++++++++++++
 2 files changed, 120 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/patches/cstdint.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/patches/cstdint.patch b/srcpkgs/LibreSprite/patches/cstdint.patch
new file mode 100644
index 0000000000000..42d496770f28c
--- /dev/null
+++ b/srcpkgs/LibreSprite/patches/cstdint.patch
@@ -0,0 +1,61 @@
+diff --git a/desktop/libresprite.appdata.xml b/desktop/libresprite.appdata.xml
+index 204281970..33580fa32 100644
+--- a/desktop/libresprite.appdata.xml
++++ b/desktop/libresprite.appdata.xml
+@@ -1,6 +1,6 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <application>
+-  <id type="desktop">libresprite.desktop</id>  
++  <id type="desktop">libresprite.desktop</id>
+   <metadata_license>CC0-1.0</metadata_license>
+   <project_license>GPL-2.0</project_license>
+   <name>LibreSprite</name>
+@@ -15,6 +15,6 @@
+   <url type="bugtracker">https://github.com/LibreSprite/LibreSprite/issues/</url>
+   <content_rating type="oars-1.1" />
+   <releases>
+-    <release date="2021-02-18" version="1.0-dev" />
++    <release date="2021-11-17" version="1.0" />
+   </releases>
+ </application>
+diff --git a/src/base/convert_to.h b/src/base/convert_to.h
+index ecd2fe88c..9418d351a 100644
+--- a/src/base/convert_to.h
++++ b/src/base/convert_to.h
+@@ -8,6 +8,7 @@
+ 
+ #include "base/base.h"
+ #include <string>
++#include <cstdint.h>
+ 
+ namespace base {
+ 
+diff --git a/src/base/sha1.h b/src/base/sha1.h
+index 435faae24..1f0a5b873 100644
+--- a/src/base/sha1.h
++++ b/src/base/sha1.h
+@@ -8,6 +8,7 @@
+ 
+ #include <vector>
+ #include <string>
++#include <cstdint>
+ 
+ extern "C" struct SHA1Context;
+ 
+diff --git a/src/config.h b/src/config.h
+index d000a008f..6a07735a1 100644
+--- a/src/config.h
++++ b/src/config.h
+@@ -24,7 +24,7 @@
+ 
+ // General information
+ #define PACKAGE "LibreSprite"
+-#define VERSION "1.0-dev"
++#define VERSION "1.0"
+ 
+ #define WEBSITE                 "https://github.com/LibreSprite/LibreSprite/"
+ #define WEBSITE_DOWNLOAD        WEBSITE "releases/"
+diff --git a/src/config.h.gch b/src/config.h.gch
+new file mode 100644
+index 000000000..40fa93856
+Binary files /dev/null and b/src/config.h.gch differ
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..88aed5cc3fa6d
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,59 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic flic.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable observable.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo undo.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktape duktape.tar.gz
+}
+
+post_patch() {
+	# When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (18 preceding siblings ...)
  2024-02-18 12:49 ` MIvanchev
@ 2024-02-18 12:52 ` MIvanchev
  2024-02-18 13:01 ` MIvanchev
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 12:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 6c316d6c2bb69ecbcf04532c5062354204bea6b8 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 00000000000000..88aed5cc3fa6d5
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,59 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic flic.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable observable.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo undo.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktape duktape.tar.gz
+}
+
+post_patch() {
+	# When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (17 preceding siblings ...)
  2024-02-18 12:45 ` MIvanchev
@ 2024-02-18 12:49 ` MIvanchev
  2024-02-18 12:52 ` MIvanchev
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 12:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 03303b36ccf23eaea3b5c12f8a9702a9b52f02ce Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..019aee2b7679d
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,59 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic flic.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable observable.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo undo.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktapet duktape.tar.gz
+}
+
+post_patch() {
+	# When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (16 preceding siblings ...)
  2024-02-18 12:41 ` MIvanchev
@ 2024-02-18 12:45 ` MIvanchev
  2024-02-18 12:49 ` MIvanchev
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 12:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From e10d36a27edc39e4698a064ed558c32199593424 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..818efbe49f9a3
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,59 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ eda63df220ada5cc9f346aa1e0b042f45130933ee06cf6f813792dd57d6041e1
+ 98cedb5dd9469f1ac1b08f17cfbfd3e094ecf7e462707db1a6bc0ab2fcdf45d1
+ ac06aaef6fb70412270eb9796af538f8486262b864a8c52f34da36571745831d
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktapet duktape.tar.gz
+}
+
+post_patch() {
+	# When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (15 preceding siblings ...)
  2024-01-03 15:12 ` MIvanchev
@ 2024-02-18 12:41 ` MIvanchev
  2024-02-18 12:45 ` MIvanchev
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-02-18 12:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 48076764d88dd0218450b22788d3fc6f42fa296d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..04559982fd9eb
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,59 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.tar.gz>clip.tar.gz
+https://github.com/aseprite/flic/archive/${_fliccommit}.tar.gz>flic.tar.gz
+https://github.com/dacap/observable/archive/${_observablecommit}.tar.gz>observable.tar.gz
+https://github.com/aseprite/undo/archive/${_undocommit}.tar.gz>undo.tar.gz
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.tar.gz>simpleini.tar.gz
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.tar.gz>duktape.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+skip_extraction="clip flic observable undo simpleini duktape"
+build_wrksrc=${pkgname}-${version}
+
+post_extract() {
+	vsrcextract -C ${build_wrksrc}/src/clip clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/flic clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/observable clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/src/undo clip.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/simpleini simpleini.tar.gz
+	vsrcextract -C ${build_wrksrc}/third_party/duktapet duktape.tar.gz
+}
+
+post_patch() {
+	# When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (14 preceding siblings ...)
  2024-01-03 13:40 ` sgn
@ 2024-01-03 15:12 ` MIvanchev
  2024-02-18 12:41 ` MIvanchev
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-03 15:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 8154747fe9b2d93bf6c9c248ddeb2198906d3049 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..d22a94223d193
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,59 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}
+
+post_patch() {
+	# When cross-compiling, the "gen" tool cannot be executed without emulation because
+	# it'll be compiled for the target architecture. Instead, we change the absolute path
+	# to it to the target "gen" so the add_custom_command would apply the
+        # CROSSCOMPILING_EMULATOR property automatically. See:
+        # https://cmake.org/cmake/help/latest/command/add_custom_command.html and
+        # https://cmake.org/cmake/help/latest/prop_tgt/CROSSCOMPILING_EMULATOR.html
+        # for more information.
+
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (13 preceding siblings ...)
  2024-01-03  8:22 ` MIvanchev
@ 2024-01-03 13:40 ` sgn
  2024-01-03 15:12 ` MIvanchev
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: sgn @ 2024-01-03 13:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From f2ac9210a1e98de0aa9f3467bf55b10c26770a6d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH 1/2] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..bc06b58bacb55
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,51 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}
+
+post_patch() {
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|${CMAKE_CROSSCOMPILING_EMULATOR} &|g'
+}

From 3f82e3016e0327d31d7665d491a68e71f60aea15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <sgn.danh@gmail.com>
Date: Wed, 3 Jan 2024 20:40:40 +0700
Subject: [PATCH 2/2] Apply suggestions from code review

---
 srcpkgs/LibreSprite/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
index bc06b58bacb55..06852cc532e97 100644
--- a/srcpkgs/LibreSprite/template
+++ b/srcpkgs/LibreSprite/template
@@ -47,5 +47,5 @@ post_extract() {
 }
 
 post_patch() {
-	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|${CMAKE_CROSSCOMPILING_EMULATOR} &|g'
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
 }

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (12 preceding siblings ...)
  2024-01-02 22:26 ` MIvanchev
@ 2024-01-03  8:22 ` MIvanchev
  2024-01-03 13:40 ` sgn
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-03  8:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From f2ac9210a1e98de0aa9f3467bf55b10c26770a6d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..bc06b58bacb55
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,51 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}
+
+post_patch() {
+	vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|${CMAKE_CROSSCOMPILING_EMULATOR} &|g'
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (11 preceding siblings ...)
  2024-01-02 22:25 ` MIvanchev
@ 2024-01-02 22:26 ` MIvanchev
  2024-01-03  8:22 ` MIvanchev
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 22:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 0ce0c21e37733e31dd2f52d2edc4464061ce7562 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..d5ccdada9d5d5
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,47 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (10 preceding siblings ...)
  2024-01-02 22:09 ` MIvanchev
@ 2024-01-02 22:25 ` MIvanchev
  2024-01-02 22:26 ` MIvanchev
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 22:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 1c10ebba340a7e09d2be1fe470c284e4a5ea4cef Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..9e19bfa705226
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,47 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+build_helpers="qemu"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (9 preceding siblings ...)
  2024-01-02 22:06 ` MIvanchev
@ 2024-01-02 22:09 ` MIvanchev
  2024-01-02 22:25 ` MIvanchev
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 22:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From f4f3652e38768e49196f27302d33011c11c2fdff Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 .../patches/crosscompiling-qemu.patch         | 40 ++++++++++++++++
 srcpkgs/LibreSprite/template                  | 47 +++++++++++++++++++
 2 files changed, 87 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch b/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
new file mode 100644
index 0000000000000..38d36225f4ea9
--- /dev/null
+++ b/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
@@ -0,0 +1,40 @@
+diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
+index 4e9bb1880..3100dc598 100644
+--- a/src/app/CMakeLists.txt
++++ b/src/app/CMakeLists.txt
+@@ -9,7 +9,7 @@ foreach(widget_file ${widget_files})
+ 
+   add_custom_command(
+     OUTPUT ${output_fn}
+-    COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${widget_file} --widgetid ${widget_name} > ${output_fn}.tmp
++    COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${widget_file} --widgetid ${widget_name} > ${output_fn}.tmp
+     COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     MAIN_DEPENDENCY ${widget_file}
+@@ -24,7 +24,7 @@ set(pref_xml ${CMAKE_SOURCE_DIR}/data/pref.xml)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-h > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-h > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+@@ -34,7 +34,7 @@ list(APPEND generated_files ${output_fn})
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+@@ -46,7 +46,7 @@ set(skin_xml ${CMAKE_SOURCE_DIR}/data/skins/default/skin.xml)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/skin.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${skin_xml} --skin > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${skin_xml} --skin > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${skin_xml}
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..9e19bfa705226
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,47 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+build_helpers="qemu"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (8 preceding siblings ...)
  2024-01-02 21:58 ` MIvanchev
@ 2024-01-02 22:06 ` MIvanchev
  2024-01-02 22:09 ` MIvanchev
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 22:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 87f861f0cd54a90f97223820cc91a05a1d71660f Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 .../patches/crosscompiling-qemu.patch         | 40 ++++++++++++++++
 srcpkgs/LibreSprite/template                  | 47 +++++++++++++++++++
 2 files changed, 87 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch b/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
new file mode 100644
index 0000000000000..38d36225f4ea9
--- /dev/null
+++ b/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
@@ -0,0 +1,40 @@
+diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
+index 4e9bb1880..3100dc598 100644
+--- a/src/app/CMakeLists.txt
++++ b/src/app/CMakeLists.txt
+@@ -9,7 +9,7 @@ foreach(widget_file ${widget_files})
+ 
+   add_custom_command(
+     OUTPUT ${output_fn}
+-    COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${widget_file} --widgetid ${widget_name} > ${output_fn}.tmp
++    COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${widget_file} --widgetid ${widget_name} > ${output_fn}.tmp
+     COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     MAIN_DEPENDENCY ${widget_file}
+@@ -24,7 +24,7 @@ set(pref_xml ${CMAKE_SOURCE_DIR}/data/pref.xml)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-h > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-h > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+@@ -34,7 +34,7 @@ list(APPEND generated_files ${output_fn})
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+@@ -46,7 +46,7 @@ set(skin_xml ${CMAKE_SOURCE_DIR}/data/skins/default/skin.xml)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/skin.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${skin_xml} --skin > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${skin_xml} --skin > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${skin_xml}
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..3fa3e7342e5c8
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,47 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helpers=qemu
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (7 preceding siblings ...)
  2024-01-02 21:48 ` MIvanchev
@ 2024-01-02 21:58 ` MIvanchev
  2024-01-02 22:06 ` MIvanchev
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 21:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From c7651e4b5fdd6ee8c9647beb27960ad8858fa2f0 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 .../patches/crosscompiling-qemu.patch         | 40 ++++++++++++++++
 srcpkgs/LibreSprite/template                  | 47 +++++++++++++++++++
 2 files changed, 87 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch b/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
new file mode 100644
index 0000000000000..38d36225f4ea9
--- /dev/null
+++ b/srcpkgs/LibreSprite/patches/crosscompiling-qemu.patch
@@ -0,0 +1,40 @@
+diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
+index 4e9bb1880..3100dc598 100644
+--- a/src/app/CMakeLists.txt
++++ b/src/app/CMakeLists.txt
+@@ -9,7 +9,7 @@ foreach(widget_file ${widget_files})
+ 
+   add_custom_command(
+     OUTPUT ${output_fn}
+-    COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${widget_file} --widgetid ${widget_name} > ${output_fn}.tmp
++    COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${widget_file} --widgetid ${widget_name} > ${output_fn}.tmp
+     COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     MAIN_DEPENDENCY ${widget_file}
+@@ -24,7 +24,7 @@ set(pref_xml ${CMAKE_SOURCE_DIR}/data/pref.xml)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-h > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-h > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+@@ -34,7 +34,7 @@ list(APPEND generated_files ${output_fn})
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${pref_xml} --pref-cpp > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+@@ -46,7 +46,7 @@ set(skin_xml ${CMAKE_SOURCE_DIR}/data/skins/default/skin.xml)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/skin.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+-  COMMAND ${CMAKE_BINARY_DIR}/bin/gen --input ${skin_xml} --skin > ${output_fn}.tmp
++  COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} ${CMAKE_BINARY_DIR}/bin/gen --input ${skin_xml} --skin > ${output_fn}.tmp
+   COMMAND ${CMAKE_COMMAND} -E copy_if_different ${output_fn}.tmp ${output_fn}
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${skin_xml}
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..ad5846aed7625
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,47 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+build_helpers=qemu
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (6 preceding siblings ...)
  2024-01-02 21:46 ` MIvanchev
@ 2024-01-02 21:48 ` MIvanchev
  2024-01-02 21:58 ` MIvanchev
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 21:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From dd9d7e5c38b54afad2f2488c22ba2f475b8a987f Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..ad5846aed7625
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,47 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+build_helpers=qemu
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (5 preceding siblings ...)
  2024-01-02 21:45 ` MIvanchev
@ 2024-01-02 21:46 ` MIvanchev
  2024-01-02 21:48 ` MIvanchev
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 21:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From c5d78a40522f6aa7db7bfad545170a50dee17534 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..21900c35ef7d1
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,62 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helpers=qemu
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+# The build involves generating C++ code from XML templates using a tool
+# compiled at an initial stage which doesn't really work with cross-builds.
+# So instead, the files are pre-generated on the host, copied to the source
+# and everything is compiled for the target.
+
+#pre_configure() {
+#	mkdir -p build-gen
+#	pushd build-gen
+#	cmake -G Ninja -DGEN_ONLY=ON ..
+#	ninja
+#	popd
+#	mkdir -p src/app/gen
+#	mv build-gen/src/app/*.xml.{h,cpp} src/app/gen
+#}
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (4 preceding siblings ...)
  2024-01-02 21:23 ` MIvanchev
@ 2024-01-02 21:45 ` MIvanchev
  2024-01-02 21:46 ` MIvanchev
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 21:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 61553ec37f68ae9af20ff48dacccd35df6f802c1 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/patches/gen_only.patch | 171 +++++++++++++++++++++
 srcpkgs/LibreSprite/template               |  62 ++++++++
 2 files changed, 233 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/patches/gen_only.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/patches/gen_only.patch b/srcpkgs/LibreSprite/patches/gen_only.patch
new file mode 100644
index 0000000000000..dffd264be5289
--- /dev/null
+++ b/srcpkgs/LibreSprite/patches/gen_only.patch
@@ -0,0 +1,171 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9966bb0ec..6ef8f9a0a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -141,6 +141,7 @@ if(APPLE)
+   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
+ endif()
+ 
++if(NOT GEN_ONLY)
+ # zlib
+ find_package(ZLIB REQUIRED)
+ include_directories(${ZLIB_INCLUDE_DIRS})
+@@ -155,12 +156,14 @@ if(WITH_WEBP_SUPPORT)
+   pkg_check_modules(WEBP libwebp REQUIRED)
+   include_directories(${WEBP_INCLUDE_DIR})
+ endif()
++endif()
+ 
+ # tinyxml
+ find_library(TINYXML_LIBRARY NAMES tinyxml)
+ find_path(TINYXML_INCLUDE_DIR NAMES tinyxml.h)
+ include_directories(${TINYXML_INCLUDE_DIR})
+ 
++if(NOT GEN_ONLY)
+ # pixman
+ find_library(PIXMAN_LIBRARY NAMES pixman pixman-1)
+ find_path(PIXMAN_INCLUDE_DIR NAMES pixman.h PATH_SUFFIXES pixman-1)
+@@ -210,6 +213,7 @@ endif()
+ 
+ find_package(CURL REQUIRED)
+ include_directories(${CURL_INCLUDE_DIRS})
++endif()
+ 
+ # simpleini
+ include_directories(${SIMPLEINI_DIR})
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 4186b6478..68e4b9176 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -81,19 +81,23 @@ add_subdirectory(base)
+ # Directory where base/config.h file is located
+ include_directories(${BASE_INCLUDE_DIR})
+ 
++if(NOT GEN_ONLY)
+ add_subdirectory(cfg)
+ add_subdirectory(css)
+ add_subdirectory(doc)
+ add_subdirectory(filters)
+ add_subdirectory(fixmath)
+ add_subdirectory(flic)
++endif()
+ add_subdirectory(gen)
++if(NOT GEN_ONLY)
+ add_subdirectory(gfx)
+ add_subdirectory(net)
+ add_subdirectory(render)
+ add_subdirectory(script)
+ add_subdirectory(she)
+ add_subdirectory(ui)
++endif()
+ add_subdirectory(app)
+ 
+ ######################################################################
+@@ -113,7 +117,7 @@ add_custom_target(copy_data DEPENDS ${out_data_files})
+ 
+ ######################################################################
+ # Aseprite application
+-
++if(NOT GEN_ONLY)
+ if(WIN32)
+   set(win32_resources
+     main/resources_win32.rc
+@@ -136,6 +140,7 @@ install(TARGETS libresprite
+ 
+ install(DIRECTORY ../data
+   DESTINATION share/libresprite)
++endif()
+ 
+ ######################################################################
+ # Tests
+diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
+index 4e9bb1880..585633870 100644
+--- a/src/app/CMakeLists.txt
++++ b/src/app/CMakeLists.txt
+@@ -5,6 +5,7 @@
+ file(GLOB widget_files ${CMAKE_SOURCE_DIR}/data/widgets/*.xml)
+ foreach(widget_file ${widget_files})
+   get_filename_component(widget_name ${widget_file} NAME_WE)
++if(GEN_ONLY)
+   set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/${widget_name}.xml.h)
+ 
+   add_custom_command(
+@@ -14,6 +15,9 @@ foreach(widget_file ${widget_files})
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     MAIN_DEPENDENCY ${widget_file}
+     DEPENDS gen)
++else()
++  set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/${widget_name}.xml.h)
++endif()
+ 
+   list(APPEND generated_files ${output_fn})
+ endforeach()
+@@ -21,6 +25,7 @@ endforeach()
+ # Generate preference types from data/pref.xml
+ set(pref_xml ${CMAKE_SOURCE_DIR}/data/pref.xml)
+ 
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -29,8 +34,12 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/pref.xml.h)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -39,10 +48,14 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/pref.xml.cpp)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
+ # Generate generated_skin.h from data/skins/default/skin.xml
+ set(skin_xml ${CMAKE_SOURCE_DIR}/data/skins/default/skin.xml)
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/skin.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -51,10 +64,17 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${skin_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/skin.xml.h)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
++if(GEN_ONLY)
+ # Directory where generated files by "gen" utility will stay.
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
++else()
++include_directories(${CMAKE_SOURCE_DIR}/src/app/gen)
++endif()
+ 
+ if(WITH_WEBP_SUPPORT)
+   add_definitions(-DASEPRITE_WITH_WEBP_SUPPORT)
+@@ -101,6 +121,9 @@ if(WITH_WEBP_SUPPORT)
+   list(APPEND file_formats file/webp_format.cpp)
+ endif()
+ 
++if(GEN_ONLY)
++add_library(app-lib ${generated_files})
++else()
+ add_library(app-lib
+   app.cpp
+   app_brushes.cpp
+@@ -491,3 +514,4 @@ target_link_libraries(app-lib
+   ${LUA_LIBRARIES}
+   ${V8_LIBRARIES}
+   ${FREETYPE_LIBRARIES})
++endif()
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..46f66d8349675
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,62 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+build_helpers=qemu
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+# The build involves generating C++ code from XML templates using a tool
+# compiled at an initial stage which doesn't really work with cross-builds.
+# So instead, the files are pre-generated on the host, copied to the source
+# and everything is compiled for the target.
+
+pre_configure() {
+#	mkdir -p build-gen
+#	pushd build-gen
+#	cmake -G Ninja -DGEN_ONLY=ON ..
+#	ninja
+#	popd
+#	mkdir -p src/app/gen
+#	mv build-gen/src/app/*.xml.{h,cpp} src/app/gen
+}
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (3 preceding siblings ...)
  2024-01-02 21:22 ` MIvanchev
@ 2024-01-02 21:23 ` MIvanchev
  2024-01-02 21:45 ` MIvanchev
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 21:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From b9ab032793b3ce217fbcecf3f71837fc431e4bcb Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/patches/gen_only.patch | 171 +++++++++++++++++++++
 srcpkgs/LibreSprite/template               |  61 ++++++++
 2 files changed, 232 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/patches/gen_only.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/patches/gen_only.patch b/srcpkgs/LibreSprite/patches/gen_only.patch
new file mode 100644
index 0000000000000..dffd264be5289
--- /dev/null
+++ b/srcpkgs/LibreSprite/patches/gen_only.patch
@@ -0,0 +1,171 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9966bb0ec..6ef8f9a0a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -141,6 +141,7 @@ if(APPLE)
+   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
+ endif()
+ 
++if(NOT GEN_ONLY)
+ # zlib
+ find_package(ZLIB REQUIRED)
+ include_directories(${ZLIB_INCLUDE_DIRS})
+@@ -155,12 +156,14 @@ if(WITH_WEBP_SUPPORT)
+   pkg_check_modules(WEBP libwebp REQUIRED)
+   include_directories(${WEBP_INCLUDE_DIR})
+ endif()
++endif()
+ 
+ # tinyxml
+ find_library(TINYXML_LIBRARY NAMES tinyxml)
+ find_path(TINYXML_INCLUDE_DIR NAMES tinyxml.h)
+ include_directories(${TINYXML_INCLUDE_DIR})
+ 
++if(NOT GEN_ONLY)
+ # pixman
+ find_library(PIXMAN_LIBRARY NAMES pixman pixman-1)
+ find_path(PIXMAN_INCLUDE_DIR NAMES pixman.h PATH_SUFFIXES pixman-1)
+@@ -210,6 +213,7 @@ endif()
+ 
+ find_package(CURL REQUIRED)
+ include_directories(${CURL_INCLUDE_DIRS})
++endif()
+ 
+ # simpleini
+ include_directories(${SIMPLEINI_DIR})
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 4186b6478..68e4b9176 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -81,19 +81,23 @@ add_subdirectory(base)
+ # Directory where base/config.h file is located
+ include_directories(${BASE_INCLUDE_DIR})
+ 
++if(NOT GEN_ONLY)
+ add_subdirectory(cfg)
+ add_subdirectory(css)
+ add_subdirectory(doc)
+ add_subdirectory(filters)
+ add_subdirectory(fixmath)
+ add_subdirectory(flic)
++endif()
+ add_subdirectory(gen)
++if(NOT GEN_ONLY)
+ add_subdirectory(gfx)
+ add_subdirectory(net)
+ add_subdirectory(render)
+ add_subdirectory(script)
+ add_subdirectory(she)
+ add_subdirectory(ui)
++endif()
+ add_subdirectory(app)
+ 
+ ######################################################################
+@@ -113,7 +117,7 @@ add_custom_target(copy_data DEPENDS ${out_data_files})
+ 
+ ######################################################################
+ # Aseprite application
+-
++if(NOT GEN_ONLY)
+ if(WIN32)
+   set(win32_resources
+     main/resources_win32.rc
+@@ -136,6 +140,7 @@ install(TARGETS libresprite
+ 
+ install(DIRECTORY ../data
+   DESTINATION share/libresprite)
++endif()
+ 
+ ######################################################################
+ # Tests
+diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
+index 4e9bb1880..585633870 100644
+--- a/src/app/CMakeLists.txt
++++ b/src/app/CMakeLists.txt
+@@ -5,6 +5,7 @@
+ file(GLOB widget_files ${CMAKE_SOURCE_DIR}/data/widgets/*.xml)
+ foreach(widget_file ${widget_files})
+   get_filename_component(widget_name ${widget_file} NAME_WE)
++if(GEN_ONLY)
+   set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/${widget_name}.xml.h)
+ 
+   add_custom_command(
+@@ -14,6 +15,9 @@ foreach(widget_file ${widget_files})
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     MAIN_DEPENDENCY ${widget_file}
+     DEPENDS gen)
++else()
++  set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/${widget_name}.xml.h)
++endif()
+ 
+   list(APPEND generated_files ${output_fn})
+ endforeach()
+@@ -21,6 +25,7 @@ endforeach()
+ # Generate preference types from data/pref.xml
+ set(pref_xml ${CMAKE_SOURCE_DIR}/data/pref.xml)
+ 
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -29,8 +34,12 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/pref.xml.h)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -39,10 +48,14 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/pref.xml.cpp)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
+ # Generate generated_skin.h from data/skins/default/skin.xml
+ set(skin_xml ${CMAKE_SOURCE_DIR}/data/skins/default/skin.xml)
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/skin.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -51,10 +64,17 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${skin_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/skin.xml.h)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
++if(GEN_ONLY)
+ # Directory where generated files by "gen" utility will stay.
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
++else()
++include_directories(${CMAKE_SOURCE_DIR}/src/app/gen)
++endif()
+ 
+ if(WITH_WEBP_SUPPORT)
+   add_definitions(-DASEPRITE_WITH_WEBP_SUPPORT)
+@@ -101,6 +121,9 @@ if(WITH_WEBP_SUPPORT)
+   list(APPEND file_formats file/webp_format.cpp)
+ endif()
+ 
++if(GEN_ONLY)
++add_library(app-lib ${generated_files})
++else()
+ add_library(app-lib
+   app.cpp
+   app_brushes.cpp
+@@ -491,3 +514,4 @@ target_link_libraries(app-lib
+   ${LUA_LIBRARIES}
+   ${V8_LIBRARIES}
+   ${FREETYPE_LIBRARIES})
++endif()
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..5f896f5b1afa0
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,61 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+# The build involves generating C++ code from XML templates using a tool
+# compiled at an initial stage which doesn't really work with cross-builds.
+# So instead, the files are pre-generated on the host, copied to the source
+# and everything is compiled for the target.
+
+pre_configure() {
+	mkdir -p build-gen
+	pushd build-gen
+	cmake -G Ninja -DGEN_ONLY=ON ..
+	ninja
+	popd
+	mkdir -p src/app/gen
+	mv build-gen/src/app/*.xml.{h,cpp} src/app/gen
+}
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
                   ` (2 preceding siblings ...)
  2024-01-02 16:10 ` MIvanchev
@ 2024-01-02 21:22 ` MIvanchev
  2024-01-02 21:23 ` MIvanchev
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 21:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From d7f316f218859c3bfd256274cd7c23fd4271f7d9 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

---
 srcpkgs/LibreSprite/patches/gen_only.patch | 171 +++++++++++++++++++++
 srcpkgs/LibreSprite/template               |  65 ++++++++
 2 files changed, 236 insertions(+)
 create mode 100644 srcpkgs/LibreSprite/patches/gen_only.patch
 create mode 100644 srcpkgs/LibreSprite/template

diff --git a/srcpkgs/LibreSprite/patches/gen_only.patch b/srcpkgs/LibreSprite/patches/gen_only.patch
new file mode 100644
index 0000000000000..dffd264be5289
--- /dev/null
+++ b/srcpkgs/LibreSprite/patches/gen_only.patch
@@ -0,0 +1,171 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9966bb0ec..6ef8f9a0a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -141,6 +141,7 @@ if(APPLE)
+   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
+ endif()
+ 
++if(NOT GEN_ONLY)
+ # zlib
+ find_package(ZLIB REQUIRED)
+ include_directories(${ZLIB_INCLUDE_DIRS})
+@@ -155,12 +156,14 @@ if(WITH_WEBP_SUPPORT)
+   pkg_check_modules(WEBP libwebp REQUIRED)
+   include_directories(${WEBP_INCLUDE_DIR})
+ endif()
++endif()
+ 
+ # tinyxml
+ find_library(TINYXML_LIBRARY NAMES tinyxml)
+ find_path(TINYXML_INCLUDE_DIR NAMES tinyxml.h)
+ include_directories(${TINYXML_INCLUDE_DIR})
+ 
++if(NOT GEN_ONLY)
+ # pixman
+ find_library(PIXMAN_LIBRARY NAMES pixman pixman-1)
+ find_path(PIXMAN_INCLUDE_DIR NAMES pixman.h PATH_SUFFIXES pixman-1)
+@@ -210,6 +213,7 @@ endif()
+ 
+ find_package(CURL REQUIRED)
+ include_directories(${CURL_INCLUDE_DIRS})
++endif()
+ 
+ # simpleini
+ include_directories(${SIMPLEINI_DIR})
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 4186b6478..68e4b9176 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -81,19 +81,23 @@ add_subdirectory(base)
+ # Directory where base/config.h file is located
+ include_directories(${BASE_INCLUDE_DIR})
+ 
++if(NOT GEN_ONLY)
+ add_subdirectory(cfg)
+ add_subdirectory(css)
+ add_subdirectory(doc)
+ add_subdirectory(filters)
+ add_subdirectory(fixmath)
+ add_subdirectory(flic)
++endif()
+ add_subdirectory(gen)
++if(NOT GEN_ONLY)
+ add_subdirectory(gfx)
+ add_subdirectory(net)
+ add_subdirectory(render)
+ add_subdirectory(script)
+ add_subdirectory(she)
+ add_subdirectory(ui)
++endif()
+ add_subdirectory(app)
+ 
+ ######################################################################
+@@ -113,7 +117,7 @@ add_custom_target(copy_data DEPENDS ${out_data_files})
+ 
+ ######################################################################
+ # Aseprite application
+-
++if(NOT GEN_ONLY)
+ if(WIN32)
+   set(win32_resources
+     main/resources_win32.rc
+@@ -136,6 +140,7 @@ install(TARGETS libresprite
+ 
+ install(DIRECTORY ../data
+   DESTINATION share/libresprite)
++endif()
+ 
+ ######################################################################
+ # Tests
+diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt
+index 4e9bb1880..585633870 100644
+--- a/src/app/CMakeLists.txt
++++ b/src/app/CMakeLists.txt
+@@ -5,6 +5,7 @@
+ file(GLOB widget_files ${CMAKE_SOURCE_DIR}/data/widgets/*.xml)
+ foreach(widget_file ${widget_files})
+   get_filename_component(widget_name ${widget_file} NAME_WE)
++if(GEN_ONLY)
+   set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/${widget_name}.xml.h)
+ 
+   add_custom_command(
+@@ -14,6 +15,9 @@ foreach(widget_file ${widget_files})
+     WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+     MAIN_DEPENDENCY ${widget_file}
+     DEPENDS gen)
++else()
++  set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/${widget_name}.xml.h)
++endif()
+ 
+   list(APPEND generated_files ${output_fn})
+ endforeach()
+@@ -21,6 +25,7 @@ endforeach()
+ # Generate preference types from data/pref.xml
+ set(pref_xml ${CMAKE_SOURCE_DIR}/data/pref.xml)
+ 
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -29,8 +34,12 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/pref.xml.h)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/pref.xml.cpp)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -39,10 +48,14 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${pref_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/pref.xml.cpp)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
+ # Generate generated_skin.h from data/skins/default/skin.xml
+ set(skin_xml ${CMAKE_SOURCE_DIR}/data/skins/default/skin.xml)
++if(GEN_ONLY)
+ set(output_fn ${CMAKE_CURRENT_BINARY_DIR}/skin.xml.h)
+ add_custom_command(
+   OUTPUT ${output_fn}
+@@ -51,10 +64,17 @@ add_custom_command(
+   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+   MAIN_DEPENDENCY ${skin_xml}
+   DEPENDS gen)
++else()
++set(output_fn ${CMAKE_SOURCE_DIR}/src/app/gen/skin.xml.h)
++endif()
+ list(APPEND generated_files ${output_fn})
+ 
++if(GEN_ONLY)
+ # Directory where generated files by "gen" utility will stay.
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
++else()
++include_directories(${CMAKE_SOURCE_DIR}/src/app/gen)
++endif()
+ 
+ if(WITH_WEBP_SUPPORT)
+   add_definitions(-DASEPRITE_WITH_WEBP_SUPPORT)
+@@ -101,6 +121,9 @@ if(WITH_WEBP_SUPPORT)
+   list(APPEND file_formats file/webp_format.cpp)
+ endif()
+ 
++if(GEN_ONLY)
++add_library(app-lib ${generated_files})
++else()
+ add_library(app-lib
+   app.cpp
+   app_brushes.cpp
+@@ -491,3 +514,4 @@ target_link_libraries(app-lib
+   ${LUA_LIBRARIES}
+   ${V8_LIBRARIES}
+   ${FREETYPE_LIBRARIES})
++endif()
diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..e5861588731a3
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,65 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+# The build involves generating C++ code from XML templates using a tool
+# compiled at an initial stage which doesn't really work with cross-builds.
+# So instead, the files are pre-generated on the host, copied to the source
+# and everything is compiled for the target.
+
+pre_configure() {
+	mkdir -p build-gen
+	pushd build-gen
+	cmake -G Ninja -DGEN_ONLY=ON ..
+	ninja
+	popd
+	mkdir -p src/app/gen
+	mv build-gen/src/app/*.xml.{h,cpp} src/app/gen
+}
+
+post_build() {
+	rm foobar
+}
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
  2024-01-02 15:56 ` [PR PATCH] [Updated] " MIvanchev
  2024-01-02 16:04 ` MIvanchev
@ 2024-01-02 16:10 ` MIvanchev
  2024-01-02 21:22 ` MIvanchev
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 16:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 724584ec157cc1fc37c046e2cf38cdcb7f0452e9 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..ec0ad464a65a5
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,46 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DENABLE_TESTS=OFF -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
  2024-01-02 15:56 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-01-02 16:04 ` MIvanchev
  2024-01-02 16:10 ` MIvanchev
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 16:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From a99c9dd4f66e0651b77b7e3ce3b83db61dd3e6a6 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..b4c4888944be4
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,46 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DENABLE_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: LibreSprite-1.0
  2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
@ 2024-01-02 15:56 ` MIvanchev
  2024-01-02 16:04 ` MIvanchev
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 40+ messages in thread
From: MIvanchev @ 2024-01-02 15:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages libresprite
https://github.com/void-linux/void-packages/pull/48030

New package: LibreSprite-1.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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/48030.patch is attached

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

From 6dd5a7873827b32194f4875db34f0ed7a29f7ca4 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Tue, 2 Jan 2024 16:47:39 +0100
Subject: [PATCH] New package: LibreSprite-1.0

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

diff --git a/srcpkgs/LibreSprite/template b/srcpkgs/LibreSprite/template
new file mode 100644
index 0000000000000..a3972a26ec33d
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,46 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+# TODO: Using older commit here due to incompatiblity with the current version
+# Check upon every new version!
+_observablecommit=f5e79fefd465ad722f1ab98705d16e8af8b6a5df
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.0
+revision=1
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON"
+hostmakedepends="pkg-config git"
+makedepends="libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml-devel zlib-devel SDL2-devel freetype-devel lua54-devel giflib-devel libjpeg-turbo-devel gtest-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Animated sprite editor & pixel art tool -- GPL2 Aseprite fork"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only"
+homepage="https://libresprite.github.io/"
+distfiles="https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+https://github.com/aseprite/clip/archive/${_clipcommit}.zip
+https://github.com/aseprite/flic/archive/${_fliccommit}.zip
+https://github.com/dacap/observable/archive/${_observablecommit}.zip
+https://github.com/aseprite/undo/archive/${_undocommit}.zip
+https://github.com/aseprite/simpleini/archive/${_simpleinicommit}.zip
+https://github.com/LibreSprite/duktape/archive/${_duktapecommit}.zip"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ 5d07e4e2102dc3bd073aab2f6e217981f8ccbf3b944a31768ac774dd652f12a5
+ 05861274a408e4c75afba5096e9c6dc0f8e8cde54ea2c005c34ce47e1485d468
+ c5e62c9dabee7b7c2448eb0f612ddd3c26a0007bb32095ca294d77f39629e409
+ bd151d5e0482b704eda33f91dc74c2de5c6339522a2a837ab29100aef796c552
+ d19e2498aa8d55a616e0621c0d59343f59a80e6789edc144915271b874dd887f
+ e736c47b942028680654fb55633ec7efda617324a5f032be44c05f5060a7a796"
+
+post_extract() {
+	mv -T ${wrksrc}/clip-${_clipcommit} ${wrksrc}/${pkgname}-${version}/src/clip
+	mv -T ${wrksrc}/flic-${_fliccommit} ${wrksrc}/${pkgname}-${version}/src/flic
+	mv -T ${wrksrc}/observable-${_observablecommit} ${wrksrc}/${pkgname}-${version}/src/observable
+	mv -T ${wrksrc}/undo-${_undocommit} ${wrksrc}/${pkgname}-${version}/src/undo
+	mv -T ${wrksrc}/simpleini-${_simpleinicommit} ${wrksrc}/${pkgname}-${version}/third_party/simpleini
+	mv -T ${wrksrc}/duktape-${_duktapecommit} ${wrksrc}/${pkgname}-${version}/third_party/duktape
+	mv ${wrksrc}/${pkgname}-${version}/{*,.[!.]*} ${wrksrc}/
+	rmdir ${wrksrc}/${pkgname}-${version}
+}

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

* Re: [PR PATCH] [Updated] New package: libresprite-1.0
  2023-08-06 19:04 [PR PATCH] New package: libresprite-1.0 moheb2000
  2023-08-07 17:16 ` [PR PATCH] [Updated] " moheb2000
@ 2023-08-09 13:03 ` moheb2000
  1 sibling, 0 replies; 40+ messages in thread
From: moheb2000 @ 2023-08-09 13:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/moheb2000/void-packages libresprite
https://github.com/void-linux/void-packages/pull/45457

New package: libresprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### 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/45457.patch is attached

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

From 242e7646da8c3902dd3602a39acd2542bfa9c144 Mon Sep 17 00:00:00 2001
From: Mohammad <moh.ebrahimi2000@gmail.com>
Date: Sun, 6 Aug 2023 22:30:41 +0330
Subject: [PATCH] New package: libresprite-1.0

---
 srcpkgs/libresprite/files/CMakeLists.txt      | 23 +++++
 srcpkgs/libresprite/files/src/CMakeLists.txt  | 15 +++
 .../files/third_party/CMakeLists.txt          |  3 +
 srcpkgs/libresprite/template                  | 92 +++++++++++++++++++
 4 files changed, 133 insertions(+)
 create mode 100644 srcpkgs/libresprite/files/CMakeLists.txt
 create mode 100644 srcpkgs/libresprite/files/src/CMakeLists.txt
 create mode 100644 srcpkgs/libresprite/files/third_party/CMakeLists.txt
 create mode 100644 srcpkgs/libresprite/template

diff --git a/srcpkgs/libresprite/files/CMakeLists.txt b/srcpkgs/libresprite/files/CMakeLists.txt
new file mode 100644
index 0000000000000..0108c181867c7
--- /dev/null
+++ b/srcpkgs/libresprite/files/CMakeLists.txt
@@ -0,0 +1,23 @@
+cmake_minimum_required(VERSION 3.4)
+
+project(generator C CXX)
+
+set(BUILD_SHARED_LIBS off)
+
+set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
+set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
+set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
+
+set(MODP_B64_DIR        ${CMAKE_SOURCE_DIR}/third_party/modp_b64)
+
+set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
+
+add_definitions(-DNDEBUG)
+
+find_library(TINYXML_LIBRARY NAMES tinyxml)
+find_path(TINYXML_INCLUDE_DIR NAMES tinyxml.h)
+include_directories(${TINYXML_INCLUDE_DIR})
+
+add_subdirectory(src)
+
+add_subdirectory(third_party)
diff --git a/srcpkgs/libresprite/files/src/CMakeLists.txt b/srcpkgs/libresprite/files/src/CMakeLists.txt
new file mode 100644
index 0000000000000..8bd3168ff026e
--- /dev/null
+++ b/srcpkgs/libresprite/files/src/CMakeLists.txt
@@ -0,0 +1,15 @@
+add_definitions(-DHAVE_CONFIG_H)
+
+include_directories(. .. ../third_party)
+
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-switch -std=gnu++11")
+
+set(OBSERVABLE_TESTS OFF CACHE BOOL "Compile observable tests")
+add_subdirectory(observable)
+include_directories(observable)
+
+add_subdirectory(base)
+
+include_directories(${BASE_INCLUDE_DIR})
+
+add_subdirectory(gen)
diff --git a/srcpkgs/libresprite/files/third_party/CMakeLists.txt b/srcpkgs/libresprite/files/third_party/CMakeLists.txt
new file mode 100644
index 0000000000000..8d56e877c00d3
--- /dev/null
+++ b/srcpkgs/libresprite/files/third_party/CMakeLists.txt
@@ -0,0 +1,3 @@
+include_directories(.)
+
+add_subdirectory(modp_b64)
diff --git a/srcpkgs/libresprite/template b/srcpkgs/libresprite/template
new file mode 100644
index 0000000000000..42176613fed05
--- /dev/null
+++ b/srcpkgs/libresprite/template
@@ -0,0 +1,92 @@
+# Template file for 'libresprite'
+pkgname=libresprite
+version=1.0
+revision=1
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON"
+hostmakedepends="tinyxml-devel"
+makedepends="zlib-devel libpng-devel freetype-devel giflib-devel gtest-devel libjpeg-turbo-devel libcurl-devel SDL2-devel SDL2_image-devel lua-devel pixman-devel tinyxml-devel"
+checkdepends="xvfb-run"
+short_desc="Animated sprite editor & pixel art tool"
+maintainer="Mohammad Ebrahimi <moh.ebrahimi2000@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://libresprite.github.io"
+_clip_commit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_flic_commit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observable_commit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undo_commit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_duktape_commit=6f715553e706b61e611aa4ae8e6fe90626800dae
+_simpleini_commit=0687587cef1816a04307d632e517be9803bbdca6
+distfiles="
+ https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+ https://github.com/aseprite/clip/archive/${_clip_commit}.tar.gz
+ https://github.com/aseprite/flic/archive/${_flic_commit}.tar.gz
+ https://github.com/dacap/observable/archive/${_observable_commit}.tar.gz
+ https://github.com/aseprite/undo/archive/${_undo_commit}.tar.gz
+ https://github.com/LibreSprite/duktape/archive/${_duktape_commit}.tar.gz
+ https://github.com/aseprite/simpleini/archive/${_simpleini_commit}.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ f08780c5c49cbeb560967016e0c653d68c673a8101f7a175b79cbf0f19ec1fae
+ 5bf8341c01ddbd872aadd372827d2bbd191455abde9693aca867e23075c1286a
+ e26e26e3068a4f0f79b1c3f76dc5a5c825a2f7748db4d38594453e7fdf4cb82a
+ 8881e3d4c7d9d29c91640649ad8d292be5646fa3fd26be6b49bba1d00e38acba
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004
+ 0c00c28a2d85ca9f7cee2462988643b1b6b9c34b692f4f8740c93c988c1e446d"
+make_check_pre="xvfb-run"
+
+if [[ "$XBPS_TARGET_MACHINE" != "armv"[67]* ]]
+then
+	makedepends+=" nodejs-devel"
+fi
+
+post_extract() {
+	mv ${wrksrc}/LibreSprite-${version}/* ${wrksrc}
+	rmdir -v ${wrksrc}/src/clip
+	mv ${wrksrc}/clip-${_clip_commit} ${wrksrc}/src/clip
+	rmdir -v ${wrksrc}/src/flic
+	mv ${wrksrc}/flic-${_flic_commit} ${wrksrc}/src/flic
+	rmdir -v ${wrksrc}/src/observable
+	mv ${wrksrc}/observable-${_observable_commit} ${wrksrc}/src/observable
+	rmdir -v ${wrksrc}/src/undo
+	mv ${wrksrc}/undo-${_undo_commit} ${wrksrc}/src/undo
+	rmdir -v ${wrksrc}/third_party/duktape
+	mv ${wrksrc}/duktape-${_duktape_commit} ${wrksrc}/third_party/duktape
+	rmdir -v ${wrksrc}/third_party/simpleini
+	mv ${wrksrc}/simpleini-${_simpleini_commit} ${wrksrc}/third_party/simpleini
+
+	if [[ "$CROSS_BUILD" ]]
+	then
+		mv ${wrksrc}/CMakeLists.txt ${wrksrc}/CMakeLists.txt.old
+		cp ${FILESDIR}/CMakeLists.txt ${wrksrc}/CMakeLists.txt
+		mv ${wrksrc}/src/CMakeLists.txt ${wrksrc}/src/CMakeLists.txt.old
+		cp ${FILESDIR}/src/CMakeLists.txt ${wrksrc}/src/CMakeLists.txt
+		mv ${wrksrc}/third_party/CMakeLists.txt ${wrksrc}/third_party/CMakeLists.txt.old
+		cp ${FILESDIR}/third_party/CMakeLists.txt ${wrksrc}/third_party/CMakeLists.txt
+
+		mkdir -p ${wrksrc}/build/${XBPS_MACHINE}
+		cd ${wrksrc}/build/${XBPS_MACHINE}
+		cmake -G Ninja ../..
+		ninja
+
+		sed -i "s/bin\/gen/${XBPS_MACHINE}\/bin\/gen/g" ${wrksrc}/src/app/CMakeLists.txt
+		sed -r "s/DEPENDS gen//g" ${wrksrc}/src/app/CMakeLists.txt
+		
+		rm ${wrksrc}/CMakeLists.txt
+		mv ${wrksrc}/CMakeLists.txt.old ${wrksrc}/CMakeLists.txt
+		rm ${wrksrc}/src/CMakeLists.txt
+		mv ${wrksrc}/src/CMakeLists.txt.old ${wrksrc}/src/CMakeLists.txt
+		rm ${wrksrc}/third_party/CMakeLists.txt
+		mv ${wrksrc}/third_party/CMakeLists.txt.old ${wrksrc}/third_party/CMakeLists.txt
+
+		sed -r "s/add_subdirectory(gen)//g" ${wrksrc}/src/CMakeLists.txt
+	fi
+}
+
+post_install() {
+	vdoc ${wrksrc}/docs/files/ase.txt
+	vdoc ${wrksrc}/docs/files/fli.txt
+	vdoc ${wrksrc}/docs/files/msk.txt
+	vdoc ${wrksrc}/docs/files/pic.txt
+	vdoc ${wrksrc}/docs/files/picpro.txt
+}

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

* Re: [PR PATCH] [Updated] New package: libresprite-1.0
  2023-08-06 19:04 [PR PATCH] New package: libresprite-1.0 moheb2000
@ 2023-08-07 17:16 ` moheb2000
  2023-08-09 13:03 ` moheb2000
  1 sibling, 0 replies; 40+ messages in thread
From: moheb2000 @ 2023-08-07 17:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/moheb2000/void-packages libresprite
https://github.com/void-linux/void-packages/pull/45457

New package: libresprite-1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

#### 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/45457.patch is attached

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

From 515fb6a65e0fad6f69de64b860c7c477b3826f48 Mon Sep 17 00:00:00 2001
From: Mohammad <moh.ebrahimi2000@gmail.com>
Date: Sun, 6 Aug 2023 22:30:41 +0330
Subject: [PATCH] New package: libresprite-1.0

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

diff --git a/srcpkgs/libresprite/template b/srcpkgs/libresprite/template
new file mode 100644
index 0000000000000..7fdf7ef9e6a62
--- /dev/null
+++ b/srcpkgs/libresprite/template
@@ -0,0 +1,62 @@
+# Template file for 'libresprite'
+pkgname=libresprite
+version=1.0
+revision=1
+create_wrksrc=yes
+build_style=cmake
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON"
+makedepends="zlib-devel libpng-devel freetype-devel giflib-devel gtest-devel libjpeg-turbo-devel libcurl-devel SDL2-devel SDL2_image-devel lua-devel pixman-devel tinyxml-devel"
+short_desc="Animated sprite editor & pixel art tool"
+maintainer="Mohammad Ebrahimi <moh.ebrahimi2000@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://libresprite.github.io"
+_clip_commit=a65a9e543e9a270bb7c58789d15d027bbd8efb2a
+_flic_commit=65a6072fa0aa611c383b44d21b87d41e2ea8b523
+_observable_commit=89c97405025c17fbce5b147aae86fe35b00f98e5
+_undo_commit=f39b188e29d0f9adaa49c8705c0f492939d967a9
+_duktape_commit=6f715553e706b61e611aa4ae8e6fe90626800dae
+_simpleini_commit=0687587cef1816a04307d632e517be9803bbdca6
+distfiles="
+ https://github.com/LibreSprite/LibreSprite/archive/refs/tags/v${version}.tar.gz
+ https://github.com/aseprite/clip/archive/${_clip_commit}.tar.gz
+ https://github.com/aseprite/flic/archive/${_flic_commit}.tar.gz
+ https://github.com/dacap/observable/archive/${_observable_commit}.tar.gz
+ https://github.com/aseprite/undo/archive/${_undo_commit}.tar.gz
+ https://github.com/LibreSprite/duktape/archive/${_duktape_commit}.tar.gz
+ https://github.com/aseprite/simpleini/archive/${_simpleini_commit}.tar.gz"
+checksum="7f1fc58ba3c1c7dae384a2e893d0b9d821c6213a5121f263d0964deabd07708e
+ f08780c5c49cbeb560967016e0c653d68c673a8101f7a175b79cbf0f19ec1fae
+ 5bf8341c01ddbd872aadd372827d2bbd191455abde9693aca867e23075c1286a
+ e26e26e3068a4f0f79b1c3f76dc5a5c825a2f7748db4d38594453e7fdf4cb82a
+ 8881e3d4c7d9d29c91640649ad8d292be5646fa3fd26be6b49bba1d00e38acba
+ 711a5cb7e3d663d7673d635a11a3b38fe67cf63b1c9f7eb406ebd107a25b7004
+ 0c00c28a2d85ca9f7cee2462988643b1b6b9c34b692f4f8740c93c988c1e446d"
+
+if [[ "$XBPS_TARGET_MACHINE" != "armv"[67]* ]]
+then
+	makedepends+=" nodejs-devel"
+fi
+
+post_extract() {
+	mv ${wrksrc}/LibreSprite-${version}/* ${wrksrc}
+	rmdir -v ${wrksrc}/src/clip
+	mv ${wrksrc}/clip-${_clip_commit} ${wrksrc}/src/clip
+	rmdir -v ${wrksrc}/src/flic
+	mv ${wrksrc}/flic-${_flic_commit} ${wrksrc}/src/flic
+	rmdir -v ${wrksrc}/src/observable
+	mv ${wrksrc}/observable-${_observable_commit} ${wrksrc}/src/observable
+	rmdir -v ${wrksrc}/src/undo
+	mv ${wrksrc}/undo-${_undo_commit} ${wrksrc}/src/undo
+	rmdir -v ${wrksrc}/third_party/duktape
+	mv ${wrksrc}/duktape-${_duktape_commit} ${wrksrc}/third_party/duktape
+	rmdir -v ${wrksrc}/third_party/simpleini
+	mv ${wrksrc}/simpleini-${_simpleini_commit} ${wrksrc}/third_party/simpleini
+}
+
+post_install() {
+	vdoc ${wrksrc}/docs/files/ase.txt
+	vdoc ${wrksrc}/docs/files/fli.txt
+	vdoc ${wrksrc}/docs/files/msk.txt
+	vdoc ${wrksrc}/docs/files/pic.txt
+	vdoc ${wrksrc}/docs/files/picpro.txt
+}

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

end of thread, other threads:[~2024-02-18 13:24 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22  1:54 [PR PATCH] New package: LibreSprite-1.0 notthewave
2021-12-22  1:56 ` [PR PATCH] [Updated] " notthewave
2021-12-22  2:01 ` notthewave
2021-12-22  2:08 ` notthewave
2021-12-22 17:28 ` notthewave
2021-12-23 20:04 ` notthewave
2021-12-23 20:13 ` notthewave
2021-12-27 16:16 ` [PR PATCH] [Updated] " notthewave
2021-12-27 16:39 ` notthewave
2021-12-27 16:47 ` notthewave
2022-01-04 22:36 ` notthewave
2022-04-09  0:32 ` illusioon
2022-07-08  2:14 ` github-actions
2023-08-06 19:04 [PR PATCH] New package: libresprite-1.0 moheb2000
2023-08-07 17:16 ` [PR PATCH] [Updated] " moheb2000
2023-08-09 13:03 ` moheb2000
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
2024-01-02 15:56 ` [PR PATCH] [Updated] " MIvanchev
2024-01-02 16:04 ` MIvanchev
2024-01-02 16:10 ` MIvanchev
2024-01-02 21:22 ` MIvanchev
2024-01-02 21:23 ` MIvanchev
2024-01-02 21:45 ` MIvanchev
2024-01-02 21:46 ` MIvanchev
2024-01-02 21:48 ` MIvanchev
2024-01-02 21:58 ` MIvanchev
2024-01-02 22:06 ` MIvanchev
2024-01-02 22:09 ` MIvanchev
2024-01-02 22:25 ` MIvanchev
2024-01-02 22:26 ` MIvanchev
2024-01-03  8:22 ` MIvanchev
2024-01-03 13:40 ` sgn
2024-01-03 15:12 ` MIvanchev
2024-02-18 12:41 ` MIvanchev
2024-02-18 12:45 ` MIvanchev
2024-02-18 12:49 ` MIvanchev
2024-02-18 12:52 ` MIvanchev
2024-02-18 13:01 ` MIvanchev
2024-02-18 13:08 ` MIvanchev
2024-02-18 13:13 ` MIvanchev
2024-02-18 13:18 ` MIvanchev
2024-02-18 13:24 ` MIvanchev

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