ebook2cw: 0.8.2 -> 0.8.3

This commit is contained in:
Raghav Sood 2020-11-18 16:51:47 +00:00
parent f2e4de720d
commit 0263591e4f
No known key found for this signature in database
GPG Key ID: 947862F324C79D21
3 changed files with 20 additions and 18 deletions

@ -0,0 +1,12 @@
diff --git a/Makefile b/Makefile
index 005d60d..f69c7fe 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ install:
install -d -v $(DESTDIR)/bin/
install -d -v $(DESTDIR)/share/doc/ebook2cw/
install -d -v $(DESTDIR)/share/doc/ebook2cw/examples/
+ install -d -v $(DESTDIR)/share/locale/de/LC_MESSAGES/
install -s -m 0755 ebook2cw $(DESTDIR)/bin/
install -m 0644 ebook2cw.1 $(DESTDIR)/share/man/man1/
install -m 0644 README $(DESTDIR)/share/doc/ebook2cw/

@ -1,11 +0,0 @@
--- a/ebook2cw.c 2017-11-08 19:52:58.298131348 -0700
+++ b/ebook2cw.c 2017-11-08 19:53:02.588231067 -0700
@@ -136,7 +136,7 @@
char isomap[256][4]; /* by these strings */
char utf8map[256][8];
- char configfile[1025];
+ char configfile[2048];
char id3_author[80],
id3_title[80],

@ -1,17 +1,18 @@
{ stdenv, fetchsvn, lame, libvorbis }:
{ stdenv, fetchgit, lame, libvorbis, gettext }:
stdenv.mkDerivation rec {
pname = "ebook2cw";
version = "0.8.2";
version = "0.8.3";
src = fetchsvn {
url = "svn://svn.fkurz.net/ebook2cw/tags/${pname}-${version}";
sha256 = "1mvp3nz3k76v757792n9b7fcm5jm3jcwarl1k7cila9fi0c2rsiw";
src = fetchgit {
url = "https://git.fkurz.net/dj1yfk/ebook2cw.git";
rev = "${pname}-${version}";
sha256 = "0jqmnjblv3wzr0ppqzndzd8wg02nlkvzg1fqw14vyyp76sdjsh46";
};
buildInputs = [ lame libvorbis ];
buildInputs = [ lame libvorbis gettext ];
patches = [ ./configfile.patch ];
patches = [ ./Makefile.patch ];
makeFlags = [ "DESTDIR=$(out)" ];