Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5781 - rox-1.3.3.ebuild
Summary: rox-1.3.3.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Maik Schreiber
URL:
Whiteboard:
Keywords:
: 7731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-30 12:56 UTC by Ken Nowack
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
Patch to make this rox ver. play nice with *box users (rox-1.3.3-blackbox.patch,2.63 KB, patch)
2002-08-04 12:11 UTC, Ken Nowack
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Nowack 2002-07-30 12:56:13 UTC
diff rox-1.3.2.ebuild rox-1.3.3.ebuild 
3c3
< # $Header: /home/cvsroot/gentoo-x86/app-misc/rox/rox-1.3.2.ebuild,v 1.4
2002/07/29 18:32:04 seemant Exp $
---
> # $Header: /home/cvsroot/gentoo-x86/app-misc/rox/rox-1.3.3.ebuild,v 1.4
2002/07/30 18:32:04 seemant Exp $
17c17
<       >=x11-misc/shared-mime-info-0.7"
---
>       >=x11-misc/shared-mime-info-0.8"
Comment 1 Ken Nowack 2002-07-30 12:58:04 UTC
Side Note: gaarde deserves the credit for this, he walked me through the whole
process. in fact, he rocks! :)
Comment 2 Ken Nowack 2002-07-31 17:34:36 UTC
this nees testing, 1.3.3 needs a patch, and the mime types still need to be
sorted out. gaarde and I are working on it atm. Will post when complete
Comment 3 Ken Nowack 2002-08-04 12:11:48 UTC
Created attachment 2821 [details, diff]
Patch to make this rox ver. play nice with *box users
Comment 4 Ken Nowack 2002-08-04 12:35:05 UTC
Here's the complete rox-1.3.3 ebuild. Note on mime types included.
Have fun.

***
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Authored by gaarde and antifa.

S=${WORKDIR}/${P}
DESCRIPTION="ROX-Filer is a fast and powerful graphical file manager"
HOMEPAGE="http://rox.sourceforge.net"
SRC_URI="mirror://sourceforge/rox/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

DEPEND=">=x11-libs/gtk+-2.0.5
        >=dev-libs/glib-2.0.4
        >=dev-libs/libxml2-2.4.23
        >=x11-misc/shared-mime-info-0.9"

src_compile() {
        patch -p1 < ${FILESDIR}/${P}-blackbox.patch || die
}

src_install() {

        # libxml2 header fix
        CFLAGS="${CFLAGS} -I/usr/include/libxml2/libxml -I/usr/include/libxml2"

        cd ${WORKDIR}/${P}/Choices
        mkdir -p ${D}/usr/share/Choices
        cp -rf MIME-icons/ ${D}/usr/share/Choices/
        cp -rf MIME-types/ ${D}/usr/share/Choices/

        cd ${WORKDIR}/${P}
        doman rox.1

        mkdir -p ${D}/usr/share/mime/packages
        cp rox.xml ${D}/usr/share/mime/packages

        mkdir -p ${D}/usr/bin
        cp -rf ROX-Filer/ ${D}/usr/share/
        ${D}/usr/share/ROX-Filer/AppRun --compile
        (cd ${D}/usr/share/ROX-Filer/src; make clean) > /dev/null
        echo "#!/bin/sh" > "${D}/usr/bin/rox"
        echo "exec /usr/share/ROX-Filer/AppRun \"\$@\"" >> "${D}/usr/bin/rox"
        chmod a+x ${D}/usr/bin/rox
        echo ">>Mime types are a bit screwey in this release, the dev's promise
to fix it"
        echo ">>in the future. Run 'update-mime-database /usr/share/mime' when
install completes"
}
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-17 08:42:08 UTC
*** Bug 7731 has been marked as a duplicate of this bug. ***
Comment 6 Stefano Peluchetti 2002-10-19 07:54:35 UTC
This way the documentation file goes under
/usr/share/ROX-Filer/Help while they should go under
/usr/share/doc/rox-xxxxx
I suggest using docinto and dodoc, and then erase with rm -rf the Help directory
under ${$D}/usr/share/ROX-Filer
Let me know...
Anyway the ebuild should be updated to 1.3.4 :)
Thanks

Pelux
Comment 7 Maik Schreiber 2003-01-08 14:31:46 UTC
app-misc/rox-1.3.5 is in Portage.