Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368257 - x11-misc/etm-2.1.5 version bump
Summary: x11-misc/etm-2.1.5 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Deadline: 2017-07-05
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: EBUILD, PMASKED
Depends on:
Blocks: wxwidgets-3.0
  Show dependency tree
 
Reported: 2011-05-21 11:55 UTC by Fabian Köster
Modified: 2017-07-05 13:36 UTC (History)
6 users (show)

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


Attachments
Ebuild for etm-707 (etm-707.ebuild,807 bytes, text/plain)
2011-05-21 11:55 UTC, Fabian Köster
Details
etm-2.1.5.ebuild (etm-2.1.5.ebuild,828 bytes, text/plain)
2013-06-21 09:46 UTC, Sergey Popov
Details
etm-3.2.27.ebuild (etm-3.2.27.ebuild,1.12 KB, text/plain)
2016-08-02 22:15 UTC, Michael Orlitzky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Köster 2011-05-21 11:55:14 UTC
Created attachment 274195 [details]
Ebuild for etm-707

A new version (707) of the Events and Taskmanager (ETM) is available.

I also added a desktop-entry to the ebuild, see attachment.
Comment 1 Fabian Köster 2011-05-21 11:56:44 UTC
You may also add ~arm keyword, because it compiles and runs perfectly on my armv7a machine.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2011-05-23 00:20:50 UTC
michael@io etm 1 % diff -ru etm-696.ebuild attachment.cgi\?id=274195            --- etm-696.ebuild      2011-01-19 04:45:52.000000000 +0100
+++ attachment.cgi?id=274195    2011-05-23 02:14:48.887229395 +0200
@@ -4,11 +4,11 @@
 
 EAPI=3
 PYTHON_DEPEND="2:2.5"
-inherit distutils
+inherit distutils eutils
 
 DESCRIPTION="Event and Task Manager, an intuitive time management application"
 HOMEPAGE="http://www.duke.edu/~dgraham/ETM/"
-SRC_URI="mirror://sourceforge/etmeventandtask/${P}.tar.gz"
+SRC_URI="http://www.duke.edu/~dgraham/ETM/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -20,3 +20,8 @@
        ical? ( dev-python/icalendar )"
 RDEPEND="${DEPEND}"
 RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+src_install() {
+       distutils_src_install
+       make_desktop_entry /usr/bin/e.pyw "ETM" /usr/lib/python2.6/site-packages/etm/etmlogo_32x32x32.png "Office;Calendar"
+}

better use python.eclass $(python_get_sitedir), because python 2.7 is stable and /usr/lib/python2.6/site-packages might no longer exists on a regular system.
but I don't know if calling this function is appropr on a multi-abi install.
Comment 3 Fabian Köster 2011-05-23 07:06:49 UTC
Just noticed with etm-707 I cannot create a new project from the GUI:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/etm/etmDialog.py", line 342, in OnOk
    if self.parent.confirm(hash):
  File "/usr/lib/python2.6/site-packages/etm/etmWX.py", line 583, in confirm
    file = self.getFile(item['type'], mode='create')
  File "/usr/lib/python2.6/site-packages/etm/etmWX.py", line 721, in getFile
    defaultDir = self.etmData.defaultDir[type],
KeyError: 'project'

Steps to reproduce:

1.) Start GUI with /usr/bin/e.pyw
2.) Press Shift+P
3.) Enter a project-description
4.) Hit 'OK'

-> Nothing happens, error above printed on terminal.

Version 702 does _not_ have this problem.
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2011-05-26 14:40:30 UTC
(In reply to comment #3)
> Just noticed with etm-707 I cannot create a new project from the GUI:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/etm/etmDialog.py", line 342, in OnOk
>     if self.parent.confirm(hash):
>   File "/usr/lib/python2.6/site-packages/etm/etmWX.py", line 583, in confirm
>     file = self.getFile(item['type'], mode='create')
>   File "/usr/lib/python2.6/site-packages/etm/etmWX.py", line 721, in getFile
>     defaultDir = self.etmData.defaultDir[type],
> KeyError: 'project'
> 
> Steps to reproduce:
> 
> 1.) Start GUI with /usr/bin/e.pyw
> 2.) Press Shift+P
> 3.) Enter a project-description
> 4.) Hit 'OK'
> 
> -> Nothing happens, error above printed on terminal.
> 
> Version 702 does _not_ have this problem.

Have you reported this upstream?  The author is usually pretty quick at fixing bugs.
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2011-05-26 14:43:31 UTC
(In reply to comment #2)
> +src_install() {
> +       distutils_src_install
> +       make_desktop_entry /usr/bin/e.pyw "ETM"
> /usr/lib/python2.6/site-packages/etm/etmlogo_32x32x32.png "Office;Calendar"
> +}
> 
> better use python.eclass $(python_get_sitedir), because python 2.7 is stable
> and /usr/lib/python2.6/site-packages might no longer exists on a regular
> system.
> but I don't know if calling this function is appropr on a multi-abi install.

Good point.  A better solution for the icon would probably be to just install the etmlogo_32x32x32.png into /usr/share/pixmaps/ and pass it along to make_desktop_entry instead.
Comment 6 Fabian Köster 2011-06-06 10:25:04 UTC
> Have you reported this upstream?  The author is usually pretty quick at fixing
> bugs.

I created a bug report upstream [1].

[1] https://sourceforge.net/tracker/?func=detail&aid=3312360&group_id=338438&atid=1417479
Comment 7 Jesse Adelman 2011-07-24 05:27:12 UTC
If I am reading ETM's CHANGES right, there is now a migration process in ETM:

"836    2011-07-18
	Added check_rotating to etmRC to create appropriate archive files
	before migrating old data files."

ETM's "version 2" is now up to version 845.

http://www.duke.edu/~dgraham/ETM/CHANGES

Thanks! I do look forward to seeing 707 in Portage, too. :)
Comment 8 Sergey Popov gentoo-dev 2013-06-21 09:46:01 UTC
Created attachment 351524 [details]
etm-2.1.5.ebuild

New versions of ETM are migrated to PyQt4. I am attaching draft ebuild for 2.1.5. Hope it helps somebody.
Comment 9 Michael Orlitzky gentoo-dev 2016-08-02 22:15:52 UTC
Created attachment 442334 [details]
etm-3.2.27.ebuild

This has undergone another name change, to "etmtk", but the executable is still called "etm" so I don't think it needs to be renamed. The newer build uses Tk instead of Qt and the ebuild is pretty simple.

Unfortunately I hit one issue that is preventing me from adding the new version to the tree:

https://github.com/dagraham/etm-tk/issues/62

If I hear back on that, I can add this.
Comment 10 Pacho Ramos gentoo-dev 2016-11-29 11:19:59 UTC
This is orphan... hence, maybe the last ebuild could be committed (or this finally treecleaned if nobody cares about it :/)
Comment 11 Pacho Ramos gentoo-dev 2017-01-10 12:34:39 UTC
CCing treecleaners
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-05 17:57:31 UTC
# Michał Górny <mgorny@gentoo.org> (05 Jun 2017)
# (on behalf of Treecleaner project)
# Unmaintained in Gentoo. The current version is obsolete, and the new
# versions cause issues preventing adding.
# Removal in 30 days. Bug #368257.
x11-misc/etm
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-05 13:36:39 UTC
commit e35e6c3cb36dce504c6607d45562b116f6e8e558
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Wed Jul 5 15:24:21 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Wed Jul 5 15:35:38 2017

    x11-misc/etm: Remove last-rited pkg, #368257