Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283022 - gnome-extra/alarm-clock-applet-0.2.6 : ebuild proposal
Summary: gnome-extra/alarm-clock-applet-0.2.6 : ebuild proposal
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://alarm-clock.pseudoberries.com/
Whiteboard:
Keywords: EBUILD
: 358339 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-28 13:15 UTC by Fabiano Francesconi
Modified: 2014-12-15 15:19 UTC (History)
3 users (show)

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


Attachments
the ebuild itself (alarm-clock-applet-0.2.6.ebuild,940 bytes, text/plain)
2009-08-28 13:16 UTC, Fabiano Francesconi
Details
metadata file (metadata.xml,367 bytes, text/plain)
2009-08-28 13:16 UTC, Fabiano Francesconi
Details
ebuild v2 (alarm-clock-applet-0.2.6.ebuild,954 bytes, text/plain)
2009-08-28 17:52 UTC, Fabiano Francesconi
Details
ebuild v3 (alarm-clock-applet-0.2.6.ebuild,1.01 KB, text/plain)
2009-08-28 19:14 UTC, Fabiano Francesconi
Details
configure.ac patch (0.2.6-configure.ac.patch,1.39 KB, text/plain)
2009-08-28 19:14 UTC, Fabiano Francesconi
Details
configure.ac patch v2 (0.2.6-configure.ac.patch,1.22 KB, text/plain)
2009-08-28 19:48 UTC, Fabiano Francesconi
Details
ebuild v4 (alarm-clock-applet-0.2.6.ebuild,1.04 KB, text/plain)
2009-08-28 19:49 UTC, Fabiano Francesconi
Details
version bump (alarm-clock-applet-0.3.0.ebuild,669 bytes, text/plain)
2010-04-20 12:56 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiano Francesconi 2009-08-28 13:15:34 UTC
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
Comment 1 Fabiano Francesconi 2009-08-28 13:16:19 UTC
Created attachment 202472 [details]
the ebuild itself
Comment 2 Fabiano Francesconi 2009-08-28 13:16:33 UTC
Created attachment 202474 [details]
metadata file
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-08-28 17:43:05 UTC
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="
>&gt;=dev-libs/glib-2.13
>&gt;=x11-libs/gtk+-2.11.0
>&gt;=gnome-base/gnome-panel-2
>&gt;=gnome-base/gnome-vfs-2.15.4
>&gt;=gnome-base/gconf-2.8.0
>&gt;=gnome-base/libgnome-2.8
>&gt;=gnome-base/libgnomeui-2.8
>&gt;=x11-themes/gnome-icon-theme-2.15
>&gt;=gnome-base/libglade-2.4.0
>&gt;=media-libs/gstreamer-0.10.2
>libnotify? ( &gt;=x11-libs/libnotify-0.3.2 )
>"

indent for better readability.

>
>DEPEND="${RDEPEND}
>	&gt;=dev-util/pkgconfig-0.12
>	&gt;=app-text/gnome-doc-utils-0.3.2
>	dev-util/intltool"
>
>pkg_setup() {
>	G2CONF="${G2CONF}
>		$(use_enable libnotify)
>		--disable-static"
>}
></PRE></BODY></HTML>
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2009-08-28 17:47:00 UTC
(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
Comment 5 Fabiano Francesconi 2009-08-28 17:52:43 UTC
Created attachment 202533 [details]
ebuild v2
Comment 6 Fabiano Francesconi 2009-08-28 17:54:33 UTC
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)
Comment 7 Fabiano Francesconi 2009-08-28 19:14:03 UTC
Created attachment 202543 [details]
ebuild v3

fixed problem with ${PV} in URL
added libnotify support
Comment 8 Fabiano Francesconi 2009-08-28 19:14:48 UTC
Created attachment 202546 [details]
configure.ac patch

enables --enable-libnotify into configure.ac
Comment 9 Fabiano Francesconi 2009-08-28 19:15:36 UTC
Ok test this ebuild.
This should work and patch correctly configure.ac enabling libnotify support without going automagically
Comment 10 Fabiano Francesconi 2009-08-28 19:48:49 UTC
Created attachment 202550 [details]
configure.ac patch v2

commented out a line that fails compiling
Comment 11 Fabiano Francesconi 2009-08-28 19:49:25 UTC
Created attachment 202551 [details]
ebuild v4

cosmetic update
Comment 12 Thomas Sachau gentoo-dev 2009-08-28 23:37:03 UTC
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)
Comment 13 Thomas Sachau gentoo-dev 2009-08-28 23:39:43 UTC
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/
Comment 14 Michael Weber (RETIRED) gentoo-dev 2010-04-20 12:56:59 UTC
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.
Comment 15 Pacho Ramos gentoo-dev 2011-03-11 08:15:35 UTC
*** Bug 358339 has been marked as a duplicate of this bug. ***
Comment 16 Dominique Michel 2013-07-22 13:23:18 UTC
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.
Comment 17 Thomas Sachau gentoo-dev 2014-12-14 13:55:39 UTC
The ebuild in sunrise was outdated and unmaintained, so it got removed.