From 92cda7a6bb17948523feefece3c20e35bb213daa Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 12 Jan 2016 20:56:59 +0300 Subject: dwarf-fortress: 0.40.24 -> 0.42.05, split derivations This is a massive rework of the current dwarf_fortress package. The main reason for rework is to split game, its libraries and wrappers, enabling builds on Hydra and general maintainability. dfhack, dwarf-fortress-unfuck, dwarf-fortress-original and dwarf-fortress are now all separate derivations. All were updated to the latest versions supporting DF 0.42.04 (some things taken from development branches): dfhack: 20150927 -> 20160118 dwarf-fortress-unfuck: 0.40.24 -> 20160118 dwarf-fortress-original: 0.40.24 -> 0.42.05 dfhack got a patch for using more system libraries. Wrapper scripts were also redone -- now they support DF_DIR variable (for setting another data directory) and try to save more space by means of symlinking. They now try to be more smart, updating those directories that were not touched by user automatically. All the new packages now reside in dwarf-fortress-packages. dwarf_fortress was renamed into dwarf-fortress per our conventions, old name is deprecated. Also duplicate dfhack derivation is removed. Also drop dwarfFortress.enableDFHack config option; it can be re-added later but now is deemed controversial. --- pkgs/games/dwarf-fortress/install-df-data-to-home.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 pkgs/games/dwarf-fortress/install-df-data-to-home.sh (limited to 'pkgs/games/dwarf-fortress/install-df-data-to-home.sh') diff --git a/pkgs/games/dwarf-fortress/install-df-data-to-home.sh b/pkgs/games/dwarf-fortress/install-df-data-to-home.sh deleted file mode 100644 index 42c8c464809..00000000000 --- a/pkgs/games/dwarf-fortress/install-df-data-to-home.sh +++ /dev/null @@ -1,12 +0,0 @@ -mkdir -p $data_dir -if [[ $(readlink $data_dir/raw) != "$pkg_dir/raw" ]]; then - rm -f $data_dir/raw - ln -s $pkg_dir/raw $data_dir/raw -fi -if [[ $(readlink $data_dir/libs) != "$pkg_dir/libs" ]]; then - rm -f $data_dir/libs - ln -s $pkg_dir/libs $data_dir/libs -fi -mkdir -p "$data_dir/data" -cp -rn $pkg_dir/data/init $data_dir/data/init -chmod -R u+rw $data_dir/data/init -- cgit 1.4.1