Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128018 - Adesklets is missing a dependecy in x11-apps/xwininfo
Summary: Adesklets is missing a dependecy in x11-apps/xwininfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 10:56 UTC by Rodrigo Starr
Modified: 2006-08-30 01:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild with the problem corrected (adesklets-0.6.0-r1.ebuild,2.69 KB, text/plain)
2006-03-29 11:00 UTC, Rodrigo Starr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Starr 2006-03-29 10:56:41 UTC
When using the new modular X, adesklets "forgets" to emerge xwininfo, which is used by adesklets/adesklets_frontend.sh to detect fake windows.

The solution is to include the dependency in the ebuild. I am ataching a working ebuild with the solution.


Steps:
1- Emerge modular xorg
2- Emerge adesklets
3- Run adesklets with fake window option (e.g. adesklets --nautilus)
4- Get error message
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-29 11:00:19 UTC
Please, don't restrict bugs without a reason...
Comment 2 Rodrigo Starr 2006-03-29 11:00:42 UTC
Created attachment 83385 [details]
Ebuild with the problem corrected

Changed the RDEPEND string to include the missing dependecy. Also changed the vitual/x11 dependency.
Comment 3 Michele Noberasco (RETIRED) gentoo-dev 2006-03-30 23:14:18 UTC
Why did you change the virtual/x11 dep? Makes no sense to me...
Comment 4 Rodrigo Starr 2006-03-31 02:49:04 UTC
When I corrected the missing dependency and tested it on my system, it still didn't work (it didn't pull xwininfo) because a basic install of xorg-7 provides also virtual/x11 (at least this is what is happening in my system).

I thought that the role of this "virtual/x11" RDEPEND was to make the ebuild work with xorg-6.x, so I put it explicitly. Probably I am wrong and there is a better way to do it :)



Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 15:00:20 UTC
This fix is wrong. Reopen with 'emerge -pv virtual/x11' and 'grep -Rni "virtual/x11" /etc/portage' output. 
Comment 6 Michele Noberasco (RETIRED) gentoo-dev 2006-04-28 02:07:17 UTC
Fixed this by adding xwininfo to RDEPEND.
Comment 7 Christopher Covington 2006-08-29 11:47:11 UTC
Problem seems to remain, for me at least, contrary to comment #6. I use evilwm.

$ emerge -pv virtual/x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] virtual/x11-7.0-r2  USE="dri%*" 0 kB

Total size of downloads: 0 kB

$ grep -Rni "virtual/x11" /etc/portage
[NOTHING]

$ emerge --info
Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-3.4.4/vanilla, glibc-2.4-r3, 2.6.16-beyond4 i686)
=================================================================
System uname: 2.6.16-beyond4 i686 Genuine Intel(R) CPU           T2400  @ 1.83GHz
Gentoo Base System version 1.12.4
Last Sync: Mon, 28 Aug 2006 19:50:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O3 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.inode.at/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cli crypt cups directfb dlloader dri dts dvd elibc_glibc emboss encode esd fbcon firefox flac foomaticdb fortran gcj gdbm gif gnutls gpm gstreamer gtk gtk2 ieee1394 ilbc imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java jpeg kernel_linux libcaca libg++ libwww linguas_de linguas_en mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl nsplugin offensive ofx ogg opengl pam pcre pdf pdflib perl png pppd profile python qt3 qt4 quicktime readline reflection ruby samba sdl session speex spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_i810 video_cards_vesa vorbis wmf x264 xinerama xml xmms xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Michele Noberasco (RETIRED) gentoo-dev 2006-08-30 01:19:43 UTC
let's see
Comment 9 Michele Noberasco (RETIRED) gentoo-dev 2006-08-30 01:20:05 UTC
Moved xwininfo dependancy to the right place.