From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Soo Subject: Re: Packaging for guix Date: Sat, 27 Apr 2019 15:31:47 +0000 Message-ID: References: <12CE7046-8602-467B-8429-C51154FC9AAE@asu.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0810540938368739152==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: pyside-bounces@qt-project.org Sender: "PySide" To: =?UTF-8?Q?Cristi=C3=A1n_Maureira=2DFredes?= Cc: "guix-devel@gnu.org" , "pyside@qt-project.org" List-Id: guix-devel.gnu.org --===============0810540938368739152== Content-Type: multipart/alternative; boundary="000000000000798701058784c0a0" --000000000000798701058784c0a0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Cristi=C3=A1n and Ricardo, A quick update: Shiboken2 builds! Thanks for your guidance! I may have more questions when building freecad itself, but this was very helpful. Thanks again! - John On Fri, Apr 19, 2019 at 1:06 PM John Soo wrote: > Hi Cristi=C3=A1n, > > Thank you! I have been following the cmake path and it seems to be workin= g > better than before. If I find more issues, I will ask. Thanks again! > > - John > > On Wed, Apr 10, 2019 at 9:47 AM Cristi=C3=A1n Maureira-Fredes < > Cristian.Maureira-Fredes@qt.io> wrote: > >> Hello John, >> >> I'm not familiar with guix, but if the CMake approach doesn't work [1] >> and the setuptools also doesn't work [2], >> maybe you can share some of the logs related the build errors >> so we can see how what's precisely the issue. >> >> Cheers >> >> [1] >> https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=3D= packages/shiboken2 >> [2] https://wiki.qt.io/Qt_for_Python/GettingStarted/X11 >> ________________________________________ >> From: PySide on behalf of John Soo < >> jsoo1@asu.edu> >> Sent: Thursday, March 28, 2019 06:21 >> To: pyside@qt-project.org >> Cc: guix-devel@gnu.org >> Subject: [PySide] Packaging for guix >> >> Hello pyside maintainers, >> >> Hope you are all well. I am looking to package freecad for the guix >> package manager for which pyside is a dependency. I=E2=80=99m having som= e trouble >> packaging pyside as the build and environment for guix (like nix) are qu= ite >> different from a Debian style system. There a quite a few differences: >> >> - the prefix for installation directories is in a unique directory >> specific to the package >> - cmake and python require many particular environment variables and >> flags >> - library and linking paths are very different and often source shebangs >> and linking paths need to be patched to point to the correct paths >> - the build process happens in an isolated build environment apart from >> any system directories >> - probably more that I haven=E2=80=99t come across yet >> >> I=E2=80=99ve tried using the provided python build process but I get sev= eral >> build errors, let alone runtime issues. Would anyone be able to point me= in >> a direction to patch pyside for such a packaging system? Currently I=E2= =80=99m >> stuck building Shiboken. I=E2=80=99d particularly like guidance on how t= o setup >> cmake to build it correctly (mostly the ability to provide our particula= r >> flags and variables). Any help would be greatly appreciated. >> >> Thank you, >> >> John >> _______________________________________________ >> PySide mailing list >> PySide@qt-project.org >> https://lists.qt-project.org/listinfo/pyside >> > --000000000000798701058784c0a0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Cristi=C3=A1n and Ricardo,

A quick update: Shiboken2 builds! Thanks for your guidance!=C2=A0 I may h= ave more questions when building freecad itself, but this was very helpful.= Thanks again!

- John


Hello John,

I'm not familiar with guix, but if the CMake approach doesn't work = [1]
and the setuptools also doesn't work [2],
maybe you can share some of the logs related the build errors
so we can see how what's precisely the issue.

Cheers

[1] https:= //git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=3Dpackages/= shiboken2
[2] https://wiki.qt.io/Qt_for_Python/GettingStart= ed/X11
________________________________________
From: PySide <pyside-bounces@qt-project.org> on behalf of John Soo <jsoo1@asu.edu>
Sent: Thursday, March 28, 2019 06:21
To: pyside@qt-pr= oject.org
Cc: guix-devel@gnu.= org
Subject: [PySide] Packaging for guix

Hello pyside maintainers,

Hope you are all well.=C2=A0 I am looking to package freecad for the guix p= ackage manager for which pyside is a dependency. I=E2=80=99m having some tr= ouble packaging pyside as the build and environment for guix (like nix) are= quite different from a Debian style system. There a quite a few difference= s:

=C2=A0-=C2=A0 the prefix for installation directories is in a unique direct= ory specific to the package
=C2=A0- cmake and python require many particular environment variables and = flags
- library and linking paths are very different and often source shebangs an= d linking paths need to be patched to point to the correct paths
=C2=A0- the build process happens in an isolated build environment apart fr= om any system directories
=C2=A0- probably more that I haven=E2=80=99t come across yet

I=E2=80=99ve tried using the provided python build process but I get severa= l build errors, let alone runtime issues. Would anyone be able to point me = in a direction to patch pyside for such a packaging system? Currently I=E2= =80=99m stuck building Shiboken. I=E2=80=99d particularly like guidance on = how to setup cmake to build it correctly (mostly the ability to provide our= particular flags and variables). Any help would be greatly appreciated.
Thank you,

John
_______________________________________________
PySide mailing list
PySide@qt-projec= t.org
https://lists.qt-project.org/listinfo/pyside
--000000000000798701058784c0a0-- --===============0810540938368739152== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUHlTaWRlIG1h aWxpbmcgbGlzdApQeVNpZGVAcXQtcHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0cy5xdC1wcm9qZWN0 Lm9yZy9saXN0aW5mby9weXNpZGUK --===============0810540938368739152==--