2
0
Fork 0

packages: list some portInputs for depot packages

This commit is contained in:
Ehmry - 2020-11-21 12:32:47 +01:00
parent f3071fbbcf
commit 28ed464f13
4 changed files with 66 additions and 27 deletions

View File

@ -4,7 +4,7 @@
# the package attributes of this flake. # the package attributes of this flake.
{ buildPackages, genodePackages, ports }: { buildPackages, genodePackages, ports }:
with ports;
let let
self = genodePackages; self = genodePackages;
@ -15,7 +15,7 @@ let
vbox5' = { vbox5' = {
nativeBuildInputs = with buildPackages; [ iasl yasm ]; nativeBuildInputs = with buildPackages; [ iasl yasm ];
portInputs = [ libc libiconv qemu-usb stdcxx virtualbox5 ]; portInputs = with ports; [ libc libiconv qemu-usb stdcxx virtualbox5 ];
}; };
in { in {
acpi_drv = { }; acpi_drv = { };
@ -35,11 +35,10 @@ in {
block_cache = { }; block_cache = { };
block_tester = { }; block_tester = { };
boot_fb_drv = { }; boot_fb_drv = { };
bsd_audio_drv = { }; bsd_audio_drv.portInputs = with ports; [ dde_bsd ];
cached_fs_rom.patches = [ ./patches/cached_fs_rom.patch ]; cached_fs_rom.patches = [ ./patches/cached_fs_rom.patch ];
chroot = { }; chroot = { };
clipboard = { }; clipboard = { };
content.inc = { };
coreutils = { coreutils = {
enableParallelBuilding = false; enableParallelBuilding = false;
portInputs = with ports; [ coreutils libc ]; portInputs = with ports; [ coreutils libc ];
@ -49,7 +48,7 @@ in {
}; };
cpu_burner = { }; cpu_burner = { };
cpu_load_display = { }; cpu_load_display = { };
curl = { }; curl.portInputs = with ports; [ curl libc libssh openssl zlib ];
decorator = { }; decorator = { };
demo = { }; demo = { };
depot_deploy = { }; depot_deploy = { };
@ -86,7 +85,7 @@ in {
global_keys_handler = { }; global_keys_handler = { };
gmp = { }; gmp = { };
gnumake = { }; gnumake = { };
gpt_write.portInputs = [ jitterentropy ]; gpt_write.portInputs = with ports; [ jitterentropy ];
grep = { }; grep = { };
gui_fader = { }; gui_fader = { };
gui_fb = { }; gui_fb = { };
@ -98,27 +97,27 @@ in {
input_event_bridge = { }; input_event_bridge = { };
intel_fb_drv = { intel_fb_drv = {
BOARD = "pc"; BOARD = "pc";
portInputs = [ dde_linux ]; portInputs = with ports; [ dde_linux ];
}; };
ipxe_nic_drv.portInputs = [ dde_ipxe ]; ipxe_nic_drv.portInputs = with ports; [ dde_ipxe ];
jbig2dec = { }; jbig2dec = { };
jpeg = { }; jpeg = { };
lan9118_nic_drv = { }; lan9118_nic_drv = { };
libarchive = { }; libarchive = { };
libc = { libc = {
buildInputs = [ self.vfs ]; buildInputs = [ self.vfs ];
portInputs = [ libc ]; portInputs = with ports; [ libc ];
patches = [ ./patches/libc.patch ]; patches = [ ./patches/libc.patch ];
}; };
libcrypto = { }; libcrypto.portInputs = with ports; [ libc openssl ];
libiconv.portInputs = [ libc libiconv ]; libiconv.portInputs = with ports; [ libc libiconv ];
liblzma = { }; liblzma = { };
libpng = { }; libpng = { };
libqgenodeviewwidget = { }; libqgenodeviewwidget = { };
libqpluginwidget = { }; libqpluginwidget = { };
libsparkcrypto = { }; libsparkcrypto = { };
libssh = { }; libssh.portInputs = with ports; [ libc libssh openssl zlib ];
libssl = { }; libssl.portInputs = with ports; [ libc openssl ];
lighttpd = { }; lighttpd = { };
linux_nic_drv.HOST_INC_DIR = [ hostLibcInc ]; linux_nic_drv.HOST_INC_DIR = [ hostLibcInc ];
linux_rtc_drv = { }; linux_rtc_drv = { };
@ -135,7 +134,7 @@ in {
mpfr = { }; mpfr = { };
mupdf = { }; mupdf = { };
nano3d = { }; nano3d = { };
ncurses = { }; ncurses.portInputs = with ports; [ libc ncurses ];
nic_bridge = { }; nic_bridge = { };
nic_loopback = { }; nic_loopback = { };
nic_router = { }; nic_router = { };
@ -151,7 +150,7 @@ in {
platform_drv.patches = [ ./patches/platform_drv.patch ]; platform_drv.patches = [ ./patches/platform_drv.patch ];
posix = { posix = {
buildInputs = [ self.libc ]; buildInputs = [ self.libc ];
portInputs = [ ports.libc ]; portInputs = with ports; [ ports.libc ];
}; };
ps2_drv = { }; ps2_drv = { };
qt5_base = { }; qt5_base = { };
@ -177,18 +176,18 @@ in {
rpi_fb_drv = { }; rpi_fb_drv = { };
rtc_drv = { }; rtc_drv = { };
rump = { rump = {
portInputs = [ dde_rump ]; portInputs = with ports; [ dde_rump ];
buildInputs = with buildPackages; [ zlib ]; buildInputs = with buildPackages; [ zlib ];
}; };
sandbox = { }; sandbox = { };
sanitizer = { }; sanitizer = { };
sculpt_manager = { }; sculpt_manager = { };
sed = { }; sed = { };
seoul = { }; seoul.portInputs = with ports; [ libc seoul ];
sequence = { }; sequence = { };
spark = { }; spark = { };
ssh_terminal.portInputs = [ libc libssh ]; ssh_terminal.portInputs = with ports; [ libc libssh ];
stdcxx.portInputs = [ libc stdcxx ]; stdcxx.portInputs = with ports; [ libc stdcxx ];
stdin2out = { }; stdin2out = { };
system_rtc = { }; system_rtc = { };
tar = { }; tar = { };
@ -269,28 +268,28 @@ in {
trace_policy = { }; trace_policy = { };
trace_subject_reporter = { }; trace_subject_reporter = { };
usb_block_drv = { }; usb_block_drv = { };
usb_drv.portInputs = [ dde_linux ]; usb_drv.portInputs = with ports; [ dde_linux ];
usb_hid_drv = { }; usb_hid_drv = { };
usb_host_drv = { }; usb_host_drv = { };
vbox5 = vbox5'; vbox5 = vbox5';
vbox5-nova = vbox5'; vbox5-nova = vbox5';
verify = { }; verify = { };
vesa_drv.portInputs = [ libc x86emu ]; vesa_drv.portInputs = with ports; [ libc x86emu ];
vfs.outputs = [ "out" "lib" ]; vfs.outputs = [ "out" "lib" ];
vfs_audit = { }; vfs_audit = { };
vfs_block = { }; vfs_block = { };
vfs_fatfs = { }; vfs_fatfs = { };
vfs_import.patches = [ ./patches/vfs_import.patch ]; vfs_import.patches = [ ./patches/vfs_import.patch ];
vfs_jitterentropy.portInputs = [ jitterentropy libc ]; vfs_jitterentropy.portInputs = with ports; [ jitterentropy libc ];
vfs_lwip = { vfs_lwip = {
patches = [ ./patches/lwip.patch ]; patches = [ ./patches/lwip.patch ];
portInputs = [ lwip ]; portInputs = with ports; [ lwip ];
}; };
vfs_lxip.portInputs = [ dde_linux ]; vfs_lxip.portInputs = with ports; [ dde_linux ];
vfs_oss = { }; vfs_oss = { };
vfs_pipe = { }; vfs_pipe = { };
vfs_trace = { }; vfs_trace = { };
vfs_ttf.portInputs = [ libc stb ]; vfs_ttf.portInputs = with ports; [ libc stb ];
vim = { }; vim = { };
vim-minimal = { }; vim-minimal = { };
virtdev_rom = { }; virtdev_rom = { };
@ -299,7 +298,7 @@ in {
postInstall = "mv $out/bin/virtio_*_nic $out/bin/$pname"; postInstall = "mv $out/bin/virtio_*_nic $out/bin/$pname";
}; };
which = { }; which = { };
wifi_drv.portInputs = [ dde_linux libc openssl ]; wifi_drv.portInputs = with ports; [ dde_linux libc openssl ];
window_layouter = { }; window_layouter = { };
wm = { }; wm = { };
zlib = { }; zlib = { };

View File

@ -0,0 +1,13 @@
diff --git a/repos/libports/ports/curl.port b/repos/libports/ports/curl.port
index bf784c1d22..167f650d74 100644
--- a/repos/libports/ports/curl.port
+++ b/repos/libports/ports/curl.port
@@ -2,7 +2,7 @@ LICENSE := MIT
DOWNLOADS := curl.archive
VERSION := 7.29.0
-URL(curl) := http://curl.haxx.se/download/curl-$(VERSION).tar.gz
+URL(curl) := https://curl.se/download/archeology/curl-7.29.0.tar.gz
SHA(curl) := 67dc5b952ac489191b62dbe95b18d336b821649f61404a280186c72e8cd0b9d6
SIG(curl) := ${URL(curl)}.asc
KEY(curl) := daniel@haxx.se

View File

@ -0,0 +1,18 @@
diff --git a/repos/ports/ports/seoul.port b/repos/ports/ports/seoul.port
index df1daca58f..93a5818fcb 100644
--- a/repos/ports/ports/seoul.port
+++ b/repos/ports/ports/seoul.port
@@ -29,10 +29,10 @@ additional_steps : $(DOWNLOADS)
sed -i "/Generated on/d" $(I82576VF_DIR)/genreg.py && \
echo "call code generators ... takes a while ..." && \
cd $(EXECUTOR_DIR) && \
- ./build_instructions.py > instructions.inc && \
+ python2 build_instructions.py > instructions.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
- ./genreg.py reg_pci.py ../../include/model/intel82576vfpci.inc && \
+ python2 genreg.py reg_pci.py ../../include/model/intel82576vfpci.inc && \
cd $(CURDIR)/$(I82576VF_DIR) && \
- ./genreg.py reg_mmio.py ../../include/model/intel82576vfmmio.inc
+ python2 genreg.py reg_mmio.py ../../include/model/intel82576vfmmio.inc
.PHONY: additional_steps

View File

@ -13,7 +13,10 @@ with pkgs;
}; };
coreutils.hash = "sha256-ZVlFfLghHcXxwwRsN5xw2bVdIvvXoCNj2oZniOlSXrg="; coreutils.hash = "sha256-ZVlFfLghHcXxwwRsN5xw2bVdIvvXoCNj2oZniOlSXrg=";
curl = {
patches = [ ./patches/curl-port.patch ];
hash = "sha256-wpaT6RupLXwgtLdA8v+fpadmWKUiZUCPw8MePXD7SfI=";
};
dde_bsd.hash = "sha256-/n9aHPU6/+AgRSyFD545p3BT63n3myymez1tIRhJisA="; dde_bsd.hash = "sha256-/n9aHPU6/+AgRSyFD545p3BT63n3myymez1tIRhJisA=";
dde_ipxe.hash = "sha256-NJ129+DkxFg1fFHJBABBFRRjqEVNSz6v2hEB80AuEM4="; dde_ipxe.hash = "sha256-NJ129+DkxFg1fFHJBABBFRRjqEVNSz6v2hEB80AuEM4=";
dde_linux.hash = "sha256-xHAgeKfArgMGKCGHi0762qkUcY97vbiAQYjM/ZRXCes="; dde_linux.hash = "sha256-xHAgeKfArgMGKCGHi0762qkUcY97vbiAQYjM/ZRXCes=";
@ -48,8 +51,14 @@ with pkgs;
mpc.hash = "sha256-MOs51NYXkNYxBG4d97/fMCx/iYzrNum8jHe3QujF24o="; mpc.hash = "sha256-MOs51NYXkNYxBG4d97/fMCx/iYzrNum8jHe3QujF24o=";
mpfr.hash = "sha256-TSZCAHU7Vtuo9Pbi7v7oDV5Wc6YBVICriR4IbErYW4Q="; mpfr.hash = "sha256-TSZCAHU7Vtuo9Pbi7v7oDV5Wc6YBVICriR4IbErYW4Q=";
mupdf.hash = "sha256-6NX7zvOwReBBdz83RxGW2FJWUkqI/DTBkSOCqukidYs="; mupdf.hash = "sha256-6NX7zvOwReBBdz83RxGW2FJWUkqI/DTBkSOCqukidYs=";
ncurses = { nativeBuildInputs = [ gcc mawk ]; };
openssl.hash = "sha256-epRL3SobYQ7xf8qwp6D5xu/Ms2T/LhUjjs273ywWRWg="; openssl.hash = "sha256-epRL3SobYQ7xf8qwp6D5xu/Ms2T/LhUjjs273ywWRWg=";
qemu-usb.hash = "sha256-F4ZXeH5sx3FOcD42zFOxKFMsqGookKdav1NJ7YgVw98="; qemu-usb.hash = "sha256-F4ZXeH5sx3FOcD42zFOxKFMsqGookKdav1NJ7YgVw98=";
seoul = {
nativeBuildInputs = [ gcc python2 ];
patches = [ ./patches/seoul-port.patch ];
hash = "sha256-0TYtZrLGl3IOFpRjBRf0fkUXDd1aDlOF8RePfqoKEwA=";
};
stb.hash = "sha256-9LSH1i8jcEvjRAmTvgtK+Axy9hO7uiSzmSgBvs0zkTc="; stb.hash = "sha256-9LSH1i8jcEvjRAmTvgtK+Axy9hO7uiSzmSgBvs0zkTc=";
stdcxx.hash = "sha256-4Gn/TyA/q83kyO8f5Wr+gv8fNYR5YPDNZIk7+Ty5fn4="; stdcxx.hash = "sha256-4Gn/TyA/q83kyO8f5Wr+gv8fNYR5YPDNZIk7+Ty5fn4=";
virtualbox5 = { virtualbox5 = {