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
Created attachment 14222 [details] Ebuild and manifest files for gDeskCal
add dev-python/pygtk to the DEPEND list.
Created attachment 14244 [details] Ebuild and manifest files for gDeskCal Added dev-python/pygtk dependancy
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
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. :)
*** Bug 25936 has been marked as a duplicate of this bug. ***
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
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 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 "" >}
Created attachment 15960 [details] gDeskCal 0.54 ebuild Ah! Ignore the above comment.. I didn't mean to QUOTE the entire ebuild..
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
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.
Just my $.02... I installed the gDeskCal 0.54 ebuild without a problem, and the program works great!! Thanks a lot for the ebuild.
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. ;)
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.
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.
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. :)
*** Bug 38310 has been marked as a duplicate of this bug. ***
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 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
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.
Created attachment 27152 [details] gdeskcal 0.57 ebuild Oops, an indentation tab was accidentally replaced by whitespaces. This ebuild is correctly indented again.
It works great, nice job with the link fix. I had played around with it and noticed the the old method no longer worked.
*** Bug 44178 has been marked as a duplicate of this bug. ***
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.
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.
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.
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.
Created attachment 30062 [details] gdeskcal 0.57.1 ebuild You're absolutely right, this ebuild fixes that. Thanks for reporting it. :)
Anyone knows why this isn't in portage yet?
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
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.
okay, pclouds allready added this one, it's in x11-misc. Great work here everyone.