Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ytnef: update to 2.1.2.
@ 2023-11-28 19:38 mhmdanas
  2023-12-01 23:10 ` [PR PATCH] [Merged]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: mhmdanas @ 2023-11-28 19:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages ytnef-2.1.2
https://github.com/void-linux/void-packages/pull/47467

ytnef: update to 2.1.2.
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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/47467.patch is attached

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

From 6cd35f6ba95c60af53d1f4882986fb800f8e7b8e Mon Sep 17 00:00:00 2001
From: Mohammed Anas <triallax@tutanota.com>
Date: Tue, 28 Nov 2023 19:00:40 +0000
Subject: [PATCH] ytnef: update to 2.1.2.

---
 srcpkgs/ytnef/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/ytnef/template b/srcpkgs/ytnef/template
index 2ffa0b80bfe37..ed568038f8e90 100644
--- a/srcpkgs/ytnef/template
+++ b/srcpkgs/ytnef/template
@@ -1,6 +1,6 @@
 # Template file for 'ytnef'
 pkgname=ytnef
-version=2.0
+version=2.1.2
 revision=1
 build_style=gnu-configure
 hostmakedepends="automake libtool"
@@ -8,8 +8,8 @@ short_desc="Yerase's TNEF Stream Reader"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/Yeraze/ytnef"
-distfiles="https://github.com/Yeraze/ytnef/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
-checksum=bb12f34572de89e4825fce98d2d235d93cd34b2c41fed0074ebfa89af9e724a9
+distfiles="https://github.com/Yeraze/ytnef/archive/v${version}.tar.gz"
+checksum=340f03f495884611209e9c0bc943fad06ce920e8c79655aa228d5ca7418dc360
 
 pre_configure() {
 	./autogen.sh
@@ -20,17 +20,18 @@ do_build() {
 		configure_args+=" --host=${XBPS_TARGET_MACHINE}"
 		export ac_cv_func_malloc_0_nonnull=yes
 	fi
-	cd ${wrksrc}/lib
-	make ${makejobs} DESTDIR="${DESTDIR}" install
-	mv "${DESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}" "${DESTDIR}/usr/lib"
+	(
+		cd lib
+		make ${makejobs} DESTDIR="${DESTDIR}" install
+		mv "${DESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}" "${DESTDIR}/usr/lib"
+	)
 	export CFLAGS+=" -I${DESTDIR}/usr/include"
 	export LDFLAGS+=" -L${DESTDIR}/usr/lib"
-	cd ${wrksrc}
 	make ${makejobs}
 }
 
 do_install() {
-	cd ${wrksrc}/ytnef
+	cd ytnef
 	make DESTDIR="${DESTDIR}" install
 	# Cross compiling for some reason installs to /usr/local/bin
 	if [ -d "${DESTDIR}/usr/local/bin" ]; then

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

* Re: [PR PATCH] [Merged]: ytnef: update to 2.1.2.
  2023-11-28 19:38 [PR PATCH] ytnef: update to 2.1.2 mhmdanas
@ 2023-12-01 23:10 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-12-01 23:10 UTC (permalink / raw)
  To: ml

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

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

ytnef: update to 2.1.2.
https://github.com/void-linux/void-packages/pull/47467

Description:
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
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] 2+ messages in thread

end of thread, other threads:[~2023-12-01 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-28 19:38 [PR PATCH] ytnef: update to 2.1.2 mhmdanas
2023-12-01 23:10 ` [PR PATCH] [Merged]: " Duncaen

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