Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libgsm: update to 1.0.19.
@ 2022-02-15 20:02 tibequadorian
  2022-02-15 20:07 ` [PR PATCH] [Updated] " tibequadorian
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: tibequadorian @ 2022-02-15 20:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages libgsm
https://github.com/void-linux/void-packages/pull/35647

libgsm: update to 1.0.19.
Old distfiles are apparently not deleted, so I changed them to upstream.
I also cleaned up the template a little bit and do the install using the Makefile target instead of doing this manually.
Currently libgsm-devel contains unnecessary header files, because all header files are just copied over.
Also includes manual pages now, which were not installed before.

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

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

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

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


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

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

From c726e01f369fbe82b31863e3901e0894e604e76d Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 15 Feb 2022 20:50:54 +0100
Subject: [PATCH] libgsm: update to 1.0.19.

---
 srcpkgs/libgsm/template | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/libgsm/template b/srcpkgs/libgsm/template
index b6ed1f427d67..56611cdbc81a 100644
--- a/srcpkgs/libgsm/template
+++ b/srcpkgs/libgsm/template
@@ -1,15 +1,14 @@
 # Template file for 'libgsm'
 pkgname=libgsm
-version=1.0.18
+version=1.0.19
 revision=1
-wrksrc="gsm-1.0-pl18"
+wrksrc="gsm-${version%.*}-pl${version##*.}"
 homepage="http://www.quut.com/gsm/"
-# old distfiles from $homepage are deleted when a new version is released
-distfiles="https://deb.debian.org/debian/pool/main/libg/libgsm/libgsm_$version.orig.tar.gz"
+distfiles="http://www.quut.com/gsm/gsm-${version}.tar.gz"
 short_desc="GSM 06.10 lossy speech compression"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="custom"
-checksum=04f68087c3348bf156b78d59f4d8aff545da7f6e14f33be8f47d33f4efae2a10
+checksum=4903652f68a8c04d0041f0d19b1eb713ddcd2aa011c5e595b3b8bca2755270f6
 
 do_build() {
 	make CC=$CC LD=$CC AR=$AR CCFLAGS="$CFLAGS -c -DNeedFunctionPrototypes=1"
@@ -22,15 +21,13 @@ do_install() {
 	vmkdir usr/share/man/man3
 	vmkdir usr/share/man/man1
 
-	install -m755 bin/* ${DESTDIR}/usr/bin
-	install -m644 lib/*.a ${DESTDIR}/usr/lib
-	install -m644 inc/* ${DESTDIR}/usr/include/gsm
+	make INSTALL_ROOT="${DESTDIR}"/usr \
+	 GSM_INSTALL_INC="${DESTDIR}"/usr/include/gsm \
+	 GSM_INSTALL_MAN="${DESTDIR}"/usr/share/man/man3 \
+	 TOAST_INSTALL_MAN="${DESTDIR}"/usr/share/man/man1 install
 
-	vinstall lib/libgsm.so.1.0.13 755 usr/lib
-	vcopy lib/libgsm.so usr/lib
-	vcopy lib/libgsm.so.1 usr/lib
+	vcopy lib/libgsm.so* usr/lib
 
-	rm -f ${DESTDIR}/usr/include/gsm/*.orig
 	ln -sfr ${DESTDIR}/usr/include/gsm/gsm.h ${DESTDIR}/usr/include/gsm.h
 
 	vlicense COPYRIGHT

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

* Re: [PR PATCH] [Updated] libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
@ 2022-02-15 20:07 ` tibequadorian
  2022-02-25 21:40 ` [PR REVIEW] " Piraty
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tibequadorian @ 2022-02-15 20:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages libgsm
https://github.com/void-linux/void-packages/pull/35647

libgsm: update to 1.0.19.
Old distfiles are apparently not deleted, so I changed them to upstream.
I also cleaned up the template a little bit and do the install using the Makefile target instead of doing this manually.
Currently libgsm-devel contains unnecessary header files, because all header files are just copied over.
Also includes manual pages now, which were not installed before.

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

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

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

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


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

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

From 7a4ec44ea6b9a68c8a415c6d95fd349233d13f87 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 15 Feb 2022 20:50:54 +0100
Subject: [PATCH] libgsm: update to 1.0.19.

---
 srcpkgs/libgsm/template | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/libgsm/template b/srcpkgs/libgsm/template
index b6ed1f427d67..208686a591d8 100644
--- a/srcpkgs/libgsm/template
+++ b/srcpkgs/libgsm/template
@@ -1,15 +1,14 @@
 # Template file for 'libgsm'
 pkgname=libgsm
-version=1.0.18
+version=1.0.19
 revision=1
-wrksrc="gsm-1.0-pl18"
-homepage="http://www.quut.com/gsm/"
-# old distfiles from $homepage are deleted when a new version is released
-distfiles="https://deb.debian.org/debian/pool/main/libg/libgsm/libgsm_$version.orig.tar.gz"
+wrksrc="gsm-${version%.*}-pl${version##*.}"
 short_desc="GSM 06.10 lossy speech compression"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="custom"
-checksum=04f68087c3348bf156b78d59f4d8aff545da7f6e14f33be8f47d33f4efae2a10
+license="custom:copyright"
+homepage="http://www.quut.com/gsm/"
+distfiles="http://www.quut.com/gsm/gsm-${version}.tar.gz"
+checksum=4903652f68a8c04d0041f0d19b1eb713ddcd2aa011c5e595b3b8bca2755270f6
 
 do_build() {
 	make CC=$CC LD=$CC AR=$AR CCFLAGS="$CFLAGS -c -DNeedFunctionPrototypes=1"
@@ -22,15 +21,13 @@ do_install() {
 	vmkdir usr/share/man/man3
 	vmkdir usr/share/man/man1
 
-	install -m755 bin/* ${DESTDIR}/usr/bin
-	install -m644 lib/*.a ${DESTDIR}/usr/lib
-	install -m644 inc/* ${DESTDIR}/usr/include/gsm
+	make INSTALL_ROOT="${DESTDIR}"/usr \
+	 GSM_INSTALL_INC="${DESTDIR}"/usr/include/gsm \
+	 GSM_INSTALL_MAN="${DESTDIR}"/usr/share/man/man3 \
+	 TOAST_INSTALL_MAN="${DESTDIR}"/usr/share/man/man1 install
 
-	vinstall lib/libgsm.so.1.0.13 755 usr/lib
-	vcopy lib/libgsm.so usr/lib
-	vcopy lib/libgsm.so.1 usr/lib
+	vcopy lib/libgsm.so* usr/lib
 
-	rm -f ${DESTDIR}/usr/include/gsm/*.orig
 	ln -sfr ${DESTDIR}/usr/include/gsm/gsm.h ${DESTDIR}/usr/include/gsm.h
 
 	vlicense COPYRIGHT

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

* Re: [PR REVIEW] libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
  2022-02-15 20:07 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-25 21:40 ` Piraty
  2022-02-25 21:40 ` Piraty
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Piraty @ 2022-02-25 21:40 UTC (permalink / raw)
  To: ml

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

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/35647#discussion_r815172001

Comment:
quote

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

* Re: [PR REVIEW] libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (3 preceding siblings ...)
  2022-02-25 21:40 ` Piraty
@ 2022-02-25 21:40 ` Piraty
  2022-02-26  0:49 ` [PR PATCH] [Updated] " tibequadorian
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Piraty @ 2022-02-25 21:40 UTC (permalink / raw)
  To: ml

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

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/35647#discussion_r815171161

Comment:
[TU-Berlin-2.0](https://spdx.org/licenses/TU-Berlin-2.0.html)

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

* Re: [PR REVIEW] libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (2 preceding siblings ...)
  2022-02-25 21:40 ` Piraty
@ 2022-02-25 21:40 ` Piraty
  2022-02-25 21:40 ` Piraty
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Piraty @ 2022-02-25 21:40 UTC (permalink / raw)
  To: ml

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

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/35647#discussion_r815172049

Comment:
tabs

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

* Re: [PR REVIEW] libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
  2022-02-15 20:07 ` [PR PATCH] [Updated] " tibequadorian
  2022-02-25 21:40 ` [PR REVIEW] " Piraty
@ 2022-02-25 21:40 ` Piraty
  2022-02-25 21:40 ` Piraty
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Piraty @ 2022-02-25 21:40 UTC (permalink / raw)
  To: ml

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

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/35647#discussion_r815172120

Comment:
indent `install`

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

* Re: [PR PATCH] [Updated] libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (4 preceding siblings ...)
  2022-02-25 21:40 ` Piraty
@ 2022-02-26  0:49 ` tibequadorian
  2022-02-28  0:00 ` tibequadorian
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tibequadorian @ 2022-02-26  0:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages libgsm
https://github.com/void-linux/void-packages/pull/35647

libgsm: update to 1.0.19.
Old distfiles are apparently not deleted, so I changed them to upstream.
I also cleaned up the template a little bit and do the install using the Makefile target instead of doing this manually.
Currently libgsm-devel contains unnecessary header files, because all header files are just copied over.
Also includes manual pages now, which were not installed before.
I'm not sure what to put in license= ?

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

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

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

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


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

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

From d245f46c5861df7166f0955189103875c11c1df4 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 15 Feb 2022 20:50:54 +0100
Subject: [PATCH] libgsm: update to 1.0.19.

---
 srcpkgs/libgsm/template | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/libgsm/template b/srcpkgs/libgsm/template
index b6ed1f427d67..648913e27b31 100644
--- a/srcpkgs/libgsm/template
+++ b/srcpkgs/libgsm/template
@@ -1,15 +1,14 @@
 # Template file for 'libgsm'
 pkgname=libgsm
-version=1.0.18
+version=1.0.19
 revision=1
-wrksrc="gsm-1.0-pl18"
-homepage="http://www.quut.com/gsm/"
-# old distfiles from $homepage are deleted when a new version is released
-distfiles="https://deb.debian.org/debian/pool/main/libg/libgsm/libgsm_$version.orig.tar.gz"
+wrksrc="gsm-${version%.*}-pl${version##*.}"
 short_desc="GSM 06.10 lossy speech compression"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="custom"
-checksum=04f68087c3348bf156b78d59f4d8aff545da7f6e14f33be8f47d33f4efae2a10
+license="TU-Berlin-2.0"
+homepage="http://www.quut.com/gsm/"
+distfiles="http://www.quut.com/gsm/gsm-${version}.tar.gz"
+checksum=4903652f68a8c04d0041f0d19b1eb713ddcd2aa011c5e595b3b8bca2755270f6
 
 do_build() {
 	make CC=$CC LD=$CC AR=$AR CCFLAGS="$CFLAGS -c -DNeedFunctionPrototypes=1"
@@ -22,15 +21,14 @@ do_install() {
 	vmkdir usr/share/man/man3
 	vmkdir usr/share/man/man1
 
-	install -m755 bin/* ${DESTDIR}/usr/bin
-	install -m644 lib/*.a ${DESTDIR}/usr/lib
-	install -m644 inc/* ${DESTDIR}/usr/include/gsm
+	make INSTALL_ROOT="${DESTDIR}"/usr \
+		GSM_INSTALL_INC="${DESTDIR}"/usr/include/gsm \
+		GSM_INSTALL_MAN="${DESTDIR}"/usr/share/man/man3 \
+		TOAST_INSTALL_MAN="${DESTDIR}"/usr/share/man/man1 \
+		install
 
-	vinstall lib/libgsm.so.1.0.13 755 usr/lib
-	vcopy lib/libgsm.so usr/lib
-	vcopy lib/libgsm.so.1 usr/lib
+	vcopy "lib/libgsm.so*" usr/lib
 
-	rm -f ${DESTDIR}/usr/include/gsm/*.orig
 	ln -sfr ${DESTDIR}/usr/include/gsm/gsm.h ${DESTDIR}/usr/include/gsm.h
 
 	vlicense COPYRIGHT

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

* Re: libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (5 preceding siblings ...)
  2022-02-26  0:49 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-28  0:00 ` tibequadorian
  2022-02-28  2:54 ` tibequadorian
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tibequadorian @ 2022-02-28  0:00 UTC (permalink / raw)
  To: ml

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

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35647#issuecomment-1053730325

Comment:
Sorry @Piraty, was absent for a while.
I tested `toast` and `untoast` using ffmpeg.
```
ffmpeg -i sample.wav -f mulaw sample.u
toast sample.u
untoast sample.u.gsm
ffplay -f mulaw sample.u
```

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

* Re: libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (6 preceding siblings ...)
  2022-02-28  0:00 ` tibequadorian
@ 2022-02-28  2:54 ` tibequadorian
  2022-02-28 13:40 ` [PR PATCH] [Updated] " tibequadorian
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: tibequadorian @ 2022-02-28  2:54 UTC (permalink / raw)
  To: ml

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

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35647#issuecomment-1053823964

Comment:
Should section 3 man pages go into the -devel package?

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

* Re: [PR PATCH] [Updated] libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (7 preceding siblings ...)
  2022-02-28  2:54 ` tibequadorian
@ 2022-02-28 13:40 ` tibequadorian
  2022-02-28 13:41 ` tibequadorian
  2022-03-01 10:32 ` [PR PATCH] [Merged]: " Piraty
  10 siblings, 0 replies; 12+ messages in thread
From: tibequadorian @ 2022-02-28 13:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages libgsm
https://github.com/void-linux/void-packages/pull/35647

libgsm: update to 1.0.19.
Old distfiles are apparently not deleted, so I changed them to upstream.
I also cleaned up the template a little bit and do the install using the Makefile target instead of doing this manually.
Until now, libgsm-devel contained unnecessary header files, because all header files were just copied over.
Also includes manual pages now, which were not installed before.

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

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

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

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


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

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

From c300ec147aa46e641959332a7728c917de0f85ef Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 15 Feb 2022 20:50:54 +0100
Subject: [PATCH] libgsm: update to 1.0.19.

---
 srcpkgs/libgsm/template | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/libgsm/template b/srcpkgs/libgsm/template
index b6ed1f427d67..84a33219c459 100644
--- a/srcpkgs/libgsm/template
+++ b/srcpkgs/libgsm/template
@@ -1,15 +1,14 @@
 # Template file for 'libgsm'
 pkgname=libgsm
-version=1.0.18
+version=1.0.19
 revision=1
-wrksrc="gsm-1.0-pl18"
-homepage="http://www.quut.com/gsm/"
-# old distfiles from $homepage are deleted when a new version is released
-distfiles="https://deb.debian.org/debian/pool/main/libg/libgsm/libgsm_$version.orig.tar.gz"
+wrksrc="gsm-${version%.*}-pl${version##*.}"
 short_desc="GSM 06.10 lossy speech compression"
 maintainer="Orphaned <orphan@voidlinux.org>"
-license="custom"
-checksum=04f68087c3348bf156b78d59f4d8aff545da7f6e14f33be8f47d33f4efae2a10
+license="TU-Berlin-2.0"
+homepage="http://www.quut.com/gsm/"
+distfiles="http://www.quut.com/gsm/gsm-${version}.tar.gz"
+checksum=4903652f68a8c04d0041f0d19b1eb713ddcd2aa011c5e595b3b8bca2755270f6
 
 do_build() {
 	make CC=$CC LD=$CC AR=$AR CCFLAGS="$CFLAGS -c -DNeedFunctionPrototypes=1"
@@ -22,15 +21,14 @@ do_install() {
 	vmkdir usr/share/man/man3
 	vmkdir usr/share/man/man1
 
-	install -m755 bin/* ${DESTDIR}/usr/bin
-	install -m644 lib/*.a ${DESTDIR}/usr/lib
-	install -m644 inc/* ${DESTDIR}/usr/include/gsm
+	make INSTALL_ROOT="${DESTDIR}"/usr \
+		GSM_INSTALL_INC="${DESTDIR}"/usr/include/gsm \
+		GSM_INSTALL_MAN="${DESTDIR}"/usr/share/man/man3 \
+		TOAST_INSTALL_MAN="${DESTDIR}"/usr/share/man/man1 \
+		install
 
-	vinstall lib/libgsm.so.1.0.13 755 usr/lib
-	vcopy lib/libgsm.so usr/lib
-	vcopy lib/libgsm.so.1 usr/lib
+	vcopy "lib/libgsm.so*" usr/lib
 
-	rm -f ${DESTDIR}/usr/include/gsm/*.orig
 	ln -sfr ${DESTDIR}/usr/include/gsm/gsm.h ${DESTDIR}/usr/include/gsm.h
 
 	vlicense COPYRIGHT
@@ -43,5 +41,6 @@ libgsm-devel_package() {
 		vmove usr/include
 		vmove usr/lib/*.a
 		vmove usr/lib/*.so
+		vmove usr/share/man/man3
 	}
 }

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

* Re: libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (8 preceding siblings ...)
  2022-02-28 13:40 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-02-28 13:41 ` tibequadorian
  2022-03-01 10:32 ` [PR PATCH] [Merged]: " Piraty
  10 siblings, 0 replies; 12+ messages in thread
From: tibequadorian @ 2022-02-28 13:41 UTC (permalink / raw)
  To: ml

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

New comment by tibequadorian on void-packages repository

https://github.com/void-linux/void-packages/pull/35647#issuecomment-1053823964

Comment:
~Should section 3 man pages go into the -devel package?~
Moved them now, because it's done in other packages.

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

* Re: [PR PATCH] [Merged]: libgsm: update to 1.0.19.
  2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
                   ` (9 preceding siblings ...)
  2022-02-28 13:41 ` tibequadorian
@ 2022-03-01 10:32 ` Piraty
  10 siblings, 0 replies; 12+ messages in thread
From: Piraty @ 2022-03-01 10:32 UTC (permalink / raw)
  To: ml

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

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

libgsm: update to 1.0.19.
https://github.com/void-linux/void-packages/pull/35647

Description:
Old distfiles are apparently not deleted, so I changed them to upstream.
I also cleaned up the template a little bit and do the install using the Makefile target instead of doing this manually.
Until now, libgsm-devel contained unnecessary header files, because all header files were just copied over.
Also includes manual pages now, which were not installed before.

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

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

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

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


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

end of thread, other threads:[~2022-03-01 10:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 20:02 [PR PATCH] libgsm: update to 1.0.19 tibequadorian
2022-02-15 20:07 ` [PR PATCH] [Updated] " tibequadorian
2022-02-25 21:40 ` [PR REVIEW] " Piraty
2022-02-25 21:40 ` Piraty
2022-02-25 21:40 ` Piraty
2022-02-25 21:40 ` Piraty
2022-02-26  0:49 ` [PR PATCH] [Updated] " tibequadorian
2022-02-28  0:00 ` tibequadorian
2022-02-28  2:54 ` tibequadorian
2022-02-28 13:40 ` [PR PATCH] [Updated] " tibequadorian
2022-02-28 13:41 ` tibequadorian
2022-03-01 10:32 ` [PR PATCH] [Merged]: " Piraty

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