From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by sourceware.org (Postfix) with ESMTPS id F255D385840D for ; Fri, 14 Jan 2022 10:09:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F255D385840D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x333.google.com with SMTP id n19-20020a7bc5d3000000b003466ef16375so7011397wmk.1 for ; Fri, 14 Jan 2022 02:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=LGrehHBEsaIiLAj9A9WK7zGd4L+VmMFXUdkS/rWcE7w=; b=qscDv5253eC1ajjMtGT29OgjDAPrRiVc/BsZEs3w2EBD1SVexWHThc+OCy188fYFu7 BLecJXW80AYP5Fe+PonAeGU3WQBAHZ5WRUcedrjTUCApT4lIOfizRjn5HE2DM8nlURhd gh1GUybO5JT40UJzGHmyTQGbjqOo8SsaHgZ5DozeOEo/tyrbYLO0c5SjacZtOtXDVDuy NkEJ6/wLrlh0XNY19AK3qX0/gG76h5vJiXTLw3+Mo4OTxT8CCYGjiggiO2f3CaA23uIO ioTcTe/L7zVvn80T75W/muhXYrv+e84uu8+pHEA5iy+pRvWsSb6tiEV2Ku7WI+4Yhjws /BOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=LGrehHBEsaIiLAj9A9WK7zGd4L+VmMFXUdkS/rWcE7w=; b=SYp7FBHN/3XYaGQWpREODuKXga9PtVvYD/1j1+5+OSqKYJYtn9SXvgT4kK9KFImAYo xY97cBt0vwIoMXdM164SONtjTcUgLDHgvL9AJ7lhJCo3FfgJJAy7aGDKn99/u3IH6ce2 uRoLB7547Z4uc/70c8x4Qlm+Lr4yHXzBEWM88KVOddGfq9dMrmJn0zu1KiXvsTMFlwb7 T8O3o1Qaj4A4ZQC5nxAJMGuvuNBDfyrLIqpSX+F4eQrSyeHEvpW5B1KQkQmaQHhH0snr 0Ujasv4rR3eM0MPyyO4s5s1PqYNEKOxaJbbSAFh5b3rnyEZvQPWnSPg9OyzVsV/r0gw/ pPzw== X-Gm-Message-State: AOAM532ng4Pr6TnbLsmw2DPnW54lUitD4cY4a1K6ei68I77RWVqY8xuf 8gCMsljckXH14H27l+ZdeJ53xc+OCys= X-Google-Smtp-Source: ABdhPJyLDD5kNHy+SydrHzFMNTzCS5dsrONwnpOF+j0MYqCScb8wsuvh9KZ4RP4q434dw7R0bXC7RA== X-Received: by 2002:a05:600c:b50:: with SMTP id k16mr7596667wmr.85.1642154983975; Fri, 14 Jan 2022 02:09:43 -0800 (PST) Received: from ?IPV6:2003:cc:9f2f:3edd:f10b:cdd0:e1a2:cedf? (p200300cc9f2f3eddf10bcdd0e1a2cedf.dip0.t-ipconnect.de. [2003:cc:9f2f:3edd:f10b:cdd0:e1a2:cedf]) by smtp.gmail.com with ESMTPSA id a3sm5997318wri.89.2022.01.14.02.09.43 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Jan 2022 02:09:43 -0800 (PST) Message-ID: Date: Fri, 14 Jan 2022 11:09:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [ITP] biosig [was: Re: newcomer issues when packaging biosig, stimfit, etc.] Content-Language: it To: cygwin-apps@cygwin.com References: <99eff890-3d7f-7fa9-1f42-d8d611b92ded@gmail.com> <44c5a1de-dbfe-625d-8ff8-049d8047277e@gmail.com> <8e1cdac3-b217-faa6-d0a0-8f8a61c6d2a3@gmail.com> <3a18d77a-0339-0702-fdab-ff40cac8d25a@SystematicSw.ab.ca> From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2022 10:09:46 -0000 On 12.01.2022 23:59, Alois Schlögl wrote: > > > Am 1/12/22 um 06:47 schrieb Marco Atzeri: >>> In the meantime, please find below the status for the libb64 and >>> biosig packages. >> >>> Thanks that was helpful. Attached is an updated version for biosig >>> and libb64. >>> >>> cygport libb64.cygport all >>> cygport biosig.cygport all >>> >>> runs now w/o error. How can I test whether result can be installed >>> and used ? >> >> One major problem. >> Never build in the source directory, the final src.patch >> must fit with you desired patch. >> So only what you patched should come out. >> >> For this package that does not respect the build in a >> different directory than source, you shoud start >> with something like: >> >> src_compile() { >>         cd ${S} >>         lndirs >>         cd ${B} >>         cygautoreconf >>         cygconf >>         cygmake >> } > > > > I've adapted biosig.cygport accordingly and addressed this in the > attached version. It runs fine when doing > >    cygport biosig.cygport all > > runs w/o error. Also testing the package with > > tar -C / -xvf > biosig-2.3.3-1.x86_64/dist/biosig/biosig-tools/biosig-tools-2.3.3-1.tar.xz > tar -C / -xvf > biosig-2.3.3-1.x86_64/dist/biosig/libbiosig/libbiosig-2.3.3-1.tar.xz > tar -C / -xvf > biosig-2.3.3-1.x86_64/dist/biosig/libbiosig-devel/libbiosig-devel-2.3.3-1.tar.xz > > > and running >    save2gdf -h > works fine. > > Moreover, I understand now why my libb64.cygport file is not ready. > ecause libb64 is not necessary for libbiosig's support of Stimfit, I'll > omit libb64 for now. > Would you please check whether Biosig is ready to be included in cygwin ? > > > Cheers, >    Alois Hi Alois. it is almost fine the only problem I see is that the shared library are build as libbiosig.dll while they should be called cygbiosig.dll (probably better cygbiosig-3.dll to handle the SOMANE) please also run the test in the ${B} directory I was playing with the CMakeList.txt to see if that was more easy than your deep patch of the upstream Makefile's src_compile() { cd ${B} CYGCMAKE_SOURCE="${S}/biosig4c++" cygcmake cygmake I see however that also the CMakeLists.txt need some patching as it builds only the shared lib withouh the SONAME and it is not updated to include all the needed file in the t40x directory and does not build the utility. Sorry for slow response, but I have little time in this moment Regards Marco