From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34658) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpxfy-0000iG-0X for guix-patches@gnu.org; Tue, 23 Jul 2019 12:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpxfv-0002uF-KC for guix-patches@gnu.org; Tue, 23 Jul 2019 12:30:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54938) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpxfv-0002so-9k for guix-patches@gnu.org; Tue, 23 Jul 2019 12:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpxfv-0005mw-4m for guix-patches@gnu.org; Tue, 23 Jul 2019 12:30:03 -0400 Subject: [bug#36440] [PATCH] Add FreeCAD Resent-Message-ID: MIME-Version: 1.0 References: <20190722161120.36fd0942@alma-ubu> In-Reply-To: From: John Soo Date: Tue, 23 Jul 2019 16:29:31 +0000 Message-ID: Content-Type: multipart/mixed; boundary="0000000000002e80d3058e5bb30e" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Jonathan Brielmaier Cc: 36440@debbugs.gnu.org --0000000000002e80d3058e5bb30e Content-Type: multipart/alternative; boundary="0000000000002e80d0058e5bb30c" --0000000000002e80d0058e5bb30c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, I forgot to add some patches to start updating HDF5 with breaking builds. It seems like the patches will need an update to start. - John On Tue, Jul 23, 2019 at 4:25 PM John Soo wrote: > Hi Bjorn, Jonathon, and everyone, > > FreeCAD was certainly not easy to package. I spent actually several month= s > just working on the pyside2 dependencies and I still do not have a workin= g > build of Pivy from coin. It is only thanks to the help of the upstream > maintainers that this package is even close to working. I have attached > updated patches and my responses to Bjorn's notes below. Thanks for your > review! > > As to QTWebKit - I do not know why it is a dependency. It may not be a > hard requirement. If you comment it out, I think the configure phase may > succeed. I included it for completion only. > > * FreeCAD Notes > > ** DONE Add commit message details and copyright lines > > ** Coin3D > > *** DONE Delete blobs > > *** hg-fetch deletes .hg dirs (and all submodules' .hg dirs) > > ** SoQT vs. Quarter > > *** Not interchangeable as far as I know. > > *** FreeCAD requires SoQT specifically during configure. > > ** Pyside2 > > *** Does all of pyside2 belong in qt.scm? - there are three packages: > Shiboken2, Pyside2, and Pyside2-Tools > > *** QT version compatibility > > **** The pyside2 project has branches for the newest version with > compatibility with older QT versions (I am using the 5.11.3 compat branch= ) > > - That is also why I am using a git commit for the Pyside2 packages > - https://code.qt.io/cgit/pyside/pyside-setup.git/ > - Pyside dependencies were by far the most challenging, and I had to > track some issues (of which, some are not resolved) > > ** libmedfile > > *** Reason for old version is that what was released when I started > > *** 4.0.0 requires hdf5 >=3D 1.10.2 > > **** HDF5 has some dependents: > > guix refresh --list-dependent hdf5 Building the following 11 packages > would ensure 23 dependent packages are rebuilt: > r-ioniser@2.8.0 r-scone@1.8.0 r-lumi@2.36.0 r-yarn@1.10.0 > r-illuminahumanmethylationepicmanifest@0.3.0 r-scdd@1.8.0 pigx@0.0.3 > r-pore@0.24 r-yamss@1.10.0 r-xcms@3.6.1 r-msnid@1.18.0 > > **** HDF5 patches need updates when HDF5 updated to 1.10.5 > > *** DONE Change license to gpl3+ > > ** libarea License questions and source locations: > > **** I am using the source from github: https://github.com/Heeks/libarea > > - Should I use some other source? The google archive is unavailable. > - I cannot find any license information in the github repository. > > **** DONE Change to gpl3+ > > ** Using releases over hg/git downloads (please advise) > > 1. Pyside2 packages - Done for compatibility reasons > 2. Coin3D and SoQt - I don't think there are releases of these aside from > the bitbucket repository. > 3. LLVM propagated packages (llvm-toolchain and pyside-libcxx-headers) > - I am not sure these are the best way to accomplish the goal anyways. > - Not sure where to find the right sources for llvm-toolchain-6 and the > pyside-libcxx-headers. > 4. libarea - Seems like libarea is actually close to not even having > source available anymore, let alone a release > 5. libspnav - Confused as to the best source to use here. If there is a > release or better version, I can update. > 6. FreeCAD > - I can use the releases if they exist. I do not think they have source > tarballs available. > - I was packaging during a lot of active development of FreeCAD > > Thank you for your review and advice. > > - John > > On Mon, Jul 22, 2019 at 5:57 PM Jonathan Brielmaier < > jonathan.brielmaier@web.de> wrote: > >> Thanks Bj=C3=B6rn for having a look here :) >> >> On 7/22/19 4:11 PM, Bj=C3=B6rn H=C3=B6fling wrote:> I wanted to give it = a try for >> myself but failed: I could not build >> > qtwebkit locally, and no substitutes are available. I don't want to >> > hold back my comments any longer, so I postponed trying it out. >> >> qtwebkit seems to fail on master as well and it needs long to build, so >> I can't do it locally on my laptop: >> http://ci.guix.gnu.org/build/1488065/details >> >> > I wonder if we need the dependency on qtwebkit or if we can get rid of >> this, but I haven't investigated yet. >> >> I think we need it as openSUSE and Debian have a build require on >> qtwebkit-devel and it's noted at their wiki: >> https://www.freecadweb.org/wiki/CompileOnUnix#Getting_the_dependencies >> > --0000000000002e80d0058e5bb30c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I forgot to add some= patches to start updating HDF5 with breaking builds. It seems like the pat= ches will need an update to start.

- John


On Tue, Jul 23, 2019 at 4:25 PM John Soo <jsoo1@asu.edu> wrote:
Hi Bjorn, Jonathon, and e= veryone,

FreeCAD was certainly not easy to package= . I spent actually several months just working on the pyside2 dependencies = and I still do not have a working build of Pivy from coin.=C2=A0 It is only= thanks to the help of the upstream maintainers that this package is even c= lose to working.=C2=A0 I have attached updated patches and my responses to = Bjorn's notes below. Thanks for your review!

A= s to QTWebKit - I do not know why it is a dependency. It may not be a hard = requirement. If you comment it out, I think the configure phase may succeed= . I included it for completion only.

* FreeCAD Not= es

** DONE Add commit message details and copyrigh= t lines

** Coin3D

*** DON= E Delete blobs

*** hg-fetch deletes .hg dirs (and = all submodules' .hg dirs)

** SoQT vs. Quarter<= /div>

*** Not interchangeable as far as I know.

*** FreeCAD requires SoQT specifically during configure.

** Pyside2

*** Does all of= pyside2 belong in qt.scm? - there are three packages: Shiboken2, Pyside2, and Pyside2-Tools
=

*** QT version compatibility

*= *** The pyside2 project has branches for the newest version with compatibil= ity with older QT versions (I am using the 5.11.3 compat branch)
=
=C2=A0- That is also why I am using a git commit for the Pys= ide2 packages
=C2=A0- Pyside dependencies were by far the most ch= allenging, and I had to track some issues (of which, some are not resolved)=

** libmedfile

*** Reason= for old version is that what was released when I started

*** 4.0.0 requires hdf5 >=3D 1.10.2

***= * HDF5 has some dependents:

guix refresh --list-de= pendent hdf5 Building the following 11 packages would ensure 23 dependent packages are r= ebuilt:
r-ioniser@2.8.0 r-scone@1.8.0 r-lumi@2.36.0 r-yarn@1.10.0 r-illuminahumanmethylationepicmanifest@0.3.0 r-scdd@1.8.0 pigx@0.0.3 r-pore@0.24 r-yamss@1.10.0 r-xcms@3.6.1 r-msnid@1.18.0

**** HDF5 patches need updates when= HDF5 updated to 1.10.5

*** DONE Change license to= gpl3+

** libarea License questions and source loc= ations:

**** I am using the source from github: https://github= .com/Heeks/libarea

=C2=A0- Should I use some o= ther source? The google archive is unavailable.
=C2=A0- I cannot = find any license information in the github repository.

=
**** DONE Change to gpl3+

** Using releases o= ver hg/git downloads (please advise)

1. Pyside= 2 packages - Done for compatibility reasons
2. Coin3D and SoQt - I don't think there are releases of these aside from the bitbucket= repository.
3. LLVM propagated packages (llvm-toolchain and pysi= de-libcxx-headers)
=C2=A0- I am not sure these are the best way t= o accomplish the goal anyways.
=C2=A0- Not sure where to find the= right sources for llvm-toolchain-6 and the pyside-libcxx-headers.
4. libarea - Seems like libarea is actually close to not even having source availab= le anymore, let alone a release
5. libspnav - Confused as to the best source to use here. If there is a release or b= etter version, I can update.
6. FreeCAD
=C2=A0- I can u= se the releases if they exist. I do not think they have source tarballs av= ailable.
=C2=A0- I was packaging during a lot of active developme= nt of FreeCAD

Thank you for your review and advice= .

- John

On Mon, Jul 22, 2019 at 5:57 PM Jonathan Brielmaier <jonathan.brielmaier@web.= de> wrote:
http://ci.guix.gnu.org/build/1488065/details

> I wonder if we need the dependency on qtwebkit or if we can get rid of= this, but I haven't investigated yet.

I think we need it as openSUSE and Debian have a build require on
qtwebkit-devel and it's noted at their wiki:
https://www.freecadweb.org/wik= i/CompileOnUnix#Getting_the_dependencies
--0000000000002e80d0058e5bb30c-- --0000000000002e80d3058e5bb30e Content-Type: text/x-patch; charset="UTF-8"; name="0001-gnu-hdf5-Update-to-1.10.5.patch" Content-Disposition: attachment; filename="0001-gnu-hdf5-Update-to-1.10.5.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jyg1b08g0 RnJvbSBhYjQxNGZkYWY0NjVkOTMyNjkxZDIxODZlYmMzNDU0ZjYzNDA5MWU5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIFNvbyA8anNvb0BwYW5vc29mdC5jb20+CkRhdGU6IFR1 ZSwgMjMgSnVsIDIwMTkgMDg6MjM6MTUgLTA3MDAKU3ViamVjdDogW1BBVENIIDEvMl0gZ251OiBo ZGY1OiBVcGRhdGUgdG8gMS4xMC41LgoKKiBnbnUvcGFja2FnZXMvbWF0aHMuc2NtIChoZGY1KTog VXBkYXRlIHRvIDEuMTAuNS4KLS0tCiBnbnUvcGFja2FnZXMvbWF0aHMuc2NtIHwgNSArKystLQog MSBmaWxlIGNoYW5nZWQsIDMgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkKCmRpZmYgLS1n aXQgYS9nbnUvcGFja2FnZXMvbWF0aHMuc2NtIGIvZ251L3BhY2thZ2VzL21hdGhzLnNjbQppbmRl eCBiMjA0YjMxNGM2Li5jMmViZTM2Mjg3IDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvbWF0aHMu c2NtCisrKyBiL2dudS9wYWNrYWdlcy9tYXRocy5zY20KQEAgLTMxLDY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rOCIpKQogICAgICAgKHBhdGNoZXMgKHNlYXJjaC1wYXRjaGVzICJoZGY1LWNvbmZpZy1kYXRl LnBhdGNoIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJoZGY1LTEuOC1tcGktZGVw cmVjYXRpb25zLnBhdGNoIikpKSkKICAgICAoYnVpbGQtc3lzdGVtIGdudS1idWlsZC1zeXN0ZW0p Ci0tIAoyLjIyLjAKCg== --0000000000002e80d3058e5bb30e Content-Type: text/x-patch; charset="US-ASCII"; name="0002-gnu-libmedfile-Update-to-4.0.0.patch" Content-Disposition: attachment; filename="0002-gnu-libmedfile-Update-to-4.0.0.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jyg1b08g1 RnJvbSBlY2QwMmQ5NzUwNzEyYTM5MzViN2NmYWZjNzE0MWZjOWU3Y2E4YmQ0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIFNvbyA8anNvb0BwYW5vc29mdC5jb20+CkRhdGU6IFR1 ZSwgMjMgSnVsIDIwMTkgMDg6MjY6NDUgLTA3MDAKU3ViamVjdDogW1BBVENIIDIvMl0gZ251OiBs aWJtZWRmaWxlOiBVcGRhdGUgdG8gNC4wLjAuCgoqIGdudS9wYWNrYWdlcy9lbmdpbmVlcmluZy5z Y20gKGxpYm1lZGZpbGUpOiBVcGRhdGUgdG8gNC4wLjAuCi0tLQogZ251L3BhY2thZ2VzL2VuZ2lu ZWVyaW5nLnNjbSB8IDQgKystLQogMSBmaWxlIGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKSwgMiBk ZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvZW5naW5lZXJpbmcuc2NtIGIv Z251L3BhY2thZ2VzL2VuZ2luZWVyaW5nLnNjbQppbmRleCBiNWIyMzY5NjkwLi41NDZhOTEzZTM1 IDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvZW5naW5lZXJpbmcuc2Nt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