lcdproc: do not show the GPL on every start (#118772)
* lcdproc: do not show the GPL on every start
This commit is contained in:
parent
970b82e7d0
commit
1d406295a3
@ -1,5 +1,18 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, makeWrapper, pkg-config
|
||||
, doxygen, freetype, libX11, libftdi, libusb-compat-0_1, libusb1, ncurses, perl }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, makeWrapper
|
||||
, pkg-config
|
||||
, doxygen
|
||||
, freetype
|
||||
, libX11
|
||||
, libftdi
|
||||
, libusb-compat-0_1
|
||||
, libusb1
|
||||
, ncurses
|
||||
, perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lcdproc";
|
||||
@ -16,6 +29,12 @@ stdenv.mkDerivation rec {
|
||||
./hardcode_mtab.patch
|
||||
];
|
||||
|
||||
# we don't need to see the GPL every time we launch lcdd in the foreground
|
||||
postPatch = ''
|
||||
substituteInPlace server/main.c \
|
||||
--replace 'output_GPL_notice();' '// output_GPL_notice();'
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--enable-lcdproc-menus"
|
||||
"--enable-drivers=all"
|
||||
@ -23,6 +42,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [ freetype libX11 libftdi libusb-compat-0_1 libusb1 ncurses ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook doxygen makeWrapper pkg-config ];
|
||||
|
||||
# In 0.5.9: gcc: error: libbignum.a: No such file or directory
|
||||
|
Loading…
Reference in New Issue
Block a user