Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
calcurse-4.3.0
  • Loading branch information
fd00 committed Nov 17, 2017
1 parent 9c1907e commit f872774
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 57 deletions.
33 changes: 17 additions & 16 deletions calcurse/README
Expand Up @@ -8,39 +8,39 @@ online help system.

Runtime requirements:
bash-4.4.12-3
cygwin-2.7.0-1
cygwin-2.9.0-3
libintl8-0.19.8.1-2
libncursesw10-6.0-9.20170121
python3-3.4.5-1
libncursesw10-6.0-11.20170617
python3-3.6.3-1

Build requirements:
(besides corresponding -devel packages)
autoconf-13-1
automake-9-1
binutils-2.25-4
cygport-0.23.1-1
gcc-core-5.4.0-1
make-4.2.1-1
python-2.7.12-1
automake-10-1
binutils-2.29-1
cygport-0.25.0-1
gcc-core-6.4.0-4
make-4.2.1-2
python-2.7.14-1

Canonical website:
http://calcurse.org/

Canonical download:
http://calcurse.org/files/calcurse-4.2.2.tar.gz
http://calcurse.org/files/calcurse-4.3.0.tar.gz

-------------------------------------------

Build instructions:
1. unpack calcurse-4.2.2-X-src.tar.xz
1. unpack calcurse-4.3.0-X-src.tar.xz
2. if you use setup to install this src package,
it will be unpacked under /usr/src automatically
% cd /usr/src
% cygport ./calcurse-4.2.2-X.cygport all
% cygport ./calcurse-4.3.0-X.cygport all

This will create:
/usr/src/calcurse-4.2.2-X-src.tar.xz
/usr/src/calcurse-4.2.2-X.tar.xz
/usr/src/calcurse-4.3.0-X-src.tar.xz
/usr/src/calcurse-4.3.0-X.tar.xz

-------------------------------------------

Expand All @@ -53,8 +53,6 @@ Files included in the binary package:
/usr/share/doc/Cygwin/calcurse.README
/usr/share/doc/calcurse/AUTHORS
/usr/share/doc/calcurse/COPYING
/usr/share/doc/calcurse/NEWS
/usr/share/doc/calcurse/README
/usr/share/locale/de/LC_MESSAGES/calcurse.mo
/usr/share/locale/en/LC_MESSAGES/calcurse.mo
/usr/share/locale/es/LC_MESSAGES/calcurse.mo
Expand All @@ -68,6 +66,9 @@ Files included in the binary package:

Port Notes:

----- version 4.3.0-1bl1 -----
Version bump.

----- version 4.2.2-1bl1 -----
Version bump.

Expand Down
41 changes: 0 additions & 41 deletions calcurse/calcurse-4.2.2-1bl1.src.patch

This file was deleted.

File renamed without changes.
39 changes: 39 additions & 0 deletions calcurse/calcurse-4.3.0-1bl1.src.patch
@@ -0,0 +1,39 @@
--- origsrc/calcurse-4.3.0/configure.ac 2017-10-26 14:59:58.000000000 +0900
+++ src/calcurse-4.3.0/configure.ac 2017-11-17 15:15:32.078000000 +0900
@@ -3,7 +3,7 @@
#-------------------------------------------------------------------------------
AC_PREREQ(2.59)
AC_INIT([calcurse],
- m4_esyscmd([build-aux/git-version-gen .version]),
+ [4.3.0],
[bugs@calcurse.org])
AM_INIT_AUTOMAKE
#m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
@@ -51,6 +51,8 @@ AC_CHECK_FUNC(initscr,,
LIBS="$LIBS -l$available_ncurses"
])

+if test "$host_os" != "cygwin"
+then
AC_CHECK_HEADERS([pthread.h], [
AC_CHECK_LIB(pthread, pthread_create, [
LIBS="$LIBS -pthread"
@@ -59,6 +61,7 @@ AC_CHECK_HEADERS([pthread.h], [
],
AC_MSG_ERROR(The pthread library is required in order to build calcurse!))
], AC_MSG_ERROR(The pthread header is required in order to build calcurse!))
+fi

AC_CHECK_HEADERS([math.h], [
AC_CHECK_LIB(m, exp, [
--- origsrc/calcurse-4.3.0/test/run-test.c 2017-08-12 22:40:37.000000000 +0900
+++ src/calcurse-4.3.0/test/run-test.c 2017-11-17 15:15:18.625175400 +0900
@@ -146,7 +146,7 @@ static int run_test(const char *name, in
char buf1[BUFSIZ], buf2[BUFSIZ];
int ret = 1;

- if (snprintf(filename, BUFSIZ, "./%s", name) >= BUFSIZ)
+ if (snprintf(filename, BUFSIZ, "%s", name) >= BUFSIZ)
die("file name too long\n");

if (access(filename, F_OK) != 0) {

0 comments on commit f872774

Please sign in to comment.