After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734288 - Generate .dll libraries on windows
Generate .dll libraries on windows
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-05 13:34 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2014-08-06 07:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Generate .dll libraries on windows (2.29 KB, patch)
2014-08-06 06:28 UTC, Ignacio Casal Quinteiro (nacho)
none Details | Review
Generate .dll libraries on windows (2.38 KB, patch)
2014-08-06 06:29 UTC, Ignacio Casal Quinteiro (nacho)
committed Details | Review

Description Ignacio Casal Quinteiro (nacho) 2014-08-05 13:34:11 UTC
This is clearly not correct fix but see for reference what it is needed on windows to have it built:
https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-pygobject/0003-dll.mingw.patch
Comment 1 Simon Feltman 2014-08-06 02:31:57 UTC
Yep, definitely not right, although I have no clue at how to make this portable... Is there something like $(EXEEXT) for library extensions?
Comment 2 Ignacio Casal Quinteiro (nacho) 2014-08-06 06:28:24 UTC
Created attachment 282633 [details] [review]
Generate .dll libraries on windows
Comment 3 Ignacio Casal Quinteiro (nacho) 2014-08-06 06:28:48 UTC
what about something like that? I haven't tested it though.
Comment 4 Ignacio Casal Quinteiro (nacho) 2014-08-06 06:29:40 UTC
Created attachment 282634 [details] [review]
Generate .dll libraries on windows
Comment 5 Simon Feltman 2014-08-06 06:50:47 UTC
Review of attachment 282634 [details] [review]:

If you can confirm it works on both Windows and Linux, feel free to push.
Comment 6 Ignacio Casal Quinteiro (nacho) 2014-08-06 07:12:21 UTC
Tested in both linux and windows. I cannot test it though on osx
but I guess it should be also fine for it.

Attachment 282634 [details] pushed as 18341f2 - Generate .dll libraries on windows