Summary: | If I emerge wxGTK-2.6.2 with -X use flag -only wxbase- it tries to emerge gtk+ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Carlos Bidea <cbidea> |
Component: | New packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | mcrawford, pfein, rodrigo, thomasgr33n |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
wxGTK-2.6.2-r1.ebuild
Patch for wxGTK-2.6.2.ebuild for proper -X and sdl handling wxGTK-2.6.2-r2.ebuild |
Description
Carlos Bidea
2005-10-16 16:25:53 UTC
same i see last night... same problem here. portage will download many things for gtk+ including a xserver. Created attachment 72754 [details]
wxGTK-2.6.2-r1.ebuild
This should fix the problem of wxGTK dependency problem, it works on my sistem,
pls check it on your own
Created attachment 73252 [details, diff]
Patch for wxGTK-2.6.2.ebuild for proper -X and sdl handling
This patch is an extended version of the ebuild proposed by Mateo. It handles
both the X and the sdl use flags.
i patch my wxGTK-2.6.2 with Rodrigo Severos patch and now it works :) thx for this solution greeting Same in my system, with wxGTK-2.6.2-r1, with unicode enabled or disabled. This is what I get on an xorg-less system... [ebuild N ] media-libs/fontconfig-2.2.3 732 kB [ebuild N ] x11-libs/cairo-1.0.2 USE="-X -doc -glitz png" 1,424 kB [ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 19 kB [ebuild N ] x11-base/xorg-x11-6.8.2-r6 USE="-3dfx 3dnow -bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal mmx nls -nocxx -opengl pam -sdk sse -static -truetype-fonts -type1-fonts -xprint -xv" 45,134 kB [ebuild N ] virtual/x11-6.8 0 kB [ebuild N ] sys-apps/utempter-0.5.5.6 20 kB [ebuild N ] x11-terms/xterm-207 USE="-Xaw3d -doc -toolbar truetype -unicode" 727 kB [ebuild N ] dev-libs/atk-1.10.3 USE="-debug -doc -static" 529 kB [ebuild N ] x11-libs/pango-1.10.2 USE="-debug -doc" 1,141 kB [ebuild N ] dev-util/intltool-0.34.1 127 kB [ebuild N ] x11-misc/shared-mime-info-0.16 735 kB [ebuild N ] x11-libs/gtk+-2.8.8 USE="-debug -doc jpeg tiff" 11,627 kB [ebuild N ] x11-libs/wxGTK-2.6.2-r1 USE="-X -debug -doc -gnome -joystick -odbc -opengl -sdl -unicode" 12,753 kB And - guess what, I get *exactly* the same with USE="X". What's the point of X use flag here, that just escapes me... Why do I need xorg and gtk for no GUI build? o_O The ebuild is definitely wrong... *** Bug 121063 has been marked as a duplicate of this bug. *** The patch from #3 worked well for me. Please include in the portage tree! # USE="-X -gnome -gtk2 -opengl -sdl -wxgtk1" emerge -vp wxGTK
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] x11-libs/wxGTK-2.6.1 -debug -doc -gnome -gtk2 -joystick -odbc -opengl -sdl +unicode* -wxgtk1 0 kB
Total size of downloads: 0 kB
#
But:
# USE="-X -gnome -gtk2 -opengl -sdl -wxgtk1" emerge -v wxGTK
returns:
...
...
>>> md5 files ;-) files/digest-wxGTK-2.6.2
>>> md5 files ;-) files/wxWidgets-2.6.2-gcc41.patch
>>> md5 src_uri ;-) wxWidgets-2.6.1.tar.bz2
* To install only wxbase (non-gui libs) use -gtk2 -wxgtk1
!!! ERROR: x11-libs/wxGTK-2.6.1 failed.
!!! Function pkg_setup, Line 33, Exitcode 0
!!! You must put gtk2 in your USE if you need unicode support
!!! If you need support, post the topmost build error, NOT this status message.
#
Created attachment 83124 [details] wxGTK-2.6.2-r2.ebuild The current wxGTK-2.6.2-r1 ebuild in portage, with the changes by Matteo Pescarin (comment #2) and Rodrigo Severo (comment #3) applied. Note that for installing, you need to copy the /usr/portage/x11-libs/wxGTK/files directory into your overlay as well, it contains the patches necessary for the -r1 ebuild in portage. The ebuild works fine for me. *** Bug 128036 has been marked as a duplicate of this bug. *** The ebuild posted by Marti Raudsepp works for me. Something's still not right with the ebuild. Tested on my selinux server. results below govannon ~ # emerge -pv wxGTK These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-libs/fontconfig-2.2.3 732 kB [ebuild N ] x11-libs/cairo-1.0.2 -X -doc -glitz +png 1,424 kB [ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 19 kB [ebuild N ] x11-base/xorg-x11-6.8.2-r6 -3dfx -3dnow -bitmap-fonts -cjk -debug +dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal +mmx +nls -nocxx -opengl +pam -sdk +sse -static -truetype-fonts -type1-fonts (-uclibc) -xprint -xv 45,134 kB [ebuild N ] virtual/x11-6.8 0 kB [ebuild N ] app-arch/rpm2targz-9.0-r3 2 kB [ebuild N ] sys-apps/utempter-0.5.5.6 20 kB [ebuild N ] x11-terms/xterm-207 -Xaw3d -doc -toolbar +truetype +unicode 727 kB [ebuild N ] dev-libs/atk-1.10.3 -debug -doc -static 529 kB [ebuild N ] x11-libs/pango-1.10.3 -debug -doc 1,157 kB [ebuild N ] dev-perl/XML-Parser-2.34 -minimal 224 kB [ebuild N ] dev-util/intltool-0.34.1 127 kB [ebuild N ] x11-misc/shared-mime-info-0.16 735 kB [ebuild N ] x11-libs/gtk+-2.8.12 -debug -doc +jpeg +tiff -xinerama 11,722 kB [ebuild U ] x11-libs/wxGTK-2.6.2-r1 [2.6.1] -X -debug -doc -gnome -joystick -odbc -opengl -sdl -unicode 0 kB [1] Total size of downloads: 62,559 kB Portage overlays: [1] /usr/local/portage bump... needed to wipe my eyes twice and look at the revision number *blush* works much better after being keyworded heh govannon ~ # emerge -uDNpv world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] sys-devel/gcc-3.4.5-r1 [3.4.5] (-altivec) -bootstrap -boundschecking -build -doc +fortran -gcj -gtk +hardened -ip28 -multilib -multislot -n32 -n64 +nls -nocxx -nopie -nossp +objc -vanilla 27,751 kB [ebuild N ] sys-libs/timezone-data-2006a 322 kB [ebuild U ] sys-libs/glibc-2.3.5-r3 [2.3.5-r2] -build +erandom -glibc-compat20 -glibc-omitfp +hardened -linuxthreads-tls -multilib +nls +nptl -nptlonly +pic -profile +selinux +userlocales 15,632 kB [ebuild U ] dev-perl/DBI-1.50 [1.48] -minimal 377 kB [ebuild U ] app-text/docbook-xml-dtd-4.4-r1 [4.4] 93 kB [ebuild U ] sys-apps/debianutils-2.15 [2.14.1-r1] -build -static 181 kB [ebuild U ] sys-fs/udev-087 [070-r1] +selinux 185 kB [ebuild NS ] sys-kernel/hardened-sources-2.6.16 -build -doc -symlink 40,069 kB [ebuild U ] app-admin/eselect-1.0.1 [1.0] +bash-completion -doc 143 kB [ebuild U ] x11-libs/wxGTK-2.6.2-r2 [2.6.1] -X -debug -doc -gnome -joystick -odbc -opengl -sdl -unicode 0 kB [1] [ebuild U ] dev-perl/Digest-SHA1-2.11 [2.10] -minimal 37 kB Total size of downloads: 84,796 kB Portage overlays: [1] /usr/local/portage Fixed in 2.6.3.2; thanks to Mart Raudsepp *** Bug 129877 has been marked as a duplicate of this bug. *** Why don't you release a wxGTK-2.6.2-r2 fixing this, if wxGTK-2.6.3 wasn't (and it's not yet) going to be marked as stable in a short term? I think it's worthy doing so, instead of forcing users to avoid this by creating an overlay. (In reply to comment #17) > Why don't you release a wxGTK-2.6.2-r2 fixing this, if wxGTK-2.6.3 wasn't (and > it's not yet) going to be marked as stable in a short term? I think it's worthy > doing so, instead of forcing users to avoid this by creating an overlay. > Because it wouldn't go stable anyway until it's been in the tree for at least 30 days. In that sense it depends on bug #136924 No more talking here, please. Bug is closed. The wxGTK-2.6.2-r1 ebuild has unconditional dependencies on glib and gtk+ unlike the current arm stable wxGTK-2.6.1 one or the wxGTK-2.6.3.2 one. (See bug 109515) So it probably makes sense to wait for the 2.6.3.x series (probably 2.6.3.3 from what we I tolked with leio) and stabilize that directly. So users of just wxBase on headless arm devices like the Linksys NSLU2 one running apps like amuled don't have to install glib, gtk+ and several X11 libraries because of this stabilization. Sorry wrong bug/window. |