Hello. I wrote this ebuild in order to ask if could be possible to add it to portage tree. Since I don't know what's the right procedure to do that, I supply you this my ebuild (that works but there are some things that need to be fixed) to check it out. Problems: 1. libnotify useflag seems to not work (I think there's something in the configure to change) 2. the code is not so good. Infact emerge complains about that Although I think it's a very nice tool, clean, polite. Stays in gnome-panel and, most important, works. My first entire ebuild, don't be too harsh with me :P Reproducible: Always
Created attachment 202472 [details] the ebuild itself
Created attachment 202474 [details] metadata file
Comment on attachment 202472 [details] the ebuild itself Thanks for providing the ebuild. If it will not be taken up from here you can join #gentoo-sunrise on freenode to get it in the overlay. ><HTML><HEAD/><BODY><PRE># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit gnome2 > >DESCRIPTION="Alarm Clock is a fully-featured alarm clock for your GNOME panel." >HOMEPAGE="http://alarm-clock.pseudoberries.com/" >SRC_URI="http://launchpad.net/alarm-clock/trunk/0.2/+download/${PN}-${PV}.tar.gz" You can use ${PV} for 0.2 as well > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" Did you test on all arches? >IUSE="libnotify" > >RDEPEND=" >>=dev-libs/glib-2.13 >>=x11-libs/gtk+-2.11.0 >>=gnome-base/gnome-panel-2 >>=gnome-base/gnome-vfs-2.15.4 >>=gnome-base/gconf-2.8.0 >>=gnome-base/libgnome-2.8 >>=gnome-base/libgnomeui-2.8 >>=x11-themes/gnome-icon-theme-2.15 >>=gnome-base/libglade-2.4.0 >>=media-libs/gstreamer-0.10.2 >libnotify? ( >=x11-libs/libnotify-0.3.2 ) >" indent for better readability. > >DEPEND="${RDEPEND} > >=dev-util/pkgconfig-0.12 > >=app-text/gnome-doc-utils-0.3.2 > dev-util/intltool" > >pkg_setup() { > G2CONF="${G2CONF} > $(use_enable libnotify) > --disable-static" >} ></PRE></BODY></HTML>
(In reply to comment #3) > (From update of attachment 202472 [details] [edit]) > Thanks for providing the ebuild. If it will not be taken up from here you can > join #gentoo-sunrise on freenode to get it in the overlay. > > > ><HTML><HEAD/><BODY><PRE># Copyright 1999-2009 Gentoo Foundation > ># Distributed under the terms of the GNU General Public License v2 > ># $Header: $ > > > >EAPI="2" > > > >inherit gnome2 > > > >DESCRIPTION="Alarm Clock is a fully-featured alarm clock for your GNOME panel." > >HOMEPAGE="http://alarm-clock.pseudoberries.com/" > >SRC_URI="http://launchpad.net/alarm-clock/trunk/0.2/+download/${PN}-${PV}.tar.gz" > You can use ${PV} for 0.2 as well That isn't true of course, but you can combine it with things from the versionator.eclass
Created attachment 202533 [details] ebuild v2
Thank you for replying me. I applied the changes you asked to the ebuild. To answer to your question: no, I haven't. I have only tested it on x86. What about the others "errors"? (compile and libnotify problem)
Created attachment 202543 [details] ebuild v3 fixed problem with ${PV} in URL added libnotify support
Created attachment 202546 [details] configure.ac patch enables --enable-libnotify into configure.ac
Ok test this ebuild. This should work and patch correctly configure.ac enabling libnotify support without going automagically
Created attachment 202550 [details] configure.ac patch v2 commented out a line that fails compiling
Created attachment 202551 [details] ebuild v4 cosmetic update
This will soon be accessable via sunrise overlay (url will be http://overlays.gentoo.org/proj/sunrise/browser/sunrise/gnome-extra/alarm-clock-applet/alarm-clock-applet-0.2.6.ebuild)
Corrected url for the reviewed version, which will be fetched by layman: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/gnome-extra/alarm-clock-applet/
Created attachment 228507 [details] version bump Upstream has a new release. I've checked the dependencies, -libnotify seams to be non-optional, configure test for it and fails otherwise. The image dir contains following needed symbols/libs: libatk-1.0.so.0 libc.so.6 libcairo.so.2 libdbus-1.so.3 libdbus-glib-1.so.2 libfontconfig.so.1 libfreetype.so.6 libgconf-2.so.4 libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgio-2.0.so.0 libglib-2.0.so.0 libgmodule-2.0.so.0 libgobject-2.0.so.0 libgstreamer-0.10.so.0 libgthread-2.0.so.0 libgtk-x11-2.0.so.0 libnotify.so.1 libpango-1.0.so.0 libpangocairo-1.0.so.0 libpangoft2-1.0.so.0 libpthread.so.0 librt.so.1 libunique-1.0.so.0 libxml2.so.2 which would be resolved into following packages dev-libs/atk dev-libs/dbus-glib dev-libs/glib dev-libs/libunique dev-libs/libxml2 gnome-base/gconf media-libs/fontconfig media-libs/freetype media-libs/gstreamer sys-apps/dbus sys-libs/glibc x11-libs/cairo x11-libs/gtk+ x11-libs/libnotify x11-libs/pango. Well gtk+ and gnome-panel catches most of them.
*** Bug 358339 has been marked as a duplicate of this bug. ***
I just installed this software from the ebuild here: http://gpo.zugaina.org/gnome-extra/alarm-clock-applet/ChangeLog With alarm-clock-applet-0.3.3, the patch is not needed any more. But my main concern is the gnome-panel depend. I don't want policy-kit into my system. And gnome-panel force it, when it is only needed for someone that want the Unity indicators. I removed gnome-panel from the DEPEND, and it compile, install and run fine here. It is a --enable-appindicator configure option for that in 0.3.3, but as I don't want polkit, I just cannot make and test a modified ebuild.
The ebuild in sunrise was outdated and unmaintained, so it got removed.