View previous topic :: View next topic |
Author |
Message |
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Sun Jan 18, 2015 3:30 pm Post subject: rox-filer is disappearing from the tree -alternatives needed |
|
|
Hi all, I suddenly received today this scary message from my emerge --sync:
Code: | !!! The following installed packages are masked:
- rox-base/zeroinstall-injector-1.11::gentoo (masked by: package.mask)
/var/system_data/portage/profiles/package.mask:
# Manuel Rüger <mrueg@gentoo.org> (17 Jan 2015)
# Unmaintained. Old eclasses, EAPIs and various bugs.
# See bug #533642
# Removal in 30 days.
- rox-base/rox-lib-2.0.6::gentoo (masked by: package.mask)
- rox-base/rox-2.10::gentoo (masked by: package.mask)
- rox-base/thumbs-0.1.4::gentoo (masked by: package.mask)
- rox-extra/archive-2.3::gentoo (masked by: package.mask)
- rox-base/mime-editor-0.6::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
I've been using rox as a filemanager for almost an eternity (for informatics anyway). Do you know any filemanager that have similar features to rox-filer?
The most useful feature that I don't want to renounce to is the highlighting (by representing with bold characters) of recently modified files or directories. It's something I never experienced with other file managers.
Can you recomend me another file manager with a similar feature?
Thanks _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Last edited by Cazzantonio on Tue Jan 20, 2015 12:33 pm; edited 1 time in total |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9677 Location: almost Mile High in the USA
|
Posted: Mon Jan 19, 2015 6:47 am Post subject: |
|
|
Probably should file a warning bug or reply to that bug saying that it would end up blocking rox-lib and might well remove the rest of rox.
Need someone to fix rox, I suppose, but it looks like it's been left for the dead.
I do wonder what do you mean "recently modified" - does it highlight those changed in the last day/week/hour/minute/???
While I don't recall seeing such feature I suspect most of the modern file managers expect you to sort by modification date... yeah unfortunately not the same thing but in theory it should help do the same thing.
Alas looks like another piece of software that's heading towards the bit bucket, which is a pity as it is one of the udisks-free filemanagers out there. Alas now I'm just using the udisks file managers (thunar, nautilus), it's more fun to use when dealing with a GUI and removable media... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Mon Jan 19, 2015 8:42 am Post subject: |
|
|
eccerr0r wrote: | I do wonder what do you mean "recently modified" - does it highlight those changed in the last day/week/hour/minute/???
While I don't recall seeing such feature I suspect most of the modern file managers expect you to sort by modification date... yeah unfortunately not the same thing but in theory it should help do the same thing.
Alas looks like another piece of software that's heading towards the bit bucket, which is a pity as it is one of the udisks-free filemanagers out there. Alas now I'm just using the udisks file managers (thunar, nautilus), it's more fun to use when dealing with a GUI and removable media... |
Yes with most file managers you can sort items by modification date. With rox files modified in the last minutes would be shown with bold characters, thus allowing one to realize that a modification took place in the first place. It's a simple but incredibly useful thing, for some people.
In some cases it's handy, in order to realize that something was modified, or created, or just to track an ongoing process writing to new files (helps visually separating new files from older entries). I make heavily use of this last feature.
I didn't realize rox project was unmantained. Bad news for gentoo indeed (every ebuild less in the tree is a loss for everyone). _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
sitquietly Tux's lil' helper
Joined: 23 Oct 2010 Posts: 143 Location: On the Wolf River, Tennessee
|
Posted: Mon Jan 19, 2015 4:54 pm Post subject: Re: rox-filer is disappearing from the tree - alternatives n |
|
|
Cazzantonio wrote: | Hi all, I suddenly received today this scary message from my emerge --sync:
[code]!!! The following installed packages are masked:
.....
- rox-base/rox-2.10::gentoo (masked by: package.mask)
.....
I've been using rox as a filemanager for almost an eternity (for informatics anyway). Do you know any filemanager that have similar features to rox-filer?..... |
My entire workflow is centered around rox filer and its panel.
A few months ago I converted my wife's "desktop" to fluxbox with rox filer and its panel and slowly accustomed her to using its features.
I'll probably add rox to my local overlay and "maintain" it myself. I also use rox as my desktop in FreeBSD.
I don't know any file manager that has similar features. Rox is the most Finder-like file manager I've found under Linux/BSD and despite being unchanged upstream for a long time it still works perfectly because gtk2 still supports it perfectly. It should continue working perfectly until gtk2 dies. Removing it from the portage tree seems like an extreme measure.
One nice feature in Rox filer is it handles auto-mounting and unmounting by honoring the mount points listed in fstab. e.g. I have a mount point listed in fstab for the Backups directory on my local file server. The only auto-mounting / unmounting infrastructure I need for accessing Backups is the file system itself and rox filer. Click on the Backups directory and rox mounts the nfs share. Close the last file manager window on any rox-mounted filesystem and rox asks if you want to {unmount it, eject it, leave it mounted}. The same simplicity handles my pen drives, mp3 player, extra partitions, dvd drive, and camera card reader. I'm also a heavy user of rox filer's mini-buffer. I can accomplish any operation on a file/directory/document/application/device without lifting my hands from the keyboard or using anything other than rox filer. THAT is what I can't do in any other file manager. Maybe the Unity and Gnome shells offer a similar keyboard-driven workflow, but I don't fall in love with their file managers.
The only other acceptable file managers for me under Linux are Dolphin, which of course requires a lot of KDE infrastructure, or app-misc/ranger in an xterm. A minimal KDE with Dolphin/Plasma-panel seems to be the best alternative. I'm shocked that anyone would have written a new file manager in the past decade without preserving the great features that have been available in rox filer all along. |
|
Back to top |
|
|
Zentoo Apprentice
Joined: 18 Nov 2002 Posts: 195 Location: /dev/console
|
Posted: Mon Jan 19, 2015 5:57 pm Post subject: |
|
|
I'm in the same position too: I have used Rox-Filer for 10 years as file manager and as desktop integrated with openbox and there is no file manager that works similar to it. (I've take a look at x11-misc/rodent that is keyboard driven but it looks like ugly)
In reality, it's not the ROX project that is not maintained anymore but the corresponding ebuilds that still use old EAPI.
ROX don't have any evolution for several years but it's rock stable so the actual problem is only because there is no maintainer for rox ebuilds !
Source: https://bugs.gentoo.org/show_bug.cgi?id=533642 _________________ Kernel 5.14.15-zen | Gcc 11.2 | Glibc 2.34
Core i7 6700K @ 4.6GHz | 32Gb
ACCEPT_KEYWORDS="~amd64"
CFLAGS="-march=native -O2 -pipe" |
|
Back to top |
|
|
davidm Guru
Joined: 26 Apr 2009 Posts: 557 Location: US
|
Posted: Mon Jan 19, 2015 6:14 pm Post subject: |
|
|
If the upstream is stable someone might volunteer to pick it up or at least set up an overlay maybe? It seems popular enough among Gentooers if this many people replied.
I guess more of us need to roll up our sleeves and become developers. |
|
Back to top |
|
|
sitquietly Tux's lil' helper
Joined: 23 Oct 2010 Posts: 143 Location: On the Wolf River, Tennessee
|
Posted: Mon Jan 19, 2015 6:55 pm Post subject: |
|
|
Zentoo wrote: | I'm in the same position too: I have used Rox-Filer for 10 years as file manager and as desktop integrated with openbox and there is no file manager that works similar to it..... |
Someone recommended in another thread Which DE / Window Manager Do You Use? that we look at emelfm as an alternative to rox. It has a good User Guide that will give enough info to decide if emelfm is a good fit for you. I gave it a brief look recently, found I was hard-wired differently than Orthodox file managers assume, but I'll try it again more extensively.
I realize that rox is being dropped because the Gentoo developers are "cleaning" the portage tree to support only newer EAPIs. I had looked into the idea of supporting Gentoo ebuilds myself, and do have a couple of my own in my local overlay, but I was so turned off by the complexity of portage ebuilds and EAPIs -- well, that's when I decided to start migrating back to FreeBSD and the original make-based "ports" system. |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Jan 20, 2015 9:15 am Post subject: |
|
|
sitquietly wrote: | Someone recommended in another thread Which DE / Window Manager Do You Use? that we look at emelfm as an alternative to rox. It has a good User Guide that will give enough info to decide if emelfm is a good fit for you. I gave it a brief look recently, found I was hard-wired differently than Orthodox file managers assume, but I'll try it again more extensively.
I realize that rox is being dropped because the Gentoo developers are "cleaning" the portage tree to support only newer EAPIs. I had looked into the idea of supporting Gentoo ebuilds myself, and do have a couple of my own in my local overlay, but I was so turned off by the complexity of portage ebuilds and EAPIs -- well, that's when I decided to start migrating back to FreeBSD and the original make-based "ports" system. |
emelfm is good but it does not support the tab concept and it won't in the future. I can't think an orthodox file manager that does not support tabbing. Anyway I recommend "spacefm" since it support tabs and have all the features being an orthodox file manager.
Sad to see rox being dropped. I remember the similar file manager "nao" which was my favourite that was abandoned by upstream. I still miss it.
If it was just a maintainer needed, I would maintain rox. But unfortunately I am not a gentoo dev. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Jan 20, 2015 9:46 am Post subject: |
|
|
franzf, thanks for pointing out.
Let me check. if rox is not abandoned by upstream, I may apply. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Tue Jan 20, 2015 12:35 pm Post subject: |
|
|
keenblade wrote: | franzf, thanks for pointing out.
Let me check. if rox is not abandoned by upstream, I may apply. |
That would be fantastic.
If you need help I can contribute, even if only part-time. I never really started to understand gentoo EAPI system, so I'm almost ignorant of all the stuff on portage background. _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
Jorge Buccanero n00b
Joined: 21 Jan 2015 Posts: 1
|
Posted: Wed Jan 21, 2015 1:05 am Post subject: |
|
|
Long time Gentoo user, but not active at the Forum. My knowledge on programming is quite limited, but if there is something I can do to keep ROX alive, please, tell me. I'm willing to cooperate. |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Wed Jan 21, 2015 1:17 pm Post subject: |
|
|
For users of rox-filer only, at least these ebuilds are IMHO to be preserved:
Code: | rox-base/rox
rox-base/rox-lib
rox-base/mime-editor
rox-base/thumbs
rox-base/zeroinstall-injector |
I would add also:
If we make a list of important packages we can try to ask the developers to drop support only for rox desktop, and preserve somehow these few ebuilds (i guess that updating EAPI of those 5-6 ebuilds is relatively quick) _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
Jimmy Jazz Guru
Joined: 04 Oct 2004 Posts: 325 Location: Strasbourg
|
Posted: Wed Jan 21, 2015 3:10 pm Post subject: |
|
|
Cazzantonio wrote: | For users of rox-filer only, at least these ebuilds are IMHO to be preserved:
Code: | rox-base/rox
rox-base/rox-lib
rox-base/mime-editor
rox-base/thumbs
rox-base/zeroinstall-injector |
I would add also:
|
I have found an old dusty ebuild in my own overlay about rox-filer.
Is that what you are looking for ?
Code: |
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
EAPI=5
inherit virtualx
DESCRIPTION="ROX-Filer a drag and drop spatial file manager"
HOMEPAGE="http://rox.sourceforge.net/desktop"
SRC_URI="http://downloads.sourceforge.net/rox/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
COMMON_DEPEND=">=dev-lang/perl-5.6
>=gnome-base/libglade-2.6.4-r2
>=x11-libs/gdk-pixbuf-2.14
>=x11-libs/gtk+-2.24:2"
RDEPEND="${COMMON_DEPEND}
x11-misc/shared-mime-info"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
src_prepare() {
cd ROX-Filer &&
mkdir build &&
sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c
}
src_configure() {
cd ROX-Filer &&
pushd build &&
../src/configure --prefix=/usr LIBS="-lm -ldl" &&
popd
}
src_compile() {
cd ROX-Filer &&
pushd build &&
make &&
popd
}
src_install() {
cd ROX-Filer &&
mkdir -p ${D}/usr/share/rox &&
cp .DirIcon ${D}/usr/share/rox &&
cp -av Help Messages Options.xml ROX images style.css .DirIcon ${D}/usr/share/rox &&
doman ../rox.1
mkdir -p ${D}/usr/bin &&
cp -v ROX-Filer ${D}/usr/bin/rox &&
chown -Rv root:root ${D}/usr/bin/rox ${D}/usr/share/rox &&
mkdir -p ${D}/usr/share/rox/ROX/MIME &&
cd ${D}/usr/share/rox/ROX/MIME &&
ln -sv text-x-{diff,patch}.png &&
ln -sv application-x-font-{afm,type1}.png &&
ln -sv application-xml{,-dtd}.png &&
ln -sv application-xml{,-external-parsed-entity}.png &&
ln -sv application-{,rdf+}xml.png &&
ln -sv application-x{ml,-xbel}.png &&
ln -sv application-{x-shell,java}script.png &&
ln -sv application-x-{bzip,xz}-compressed-tar.png &&
ln -sv application-x-{bzip,lzma}-compressed-tar.png &&
ln -sv application-x-{bzip-compressed-tar,lzo}.png &&
ln -sv application-x-{bzip,xz}.png &&
ln -sv application-x-{gzip,lzma}.png &&
ln -sv application-{msword,rtf}.png
mkdir -p ${D}/usr/share/pixmaps &&
ln -s ../rox/.DirIcon ${D}/usr/share/pixmaps/rox.png &&
mkdir -p ${D}/usr/share/applications &&
cat > ${D}/usr/share/applications/rox.desktop <<-HERE_DOC
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Rox
Comment=The Rox File Manager
Icon=rox
Exec=rox
Categories=GTK;Utility;System;Core;
StartupNotify=true
Terminal=false
HERE_DOC
# more at http://www.linuxfromscratch.org/blfs/view/svn/xsoft/rox-filer.html
}
|
_________________ « La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code: |
+----+----+----+
| |::::| |
| |::::| |
+----+----+----+ |
motto: WeLCRO
WritE Less Code, Repeat Often |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Wed Jan 21, 2015 8:17 pm Post subject: |
|
|
Sorry, I don't understand what you are saying. Why did you post that rox ebuild here on the forum?
Anyway, I asked here on bugzilla and it seems they are open to new maitainers:
https://bugs.gentoo.org/show_bug.cgi?id=533642 _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
Jimmy Jazz Guru
Joined: 04 Oct 2004 Posts: 325 Location: Strasbourg
|
Posted: Thu Jan 22, 2015 11:31 am Post subject: |
|
|
Cazzantonio wrote: | Sorry, I don't understand what you are saying. Why did you post that rox ebuild here on the forum?
|
Of course to share an ebuild that isn't available in portage. It's still a gentoo user forum . _________________ « La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code: |
+----+----+----+
| |::::| |
| |::::| |
+----+----+----+ |
motto: WeLCRO
WritE Less Code, Repeat Often |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Thu Jan 22, 2015 5:53 pm Post subject: |
|
|
Devs say that the following things are to be done in order to keep at least rox-filer in the tree
https://bugs.gentoo.org/show_bug.cgi?id=533642
Quote: | rox-base/rox: check bug #500502 and bug # 309875, update to EAPI5, either maintain rox-extra/videothumbnail, too or remove IUSE="video".
rox-base/rox-lib: migrate from 'python' to 'python-r1 / python-single-r1 / python-any-r1', update to EAPI5.
rox-base/mime-editor: update to EAPI5.
rox-base/thumbs: update to EAPI5.
rox-base/zeroinstall-injector: migrate from 'distutils' to 'distutils-r1'.
rox-extra/archive: update to EAPI5.
In addition to those ebuilds, we have also deprecated eclasses for rox: rox.eclass and rox-0install.eclass.
Thus we need someone who is willing to maintain them, too. |
I don't know if I have the time to do all those things (I'm starting a new work in February, I still don't know how much of my free time it will consume). If someone is willing we could team up, try to tackle the above issues and become proxy-maintainers.
Is anyone willing to do so? I fear that if alone I'll give up and simply preserve a local overlay for rox-filer. _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
sitquietly Tux's lil' helper
Joined: 23 Oct 2010 Posts: 143 Location: On the Wolf River, Tennessee
|
Posted: Thu Jan 22, 2015 7:56 pm Post subject: |
|
|
Jimmy Jazz wrote: |
I have found an old dusty ebuild in my own overlay about rox-filer.
Is that what you are looking for ?
<snip>
..... |
Yes! That's what I'm looking for. That is a rather nice ebuild for rox. I renamed it as rox-filer (since upstream tarball uses that name now) and updated to rox-filer-2.11. It installs very cleanly (no extraneous files, everything installed in proper standard locations) and is running well from my local overlay. It should be added to portage so I'll file a bug report for it (if you approve of having your ebuild used). Everyone should note that this new ebuild does not require zeroinstall (which was totally unnecessary), does not install odd files like the entire source code tree (which the gentoo 2.10-r1 ebuild does), and adds some missing mimetypes. I've compared it to my archlinux pkgbuild and to the old gentoo ebuild and it seems to be the best way to install rox that I've seen.
Thank you! |
|
Back to top |
|
|
Jimmy Jazz Guru
Joined: 04 Oct 2004 Posts: 325 Location: Strasbourg
|
Posted: Thu Jan 22, 2015 9:55 pm Post subject: |
|
|
sitquietly wrote: | Jimmy Jazz wrote: |
I have found an old dusty ebuild in my own overlay about rox-filer.
Is that what you are looking for ?
<snip>
..... |
Yes! That's what I'm looking for. That is a rather nice ebuild for rox. I renamed it as rox-filer (since upstream tarball uses that name now) and updated to rox-filer-2.11. It installs very cleanly (no extraneous files, everything installed in proper standard locations) and is running well from my local overlay. It should be added to portage so I'll file a bug report for it (if you approve of having your ebuild used). Everyone should note that this new ebuild does not require zeroinstall (which was totally unnecessary), does not install odd files like the entire source code tree (which the gentoo 2.10-r1 ebuild does), and adds some missing mimetypes. I've compared it to my archlinux pkgbuild and to the old gentoo ebuild and it seems to be the best way to install rox that I've seen.
Thank you! |
thx. that's fine for me _________________ « La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code: |
+----+----+----+
| |::::| |
| |::::| |
+----+----+----+ |
motto: WeLCRO
WritE Less Code, Repeat Often |
|
Back to top |
|
|
Cazzantonio Bodhisattva
Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Fri Jan 23, 2015 11:00 am Post subject: |
|
|
Jimmy Jazz wrote: | Cazzantonio wrote: | Sorry, I don't understand what you are saying. Why did you post that rox ebuild here on the forum?
|
Of course to share an ebuild that isn't available in portage. It's still a gentoo user forum . |
Ok I tried your ebuild and everything seems ok. It removed all rox-base/* dependencies and now the problem is narrowed down to porting that ebuild to the most recent EAPI to get it accepted back into portage.
Since you are skilled in writing ebuilds, why don't you apply to become proxy-mainteiner for that ebuild? _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
|
Back to top |
|
|
sitquietly Tux's lil' helper
Joined: 23 Oct 2010 Posts: 143 Location: On the Wolf River, Tennessee
|
Posted: Fri Jan 23, 2015 3:53 pm Post subject: |
|
|
Thank you for that reference. The ebuild in simple form was submitted as Bug Report 537388. If no one else wants to fix it up I'll improve it here where I have it running already and submit an improved version using dodir, dobin, dodoc, etc., as suggested by ppurka. |
|
Back to top |
|
|
sitquietly Tux's lil' helper
Joined: 23 Oct 2010 Posts: 143 Location: On the Wolf River, Tennessee
|
Posted: Fri Jan 23, 2015 9:45 pm Post subject: |
|
|
A better version of the ebuild is here:
Code: |
# Copyright 2000-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
EAPI=5
inherit eutils virtualx
DESCRIPTION="ROX-Filer a drag and drop spatial file manager"
HOMEPAGE="http://rox.sourceforge.net/desktop"
SRC_URI="http://downloads.sourceforge.net/rox/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
COMMON_DEPEND=">=dev-lang/perl-5.6
>=gnome-base/libglade-2.6.4-r2
>=x11-libs/gdk-pixbuf-2.14
>=x11-libs/gtk+-2.24:2"
RDEPEND="${COMMON_DEPEND}
x11-misc/shared-mime-info"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
sys-devel/gettext
virtual/pkgconfig"
src_prepare() {
cd ROX-Filer
mkdir build
sed -i 's:g_strdup(getenv("APP_DIR")):"/usr/share/rox":' src/main.c || die "prepare failed"
}
src_configure() {
cd ROX-Filer
pushd build
../src/configure --prefix=/usr LIBS="-lm -ldl" || die "configure failed"
popd
}
src_compile() {
cd ROX-Filer
pushd build
make || die "make failed"
popd
}
src_install() {
cd ROX-Filer
dodir /usr/share/applications /usr/share/pixmaps /usr/share/rox/Help
insinto /usr/share/rox
doins -r Messages Options.xml ROX images style.css .DirIcon Templates.ui
insinto /usr/share/rox/Help
doins Help/*.html Help/README*
doman ../rox.1
newbin ROX-Filer rox
cd ${D}/usr/share/rox/ROX/MIME || die "MIME directory missing"
ln -sv text-x-{diff,patch}.png &&
ln -sv application-x-font-{afm,type1}.png &&
ln -sv application-xml{,-dtd}.png &&
ln -sv application-xml{,-external-parsed-entity}.png &&
ln -sv application-{,rdf+}xml.png &&
ln -sv application-x{ml,-xbel}.png &&
ln -sv application-{x-shell,java}script.png &&
ln -sv application-x-{bzip,xz}-compressed-tar.png &&
ln -sv application-x-{bzip,lzma}-compressed-tar.png &&
ln -sv application-x-{bzip-compressed-tar,lzo}.png &&
ln -sv application-x-{bzip,xz}.png &&
ln -sv application-x-{gzip,lzma}.png &&
ln -sv application-{msword,rtf}.png || die "symlinking failed"
dosym /usr/share/rox/.DirIcon /usr/share/pixmaps/rox.png
cat > ${D}/usr/share/applications/rox.desktop <<HERE_DOC
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Rox-Filer
Comment=The Rox File Manager
Icon=rox
Exec=rox
Categories=GTK;Utility;System;Core;
StartupNotify=true
Terminal=false
HERE_DOC
}
|
It installs the Templates.ui file which was missed previously (and is necessary for the panel options dialog), and uses doins functions to ensure correct file permissions. Please comment if you can help me with any more corrections. |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
|
Back to top |
|
|
sitquietly Tux's lil' helper
Joined: 23 Oct 2010 Posts: 143 Location: On the Wolf River, Tennessee
|
Posted: Sat Jan 24, 2015 4:45 pm Post subject: |
|
|
ppurka wrote: | Thanks sitquietly. This looks more and more like an ebuild! I made a few corrections that you can see from the diff..... |
I amended the ebuild on the rox-filer-2.11 bug report. Thanks again! |
|
Back to top |
|
|
|