Github messages for voidlinux
 help / color / mirror / Atom feed
From: tibequadorian <tibequadorian@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] lrzip: update to 0.650.
Date: Wed, 16 Mar 2022 21:23:39 +0100	[thread overview]
Message-ID: <20220316202339.XZa11qV3BziovM6DElSyPi01_NeFHkzTk4wwI3o51IY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35904@inbox.vuxu.org>

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

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

https://github.com/tibequadorian/void-packages lrzip
https://github.com/void-linux/void-packages/pull/35904

lrzip: update to 0.650.
* enable ASM for x86
* liblrzip is deprecated

`post_install()` can be removed in the next update: https://github.com/ckolivas/lrzip/pull/219

<!-- 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/35904.patch is attached

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

From 35dc15e6585749673d3fb98ab022b77307aebd02 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Tue, 1 Mar 2022 13:38:42 +0100
Subject: [PATCH] lrzip: update to 0.650.

* enable ASM for x86
* liblrzip is deprecated
---
 srcpkgs/liblrzip                  |  1 -
 srcpkgs/lrzip-devel               |  1 -
 srcpkgs/lrzip/template            | 27 ++++++++++-----------------
 srcpkgs/removed-packages/template |  4 +++-
 4 files changed, 13 insertions(+), 20 deletions(-)
 delete mode 120000 srcpkgs/liblrzip
 delete mode 120000 srcpkgs/lrzip-devel

diff --git a/srcpkgs/liblrzip b/srcpkgs/liblrzip
deleted file mode 120000
index ce2559e2110e..000000000000
--- a/srcpkgs/liblrzip
+++ /dev/null
@@ -1 +0,0 @@
-lrzip
\ No newline at end of file
diff --git a/srcpkgs/lrzip-devel b/srcpkgs/lrzip-devel
deleted file mode 120000
index ce2559e2110e..000000000000
--- a/srcpkgs/lrzip-devel
+++ /dev/null
@@ -1 +0,0 @@
-lrzip
\ No newline at end of file
diff --git a/srcpkgs/lrzip/template b/srcpkgs/lrzip/template
index 2ec52997c8e8..1b492e9e6c6c 100644
--- a/srcpkgs/lrzip/template
+++ b/srcpkgs/lrzip/template
@@ -1,6 +1,6 @@
 # Template file for 'lrzip'
 pkgname=lrzip
-version=0.641
+version=0.650
 revision=1
 build_style="gnu-configure"
 hostmakedepends="perl automake libtool"
@@ -10,25 +10,18 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://lrzip.kolivas.org/"
 distfiles="https://github.com/ckolivas/lrzip/archive/v${version}.tar.gz"
-checksum=9b6b4bb1ae76dafbaab96ec9d50d41af5fed45a6c4f2e06feea828c2cd8025c0
+checksum=e07b2b3511689e4aaf7404d289feba5d9d6e1170c448f85e393a11249502dd66
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*|x86_64*) hostmakedepends+=" nasm";;
+esac
 
 pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
 
-lrzip-devel_package() {
-	short_desc+=" - development files"
-	depends="liblrzip-${version}_${revision}"
-	pkg_install() {
-		vmove usr/include
-		vmove usr/lib/pkgconfig
-		vmove "usr/lib/*.a"
-		vmove "usr/lib/*.so"
-	}
-}
-liblrzip_package() {
-	short_desc+=" - runtime library"
-	pkg_install() {
-		vmove "usr/lib/*.so.*"
-	}
+# The library is deprecated as of lrzip 0.650.
+post_install() {
+	rm -f ${DESTDIR}/usr/include/Lrzip.h
+	rm -f ${DESTDIR}/usr/lib/pkgconfig/lrzip.pc
 }
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 6a744198712d..c23125bb0cb4 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1
-revision=65
+revision=66
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -211,6 +211,7 @@ replaces="
  libgksu<=2.0.12_5
  libglib-static<=2.58.3_5
  libgtkhtml<=4.10.0_1
+ liblrzip<=0.641_1
  libmagick6-devel<=6.9.12.12_2
  libmagick6-perl<=6.9.12.12_2
  libmagick6<=6.9.12.12_2
@@ -228,6 +229,7 @@ replaces="
  livewallpaper<=0.5.0_2
  llvm3.9<=3.9.1_5
  lprng<=3.8.C_1
+ lrzip-devel<=0.641_1
  ls++-git<=20140919_3
  luxmark<=3.1_9
  luxrays-devel<=3.1_18

  parent reply	other threads:[~2022-03-16 20:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 12:57 [PR PATCH] " tibequadorian
2022-03-01 13:01 ` [PR PATCH] [Updated] " tibequadorian
2022-03-16 20:23 ` tibequadorian [this message]
2022-03-17 15:49 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220316202339.XZa11qV3BziovM6DElSyPi01_NeFHkzTk4wwI3o51IY@z \
    --to=tibequadorian@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).