Hi, I’m trying to package pseint since I need to use it for class, and it might be helpful for others
I have gotten it to start up but it has some issues:
-
The log gets spammed with
pango_font_description_set_size: assertion 'size >= 0' failed
errors
From what I have tried I don’t see any font weirdness, so this isn’t that big of an issue, but it would still be nice to have it not complain constantly -
It crashes with
No GSettings schemas are installed on the system
every time it tries to open the file selection dialog
This doesn’t make it unusable since you can open stuff by drag and dropping, and saving does work, but it is a massive pain
Here’s my package so far
{ stdenv
, lib
, fetchurl
, wxGTK32
, libX11
, libglvnd
, libGLU
, makeBinaryWrapper
}:
# Based on https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=pseint
stdenv.mkDerivation rec {
pname = "pseint";
version = "20230517";
src = fetchurl {
url = "https://netactuate.dl.sourceforge.net/project/${pname}/${version}/${pname}-src-${version}.tgz";
hash = "sha256-8zc7CtDQ9RjXLAVQTigstPqdDJsR8ffBopxBFzVP+eI=";
};
enableParallelBuilding = true;
buildInputs = [ wxGTK32 libglvnd libGLU libX11 ];
nativeBuildInputs = [ makeBinaryWrapper ];
# Build for linux
makeFlags = [ "ARCH=lnx" ];
installPhase = ''
runHook preInstall
mkdir -p $out/opt/${pname}/ $out/bin/
cp -rv bin/* $out/opt/${pname}/
makeBinaryWrapper $out/opt/${pname}/pseint $out/bin/pseint
runHook postInstall
'';
meta = with lib; {
description = "adad";
platforms = platforms.linux;
};
}