Github messages for voidlinux
 help / color / mirror / Atom feed
From: motorto <motorto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ledger: update to 3.3.2;adopt.
Date: Mon, 13 Nov 2023 16:39:08 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47199@inbox.vuxu.org> (raw)

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

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

https://github.com/motorto/void-packages ledger-completion
https://github.com/void-linux/void-packages/pull/47199

ledger: update to 3.3.2;adopt.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

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

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

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

From 0fc77516474ae100119e6b0eb6e7895ebc4c9e18 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Mon, 13 Nov 2023 15:26:24 +0000
Subject: [PATCH] ledger: update to 3.3.2;adopt.

---
 srcpkgs/ledger/patches/boost-1.80.patch | 30 -------------------------
 srcpkgs/ledger/patches/cmake_wtf.patch  | 29 ------------------------
 srcpkgs/ledger/patches/fix-cflags.patch | 12 ----------
 srcpkgs/ledger/template                 | 10 +++++----
 4 files changed, 6 insertions(+), 75 deletions(-)
 delete mode 100644 srcpkgs/ledger/patches/boost-1.80.patch
 delete mode 100644 srcpkgs/ledger/patches/cmake_wtf.patch
 delete mode 100644 srcpkgs/ledger/patches/fix-cflags.patch

diff --git a/srcpkgs/ledger/patches/boost-1.80.patch b/srcpkgs/ledger/patches/boost-1.80.patch
deleted file mode 100644
index b59161388490d..0000000000000
--- a/srcpkgs/ledger/patches/boost-1.80.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/src/system.hh.in
-+++ b/src/system.hh.in
-@@ -134,7 +134,7 @@
- 
- #include <boost/algorithm/string.hpp>
- #include <boost/any.hpp>
--#include <boost/bind.hpp>
-+#include <boost/bind/bind.hpp>
- #include <boost/cast.hpp>
- #include <boost/current_function.hpp>
- 
-@@ -184,6 +184,8 @@
- #include <boost/regex.hpp>
- #endif // HAVE_BOOST_REGEX_UNICODE
- 
-+#include <boost/scoped_ptr.hpp>
-+
- #include <boost/tokenizer.hpp>
- 
- #include <boost/tuple/tuple.hpp>
---- a/src/utils.h
-+++ b/src/utils.h
-@@ -81,6 +81,7 @@
- 
- namespace ledger {
-   using namespace boost;
-+  using namespace boost::placeholders;
- 
-   typedef std::string string;
-   typedef std::list<string> strings_list;
diff --git a/srcpkgs/ledger/patches/cmake_wtf.patch b/srcpkgs/ledger/patches/cmake_wtf.patch
deleted file mode 100644
index 46a6f401d0ef9..0000000000000
--- a/srcpkgs/ledger/patches/cmake_wtf.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/cmake/FindUtfcpp.cmake.old	2016-01-13 19:14:05.737426666 +0100
-+++ b/cmake/FindUtfcpp.cmake	2016-01-13 19:13:28.952877141 +0100
-@@ -1,23 +1,8 @@
--# - Try to find utfcpp
--# Once done, this will define
--#
--#  UTFCPP_FOUND        - system has utfcpp's utf8.h
--#  UTFCPP_PATH         - the utfcpp include directories
--
- include(CheckCXXSourceCompiles)
- 
--set(UTFCPP_FOUND FALSE)
--
--find_path(UTFCPP_INCLUDE_DIR
--    NAMES utf8.h
--    HINTS "${UTFCPP_PATH}"
--    PATHS "${PROJECT_SOURCE_DIR}/lib/utfcpp/v2_0/source"
--)
--
--if (UTFCPP_INCLUDE_DIR)
--  set(CMAKE_REQUIRED_INCLUDES "${UTFCPP_INCLUDE_DIR}")
--  set(UTFCPP_FOUND TRUE)
--endif()
-+set(UTFCPP_FOUND TRUE)
-+set(UTFCPP_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lib/utfcpp/v2_0/source")
-+set(CMAKE_REQUIRED_INCLUDES "${UTFCPP_INCLUDE_DIR}")
- 
- check_cxx_source_compiles("
- #include <string>
diff --git a/srcpkgs/ledger/patches/fix-cflags.patch b/srcpkgs/ledger/patches/fix-cflags.patch
deleted file mode 100644
index f6d3a07bb6c2b..0000000000000
--- a/srcpkgs/ledger/patches/fix-cflags.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: CMakeLists.txt
-===================================================================
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -41,7 +41,6 @@ if (BUILD_DEBUG)
-   set(CMAKE_BUILD_TYPE Debug)
-   set(DEBUG_MODE 1)
- else()
--  set(CMAKE_BUILD_TYPE Release)
-   set(DEBUG_MODE 0)
- endif()
- 
diff --git a/srcpkgs/ledger/template b/srcpkgs/ledger/template
index 9f132f609103c..be75202e73fbc 100644
--- a/srcpkgs/ledger/template
+++ b/srcpkgs/ledger/template
@@ -1,15 +1,15 @@
 # Template file for 'ledger'
 pkgname=ledger
-version=3.2.1
-revision=5
+version=3.3.2
+revision=1
 build_style=cmake
 makedepends="boost-devel gmp-devel mpfr-devel gettext-devel libedit-devel"
 short_desc="Double-entry accounting system with a command-line reporting interface"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="André Cerqueira <acerqueira021@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://www.ledger-cli.org/"
 distfiles="https://github.com/ledger/${pkgname}/archive/v${version}.tar.gz"
-checksum=92bf09bc385b171987f456fe3ee9fa998ed5e40b97b3acdd562b663aa364384a
+checksum=555296ee1e870ff04e2356676977dcf55ebab5ad79126667bc56464cb1142035
 
 post_install() {
 	rm -Rf ${DESTDIR}/usr/local
@@ -17,6 +17,8 @@ post_install() {
 		mv ${DESTDIR}/usr/lib64 ${DESTDIR}/usr/lib
 	fi
 
+	vcompletion contrib/ledger-completion.bash bash
+
 	vlicense LICENSE.md
 }
 

             reply	other threads:[~2023-11-13 15:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-13 15:39 motorto [this message]
2023-11-13 17:00 ` [PR PATCH] [Updated] " motorto
2023-11-14  9:31 ` motorto
2023-11-14  9:44 ` motorto
2023-11-14 10:09 ` motorto
2023-11-14 10:14 ` motorto
2023-12-03 20:03 ` [PR PATCH] [Merged]: " Duncaen

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47199@inbox.vuxu.org \
    --to=motorto@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).