Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 41902

Summary: ebuild for the CVS of qingy
Product: Gentoo Linux Reporter: Alec Burney <madcow>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://qingy.sf.net
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the ebuild

Description Alec Burney 2004-02-17 07:09:44 UTC
DESCRIPTION="Qingy is a DirectFB getty replacement."
HOMEPAGE="http://qingy.sourceforge.net/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE="pam"
DEPEND=">=dev-libs/DirectFB-0.9.18
        pam? ( >=sys-libs/pam-0.75-r11 )
        >=sys-apps/fbset-2.1
        >=dev-util/pkgconfig-0.12.0"

inherit cvs

ECVS_SERVER="cvs.sourceforge.net:/cvsroot/qingy"
ECVS_MODULE="qingy"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
S=${WORKDIR}/${ECVS_MODULE}

src_compile()
{
        ./autogen.sh
        # override qingy self-calculated cflags
        econf MY_CFLAGS="${CFLAGS}" || die
        emake || die
}

src_install()
{
        # copy documentation manually as make install doesn't do that
        dodoc AUTHORS COPYING ChangeLog ChangeLog.paolino INSTALL NEWS README HOWTO_THEMES

        # and finally install the program
        einstall prefix=${D} infodir=${D}usr/share/info || die
}

pkg_postinst()
{
        einfo "In order to use qingy you must first edit your /etc/inittab"
        einfo "Check files INSTALL and README in /usr/share/doc/${P}"
        einfo "for instructions on how to do that."
        einfo
        ewarn "Please note that configuration and theme files syntax"
        ewarn "has changed since version 0.2x: please remove all"
        ewarn "old themes and update qingy configuration files!"
        sleep 5
}

Reproducible: Always
Steps to Reproduce:
1) copy and paste the code into a file called qingy-cvs-0.4.0.ebuild
2)
su
mkdir $PORTDIR_OVERLAY/sys-app&&mkdir $PORTDIR_OVERLAY/sys-app/qingy-cvs&&cp qingy-cvs.0.4.0.ebuild $PORTDIR_OVERLAY/sys-app/qingy-cvs/&&cd $PORTDIR_OVERLAY/sys-app/qingy-cvs/&&ebuild qingy-cvs.0.4.0.ebuild digest
3) (no you have the ebuild all set up)
emerge unmerge qingy
emerge qingy-cvs
etc-update (you MUST *replace* all files. the new qingy uses a NEW theme config. old themes and old /etc/qingy/settings files WILL NOT WORK. they will BREAK qingy)
4) no reboot needed. you're all done.

Actual Results:  
i got qingy-cvs.


Helix root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-rc1)
=================================================================
System uname: 2.6.1-rc1 i686 AMD Athlon(tm) MP 2600+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -finline-functions -fomit-frame-pointer -pipe
-fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4 -fexpensive-optimizations -falign-jumps=4 -ffast-math -mmmx
-msse -fprefetch-loop-arrays -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -finline-functions -fomit-frame-pointer -pipe
-fforce-addr -funroll-loops -frerun-loop-opt -frerun-cse-after-loop
-falign-functions=4 -fexpensive-optimizations -falign-jumps=4 -ffast-math -mmmx
-msse -fprefetch-loop-arrays -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/
http://mirrors.tds.net/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X avi bonobo cdr crypt cups directfb encode enlightenment esd
ethereal fb fbcon fbdev foomaticdb freetype freetype-version-1 galeon gif glut
gtk gtk2 imlib java jpeg libg++ libwww mad mail mikmod motif mpeg ncurses
netkit-fingerd netkit-rsh netkit-tftp nls nocardbus nowin nslookup nvidia
offensive oggvorbis opengl oss pam parse-clocks pdflib perl png python qt
quicktime radeon readline sdl slang spell src sse ssl svga tcltk tcpd truetype
type1 usb wavelan x86 xml2 xmms xv yp-tools zlib"
Comment 1 Alec Burney 2004-02-17 07:10:53 UTC
Created attachment 25769 [details]
the ebuild

the ebuild
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2004-02-24 23:00:05 UTC
We try to keep the cvs ebuilds in the tree as low as possible, because we can't maintain those packages correctly.
Something one developer approved working some minutes ago, might not work anymore the next.

If you need it, you can still put it into your local overlay tree.
Comment 3 Alec Burney 2004-02-25 15:39:42 UTC
replace ./configure and ./autogen.sh with "autoreconf"
Comment 4 Alec Burney 2004-02-25 19:07:36 UTC
oh. sorry for wasting your time.