public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ledger-mode/, app-emacs/ledger-mode/files/
@ 2019-08-04 14:18 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2019-08-04 14:18 UTC (permalink / raw
  To: gentoo-commits

commit:     df3d4c4420226ba1d512dbc567e5034909256949
Author:     Thomas Schneider <qsx <AT> qsx <DOT> re>
AuthorDate: Mon Jul 29 14:58:09 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 14:17:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df3d4c44

app-emacs/ledger-mode: New ebuild

Closes: https://bugs.gentoo.org/690996
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Thomas Schneider <qsx <AT> qsx.re>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/ledger-mode/Manifest                      |  1 +
 app-emacs/ledger-mode/files/50ledger-mode-gentoo.el | 10 ++++++++++
 app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild      | 20 ++++++++++++++++++++
 app-emacs/ledger-mode/metadata.xml                  | 12 ++++++++++++
 4 files changed, 43 insertions(+)

diff --git a/app-emacs/ledger-mode/Manifest b/app-emacs/ledger-mode/Manifest
new file mode 100644
index 00000000000..c4eb171ee84
--- /dev/null
+++ b/app-emacs/ledger-mode/Manifest
@@ -0,0 +1 @@
+DIST ledger-mode-3.1.1.tar.gz 55876 BLAKE2B 49dce2a58c278d3bca6ceba353766296609595609ce0976c8efdc6f17836ace4a0cc8676ab2de9522cafc036e97b2eaafe6fede1dd4d795201a676a2a519c761 SHA512 0d79e15f5a91eb361662761a3cc0a2d556584f3310e270b8a4db5648fea06022f74970faa5716e3726da902922eceabf4c8c5d281d02be66e8d785a4d7044d71

diff --git a/app-emacs/ledger-mode/files/50ledger-mode-gentoo.el b/app-emacs/ledger-mode/files/50ledger-mode-gentoo.el
new file mode 100644
index 00000000000..2ecad3eb3b0
--- /dev/null
+++ b/app-emacs/ledger-mode/files/50ledger-mode-gentoo.el
@@ -0,0 +1,10 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ledger-mode "ledger-mode" "A mode for editing ledger data files." t)
+(autoload 'ledger-flymake-enable "ledger-flymake" "\
+Enable `flymake-mode' in `ledger-mode' buffers.
+
+Don't enable flymake if flycheck is on and flycheck-ledger is
+available." nil)
+
+(add-to-list 'auto-mode-alist '("\\.ledger\\'" . ledger-mode))

diff --git a/app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild b/app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild
new file mode 100644
index 00000000000..540d8d94bb5
--- /dev/null
+++ b/app-emacs/ledger-mode/ledger-mode-3.1.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing ledger files"
+HOMEPAGE="https://github.com/ledger/ledger-mode"
+SRC_URI="https://github.com/ledger/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
+ELISP_TEXINFO="doc/ledger-mode.texi"
+BYTECOMPFLAGS+=" -l ledger-regex.el"
+
+BDEPEND="sys-apps/texinfo"

diff --git a/app-emacs/ledger-mode/metadata.xml b/app-emacs/ledger-mode/metadata.xml
new file mode 100644
index 00000000000..c8b0b55854a
--- /dev/null
+++ b/app-emacs/ledger-mode/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+  <email>gnu-emacs@gentoo.org</email>
+  <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<stabilize-allarches/>
+<upstream>
+  <remote-id type="github">ledger/ledger-mode</remote-id>
+</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/ledger-mode/, app-emacs/ledger-mode/files/
@ 2022-04-06 16:51 Ulrich Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Müller @ 2022-04-06 16:51 UTC (permalink / raw
  To: gentoo-commits

commit:     9cd6b3297a110a164e4169718f8096ae7128d0a6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 16:50:54 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 16:50:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd6b329

app-emacs/ledger-mode: Fix byte-compilation with Emacs 28

Closes: https://bugs.gentoo.org/836924
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch | 11 +++++++++++
 app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild               |  1 +
 2 files changed, 12 insertions(+)

diff --git a/app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch b/app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch
new file mode 100644
index 000000000000..744aaaa7d438
--- /dev/null
+++ b/app-emacs/ledger-mode/files/ledger-mode-4.0.0-emacs-28.patch
@@ -0,0 +1,11 @@
+--- ledger-mode-4.0.0/ledger-report.el
++++ ledger-mode-4.0.0/ledger-report.el
+@@ -584,7 +584,7 @@
+   (set-window-configuration ledger-original-window-cfg)
+   (kill-buffer (get-buffer ledger-report-buffer-name)))
+ 
+-(define-obsolete-function-alias 'ledger-report-kill #'ledger-report-quit)
++(define-obsolete-function-alias 'ledger-report-kill #'ledger-report-quit "")
+ 
+ (defun ledger-report-edit-reports ()
+   "Edit the defined ledger reports."

diff --git a/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild b/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild
index 662ffdb9191e..46fe804f4816 100644
--- a/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild
+++ b/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild
@@ -13,6 +13,7 @@ LICENSE="GPL-2+ BSD"
 SLOT="0"
 KEYWORDS="amd64 x86"
 
+PATCHES=( "${FILESDIR}"/${P}-emacs-28.patch )
 SITEFILE="50${PN}-gentoo.el"
 ELISP_TEXINFO="doc/ledger-mode.texi"
 BYTECOMPFLAGS+=" -l ledger-regex.el"


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

end of thread, other threads:[~2022-04-06 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-04 14:18 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ledger-mode/, app-emacs/ledger-mode/files/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2022-04-06 16:51 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox