Subversion Repositories svnkaklik

Compare Revisions

Regard whitespace Rev 409 → Rev 410

/programy/C/mips/indi/Makefile
0,0 → 1,60
# $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=indiserver
PKG_VERSION:=0.5
PKG_RELEASE:=1
PKG_MD5SUM:=
 
PKG_SOURCE_URL:=http://download.sourceforge.net/indi
PKG_SOURCE:=indilib-0.5.tar.gz
PKG_CAT:=zcat
 
PKG_BUILD_DIR:=$(BUILD_DIR)/indi
 
include $(TOPDIR)/package/rules.mk
 
$(eval $(call PKG_template,INDISERVER,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
(cd $(PKG_BUILD_DIR); \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
./configure \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-luClibc++ -lc -lm -lgcc" \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--prefix=/usr \
--without-libiconv-prefix \
--without-libintl-prefix \
--disable-v4l2 \
--disable-nls \
);
touch $@
 
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR)/src \
CC=$(TARGET_CC)
touch $@
 
$(IPKG_INDISERVER):
mkdir -p $(IDIR_INDISERVER)/usr/sbin
cp $(PKG_BUILD_DIR)/src/indiserver $(IDIR_INDISERVER)/usr/sbin/
cp $(PKG_BUILD_DIR)/src/lx200basic $(IDIR_INDISERVER)/usr/sbin/
cp $(PKG_BUILD_DIR)/src/lx200generic $(IDIR_INDISERVER)/usr/sbin/
cp $(PKG_BUILD_DIR)/src/v4ldriver $(IDIR_INDISERVER)/usr/sbin/
cp $(PKG_BUILD_DIR)/src/v4lphilips $(IDIR_INDISERVER)/usr/sbin/
$(STRIP) $(IDIR_INDISERVER)/usr/sbin/*
$(IPKG_BUILD) $(IDIR_INDISERVER) $(PACKAGE_DIR)
 
mostlyclean:
$(MAKE) -C $(PKG_BUILD_DIR) clean
rm -f $(PKG_BUILD_DIR)/.built
 
/programy/C/mips/indi/patches/indiserver-0.5.patch
0,0 → 1,50
diff -ruN indi/src/apogee/ApogeeUsbLinux.cpp indi.new/src/apogee/ApogeeUsbLinux.cpp
--- indi/src/apogee/ApogeeUsbLinux.cpp 2007-04-15 21:14:46.000000000 +0200
+++ indi.new/src/apogee/ApogeeUsbLinux.cpp 2007-10-13 12:15:14.000000000 +0200
@@ -21,7 +21,7 @@
//
#include <assert.h>
-#include <sys/io.h>
+//#include <sys/io.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
diff -ruN indi/src/apogee/CameraIO_LinuxISA.cpp indi.new/src/apogee/CameraIO_LinuxISA.cpp
--- indi/src/apogee/CameraIO_LinuxISA.cpp 2007-04-15 21:14:46.000000000 +0200
+++ indi.new/src/apogee/CameraIO_LinuxISA.cpp 2007-10-13 12:11:04.000000000 +0200
@@ -22,7 +22,7 @@
//////////////////////////////////////////////////////////////////////
#include <assert.h>
-#include <sys/io.h>
+//#include <sys/io.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
diff -ruN indi/src/apogee/CameraIO_LinuxPCI.cpp indi.new/src/apogee/CameraIO_LinuxPCI.cpp
--- indi/src/apogee/CameraIO_LinuxPCI.cpp 2007-04-15 21:14:46.000000000 +0200
+++ indi.new/src/apogee/CameraIO_LinuxPCI.cpp 2007-10-13 12:12:30.000000000 +0200
@@ -22,7 +22,7 @@
//////////////////////////////////////////////////////////////////////
#include <assert.h>
-#include <sys/io.h>
+//#include <sys/io.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/ioctl.h>
diff -ruN indi/src/indicom.c indi.new/src/indicom.c
--- indi/src/indicom.c 2007-04-15 23:06:20.000000000 +0200
+++ indi.new/src/indicom.c 2007-10-13 12:25:38.000000000 +0200
@@ -236,10 +236,6 @@
#if defined(__GLIBC__) && (__GLIBC_MINOR__ >=1 && !defined(__UCLIBC__))
/* GNU version */
sincos( DegToRad(Degrees), &Sin, &Cos );
- #else
- /* For older GLIBC versions */
- Sin = ::sin( DegToRad(Degrees) );
- Cos = ::cos( DegToRad(Degrees) );
#endif
#else
/* ANSI-compliant version */
/programy/C/mips/indi/Config.in
0,0 → 1,11
config BR2_PACKAGE_INDISERVER
tristate "INDISERVER - Instrument Neutral Distributed Interface server"
default m if CONFIG_DEVEL
help
INDI is a distributed control protocol designed to operate
astronomical instrumentation. INDI is small, flexible, easy to parse,
and scalable. It supports common DCS functions
such as remote control, data acquisition, monitoring, and a lot more.
http://indi.sourceforge.net/
/programy/C/mips/indi/ipkg/indiserver.control
0,0 → 1,4
Package: indiserver
Priority: optional
Section: science
Description: program designed to operate astronomical instrumentation.