GBuffy is a multi-mailbox biff-like tool.
Created attachment 23178 [details] gbuffy-0.2.6.ebuild Not quite sure about the correct license-setting here. And I've not been able to test the gnome-applet version (I'm using XFce).
GTK+ 1.1.11 dependency is missing. Also, please use "openssl? ( dev-libs/openssl )" in DEPEND, the way it is used in this ebuild breaks current portage. It looks like a nice app, and I will be happy to add it in portage, once you get the ebuild right.
Also, dependencies for gnome USE flag seem to be incorrect, as I'm getting a compile-time error (no GNOME installed here): # USE="gnome" emerge -av gbuffy These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-mail/gbuffy-0.2.6 +crypt +gnome* 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] >>> emerge (1 of 1) net-mail/gbuffy-0.2.6 to / >>> md5 src_uri ;-) gbuffy-0.2.6.tar.gz >>> Unpacking source... >>> Unpacking gbuffy-0.2.6.tar.gz to /var/tmp/portage/gbuffy-0.2.6/work >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-applet creating cache ./config.cache checking for prefix... /usr checking for gcc... gcc checking whether the C compiler (gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 ) works... yes checking whether the C compiler (gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /bin/install -c checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.1.11... yes Disabling keyboard LED blinking support Disabling Debug Support Building as a GNOME Applet checking for gnome-config... /usr/bin/gnome-config checking if /usr/bin/gnome-config works... yes checking for orbit-config... /usr/bin/orbit-config checking for orbit-idl... /usr/bin/orbit-idl checking for working ORBit environment... yes checking for gnorba libraries... yes checking extra library "applets"... Unknown library `applets' Unknown library `applets' Unknown library `applets' checking for uncompface in -lcompface... yes checking for uncompface... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for setpriority... yes checking for utimes... yes checking for snprintf... yes checking for vsnprintf... yes checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating libcompface/Makefile creating config.h gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o config.o config.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o count.o count.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o from.o from.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o gbconfig.o gbconfig.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o gbuffy.o gbuffy.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o lib.o lib.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o rfc2047.o rfc2047.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o system.o system.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o msocket.o msocket.c gbuffy.c:19:27: applet-widget.h: Adres
Also, dependencies for gnome USE flag seem to be incorrect, as I'm getting a compile-time error (no GNOME installed here): # USE="gnome" emerge -av gbuffy These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-mail/gbuffy-0.2.6 +crypt +gnome* 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] >>> emerge (1 of 1) net-mail/gbuffy-0.2.6 to / >>> md5 src_uri ;-) gbuffy-0.2.6.tar.gz >>> Unpacking source... >>> Unpacking gbuffy-0.2.6.tar.gz to /var/tmp/portage/gbuffy-0.2.6/work >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-applet creating cache ./config.cache checking for prefix... /usr checking for gcc... gcc checking whether the C compiler (gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 ) works... yes checking whether the C compiler (gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /bin/install -c checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.1.11... yes Disabling keyboard LED blinking support Disabling Debug Support Building as a GNOME Applet checking for gnome-config... /usr/bin/gnome-config checking if /usr/bin/gnome-config works... yes checking for orbit-config... /usr/bin/orbit-config checking for orbit-idl... /usr/bin/orbit-idl checking for working ORBit environment... yes checking for gnorba libraries... yes checking extra library "applets"... Unknown library `applets' Unknown library `applets' Unknown library `applets' checking for uncompface in -lcompface... yes checking for uncompface... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for setpriority... yes checking for utimes... yes checking for snprintf... yes checking for vsnprintf... yes checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating libcompface/Makefile creating config.h gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o config.o config.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o count.o count.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o from.o from.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o gbconfig.o gbconfig.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o gbuffy.o gbuffy.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o lib.o lib.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o rfc2047.o rfc2047.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o system.o system.c gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o msocket.o msocket.c gbuffy.c:19:27: applet-widget.h: Adresár alebo súbor neexistuje gcc -march=pentium4 -Os -pipe -fomit-frame-pointer -funroll-loops -falign-functions=4 -I. `/usr/bin/gtk-config --cflags` -c -o imap.o imap.c gbuffy.c:485: error: syntax error before '*' token gbuffy.c:582: error: syntax error before "PanelOrientType" gbuffy.c: In function `applet_change_orient': gbuffy.c:586: error: `o' undeclared (first use in this function) gbuffy.c:586: error: (Each undeclared identifier is reported only once gbuffy.c:586: error: for each function it appears in.) gbuffy.c:587: error: `ORIENT_UP' undeclared (first use in this function) gbuffy.c:588: error: `ORIENT_DOWN' undeclared (first use in this function) gbuffy.c:591: error: `ORIENT_LEFT' undeclared (first use in this function) gbuffy.c:592: error: `ORIENT_RIGHT' undeclared (first use in this function) gbuffy.c: At top level: gbuffy.c:600: error: syntax error before '*' token gbuffy.c: In function `about_cb': gbuffy.c:614: warning: assignment makes pointer from integer without a cast gbuffy.c: In function `gbuffy_display': gbuffy.c:639: warning: assignment makes pointer from integer without a cast gbuffy.c:642: error: `GNOME_STOCK_MENU_PROP' undeclared (first use in this function) gbuffy.c:648: error: `GNOME_STOCK_MENU_ABOUT' undeclared (first use in this function) make: *** [gbuffy.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: net-mail/gbuffy-0.2.6 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. This is after emerge has pulled gnome-desktop-2.6.2, libwnck-2.6.2.1 and gnome-panel-2.6.2.
Created attachment 39463 [details] gbuffy-0.2.6.ebuild Ok, is this one better?
You're trying to install an executable gbuffy_applet, which only gets built when --enable-applet is passed to configure. That option adds a dependency on gnome-applets though. I suggest an USE flag "gnome". Also, have a look at gnome (or is it gnome2?) eclass, to see if it wouldn't be better to use.
Removing superfluous CC
Ok, I polished this up and added it 'cause I want to use it. Thanks.