public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* newcomer issues when packaging biosig,stimfit, etc.
@ 2022-01-08 17:34 Alois Schlögl
  2022-01-08 17:41 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Alois Schlögl @ 2022-01-08 17:34 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1657 bytes --]

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



[-- Attachment #2: biosig.cygport --]
[-- Type: text/plain, Size: 1240 bytes --]

# 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

[-- Attachment #3: libb64.cygport --]
[-- Type: text/plain, Size: 447 bytes --]

# 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

[-- Attachment #4: sigviewer.cygport --]
[-- Type: text/plain, Size: 579 bytes --]

# 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

[-- Attachment #5: libb64-1.2.1-1.hint --]
[-- Type: text/plain, Size: 456 bytes --]

# 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...]






[-- Attachment #6: biosig-2.3.3-1.hint --]
[-- Type: text/plain, Size: 478 bytes --]

# 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...]






[-- Attachment #7: libbiosig-2.3.3-1.hint --]
[-- Type: text/plain, Size: 467 bytes --]

# 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...]






[-- Attachment #8: stimfit.cygport --]
[-- Type: text/plain, Size: 787 bytes --]

# 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

[-- Attachment #9: stimfit-0.16.1-1.hint --]
[-- Type: text/plain, Size: 959 bytes --]

# 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...]






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: newcomer issues when packaging biosig,stimfit, etc.
  2022-01-08 17:34 newcomer issues when packaging biosig,stimfit, etc Alois Schlögl
@ 2022-01-08 17:41 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2022-01-08 17:41 UTC (permalink / raw)
  To: cygwin-apps; +Cc: cygwin

On 08.01.2022 18:34, Alois Schlögl wrote:
> Dear Cygwin community,
> 

Hi Alois,

> 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

please subscribe to cygwin-apps.
The discussion about maintainership and packaging are handled there

> 
> 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
> 

regards
Marco

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-08 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 17:34 newcomer issues when packaging biosig,stimfit, etc Alois Schlögl
2022-01-08 17:41 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).