Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libmicrohttpd: remove unused dependencies, fix
@ 2023-05-31 13:45 Karlson2k
  2023-05-31 20:31 ` [PR PATCH] [Closed]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: Karlson2k @ 2023-05-31 13:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Karlson2k/void-packages libmicrohttpd_fix_03
https://github.com/void-linux/void-packages/pull/44191

libmicrohttpd: remove unused dependencies, fix
A few simplification for libmicrohttpd:
* Removed unneeded `--enable-largefile`. This is detected automatically by `configure`.
* Removed unneeded `gettext` dependency. It was needed for one broken tarball in the past (the timestamp was wrong resulting in documentation useless rebuild). Current tarballs have no problem with timestamps.
* Removed unneeded `libgcrypt` dependency. It was needed for ten years old GnuTLS versions for proper initialisaion.
* Fixed `changelog` URL. Some releases are made not with `master` branch, which content is returned by default. Releases are always tagged so the link should be always valid and actual.

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

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

From 240e48b545224436b5898b4e269c9b4bc3137abc Mon Sep 17 00:00:00 2001
From: "Evgeny Grin (Karlson2k)" <k2k@narod.ru>
Date: Wed, 31 May 2023 16:09:44 +0300
Subject: [PATCH] libmicrohttpd: remove unused dependencies, fix

---
 srcpkgs/libmicrohttpd/template | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/libmicrohttpd/template b/srcpkgs/libmicrohttpd/template
index 3764646cec11..6d2c8b414779 100644
--- a/srcpkgs/libmicrohttpd/template
+++ b/srcpkgs/libmicrohttpd/template
@@ -1,20 +1,18 @@
 # Template file for 'libmicrohttpd'
 pkgname=libmicrohttpd
 version=0.9.77
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="
- --enable-largefile
  --enable-https
  --enable-messages"
-hostmakedepends="texinfo"
-makedepends="libgcrypt-devel gnutls-devel"
+makedepends="gnutls-devel"
 checkdepends="libcurl-devel"
 short_desc="Library embedding HTTP server functionality"
 maintainer="Duncaen <duncaen@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.gnu.org/software/libmicrohttpd/"
-changelog="https://git.gnunet.org/libmicrohttpd.git/plain/ChangeLog"
+changelog="https://git.gnunet.org/libmicrohttpd.git/tree/ChangeLog?h=v${version}"
 distfiles="${GNU_SITE}/libmicrohttpd/libmicrohttpd-${version}.tar.gz"
 checksum=9e7023a151120060d2806a6ea4c13ca9933ece4eacfc5c9464d20edddb76b0a0
 

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

* Re: [PR PATCH] [Closed]: libmicrohttpd: remove unused dependencies, fix
  2023-05-31 13:45 [PR PATCH] libmicrohttpd: remove unused dependencies, fix Karlson2k
@ 2023-05-31 20:31 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-05-31 20:31 UTC (permalink / raw)
  To: ml

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

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

libmicrohttpd: remove unused dependencies, fix
https://github.com/void-linux/void-packages/pull/44191

Description:
A few simplification for libmicrohttpd:
* Removed unneeded `--enable-largefile`. This is detected automatically by `configure`.
* Removed unneeded `gettext` dependency. It was needed for one broken tarball in the past (the timestamp was wrong resulting in documentation useless rebuild). Current tarballs have no problem with timestamps.
* Removed unneeded `libgcrypt` dependency. It was needed for ten years old GnuTLS versions for proper initialisaion.
* Fixed `changelog` URL. Some releases are made not with `master` branch, which content is returned by default. Releases are always tagged so the link should be always valid and actual.

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

end of thread, other threads:[~2023-05-31 20:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31 13:45 [PR PATCH] libmicrohttpd: remove unused dependencies, fix Karlson2k
2023-05-31 20:31 ` [PR PATCH] [Closed]: " 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).