Summary: | x11-misc/etm-2.1.5 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabian Köster <gentoo> |
Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | jesse, mgorny, mjo, treecleaner, v_2e, xmw |
Priority: | Normal | Keywords: | EBUILD, PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 562480 | ||
Deadline: | 2017-07-05 | ||
Attachments: |
Ebuild for etm-707
etm-2.1.5.ebuild etm-3.2.27.ebuild |
You may also add ~arm keyword, because it compiles and runs perfectly on my armv7a machine. 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. 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. (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. (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. > 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 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. :) 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.
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. This is orphan... hence, maybe the last ebuild could be committed (or this finally treecleaned if nobody cares about it :/) CCing treecleaners # 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 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 |
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.