From 53d2fcc8090312931c989bdfed70e8da4f8693dc Mon Sep 17 00:00:00 2001 From: Sanjay Pavan Date: Thu, 3 Mar 2022 19:11:30 +0530 Subject: [PATCH 1/2] nsxiv: update to 29 --- srcpkgs/nsxiv/patches/nsxiv-makefile.patch | 11 +++++++++++ srcpkgs/nsxiv/template | 8 ++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/nsxiv/patches/nsxiv-makefile.patch diff --git a/srcpkgs/nsxiv/patches/nsxiv-makefile.patch b/srcpkgs/nsxiv/patches/nsxiv-makefile.patch new file mode 100644 index 000000000000..d4dedd4233de --- /dev/null +++ b/srcpkgs/nsxiv/patches/nsxiv-makefile.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -106,7 +106,7 @@ + rm -f "$$dir/nsxiv.png"; \ + done + +-install: all ++install: + @echo "INSTALL bin/nsxiv" + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp nsxiv $(DESTDIR)$(PREFIX)/bin/ diff --git a/srcpkgs/nsxiv/template b/srcpkgs/nsxiv/template index 6ef4a1e207d2..a52cc2bb03f2 100644 --- a/srcpkgs/nsxiv/template +++ b/srcpkgs/nsxiv/template @@ -1,17 +1,17 @@ # Template file for 'nsxiv' pkgname=nsxiv -version=28 +version=29 revision=1 build_style=gnu-makefile make_install_target=install-all makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel libXft-devel - libwebp-devel" + libwebp-devel freetype-devel fontconfig-devel" short_desc="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer" -maintainer="Sanjay Pavan " +maintainer="Sanjay Pavan " license="GPL-2.0-or-later" homepage="https://github.com/nsxiv/nsxiv" distfiles="https://github.com/nsxiv/nsxiv/archive/v${version}.tar.gz" -checksum=38047f60e51854363dd98fb7b3bc9f1cfa9b7d6f9e8788508b6f1e317328dd75 +checksum="564a17d921172336f7cd463bf313e39f84e4bcf4fdc789326f4112f848aad039" CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2" pre_build() { From ea76a7fbf5f8f9ab8e21254ac2138d436f5ffd5d Mon Sep 17 00:00:00 2001 From: Sanjay Pavan Date: Fri, 18 Mar 2022 07:16:01 +0530 Subject: [PATCH 2/2] Proper patch name and description --- .../patches/{nsxiv-makefile.patch => no-rebuild-options.patch} | 1 + 1 file changed, 1 insertion(+) rename srcpkgs/nsxiv/patches/{nsxiv-makefile.patch => no-rebuild-options.patch} (81%) diff --git a/srcpkgs/nsxiv/patches/nsxiv-makefile.patch b/srcpkgs/nsxiv/patches/no-rebuild-options.patch similarity index 81% rename from srcpkgs/nsxiv/patches/nsxiv-makefile.patch rename to srcpkgs/nsxiv/patches/no-rebuild-options.patch index d4dedd4233de..455884f0b1a1 100644 --- a/srcpkgs/nsxiv/patches/nsxiv-makefile.patch +++ b/srcpkgs/nsxiv/patches/no-rebuild-options.patch @@ -1,3 +1,4 @@ +Preventing rebuild of options.o when installing --- a/Makefile +++ b/Makefile @@ -106,7 +106,7 @@