First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 178824
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ryan Hill <dirtyepic@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
wxlib.eclass wxlib.eclass text/plain Ryan Hill 2007-05-17 01:36 0000 4.09 KB Details
wxwidgets.eclass wxwidgets.eclass text/plain Ryan Hill 2007-05-17 01:36 0000 2.50 KB Details
wxGTK-2.6.3.3-r1.ebuild wxGTK-2.6.3.3-r1.ebuild text/plain Ryan Hill 2007-06-17 23:37 0000 4.95 KB Details
wxGTK-2.6.3.3-dialog_focus.patch wxGTK-2.6.3.3-dialog_focus.patch patch Ryan Hill 2007-06-17 23:37 0000 664 bytes Details | Diff
wxGTK-2.6.3.3-slider_linesize.patch wxGTK-2.6.3.3-slider_linesize.patch patch Ryan Hill 2007-06-17 23:38 0000 1.10 KB Details | Diff
wxGTK-2.6.3.3-wxrc_build_fix.patch wxGTK-2.6.3.3-wxrc_build_fix.patch patch Ryan Hill 2007-06-17 23:38 0000 1.26 KB Details | Diff
wxGTK-2.6.3.3-wxrc_link_fix.patch wxGTK-2.6.3.3-wxrc_link_fix.patch patch Ryan Hill 2007-06-17 23:38 0000 1.10 KB Details | Diff
wxGTK-2.6.3-unicode-odbc.patch wxGTK-2.6.3-unicode-odbc.patch patch Ryan Hill 2007-06-17 23:39 0000 729 bytes Details | Diff
wxGTK-2.6.3-versionated.patch wxGTK-2.6.3-versionated.patch patch Ryan Hill 2007-06-17 23:39 0000 7.03 KB Details | Diff
wxwidgets.eclass wxwidgets.eclass text/plain Ryan Hill 2007-09-15 04:27 0000 6.57 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 178824 depends on: 145032 175632 Show dependency tree
Bug 178824 blocks: 106692 112626 115722 142465 145884
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-17 01:35 0000
these are the new wxlib and wxwidgets eclasses.  they allow us to easily build
and use different wxGTK versions and types depending on our needs.  some of the
bigger changes:

- install any combination of ansi, unicode, debug and release versions side by
side
- automatic USE flag checking
- better error reporting
- they actually work

wxlib.eclass can go into the tree right away as nothing is using it right now. 
wxwidgets.eclass needs wxGTK-2.4 to go away first.

with the new wxwidgets.eclass, there is no /usr/bin/wx-config.  instead, each
"type" installs it own config script with the naming convention
/usr/bin/wx{base,gtk2}[u][d]-${WX_GTK_VER}-config (where u is unicode and d is
debug).

this is the biggest hurdle to overcome as most packages default to looking for
a script called wx-config.  most packages however can take an alternate name
via a configure option or env variable, and we export a few env variables
ourselves for ebuilds to use.  the upshot of all this is that packages that use
wxGTK MUST use wxwidgets.eclass to be able to find the configure script they
need to use.

down the road, the plan is to implement an eselect utility that will create a
wx-config symlink to whatever flavor of wxGTK the user wants.  this will allow
people developing with wxGTK to quickly switch between debug and release
versions.  this is another reason that ebuilds can't be allowed to use it - at
any given time it could point to anything (or nothing).

these eclasses are incomplete.  consider them a preview.  while i have been
working to get everything in the tree working with them, there's still some
things that are broken, so use them at your own risk.

------- Comment #1 From Ryan Hill 2007-05-17 01:36:16 0000 -------
Created an attachment (id=119489) [details]
wxlib.eclass

------- Comment #2 From Ryan Hill 2007-05-17 01:36:39 0000 -------
Created an attachment (id=119490) [details]
wxwidgets.eclass

------- Comment #3 From Ryan Hill 2007-05-17 01:57:47 0000 -------
i should mention the new wxwidgets.eclass won't work with the wxGTK in portage.
 i will be posting new wxGTK ebuilds soon, as soon as i polish them up.

------- Comment #4 From Mart Raudsepp 2007-05-17 08:56:22 0000 -------
(In reply to comment #0)
> wxlib.eclass can go into the tree right away as nothing is using it right now.

Technically it is used to uninstall (part of the upgrade process as well) older
versions of wxGTK that someone might still be using on a machine that is not
fully updated often.

> with the new wxwidgets.eclass, there is no /usr/bin/wx-config.  instead, each
> "type" installs it own config script with the naming convention
> /usr/bin/wx{base,gtk2}[u][d]-${WX_GTK_VER}-config (where u is unicode and d is
> debug).
> 
> this is the biggest hurdle to overcome as most packages default to looking for
> a script called wx-config.

I wonder if we could maybe make usage of wx-config, that will be coming from
the eselect module, to issue a QA warning if getting used during a portage
driven usage.

> these eclasses are incomplete.  consider them a preview.  while i have been
> working to get everything in the tree working with them, there's still some
> things that are broken, so use them at your own risk.

I won't be able to review before next weeks second half for sure :(

------- Comment #5 From Ryan Hill 2007-06-17 23:37:25 0000 -------
Created an attachment (id=122368) [details]
wxGTK-2.6.3.3-r1.ebuild

------- Comment #6 From Ryan Hill 2007-06-17 23:37:47 0000 -------
Created an attachment (id=122369) [details]
wxGTK-2.6.3.3-dialog_focus.patch

------- Comment #7 From Ryan Hill 2007-06-17 23:38:13 0000 -------
Created an attachment (id=122371) [details]
wxGTK-2.6.3.3-slider_linesize.patch

------- Comment #8 From Ryan Hill 2007-06-17 23:38:30 0000 -------
Created an attachment (id=122373) [details]
wxGTK-2.6.3.3-wxrc_build_fix.patch

------- Comment #9 From Ryan Hill 2007-06-17 23:38:50 0000 -------
Created an attachment (id=122374) [details]
wxGTK-2.6.3.3-wxrc_link_fix.patch

------- Comment #10 From Ryan Hill 2007-06-17 23:39:11 0000 -------
Created an attachment (id=122376) [details]
wxGTK-2.6.3-unicode-odbc.patch

------- Comment #11 From Ryan Hill 2007-06-17 23:39:27 0000 -------
Created an attachment (id=122378) [details]
wxGTK-2.6.3-versionated.patch

------- Comment #12 From Ryan Hill 2007-06-17 23:53:30 0000 -------
wxlib.eclass changes have been merged into the ebuild and the debug options
have been changed like we talked about.

99% of the tree is working with the new system but i'm planning on doing
another run to make sure nothing was overlooked.

only the versionated and unicode-odbc patches are new.  i just posted the
others so everything is in one place. ;)

------- Comment #13 From Dennis Schridde 2007-06-26 19:12:43 0000 -------
"with the new wxwidgets.eclass, there is no /usr/bin/wx-config"
I wonder how non Portage driven compiles are expected to work with that
change... Will I have to modify configure scripts to workaround the different
name?

------- Comment #14 From Mart Raudsepp 2007-06-27 00:37:39 0000 -------
(In reply to comment #13)
> "with the new wxwidgets.eclass, there is no /usr/bin/wx-config"
> I wonder how non Portage driven compiles are expected to work with that
> change...

An eselect module would be handling that symlink.

> Will I have to modify configure scripts to workaround the different
> name?

No. Additionally you can also use what the eclass uses - call configure with an
appropriate --with-wx-config value, or by setting some env vars (I think
WX_CONFIG_NAME and co). But the eselect module would be used for making your
choice for the _default_ wx to use in non-portage compilations.

------- Comment #15 From Vlad-Mihai Sima 2007-08-10 22:47:44 0000 -------
(In reply to comment #12)

> 99% of the tree is working with the new system but i'm planning on doing
> another run to make sure nothing was overlooked.

So, any news on this ?

------- Comment #16 From Ryan Hill 2007-09-15 04:27:50 0000 -------
Created an attachment (id=130971) [details]
wxwidgets.eclass

this is what i'm playing with nowadays

------- Comment #17 From Ryan Hill 2007-10-14 02:56:10 0000 -------
in portage.

------- Comment #18 From JC Francois 2008-04-13 15:08:56 0000 -------
I am developping an app using wxWidgets and I need release and debug builds to
coexist on my system. Although the original description of this bugs states
that the wxGTK ebuild will 'install any combination of ansi, unicode, debug and
release versions side by side' I am still enable to do it.

I checked wxGTK-2.8.7.1-r1.ebuild in the tree and it does not seem to inherit
wxlib.eclass nor implement any coexistence of builds.

Can you please clarify the capabilities of the wxGTK ebuild?

Thanks

------- Comment #19 From Ryan Hill 2008-04-28 21:33:24 0000 -------
concurrent installs of release and debug libraries was a planned feature but
unfortunately proved to be very difficult to implement and maintain.  i might
revisit the issue in the future, but i'm pretty swamped with work right now.

First Last Prev Next    No search results available      Search page      Enter new bug