-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xkbd: init at 0.8.18 #45623
xkbd: init at 0.8.18 #45623
Conversation
, automake | ||
, libtool | ||
, pkgconfig | ||
}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation should be like
{ stdenv, fetchFromGitHub, freetype, libXrender, ... # 80 columns
, libXext, libX, ... # 80 columns
, ...
}:
src = fetchFromGitHub { | ||
owner = "mahatma-kaganovich"; | ||
repo = "xkbd"; | ||
rev = "${name}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the same as rev = name;
}; | ||
|
||
buildInputs = [ freetype libXrender libXft libXext libXtst libXpm libX11 | ||
libXi xextproto xinput xproto ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation should be like
buildInputs = [
freetype libXrender ...
libxi ...
]
autoconf | ||
automake | ||
libtool | ||
pkgconfig ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put the ]
on the next line.
autoheader | ||
libtoolize | ||
automake --add-missing | ||
autoconf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use spaces throughout the whole file, don't mix with tabs
description = "onscreen soft keyboard for X11"; | ||
license = licenses.gpl2Plus; | ||
maintainers = [ maintainers.genesis ]; | ||
platforms = platforms.linux; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix indentation here as well
c67b174
to
b69c2a3
Compare
@GrahamcOfBorg build xkbd |
Success on x86_64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
@infinisil : Should be ready to merge :)) |
{ stdenv, fetchFromGitHub, freetype, libXrender, libXft, xextproto | ||
, xinput, libXi, libXext, libXtst, libXpm, libX11, xproto, expat, zlib | ||
, autoconf, automake, libtool, pkgconfig | ||
}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still wrong indentation here
description = "onscreen soft keyboard for X11"; | ||
license = licenses.gpl2Plus; | ||
maintainers = [ maintainers.genesis ]; | ||
platforms = platforms.linux; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here as well. These should be indented one more
oki, fixed |
Success on x86_64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
@@ -0,0 +1,44 @@ | |||
{ stdenv, fetchFromGitHub, freetype, libXrender, libXft, xextproto | |||
, xinput, libXi, libXext, libXtst, libXpm, libX11, xproto, expat, zlib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expat
and zlib
aren't used
]; | ||
|
||
preConfigure = '' | ||
aclocal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would not autoreconf work here instead of all the commands?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perharps but i followed the manual... let me keep that for next release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm in a "Release early, release often" , i improve navit derivation and need that. I always keep a lot of improvement in a zim wiki, and i improve step by step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right, you can just set nativeBuildInputs = [ autoreconfHook ];
and remove preConfigure
and it will work (tested this myself).
Success on x86_64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
@@ -0,0 +1,31 @@ | |||
{ stdenv, fetchFromGitHub, freetype, libXrender, libXft, xextproto | |||
, xinput, libXi, libXext, libXtst, libXpm, libX11, xproto, autoconf | |||
, automake, libtool, pkgconfig, autoreconfHook, bash, perl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should remove all unused function arguments again
Success on x86_64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: xkbd Partial log (click to expand)
|
Motivation for this change
i need this to fix onscreen in navit.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)