Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: dwarfs-0.7.5
@ 2024-01-19 22:43 NafzorOB
  2024-01-19 23:14 ` [PR PATCH] [Updated] " NafzorOB
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: NafzorOB @ 2024-01-19 22:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/NafzorOB/void-packages-utf8cpp dwarfs
https://github.com/void-linux/void-packages/pull/48294

New package: dwarfs-0.7.5

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

Made this because the [dwarfs pull request](https://github.com/void-linux/void-packages/pull/26819) has been marked as a work in progress for more than 2 years.
This package requires [utfcpp](https://github.com/void-linux/void-packages/pull/48293) to be accepted on the repositories. 

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

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

From 2ca01971077711ac4558feb8dd5a49fc9ff33096 Mon Sep 17 00:00:00 2001
From: nafZZZob <130201394+NafzorOB@users.noreply.github.com>
Date: Fri, 19 Jan 2024 17:35:51 -0500
Subject: [PATCH 1/2] Create template

add dwarfs template
---
 srcpkgs/dwarfs/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/dwarfs/template

diff --git a/srcpkgs/dwarfs/template b/srcpkgs/dwarfs/template
new file mode 100644
index 0000000000000..8a837c99b1bf0
--- /dev/null
+++ b/srcpkgs/dwarfs/template
@@ -0,0 +1,15 @@
+# Template file for 'dwarfs'
+pkgname=dwarfs
+version=0.7.5
+revision=1
+build_style=cmake
+configure_args="-DWITH_TESTS=ON"
+hostmakedepends="ruby-ronn git pkg-config utfcpp"
+makedepends="boost-devel fuse3-devel double-conversion-devel libevent-devel jemalloc-devel libarchive-devel glog-devel"
+depends="fuse3"
+short_desc="Fast high compression read-only file system"
+maintainer="NafzorOB <nafzorob@proton.me>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/mhx/dwarfs"
+distfiles="https://github.com/mhx/dwarfs/releases/download/v${version}/dwarfs-${version}.tar.xz"
+checksum=31fabc3a3a8233e247f77149a7c702b79c4105dc814459fef85d4c4747a2b4f0

From 766a251b9e073b44e3a143674af12e1845b54ec2 Mon Sep 17 00:00:00 2001
From: nafZZZob <130201394+NafzorOB@users.noreply.github.com>
Date: Fri, 19 Jan 2024 17:37:10 -0500
Subject: [PATCH 2/2] Create sbin-to-bin.patch

add sbin-to-bin patch, this changes the installation directory from the dwarfs binary from /usr/sbin to /usr/bin
---
 srcpkgs/dwarfs/patches/sbin-to-bin.patch | 26 ++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/dwarfs/patches/sbin-to-bin.patch

diff --git a/srcpkgs/dwarfs/patches/sbin-to-bin.patch b/srcpkgs/dwarfs/patches/sbin-to-bin.patch
new file mode 100644
index 0000000000000..5186785a70c32
--- /dev/null
+++ b/srcpkgs/dwarfs/patches/sbin-to-bin.patch
@@ -0,0 +1,26 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4dd4ac0..efda8cb 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -574,8 +574,8 @@ if(FUSE3_FOUND OR WINFSP)
+                        COMMAND ${CMAKE_COMMAND} -E create_symlink dwarfs mount.dwarfs
+                        DEPENDS dwarfs-bin)
+     list(APPEND SYMLINKS mount.dwarfs)
+-    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mount.dwarfs DESTINATION sbin)
+-    install(TARGETS dwarfs-bin RUNTIME DESTINATION sbin)
++    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mount.dwarfs DESTINATION bin)
++    install(TARGETS dwarfs-bin RUNTIME DESTINATION bin)
+   endif()
+   list(APPEND BINARY_TARGETS dwarfs-bin)
+   list(APPEND MAIN_TARGETS dwarfs_main)
+@@ -596,8 +596,8 @@ if(FUSE_FOUND AND (WITH_LEGACY_FUSE OR NOT FUSE3_FOUND))
+                      COMMAND ${CMAKE_COMMAND} -E create_symlink dwarfs2 mount.dwarfs2
+                      DEPENDS dwarfs2-bin)
+   list(APPEND SYMLINKS mount.dwarfs2)
+-  install(TARGETS dwarfs2-bin RUNTIME DESTINATION sbin)
+-  install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mount.dwarfs2 DESTINATION sbin)
++  install(TARGETS dwarfs2-bin RUNTIME DESTINATION bin)
++  install(FILES ${CMAKE_CURRENT_BINARY_DIR}/mount.dwarfs2 DESTINATION bin)
+   list(APPEND BINARY_TARGETS dwarfs2-bin)
+   list(APPEND MAIN_TARGETS dwarfs2_main)
+ endif()

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

end of thread, other threads:[~2024-05-05  1:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 22:43 [PR PATCH] New package: dwarfs-0.7.5 NafzorOB
2024-01-19 23:14 ` [PR PATCH] [Updated] " NafzorOB
2024-01-20  2:28 ` NafzorOB
2024-01-20  2:37 ` NafzorOB
2024-01-20  2:44 ` classabbyamp
2024-01-22  0:26 ` [PR PATCH] [Updated] " NafzorOB
2024-01-22  0:26 ` NafzorOB
2024-01-22  0:51 ` [PR PATCH] [Updated] " NafzorOB
2024-04-21  1:46 ` github-actions
2024-05-05  1:46 ` [PR PATCH] [Closed]: " github-actions

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