mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
indilib version advance; older sources no longer available
This commit is contained in:
parent
d8eddfa2c4
commit
b09a6573a0
@ -116,7 +116,6 @@ hashes=builtins.listToAttrs[
|
||||
{name="ksnapshot";value="10grzlp7sq367g91858d16sadzipzmgwczhnb5xvy0437lqhhz7c";}
|
||||
{name="kspaceduel";value="0cwgmpv2xcjwz914hqx6rivi5sk4x66imcdqy7pjnj5vk4f197m7";}
|
||||
{name="ksquares";value="1zzg6y6zfqd1a0939hd1wy7ix4wld7ixp5pz2qs315g51m9lpn7i";}
|
||||
{name="kstars";value="1pjvy476yjir4z6x1j7192xjr9m0zcxq3x3lpvsxf92pk3l4c73p";}
|
||||
{name="ksudoku";value="0qgjx7fbawhn63vv37wv4z56jf0gi4chs64aw9bllbq52syirmgb";}
|
||||
{name="ksystemlog";value="11xh1psqhq7vimymb394kxjk83yax3gzi9fdckjspk6p10cycln2";}
|
||||
{name="kteatime";value="16rrlxc67afkin3afdf1s9dlr7z2281dfsja64pdrrdilwwpyqwi";}
|
||||
@ -288,7 +287,6 @@ versions=builtins.listToAttrs[
|
||||
{name="ksnapshot";value="4.14.3";}
|
||||
{name="kspaceduel";value="4.14.3";}
|
||||
{name="ksquares";value="4.14.3";}
|
||||
{name="kstars";value="4.14.3";}
|
||||
{name="ksudoku";value="4.14.3";}
|
||||
{name="ksystemlog";value="4.14.3";}
|
||||
{name="kteatime";value="4.14.3";}
|
||||
@ -529,7 +527,6 @@ modules=[
|
||||
{ name="klettres"; }
|
||||
{ name="kmplot"; }
|
||||
{ name="kqtquickcharts"; }
|
||||
{ name="kstars"; }
|
||||
{ name="ktouch"; }
|
||||
{ name="kturtle"; }
|
||||
{ name="kwordquiz"; }
|
||||
|
@ -1,14 +0,0 @@
|
||||
{ kde, kdelibs, eigen, xplanet, indilib_0_9_9, pkgconfig, qjson }:
|
||||
|
||||
kde {
|
||||
|
||||
# TODO: wcslib, astrometry
|
||||
|
||||
buildInputs = [ kdelibs eigen xplanet indilib_0_9_9 qjson ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
description = "A KDE graphical desktop planetarium";
|
||||
};
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
{ stdenv, fetchurl, cmake, cfitsio, libusb1, zlib, boost, libnova, libjpeg, gsl, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "indilib-0.9.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/indi/libindi_0.9.9.tar.gz;
|
||||
sha256 = "720b9096baef1489fd7d7d4a236177863a7f7cec86809f21d291b0d9758e4039";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cfitsio libusb1 zlib boost libnova libjpeg gsl ];
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
preConfigure = ''
|
||||
cmakeFlags+=" -DUDEVRULES_INSTALL_DIR=$out/etc/udev/rules.d"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://indi.sf.net;
|
||||
};
|
||||
}
|
@ -1,16 +1,18 @@
|
||||
{ stdenv, fetchurl, cmake, cfitsio, libusb, zlib, boost }:
|
||||
{ stdenv, fetchurl, cmake, cfitsio, libusb, zlib, boost, libnova
|
||||
, libjpeg, gsl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "indilib-0.9.6";
|
||||
name = "indilib-1.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/indi/libindi_0.9.6.tar.gz;
|
||||
sha256 = "1cyhsrsl68iczc4gcdnrrdh0r1dxjac6prxjfkw15wz97ya0mvs4";
|
||||
url = mirror://sourceforge/indi/libindi_1.0.0.tar.gz;
|
||||
sha256 = "0f66jykpjk8mv50lc3rywbqj9mqr4p2n1igfb1222h5fs83c1jhm";
|
||||
};
|
||||
|
||||
patches = [ ./link-zlib.patch ./udev-dir.patch ];
|
||||
patches = [ ./udev-dir.patch ] ;
|
||||
|
||||
propagatedBuildInputs = [ cmake cfitsio libusb zlib boost ];
|
||||
propagatedBuildInputs = [ cmake cfitsio libusb zlib boost
|
||||
libnova libjpeg gsl ];
|
||||
|
||||
meta = {
|
||||
homepage = http://indi.sf.net;
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -Naur libindi-0.9.6-upstream/CMakeLists.txt libindi-0.9.6/CMakeLists.txt
|
||||
--- libindi-0.9.6-upstream/CMakeLists.txt 2012-11-19 16:09:14.000000000 -0430
|
||||
+++ libindi-0.9.6/CMakeLists.txt 2013-05-02 16:50:25.666624174 -0430
|
||||
@@ -169,7 +169,7 @@
|
||||
# To link with main() and indibase classes ######
|
||||
##################################################
|
||||
add_library(indidriver SHARED ${libindicom_SRCS} ${liblilxml_SRCS} ${indimain_SRCS} ${indidriver_SRCS})
|
||||
-target_link_libraries(indidriver ${LIBUSB_LIBRARIES})
|
||||
+target_link_libraries(indidriver z ${LIBUSB_LIBRARIES})
|
||||
if (NOVA_FOUND)
|
||||
target_link_libraries(indidriver ${NOVA_LIBRARIES})
|
||||
endif(NOVA_FOUND)
|
@ -1,12 +1,12 @@
|
||||
diff -Naur libindi-0.9.6-upstream/CMakeLists.txt libindi-0.9.6/CMakeLists.txt
|
||||
--- libindi-0.9.6-upstream/CMakeLists.txt 2012-11-19 16:09:14.000000000 -0430
|
||||
+++ libindi-0.9.6/CMakeLists.txt 2013-05-02 17:02:55.455944987 -0430
|
||||
@@ -13,7 +13,7 @@
|
||||
set(DATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/indi/")
|
||||
set(BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin")
|
||||
set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include")
|
||||
-set(UDEVRULES_INSTALL_DIR "/etc/udev/rules.d")
|
||||
+set(UDEVRULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/etc/udev/rules.d")
|
||||
diff -Naur libindi-1.0.0-upstream/CMakeLists.txt libindi-1.0.0/CMakeLists.txt
|
||||
--- libindi-1.0.0-upstream/CMakeLists.txt 2015-03-28 21:06:49.576863460 -0430
|
||||
+++ libindi-1.0.0/CMakeLists.txt 2015-03-28 21:07:48.420677548 -0430
|
||||
@@ -28,7 +28,7 @@
|
||||
## the following are directories where stuff will be installed to
|
||||
set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/")
|
||||
set(PKGCONFIG_INSTALL_PREFIX "${LIB_DESTINATION}/pkgconfig/")
|
||||
-set(UDEVRULES_INSTALL_DIR "/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
|
||||
+set(UDEVRULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
|
||||
|
||||
IF(APPLE)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
|
||||
################## Includes ################################
|
||||
Include (CheckCXXSourceCompiles)
|
||||
|
@ -6058,8 +6058,6 @@ let
|
||||
|
||||
indilib = callPackage ../development/libraries/indilib { };
|
||||
|
||||
indilib_0_9_9 = callPackage ../development/libraries/indilib/0_9_9.nix { };
|
||||
|
||||
iniparser = callPackage ../development/libraries/iniparser { };
|
||||
|
||||
intltool = callPackage ../development/tools/misc/intltool { };
|
||||
|
Loading…
Reference in New Issue
Block a user