Dear Cygwin community,

I intend to package Stimfit [1] and Biosig [2] (and perhaps libb64,libbiosig,sigviewer) for cygwin. The packages are already available in Debian, but when trying to package them for cygwin, I run into some difficulties. I read the documentation [3-5], but I got stuck, and I'd appreciate your help on this. Attached are my current versions of  *.cygports and *.hint files

When trying to build them with cygport I run into these difficulties:

$ cygport libb64.cygport all
>>> Preparing libb64-1.2.1-1.x86_64
>>> Unpacking source libb64-1.2.1.zip
>>> Preparing working source directory
>>> Compiling libb64-1.2.1-1.x86_64
*** ERROR: Could not find configure.ac or configure.in

libb64 does not require running configure, the Makefile is already available and a simple "make" command would do.
How can I specifiy this in the libb64.cygport file ?


"cygport biosig.cygport all"
....
config.status: creating biosig4c++/tcl/Makefile
config.status: creating config.h
config.status: config.h is unchanged
make: *** No rule to make target 'Makefile.in', needed by 'Makefile'.  Stop.
*** ERROR: make failed

Makefile.in is in the sources, why do I see this error when trying to build it with cygport ?

Attached are also stimfit.cygport and sigviewer.cygport, they require libbiosig, and are most likely incomplete. If you have suggestions to make it work, please let me know.


Cheers,
   Alois



[1] https://github.com/neurodroid/stimfit
[2] http://biosig.sourceforge.net/
[3] https://cygwin.com/packages.html
[4] https://cygwin.com/packaging-contributors-guide.html
[5] https://cygwin.com/packaging-hint-files.html


# package name
NAME="biosig"
VERSION=2.3.3
RELEASE=1

# .hint generation
CATEGORY="Libs,Science"
SUMMARY="Tools for biomedical signal processing."
DESCRIPTION="BioSig is an open source software library for 
biomedical signal processing, featuring for example the 
analysis of biosignals such as the electroencephalogram (EEG), 
electrocorticogram (ECoG), electrocardiogram (ECG), 
electrooculogram (EOG), electromyogram (EMG), respiration, 
and so on. Major application areas are: Neuroinformatics, 
brain-computer interfaces, neurophysiology, psychology, c
ardiovascular systems and sleep research. The aim of the 
BioSig project is to foster research in biomedical signal 
processing by providing open source software tools for many 
different applications. Generally, many concerns have to be a
ddressed in this scientific field. BioSig handles this by providing 
solutions for data acquisition, artifact processing, quality control, 
feature extraction, classification, modeling, data visualization, etc. "
# source and patch files
SRC_URI="https://sourceforge.net/projects/biosig/files/BioSig%20for%20C_C%2B%2B/src/biosig-2.3.3.src.tar.gz";
#PATCH_URI="boffo-1.0-fix-whatever.p"
# use the standard src_compile, src_install and src_test
# package name
NAME="libb64"
VERSION=1.2.1
RELEASE=1

# .hint generation
CATEGORY="Libs"
SUMMARY="libary for base64-encoding"
DESCRIPTION="A library of ANSI C routines for fast 
encoding/decoding data into and from a base64-encoded format"
# source and patch files
SRC_URI="https://sourceforge.net/projects/libb64/files/libb64/libb64/libb64-1.2.1.zip";
#PATCH_URI="boffo-1.0-fix-whatever.p"
# use the standard src_compile, src_install and src_test
# package name
NAME="sigviewer"
VERSION=0.6.4
RELEASE=1

# .hint generation
CATEGORY="Science"
SUMMARY="Viewing and scoring tool for biosignals"
DESCRIPTION="SigViewer is a viewing application for biosignals 
such as EEG or MEG time series. In addition to viewing raw data, 
SigViewer can also create, edit, and display event information 
(such as annotations or artifact selections)."
# source and patch files
SRC_URI="https://github.com/cbrnr/sigviewer/archive/refs/heads/main.zip";
#PATCH_URI="boffo-1.0-fix-whatever.p"
# use the standard src_compile, src_install and src_test
# comment
sdesc: "base64 encoding/decoding library"
ldesc: "base64 encoding/decoding library"
category: Libs
# requires: package[ package...]
# depends: version-relation[, version-relation...]
# obsoletes: version-relation[, version-relation...]
# provides: package[, package...]
# conflicts: version-relation[, version-relation...]
# external-source: package
# message: id "some text"
test:
version: 1.2.1
# disable-check: check-name [check-name...]





# comment
sdesc: "Tools for biomedical signal processing"
ldesc: "base64 encoding/decoding library"
category: Libs,Science,Utils
requires: libb64 libbiosig  cygwin
# depends: version-relation[, version-relation...]
# obsoletes: version-relation[, version-relation...]
# provides: package[, package...]
# conflicts: version-relation[, version-relation...]
# external-source: package
# message: id "some text"
test:
version: 1.2.1
# disable-check: check-name [check-name...]





# comment
sdesc: "Libary for biomedical signal processing"
ldesc: "Libary for biomedical signal processing"
category: Libs
requires: tinyxml cholmod cygwin
# depends: version-relation[, version-relation...]
# obsoletes: version-relation[, version-relation...]
# provides: package[, package...]
# conflicts: version-relation[, version-relation...]
external-source: biosig
# message: id "some text"
test:
version: 1.2.1
# disable-check: check-name [check-name...]





# package name
NAME="stimfit"
VERSION=0.16.1
RELEASE=1

# .hint generation
CATEGORY="Science"
SUMMARY="Fast and simple program for viewing and analyzing electrophysiological 
data."
DESCRIPTION="Stimfit is a free, fast and simple program for viewing and 
analyzing electrophysiological 
data. It's currently available for GNU/Linux, Mac OS X and Windows. It features 
an 
embedded Python shell that allows you to extend the program functionality by 
using 
numerical libraries such as NumPy and SciPy. A standalone Python module for 
file 
i/o that doesn't depend on the graphical user interface is also available."

SRC_URI="https://github.com/neurodroid/stimfit/archive/refs/heads/master.zip";

#PATCH_URI="boffo-1.0-fix-whatever.p"

# use the standard src_compile, src_install and src_test
# comment
sdesc: "Fast and simple program for viewing and analyzing electrophysiological 
data."
ldesc: "Stimfit is a free, fast and simple program for viewing and analyzing 
electrophysiological 
data. It's currently available for GNU/Linux, Mac OS X and Windows. It features 
an 
embedded Python shell that allows you to extend the program functionality by 
using 
numerical libraries such as NumPy and SciPy. A standalone Python module for 
file 
i/o that doesn't depend on the graphical user interface is also available."
category: Libs,Science,Utils
requires: libbiosig fftw hdf5 wx-config-3.1 libwx-gtk3u3.1_5 python39-wx 
python39-numpy cygwin
# depends: version-relation[, version-relation...]
# obsoletes: version-relation[, version-relation...]
# provides: package[, package...]
# conflicts: version-relation[, version-relation...]
# external-source: package
# message: id "some text"
test:
version: 1.2.1
# disable-check: check-name [check-name...]





-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to