* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
@ 2024-01-02 15:54 ` MIvanchev
2024-01-02 15:55 ` MIvanchev
` (38 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-01-02 15:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1874206060
Comment:
This is a second attempt at releasing LibreSprite after #34654.
Optional features depending on libv8 disabled because Void doesn't provide a package.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
2024-01-02 15:54 ` MIvanchev
@ 2024-01-02 15:55 ` MIvanchev
2024-01-02 15:56 ` [PR PATCH] [Updated] " MIvanchev
` (37 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-01-02 15:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 406 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1874206060
Comment:
This is a second attempt at releasing LibreSprite after #34654.
Optional features depending on `libv8` disabled because Void doesn't provide a package.
Most recent commits of dependencies used, sometimes older are preferred where the commit was `verified`.
^ permalink raw reply [flat|nested] 55+ 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:54 ` MIvanchev
2024-01-02 15:55 ` MIvanchev
@ 2024-01-02 15:56 ` MIvanchev
2024-01-02 16:04 ` MIvanchev
` (36 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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 15:56 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-01-02 16:04 ` MIvanchev
2024-01-02 16:10 ` MIvanchev
` (35 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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 16:04 ` MIvanchev
@ 2024-01-02 16:10 ` MIvanchev
2024-01-02 21:22 ` MIvanchev
` (34 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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 16:10 ` MIvanchev
@ 2024-01-02 21:22 ` MIvanchev
2024-01-02 21:23 ` MIvanchev
` (33 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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:22 ` MIvanchev
@ 2024-01-02 21:23 ` MIvanchev
2024-01-02 21:45 ` MIvanchev
` (32 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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:23 ` MIvanchev
@ 2024-01-02 21:45 ` MIvanchev
2024-01-02 21:46 ` MIvanchev
` (31 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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:45 ` MIvanchev
@ 2024-01-02 21:46 ` MIvanchev
2024-01-02 21:48 ` MIvanchev
` (30 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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:46 ` MIvanchev
@ 2024-01-02 21:48 ` MIvanchev
2024-01-02 21:58 ` MIvanchev
` (29 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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 21:48 ` MIvanchev
@ 2024-01-02 21:58 ` MIvanchev
2024-01-02 22:06 ` MIvanchev
` (28 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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 21:58 ` MIvanchev
@ 2024-01-02 22:06 ` MIvanchev
2024-01-02 22:09 ` MIvanchev
` (27 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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:06 ` MIvanchev
@ 2024-01-02 22:09 ` MIvanchev
2024-01-02 22:25 ` MIvanchev
` (26 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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:09 ` MIvanchev
@ 2024-01-02 22:25 ` MIvanchev
2024-01-02 22:26 ` MIvanchev
` (25 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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-02 22:25 ` MIvanchev
@ 2024-01-02 22:26 ` MIvanchev
2024-01-02 22:34 ` MIvanchev
` (24 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (14 preceding siblings ...)
2024-01-02 22:26 ` MIvanchev
@ 2024-01-02 22:34 ` MIvanchev
2024-01-03 2:01 ` chrysos349
` (23 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-01-02 22:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1874646577
Comment:
Maybe somebody with more experience knows why `build_helper=qemu` doesn't do it's job here?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (15 preceding siblings ...)
2024-01-02 22:34 ` MIvanchev
@ 2024-01-03 2:01 ` chrysos349
2024-01-03 8:22 ` [PR PATCH] [Updated] " MIvanchev
` (22 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: chrysos349 @ 2024-01-03 2:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
New comment by chrysos349 on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1874765705
Comment:
@MIvanchev
add to your template
```
post_patch() {
vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|${CMAKE_CROSSCOMPILING_EMULATOR} &|g'
}
```
^ permalink raw reply [flat|nested] 55+ 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-01-03 2:01 ` chrysos349
@ 2024-01-03 8:22 ` MIvanchev
2024-01-03 13:40 ` [PR REVIEW] " sgn
` (21 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ messages in thread
* Re: [PR REVIEW] New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (17 preceding siblings ...)
2024-01-03 8:22 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-01-03 13:40 ` sgn
2024-01-03 13:40 ` [PR PATCH] [Updated] " sgn
` (20 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: sgn @ 2024-01-03 13:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
New review comment by sgn on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#discussion_r1440464086
Comment:
```suggestion
vsed -i src/app/CMakeLists.txt -e 's|${CMAKE_BINARY_DIR}/bin/gen|gen|g'
```
^ permalink raw reply [flat|nested] 55+ 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-01-03 13:40 ` [PR REVIEW] " sgn
@ 2024-01-03 13:40 ` sgn
2024-01-03 15:02 ` MIvanchev
` (19 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (19 preceding siblings ...)
2024-01-03 13:40 ` [PR PATCH] [Updated] " sgn
@ 2024-01-03 15:02 ` MIvanchev
2024-01-03 15:08 ` MIvanchev
` (18 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-01-03 15:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1875513424
Comment:
@sgn what did you change and could you fix the linter error?
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (20 preceding siblings ...)
2024-01-03 15:02 ` MIvanchev
@ 2024-01-03 15:08 ` MIvanchev
2024-01-03 15:12 ` [PR PATCH] [Updated] " MIvanchev
` (17 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-01-03 15:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1875513424
Comment:
@sgn what did you change and could you fix the linter error?
P.S.
I get it now, you've changed the command so it refers to the target and applies the emulator directly. Let me just add a small comment to expain that.
^ permalink raw reply [flat|nested] 55+ 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-01-03 15:08 ` MIvanchev
@ 2024-01-03 15:12 ` MIvanchev
2024-02-18 12:07 ` sug0
` (16 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (22 preceding siblings ...)
2024-01-03 15:12 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-02-18 12:07 ` sug0
2024-02-18 12:41 ` [PR PATCH] [Updated] " MIvanchev
` (15 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: sug0 @ 2024-02-18 12:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New comment by sug0 on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1951255546
Comment:
FYI this package is no longer compiling on `1.0`. it needs to be patched
^ permalink raw reply [flat|nested] 55+ 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 12:07 ` sug0
@ 2024-02-18 12:41 ` MIvanchev
2024-02-18 12:45 ` MIvanchev
` (14 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (24 preceding siblings ...)
2024-02-18 12:41 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-02-18 12:45 ` MIvanchev
2024-02-18 12:49 ` MIvanchev
` (13 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (25 preceding siblings ...)
2024-02-18 12:45 ` MIvanchev
@ 2024-02-18 12:49 ` MIvanchev
2024-02-18 12:52 ` MIvanchev
` (12 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (26 preceding siblings ...)
2024-02-18 12:49 ` MIvanchev
@ 2024-02-18 12:52 ` MIvanchev
2024-02-18 13:01 ` MIvanchev
` (11 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (27 preceding siblings ...)
2024-02-18 12:52 ` MIvanchev
@ 2024-02-18 13:01 ` MIvanchev
2024-02-18 13:08 ` MIvanchev
` (10 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (28 preceding siblings ...)
2024-02-18 13:01 ` MIvanchev
@ 2024-02-18 13:08 ` MIvanchev
2024-02-18 13:13 ` MIvanchev
` (9 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (29 preceding siblings ...)
2024-02-18 13:08 ` MIvanchev
@ 2024-02-18 13:13 ` MIvanchev
2024-02-18 13:18 ` MIvanchev
` (8 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (30 preceding siblings ...)
2024-02-18 13:13 ` MIvanchev
@ 2024-02-18 13:18 ` MIvanchev
2024-02-18 13:24 ` MIvanchev
` (7 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ 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
` (31 preceding siblings ...)
2024-02-18 13:18 ` MIvanchev
@ 2024-02-18 13:24 ` MIvanchev
2024-02-18 13:32 ` MIvanchev
` (6 subsequent siblings)
39 siblings, 0 replies; 55+ 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] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (32 preceding siblings ...)
2024-02-18 13:24 ` MIvanchev
@ 2024-02-18 13:32 ` MIvanchev
2024-02-18 13:32 ` MIvanchev
` (5 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-02-18 13:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1951327470
Comment:
> FYI this package is no longer compiling on `1.0`. it needs to be patched
Thanks for reporting, it's fixed now!
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (33 preceding siblings ...)
2024-02-18 13:32 ` MIvanchev
@ 2024-02-18 13:32 ` MIvanchev
2024-05-19 1:48 ` github-actions
` (4 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-02-18 13:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-1951327470
Comment:
> FYI this package is no longer compiling on `1.0`. it needs to be patched
Thanks for reporting, @sug0, it's fixed now!
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (34 preceding siblings ...)
2024-02-18 13:32 ` MIvanchev
@ 2024-05-19 1:48 ` github-actions
2024-05-19 8:17 ` MIvanchev
` (3 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: github-actions @ 2024-05-19 1:48 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/48030#issuecomment-2119058225
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] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (35 preceding siblings ...)
2024-05-19 1:48 ` github-actions
@ 2024-05-19 8:17 ` MIvanchev
2024-08-18 1:54 ` github-actions
` (2 subsequent siblings)
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-05-19 8:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 149 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-2119147515
Comment:
Bump.
^ permalink raw reply [flat|nested] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (36 preceding siblings ...)
2024-05-19 8:17 ` MIvanchev
@ 2024-08-18 1:54 ` github-actions
2024-08-18 7:08 ` MIvanchev
2024-10-01 15:35 ` [PR PATCH] [Updated] " MIvanchev
39 siblings, 0 replies; 55+ messages in thread
From: github-actions @ 2024-08-18 1:54 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/48030#issuecomment-2295060541
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] 55+ messages in thread
* Re: New package: LibreSprite-1.0
2024-01-02 15:52 [PR PATCH] New package: LibreSprite-1.0 MIvanchev
` (37 preceding siblings ...)
2024-08-18 1:54 ` github-actions
@ 2024-08-18 7:08 ` MIvanchev
2024-10-01 15:35 ` [PR PATCH] [Updated] " MIvanchev
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-08-18 7:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 149 bytes --]
New comment by MIvanchev on void-packages repository
https://github.com/void-linux/void-packages/pull/48030#issuecomment-2295153561
Comment:
Bump.
^ permalink raw reply [flat|nested] 55+ 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
` (38 preceding siblings ...)
2024-08-18 7:08 ` MIvanchev
@ 2024-10-01 15:35 ` MIvanchev
39 siblings, 0 replies; 55+ messages in thread
From: MIvanchev @ 2024-10-01 15:35 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: 4992 bytes --]
From 080aa01bcd93bc68a9fecc0ca88b9a6e3e6646b5 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.1
---
srcpkgs/LibreSprite/files/cstdint.patch | 36 +++++++++++++++
srcpkgs/LibreSprite/template | 60 +++++++++++++++++++++++++
2 files changed, 96 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..0421b49c3e44ef
--- /dev/null
+++ b/srcpkgs/LibreSprite/template
@@ -0,0 +1,60 @@
+# Template file for 'LibreSprite'
+pkgname=LibreSprite
+# NOTE: Using older verified commit for clip
+_clipcommit=8175b5b941e93313d093dba7c68a905773e9e76b
+_fliccommit=876ef60df5fec606f8eb0638ee893e4967db4673
+_observablecommit=8e03c3cb060120b25517503e6c1d9072686d1cd3
+# NOTE: Using newer commit for undo
+_undocommit=c868a0238973f04564253133c1cd3689f9aa3913
+_simpleinicommit=9fa7622f41e36105a4c767a7765bb24afec4d6be
+# NOTE: Using newer verified commit for duktape
+_duktapecommit=6f715553e706b61e611aa4ae8e6fe90626800dae
+version=1.1
+revision=1
+build_style=cmake
+build_helper="qemu"
+configure_args="-DWITH_DESKTOP_INTEGRATION=ON -DCLIP_TESTS=OFF"
+hostmakedepends="pkg-config git"
+makedepends="libarchive-devel libpng-devel pixman-devel libcurl-devel SDL2_image-devel tinyxml2-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="5ffbb4c86da9f04921dbafb7f61d8031bc9002b786dc567df86f9d407f96b586
+ 9870ac989398c09586edbb8451acdab8d150edc34b089848bab25f96d924c53b
+ e66ab8d28c630a80a2be2baf260f87481ca7b0d35101e74b3ef131f47989d1a9
+ e56c7cb929d237db37a16e48de86dbd6c240cfaa392904d7d95cf4ccb18cdeb2
+ 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] 55+ messages in thread