Hello again to my Gentoo friends, Here is an ebuild for xdialog, which is designed as a drop-in replacement for cdialog. It puts dialog based things in a nice GTK interface, and uses trees in the directory display, making it visually more appealing than dialog in a term. Thing is, the project homepage seems to be down (I have e-mailed the author about that), so currently the SOURCE_URI points to Debian's repository for its unstable branch. Also, it is my feeling that most packages in Gentoo are lowercased. That's why I named this xdialog instead of Xdialog. And that's why I set a P= in the ebuild itself. If I am wrong about that, then this package really should be named Xdialog instead, and the P= can be removed. When I hear from the author I will make a note in this bug report. Thanks again, Seemant
Created attachment 221 [details] Xdialog ebuild file
just set S as follows: S=${WORKDIR}/Xdialog-${PV} Then remove the P definition which shouldn't be there. Resubmit this and I'll forward it to someone.
Hello Again, As per Dr. Robbins' instruction, I have adjusted the ebuild file to remove P= and change the S=. Note to Dr. Robbins: thank you for having me do that myself, because now that is in my head. I have run across that issue several times, and I finally realised how to fix it. I appreciate you letting me learn :) Thanks, Seemant ---- cut here # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Seemant Kulleen <seemant@rocketmail.com> # $Header$ S=${WORKDIR}/Xdialog-${PV} DESCRIPTION="A drop-in replacement for cdialog. Uses GTK for GUI dialog" SRC_URI="http://ftp.debian.org/debian/pool/main/x/xdialog/xdialog_2.0.5.orig.tar.gz" HOMEPAGE="http://xdialog.free.fr/" DEPEND="virtual/x11 virtual/glibc >=x11-libs/gtk+-1.2.10-r4 >=dev-libs/glib-1.2.10 nls? ( >=sys-devel/gettext-0.10.38 )" RDEPEND="$DEPEND" src_compile() { local myconf use nls && myconf="$myconf --enable-nls" \ || myconf="$myconf --disable-nls" ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $myconf || die "./configure failed" emake || die } src_install () { make \ prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die dodoc ChangeLog AUTHORS COPYING INSTALL README* TODO ABOUT-NLS docinto html dodoc doc/* }
not sure what version this works for but Bug 7447 is for v2.0.6 ...
*** Bug 8585 has been marked as a duplicate of this bug. ***
Well dang it; I did a resync before submitting my ebuild for Xdialog. This guy's ebuild still doesn't show up. The ebuild can be cleaned up a bit. The compile and install routines are simple, although he does check for nls which is good. src_compile() { econf || die "configure fail" emake || die } src_install () { make DESTDIR=${D} install || die }
it's finally in portage, folks.