gnustep: add gworkspace and systempreferences

Packaging some basic GNUstep apps: GWorkspace and SystemPreferences.

Unfortunately, GWorkspace doesn't work well, because gdomap, gdnc, gpbs
are not started. Also, there is some issue with fonts not being found.
This commit is contained in:
Artyom Shalkhakov 2014-12-12 22:58:21 +06:00 committed by Matthew Bauer
parent ea3dcb3264
commit 15c5a533b5
4 changed files with 63 additions and 3 deletions

View File

@ -0,0 +1,32 @@
{ gnustep_back, gnustep_base, gnustep_gui, gnustep_make
, fetchurl
, sqlite
, stdenv
, system_preferences
}:
let
version = "0.9.2";
in
stdenv.mkDerivation {
name = "gworkspace-${version}";
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/usr-apps/gworkspace-${version}.tar.gz";
sha256 = "1yzlka2dl1gb353wf9kw6l26sdihdhgwvdfg5waqwdfl7ycfyfaj";
};
# additional dependencies:
# - PDFKit framework from http://gap.nongnu.org/
GNUSTEP_MAKEFILES = "${gnustep_make}/share/GNUstep/Makefiles";
buildInputs = [ gnustep_back gnustep_base gnustep_make gnustep_gui sqlite system_preferences ];
propagatedBuildInputs = [ gnustep_back gnustep_base gnustep_gui sqlite system_preferences ];
configureFlags = [ "--enable-gwmetadata" "--with-inotify" ];
meta = {
description = "GWorkspace is a workspace manager for GNUstep";
homepage = http://www.gnustep.org/experience/GWorkspace.html;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -0,0 +1,27 @@
{ gnustep_back, gnustep_base, gnustep_gui, gnustep_make
, fetchurl
, stdenv
}:
let
version = "1.1.0";
in
stdenv.mkDerivation {
name = "system_preferences-${version}";
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/usr-apps/SystemPreferences-${version}.tar.gz";
sha256 = "1q68bs8rlq0dxkar01qs5wfyas4iivddnama371jd7ll6cxzmpy7";
};
GNUSTEP_MAKEFILES = "${gnustep_make}/share/GNUstep/Makefiles";
buildInputs = [ gnustep_back gnustep_base gnustep_make gnustep_gui ];
propagatedBuildInputs = [ gnustep_back gnustep_base gnustep_gui ];
meta = {
description = "System Preferences allows to manage the settings of many aspects of the GNUstep environment and its applications";
homepage = http://www.gnustep.org/experience/systempreferences.html;
license = stdenv.lib.licenses.lgpl2Plus;
maintainers = with stdenv.lib.maintainers; [ ashalkhakov ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -8,14 +8,12 @@ installFlagsArray=( \
"GNUSTEP_SYSTEM_WEB_APPS=$out/lib/GNUstep/WebApplications" \
"GNUSTEP_SYSTEM_TOOLS=$out/bin" \
"GNUSTEP_SYSTEM_ADMIN_TOOLS=$out/sbin" \
"GNUSTEP_SYSTEM_LIBRARY=$out/lib" \
"GNUSTEP_SYSTEM_LIBRARY=$out/lib/GNUstep" \
"GNUSTEP_SYSTEM_HEADERS=$out/include" \
"GNUSTEP_SYSTEM_LIBRARIES=$out/lib" \
"GNUSTEP_SYSTEM_DOC=$out/share/GNUstep/Documentation" \
"GNUSTEP_SYSTEM_DOC_MAN=$out/share/man" \
"GNUSTEP_SYSTEM_DOC_INFO=$out/share/info" \
"GNUSTEP_SYSTEM_LIBRARIES=$out/lib" \
"GNUSTEP_HEADERS=$out/include" \
)
addGSMakefilesPath () {

View File

@ -6471,6 +6471,7 @@ in
guileLint = callPackage ../development/tools/guile/guile-lint { };
gworkspace = callPackage ../applications/misc/gworkspace { stdenv = clangStdenv; };
gwrap = callPackage ../development/tools/guile/g-wrap { };
help2man = callPackage ../development/tools/misc/help2man {
@ -9500,6 +9501,8 @@ in
biblesync = callPackage ../development/libraries/biblesync { };
system_preferences = callPackage ../applications/misc/systempreferences { stdenv = clangStdenv; };
szip = callPackage ../development/libraries/szip { };
t1lib = callPackage ../development/libraries/t1lib { };