push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
diff --git a/configure.in b/configure.in
index 98055b7..fff401f 100644
--- a/configure.in
+++ b/configure.in
@@ -249,6 +249,11 @@ for pilot_libs in $pilot_prefix/lib /usr/lib /usr/local/lib/ /usr/local/lib64 \
PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
break
fi
+ if test -r "$pilot_libs/libpisock.dylib" ; then
+ pilotlibs=yes
+ PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
+ break
+ fi
done
fi
diff --git a/libsqlite.c b/libsqlite.c
index 9557956..cf0b5ed 100644
--- a/libsqlite.c
+++ b/libsqlite.c
@@ -3,10 +3,10 @@
Elmar Klausmeier, 20-Sep-2022: Initial revision
*/
+#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <time.h>
-extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) __THROW;
#include <sys/stat.h>
#include <sqlite3.h>

View File

@@ -0,0 +1,54 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
wrapGAppsHook3,
gtk3,
intltool,
libgcrypt,
pilot-link,
pkg-config,
sqlite,
}:
stdenv.mkDerivation rec {
pname = "jpilot";
version = "2.0.2";
src = fetchFromGitHub {
owner = "juddmon";
repo = "jpilot";
rev = "v${lib.replaceStrings [ "." ] [ "_" ] version}";
hash = "sha256-ja/P6kq53C7drEPWemGMV5fB4BktHrbrxL39jLEGhRI=";
};
patches = [ ./darwin-build.patch ]; # https://github.com/juddmon/jpilot/pull/59
nativeBuildInputs = [
autoreconfHook
intltool
pkg-config
wrapGAppsHook3
];
buildInputs = [
gtk3
libgcrypt
sqlite
];
preConfigure = ''
NOCONFIGURE=1 ./autogen.sh
'';
configureFlags = [ "--with-pilot-prefix=${pilot-link}" ];
meta = {
description = "Desktop organizer software for the Palm Pilot";
homepage = "https://www.jpilot.org/";
license = lib.licenses.gpl2;
mainProgram = "jpilot";
maintainers = with lib.maintainers; [ PapayaJackal ];
};
}