patchGNU Octave - Patches: patch #9984, mxe-octave: upgrade biosig to...

 
 

patch #9984: mxe-octave: upgrade biosig to v2.1.0

Submitter:  Alois Schlögl <schloegl>
Submitted:  Sat 17 Oct 2020 05:14:06 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 25 Nov 2020 07:14:43 AM UTC, comment #3: 

Thanks for the test case.
I ran the following commands:

pkg load mexbiosig
system('wget https://pub.ist.ac.at/~schloegl/download/TEST_44x86_e1.GDF  --no-check-certificate')
[data,HDR]=mexSLOAD('TEST_44x86_e1.GDF');


After that, `data` is a 1000x6 double array and HDR is a 1x1 structure. So I guess that worked.

Closing as done.

Btw, Kai created an index for Octave packages:
https://gnu-octave.github.io/pkg-index/
IIUC, package developers are free to add their packages to that listing with minimal requirements:
https://github.com/gnu-octave/pkg-index
Would you like to add your packages to that list?

Markus Mützel <mmuetzel>
Group administrator
Tue 24 Nov 2020 05:51:09 PM UTC, comment #2: 


After installing and loading the package mexbiosig, it should be possible to run the commands mexSLOAD, mexSSAVE, mexSOPEN. When no argument is provided, a help/usage information should be displayed.

You can also download this example file and try to open it with

   wget https://pub.ist.ac.at/~schloegl/download/TEST_44x86_e1.GDF
   [data,HDR]=mexSLOAD('TEST_44x86_e1.GDF');

Data sets from PhysioBank
   https://archive.physionet.org/physiobank/database/
like these
   https://physionet.org/content/sleep-edf/1.0.0/
   https://archive.physionet.org/physiobank/database/mitdb/
will be also readable.

Other example data is available from here:
   http://www.biosemi.com/download/BDFtestfiles.zip





Alois Schlögl <schloegl>
Mon 23 Nov 2020 04:20:10 PM UTC, comment #1: 

The SHA-1 checksum didn't match. You can have MXE Octave update the checksum automatically. E.g. for biosig:

make update-checksum-biosig


I updated the checksum with that command and cross-built the package for Windows.
With it, I could install and load the mexbiosig package using:

pkg install https://pub.ist.ac.at/~schloegl/biosig/prereleases/mexbiosig-2.0.4.src.tar.gz
pkg load mexbiosig


However, I don't know how to use any of the functions.
But I guess if the package could successfully link against the new version, the library probably compiled correctly.

Pushed here:
https://hg.octave.org/mxe-octave/rev/65471ba1fc2a

Marking as ready for test in case someone knows how to test that properly.

Markus Mützel <mmuetzel>
Group administrator
Sat 17 Oct 2020 05:14:06 PM UTC, original submission:  

Please consider the following patch to mxe-octave

Cheers,
  Alois


--- a/src/biosig.mk     Sun Aug 30 13:16:09 2020 +0200
+++ b/src/biosig.mk     Sat Oct 17 19:13:20 2020 +0200
@@ -4,8 +4,8 @@
 PKG             := biosig
 $(PKG)_WEBSITE  := http://biosig.sf.net/
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 2.0.6
-$(PKG)_CHECKSUM := 3c42b8e96347483f58ddff92f04c4d72ea1d27aa
+$(PKG)_VERSION  := 2.1.0
+$(PKG)_CHECKSUM := 488db8cbd9ecc2049b1135a34faf6d020fe2a9cb
 $(PKG)_SUBDIR   := biosig-$($(PKG)_VERSION)
 $(PKG)_FILE     := biosig-$($(PKG)_VERSION).src.tar.gz
 $(PKG)_URL      := https://sourceforge.net/projects/biosig/files/BioSig%20for%20C_C%2B%2B/src/$($(PKG)_FILE)

Alois Schlögl <schloegl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by schloegl (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-25 mmuetzel StatusReady For Test Done
        Open/ClosedOpen Closed
    2020-11-23 mmuetzel StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code