pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ledger: remove, used for updating wip/ledger



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Jun 28 18:30:04 2026 +0200
Changeset:	4fc716cc5aac4b7b578e36384a3d4121bcfae7d6

Modified Files:
	Makefile
Removed Files:
	ledger/DESCR
	ledger/Makefile
	ledger/PLIST
	ledger/TODO
	ledger/distinfo
	ledger/options.mk
	ledger/patches/patch-src_CMakeLists.txt
	ledger/patches/patch-src_main.cc

Log Message:
ledger: remove, used for updating wip/ledger

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4fc716cc5aac4b7b578e36384a3d4121bcfae7d6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                |   1 -
 ledger/DESCR                            |  12 ----
 ledger/Makefile                         |  59 ----------------
 ledger/PLIST                            | 116 --------------------------------
 ledger/TODO                             |   2 -
 ledger/distinfo                         |   7 --
 ledger/options.mk                       |  23 -------
 ledger/patches/patch-src_CMakeLists.txt |  16 -----
 ledger/patches/patch-src_main.cc        |  18 -----
 9 files changed, 254 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 0ad4541679..bdc5221099 100644
--- a/Makefile
+++ b/Makefile
@@ -2001,7 +2001,6 @@ SUBDIR+=	lde
 SUBDIR+=	lean4
 SUBDIR+=	lebiniou
 SUBDIR+=	lebiniou-data
-SUBDIR+=	ledger
 SUBDIR+=	leo
 SUBDIR+=	leocad
 SUBDIR+=	lesspipe
diff --git a/ledger/DESCR b/ledger/DESCR
deleted file mode 100644
index f6277096ea..0000000000
--- a/ledger/DESCR
+++ /dev/null
@@ -1,12 +0,0 @@
-Ledger is a powerful, double-entry accounting system that is accessed
-from the UNIX command-line. This may put off some users, since there is
-no flashy UI, but for those who want unparalleled reporting access to
-their data there are few alternatives.
-
-Ledger uses text files for input. It reads the files and generates
-reports; there is no other database or stored state. To use Ledger, you
-create a file of your account names and transactions, run from the
-command line with some options to specify input and requested reports,
-and get output. The output is generally plain text, though you could
-generate a graph or html instead. Ledger is simple in concept,
-surprisingly rich in ability, and easy to use.
diff --git a/ledger/Makefile b/ledger/Makefile
deleted file mode 100644
index 45a5098d02..0000000000
--- a/ledger/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# $NetBSD: Makefile,v 1.42 2025/09/27 09:57:16 wiz Exp $
-
-DISTNAME=	ledger-3.4.1
-CATEGORIES=	finance
-MASTER_SITES=	${MASTER_SITE_GITHUB:=ledger/}
-GITHUB_TAG=	v${PKGVERSION_NOREV}
-
-MAINTAINER=	base%atomicules.co.uk@localhost
-HOMEPAGE=	https://ledger-cli.org/
-COMMENT=	Double-entry accounting system for command-line
-LICENSE=	modified-bsd
-
-CONFLICTS+=	ledger32>=0
-
-USE_CXX_FEATURES+=	c++11
-
-USE_LANGUAGES=	c c++
-USE_TOOLS+=	perl:run
-
-TEST_TARGET=	check
-TEST_ENV+=	LD_LIBRARY_PATH=${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}
-TEST_ENV+=	DYLD_LIBRARY_PATH=${WRKSRC:Q}/${CMAKE_BUILD_DIR:Q}
-
-# https://github.com/ledger/ledger/issues/2332
-PYTHON_VERSIONS_ACCEPTED=	312 # PyUnicode_GET_SIZE
-
-CMAKE_CONFIGURE_ARGS+=	-DPython_EXECUTABLE:STRING=${TOOL_PYTHONBIN:Q}
-CMAKE_CONFIGURE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.16.2
-
-.include "options.mk"
-
-REPLACE_PYTHON+=	acprep
-REPLACE_PYTHON+=	contrib/getquote-uk.py
-REPLACE_PYTHON+=	contrib/ledger-du
-REPLACE_PYTHON+=	contrib/non-profit-audit-reports/csv2ods.py
-REPLACE_PYTHON+=	contrib/non-profit-audit-reports/readcsv.py
-REPLACE_PYTHON+=	python/demo.py
-REPLACE_PYTHON+=	test/DocTests.py
-REPLACE_PYTHON+=	test/LedgerHarness.py
-REPLACE_PYTHON+=	test/RegressTests.py
-REPLACE_PYTHON+=	test/convert.py
-REPLACE_PYTHON+=	tools/genuuid
-
-REPLACE_PERL+=		contrib/getquote.pl
-REPLACE_PERL+=		contrib/non-profit-audit-reports/*.plx
-REPLACE_PERL+=		contrib/raw/GenerateLatexExpeneseReport.pl
-
-REPLACE_SH+=		contrib/repl.sh
-
-.include "../../devel/boost-headers/buildlink3.mk"
-.include "../../devel/boost-libs/buildlink3.mk"
-.include "../../devel/cmake/build.mk"
-.include "../../devel/editline/buildlink3.mk"
-.include "../../devel/gmp/buildlink3.mk"
-.include "../../lang/python/application.mk"
-.include "../../lang/python/tool.mk"
-.include "../../math/mpfr/buildlink3.mk"
-.include "../../textproc/utf8-cpp/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/ledger/PLIST b/ledger/PLIST
deleted file mode 100644
index 303f2dbbb9..0000000000
--- a/ledger/PLIST
+++ /dev/null
@@ -1,116 +0,0 @@
-@comment $NetBSD$
-bin/ledger
-include/ledger/account.h
-include/ledger/amount.h
-include/ledger/annotate.h
-include/ledger/balance.h
-include/ledger/chain.h
-include/ledger/commodity.h
-include/ledger/compare.h
-include/ledger/context.h
-include/ledger/convert.h
-include/ledger/csv.h
-include/ledger/draft.h
-include/ledger/emacs.h
-include/ledger/error.h
-include/ledger/expr.h
-include/ledger/exprbase.h
-include/ledger/filters.h
-include/ledger/flags.h
-include/ledger/format.h
-include/ledger/generate.h
-include/ledger/global.h
-include/ledger/gpgme.h
-include/ledger/history.h
-include/ledger/item.h
-include/ledger/iterators.h
-include/ledger/journal.h
-include/ledger/ledger.hh
-include/ledger/lookup.h
-include/ledger/mask.h
-include/ledger/op.h
-include/ledger/option.h
-include/ledger/output.h
-include/ledger/parser.h
-include/ledger/pool.h
-include/ledger/post.h
-include/ledger/precmd.h
-include/ledger/predicate.h
-include/ledger/print.h
-include/ledger/pstream.h
-include/ledger/ptree.h
-include/ledger/pyinterp.h
-include/ledger/pyutils.h
-include/ledger/query.h
-include/ledger/quotes.h
-include/ledger/report.h
-include/ledger/scope.h
-include/ledger/select.h
-include/ledger/session.h
-include/ledger/stats.h
-include/ledger/stream.h
-include/ledger/system.hh
-include/ledger/temps.h
-include/ledger/timelog.h
-include/ledger/times.h
-include/ledger/token.h
-include/ledger/unistring.h
-include/ledger/utils.h
-include/ledger/value.h
-include/ledger/xact.h
-lib/libledger.so
-lib/libledger.so.3
-${PLIST.python}${PYSITELIB}/ledger.so
-man/man1/ledger.1
-share/contrib/README
-share/contrib/bal
-share/contrib/bal-huquq
-share/contrib/compilation-ledger.el
-share/contrib/entry
-share/contrib/getquote-uk.py
-share/contrib/getquote.pl
-share/contrib/html/README
-share/contrib/html/ledger.xsl
-share/contrib/iso4127-commodities/iso4217ledger.sh
-share/contrib/iso4127-commodities/iso4217ledger.xsl
-share/contrib/ledger-completion.bash
-share/contrib/ledger-du
-share/contrib/non-profit-audit-reports/GPLv3
-share/contrib/non-profit-audit-reports/LICENSE
-share/contrib/non-profit-audit-reports/README
-share/contrib/non-profit-audit-reports/bank-reconcilation.plx
-share/contrib/non-profit-audit-reports/cash-receipts-and-disbursments-journals.plx
-share/contrib/non-profit-audit-reports/csv2ods.py
-share/contrib/non-profit-audit-reports/demo.sh
-share/contrib/non-profit-audit-reports/fund-report.plx
-share/contrib/non-profit-audit-reports/general-ledger-report.plx
-share/contrib/non-profit-audit-reports/ooolib2/__init__.py
-share/contrib/non-profit-audit-reports/readcsv.py
-share/contrib/non-profit-audit-reports/summary-reports.plx
-share/contrib/non-profit-audit-reports/tests/Financial/BankStuff/bank-statement.pdf
-share/contrib/non-profit-audit-reports/tests/Financial/Invoices/Invoice20110510.pdf
-share/contrib/non-profit-audit-reports/tests/Financial/Invoices/Invoice20110510.txt
-share/contrib/non-profit-audit-reports/tests/Projects/Blah/Expenses/hosting/AprilHostingReceipt.pdf
-share/contrib/non-profit-audit-reports/tests/Projects/Blah/Expenses/hosting/april-invoice.pdf
-share/contrib/non-profit-audit-reports/tests/Projects/Foo/Expenses/hosting/AprilHostingReceipt.pdf
-share/contrib/non-profit-audit-reports/tests/Projects/Foo/Expenses/hosting/AprilHostingReceipt.txt
-share/contrib/non-profit-audit-reports/tests/Projects/Foo/Invoices/Invoice20100101.pdf
-share/contrib/non-profit-audit-reports/tests/Projects/Foo/earmark-record.txt
-share/contrib/non-profit-audit-reports/tests/non-profit-test-data.ledger
-share/contrib/non-profit-audit-reports/tests/non-profit-test-data_MANIFEST
-share/contrib/non-profit-audit-reports/tests/non-profit-test-data_chart-of-accounts.csv
-share/contrib/non-profit-audit-reports/tests/non-profit-test-data_general-ledger.ods
-share/contrib/non-profit-audit-reports/unpaid-accruals-report.plx
-share/contrib/raw/GenerateLatexExpeneseReport.pl
-share/contrib/raw/MetadataExample.dat
-share/contrib/raw/README
-share/contrib/raw/VerifyImages.sh
-share/contrib/raw/dotemacs.el
-share/contrib/raw/ledger-matching.el
-share/contrib/raw/ledger-shell-environment-functions
-share/contrib/repl.sh
-share/contrib/report
-share/contrib/tc
-share/contrib/ti
-share/contrib/to
-share/contrib/trend
diff --git a/ledger/TODO b/ledger/TODO
deleted file mode 100644
index 304bda9de7..0000000000
--- a/ledger/TODO
+++ /dev/null
@@ -1,2 +0,0 @@
-1. This built and ran fine on NetBSD 10.1 amd64 with Boost 1.87 from Pkgsrc. Do
-   we need to state a minimum Boost version?
diff --git a/ledger/distinfo b/ledger/distinfo
deleted file mode 100644
index d6ac0eafa9..0000000000
--- a/ledger/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.15 2025/10/17 08:50:14 wiz Exp $
-
-BLAKE2s (ledger-3.4.1.tar.gz) = d3ba730742acb2a7fae6b48b562a47763513ed357ab452c2c2eb83c73b3c6d0e
-SHA512 (ledger-3.4.1.tar.gz) = e6e3565e422d720d6d35cae17f334e9f66a969be96a8e6e99afcae31d25f34bfce6d55c516267d1d1d459f00b492cc606d7cd8493f9c5e8520cb460d45ac9fab
-Size (ledger-3.4.1.tar.gz) = 817104 bytes
-SHA1 (patch-src_CMakeLists.txt) = 4c04bec2c9ca15c329982355cc206f7a2eaa2c12
-SHA1 (patch-src_main.cc) = f6d1d06d0ea015e654b4c7002393dbcd035240ff
diff --git a/ledger/options.mk b/ledger/options.mk
deleted file mode 100644
index 6830156ac0..0000000000
--- a/ledger/options.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: options.mk,v 1.6 2025/05/06 12:07:31 wiz Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.ledger
-PKG_SUPPORTED_OPTIONS+=	python
-PKG_SUGGESTED_OPTIONS+=	python
-
-PLIST_VARS+=		python
-
-.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mpython)
-CMAKE_CONFIGURE_ARGS+=		-DUSE_PYTHON:BOOL=TRUE
-PLIST.python=		yes
-PLIST_SUBST+=		PYSITELIB=${PYSITELIB:Q}
-.include "../../devel/py-boost/buildlink3.mk"
-
-# Remove when src/CMakeLists.txt (see FIXME there) stops copying
-# uninstalled library as Python module. Make symlink here to
-# avoid problem with install_name on Darwin and save disk-space.
-post-install:
-	cd ${DESTDIR}${PREFIX}/${PYSITELIB} && \
-	${LN} -s -f ${DESTDIR}${PREFIX}/lib/libledger.${SHLIB_EXT} ledger.so
-.endif
diff --git a/ledger/patches/patch-src_CMakeLists.txt b/ledger/patches/patch-src_CMakeLists.txt
deleted file mode 100644
index cebaebdb8b..0000000000
--- a/ledger/patches/patch-src_CMakeLists.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_CMakeLists.txt,v 1.1 2020/06/15 16:54:38 adam Exp $
-
-Fix problem with install_name.
-
---- src/CMakeLists.txt.orig	2025-12-07 21:56:45.707667635 +0000
-+++ src/CMakeLists.txt
-@@ -194,8 +194,8 @@ if(BUILD_LIBRARY)
-   add_library(libledger SHARED ${LEDGER_SOURCES})
-   add_ledger_library_dependencies(libledger)
-   set_target_properties(libledger PROPERTIES
--    PREFIX ""
-     INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
-+    OUTPUT_NAME "ledger"
-     VERSION ${Ledger_VERSION_MAJOR}
-     SOVERSION ${Ledger_VERSION_MAJOR})
-   set_source_files_properties(
diff --git a/ledger/patches/patch-src_main.cc b/ledger/patches/patch-src_main.cc
deleted file mode 100644
index aaa9d9a31b..0000000000
--- a/ledger/patches/patch-src_main.cc
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-src_main.cc,v 1.2 2023/04/27 13:16:35 yhardy Exp $
-
-Canonicalize pkgsrc readline.h filename.  This is seen both by
-consumers of devel/readline and by consumers of devel/editline, via
-buildlink3 magic.  The only reason editline/readline.h may exist is to
-allow both devel/readline and devel/editline to coexist.
-
---- src/main.cc.orig	2025-12-07 21:59:44.630131187 +0000
-+++ src/main.cc
-@@ -40,7 +40,7 @@
- #endif
- 
- #if HAVE_EDIT
--#include <editline/readline.h>
-+#include <readline/readline.h>
- #elif HAVE_READLINE
- #include <readline/readline.h>
- #include <readline/history.h>


Home | Main Index | Thread Index | Old Index