E-book reader for GTK & GNOME. Based on PyBookReader. It can read FictionBook (fb2) files. Reproducible: Always
Created attachment 154067 [details] Ebuild
have you actually tested this packages on all arches in KEYWORD ? and also invert the RDEPEND/DEPEND assignation.
(In reply to comment #2) > have you actually tested this packages on all arches in KEYWORD ? No, it's only tested on alpha, amd64, ia64, x86, but i can't see any problem to run it on any other arch. This is my first ebuild, i must remove keyword if package is not tested on this arch? ok > and also invert the RDEPEND/DEPEND assignation. Theese are both compile-time deps.
Comment on attachment 154067 [details] Ebuild # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="PyGTK-based book reader for plain text and fb2 books" HOMEPAGE="http://odin.sourceforge.net/" SLOT="0" LICENSE="GPL-2" KEYWORDS="~alpha ~amd64 ~ia64 ~x86" SRC_URI="mirror://sourceforge/odin/${P}.tar.bz2" DEPEND="virtual/python >=dev-python/pygtk-2.2 dev-libs/libxml2" RDEPEND="${DEPEND}"
align ebuild requests to same values
Created attachment 198124 [details] ebuild for odin-0.1.3 Oh... I forget about it :( . This was presumably the last version. Package is close to be abandoned. If anybody is interested in it, pick them up :) . Now I'm planning to make something about, but from scratch.
Created attachment 198125 [details] ebuild for odin-0.1.3 Oh... I forget about it :( . This was presumably the last version. Package is close to be abandoned. If anybody is interested in it, pick them up :) . Now I'm planning to make something about, but from scratch.
sorry about dubs
Like you said apparently package seems to be abandoned, the last commit was send 14 months ago, and the last release is 1 year old. It could be annoying in case of problem if we need to get feedbacks from upstream devs, and so on. However it's just my opinion :)
I'm upstream developer :) I will fix small bugs and accept patches, but i'm going to make another similar program from scratch and haven't enough time to support this...
(In reply to comment #10) > I'm upstream developer :) I will fix small bugs and accept patches, but i'm > going to make another similar program from scratch and haven't enough time to > support this... > Okay so if you're an upstream developer don't consider what I said ;) Just few things: - As Gilles asked you, please fix RDEPEND and DEPEND - In src_compile(), do you know use_enable() function ? example : src_compile() { distutils_src_compile $(use_enable fb2) } - You can drop src_install() because exported by disutils.eclass, and move DOCS in global scope. - is older version of python in portage is 2.4.6, so you can put dev-lang/python in depend - ebuild header is out-dated - do you know EAPI="2" (see devmanual) in this case you just have to define src_prepare() and apply your patch from this function. --> The rest seems to be good :)
Created attachment 198907 [details] ebuild for odin-0.1.3 * dropped use-flag 'fb2', because it doesn't work + EAPI2 + dropped src_install What concretely i have to make with depends? Tell me pls... :)
- catdoc et poppler are need to install the package (emerge phase only) or to use it ? then have a look to http://devmanual.gentoo.org/general-concepts/dependencies/index.html ;) - be warn about KEYWORDS, only tested arch need to be keyworded - dev-lan/python can normally be dropped from dep because already added by distutils.eclass and will be install by pygtk. - in src_prepare , you can use ${P} instead of "odin-0.1.3", and you need to quote (double quotes) at least ${FILESDIR}, but usually we quote the full argument of epatch (a kind of ebuild writing convention)
(In reply to comment #13) > - catdoc et poppler are need to install the package (emerge phase only) or to > use it ? then have a look to > http://devmanual.gentoo.org/general-concepts/dependencies/index.html ;) catdoc & poppler (pdf2text converter) are need to use it (with pipe). > - dev-lan/python can normally be dropped from dep because already added by > distutils.eclass and will be install by pygtk. okey > - in src_prepare , you can use ${P} instead of "odin-0.1.3", and you need to > quote (double quotes) at least ${FILESDIR}, but usually we quote the full > argument of epatch (a kind of ebuild writing convention) okey
Created attachment 198976 [details] ebuild for odin-0.1.3 minor fixes
Created attachment 198977 [details, diff] patch to fix problem with zip-archives i forget about this patch... :( it is needed to work properly with zip files
RDEPEND="dev-libs/libxml2 >=dev-python/pygtk-2.2 >=gnome-base/libglade-2.0 ms-doc? ( app-text/catdoc ) pdf? ( virtual/poppler )" DEPEND="${RDEPEND}" All libraries needed at compile time and at runtime need to be put into RDEPEND and DEPEND. And as you said, catdoc and poppler are needed to use it, so theorically move them to RDEPEND. Gilles that's what you wanted ?
(In reply to comment #17) catdoc & poppler is needed only in runtime.
Created attachment 207724 [details] ebuild for odin-0.1.4 Version bump. Yes, i've released new version...
RESOLVED as OBSOLETE since there is no update and package is not in tree Coordinated with leio