Skip to content
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

Merged
merged 1 commit into from Aug 26, 2018
Merged

xkbd: init at 0.8.18 #45623

merged 1 commit into from Aug 26, 2018

Conversation

bignaux
Copy link
Contributor

@bignaux bignaux commented Aug 25, 2018

Motivation for this change

i need this to fix onscreen in navit.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

, automake
, libtool
, pkgconfig
}:
Copy link
Member

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}";
Copy link
Member

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 ];
Copy link
Member

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 ];
Copy link
Member

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
Copy link
Member

@infinisil infinisil Aug 25, 2018

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;
Copy link
Member

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

@bignaux
Copy link
Contributor Author

bignaux commented Aug 25, 2018

@GrahamcOfBorg build xkbd

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[2]: Leaving directory '/build/source'
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18
shrinking /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18
checking for references to /build in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18...

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18
shrinking /nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18
checking for references to /build in /nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18...
/nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

/nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18
shrinking /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18
checking for references to /build in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18...

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

/nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18

@bignaux
Copy link
Contributor Author

bignaux commented Aug 25, 2018

@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
}:
Copy link
Member

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;
Copy link
Member

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

@bignaux
Copy link
Contributor Author

bignaux commented Aug 25, 2018

oki, fixed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

/nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

/nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18

@@ -0,0 +1,44 @@
{ stdenv, fetchFromGitHub, freetype, libXrender, libXft, xextproto
, xinput, libXi, libXext, libXtst, libXpm, libX11, xproto, expat, zlib
Copy link
Member

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
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

Copy link
Member

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).

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18
shrinking /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18
checking for references to /build in /nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18...
/nix/store/xk2pnin7z9yshf33rs8s7kb7qp1nzyhn-xkbd-0.8.18

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

/nix/store/mya1w3z0x4dmh8zzi36ycxqyjb5pjl2z-xkbd-0.8.18

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18
shrinking /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18
checking for references to /build in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18...
/nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18
shrinking /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18
checking for references to /build in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18...
/nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18

@@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, freetype, libXrender, libXft, xextproto
, xinput, libXi, libXext, libXtst, libXpm, libX11, xproto, autoconf
, automake, libtool, pkgconfig, autoreconfHook, bash, perl
Copy link
Member

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

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[2]: Leaving directory '/build/source'
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18
shrinking /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18
checking for references to /build in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18...

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18
shrinking /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18
checking for references to /build in /nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18...
/nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

/nix/store/znsisldnxhkd1c181436npjidhxdy7a2-xkbd-0.8.18

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: xkbd

Partial log (click to expand)

make[2]: Leaving directory '/build/source'
make[1]: Leaving directory '/build/source'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18
shrinking /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/bin/xkbd
gzipping man pages under /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18/bin
patching script interpreter paths in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18
checking for references to /build in /nix/store/xdxvj6a0w74n8jnazyar253n7b8ldwkd-xkbd-0.8.18...

@grahamc grahamc merged commit cca5717 into NixOS:master Aug 26, 2018
@bignaux bignaux deleted the xkbd branch August 26, 2018 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants