Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24037 - gDeskCal - New ebuild for a cute little desktop calendar
Summary: gDeskCal - New ebuild for a cute little desktop calendar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mike Gardiner (RETIRED)
URL: http://www.pycage.de/software_gdeskca...
Whiteboard:
Keywords:
: 25936 38310 44178 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-07 02:04 UTC by Jeroen Hoek
Modified: 2004-07-18 20:34 UTC (History)
5 users (show)

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


Attachments
Ebuild and manifest files for gDeskCal (gdeskcal-0.53.tar.bz2,1.17 KB, application/octet-stream)
2003-07-07 02:06 UTC, Jeroen Hoek
Details
Ebuild and manifest files for gDeskCal (gdeskcal-0.53.tar.bz2,1.15 KB, application/octet-stream)
2003-07-07 12:13 UTC, Jeroen Hoek
Details
Ebuild for gDeskCal 0.54 (gDeskCal-0.54.ebuild,1.20 KB, text/plain)
2003-08-06 10:38 UTC, Jeroen Hoek
Details
gDeskCal 0.54 ebuild (gDeskCal-0.54.ebuild,1.22 KB, text/plain)
2003-08-12 00:43 UTC, Jeroen Hoek
Details
gDeskCal 0.55 ebuild (gDeskCal-0.55.ebuild,1.22 KB, text/plain)
2003-08-26 06:24 UTC, Jeroen Hoek
Details
gdeskcal 0.55 ebuild (lowercase packagename) (gdeskcal-0.55.ebuild,1.47 KB, text/plain)
2003-09-06 12:27 UTC, Jeroen Hoek
Details
gdeskcal 0.56 ebuild (gdeskcal-0.56.ebuild,1.45 KB, text/plain)
2004-02-09 04:14 UTC, Jeroen Hoek
Details
gdeskcal 0.57 ebuild (gdeskcal-0.57.ebuild,1.52 KB, text/plain)
2004-03-10 05:12 UTC, Jeroen Hoek
Details
gdeskcal 0.57 ebuild (gdeskcal-0.57.ebuild,1.52 KB, text/plain)
2004-03-10 05:18 UTC, Jeroen Hoek
Details
gDeskCal-0.57.1 (gDeskCal-0.57.1.ebuild,766 bytes, text/plain)
2004-03-15 14:56 UTC, Mike Valstar
Details
gdeskcal 0.57.1 ebuild (gdeskcal-0.57.1.ebuild,1.52 KB, text/plain)
2004-03-15 23:29 UTC, Jeroen Hoek
Details
gdeskcal 0.57.1 ebuild (gdeskcal-0.57.1.ebuild,1.52 KB, text/plain)
2004-04-25 23:51 UTC, Jeroen Hoek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Hoek 2003-07-07 02:04:48 UTC
Hiya,

Attached is gdeskcal-0.53.tar.bz2 with the ebuild for gDeskCal, a small GTK2
calender written in Python that resides on your desktop. There haven't been any
ebuilds for this simple but usefull little application, so I wrote this as my
first ebuild. Dependancies should be fine with Python 2.0+ and GTK 2.0+

The author's site is: http://www.pycage.de/software_gdeskcal.html

Suggested categorie is x11-misc/gDeskCal.

Regards,
  Jeroen Hoek
Comment 1 Jeroen Hoek 2003-07-07 02:06:37 UTC
Created attachment 14222 [details]
Ebuild and manifest files for gDeskCal
Comment 2 Panard 2003-07-07 06:16:43 UTC
add dev-python/pygtk to the DEPEND list. 
Comment 3 Jeroen Hoek 2003-07-07 12:13:52 UTC
Created attachment 14244 [details]
Ebuild and manifest files for gDeskCal

Added dev-python/pygtk dependancy
Comment 4 Jeroen Hoek 2003-08-06 10:38:13 UTC
Created attachment 15623 [details]
Ebuild for gDeskCal 0.54

A new version of gDeskCal (0.54) was released, this is the ebuild for the new
version
Comment 5 Jeroen Hoek 2003-08-06 10:46:43 UTC
A few days ago a new version of gDeskCal was released. The new version (0.54) supersedes version 0.53, the version this "bug" was originally for. Added in this release are some extra translations and a couple of bugfixes.

The ebuild remains the same, the ebuild for gDeskCal 0.54 is an exact copy of the ebuild for gDeskCal 0.53, the gDeskCal software didn't change with regard to its directory structure or overall design.

There you go, have fun. :)
Comment 6 Theofilos Intzoglou 2003-08-07 06:44:52 UTC
*** Bug 25936 has been marked as a duplicate of this bug. ***
Comment 7 Person Sébastien 2003-08-11 17:42:57 UTC
I believe that gnome-python and pygtk dependency are missing in the ebuild ..
before I emerge them I wasn't able to change to skin
Comment 8 Jeroen Hoek 2003-08-12 00:40:12 UTC
The pygtk dependancy very much IS present in the ebuild. The gnome-python bindings however are NOT required! (not for changing skins either)

I noticed a mistake in the eeinfo about changing skins, it should say "To install a new skin simply drag it onto the gDeskCal skinbrowser"
Comment 9 Jeroen Hoek 2003-08-12 00:41:55 UTC
Comment on attachment 15623 [details]
Ebuild for gDeskCal 0.54

># Copyright 1999-2003 Gentoo Technologies, Inc.
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>DESCRIPTION="Cute little eye-candy calendar for the desktop"
>HOMEPAGE="http://www.pycage.de/software_gdeskcal.html"
>
>MY_P="`echo ${P} | sed 's/\./_/' -`"
>SRC_URI="http://www.pycage.de/download/${MY_P}.tar.gz"
>
>SLOT="0"
>LICENSE="GPL-2"
>KEYWORDS="~x86 ~ppc ~sparc ~alpha"
>
>IUSE=""
>
>DEPEND=">=dev-lang/python-2.0
>	>=x11-libs/gtk+-2.0
>	>=dev-libs/glib-2.0
>	>=dev-python/pygtk-1.99"
>
>GDESKCAL_DIR=/usr/share/${PN}
>
>src_install() {
>	# put documents in the right place
>	dodoc AUTHORS NEWS README README.i18n README.skins
>
>	# gdeskcal Python objects and i18n files
>	mkdir ${D}${GDESKCAL_DIR}
>	cp -R code skins data locale po gdeskcal ${D}${GDESKCAL_DIR}
>}
>
>pkg_postinst() {
>	# the gdeskcal program expects its objects in the directory
>	# he resides in, so the whole program goes into /usr/share/${PN}
>	# and we symlink the gdeskcal executable
>	ln -sf ${GDESKCAL_DIR}/gdeskcal /usr/bin/gdeskcal
>
>	# some useful information about where to get skins
>	einfo ""
>	einfo "Skins for gDeskCal can be found at:"
>	einfo "  ${HOMEPAGE}"
>	einfo ""
>	einfo "To install a new skin simply drag it onto the gDeskCal skinbrowser"
>	einfo ""
>}
Comment 10 Jeroen Hoek 2003-08-12 00:43:52 UTC
Created attachment 15960 [details]
gDeskCal 0.54 ebuild

Ah! Ignore the above comment.. I didn't mean to QUOTE the entire ebuild..
Comment 11 Stefan Sarzio 2003-08-12 12:58:46 UTC
Problem 1:
--- cut here ---
# ebuild /usr/local/portage/x11-misc/gdeskcal/gdeskcal-0.54.ebuild digest
>>> Downloading http://gentoo.oregonstate.edu//distfiles/gdeskcal-0_54.tar.gz
--20:45:22--  http://gentoo.oregonstate.edu//distfiles/gdeskcal-0_54.tar.gz
           => `/usr/portage/distfiles/gdeskcal-0_54.tar.gz'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
20:45:22 ERROR 404: Not Found.
 
>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gdeskcal-0_54.tar.gz
--20:45:22--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/gdeskcal-0_54.tar.gz
           => `/usr/portage/distfiles/gdeskcal-0_54.tar.gz'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
20:45:22 ERROR 404: Not Found.
 
>>> Downloading http://www.pycage.de/download/gdeskcal-0_54.tar.gz
--20:45:22--  http://www.pycage.de/download/gdeskcal-0_54.tar.gz
           => `/usr/portage/distfiles/gdeskcal-0_54.tar.gz'
Resolving localhost... done.
Connecting to localhost[127.0.0.1]:3128... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://www.pycage.de/download/gDeskCal-0_54.tar.gz [following]
--20:45:22--  http://www.pycage.de/download/gDeskCal-0_54.tar.gz
           => `/usr/portage/distfiles/gDeskCal-0_54.tar.gz.5'
Connecting to localhost[127.0.0.1]:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 93,748 [application/x-tar]
 
100%[================================================================================================>] 93,748        89.41M/s    ETA 00:00
 
20:45:22 (89.41 MB/s) - `/usr/portage/distfiles/gDeskCal-0_54.tar.gz.5' saved [93748/93748]
 
>>> Generating digest file...
ebuild: this ebuild generated output during the depend phase (bad)
---

Solution:
--- cut here ---
# mv /usr/portage/distfiles/gDeskCal-0_54.tar.gz /usr/portage/distfiles/gdeskcal-0_54.tar.gz
# ebuild /usr/local/portage/x11-misc/gdeskcal/gdeskcal-0.54.ebuild digest
>>> Generating digest file...
>>> Computed message digests.
--- cut here ---

Problem 2:
--- cut here ---
# emerge gdeskcal
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/gdeskcal-0.54 to /
>>> md5 ;-) gdeskcal-0_54.tar.gz
>>> Unpacking source...
>>> Unpacking gdeskcal-0_54.tar.gz to /var/tmp/portage/gdeskcal-0.54/work
>>> Source unpacked.
 
>>> Install gdeskcal-0.54 into /var/tmp/portage/gdeskcal-0.54/image/ category x11-misc
/usr/lib/portage/bin/dodoc: AUTHORS does not exist.
/usr/lib/portage/bin/dodoc: NEWS does not exist.
/usr/lib/portage/bin/dodoc: README does not exist.
/usr/lib/portage/bin/dodoc: README.i18n does not exist.
/usr/lib/portage/bin/dodoc: README.skins does not exist.
mkdir: cannot create directory `/var/tmp/portage/gdeskcal-0.54/image//usr/share/gdeskcal': No such file or directory
cp: copying multiple files, but last argument `/var/tmp/portage/gdeskcal-0.54/image//usr/share/gdeskcal' is not a directory
Try `cp --help' for more information.
man:
strip:
>>> Completed installing into /var/tmp/portage/gdeskcal-0.54/image/
 
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
>>> Done.
>>> extracting info
>>> extracting gdeskcal-0.54
>>> Merging x11-misc/gdeskcal-0.54 to /
...
--- cut here ---

my 2 cent: ebuild tries to "merge" directly without "installing" to "temporary install directory" (don't know the exact phrase) first
Comment 12 Jeroen Hoek 2003-08-13 00:32:04 UTC
Stefan:

I think both your problems are caused by placing the ebuild in the wrong directory, the correct place would be (yourportagedir)/(categorie)/gDeskCal/

Note the capitalisation! If you don't, emerge will try to unpack a non-existent gdeskcal-0_54.tar.gz instead of gDeskCal-0_54.tar.gz.

I kept the gDeskCal name as the author writes it (capital D and C). This is apparantly not uncommon in portage.
Comment 13 Scott Richey 2003-08-13 06:40:05 UTC
Just my $.02...

I installed the gDeskCal 0.54 ebuild without a problem, and the program works great!! Thanks a lot for the ebuild.
Comment 14 Jeroen Hoek 2003-08-26 06:24:53 UTC
Created attachment 16636 [details]
gDeskCal 0.55 ebuild

New version of gDeskCal (0.55), obsoletes 0.54. Several i18n additions and
Python 2.3 compliancy. The ebuild did NOT change at all, nor did the internal
directory structure of gDeskCal. Everything still works quite well.

Have fun :)

Who knows, maybe this version will get into portage. ;)
Comment 15 Mike Gardiner (RETIRED) gentoo-dev 2003-09-06 02:50:28 UTC
i'm working on the gdesklets ebuilds, of which this is in a similar vein, so i'll take it, and get this in. and then gdesklets will follow. thanks to all the submissions on this bug, i'll get cracking from here on in.
Comment 16 Mike Gardiner (RETIRED) gentoo-dev 2003-09-06 02:52:03 UTC
just a quick note which i forgot before, there is actually a loose policy in portage of lowercasing ebuild names, (of which perl modules are an obvious exception), aside from that, most things look good, and the dialog on this bug is good to see as well.
Comment 17 Jeroen Hoek 2003-09-06 12:27:32 UTC
Created attachment 17178 [details]
gdeskcal 0.55 ebuild (lowercase packagename)

This is the ebuild with "gdeskcal" as packagename. Some extra variable mangling
was added to compensate for the differing name. (${S} mostly)

I'm looking forward to see this in portage, I hope my ebuild is acceptable. :)
Comment 18 Mike Gardiner (RETIRED) gentoo-dev 2004-01-25 05:34:20 UTC
*** Bug 38310 has been marked as a duplicate of this bug. ***
Comment 19 Jeroen Hoek 2004-02-09 04:14:13 UTC
Created attachment 25251 [details]
gdeskcal 0.56 ebuild

January 16th, 2004 marked the release of gdeskcal 0.56. This is a version bump.


The ebuild remains just about the same. Still works quite well. The dependancy
for PyGTK is bumped to the stable branch of 2.0 instead of 1.99.

Is there anything holding this ebuild back from being accepted into portage? A
lot of people use gdeskcal (see the Gentoo desktop threads on the Gentoo forum)
and it seems fairly mature. The ebuild is very straightforward aswell.

Ah well, no rush. :)
Comment 20 Jeroen Hoek 2004-02-09 04:16:58 UTC
Comment on attachment 16636 [details]
gDeskCal 0.55 ebuild

For some odd reason I (jeroen.hoek@datacenter-friesland.nl) have two bugzilla
accounts..

Obsoleted by gdeskcal-0.56.ebuild
Comment 21 Jeroen Hoek 2004-03-10 05:12:50 UTC
Created attachment 27151 [details]
gdeskcal 0.57 ebuild

A new version of gDeskCal, so basically this is yet another versionbump. No
major changes in gDeckCal, it is now GTK+-2.4 ready.
Comment 22 Jeroen Hoek 2004-03-10 05:18:17 UTC
Created attachment 27152 [details]
gdeskcal 0.57 ebuild

Oops, an indentation tab was accidentally replaced by whitespaces. This ebuild
is correctly indented again.
Comment 23 ronmon 2004-03-10 05:43:13 UTC
It works great, nice job with the link fix. I had played around with it and noticed the the old method no longer worked.
Comment 24 Alastair Tse (RETIRED) gentoo-dev 2004-03-10 16:43:56 UTC
*** Bug 44178 has been marked as a duplicate of this bug. ***
Comment 25 Mike Valstar 2004-03-15 14:56:14 UTC
Created attachment 27421 [details]
gDeskCal-0.57.1

0.57.1 came out today, or at least it will shortly, i';ve been talking to the
guys on irc.   the ebuild already works.

sorry dident notice this bug b4 i made the ebuild, so its from scratch.

mine does the ln in the install instead of post install to make it easyer.
Comment 26 Jeroen Hoek 2004-03-15 23:29:42 UTC
Created attachment 27440 [details]
gdeskcal 0.57.1 ebuild

A verbatim copy of my 0.57 ebuild. Works properly.

Mike: No offence taken. :) Also, have a look at comment #16 regarding uppercase
letters in ebuild names.
Comment 27 Mike Valstar 2004-03-16 14:35:03 UTC
ok, lower case names got it.  and i hope this dosent take another 5 months to hit the portage... i'm suprised this has taken so long to make it in.
Comment 28 Joe McCann (RETIRED) gentoo-dev 2004-04-23 13:11:30 UTC
Don't want to change one letter and come off as creating my own thing, but DEPEND should read RDEPEND since those deps are required for the application to run.
Comment 29 Jeroen Hoek 2004-04-25 23:51:06 UTC
Created attachment 30062 [details]
gdeskcal 0.57.1 ebuild

You're absolutely right, this ebuild fixes that. Thanks for reporting it. :)
Comment 30 Carlos Eduardo Monti 2004-05-28 18:06:10 UTC
Anyone knows why this isn't in portage yet?
Comment 31 Mike Gardiner (RETIRED) gentoo-dev 2004-07-17 20:53:32 UTC
I've added the gDesklets calendar. Does anyone have any major opposition to using that, rather than this similar calendar application? I see you guys have done quite a bit of work here, but I'd much prefer just to have the gDesklets one, seeing as the desklets framework is allready in portage.

I'll give it a few days here, before I close this bug.

Comments?

Thanks
Comment 32 Adam Colclough 2004-07-18 00:09:59 UTC
gDeskCal shows appointments created in evolution, the calendar for gdesklets does not. That'd be my only complaint. Future versions of gdesklets' may have evolution "support", but until then not much harm in keeping the bug open-- even if it never makes its way into portage.
Comment 33 Mike Gardiner (RETIRED) gentoo-dev 2004-07-18 20:34:21 UTC
okay, pclouds allready added this one, it's in x11-misc. Great work here everyone.