Author Topic: MSys2/Linux wxWidgets wx-config package question.  (Read 3251 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
MSys2/Linux wxWidgets wx-config package question.
« 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.




C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: MSys2/Linux wxWidgets wx-config package question.
« Reply #1 on: September 19, 2016, 08:51:15 pm »
Why would you rename it in the first place?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: MSys2/Linux wxWidgets wx-config package question.
« Reply #2 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: MSys2/Linux wxWidgets wx-config package question.
« Reply #3 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/

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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: MSys2/Linux wxWidgets wx-config package question.
« Reply #4 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]