Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wxGTK replacement wxX11
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Wed Jan 05, 2011 11:19 pm    Post subject: wxGTK replacement wxX11 Reply with quote

hi ,

the graphical toolkit wxX11 ( http://www.wxwidgets.org ) should be made available in gentoos main repository.

it is designed to replace wxGTK completly with lesser depencies ( only X11 , no more gtk and gnome stuff )

thx for considering
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Thu Jan 06, 2011 7:02 am    Post subject: Reply with quote

wxX11 is just a X11 port like wxGTK is a GTK port, not a replacement.
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Thu Jan 06, 2011 7:57 am    Post subject: Reply with quote

the homepage in the details of this project says in fact each port aims to be 100 percent compatible in all available funtions to each other ....

.... so it is de facto a replacement with wx-config as their common wrapper.

as an example it gives the oppertunity for some awesome open source games like 0 A.D. ( http://wildfiregames.com/0ad ) to reduce drastically their depencies ...

kde ( aka qt toolkit users ) dont need extra gtk and gnome packages onboard their systems.
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Thu Jan 06, 2011 3:41 pm    Post subject: Reply with quote

I'm not going to argue with you about wxX11 being a wxGTK replacement or not.

About the game, wxGTK is only for game's editor
so, get the ebuild from here: https://bugs.gentoo.org/attachment.cgi?id=251721
put it in your portage overlay, get the manifest, add it to package.keywords, add "-editor" to package.use and emerge it, no wxWidgets dependency.
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Thu Jan 06, 2011 10:44 pm    Post subject: Reply with quote

i already tried it without wxX11 (and without wxGTK) its not compiling (missing wx-config), with either one of them trough their wrapper wxconfig it compiles fine but because of the missing s3tc extension in the foss radeon drivers models are shaded but not textured and the frame rates are below "good and evil" ....

current 0ad svn itself ( not only the editor ) uses wxwidgets so its a hard depency !
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Fri Jan 07, 2011 3:03 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=65607
https://bugs.gentoo.org/show_bug.cgi?id=278541
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Jan 08, 2011 11:37 am    Post subject: Reply with quote

Moved from Gentoo Chat to Unsupported Software as it's not in the Portage tree.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Sun Jan 09, 2011 11:50 am    Post subject: Reply with quote

maybe it is time for a new wxwidgets virtual .....
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Tue Jan 11, 2011 10:37 am    Post subject: Reply with quote

... or simlpy the package wxGTK should be renamed to wxWidgets and the use flag gtk should also be added to the current ebuild because wxWidgets dont need gtk and gnome stuff as a hard depency ... this should be supported
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1141
Location: Romania

PostPosted: Tue Jan 11, 2011 2:50 pm    Post subject: Reply with quote

A wildfire programmer says the wxGTK is optional:
http://www.wildfiregames.com/forum/index.php?showtopic=14001&hl=wxgtk
0AD build instructions say it's optional too:
http://trac.wildfiregames.com/wiki/BuildInstructions#Linux

The ebuild does disable Atlas if "editor" flag is not used:
Code:
   if ! use editor ; then
      sed -i "s:--atlas::" "${S}/build/workspaces/update-workspaces.sh" \
      || die "AtlasUI sed failed"
   fi

   cd "${S}/build/workspaces"
   ./update-workspaces.sh || die "update-workspaces.sh failed"
Back to top
View user's profile Send private message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Tue Jan 11, 2011 4:05 pm    Post subject: Reply with quote

i used the overlay ebuild for current svn 0ad without the editor use flag ...

result :

wx-config is missing
configure error

.... so merging failed.

it compiles fine on current ~amd64 with installed wxGTK from the portage main repository.

i am now trying my own self compiled wxWidgets wihtout gtk-support , if atlas works like it should, im filling in an enhancement bugreport that wxGTK maintainer should rename it to wxWidgets and add the gtk useflag so that wxGTK will became gtk+ independent
_________________
Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib

SWAP??? Are you kidding me? :-)
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Wed Jan 19, 2011 8:58 am    Post subject: Reply with quote

It's not as simple as just disabling GTK. We hack the crap out of wxGTK to get it to work sanely in Gentoo. We have to support multiple installations, deal with the fact that changing USE flags will cause the library names to change - breaking everything linking against them, provide mechanisms for ebuilds to build against specific library versions and configurations (ansi/unicode/debug) independent of the system configuration, and much more. Adding another implementation to the mix would probably require a rewrite of the whole framework.

I'm not saying it's impossible, and that rewrite should be done at some point, but as the guy who spent a couple years getting everything into working condition I'm not eager to do it over again just yet.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Jan 19, 2011 5:52 pm    Post subject: Reply with quote

Sounds like it might be less effort to simply rewrite the apps themselves. :lol:
Back to top
View user's profile Send private message
rhill
Retired Dev
Retired Dev


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Thu Jan 20, 2011 12:40 am    Post subject: Reply with quote

I should also note that even wxX11 uses Pango for unicode support, which is required, so you'd have to install most of gtk's dependencies anyways.

just suck it up and install gtk.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum