Code::Blocks Forums

User forums => Help => Topic started by: stahta01 on September 19, 2016, 07:59:32 pm

Title: MSys2/Linux wxWidgets wx-config package question.
Post by: stahta01 on September 19, 2016, 07:59:32 pm
I am trying to build Code::Blocks as an MSys2 package.
It will likely be a several month work; it has taken me a week to get wxWidgets 2.8.12 built using MSys2 packaging.

I am currently installing "wx-config" renamed to "wx-config2.8"; is there a better name like maybe "wx-config-2.8"?

Tim S.




Title: Re: MSys2/Linux wxWidgets wx-config package question.
Post by: oBFusCATed on September 19, 2016, 08:51:15 pm
Why would you rename it in the first place?
Title: Re: MSys2/Linux wxWidgets wx-config package question.
Post by: stahta01 on September 20, 2016, 01:22:04 am
Why would you rename it in the first place?

There is already a package for wxWidgets 3.0 and I wish to be able to install both packages at once.

The wx-config file is one of about 6 files that gives errors because the file was installed by the wxWidgets 3.0 package.

The 3 bkl (backfile) files I decided to NOT install at all; the wxwin.m4 I am going to just rename like wx-config.
The wxrc.exe I am only going to install the one called "wxrc-2.8.exe".

But, I was hoping that there was a standard naming pattern; I can use for wx-config since it will most likely be the one most used by other packages.

Tim S.
Title: Re: MSys2/Linux wxWidgets wx-config package question.
Post by: stahta01 on September 20, 2016, 01:37:40 am
Finally got Google to give a good answer at https://www.archlinux.org/packages/extra/x86_64/wxgtk2.8/files/ (https://www.archlinux.org/packages/extra/x86_64/wxgtk2.8/files/)

I am going with "wx-config-2.8" as the name.

And these for the other names.
Code
usr/share/aclocal/wxwin2.8.m4
usr/share/bakefile/presets/wx28.bkl
usr/share/bakefile/presets/wx28_unix.bkl
usr/share/bakefile/presets/wx28_win32.bkl

Now I have to finish the wxWidgets 2.8 package and start work on the Code::Blocks package.

Tim S.
Title: Re: MSys2/Linux wxWidgets wx-config package question.
Post by: oBFusCATed on September 20, 2016, 09:36:02 am
Generally wx-config is designed to support multiple versions in the same folder.
At least on linux this is used a lot to make it possible to switch between versions.

If I were you I'd stick with this and try to make a wrapper wx-config or just have a single one with multiple versions.