Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: xpaint-3.1.4
@ 2024-05-02 11:00 MIvanchev
  2024-05-02 11:08 ` [PR PATCH] [Updated] " MIvanchev
                   ` (67 more replies)
  0 siblings, 68 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 11:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 5ac57a764fb21cb65104895dad33bc4469a9f9de Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..b1973ea2594330
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,29 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2
+revision=1
+build_style=gnu-configure
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=0a1af64590cab7a4e4a5cf42dafa1a94984c6453c56377f40b5d1682f6c4ecfd
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
@ 2024-05-02 11:08 ` MIvanchev
  2024-05-02 11:19 ` MIvanchev
                   ` (66 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 11:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 2b4a9a19780ced5b8b776b7ec84eb4153bd29f31 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..25b5c2b1f7f507
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,34 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=0a1af64590cab7a4e4a5cf42dafa1a94984c6453c56377f40b5d1682f6c4ecfd
+
+pre_configure() {
+	./autogen.sh
+}
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
  2024-05-02 11:08 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-05-02 11:19 ` MIvanchev
  2024-05-02 11:22 ` MIvanchev
                   ` (65 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 11:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 67663c0580750e53dc595be20b5d1adcc6062e6b Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..33a7f41f5a9e8f
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
  2024-05-02 11:08 ` [PR PATCH] [Updated] " MIvanchev
  2024-05-02 11:19 ` MIvanchev
@ 2024-05-02 11:22 ` MIvanchev
  2024-05-02 14:44 ` MIvanchev
                   ` (64 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 11:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From da030e40f1dfe0abd46f289ba394ca48d4311210 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..dd5367497a1e74
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (2 preceding siblings ...)
  2024-05-02 11:22 ` MIvanchev
@ 2024-05-02 14:44 ` MIvanchev
  2024-05-02 15:25 ` MIvanchev
                   ` (63 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 14:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From da030e40f1dfe0abd46f289ba394ca48d4311210 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..dd5367497a1e74
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 2f355f8473eb5a195a833206e154e5b92879d3e0 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..db77da86bcb84f
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,18 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="automake"
+makedepends="libX11-devel libXaw3dXft-devel freetype-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+
+pre_configure() {
+	ls /usr/include/X11/Xaw3dxft
+	autoreconf -f
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (3 preceding siblings ...)
  2024-05-02 14:44 ` MIvanchev
@ 2024-05-02 15:25 ` MIvanchev
  2024-05-02 15:29 ` MIvanchev
                   ` (62 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 15:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 5545685771b48b91318f926b1a4ef3fa4c8f0f75 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 2f1e764f137e8f67ca0963dd4c34d691fd291531 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..c42f6173da4b90
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,13 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (4 preceding siblings ...)
  2024-05-02 15:25 ` MIvanchev
@ 2024-05-02 15:29 ` MIvanchev
  2024-05-02 15:35 ` MIvanchev
                   ` (61 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 15:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 5545685771b48b91318f926b1a4ef3fa4c8f0f75 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 82a4569a87000c7e0f3c49086b583f0f84baaab7 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..b38216c1b981fa
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,13 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (5 preceding siblings ...)
  2024-05-02 15:29 ` MIvanchev
@ 2024-05-02 15:35 ` MIvanchev
  2024-05-02 15:49 ` MIvanchev
                   ` (60 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 15:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 5545685771b48b91318f926b1a4ef3fa4c8f0f75 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From b5b276b290da43fac8bbaf52c7113b3529da63d7 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..ee3f23b0a77e2f
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,14 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (6 preceding siblings ...)
  2024-05-02 15:35 ` MIvanchev
@ 2024-05-02 15:49 ` MIvanchev
  2024-05-02 16:19 ` MIvanchev
                   ` (59 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 15:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From e34f53f165f41e86637a566b50028e31a9332a77 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..ee3f23b0a77e2f
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,14 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (7 preceding siblings ...)
  2024-05-02 15:49 ` MIvanchev
@ 2024-05-02 16:19 ` MIvanchev
  2024-05-02 16:26 ` MIvanchev
                   ` (58 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 16:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 51ceecda22affd0064d5ce82b7b95259f5068631 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..ee3f23b0a77e2f
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,14 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (8 preceding siblings ...)
  2024-05-02 16:19 ` MIvanchev
@ 2024-05-02 16:26 ` MIvanchev
  2024-05-02 17:32 ` MIvanchev
                   ` (57 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 16:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 3054fb4006b06370da27eae5bbc6267f84bd1de5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..d51a3d3cbbc5e5
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,16 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (9 preceding siblings ...)
  2024-05-02 16:26 ` MIvanchev
@ 2024-05-02 17:32 ` MIvanchev
  2024-05-02 19:30 ` MIvanchev
                   ` (56 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 17:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 054d9aacb8e82bb9393560f840e883a714e5a822 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..411d458035261f
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,19 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	sed -i "s:/usr/include/freetype2/freetype/:${XBPS_CROSS_BASE}\0:" configure.ac
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (10 preceding siblings ...)
  2024-05-02 17:32 ` MIvanchev
@ 2024-05-02 19:30 ` MIvanchev
  2024-05-02 19:34 ` MIvanchev
                   ` (55 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 19:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 9f90092e9e77935147f1d922e13ad339ee06ed47 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..b2cbc2f7ad7843
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,21 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+	vsed -i Makefile.in -e "s|\./substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (11 preceding siblings ...)
  2024-05-02 19:30 ` MIvanchev
@ 2024-05-02 19:34 ` MIvanchev
  2024-05-02 19:40 ` MIvanchev
                   ` (54 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 19:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 493ad178a098f9403d94ee901d10caa27261e29d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..6c82cf6cef3ddd
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,23 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i Makefile.in -e "s|\./substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (12 preceding siblings ...)
  2024-05-02 19:34 ` MIvanchev
@ 2024-05-02 19:40 ` MIvanchev
  2024-05-02 19:43 ` MIvanchev
                   ` (53 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 19:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From dd9ba6553288fc7da373532e6d99d8e44268eec3 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..20b09bbc48e800
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,23 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i Makefile.am -e "s|\./substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (13 preceding siblings ...)
  2024-05-02 19:40 ` MIvanchev
@ 2024-05-02 19:43 ` MIvanchev
  2024-05-02 20:31 ` MIvanchev
                   ` (52 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 19:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 4aefe76c722fea0153509c82c46a28689a0cb68d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..6b110ad77910ae
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,23 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\./substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (14 preceding siblings ...)
  2024-05-02 19:43 ` MIvanchev
@ 2024-05-02 20:31 ` MIvanchev
  2024-05-03  7:19 ` MIvanchev
                   ` (51 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-02 20:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From c3bcb44ef390bf7a4253763f300bda3a567eb052 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..b30b1d301e0982
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,24 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\./substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\./preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (15 preceding siblings ...)
  2024-05-02 20:31 ` MIvanchev
@ 2024-05-03  7:19 ` MIvanchev
  2024-05-03  7:46 ` MIvanchev
                   ` (50 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  7:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From b1706f4a16d0ac2a5e5de1f98bc1042cc738e0dc Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..41c00ce2973467
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,24 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (16 preceding siblings ...)
  2024-05-03  7:19 ` MIvanchev
@ 2024-05-03  7:46 ` MIvanchev
  2024-05-03  7:50 ` MIvanchev
                   ` (49 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  7:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 2318f46b1381e330303f45ca062b56cbcff3ecc1 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..1a8f23926b0a50
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,26 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (17 preceding siblings ...)
  2024-05-03  7:46 ` MIvanchev
@ 2024-05-03  7:50 ` MIvanchev
  2024-05-03  7:56 ` MIvanchev
                   ` (48 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  7:50 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 39be2385b335c80d94ca6c805afdc9d57cde3f55 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..0635ad00f3b447
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,27 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile.am -e "s|AM_CFLAGS *=|& --tag=CC |"
+		cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (18 preceding siblings ...)
  2024-05-03  7:50 ` MIvanchev
@ 2024-05-03  7:56 ` MIvanchev
  2024-05-03  8:09 ` MIvanchev
                   ` (47 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  7:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From aa14b635bd3fa372f964d6027f2cc6939f772e71 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..7894b9eeb4a610
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,27 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|& --tag=CC|"
+		cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (19 preceding siblings ...)
  2024-05-03  7:56 ` MIvanchev
@ 2024-05-03  8:09 ` MIvanchev
  2024-05-03  8:14 ` MIvanchev
                   ` (46 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 7f5eae7879d69d0bb39f71b96740f24e3cca9a57 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..349d7f4f3c4abf
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,29 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (20 preceding siblings ...)
  2024-05-03  8:09 ` MIvanchev
@ 2024-05-03  8:14 ` MIvanchev
  2024-05-03  8:25 ` MIvanchev
                   ` (45 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 36b3c59ea3f886114b558908266176b94dd780a7 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..2a54c10f627768
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,32 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e "s|--mode=compile|--tag=CC &|"
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (21 preceding siblings ...)
  2024-05-03  8:14 ` MIvanchev
@ 2024-05-03  8:25 ` MIvanchev
  2024-05-03  8:38 ` MIvanchev
                   ` (44 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 4088183101f4293468d9f979d152a8494def2d56 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..5a6298f1cab165
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,33 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e "s|--mode=compile|--tag=CC &|"
+		vsed -i xpaintrw/Makefile -e "s|--mode=link|--tag=CC &|"
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (22 preceding siblings ...)
  2024-05-03  8:25 ` MIvanchev
@ 2024-05-03  8:38 ` MIvanchev
  2024-05-03  8:40 ` MIvanchev
                   ` (43 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From ba787e652fe46f12d1365ae71ccbf8aa3cdd4892 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..e22acb921db118
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,33 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)|--mode=link $(CCLD)|"
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (23 preceding siblings ...)
  2024-05-03  8:38 ` MIvanchev
@ 2024-05-03  8:40 ` MIvanchev
  2024-05-03  8:43 ` MIvanchev
                   ` (42 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 93c56327c14c104493e9eea7d60b05d712d9b296 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..0a8bf25b9c1ad8
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,33 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)|--mode=link $(CCLD)|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (24 preceding siblings ...)
  2024-05-03  8:40 ` MIvanchev
@ 2024-05-03  8:43 ` MIvanchev
  2024-05-03  8:46 ` MIvanchev
                   ` (41 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 78e3f746221dec5cbcde2298457966833f1410d0 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..b712333e56f757
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,33 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)|tag=CC --mode=link $(CCLD)|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (25 preceding siblings ...)
  2024-05-03  8:43 ` MIvanchev
@ 2024-05-03  8:46 ` MIvanchev
  2024-05-03  8:54 ` MIvanchev
                   ` (40 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 4e28d208e56a327a8bb931ec6c1196d8bcc060d2 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..f66e6eaec2e12a
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,33 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)|--tag=CC --mode=link $(CCLD)|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (26 preceding siblings ...)
  2024-05-03  8:46 ` MIvanchev
@ 2024-05-03  8:54 ` MIvanchev
  2024-05-03  8:59 ` MIvanchev
                   ` (39 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From df44417415b05c22e425fa425a8d73d34fac8826 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..c7a7c72f76d70f
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,35 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/LIBTOOL
+
+post_configure() {
+#	if [ "$CROSS_BUILD" ]; then
+#		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+#		vsed -i xpaintrw/Makefile -e 's|--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)|--tag=CC --mode=link $(CCLD)|'
+#	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (27 preceding siblings ...)
  2024-05-03  8:54 ` MIvanchev
@ 2024-05-03  8:59 ` MIvanchev
  2024-05-03  9:05 ` MIvanchev
                   ` (38 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  8:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 10885022b1f0cdd45ac352c264219ecf59cd5480 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..c8994f2224a0ed
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,35 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+#post_configure() {
+#	if [ "$CROSS_BUILD" ]; then
+#		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+#		vsed -i xpaintrw/Makefile -e 's|--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)|--tag=CC --mode=link $(CCLD)|'
+#	fi
+#	cat xpaintrw/Makefile
+#}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (28 preceding siblings ...)
  2024-05-03  8:59 ` MIvanchev
@ 2024-05-03  9:05 ` MIvanchev
  2024-05-03  9:09 ` MIvanchev
                   ` (37 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 1d8c5e4cfec3a13ad7fd93cf1d9077305a4be141 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..6fab88efcdf258
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,35 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+	cat xpaintrw/Makefile.am
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+#post_configure() {
+#	if [ "$CROSS_BUILD" ]; then
+#		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+#		vsed -i xpaintrw/Makefile -e 's|--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS)|--tag=CC --mode=link $(CCLD)|'
+#	fi
+#	cat xpaintrw/Makefile
+#}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (29 preceding siblings ...)
  2024-05-03  9:05 ` MIvanchev
@ 2024-05-03  9:09 ` MIvanchev
  2024-05-03  9:13 ` MIvanchev
                   ` (36 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From ec78847ba89802a7b50483f084137f0fdf3f7c3e Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..5645a10a24fcfb
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,35 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+#post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+#}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (30 preceding siblings ...)
  2024-05-03  9:09 ` MIvanchev
@ 2024-05-03  9:13 ` MIvanchev
  2024-05-03  9:18 ` MIvanchev
                   ` (35 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From a422892034e885361403e18f5b84d63d4edcdc89 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..8fa14fb74e77bf
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,35 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (31 preceding siblings ...)
  2024-05-03  9:13 ` MIvanchev
@ 2024-05-03  9:18 ` MIvanchev
  2024-05-03  9:23 ` MIvanchev
                   ` (34 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:18 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 6a82562fda9224c79ec3e6964724902ead577825 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..a72f45285d9e90
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,35 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		# vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (32 preceding siblings ...)
  2024-05-03  9:18 ` MIvanchev
@ 2024-05-03  9:23 ` MIvanchev
  2024-05-03  9:27 ` MIvanchev
                   ` (33 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 09c7e204890859fd7f4f7f1d72abe5bc572695fa Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..2e55d8c68ba48e
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,37 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		vsed -d xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (33 preceding siblings ...)
  2024-05-03  9:23 ` MIvanchev
@ 2024-05-03  9:27 ` MIvanchev
  2024-05-03  9:35 ` MIvanchev
                   ` (32 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 0d3eabb2e22bfbd55a491fe9a847a94323868dad Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..d0361388165950
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,37 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (34 preceding siblings ...)
  2024-05-03  9:27 ` MIvanchev
@ 2024-05-03  9:35 ` MIvanchev
  2024-05-03  9:45 ` MIvanchev
                   ` (31 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 4d3c8125a8ef33f1ecf22df29b23235f305aa10f Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..44f18585ed7d93
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,39 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (35 preceding siblings ...)
  2024-05-03  9:35 ` MIvanchev
@ 2024-05-03  9:45 ` MIvanchev
  2024-05-03  9:45 ` MIvanchev
                   ` (30 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 7f401f9115d0b0f94cdb159a85dfc96420b71435 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..44f18585ed7d93
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,39 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (36 preceding siblings ...)
  2024-05-03  9:45 ` MIvanchev
@ 2024-05-03  9:45 ` MIvanchev
  2024-05-03  9:56 ` MIvanchev
                   ` (29 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From a422c893002aa13aaf044b604a2ef9058578d90c Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..e07a3ed16da4ec
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		cat xpaintrw/Makefile.am
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (37 preceding siblings ...)
  2024-05-03  9:45 ` MIvanchev
@ 2024-05-03  9:56 ` MIvanchev
  2024-05-03 10:00 ` MIvanchev
                   ` (28 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03  9:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From b3748c954226a8092ad337a1b97ec7325d16dd74 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..6505c424254f43
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		# cat xpaintrw/Makefile.am
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (38 preceding siblings ...)
  2024-05-03  9:56 ` MIvanchev
@ 2024-05-03 10:00 ` MIvanchev
  2024-05-03 10:05 ` MIvanchev
                   ` (27 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 10:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 71f05a44678f4ab917f5c620fc0892513ed127ea Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..9c916212a3d629
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,42 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+	cat xpaintrw/Makefile
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (39 preceding siblings ...)
  2024-05-03 10:00 ` MIvanchev
@ 2024-05-03 10:05 ` MIvanchev
  2024-05-03 10:27 ` MIvanchev
                   ` (26 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 10:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 1156e3dc128f88dd2cdc368af800f7a6f8c67a2e Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..c921981e35f392
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (40 preceding siblings ...)
  2024-05-03 10:05 ` MIvanchev
@ 2024-05-03 10:27 ` MIvanchev
  2024-05-03 10:31 ` MIvanchev
                   ` (25 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 10:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From c8fe1044bd5c0331b4850b02f8fb69b141edab51 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..8395a43c16ecd0
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		#vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		#vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		#cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (41 preceding siblings ...)
  2024-05-03 10:27 ` MIvanchev
@ 2024-05-03 10:31 ` MIvanchev
  2024-05-03 10:43 ` MIvanchev
                   ` (24 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 10:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 1d2fdd2d02b943174ce7ed5085808f286794b417 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..43942a495f8f45
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config libtool"
+makedepends="libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=LD &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (42 preceding siblings ...)
  2024-05-03 10:31 ` MIvanchev
@ 2024-05-03 10:43 ` MIvanchev
  2024-05-03 10:46 ` MIvanchev
                   ` (23 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 10:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From f18a298dd7d0edbc44d266e5319e0c8688134ad9 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..713fab5d25b713
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (43 preceding siblings ...)
  2024-05-03 10:43 ` MIvanchev
@ 2024-05-03 10:46 ` MIvanchev
  2024-05-03 11:15 ` MIvanchev
                   ` (22 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 10:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From c9aeb5e9709b90639b90023fbb59cbd4e84d089a Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..9458eb117b063c
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ${XBPS_CROSS_BASE}/usr/bin/libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (44 preceding siblings ...)
  2024-05-03 10:46 ` MIvanchev
@ 2024-05-03 11:15 ` MIvanchev
  2024-05-03 11:19 ` MIvanchev
                   ` (21 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 11:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From becf121f0ce73146e550d9658eb07fd8cdf6aabc Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..7c2b280e3e7623
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = libtool|LIBTOOL = ./libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (45 preceding siblings ...)
  2024-05-03 11:15 ` MIvanchev
@ 2024-05-03 11:19 ` MIvanchev
  2024-05-03 11:36 ` MIvanchev
                   ` (20 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 11:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From d942ae533c831f0e307e4f88c30eaafcdd7ac326 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..65258548f19196
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (46 preceding siblings ...)
  2024-05-03 11:19 ` MIvanchev
@ 2024-05-03 11:36 ` MIvanchev
  2024-05-03 11:46 ` MIvanchev
                   ` (19 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 11:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 0fd35fcbf7f6de91d929ca16b8602b60cdf68bc1 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..e71ddd4253bf5d
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,42 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (47 preceding siblings ...)
  2024-05-03 11:36 ` MIvanchev
@ 2024-05-03 11:46 ` MIvanchev
  2024-05-03 11:49 ` MIvanchev
                   ` (18 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 11:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From a15bc797d5db0ac40c52a87362771a2ca2d50521 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..e5888130f471f9
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,44 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i vxp2ps -e "s|^\tgcc|\t${CC}"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	#cat xpaintrw/libtool
+	#if [ "$CROSS_BUILD" ]; then
+	#	vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+	#	# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+	#	#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	#	cat xpaintrw/Makefile
+	#fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (48 preceding siblings ...)
  2024-05-03 11:46 ` MIvanchev
@ 2024-05-03 11:49 ` MIvanchev
  2024-05-03 11:55 ` MIvanchev
                   ` (17 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 11:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 6da082c588df2e0918e045d31124b4cd704c89f6 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..4cf510232f57e2
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,44 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	#cat xpaintrw/libtool
+	#if [ "$CROSS_BUILD" ]; then
+	#	vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+	#	# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+	#	#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	#	cat xpaintrw/Makefile
+	#fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (49 preceding siblings ...)
  2024-05-03 11:49 ` MIvanchev
@ 2024-05-03 11:55 ` MIvanchev
  2024-05-03 12:00 ` MIvanchev
                   ` (16 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 11:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From d78dffca93d77aaf6d53dacc9a437507814d79c5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..6171081943ce79
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,45 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+		cat vxp2ps/Makefile
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	#cat xpaintrw/libtool
+	#if [ "$CROSS_BUILD" ]; then
+	#	vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+	#	# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+	#	#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	#	cat xpaintrw/Makefile
+	#fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (50 preceding siblings ...)
  2024-05-03 11:55 ` MIvanchev
@ 2024-05-03 12:00 ` MIvanchev
  2024-05-03 12:03 ` MIvanchev
                   ` (15 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 3d9a7f414f2cbed163ae16f958aed4a94c2f38ed Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..d951b3fbf81d12
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,45 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+		cat vxp2ps/Makefile
+	fi
+
+	autoreconf -fi
+}
+
+#post_configure() {
+	#cat xpaintrw/libtool
+	#if [ "$CROSS_BUILD" ]; then
+	#	vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+	#	vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+	#	# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+	#	#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+	#	vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	#	cat xpaintrw/Makefile
+	#fi
+#}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (51 preceding siblings ...)
  2024-05-03 12:00 ` MIvanchev
@ 2024-05-03 12:03 ` MIvanchev
  2024-05-03 12:10 ` MIvanchev
                   ` (14 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 3bfcab4cde3dcdb69d86b5f8b7c36c59294019a4 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..731e249b291705
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,45 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+		cat vxp2ps/Makefile
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	cat xpaintrw/libtool
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (52 preceding siblings ...)
  2024-05-03 12:03 ` MIvanchev
@ 2024-05-03 12:10 ` MIvanchev
  2024-05-03 12:23 ` MIvanchev
                   ` (13 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 4fb7332ed4af755f2d9062051916a882ee9afdac Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..e71ddd4253bf5d
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,42 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (53 preceding siblings ...)
  2024-05-03 12:10 ` MIvanchev
@ 2024-05-03 12:23 ` MIvanchev
  2024-05-03 12:27 ` MIvanchev
                   ` (12 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From b3cb655447985e79a7f47e3368e55c6b8acfe35b Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..65258548f19196
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (54 preceding siblings ...)
  2024-05-03 12:23 ` MIvanchev
@ 2024-05-03 12:27 ` MIvanchev
  2024-05-03 12:34 ` MIvanchev
                   ` (11 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 466a4b6af9094d527bb6565db3ebcb0f7e378b45 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..f18ad8ef7eef92
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,42 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (55 preceding siblings ...)
  2024-05-03 12:27 ` MIvanchev
@ 2024-05-03 12:34 ` MIvanchev
  2024-05-03 12:40 ` MIvanchev
                   ` (10 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From f3ab3781762be749517c9beff1db3f951bcaedd5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..14d9c00aa76c4d
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,43 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile "s|^\tgcc|\t${CC}|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (56 preceding siblings ...)
  2024-05-03 12:34 ` MIvanchev
@ 2024-05-03 12:40 ` MIvanchev
  2024-05-03 12:45 ` MIvanchev
                   ` (9 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 290ca145b8ff44829e1081ea01dd59cbb96fec6a Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..9b90bddf28508b
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,43 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+		# cat xpaintrw/Makefile.am
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+		# vsed -i xpaintrw/libtool -e "s|^with_gcc=yes|with_gcc=no|"
+		cat xpaintrw/libtool
+		#vsed -i xpaintrw/Makefile.am -e "s|^libxpaintrw_la_LIBADD =.*|&\nlibxpaintrw_la_LDFLAGS=--tag=CC|"
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+		cat xpaintrw/Makefile
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (57 preceding siblings ...)
  2024-05-03 12:40 ` MIvanchev
@ 2024-05-03 12:45 ` MIvanchev
  2024-05-03 13:14 ` MIvanchev
                   ` (8 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 12:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 2c97af3994bf8bdfeb074b96755c89df01095d90 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..3ffdbac0bd1169
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,39 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (58 preceding siblings ...)
  2024-05-03 12:45 ` MIvanchev
@ 2024-05-03 13:14 ` MIvanchev
  2024-05-03 13:21 ` MIvanchev
                   ` (7 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 13:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From c3326b014e3c87fd2e4c8de8c18c68a509b0c218 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..b56a99d26718b2
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am 's|^\t$(CC) $(CFLAGS) preproc.c -o $@|\tgcc $(CFLAGS) preproc.c -o $@|"
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (59 preceding siblings ...)
  2024-05-03 13:14 ` MIvanchev
@ 2024-05-03 13:21 ` MIvanchev
  2024-05-03 13:23 ` MIvanchev
                   ` (6 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 13:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From c055e04ceb9eb714c98b8f975dfb0a1db0cd3a40 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..9d49ffe7a5cf0a
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am 's|^\t$(CC) $(CFLAGS) preproc.c -o $@|\tgcc $(CFLAGS) preproc.c -o $@|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (60 preceding siblings ...)
  2024-05-03 13:21 ` MIvanchev
@ 2024-05-03 13:23 ` MIvanchev
  2024-05-03 13:36 ` MIvanchev
                   ` (5 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 13:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From e87d3707abcb4dc7f498a59600aa1e50da44258d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..4c6f803da7cc0c
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,40 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e 's|^\t$(CC) $(CFLAGS) preproc.c -o $@|\tgcc $(CFLAGS) preproc.c -o $@|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (61 preceding siblings ...)
  2024-05-03 13:23 ` MIvanchev
@ 2024-05-03 13:36 ` MIvanchev
  2024-05-03 13:45 ` MIvanchev
                   ` (4 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 13:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 81e567feb4cfda3018610999cdf42b4400aa2e56 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..f9f0b877ea2088
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,41 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		# vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e 's|^\t$(CC) $(CFLAGS) substads.c -o $@|\tgcc substads.c -o $@|'
+		vsed -i Makefile.am -e 's|^\t$(CC) $(CFLAGS) preproc.c -o $@|\tgcc preproc.c -o $@|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (62 preceding siblings ...)
  2024-05-03 13:36 ` MIvanchev
@ 2024-05-03 13:45 ` MIvanchev
  2024-05-03 14:13 ` MIvanchev
                   ` (3 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 13:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 2bf6074f2b419e981b26bea4542ac1e1408cdb3e Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..ad77b3b931d7cc
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,41 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		# vsed -i Makefile.am -e "s|\.\.*/substads|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		# vsed -i Makefile.am -e "s|\.\.*/preproc|/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &|"
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) substads.c \(.*\)|\tgcc substads.c \1|'
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) preproc.c \(.*\)|\tgcc preproc.c \1|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+	autoreconf -fi
+}
+
+post_configure() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (63 preceding siblings ...)
  2024-05-03 13:45 ` MIvanchev
@ 2024-05-03 14:13 ` MIvanchev
  2024-05-03 14:59 ` MIvanchev
                   ` (2 subsequent siblings)
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 14:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 7bad4ff7b36d495794071cfe34f4f2e91b884e8c Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..4c484b7b52684d
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,56 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	# For some reason a lot of files use xaw_incdir instead of X11/Xaw3dxft...
+
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	# This package is horrible for cross builds:
+	#
+	# * Some paths are predefined and need to be patched
+	# * /usr/bin/libtool is used although there is a libtool script in xpaintrw
+	#
+	# * Some programs are build with CC although they are only required for
+	#   building. Although they could run with qemu, there are issues for
+	#   armv7.
+	#
+	# * Installed programs are compiled with gcc vs CC.
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) substads.c \(.*\)|\tgcc substads.c \1|'
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) preproc.c \(.*\)|\tgcc preproc.c \1|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	# Here we need to patch the libtool script for cross builds...
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (64 preceding siblings ...)
  2024-05-03 14:13 ` MIvanchev
@ 2024-05-03 14:59 ` MIvanchev
  2024-05-03 15:03 ` MIvanchev
  2024-05-03 15:06 ` MIvanchev
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 14:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From c9a5af7e1b5c40cea994ab15933cc75267e9c3ad Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..4511ac198aea92
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,56 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool xorg-util-macros libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	# For some reason a lot of files use xaw_incdir instead of X11/Xaw3dxft...
+
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	# This package is horrible for cross builds:
+	#
+	# * Some paths are predefined and need to be patched
+	# * /usr/bin/libtool is used although there is a libtool script in xpaintrw
+	#
+	# * Some programs are build with CC although they are only required for
+	#   building. Although they could run with qemu, there are issues for
+	#   armv7.
+	#
+	# * Installed programs are compiled with gcc vs CC.
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) substads.c \(.*\)|\tgcc substads.c \1|'
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) preproc.c \(.*\)|\tgcc preproc.c \1|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	# Here we need to patch the libtool script for cross builds...
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (65 preceding siblings ...)
  2024-05-03 14:59 ` MIvanchev
@ 2024-05-03 15:03 ` MIvanchev
  2024-05-03 15:06 ` MIvanchev
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 15:03 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From c2ad23709748c78a46f9ba427e311d3e64f87bc5 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..0f345355fd0d06
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From 4d4dca5473fe99536b9e135e11c1da43a1ea41ff Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..03984669d2a3ac
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,56 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config xorg-util-macros"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	# For some reason a lot of files use xaw_incdir instead of X11/Xaw3dxft...
+
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	# This package is horrible for cross builds:
+	#
+	# * Some paths are predefined and need to be patched
+	# * /usr/bin/libtool is used although there is a libtool script in xpaintrw
+	#
+	# * Some programs are build with CC although they are only required for
+	#   building. Although they could run with qemu, there are issues for
+	#   armv7.
+	#
+	# * Installed programs are compiled with gcc vs CC.
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) substads.c \(.*\)|\tgcc substads.c \1|'
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) preproc.c \(.*\)|\tgcc preproc.c \1|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	# Here we need to patch the libtool script for cross builds...
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: xpaint-3.1.4
  2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
                   ` (66 preceding siblings ...)
  2024-05-03 15:03 ` MIvanchev
@ 2024-05-03 15:06 ` MIvanchev
  67 siblings, 0 replies; 69+ messages in thread
From: MIvanchev @ 2024-05-03 15:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages xpaint
https://github.com/void-linux/void-packages/pull/50161

[WIP] New package: xpaint-3.1.4
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 73d663b95c4f927fb46f7c436c836cdc003a1525 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 12:59:55 +0200
Subject: [PATCH 1/2] New package: libXaw3dXft-1.6.2

---
 common/shlibs                |  1 +
 srcpkgs/libXaw3dXft-devel    |  1 +
 srcpkgs/libXaw3dXft/template | 30 ++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 120000 srcpkgs/libXaw3dXft-devel
 create mode 100644 srcpkgs/libXaw3dXft/template

diff --git a/common/shlibs b/common/shlibs
index 8872faa597af73..566a8248e75c40 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1632,6 +1632,7 @@ libosmoctrl.so.0 libosmocore-0.7.0_1
 libgtkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libgdkglext-x11-1.0.so.0 gtkglext-1.2.0_4
 libXaw3d.so.8 libXaw3d-1.6.2_1
+libXaw3dxft.so.8 libXaw3dXft-1.6.2h_1
 libshiboken2.so.5.15 libshiboken2-5.15.0_1
 libpyside2.so.5.15 libpyside2-python3-5.15.0_1
 libupsclient.so.6 libnetwork-ups-tools-2.8.0_1
diff --git a/srcpkgs/libXaw3dXft-devel b/srcpkgs/libXaw3dXft-devel
new file mode 120000
index 00000000000000..af766a81fe74d9
--- /dev/null
+++ b/srcpkgs/libXaw3dXft-devel
@@ -0,0 +1 @@
+libXaw3dXft
\ No newline at end of file
diff --git a/srcpkgs/libXaw3dXft/template b/srcpkgs/libXaw3dXft/template
new file mode 100644
index 00000000000000..2580919606b89a
--- /dev/null
+++ b/srcpkgs/libXaw3dXft/template
@@ -0,0 +1,30 @@
+# Template file for 'libXaw3dXft'
+pkgname=libXaw3dXft
+version=1.6.2h
+revision=1
+build_style=gnu-configure
+configure_args="--enable-internationalization --enable-multiplane-bitmaps --enable-gray-stipples --enable-arrow-scrollbars"
+hostmakedepends="pkg-config xorg-util-macros"
+makedepends="libXft-devel libXmu-devel libXpm-devel"
+short_desc="Widget set based on the X Toolkit Intrinsics (Xt) library"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="MIT"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/libxaw3dxft/${pkgname}-${version}.tar.bz2"
+checksum=5d749e3d682d2fb60959ebc3bce3228ca5c949a46aafc349e89a77f6c6ed830b
+
+post_install() {
+	vlicense COPYING
+}
+
+libXaw3dXft-devel_package() {
+	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.so"
+		vmove "usr/lib/*.a"
+		vmove usr/share
+	}
+}

From fb6924bc77d787ddeabd570b2f751c08a4396ae1 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Thu, 2 May 2024 16:44:49 +0200
Subject: [PATCH 2/2] New package: xpaint-3.1.4

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

diff --git a/srcpkgs/xpaint/template b/srcpkgs/xpaint/template
new file mode 100644
index 00000000000000..4c484b7b52684d
--- /dev/null
+++ b/srcpkgs/xpaint/template
@@ -0,0 +1,56 @@
+# Template file for 'xpaint'
+pkgname=xpaint
+version=3.1.4
+revision=1
+build_style=gnu-configure
+build_helper=qemu
+hostmakedepends="autoconf automake pkg-config"
+makedepends="libtool libXaw3dXft-devel freetype-devel libjpeg-turbo-devel tiff-devel libnetpbm-devel"
+depends="desktop-file-utils hicolor-icon-theme"
+short_desc="Simple paint program for X"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-3.0-or-later"
+homepage="https://sourceforge.net/projects/sf-xpaint/"
+distfiles="${SOURCEFORGE_SITE}/project/sf-xpaint/sf-xpaint/${pkgname}-${version}/${pkgname}-${version}.tar.bz2"
+checksum=6edacc9b011e6ce356c3d989156fc62460e3bfd958856c8f133c5f3589d67851
+disable_parallel_build=yes
+
+pre_configure() {
+	# For some reason a lot of files use xaw_incdir instead of X11/Xaw3dxft...
+
+	find -iname "*.c" -exec sed -i 's|#include "xaw_incdir/\(.*\)"|#include <X11/Xaw3dxft/\1>|' {} \;
+
+	# This package is horrible for cross builds:
+	#
+	# * Some paths are predefined and need to be patched
+	# * /usr/bin/libtool is used although there is a libtool script in xpaintrw
+	#
+	# * Some programs are build with CC although they are only required for
+	#   building. Although they could run with qemu, there are issues for
+	#   armv7.
+	#
+	# * Installed programs are compiled with gcc vs CC.
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i configure.ac -e "s|/usr/include/freetype2/freetype/|${XBPS_CROSS_BASE}&|"
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) substads.c \(.*\)|\tgcc substads.c \1|'
+		vsed -i Makefile.am -e 's|^\t\$(CC) \$(CFLAGS) preproc.c \(.*\)|\tgcc preproc.c \1|'
+		vsed -i xpaintrw/Makefile.am -e "s|LIBTOOL = /usr/bin/libtool|LIBTOOL = ./libtool|"
+		vsed -i vxp2ps/Makefile -e "s|^\tgcc|\t${CC}|"
+	fi
+
+	autoreconf -fi
+}
+
+post_configure() {
+	# Here we need to patch the libtool script for cross builds...
+
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i xpaintrw/libtool -e "s|^CC=.*|CC=\"${CC}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LD=.*|LD=\"${LD}\"|"
+		vsed -i xpaintrw/libtool -e "s|^LTCC=.*|LTCC=\"${CC}\"|"
+
+		vsed -i xpaintrw/Makefile -e 's|--mode=compile|--tag=CC &|'
+		vsed -i xpaintrw/Makefile -e 's|--mode=link|--tag=CC &|'
+	fi
+}

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

end of thread, other threads:[~2024-05-03 15:06 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-02 11:00 [PR PATCH] [WIP] New package: xpaint-3.1.4 MIvanchev
2024-05-02 11:08 ` [PR PATCH] [Updated] " MIvanchev
2024-05-02 11:19 ` MIvanchev
2024-05-02 11:22 ` MIvanchev
2024-05-02 14:44 ` MIvanchev
2024-05-02 15:25 ` MIvanchev
2024-05-02 15:29 ` MIvanchev
2024-05-02 15:35 ` MIvanchev
2024-05-02 15:49 ` MIvanchev
2024-05-02 16:19 ` MIvanchev
2024-05-02 16:26 ` MIvanchev
2024-05-02 17:32 ` MIvanchev
2024-05-02 19:30 ` MIvanchev
2024-05-02 19:34 ` MIvanchev
2024-05-02 19:40 ` MIvanchev
2024-05-02 19:43 ` MIvanchev
2024-05-02 20:31 ` MIvanchev
2024-05-03  7:19 ` MIvanchev
2024-05-03  7:46 ` MIvanchev
2024-05-03  7:50 ` MIvanchev
2024-05-03  7:56 ` MIvanchev
2024-05-03  8:09 ` MIvanchev
2024-05-03  8:14 ` MIvanchev
2024-05-03  8:25 ` MIvanchev
2024-05-03  8:38 ` MIvanchev
2024-05-03  8:40 ` MIvanchev
2024-05-03  8:43 ` MIvanchev
2024-05-03  8:46 ` MIvanchev
2024-05-03  8:54 ` MIvanchev
2024-05-03  8:59 ` MIvanchev
2024-05-03  9:05 ` MIvanchev
2024-05-03  9:09 ` MIvanchev
2024-05-03  9:13 ` MIvanchev
2024-05-03  9:18 ` MIvanchev
2024-05-03  9:23 ` MIvanchev
2024-05-03  9:27 ` MIvanchev
2024-05-03  9:35 ` MIvanchev
2024-05-03  9:45 ` MIvanchev
2024-05-03  9:45 ` MIvanchev
2024-05-03  9:56 ` MIvanchev
2024-05-03 10:00 ` MIvanchev
2024-05-03 10:05 ` MIvanchev
2024-05-03 10:27 ` MIvanchev
2024-05-03 10:31 ` MIvanchev
2024-05-03 10:43 ` MIvanchev
2024-05-03 10:46 ` MIvanchev
2024-05-03 11:15 ` MIvanchev
2024-05-03 11:19 ` MIvanchev
2024-05-03 11:36 ` MIvanchev
2024-05-03 11:46 ` MIvanchev
2024-05-03 11:49 ` MIvanchev
2024-05-03 11:55 ` MIvanchev
2024-05-03 12:00 ` MIvanchev
2024-05-03 12:03 ` MIvanchev
2024-05-03 12:10 ` MIvanchev
2024-05-03 12:23 ` MIvanchev
2024-05-03 12:27 ` MIvanchev
2024-05-03 12:34 ` MIvanchev
2024-05-03 12:40 ` MIvanchev
2024-05-03 12:45 ` MIvanchev
2024-05-03 13:14 ` MIvanchev
2024-05-03 13:21 ` MIvanchev
2024-05-03 13:23 ` MIvanchev
2024-05-03 13:36 ` MIvanchev
2024-05-03 13:45 ` MIvanchev
2024-05-03 14:13 ` MIvanchev
2024-05-03 14:59 ` MIvanchev
2024-05-03 15:03 ` MIvanchev
2024-05-03 15:06 ` MIvanchev

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