Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2309 - New: iv-0.1.9.ebuild endeavour2-mimetypes-0.1.ebuild endeavour-2.1.14.ebuild (New packages)
Summary: New: iv-0.1.9.ebuild endeavour2-mimetypes-0.1.ebuild endeavour-2.1.14.ebuild ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-01 09:17 UTC by Pedro Fiol
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Fiol 2002-05-01 09:17:38 UTC
Hi!
Please find atached ebuilds: iv-0.1.9.ebuild, endeavour2-mimetypes-0.1.ebuild,
and endeavour-2.1.14.ebuild

iv is a image viewer application.
endeavour2-mimetypes are mimetypes for endeavour application.
endeavour-2.1.14 is a file manager for X.

iv and mimetypes are direct dependencies of endeavour-2.1.14.
I suggest media-gfx for iv and app-misc/ for the rest of packages.
Comment 1 Pedro Fiol 2002-05-01 09:19:07 UTC
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Pedro Fiol <fiocolpe@softhome.net>
S=${WORKDIR}/${P}
DESCRIPTION="This is a image viewer"

SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/iv-0.1.9.tar.bz2"
HOMEPAGE="http://wolfpack.twu.net"
LICENSE="GNU-GPL"
DEPEND=">=media-libs/imlib-1.9.13
        >=media-libs/libpng"

src_compile() {
    cd iv
    emake || die
}

src_install () {
    dobin iv/iv
    dodir /usr/share/icons
    insinto /usr/share/icons
    doins iv/images/iv.xpm
    doman iv/iv.1
    dodoc LICENSE README
}
Comment 2 Pedro Fiol 2002-05-01 09:20:52 UTC
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Pedro Fiol <fiocolpe@softhome.net>

S=${WORKDIR}/${P}
DESCRIPTION="This a powerful file and image browser"

SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2"
HOMEPAGE="http://wolfpack.twu.net/Endeavour2/"
LICENSE="GPL"
DEPEND=">=x11-libs/gtk+-1.2.10
    >=media-libs/imlib-1.9.13
    >=media-gfx/iv-0.1.9
    >=app-misc/endeavour2-mimetypes-0.1"


src_compile() {
    ./configure Linux \
        --prefix=/usr
    emake || die "Parallel make failed"
}


src_install () {
    dobin endeavour2/endeavour2
    doman endeavour2/endeavour2.1
    dodir /usr/share/icons
    insinto /usr/share/icons
    doins endeavour2/images/endeavour_48x48.xpm \
    endeavour2/images/image_browser_48x48.xpm \
    endeavour2/images/icon_trash_48x48.xpm \
    endeavour2/images/icon_trash_empty_48x48.xpm
    dodir /usr/share/endeavour2
    insinto /usr/share/endeavour2
    dodir /usr/share/endeavour2
    cp -R endeavour2/data/* {D}/usr/share/endeavour2
    dodoc AUTHORS HACKING INSTALL README TODO
}
Comment 3 Pedro Fiol 2002-05-01 09:21:47 UTC
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Pedro Fiol <fiocolpe@softhome.net>
S=${WORKDIR}/${P}
DESCRIPTION="Mime types for endeavour2"

SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/endeavour2-mimetypes.tgz"
HOMEPAGE="http://wolfpack.twu.net"

src_install () {
    dodoc README
    dodir /usr/share/endeavour2
    insinto /usr/share/endeavour2/
    donins mimetypes.ini
}
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2002-05-15 23:52:34 UTC
committed iv.

Hi Pedro
BTW, what is the exact libpng requirement?
>=media-libs/libpng is not going to work, you need to specify version..
Right now I removed >=, so it is not version specific (README does not tell
anything either)

George
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2002-05-16 01:03:56 UTC
Hi Pedro.

Is there a reason to split endeavour from its mimetypes? Are these mimetypes
used by something else? If no why not install them inside endeavour ebuild?

George
Comment 6 Pedro Fiol 2002-05-16 18:57:18 UTC
Hi George,
I've rewritten endeavour2 ebuild to include mimetypes. I've also corrected
dependency errors in iv's ebuild. I hope that now everything is ok.

Pedro

endeavour-2.1.14.ebuild:
------8<------ CUT HERE ------------
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Pedro Fiol <fiocolpe@softhome.net>

M=endeavour2-mimetypes
S=${WORKDIR}/${P}
DESCRIPTION="This is a powerful file and image browser"
SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2
    ftp://wolfpack.twu.net/users/wolfpack/${M}.tgz"

HOMEPAGE="http://wolfpack.twu.net/Endeavour2/"
LICENSE="GPL"

DEPEND=">=x11-libs/gtk+-1.2.8
    >=media-libs/imlib-1.9.10
    >=media-gfx/iv-0.1.9"

src_unpack() {

    unpack ${P}.tar.bz2
    unpack ${M}.tgz

}

src_compile() {

    cd ${P}
    ./configure Linux \
        --prefix=/usr
    emake || die "Parallel make failed"

}


src_install () {

    dobin endeavour2/endeavour2
    doman endeavour2/endeavour2.1
    dodir /usr/share/icons
    insinto /usr/share/icons
    doins endeavour2/images/endeavour_48x48.xpm \
    endeavour2/images/image_browser_48x48.xpm \
    endeavour2/images/icon_trash_48x48.xpm \
    endeavour2/images/icon_trash_empty_48x48.xpm
    dodir /usr/share/endeavour2
    cp -R endeavour2/data/* ${D}/usr/share/endeavour2
    dodoc AUTHORS HACKING INSTALL README TODO
    # install mimetypes
    cd ../${M}
    mv README README.mimetypes
    dodoc README.mimetypes
    insinto /usr/share/endeavour2/
    doins mimetypes.ini

}

------8<------ CUT HERE ------------

iv-0.19-r1.ebuild:
------8<------ CUT HERE ------------
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Pedro Fiol <fiocolpe@softhome.net>
S=${WORKDIR}/${P}
DESCRIPTION="This is a image viewer"

SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/iv-0.1.9.tar.bz2"
HOMEPAGE="http://wolfpack.twu.net"
LICENSE="GPL-2"
DEPEND=">=media-libs/imlib-1.9.13
        >=x11-libs/gtk+-2.0"
RDEPEND="${DEPEND}"

src_compile() {
    cd iv
    emake || die
}

src_install () {
    dobin iv/iv
    dodir /usr/share/icons
    insinto /usr/share/icons
    doins iv/images/iv.xpm
    doman iv/iv.1
    dodoc LICENSE README
}
------8<------ CUT HERE ------------
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2002-05-16 23:34:01 UTC
Hi Pedro.

Thanks for updating ebuilds. Now about iv again :)
Are you sure it needs >=gtk+-2.0? I was able to build it with gtk+-1.2.10-r7.
Besides 2.0.2 is masked, so keeping that would be problemmatic..

George
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2002-05-17 01:38:15 UTC
Committed endeavour ebuild