kde: Copy 4.12 to 4.13 as a base
This commit is contained in:
parent
f7c7282964
commit
8fe3bd5aa4
11
pkgs/desktops/kde-4.13/applications/kate.nix
Normal file
11
pkgs/desktops/kde-4.13/applications/kate.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs, kactivities, qjson, pyqt4, sip, python, pykde4}:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs = [ kdelibs kactivities qjson pyqt4 sip python pykde4 ];
|
||||
|
||||
meta = {
|
||||
description = "Kate, the KDE Advanced Text Editor, as well as KWrite";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/applications/konsole.nix
Normal file
11
pkgs/desktops/kde-4.13/applications/konsole.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs, kde_baseapps }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs = [ kdelibs kde_baseapps ];
|
||||
|
||||
meta = {
|
||||
description = "Konsole, the KDE terminal emulator";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
44
pkgs/desktops/kde-4.13/default.nix
Normal file
44
pkgs/desktops/kde-4.13/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ callPackage, callPackageOrig, stdenv, qt48, release ? "4.12.4" }:
|
||||
|
||||
let
|
||||
branch = "4.12";
|
||||
|
||||
# Need callPackageOrig to avoid infinite cycle
|
||||
kde = callPackageOrig ./kde-package {
|
||||
inherit release branch ignoreList extraSubpkgs callPackage;
|
||||
};
|
||||
|
||||
# The list of igored individual modules
|
||||
ignoreList = {
|
||||
# Doesn't work yet
|
||||
kdeutils = [ "ksecrets" ];
|
||||
# kdeadmin/strigi-analyzer has no real code
|
||||
kdeadmin = [ "strigi-analyzer" ];
|
||||
# Most of kdebindings do not compile due to a bug in the buildsystem
|
||||
kdebindings = [ "kimono" "korundum" "kross-interpreters" "perlkde" "qyoto" ];
|
||||
};
|
||||
|
||||
# Extra subpackages in the manifest format
|
||||
extraSubpkgs = {};
|
||||
|
||||
in
|
||||
|
||||
kde.modules // kde.individual //
|
||||
{
|
||||
inherit (kde) manifest modules individual splittedModuleList;
|
||||
|
||||
akonadi = callPackage ./support/akonadi { };
|
||||
|
||||
qt4 = qt48;
|
||||
|
||||
kdebase_workspace = kde.modules.kde_workspace;
|
||||
|
||||
inherit release;
|
||||
|
||||
full = stdenv.lib.attrValues kde.modules;
|
||||
|
||||
l10n = callPackage ./l10n {
|
||||
inherit release branch;
|
||||
inherit (kde.manifest) stable;
|
||||
};
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3d3e247..f78db67 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,10 @@
|
||||
-find_package(KDE4 REQUIRED)
|
||||
-include(KDE4Defaults)
|
||||
+project(kde-wallpapers NONE)
|
||||
+if( WALLPAPER_INSTALL_DIR )
|
||||
+ message(STATUS "Installing wallpapers to user-supplied directory ${WALLPAPER_INSTALL_DIR}")
|
||||
+else()
|
||||
+ find_package(KDE4 REQUIRED)
|
||||
+ include(KDE4Defaults)
|
||||
+endif()
|
||||
|
||||
install(DIRECTORY Air DESTINATION ${WALLPAPER_INSTALL_DIR} PATTERN .svn EXCLUDE)
|
||||
|
12
pkgs/desktops/kde-4.13/files/polkit-install.patch
Normal file
12
pkgs/desktops/kde-4.13/files/polkit-install.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru -x '*~' kdelibs-4.6.90-orig/kdecore/auth/ConfigureChecks.cmake kdelibs-4.6.90/kdecore/auth/ConfigureChecks.cmake
|
||||
--- kdelibs-4.6.90-orig/kdecore/auth/ConfigureChecks.cmake 2011-05-20 22:24:54.000000000 +0200
|
||||
+++ kdelibs-4.6.90/kdecore/auth/ConfigureChecks.cmake 2011-07-12 14:03:00.000000000 +0200
|
||||
@@ -139,7 +139,7 @@
|
||||
${CMAKE_INSTALL_PREFIX} _KDE4_AUTH_POLICY_FILES_INSTALL_DIR
|
||||
${POLKITQT-1_POLICY_FILES_INSTALL_DIR})
|
||||
|
||||
- set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR ${_KDE4_AUTH_POLICY_FILES_INSTALL_DIR} CACHE STRING
|
||||
+ set(KDE4_AUTH_POLICY_FILES_INSTALL_DIR "\${CMAKE_INSTALL_PREFIX}/share/polkit-1/actions" CACHE STRING
|
||||
"Where policy files generated by KAuth will be installed" FORCE)
|
||||
elseif(KDE4_AUTH_BACKEND_NAME STREQUAL "FAKE")
|
||||
set (KAUTH_COMPILING_FAKE_BACKEND TRUE)
|
9
pkgs/desktops/kde-4.13/kactivities.nix
Normal file
9
pkgs/desktops/kde-4.13/kactivities.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, nepomuk_core }:
|
||||
|
||||
kde {
|
||||
propagatedBuildInputs = [ kdelibs nepomuk_core ];
|
||||
|
||||
meta = {
|
||||
description = "KDE activities library and daemon";
|
||||
};
|
||||
}
|
14
pkgs/desktops/kde-4.13/kde-base-artwork.nix
Normal file
14
pkgs/desktops/kde-4.13/kde-base-artwork.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "0mrd3w7rhsj0v92c8rh9zjxyifq7wyvwszksf2gyn53dzd06blk8";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "KDE Base artwork";
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/kde-baseapps/kde-baseapps.nix
Normal file
11
pkgs/desktops/kde-4.13/kde-baseapps/kde-baseapps.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs, htmlTidy, kactivities
|
||||
, nepomuk_core, nepomuk_widgets, libXt }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs nepomuk_core nepomuk_widgets htmlTidy kactivities libXt ];
|
||||
|
||||
meta = {
|
||||
description = "Base KDE applications, including the Dolphin file manager and Konqueror web browser";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
444
pkgs/desktops/kde-4.13/kde-package/4.12.4.nix
Normal file
444
pkgs/desktops/kde-4.13/kde-package/4.12.4.nix
Normal file
@ -0,0 +1,444 @@
|
||||
{stable=true;
|
||||
hashes=builtins.listToAttrs[
|
||||
{name="amor";value="0c8298z7c3a71yj6nik7h8h7rngqzrz6rc95kl990p37jp2ng0d9";}
|
||||
{name="analitza";value="0l122nh81nf7r4bm73gc6dp9k4jh2dxc7majrzjq37hb8pi77njh";}
|
||||
{name="ark";value="155bhqqyw3afm99c47b3pxqf9fiqcz6gqg1pavsx9q4rmk7rp8m6";}
|
||||
{name="audiocd-kio";value="1c5234s1hdh6jc8szyb4nwqr1h8hhwlmin0iyxabsl0c45pss9pa";}
|
||||
{name="blinken";value="0q0y3xfv3pjrw0h8mnbigpywwrqk8wb2lqbjcgk755j6syinhphh";}
|
||||
{name="bomber";value="1f12qmg58n9sj6vjqdj57ch50pq5f0h6anx06x9bhhs502w6aqwy";}
|
||||
{name="bovo";value="10x4qy4vdp76iv3n60iy24lk1wbsjdfr88l1m9xifj4k942wk2ir";}
|
||||
{name="cantor";value="1x5rxshdbgl40cqx6h5r0hx49rrc6gwnabsl8b7kzimh0kbv2ma9";}
|
||||
{name="cervisia";value="0ia78cjkq606232jy14ps7cpm77pq4xdmcfimv4l6p0xjpq8jzsg";}
|
||||
{name="dolphin-plugins";value="08h278jpbll7wc1mhz58cklj1bkrk61dfwjlflag6fnlm6i4xx8k";}
|
||||
{name="dragon";value="16gyr0dl50nl9r3yc2fkwmqlrfgzzyim6bdlb9a76winzbz8mgxr";}
|
||||
{name="ffmpegthumbs";value="01cmwm6w1z2gsllwdmrzsl9882fw5k59lr1k7z114kkrh1l0b2j4";}
|
||||
{name="filelight";value="01rs1r80ixm1dj5d73a22893rdz2srxqp4dv5pysw1fhn02zdkkf";}
|
||||
{name="granatier";value="1ia85yxfbbi8qxdyn0vwgmdjrxwssb6nadbia1yqsjdncfsnhbvs";}
|
||||
{name="gwenview";value="01p5b1z05v3c7f192fxrrfp6x3ss7gx8pxv29czkp641hpmcg3jl";}
|
||||
{name="jovie";value="1hfkj3vlvm63sgb4gx3xl7nksb5cfqnh7shs7wqm3gl6yj2rwhjj";}
|
||||
{name="juk";value="1vxnrxz6gbyk7fd15akhiyczpgq03cym3nldi61m958cx4khd4y7";}
|
||||
{name="kaccessible";value="0a9r2bk8a5h7mpl37li3bqbsz5dfgn8rsxnri93msvc6555pnyzv";}
|
||||
{name="kactivities";value="1fl638cyj3abxfmbqcfqsd3idmdmys1xim4flf1jpbqa29psl75j";}
|
||||
{name="kajongg";value="19awqjqn9hqhprzi7mjb6nkrgvb3mzhignkgalfjd4j5rga7vzz0";}
|
||||
{name="kalgebra";value="1bj88nh7znk86i6a4d3jcjyqp46kzipfc99xvhxvqdsy8drbrwjp";}
|
||||
{name="kalzium";value="00pjpdbd11jgzs443kgh8y6pxf3ff0ypgl5j3zfa6gbj18cnkkq0";}
|
||||
{name="kamera";value="12mcjw8l0nh2jbi04myx1y1irbf92x9bx93gdymw939lawaalqic";}
|
||||
{name="kanagram";value="1yd5agh61nv4ajlrijxg5g3hvw0xjxdvnc6h3lbz5mgvc8smvazk";}
|
||||
{name="kapman";value="1aa78q6y2s9dig2603b9nry5rx5jbbxz2pb3jxr323hmqxp6jy1z";}
|
||||
{name="kapptemplate";value="08j8xh9spk6ymlichl74n1v2zn342d94m6f4jragnx2jvif2163k";}
|
||||
{name="kate";value="1cxc9bgzvfpns7dhmmafzxhnyjqxyq0adr0l1mbwsahxpkblc30r";}
|
||||
{name="katomic";value="01lk7ajlj98rjbs76xd9r3hnd98dy49xv809m2zchm5ria7hdh48";}
|
||||
{name="kblackbox";value="1sgbs0flllmy6d3518wwnzmdr14kqkxsi76h2p4xyk3bq2g9q2xg";}
|
||||
{name="kblocks";value="1zinpxbvri52r26qiiiv4j4r02a22947hcrchf1z3n6lf817vqwv";}
|
||||
{name="kbounce";value="0f9ssdpicvkiv7dxnj75h1cmz24mz2sy2zyp7rw7mvr9ynnl8w21";}
|
||||
{name="kbreakout";value="02ix39kfkagmsqs8icqrqy9cz90lbl2wqajyjzrshw1vi29iahc7";}
|
||||
{name="kbruch";value="0mfqdgwd5d8sy3bdiicpd5927dgg6zhm521f2q853qd2sqjbspgl";}
|
||||
{name="kcachegrind";value="0dydarm1a2i64nazcl59s0a8b8z7znnm20wdmx2gfm5377j98y8x";}
|
||||
{name="kcalc";value="1znrv4fqwaf56djf9qg6fxcp7nfi7fzza2whjlkayvc9kxv3ah9y";}
|
||||
{name="kcharselect";value="0mbl9zvb9hp0xdi58v0vb8z0by71xkz22pr9flnkar5b1klnjpdb";}
|
||||
{name="kcolorchooser";value="1d1cyaqi0rhwfnmjbxpjjavgwjhr3pd2rywlxxb9g4q3rv8k7wg5";}
|
||||
{name="kcron";value="033f0s14crqpsirhgysi309b9pj02vwsd7fr28n6n2sh5imj30a0";}
|
||||
{name="kdeartwork";value="08snjhaqiddiaj5jfd0vx1fjijsyqwngy7p1mkpdfhj7575sbx7c";}
|
||||
{name="kde-baseapps";value="0k0mfbpvmv0n2brrb8hc0rd1wz04m3cyr1byb0z34a7x7kk1h1i4";}
|
||||
{name="kde-base-artwork";value="0vmkbmir7hviqkv7nqrbqd6skj2srp9w4nrs8rkcvq7c8n76rk5w";}
|
||||
{name="kde-dev-scripts";value="0l5frvb1akhy86j3yic3n1jirclj8r1jwjn760fi89vl1xysrarq";}
|
||||
{name="kde-dev-utils";value="0807c8mq8rqqk8vf9r1idqmqrlfv9bsc8rjn8mfv2ch49mzzdrdj";}
|
||||
{name="kdegraphics-mobipocket";value="1m6lnkr460261iq634lz887dbhvmj56p97k4llch3h80ra10mlh8";}
|
||||
{name="kdegraphics-strigi-analyzer";value="1rqb1lzqb39p95xpf8c26pm9rxhcmycd518hxzp8arz6k2chazj8";}
|
||||
{name="kdegraphics-thumbnailers";value="04aaxjznb176ym89f06gp4bycg67zndwc451mkdr33mal58jh0zs";}
|
||||
{name="kdelibs";value="0dn0z1fs4vym7cp2749viw171dhay9ql2dp65a4hphmsdmk9bzv4";}
|
||||
{name="kdenetwork-filesharing";value="1r3a5y9nmcf06nqsdh8k4jny7dmrhya8xi3jwz0d1mfzlfjksyf7";}
|
||||
{name="kdenetwork-strigi-analyzers";value="0gqj5b91q3l5hna6zbgm17wi54g7g058n605adc1mch97yshqyrd";}
|
||||
{name="kdepim";value="00lsyg6762kd2qvhhqq6vrrrl1fbk07yd3ha8w1yyjwiy9cnsy7z";}
|
||||
{name="kdepimlibs";value="1h7k5ravilwz9r5lh7dqjnzh9h8hz43plbdaicjwk2sg4mqwzzhh";}
|
||||
{name="kdepim-runtime";value="1z631kag1gpmk2ljk64vhscr3lad3mj3599phh0i8jqlxvr4007c";}
|
||||
{name="kdeplasma-addons";value="0lfza3454hzbicqpz0ipjys9brjkblmpsngqg5njxd6ph9mzg34a";}
|
||||
{name="kde-runtime";value="05n5cllsjyf03bgisykrbc74i7a3nm5f0k6hnq9sphf8xnxl318x";}
|
||||
{name="kdesdk-kioslaves";value="045kf44s2gg3i2xl6087zn3cz80y7li26fzxdvvv89ywcq0npg59";}
|
||||
{name="kdesdk-strigi-analyzers";value="15xxpgiy5bp6m78crw448mzv3yijjzipsrybadrbwqz6p7dpysbv";}
|
||||
{name="kdesdk-thumbnailers";value="039rgq5p4mkdrilcvkf6k1d9d45swk74hdg3qnsbz3m47vqqf92h";}
|
||||
{name="kde-wallpapers";value="0z7ffz2i410k2xxl1cr8m74mm90c5sizpbhmhyqxwjlsbz1gwfya";}
|
||||
{name="kdewebdev";value="0ljwbzdcshjaz2dv7yp4ckj0c0jxa60ka6vjbhdmc4x7nvwnx737";}
|
||||
{name="kdf";value="0s8ms5h5gdfa3697xg1yzz0h2hijlv68gi2g7n7g3xwpawbqrzv1";}
|
||||
{name="kdiamond";value="10v7zrj4d96ppawjib1jgdz00455h8334w4vb619g448pj5h66sn";}
|
||||
{name="kfloppy";value="1fd7wwbxngaiy0fbxvqp027rp61jg8fwajz70lx7acs20kcs0301";}
|
||||
{name="kfourinline";value="1s2gc7zk932ks89c24pyimcsspnmabbmsdjh520xkzzxrp41gz0b";}
|
||||
{name="kgamma";value="0n19zrarda9fvhimgnm84mdcaqgcqn4qfr0yw6i76la24pjbl46y";}
|
||||
{name="kgeography";value="0w32841fligd3gyjl34q2f31jldw2vl47bi6cljwp7nlkdlp0lkn";}
|
||||
{name="kget";value="1kls245b5s2dlxcrpa4d969zlr2lw797p7p2ilyhb4rbv871c0wd";}
|
||||
{name="kgoldrunner";value="10xq9827gwib6w9h4hhys1v896rxqd50mz66k3frnrqals04zbbk";}
|
||||
{name="kgpg";value="1wa5ymibiqnjxl5ck94y1xh3qk0bx3v7k7n2y3jcvprmhglffx6j";}
|
||||
{name="khangman";value="1jfi30cb17gkn7v3i42wj0pqgaq3mr4fjbwh60ikvhxxd0nf5nny";}
|
||||
{name="kig";value="1z0f50m1hgr5jj79v5v610bdggy4knlqnbxpnwf6ihj60v3cn0x0";}
|
||||
{name="kigo";value="1klcgh3bpl3gqyh5zvij7ah754wjjf409a9l1xqxjigz4samnism";}
|
||||
{name="killbots";value="04vy4zybgqls4whymqnzgkfbmzb17cc1m2xf2hp32bq5fq0r8103";}
|
||||
{name="kimono";value="1bqbgch1z2nm143sp4lwnh3swvmvavhkj4scgx6d17m24jgd69hn";}
|
||||
{name="kiriki";value="04r7p5f9a2iwv7c40pcnbga5ldcfjjig31fx81ww0b6p62dv2vrl";}
|
||||
{name="kiten";value="1fxyy805b1q2sxdkd0hq2fr6plbnawzyascsbwychsqsasw2rmng";}
|
||||
{name="kjumpingcube";value="0q2hn6lvz5grwz10nqq5jkcg3j1lgqsmmmhmx0glr4c732hg1z1d";}
|
||||
{name="klettres";value="1w4340gaaip8imwy5d0058600v6fi7wnifppay2l7kvlp09iwmws";}
|
||||
{name="klickety";value="088xvrb1jn8f3cfh39387pzw9simrjan63c24hn76290fkqjadgq";}
|
||||
{name="klines";value="0n3bsvf5skr4816mjrd7zqjnh8vp5klvgx3h0025hwcbqyfa64bs";}
|
||||
{name="kmag";value="0x91b1fwvwppiwzsnvc0647429ffhn56gndykmmyzr27i45znk3r";}
|
||||
{name="kmahjongg";value="19qz7q5sr5xphzwxjf84h5vg0fll45fvs3pi5q9a5x5g4dy14wsv";}
|
||||
{name="kmines";value="1nm7di7xs727jvfvv2039hpgkxzddgfv6vvrw3jwls975akl1wmb";}
|
||||
{name="kmix";value="19s9z6m1v3wk5prngmm612r34013z7dkira83ap6kn3v32cfciry";}
|
||||
{name="kmousetool";value="1zf7d3k1jf5ydaiw7v7a34hd5w4fmgkd4g9427546x64n27vx0a2";}
|
||||
{name="kmouth";value="12n1x1imy7w3rn8g8zawmfivic0avzgrpmwm71hy7kxw9ya24yjg";}
|
||||
{name="kmplot";value="1zji3lkq332zgvccnlisdavwxh0d1x81131xcy25r36q9c42syj3";}
|
||||
{name="knavalbattle";value="0ibbahwck80z1dhycvm52k4nnj0pifzf9vi7j64kczc54z20b6d2";}
|
||||
{name="knetwalk";value="0j8lyv60rvs5w214vhpmkf0807vi8b2vc8lglmmvz66cpw42c45z";}
|
||||
{name="kolf";value="060dmnpr84g1512l0c0myxf1h1qp4jdsfgnxg5vwpciqk0dc9qhy";}
|
||||
{name="kollision";value="033x8dg57f5amsnignri6ln8adavbaw1l3sydlf0jrw7ww3qvw1h";}
|
||||
{name="kolourpaint";value="0c7i95cplwvxxm6aqgsk70q8ny8yfarcah9113vk6b81llbwn5sc";}
|
||||
{name="kompare";value="0mq2v9nissb5s41lwvjbpba6fznkzwah9a7yisjq1nq47rp4ymqb";}
|
||||
{name="konquest";value="0bsqxr12x9qgk4al21s2hrm48hv15ir98792z8jna3d5w6j0a2zy";}
|
||||
{name="konsole";value="13kv6pmziqfis4qxkfxbmm3yiy2w3fy2l2qi68l0s6yiaqkd9y37";}
|
||||
{name="kopete";value="012zjq0zmqkgahnzzj02xaqhsh800bn1x7sj8vmv1mxqyi66srvy";}
|
||||
{name="korundum";value="1qyk8gvzcjwi5pi7s0a74glyvi1mi7k5z5ilza16y0z5k6ffgvck";}
|
||||
{name="kpat";value="0lmhygv4l1vkmbf7vmrbns6fl1anbcxsnldn0hccdpp73x1py88g";}
|
||||
{name="kppp";value="0nnz137c384xlnrvy625zdjfzzrp6yrcfnn9gw6fs81cq4zwrr64";}
|
||||
{name="krdc";value="0g7p94q0h3i3j9wwcmmiylz0604v4z9f0b2dppfiaq5bnz9m5pdl";}
|
||||
{name="kremotecontrol";value="1hg4fq6ypws4zb07glsrflmr7vq35h7qqmjf5r5b5j53xqmgr6hp";}
|
||||
{name="kreversi";value="059xsi9x6jhsdsgrxrk08haz1v4p4i46l7zkg8id64s9kvywgn5j";}
|
||||
{name="krfb";value="01l8jv5ad3gc5kxjbr7k4ggcipc5903z82pq9616mk0qpd96j6jb";}
|
||||
{name="kross-interpreters";value="0cdb9kaq9fdjaxks83z3gvjwwhz94g4kgjq1rp6wmzwydk28ip6i";}
|
||||
{name="kruler";value="0i9n2znhm6llriipvrrjh8yymj76a17895w7kbcyd41srk0akk5i";}
|
||||
{name="ksaneplugin";value="1fqkbf47ajw7ckzipphdjpnpv4gk426k1rpq3z1qlbag9f9wvxsd";}
|
||||
{name="kscd";value="1f8099bhylrr5m3a5lrmjxz2rz59k3qi1abfjs63hk2z523p99n3";}
|
||||
{name="kshisen";value="1nhq2rxiylzr7klpqqbhl35v7s4prv15wrckgx84mdm5hmyh4nsw";}
|
||||
{name="ksirk";value="0s577h7sswqr44mzmm2a5gi62w8lpzivy9xy5jpib3iw768a9gxy";}
|
||||
{name="ksnakeduel";value="09jp1cd138cqv131h7m3c994zwxbn97yw77fq1yrcfgyspmdx0x9";}
|
||||
{name="ksnapshot";value="1fiqracij106c22b0ws6n047wn4fww5fzli8rqjas5m25931azl4";}
|
||||
{name="kspaceduel";value="1a2n9kyn6y62yps5apclgpmzbchdrfn3lck9fl68alk0bpqdnz1n";}
|
||||
{name="ksquares";value="1bg9na03ph1lignnl6fdxkvcbsq77dskbgn8d7hyq1p800n7jx7q";}
|
||||
{name="kstars";value="1wf13434sxxwikrp29jl5klggmv0ln73a57rs0m4gr4zrjvbrs2s";}
|
||||
{name="ksudoku";value="1nq4nj1q723s7gv1d0l3wafs2d6wz67xhir2sa1wsw12dzh856vf";}
|
||||
{name="ksystemlog";value="0khb92vxr0hfny2yxwnww33ahgm9gmmrf5h7qaj0lqnyrh5fcl6c";}
|
||||
{name="kteatime";value="13jzf4mcq8glkhg5szpawj2k0ss4qfzrjhpmjn3m3grz1zf167sw";}
|
||||
{name="ktimer";value="0y6q9khxlmb7pgds4f9a83aqnbn0gwbi3r15s8vf72qr3qj3f5xc";}
|
||||
{name="ktouch";value="1swdkzvm9q4r8ily7n4cs91y186zlzys7kjs3lf2q46d63l9nfdz";}
|
||||
{name="ktuberling";value="0fzd17hvb2zaqwd0fw6f3rq0mlq8xrmz155dyg916jg2alslicxh";}
|
||||
{name="kturtle";value="1hlfv77g0v48qfqwpqqnw5qf8fcl4v38612v3jy5z038g4sacxkx";}
|
||||
{name="ktux";value="0shib3f2gcdgf88zh2w67kizbmj7gz0vqy8ff5vmr75fp44111b4";}
|
||||
{name="kubrick";value="1dkd7rzkxyk71hd4r9l6nlvcl3zj8vf6i9v1gqi8zjrqwpxvf188";}
|
||||
{name="kuser";value="1qc4wk5q9y7mmkfjqndcby7782z2aaj7x1cc4dcmds01glm2bw6j";}
|
||||
{name="kwalletmanager";value="1f0ncnx3d6z3v373095nhydj844hiva64qh80cc7rmb624vlcsa4";}
|
||||
{name="kwordquiz";value="1m0zi0gldw7shjy4nhiw2azgrfvhcmm5h423gckjczpqd9f17ihd";}
|
||||
{name="libkcddb";value="0k1xr8z3dmfq08qh7fkjhi2v523lhy1inmggnk3gaxzarlvhqxxa";}
|
||||
{name="libkcompactdisc";value="03ch51firb2xcqwy3p6q5j5zr9570nvqa5cgd5yj7pjnzdwcjxv8";}
|
||||
{name="libkdcraw";value="1ypamhdk8y7vb9y250vilmv5dgxf1svvsw329yxc146ii0pb4nwr";}
|
||||
{name="libkdeedu";value="0m20vxa9x2ww7xmq1a7j4pmqsdj5pp05hsg4q64slz69m5npi30r";}
|
||||
{name="libkdegames";value="1hz02x2k7iiw0i78ifa4ji60l87by855v5f6pm3ksw3rdw0ipz9v";}
|
||||
{name="libkexiv2";value="0mz88j3kszqxf518h7n0fjnql2iqwx780hv4jhvrkraclf4czng9";}
|
||||
{name="libkipi";value="0x4d356c20fdjaqadzaqhsf43v9c9bgbwbyy304q2w329m8ab058";}
|
||||
{name="libkmahjongg";value="0911knwvhwa77hr0ncqwjqzfcyvgi806ckyldglrhvm0gw0mgy60";}
|
||||
{name="libkomparediff2";value="0rn5xhbnywjjbk9qx3xw3gss57l105a4a4v05gh9vvl82hc5sfzx";}
|
||||
{name="libksane";value="19zibd1y96sxwnpdxkd752jiky83b8is85qi7six60g5kkzi948m";}
|
||||
{name="lokalize";value="0sl9i146rx0ls3rii6893alkvsjv8ln0d5yabd72f8kagsaw42h7";}
|
||||
{name="lskat";value="1flx7l8svf51fkr3lw0z85d0gkrabjzi73w4qn2wnsaz9wr6kahi";}
|
||||
{name="marble";value="1gvlq0si76bk4yd8dfbixzwxj618ifd2jlr7fq6f9mx498cvifpi";}
|
||||
{name="mplayerthumbs";value="1nw01216mghwxz7zhkf7px5kkb2d4dqdk7par20agvw2raan9axi";}
|
||||
{name="nepomuk-core";value="0gavipa1hn5aw77q3xrdv9464l8qpabq6kawlvjvv90hjvs8clis";}
|
||||
{name="nepomuk-widgets";value="1cr4v4s567vcx1046gj066xfmhrqx4g6lipffr6d3wdq9cgy5y5i";}
|
||||
{name="okteta";value="0maadxyngj8an0hl3kidvmgj538n6vzpz964yilzj6qrry9f46wc";}
|
||||
{name="okular";value="0cmcaqpaxx8910qmsvag6spjbchdbv6j9hgbizw6qq09kz4d9a7k";}
|
||||
{name="oxygen-icons";value="00l7qy95za3c323hkjiihavmq2vjm2yi81yn4cgwpnc5l336pynb";}
|
||||
{name="pairs";value="15kafhp54dsrv2466j9gnn0c8iqbfx4frrql0r6v5qza015vybr9";}
|
||||
{name="palapeli";value="0bx7qqidywxwkj9vdbzpqsy2fvkjgf9vj8nqk5ypx7jm7da87y94";}
|
||||
{name="parley";value="163xnfd9h8r6dp3riqs3s32qaramyf225bhy6y9laknbrr9lxnsm";}
|
||||
{name="perlkde";value="05ybh43ckfq5qh03pklkgiajc2s6b6cmvp5alx0dvq605h5z881f";}
|
||||
{name="perlqt";value="1fn3gxb8b4kx7g24pnrbg42dv17hn2wv70g53yfr6z277ljinxzl";}
|
||||
{name="picmi";value="19gli6mii15qya9hi6qyb52rsk2n2dk6r4kzla99ps3cs8n4h9x8";}
|
||||
{name="poxml";value="11cwhjil8vdwwpmp1l61335b5j9714hbxiyqw0wyxcr6yccasbdf";}
|
||||
{name="print-manager";value="0v940bsksw04ymxq56lgm6sprkdlyzjm5fgsm24yb564nay3x42h";}
|
||||
{name="pykde4";value="00gpjqgsfv83xfk1xmglr8c32ln9cc05m4nf1qbd3gvr5jb6cxmg";}
|
||||
{name="qtruby";value="1312v8vn091q5lh81cm5z5wkgidigdngqkjs3kf7lp9d1k50ai47";}
|
||||
{name="qyoto";value="0sjii1i31x1cxhr5y5ijaain9ql75fbba9ss1cxz9agswp95kpcz";}
|
||||
{name="rocs";value="0h72mrb65gnk36g9d4l55bm7kfldh3v95hbv0wxad0p9v7baxmn2";}
|
||||
{name="smokegen";value="0x4qz1pk8wn4vq0fmy344v9m1gh12dav3n71z6xi4pnpmpmq7kna";}
|
||||
{name="smokekde";value="1wl88jy9yvvrykzknj1vy7rqhfxr52q053y2jmay53hvx1iaqjxm";}
|
||||
{name="smokeqt";value="1lphdjxcvysn1lkq6yj7z5pmhzlwpkj3xx7izfdk1g6a1pkjwr7j";}
|
||||
{name="step";value="0ma7748ixi00zw9hrjjlgbb7d1a4cr124ka3ymn45sa4q4mza3zh";}
|
||||
{name="superkaramba";value="0xbs2k863p2yg2k7wn70gbwvriin4lv2hv78r5m6fwvb4rsjygsb";}
|
||||
{name="svgpart";value="1svwqxcxl2wp4wq9s3q6crys7jmz072wp4qz69fvqcvp1cd92gsp";}
|
||||
{name="sweeper";value="19lsqw192h3863fbd265didviy7m4wk6qwfgnhc7sxaxxccm19y4";}
|
||||
{name="umbrello";value="0lmygjjsqiw0xnv4d3d1yb1b5zlnj18lh01k954ycl8f50cxsv9a";}
|
||||
{name="zeroconf-ioslave";value="1324mx9gsr6ghi7m1qk4kwr91g8wfd3jsw3rzp26nhrlwjsa5j6a";}
|
||||
];
|
||||
modules=[
|
||||
{
|
||||
module="kdemultimedia";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="audiocd-kio"; sane="audiocd_kio"; }
|
||||
{ name="dragon"; }
|
||||
{ name="ffmpegthumbs"; }
|
||||
{ name="juk"; }
|
||||
{ name="kmix"; }
|
||||
{ name="kscd"; }
|
||||
{ name="libkcddb"; }
|
||||
{ name="libkcompactdisc"; }
|
||||
{ name="mplayerthumbs"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdegraphics";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="gwenview"; }
|
||||
{ name="kamera"; }
|
||||
{ name="kcolorchooser"; }
|
||||
{ name="kdegraphics-mobipocket"; sane="kdegraphics_mobipocket"; }
|
||||
{ name="kdegraphics-strigi-analyzer"; sane="kdegraphics_strigi_analyzer"; }
|
||||
{ name="kdegraphics-thumbnailers"; sane="kdegraphics_thumbnailers"; }
|
||||
{ name="kgamma"; }
|
||||
{ name="kolourpaint"; }
|
||||
{ name="kruler"; }
|
||||
{ name="ksaneplugin"; }
|
||||
{ name="ksnapshot"; }
|
||||
{ name="libkdcraw"; }
|
||||
{ name="libkexiv2"; }
|
||||
{ name="libkipi"; }
|
||||
{ name="libksane"; }
|
||||
{ name="okular"; }
|
||||
{ name="svgpart"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdelibs";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="kdelibs"; }
|
||||
{ name="nepomuk-core"; sane="nepomuk_core"; }
|
||||
{ name="nepomuk-widgets"; sane="nepomuk_widgets"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdenetwork";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="kdenetwork-filesharing"; sane="kdenetwork_filesharing"; }
|
||||
{ name="kdenetwork-strigi-analyzers"; sane="kdenetwork_strigi_analyzers"; }
|
||||
{ name="zeroconf-ioslave"; }
|
||||
{ name="kget"; }
|
||||
{ name="kopete"; }
|
||||
{ name="kppp"; }
|
||||
{ name="krdc"; }
|
||||
{ name="krfb"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdeutils";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="ark"; }
|
||||
{ name="filelight"; }
|
||||
{ name="kcalc"; }
|
||||
{ name="kcharselect"; }
|
||||
{ name="kdf"; }
|
||||
{ name="kfloppy"; }
|
||||
{ name="kgpg"; }
|
||||
{ name="kremotecontrol"; }
|
||||
{ name="ktimer"; }
|
||||
{ name="kwalletmanager"; }
|
||||
{ name="print-manager"; sane="print_manager"; }
|
||||
{ name="superkaramba"; }
|
||||
{ name="sweeper"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="applications";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="kate"; }
|
||||
{ name="konsole"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdetoys";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="amor"; }
|
||||
{ name="kteatime"; }
|
||||
{ name="ktux"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdesdk";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="cervisia"; }
|
||||
{ name="dolphin-plugins"; sane="dolphin_plugins"; }
|
||||
{ name="kapptemplate"; }
|
||||
{ name="kcachegrind"; }
|
||||
{ name="kde-dev-scripts"; sane="kde_dev_scripts"; }
|
||||
{ name="kde-dev-utils"; sane="kde_dev_utils"; }
|
||||
{ name="kdesdk-kioslaves"; sane="kdesdk_kioslaves"; }
|
||||
{ name="kdesdk-strigi-analyzers"; sane="kdesdk_strigi_analyzers"; }
|
||||
{ name="kdesdk-thumbnailers"; sane="kdesdk_thumbnailers"; }
|
||||
{ name="kompare"; }
|
||||
{ name="libkomparediff2"; }
|
||||
{ name="lokalize"; }
|
||||
{ name="okteta"; }
|
||||
{ name="poxml"; }
|
||||
{ name="umbrello"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdegames";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="bomber"; }
|
||||
{ name="bovo"; }
|
||||
{ name="granatier"; }
|
||||
{ name="kajongg"; }
|
||||
{ name="kapman"; }
|
||||
{ name="katomic"; }
|
||||
{ name="kblackbox"; }
|
||||
{ name="kblocks"; }
|
||||
{ name="kbounce"; }
|
||||
{ name="kbreakout"; }
|
||||
{ name="kdiamond"; }
|
||||
{ name="kfourinline"; }
|
||||
{ name="kgoldrunner"; }
|
||||
{ name="kigo"; }
|
||||
{ name="killbots"; }
|
||||
{ name="kiriki"; }
|
||||
{ name="kjumpingcube"; }
|
||||
{ name="klickety"; }
|
||||
{ name="klines"; }
|
||||
{ name="kmahjongg"; }
|
||||
{ name="kmines"; }
|
||||
{ name="knavalbattle"; }
|
||||
{ name="knetwalk"; }
|
||||
{ name="kolf"; }
|
||||
{ name="kollision"; }
|
||||
{ name="konquest"; }
|
||||
{ name="kpat"; }
|
||||
{ name="kreversi"; }
|
||||
{ name="kshisen"; }
|
||||
{ name="ksirk"; }
|
||||
{ name="ksnakeduel"; }
|
||||
{ name="kspaceduel"; }
|
||||
{ name="ksquares"; }
|
||||
{ name="ksudoku"; }
|
||||
{ name="ktuberling"; }
|
||||
{ name="kubrick"; }
|
||||
{ name="libkdegames"; }
|
||||
{ name="libkmahjongg"; }
|
||||
{ name="lskat"; }
|
||||
{ name="palapeli"; }
|
||||
{ name="picmi"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdeedu";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="analitza"; }
|
||||
{ name="blinken"; }
|
||||
{ name="cantor"; }
|
||||
{ name="kalgebra"; }
|
||||
{ name="kalzium"; }
|
||||
{ name="kanagram"; }
|
||||
{ name="kbruch"; }
|
||||
{ name="kgeography"; }
|
||||
{ name="khangman"; }
|
||||
{ name="kig"; }
|
||||
{ name="kiten"; }
|
||||
{ name="klettres"; }
|
||||
{ name="kmplot"; }
|
||||
{ name="kstars"; }
|
||||
{ name="ktouch"; }
|
||||
{ name="kturtle"; }
|
||||
{ name="kwordquiz"; }
|
||||
{ name="libkdeedu"; }
|
||||
{ name="marble"; }
|
||||
{ name="pairs"; }
|
||||
{ name="parley"; }
|
||||
{ name="rocs"; }
|
||||
{ name="step"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdeadmin";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="kcron"; }
|
||||
{ name="ksystemlog"; }
|
||||
{ name="kuser"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdebindings";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="kimono"; }
|
||||
{ name="korundum"; }
|
||||
{ name="kross-interpreters"; sane="kross_interpreters"; }
|
||||
{ name="perlkde"; }
|
||||
{ name="perlqt"; }
|
||||
{ name="pykde4"; }
|
||||
{ name="qtruby"; }
|
||||
{ name="qyoto"; }
|
||||
{ name="smokegen"; }
|
||||
{ name="smokekde"; }
|
||||
{ name="smokeqt"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kdeaccessibility";
|
||||
split=true;
|
||||
pkgs=[
|
||||
{ name="jovie"; }
|
||||
{ name="kaccessible"; }
|
||||
{ name="kmag"; }
|
||||
{ name="kmousetool"; }
|
||||
{ name="kmouth"; }
|
||||
];
|
||||
}
|
||||
{
|
||||
module="kde-baseapps";
|
||||
sane="kde_baseapps"; split=true;
|
||||
pkgs=[
|
||||
{ name="kde-baseapps"; sane="kde_baseapps"; }
|
||||
];
|
||||
}
|
||||
{ module="kactivities"; split=false;}
|
||||
{ module="kdeartwork"; split=false;
|
||||
pkgs=[
|
||||
{ name="ColorSchemes"; }
|
||||
{ name="IconThemes"; }
|
||||
{ name="emoticons"; }
|
||||
{ name="kscreensaver"; }
|
||||
{ name="kwin-styles"; sane="kwin_styles";}
|
||||
{ name="styles"; }
|
||||
{ name="wallpapers"; }
|
||||
{ name="HighResolutionWallpapers"; }
|
||||
{ name="WeatherWallpapers"; }
|
||||
{ name="desktopthemes"; }
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kde-base-artwork"; sane="kde_base_artwork"; split=false;}
|
||||
{ module="kdelibs"; split=false;}
|
||||
{ module="kdepim"; split=false;}
|
||||
{ module="kdepimlibs"; split=false;}
|
||||
{ module="kdepim-runtime"; sane="kdepim_runtime"; split=false;}
|
||||
{ module="kdeplasma-addons"; sane="kdeplasma_addons"; split=false;}
|
||||
{ module="kde-runtime"; sane="kde_runtime"; split=false;}
|
||||
{ module="kde-wallpapers"; sane="kde_wallpapers"; split=false;}
|
||||
{ module="kdewebdev"; split=false;
|
||||
pkgs=[
|
||||
{ name="klinkstatus"; }
|
||||
{ name="kfilereplace"; }
|
||||
{ name="kimagemapeditor"; }
|
||||
{ name="kommander"; }
|
||||
];
|
||||
|
||||
}
|
||||
{ module="kde-workspace"; sane="kde_workspace"; split=false;}
|
||||
{ module="oxygen-icons"; sane="oxygen_icons"; split=false;}
|
||||
];
|
||||
}
|
129
pkgs/desktops/kde-4.13/kde-package/default.nix
Normal file
129
pkgs/desktops/kde-4.13/kde-package/default.nix
Normal file
@ -0,0 +1,129 @@
|
||||
{ callPackage, runCommand, stdenv, fetchurl, qt4, cmake, automoc4
|
||||
, release, branch, ignoreList, extraSubpkgs
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) filter fold;
|
||||
inherit (builtins) getAttr hasAttr remoteAttrs listToAttrs tail head;
|
||||
in
|
||||
rec {
|
||||
manifest = import (./. + "/${release}.nix");
|
||||
|
||||
# src attribute for $name tarball
|
||||
kdesrc = name: fetchurl {
|
||||
url = "mirror://kde/" + (if manifest.stable then "" else "un")
|
||||
+ "stable/${release}/src/${name}-${release}.tar.xz";
|
||||
sha256 = getAttr name manifest.hashes;
|
||||
};
|
||||
|
||||
# Default meta attribute
|
||||
defMeta = {
|
||||
homepage = http://www.kde.org;
|
||||
inherit branch;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
inherit (qt4.meta) maintainers;
|
||||
};
|
||||
|
||||
# KDE package built from the whole tarball
|
||||
# This function is used both for monolithic modules and modules which are
|
||||
# released as individual tarballs
|
||||
kdeMonoPkg = name: let n_ = name; in a@{meta, name ? n_, version ? release, ...}:
|
||||
stdenv.mkDerivation ({
|
||||
name = "${name}-${version}";
|
||||
src = kdesrc name;
|
||||
meta = defMeta // meta;
|
||||
enableParallelBuilding = true;
|
||||
} // (removeAttrs a [ "meta" "name" ]));
|
||||
|
||||
# kdeMonoPkg wrapper for modules splitted upstream compatible with combinePkgs
|
||||
# API.
|
||||
kdeSplittedPkg = module: {name, sane ? name}: kdeMonoPkg name;
|
||||
|
||||
# Build subdirectory ${subdir} of tarball ${module}-${release}.tar.xz
|
||||
kdeSubdirPkg = module:
|
||||
{name, subdir ? name, sane ? name}:
|
||||
let name_ = name; in
|
||||
a@{cmakeFlags ? [], name ? name_, meta ? {}, ...}:
|
||||
stdenv.mkDerivation ({
|
||||
name = "${name}-${release}";
|
||||
src = kdesrc module;
|
||||
cmakeFlags =
|
||||
[ "-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE"
|
||||
"-DBUILD_doc=TRUE"
|
||||
"-DBUILD_${subdir}=TRUE"
|
||||
] ++ cmakeFlags;
|
||||
meta = defMeta // meta;
|
||||
enableParallelBuilding = module.enableParallelBuilding or true;
|
||||
} // (removeAttrs a [ "meta" "name" "cmakeFlags" ]));
|
||||
|
||||
# A KDE monolithic module
|
||||
kdeMonoModule = name: path: callPackage path { kde = kdeMonoPkg name; };
|
||||
|
||||
# Combine packages in one module.
|
||||
# Arguments:
|
||||
# * pkgFun --- a function of the following signature:
|
||||
# module: manifest_attrs: manual_attrs: derivation;
|
||||
# * module --- name of the module
|
||||
# * pkgs --- list of packages in manifest format
|
||||
combinePkgs = pkgFun: module: pkgs:
|
||||
let
|
||||
f = p@{name, ...}:
|
||||
callPackage (./.. + "/${module}/${name}.nix") { kde = pkgFun module p; };
|
||||
list = map f pkgs;
|
||||
attrs = listToAttrs (map
|
||||
({name, sane ? name, ...}@p: { name = sane; value = f p; })
|
||||
pkgs);
|
||||
in
|
||||
runCommand "${module}-${release}"
|
||||
({passthru = attrs // {
|
||||
propagatedUserEnvPackages = list;
|
||||
projects = attrs;
|
||||
};})
|
||||
''
|
||||
mkdir -pv $out/nix-support
|
||||
echo "${toString list}" | tee $out/nix-support/propagated-user-env-packages
|
||||
'';
|
||||
|
||||
# Given manifest module data, return the module
|
||||
kdeModule = { module, sane ? module, split, pkgs ? [] }:
|
||||
let
|
||||
pkgs_ = filterPkgs module pkgs;
|
||||
in
|
||||
# Module is splitted by upstream
|
||||
if split then combinePkgs kdeSplittedPkg module pkgs_
|
||||
# Monolithic module
|
||||
else if pkgs == [] then kdeMonoModule module (./.. + "/${module}.nix")
|
||||
# Module is splitted by us
|
||||
else combinePkgs kdeSubdirPkg module pkgs_;
|
||||
|
||||
# The same, as nameValuePair with sane name
|
||||
kdeModuleNV = a@{ module, sane ? module, ... }:
|
||||
{ name = sane; value = kdeModule a; };
|
||||
|
||||
filterPkgs = module: (p:
|
||||
removeNames (stdenv.lib.attrByPath [module] [] ignoreList) p
|
||||
++ (stdenv.lib.attrByPath [module] [] extraSubpkgs));
|
||||
|
||||
# Remove attrsets with x.name in subst. Optimized for empty subst.
|
||||
removeNames = subst: big:
|
||||
fold (s: out: filter (x: x.name != s) out) big subst;
|
||||
|
||||
modules = listToAttrs (map kdeModuleNV manifest.modules);
|
||||
|
||||
splittedModuleList =
|
||||
let
|
||||
splitted = filter (a: a ? pkgs) manifest.modules;
|
||||
names = map ({module, sane ? module, ...}: sane) splitted;
|
||||
in
|
||||
map (m: m.projects) (stdenv.lib.attrVals names modules);
|
||||
|
||||
individual =
|
||||
stdenv.lib.zipAttrsWith
|
||||
(
|
||||
name: list:
|
||||
if tail list == []
|
||||
then head list
|
||||
else abort "Multiple modules define ${name}"
|
||||
)
|
||||
splittedModuleList;
|
||||
}
|
146
pkgs/desktops/kde-4.13/kde-package/kde-manifest.sh
Executable file
146
pkgs/desktops/kde-4.13/kde-package/kde-manifest.sh
Executable file
@ -0,0 +1,146 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Usage: download kde release to $dir, then run
|
||||
# $0 $dir
|
||||
|
||||
dir="$1"
|
||||
|
||||
# Detect release number & whether it is a stable release
|
||||
if [[ ! -d "${dir}" ]]; then
|
||||
echo "${dir} is not a directory (or doesn't exist)!" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
release=$(ls "${dir}"/kdelibs-*.tar.xz | \
|
||||
sed -e 's/.*kdelibs-//' -e 's/\.tar\.xz//')
|
||||
|
||||
if [[ ${release##*.} -gt 50 ]]; then
|
||||
stable="false"
|
||||
else
|
||||
stable="true"
|
||||
fi
|
||||
|
||||
echo "Detected release ${release}" >&2
|
||||
|
||||
declare -A hash
|
||||
declare -A modules
|
||||
declare -a packages
|
||||
declare -a top_level
|
||||
|
||||
# xsltproc output declares -A module
|
||||
if [[ ! -f kde_projects.xml ]]; then
|
||||
curl -O -J http://projects.kde.org/kde_projects.xml
|
||||
fi
|
||||
eval `xsltproc kde-submodules.xslt kde_projects.xml`
|
||||
|
||||
module[kde-baseapps]=kde-baseapps
|
||||
unset module[kactivities]
|
||||
|
||||
print_sane() {
|
||||
echo "Called print_sane $1" >&2
|
||||
sane="${1//[^a-z0-9_]/_}"
|
||||
if [[ "$sane" != "$1" ]]; then
|
||||
echo "Sane version is $sane" >&2
|
||||
echo -n "sane=\"$sane\";"
|
||||
fi
|
||||
}
|
||||
|
||||
for i in `cd "${dir}"; ls *-${release}.tar.xz`; do
|
||||
package=${i%-${release}.tar.xz}
|
||||
packages+=( "$package" )
|
||||
echo -n "${package}.. " >&2
|
||||
hash[$package]=$(nix-hash --type sha256 --flat --base32 "${dir}/${i}")
|
||||
echo -n ${hash[$package]} >&2
|
||||
|
||||
if [ -n "${module[$package]}" ]; then
|
||||
m="${module[$package]}"
|
||||
echo " (${m})" >&2
|
||||
modules[$m]=1
|
||||
else
|
||||
top_level+=( "$package" )
|
||||
echo " (top-level)" >&2
|
||||
fi
|
||||
#nix-store --add-fixed sha256 "${dir}/${i}" >&2
|
||||
done
|
||||
|
||||
|
||||
print_pkg_hash() {
|
||||
echo " {name=\"${1}\";value=\"${hash[$1]}\";}"
|
||||
}
|
||||
|
||||
print_hashes(){
|
||||
echo "hashes=builtins.listToAttrs["
|
||||
for p in "${packages[@]}"; do print_pkg_hash "$p"; done
|
||||
echo "];"
|
||||
}
|
||||
|
||||
print_split_module(){
|
||||
echo -n "$1:" >&2
|
||||
echo -e "{\n module=\"$1\";"
|
||||
print_sane "$1"
|
||||
echo " split=true;"
|
||||
echo " pkgs=["
|
||||
for p in "${packages[@]}"; do
|
||||
if [[ "${module[$p]}" == "$1" ]]; then
|
||||
echo -n " { name=\"$p\"; "
|
||||
print_sane "$p"
|
||||
echo " }"
|
||||
echo -n " $p" >&2
|
||||
fi
|
||||
done
|
||||
echo " ];"
|
||||
echo "}"
|
||||
echo >&2
|
||||
}
|
||||
|
||||
print_mono_module(){
|
||||
echo -en "{ module=\"$1\"; "
|
||||
print_sane "$1"
|
||||
echo -n "$1 ... " >&2
|
||||
echo -n " split=false;"
|
||||
cml="$1-$release/CMakeLists.txt"
|
||||
tar -xf "${dir}/$1-${release}.tar.xz" "$cml"
|
||||
if grep '^[^#]*add_subdirectory' $cml >/dev/null; then
|
||||
if grep '^[^#]*add_subdirectory' $cml | grep -v macro_optional_add_subdirectory >/dev/null; then
|
||||
echo " is monolithic (has unconditionally added subdirs)" >&2
|
||||
else
|
||||
subdirs=( `grep '^[^#]*add_subdirectory' $cml |
|
||||
sed -e 's/[^#]*add_subdirectory *( *\(.*\) *)/\1/' |
|
||||
grep -v '\(doc\|cmake\)'` )
|
||||
echo " seems splittable, subdirs: ${subdirs[*]}" >&2
|
||||
echo -e "\n pkgs=["
|
||||
for s in "${subdirs[@]}"; do
|
||||
echo -en " {"
|
||||
echo -n " name=\"${s//\//-}\"; "
|
||||
print_sane "$s"
|
||||
if [[ $s != "${s//\//-}" ]]; then
|
||||
echo -n "subdir=\"$s\"; "
|
||||
fi
|
||||
echo "}"
|
||||
done
|
||||
echo -e " ];\n"
|
||||
fi
|
||||
else
|
||||
echo " is monolithic (has no subdirs)" >&2
|
||||
fi
|
||||
rm $cml
|
||||
rmdir $1-$release
|
||||
echo "}"
|
||||
}
|
||||
|
||||
print_modules(){
|
||||
echo "modules=["
|
||||
echo "Printing modules splitted by upstream" >&2
|
||||
for m in "${!modules[@]}"; do print_split_module "$m"; done
|
||||
echo >&2
|
||||
echo "Printing modules not splitted by upstream (${top_level[*]})" >&2
|
||||
for m in "${top_level[@]}"; do print_mono_module "$m"; done
|
||||
echo "];"
|
||||
}
|
||||
|
||||
echo "Writing ${release}.nix" >&2
|
||||
exec > "${release}.nix"
|
||||
echo "{stable=${stable};"
|
||||
print_hashes
|
||||
print_modules
|
||||
echo "}"
|
22
pkgs/desktops/kde-4.13/kde-package/kde-submodules.xslt
Normal file
22
pkgs/desktops/kde-4.13/kde-package/kde-submodules.xslt
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- xslt file for http://projects.kde.org/kde_projects.xml -->
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
|
||||
<xsl:output method="text" />
|
||||
<xsl:template match="/">
|
||||
<xsl:for-each select="kdeprojects/component[@identifier='kde']">
|
||||
<xsl:text>declare -A module
</xsl:text>
|
||||
<xsl:for-each select="module">
|
||||
<xsl:variable name="module" select='@identifier' />
|
||||
<xsl:for-each select=".//project[repo]">
|
||||
<xsl:text>module["</xsl:text>
|
||||
<xsl:value-of select='@identifier' />
|
||||
<xsl:text>"]="</xsl:text>
|
||||
<xsl:value-of select="$module" />
|
||||
<xsl:text>"
</xsl:text>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
24
pkgs/desktops/kde-4.13/kde-runtime.nix
Normal file
24
pkgs/desktops/kde-4.13/kde-runtime.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ kde, kdelibs, bzip2, libssh, exiv2, attica, qca2
|
||||
, libcanberra, virtuoso, samba, libjpeg, ntrack, pkgconfig, xz, pulseaudio
|
||||
, networkmanager, kactivities, kdepimlibs, openexr, ilmbase, gpgme
|
||||
}:
|
||||
|
||||
kde {
|
||||
buildInputs = [
|
||||
kdelibs attica xz bzip2 libssh libjpeg exiv2 ntrack
|
||||
qca2 samba libcanberra pulseaudio gpgme
|
||||
networkmanager kactivities kdepimlibs openexr
|
||||
#todo: add openslp
|
||||
#todo: gpgme can't be found because cmake module is provided by kdepimlibs which are found too late
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
|
||||
|
||||
passthru.propagatedUserEnvPackages = [ virtuoso ];
|
||||
|
||||
meta = {
|
||||
license = "LGPL";
|
||||
};
|
||||
}
|
17
pkgs/desktops/kde-4.13/kde-wallpapers.nix
Normal file
17
pkgs/desktops/kde-4.13/kde-wallpapers.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ kde, cmake }:
|
||||
|
||||
kde {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
patches = [ ./files/kde-wallpapers-buildsystem.patch ];
|
||||
|
||||
cmakeFlags = "-DWALLPAPER_INSTALL_DIR=share/wallpapers";
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "1yg9c780xdxa60bw832cqj60v87cbvjxp27k6gacj2lwk7rm5hwg";
|
||||
|
||||
meta = {
|
||||
description = "Wallpapers for KDE";
|
||||
};
|
||||
}
|
46
pkgs/desktops/kde-4.13/kde-workspace.nix
Normal file
46
pkgs/desktops/kde-4.13/kde-workspace.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ kde, kdelibs, qimageblitz, libdbusmenu_qt, xorg, lm_sensors
|
||||
, pciutils, libraw1394, libusb1, python, libqalculate, akonadi
|
||||
, xkeyboard_config, kdepimlibs, pam, boost, gpsd, prison
|
||||
, libjpeg, pkgconfig, kactivities, qjson, udev, fetchurl
|
||||
}:
|
||||
|
||||
kde {
|
||||
|
||||
version = "4.11.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/4.12.2/src/kde-workspace-4.11.6.tar.xz";
|
||||
sha256 = "0lk3k9zl4x4il5dqpw7mf25gv8a3y48fd3jq3jvgmwwlviwcpcz1";
|
||||
};
|
||||
|
||||
#todo: wayland, xmms, libusb isn't found
|
||||
buildInputs =
|
||||
[ kdelibs qimageblitz libdbusmenu_qt xorg.libxcb xorg.xcbutilimage libjpeg
|
||||
xorg.xcbutilrenderutil xorg.xcbutilkeysyms xorg.libpthreadstubs xorg.libXdmcp
|
||||
xorg.libxkbfile xorg.libXcomposite xorg.libXtst
|
||||
xorg.libXdamage
|
||||
|
||||
python boost qjson lm_sensors gpsd libraw1394 pciutils udev
|
||||
akonadi pam libusb1 libqalculate kdepimlibs prison
|
||||
kactivities
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
# Fix incorrect path to kde4-config.
|
||||
substituteInPlace startkde.cmake --replace '$bindir/kde4-config' ${kdelibs}/bin/kde4-config
|
||||
|
||||
# Fix the path to the keyboard configuration files.
|
||||
substituteInPlace kcontrol/keyboard/xkb_rules.cpp \
|
||||
--replace /usr/share/X11 ${xkeyboard_config}/etc/X11
|
||||
'';
|
||||
|
||||
enableParallelBuilding = false; # frequent problems on Hydra
|
||||
|
||||
meta = {
|
||||
description = "KDE workspace components such as Plasma, Kwin and System Settings";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeaccessibility/jovie.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeaccessibility/jovie.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, speechd }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs speechd ];
|
||||
|
||||
meta = {
|
||||
description = "Text-to-speech synthesis daemon";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeaccessibility/kaccessible.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeaccessibility/kaccessible.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, speechd }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs speechd ];
|
||||
|
||||
meta = {
|
||||
description = "Bridge that provides accessibility services to applications";
|
||||
};
|
||||
}
|
10
pkgs/desktops/kde-4.13/kdeaccessibility/kmag.nix
Normal file
10
pkgs/desktops/kde-4.13/kdeaccessibility/kmag.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
#todo: package qaccessibilityclient
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Screen magnifier for KDE";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeaccessibility/kmousetool.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeaccessibility/kmousetool.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, libXtst, libXt }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libXtst libXt ];
|
||||
|
||||
meta = {
|
||||
description = "A program that clicks the mouse for you";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeaccessibility/kmouth.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeaccessibility/kmouth.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "A type-and-say front end for speech synthesizers";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeadmin/kcron.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeadmin/kcron.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Configure and schedule tasks";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeadmin/ksystemlog.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeadmin/ksystemlog.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "System log viewer tool";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeadmin/kuser.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeadmin/kuser.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, kdepimlibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs kdepimlibs ];
|
||||
|
||||
meta = {
|
||||
description = "User management tool";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/kdeartwork/ColorSchemes.nix
Normal file
11
pkgs/desktops/kde-4.13/kdeartwork/ColorSchemes.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kde-color-schemes";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE color schemes";
|
||||
};
|
||||
}
|
73
pkgs/desktops/kde-4.13/kdeartwork/FindXscreensaver.cmake
Normal file
73
pkgs/desktops/kde-4.13/kdeartwork/FindXscreensaver.cmake
Normal file
@ -0,0 +1,73 @@
|
||||
#Macro to find xscreensaver directory
|
||||
|
||||
# Copyright (c) 2006, Laurent Montel, <montel@kde.org>
|
||||
#
|
||||
# Redistribution and use is allowed according to the terms of the BSD license.
|
||||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
|
||||
if (NOT XSCREENSAVER_FOUND)
|
||||
FIND_PATH(XSCREENSAVER_DIR deco
|
||||
HINTS
|
||||
${KDE4_INCLUDE_DIR}
|
||||
PATHS
|
||||
/usr
|
||||
/usr/local
|
||||
/opt/local
|
||||
/usr/X11R6
|
||||
/opt/kde
|
||||
/opt/kde3
|
||||
/usr/kde
|
||||
/usr/local/kde
|
||||
/usr/local/xscreensaver
|
||||
/usr/openwin/lib/xscreensaver
|
||||
/etc
|
||||
PATH_SUFFIXES
|
||||
lib${LIB_SUFFIX}/xscreensaver
|
||||
lib${LIB_SUFFIX}/misc/xscreensaver
|
||||
lib/xscreensaver
|
||||
lib64/xscreensaver
|
||||
lib/misc/xscreensaver
|
||||
libexec/xscreensaver
|
||||
bin/xscreensaver-hacks
|
||||
hacks)
|
||||
message(STATUS "XSCREENSAVER_DIR <${XSCREENSAVER_DIR}>")
|
||||
|
||||
FIND_PATH(XSCREENSAVER_CONFIG_DIR deco.xml
|
||||
PATHS
|
||||
${KDE4_INCLUDE_DIR}
|
||||
/usr/
|
||||
/usr/local/
|
||||
/opt/local/
|
||||
/usr/X11R6/
|
||||
/opt/kde/
|
||||
/opt/kde3/
|
||||
/usr/kde/
|
||||
/usr/local/kde/
|
||||
/usr/openwin/lib/xscreensaver/
|
||||
/etc/
|
||||
PATH_SUFFIXES xscreensaver xscreensaver/config share/xscreensaver/config
|
||||
)
|
||||
MESSAGE(STATUS "XSCREENSAVER_CONFIG_DIR :<${XSCREENSAVER_CONFIG_DIR}>")
|
||||
|
||||
endif(NOT XSCREENSAVER_FOUND)
|
||||
|
||||
#MESSAGE(STATUS "XSCREENSAVER_CONFIG_DIR :<${XSCREENSAVER_CONFIG_DIR}>")
|
||||
#MESSAGE(STATUS "XSCREENSAVER_DIR :<${XSCREENSAVER_DIR}>")
|
||||
|
||||
# Need to fix hack
|
||||
if(XSCREENSAVER_DIR AND XSCREENSAVER_CONFIG_DIR)
|
||||
set(XSCREENSAVER_FOUND TRUE)
|
||||
endif(XSCREENSAVER_DIR AND XSCREENSAVER_CONFIG_DIR)
|
||||
|
||||
if (XSCREENSAVER_FOUND)
|
||||
if (NOT Xscreensaver_FIND_QUIETLY)
|
||||
message(STATUS "Found XSCREENSAVER_CONFIG_DIR <${XSCREENSAVER_CONFIG_DIR}>")
|
||||
endif (NOT Xscreensaver_FIND_QUIETLY)
|
||||
else (XSCREENSAVER_FOUND)
|
||||
if (Xscreensaver_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "XScreenSaver not found")
|
||||
endif (Xscreensaver_FIND_REQUIRED)
|
||||
endif (XSCREENSAVER_FOUND)
|
||||
|
||||
|
||||
MARK_AS_ADVANCED(XSCREENSAVER_DIR XSCREENSAVER_CONFIG_DIR)
|
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-wallpapers-high-resolution";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "KDE wallpapers in high resolution";
|
||||
};
|
||||
}
|
13
pkgs/desktops/kde-4.13/kdeartwork/IconThemes.nix
Normal file
13
pkgs/desktops/kde-4.13/kdeartwork/IconThemes.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kdeartwork-icon-themes";
|
||||
|
||||
# Sources contain primary and kdeclassic as well but they're not installed
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "KDE nuvola and mono icon themes";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/kdeartwork/WeatherWallpapers.nix
Normal file
11
pkgs/desktops/kde-4.13/kdeartwork/WeatherWallpapers.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-weather-wallpapers";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE wallpapers (weather)";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/kdeartwork/desktopthemes.nix
Normal file
11
pkgs/desktops/kde-4.13/kdeartwork/desktopthemes.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kde-desktop-themes";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE desktop themes";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/kdeartwork/emoticons.nix
Normal file
11
pkgs/desktops/kde-4.13/kdeartwork/emoticons.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
name = "kde-emotion-icons";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE emotion icons (smiles)";
|
||||
};
|
||||
}
|
15
pkgs/desktops/kde-4.13/kdeartwork/kscreensaver.nix
Normal file
15
pkgs/desktops/kde-4.13/kdeartwork/kscreensaver.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ kde, kdelibs, xscreensaver, kde_workspace, eigen, libkexiv2, libXt, pkgconfig }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs xscreensaver kde_workspace eigen libkexiv2 libXt ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
prePatch = "cp -v ${./FindXscreensaver.cmake} cmake/modules/FindXscreensaver.cmake";
|
||||
|
||||
cmakeFlags = [ "-DBUILD_asciiquarium:BOOL=ON" ];
|
||||
|
||||
meta = {
|
||||
description = "KDE screensavers";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeartwork/kwin-styles.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeartwork/kwin-styles.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, kde_workspace }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs kde_workspace ];
|
||||
|
||||
meta = {
|
||||
description = "Styles for KWin";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/kdeartwork/styles.nix
Normal file
11
pkgs/desktops/kde-4.13/kdeartwork/styles.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kde-style-phase";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Phase, a widget style for KDE";
|
||||
};
|
||||
}
|
11
pkgs/desktops/kde-4.13/kdeartwork/wallpapers.nix
Normal file
11
pkgs/desktops/kde-4.13/kdeartwork/wallpapers.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde rec {
|
||||
name = "kdeartwork-wallpapers";
|
||||
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Additional KDE wallpapers";
|
||||
};
|
||||
}
|
14
pkgs/desktops/kde-4.13/kdebindings/perlqt.nix
Normal file
14
pkgs/desktops/kde-4.13/kdebindings/perlqt.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ kde, cmake, smokeqt, perl }:
|
||||
|
||||
kde {
|
||||
|
||||
# TODO: qscintilla2, qwt5
|
||||
|
||||
buildInputs = [ smokeqt perl ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = {
|
||||
description = "Perl bindings for Qt library";
|
||||
};
|
||||
}
|
32
pkgs/desktops/kde-4.13/kdebindings/pykde4.nix
Normal file
32
pkgs/desktops/kde-4.13/kdebindings/pykde4.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ kde, kdelibs, python, sip, pyqt4, kdepimlibs, shared_desktop_ontologies,
|
||||
polkit_qt_1, boost, lndir, pkgconfig }:
|
||||
|
||||
let pydir = "lib/python${python.majorVersion}"; in
|
||||
|
||||
kde {
|
||||
|
||||
# todo: polkit isn't found by the build system
|
||||
|
||||
buildInputs = [
|
||||
python kdepimlibs shared_desktop_ontologies
|
||||
boost polkit_qt_1
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ pyqt4 sip ];
|
||||
|
||||
preConfigure =
|
||||
''
|
||||
# Symlink PyQt into PyKDE. This is necessary because PyQt looks
|
||||
# in its PyQt4/uic/widget-plugins directory for plugins, and KDE
|
||||
# needs to install a plugin.
|
||||
mkdir -pv $out/${pydir}
|
||||
${lndir}/bin/lndir ${pyqt4}/${pydir} $out/${pydir}
|
||||
cmakeFlagsArray=( "-DSIP_DEFAULT_SIP_DIR=$prefix/share/sip" )
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Python bindings for KDE";
|
||||
};
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 33078b4..30aec0e 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -31,8 +31,8 @@ if (NOT COMPILE_RUBY)
|
||||
return()
|
||||
endif (NOT COMPILE_RUBY)
|
||||
|
||||
-SET(CUSTOM_RUBY_SITE_ARCH_DIR ${RUBY_SITEARCH_DIR} CACHE DIR "custom installation directory for ruby binary extension" )
|
||||
-SET(CUSTOM_RUBY_SITE_LIB_DIR ${RUBY_SITELIB_DIR} CACHE DIR "custom installation directory for ruby extension" )
|
||||
+string(REPLACE "${RUBY_ROOT_DIR}" "${CMAKE_INSTALL_PREFIX}" CUSTOM_RUBY_SITE_ARCH_DIR ${RUBY_SITEARCH_DIR})
|
||||
+string(REPLACE "${RUBY_ROOT_DIR}" "${CMAKE_INSTALL_PREFIX}" CUSTOM_RUBY_SITE_LIB_DIR ${RUBY_SITELIB_DIR})
|
||||
|
||||
# compute an overall version number which can be compared at once
|
||||
MATH(EXPR RUBY_VERSION_NUMBER "${RUBY_VERSION_MAJOR}*10000 + ${RUBY_VERSION_MINOR}*100 + ${RUBY_VERSION_PATCH}")
|
20
pkgs/desktops/kde-4.13/kdebindings/qtruby.nix
Normal file
20
pkgs/desktops/kde-4.13/kdebindings/qtruby.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ kde, cmake, smokeqt, ruby }:
|
||||
|
||||
kde {
|
||||
|
||||
# TODO: scintilla2, qwt5
|
||||
|
||||
buildInputs = [ smokeqt ruby ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
# The patch is not ready for upstream submmission.
|
||||
# I should add an option() instead.
|
||||
patches = [ ./qtruby-install-prefix.patch ];
|
||||
|
||||
cmakeFlags="-DRUBY_ROOT_DIR=${ruby}";
|
||||
|
||||
meta = {
|
||||
description = "Ruby bindings for Qt library";
|
||||
};
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
--- smokegen-4.10.5.orig/CMakeLists.txt 2013-06-28 17:14:50.000000000 +0000
|
||||
+++ smokegen-4.10.5/CMakeLists.txt 2013-07-31 19:15:17.000000000 +0000
|
||||
@@ -36,6 +36,10 @@
|
||||
set (CMAKE_SKIP_BUILD_RPATH FALSE)
|
||||
set (CMAKE_SKIP_RPATH FALSE)
|
||||
|
||||
+# add the automatically determined parts of the RPATH
|
||||
+# which point to directories outside the build tree to the install RPATH
|
||||
+SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
+
|
||||
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in config.h @ONLY )
|
||||
|
||||
add_executable(smokegen ${generator_SRC})
|
13
pkgs/desktops/kde-4.13/kdebindings/smokegen-nix.patch
Normal file
13
pkgs/desktops/kde-4.13/kdebindings/smokegen-nix.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -urN smokegen-4.10.5.orig/cmake/SmokeConfig.cmake.in smokegen-4.10.5/cmake/SmokeConfig.cmake.in
|
||||
--- smokegen-4.10.5.orig/cmake/SmokeConfig.cmake.in 2013-06-28 17:14:50.000000000 +0000
|
||||
+++ smokegen-4.10.5/cmake/SmokeConfig.cmake.in 2013-07-30 21:26:33.000000000 +0000
|
||||
@@ -80,8 +80,7 @@
|
||||
set(SMOKE_API_BIN "@SMOKE_API_BIN@")
|
||||
|
||||
find_library(SMOKE_BASE_LIBRARY smokebase
|
||||
- PATHS "@SMOKE_LIBRARY_PREFIX@"
|
||||
- NO_DEFAULT_PATH)
|
||||
+ PATHS "@SMOKE_LIBRARY_PREFIX@")
|
||||
|
||||
if (NOT SMOKE_BASE_LIBRARY)
|
||||
if (Smoke_FIND_REQUIRED)
|
13
pkgs/desktops/kde-4.13/kdebindings/smokegen.nix
Normal file
13
pkgs/desktops/kde-4.13/kdebindings/smokegen.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, qt4, cmake }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ qt4 ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
patches = [ ./smokegen-nix.patch ./smokegen-CMakeLists.txt-nix.patch ];
|
||||
|
||||
meta = {
|
||||
description = "C++ parser used to generate language bindings for Qt/KDE";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
19
pkgs/desktops/kde-4.13/kdebindings/smokekde.nix
Normal file
19
pkgs/desktops/kde-4.13/kdebindings/smokekde.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ kde, cmake, smokeqt, kdelibs, akonadi, kdepimlibs, okular
|
||||
, shared_desktop_ontologies, attica, pkgconfig }:
|
||||
|
||||
kde {
|
||||
|
||||
# TODO: attica, akonadi and kdepimlibs are disabled due to smokegen crash
|
||||
# okular is disabled because the code generated is broken
|
||||
buildInputs = [
|
||||
smokeqt kdelibs shared_desktop_ontologies
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
LD_LIBRARY_PATH = "${smokeqt}/lib/";
|
||||
|
||||
meta = {
|
||||
description = "SMOKE bindings for kdelibs";
|
||||
};
|
||||
}
|
15
pkgs/desktops/kde-4.13/kdebindings/smokeqt.nix
Normal file
15
pkgs/desktops/kde-4.13/kdebindings/smokeqt.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ kde, qt4, cmake, phonon, qimageblitz, smokegen }:
|
||||
|
||||
kde {
|
||||
|
||||
# TODO: Qwt5, QScintilla2
|
||||
|
||||
propagatedBuildInputs = [ qt4 phonon qimageblitz ];
|
||||
nativeBuildInputs = [ cmake ];
|
||||
propagatedNativeBuildInputs = [ smokegen ];
|
||||
|
||||
meta = {
|
||||
description = "C++ parser used to generate language bindings for Qt/KDE";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/analitza.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/analitza.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, readline }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs readline ];
|
||||
|
||||
meta = {
|
||||
description = "Library part of KAlgebra";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/blinken.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/blinken.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Memory Enhancement Game";
|
||||
};
|
||||
}
|
13
pkgs/desktops/kde-4.13/kdeedu/cantor.nix
Normal file
13
pkgs/desktops/kde-4.13/kdeedu/cantor.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, kdelibs, libspectre, analitza, R, pkgconfig, libqalculate, python }:
|
||||
kde {
|
||||
|
||||
# TODO: R is not found
|
||||
|
||||
buildInputs = [ kdelibs libspectre analitza R libqalculate python ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "KDE Frontend to Mathematical Software";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/kalgebra.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/kalgebra.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libkdeedu, analitza }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu analitza ];
|
||||
|
||||
meta = {
|
||||
description = "2D and 3D Graph Calculator";
|
||||
};
|
||||
}
|
13
pkgs/desktops/kde-4.13/kdeedu/kalzium.nix
Normal file
13
pkgs/desktops/kde-4.13/kdeedu/kalzium.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, kdelibs, facile, ocaml, eigen, openbabel, avogadro, pkgconfig }:
|
||||
kde {
|
||||
|
||||
# TODO: chemical mime data
|
||||
|
||||
buildInputs = [ kdelibs facile ocaml eigen openbabel avogadro ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "Periodic Table of Elements";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/kanagram.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/kanagram.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libkdeedu }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu ];
|
||||
|
||||
meta = {
|
||||
description = "Letter Order Game";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/kbruch.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/kbruch.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Practice Fractions";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/kgeography.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/kgeography.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Geography Trainer";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/khangman.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/khangman.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libkdeedu }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu ];
|
||||
|
||||
meta = {
|
||||
description = "KDE hangman game";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/kig.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/kig.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, boost, python}:
|
||||
kde {
|
||||
buildInputs = [ kdelibs boost python ];
|
||||
|
||||
cmakeFlags = "-DKIG_ENABLE_PYTHON_SCRIPTING=1";
|
||||
meta = {
|
||||
description = "KDE Interactive Geometry";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/kiten.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/kiten.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Japanese Reference/Study Tool";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/klettres.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/klettres.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE alphabet tutorial";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/kmplot.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/kmplot.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE mathematical function plotter";
|
||||
};
|
||||
}
|
14
pkgs/desktops/kde-4.13/kdeedu/kstars.nix
Normal file
14
pkgs/desktops/kde-4.13/kdeedu/kstars.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ kde, kdelibs, eigen, xplanet, indilib, pkgconfig }:
|
||||
|
||||
kde {
|
||||
|
||||
# TODO: wcslib, astrometry
|
||||
|
||||
buildInputs = [ kdelibs eigen xplanet indilib ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE graphical desktop planetarium";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/ktouch.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/ktouch.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, libxkbfile }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libxkbfile ];
|
||||
|
||||
meta = {
|
||||
description = "Touch Typing Tutor";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/kturtle.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/kturtle.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Educational Programming Environment";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/kwordquiz.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/kwordquiz.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, libkdeedu }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu ];
|
||||
|
||||
meta = {
|
||||
description = "Flash Card Trainer";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdeedu/libkdeedu.nix
Normal file
8
pkgs/desktops/kde-4.13/kdeedu/libkdeedu.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "Libraries used by KDE Education applications";
|
||||
};
|
||||
}
|
12
pkgs/desktops/kde-4.13/kdeedu/marble.nix
Normal file
12
pkgs/desktops/kde-4.13/kdeedu/marble.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ kde, kdelibs, gpsd }:
|
||||
|
||||
kde {
|
||||
|
||||
# TODO: package QextSerialPort, libshp(shapelib), QtMobility, QtLocation, libwlocate, quazip
|
||||
|
||||
buildInputs = [ kdelibs gpsd ];
|
||||
|
||||
meta = {
|
||||
description = "Marble Virtual Globe";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/pairs.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/pairs.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs ];
|
||||
|
||||
meta = {
|
||||
description = "A memory and pairs game";
|
||||
};
|
||||
}
|
9
pkgs/desktops/kde-4.13/kdeedu/parley.nix
Normal file
9
pkgs/desktops/kde-4.13/kdeedu/parley.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{ kde, kdelibs, libkdeedu, attica }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdeedu attica ];
|
||||
|
||||
meta = {
|
||||
description = "Vocabulary Trainer";
|
||||
};
|
||||
}
|
14
pkgs/desktops/kde-4.13/kdeedu/rocs.nix
Normal file
14
pkgs/desktops/kde-4.13/kdeedu/rocs.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ kde, kdelibs, boost, grantlee }:
|
||||
|
||||
kde {
|
||||
buildInputs = [ kdelibs (boost.override { enableExceptions = true; }) grantlee ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-fexceptions";
|
||||
|
||||
meta = {
|
||||
description = "A KDE graph theory viewer";
|
||||
kde = {
|
||||
name = "rocs";
|
||||
};
|
||||
};
|
||||
}
|
12
pkgs/desktops/kde-4.13/kdeedu/step.nix
Normal file
12
pkgs/desktops/kde-4.13/kdeedu/step.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ kde, kdelibs, gsl, libqalculate, eigen, pkgconfig }:
|
||||
|
||||
kde {
|
||||
|
||||
buildInputs = [ kdelibs gsl libqalculate eigen ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE interactive physical simulator";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/bomber.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/bomber.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a single player arcade game. The player is invading various cities in a plane that is decreasing in height";
|
||||
};
|
||||
}
|
8
pkgs/desktops/kde-4.13/kdegames/bovo.nix
Normal file
8
pkgs/desktops/kde-4.13/kdegames/bovo.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a Gomoku (from Japanese 五目並べ - lit. \"five points\") like game for two players, where the opponents alternate in placing their respective pictogram on the game board";
|
||||
};
|
||||
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/granatier.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/granatier.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a clone of the classic Bomberman game, inspired by the work of the Clanbomber clone";
|
||||
};
|
||||
}
|
13
pkgs/desktops/kde-4.13/kdegames/kajongg.nix
Normal file
13
pkgs/desktops/kde-4.13/kdegames/kajongg.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{ kde, kdelibs, libkdegames, pythonPackages, sqlite, pykde4 }:
|
||||
kde rec {
|
||||
|
||||
buildInputs = [ kdelibs libkdegames pythonPackages.python pythonPackages.wrapPython sqlite ] ++ pythonPath;
|
||||
|
||||
pythonPath = [ pythonPackages.twisted pykde4 ];
|
||||
|
||||
postInstall = "wrapPythonPrograms";
|
||||
|
||||
meta = {
|
||||
description = "an ancient Chinese board game for 4 players";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kapman.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kapman.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a clone of the well known game Pac-Man";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/katomic.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/katomic.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a fun and educational puzzle game built around molecular geometry";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kblackbox.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kblackbox.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a game of hide and seek played on an grid of boxes, where the player shoots rays into the grid to deduce the positions of hidden objects";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kblocks.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kblocks.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a classic single player falling blocks puzzle game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kbounce.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kbounce.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a single player arcade game with the elements of puzzle";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kbreakout.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kbreakout.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a Breakout-like game. Its object is to destroy as many bricks as possible without losing the ball";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kdiamond.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kdiamond.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a single player puzzle game. The object of the game is to build lines of three similar diamonds";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kfourinline.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kfourinline.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a board game for two players based on the Connect-Four game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kgoldrunner.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kgoldrunner.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "an action game where the hero runs through a maze, climbs stairs, dig holes and dodges enemies in order to collect all the gold nuggets and escape to the next level";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kigo.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kigo.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "an open-source implementation of the popular Go game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/killbots.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/killbots.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a simple game of evading killer robots";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kiriki.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kiriki.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "an addictive and fun dice game, designed to be played by as many as six players";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kjumpingcube.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kjumpingcube.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a simple dice driven tactical game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/klickety.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/klickety.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a puzzle game where the player removes groups of colored marbles to clear the board";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/klines.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/klines.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a simple but highly addictive one player game. The player has to move the colored balls around the game board, gathering them into the lines of the same color by five";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kmahjongg.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kmahjongg.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames, libkmahjongg }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames libkmahjongg ];
|
||||
meta = {
|
||||
description = "the tiles are scrambled and staked on top of each other to resemble a certain shape. The player is then expected to remove all the tiles off the game board by locating each tile's matching pair";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kmines.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kmines.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a classic Minesweeper game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/knavalbattle.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/knavalbattle.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a Battle Ship game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/knetwalk.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/knetwalk.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a small game where you have to build up a computer network by rotating the wires to connect the terminals to the server";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kolf.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kolf.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a miniature golf game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kollision.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kollision.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a simple ball dodging game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/konquest.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/konquest.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "the KDE version of Gnu-Lactic Konquest";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kpat.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kpat.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a relaxing card sorting game";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kreversi.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kreversi.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a simple one player strategy game played against the computer. If a player's piece is captured by an opposing player, that piece is turned over to reveal the color of that player";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kshisen.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kshisen.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames, libkmahjongg }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames libkmahjongg ];
|
||||
meta = {
|
||||
description = "a solitaire-like game played using the standard set of Mahjong tiles";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/ksirk.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/ksirk.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames, qca2 }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames qca2 ];
|
||||
meta = {
|
||||
description = "a computerized version of the well known strategic board game Risk";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/ksnakeduel.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/ksnakeduel.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a simple Tron-Clone";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/kspaceduel.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/kspaceduel.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "each of two possible players control a satellite spaceship orbiting the sun. As the game progresses players have to eliminate the opponent's spacecraft with bullets or mines";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/ksquares.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/ksquares.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a game modeled after the well known pen and paper based game of Dots and Boxes";
|
||||
};
|
||||
}
|
7
pkgs/desktops/kde-4.13/kdegames/ksudoku.nix
Normal file
7
pkgs/desktops/kde-4.13/kdegames/ksudoku.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ kde, kdelibs, libkdegames }:
|
||||
kde {
|
||||
buildInputs = [ kdelibs libkdegames ];
|
||||
meta = {
|
||||
description = "a logic-based symbol placement puzzle";
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user