lxsession: Init at 0.5.5
This commit is contained in:
parent
3f12f0b0a6
commit
5f5165350c
67
pkgs/desktops/lxde/core/lxsession/default.nix
Normal file
67
pkgs/desktops/lxde/core/lxsession/default.nix
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoconf
|
||||||
|
, automake
|
||||||
|
, docbook_xml_dtd_412
|
||||||
|
, docbook_xsl
|
||||||
|
, intltool
|
||||||
|
, libxml2
|
||||||
|
, libxslt
|
||||||
|
, pkg-config
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gtk2-x11
|
||||||
|
, libX11
|
||||||
|
, polkit
|
||||||
|
, vala
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "lxsession";
|
||||||
|
version = "0.5.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lxde";
|
||||||
|
repo = "lxsession";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "17sqsx57ymrimm5jfmcyrp7b0nzi41bcvpxsqckmwbhl19g6c17d";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ./xmlcatalog_patch.patch ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
docbook_xml_dtd_412
|
||||||
|
docbook_xsl
|
||||||
|
intltool
|
||||||
|
libxml2
|
||||||
|
libxslt
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk2-x11
|
||||||
|
libX11
|
||||||
|
polkit
|
||||||
|
vala
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-man"
|
||||||
|
"--disable-buildin-clipboard"
|
||||||
|
"--disable-buildin-polkit"
|
||||||
|
"--with-xml-catalog=${docbook_xml_dtd_412}/xml/dtd/docbook/catalog.xml"
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = "./autogen.sh";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Classic LXDE session manager";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
homepage = "https://wiki.lxde.org/en/LXSession";
|
||||||
|
maintainers = [ maintainers.shamilton ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
23
pkgs/desktops/lxde/core/lxsession/xmlcatalog_patch.patch
Normal file
23
pkgs/desktops/lxde/core/lxsession/xmlcatalog_patch.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
diff --color -ur a/configure.ac b/configure.ac
|
||||||
|
--- a/configure.ac 2021-01-18 12:39:19.556844678 +0100
|
||||||
|
+++ b/configure.ac 2021-01-18 17:26:47.989410501 +0100
|
||||||
|
@@ -167,18 +167,7 @@
|
||||||
|
AM_GLIB_GNU_GETTEXT
|
||||||
|
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
|
||||||
|
|
||||||
|
-if test x"$enable_man" = x"yes"; then
|
||||||
|
- AC_PATH_PROG([XSLTPROC], [xsltproc])
|
||||||
|
- if test -z "$XSLTPROC"; then
|
||||||
|
- enable_man=no
|
||||||
|
- fi
|
||||||
|
-
|
||||||
|
- dnl check for DocBook DTD and stylesheets in the local catalog.
|
||||||
|
- JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
|
||||||
|
- [DocBook XML DTD V4.1.2], [], enable_man=no)
|
||||||
|
- JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
|
||||||
|
- [DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
|
||||||
|
-fi
|
||||||
|
+AC_PATH_PROG([XSLTPROC], [xsltproc])
|
||||||
|
|
||||||
|
AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test "x$enable_man" != "xno")
|
||||||
|
|
@ -9692,6 +9692,8 @@ in
|
|||||||
|
|
||||||
lxrandr = callPackage ../desktops/lxde/core/lxrandr { };
|
lxrandr = callPackage ../desktops/lxde/core/lxrandr { };
|
||||||
|
|
||||||
|
lxsession = callPackage ../desktops/lxde/core/lxsession { };
|
||||||
|
|
||||||
kona = callPackage ../development/interpreters/kona {};
|
kona = callPackage ../development/interpreters/kona {};
|
||||||
|
|
||||||
lolcode = callPackage ../development/interpreters/lolcode { };
|
lolcode = callPackage ../development/interpreters/lolcode { };
|
||||||
|
Loading…
Reference in New Issue
Block a user