summaryrefslogtreecommitdiff
path: root/sysutils/rox
diff options
context:
space:
mode:
authorrxg <rxg@pkgsrc.org>2006-01-03 15:39:45 +0000
committerrxg <rxg@pkgsrc.org>2006-01-03 15:39:45 +0000
commitddda53290534021d2e5bdc35f1162d52627063bb (patch)
tree7714e21af8f352d6e895acb73b18f41fb6ddf376 /sysutils/rox
parentfa0effb01ce5f02683e9954eb31bf3a89848d8ec (diff)
downloadpkgsrc-ddda53290534021d2e5bdc35f1162d52627063bb.tar.gz
Updated rox to 2.3 & closed pkg/31124.
09-Aug-2005 (Release 2.3) ~~~~~~~~~~~ Opening the menu with the menu key had broken. Also fixed a few minor leaks (Thomas Leonard). 06-Aug-2005 ~~~~~~~~~~~ Updated French manual translation (Arnaud Calvo). Fixed memory leak in new SOAP RPC calls (Thomas Leonard). Provide alternate to_html.xsl file for different location of Docbook stylesheets (Stephen Watson). GTK bug #152151 also causes BadDrawable errors so ignore them as well (Stephen Watson). 04-Aug-2005 ~~~~~~~~~~~ Bugfix: Ultimate++ could crash the filer when its window was iconified (Guido Schimmels). 01-Aug-2005 ~~~~~~~~~~ Updated Dutch translation (Jan Wagemakers). 31-Jul-2005 ~~~~~~~~~~~ Added a button for configuring video thumbnails (with Stephen Watson's VideoThumbnail application) to the Options window (Thomas Leonard). Manual updates. Right-clicking on a launcher button shows available versions (Thomas Leonard). Bugfix: Added some missing gdk_event_free() calls (Thomas Leonard). Bugfix: In vertical ordering mode, the blank space after all the items acted as if there were icons there (reported by Arnaud Calvo). 30-Jul-2005 ~~~~~~~~~~~ Don't abort on BadWindow errors. GTK bug #152151 is still not fixed after nearly a year, so give up trying to fix it and just ignore it (Thomas Leonard). Don't show Help menu item for applications with no Help subdirectory (Thomas Leonard). 29-Jul-2005 ~~~~~~~~~~~ Added option to only show iconified windows belonging to the current workspace (Tom Morton). Added option to allow vertical ordering when laying out the icon view (Piotr Zielinski). 28-Jul-2005 ~~~~~~~~~~~ Updated Dutch translation (Jan Wagemakers). 27-Jul-2005 ~~~~~~~~~~~ Renamed Python MIME icon to keep up with freedesktop.org's current thinking in the endless text vs application war (Thomas Leonard). 26-Jul-2005 ~~~~~~~~~~~ Removed custom platform detection (which was designed to allow a single copy of ROX-Filer to contain binaries for multiple platforms). Let the packaging system deal with it (Thomas Leonard). 25-Jul-2005 ~~~~~~~~~~~ Check for shared-mime-info 0.16 when building (Stephen Watson). 24-Jul-2005 ~~~~~~~~~~~ An executable text file of unknown type is marked as executable if its name doesn't contain a '.'. This is so that 'readme.txt' on a filesystem with all execute bits set is seen as text, but a shell script with no extension or interpreter header still shows up as an executable on Solaris (Thomas Leonard; requested by Stephen Watson). 23-Jul-2005 ~~~~~~~~~~~ Added icon for messages/* MIME types (Thomas Leonard). Improvements for file type guessing (Thomas Leonard): - When getting the type for a symlink, we need the absolute path now that we check file contents. - Also check for extended attributes for the symlink target. - Removed all of our code for guessing types from file names, since it duplicates the new xdgmime code. - Files with control characters are now considered to be binary, even though they may be valid UTF-8. - Executable files of unknown type are now marked as executable, not octet-stream. - When complaining that there is no run action for an executable type, give the user a hint about setting the execute permission. - Refreshing the MIME system also refreshes xdgmime. - Added MIME rules to say that Python, PERL and Ruby are executable, as old versions of the MIME database don't have these rules (reported by Stephen Watson). 22-Jul-2005 ~~~~~~~~~~~ At install time, add a rule to the MIME database that shell scripts are executable, as the defaults are missing this (Thomas Leonard; reported by Stephen Watson). In the properties box, don't say that the run action is executable just because the MIME type is executable. The execute bit must be set too (Thomas Leonard). 21-Jul-2005 ~~~~~~~~~~~ Replaced the text the Options box telling people to download and run MIME-Editor with a button that actually does it (Thomas Leonard). 17-Jul-2005 ~~~~~~~~~~~ Bugfix: Opening a new filer window with a key press warped the pointer to the top-left of the screen (Matthew Weier O'Phinney and Thomas Leonard). 16-Jul-2005 ~~~~~~~~~~~ Detect GCC 4 and disable pointer signedness warnings (Thomas Leonard). Mark files as executable if their MIME type is a subclass of application/x-executable (Thomas Leonard). Removed the option for choosing panel side for -S, since we can use the new method of choosing the panel side indead (Thomas Leonard). Split Mount SOAP operation into separate Mount and Unmount operations (Thomas Leonard). Bugfix: The path entry buffer didn't work in /, due to recent changes (Thomas Leonard). Bugfix: Clicking on a directory which was mounted but shown as unmounted, due to the display being out-of-date, tried to unmount it. (Thomas Leonard, reported by Mephistopheles Jones as bug #1007402). 15-Jul-2005 ~~~~~~~~~~~ Copied xdgmime library into the filer, so we don't need gnomevfs just to do MIME guessing from file contents (Guido Schimmels). 26-Jun-2005 ~~~~~~~~~~~ Renamed the 'ROX Session' section in options to 'Desktop' as it could be used by any session manager (Stephen Watson). 25-Jun-2005 ~~~~~~~~~~~ Panel side is now stored with the panel file, and is reused on start-up if you use --border in place of the old --top, --bottom, --left and --right (which still work). The panel menu has a new 'Panel Options...' choice to let you change which edge to use (Thomas Leonard). 11-Jun-2005 ~~~~~~~~~~~ Updated Chinese translation (Babyfai Cheung). 09-Jun-2005 ~~~~~~~~~~~ Removed AC_PATH_X, which stopped configure working on Mac OS X (Thomas Leonard; reported by Tristan McLeay). We already had AC_PATH_XTRA anyway. 07-Jun-2005 ~~~~~~~~~~~ Add Basque transation (Piarres Beobide). Entering ~ as the first character in the Goto: entry goes to the users home directory (Stephen Watson, suggested by james). Install script now installs MIME run actions into $XDG_CONFIG_HOME (Stephen Watson). 20-May-2005 ~~~~~~~~~~~ Change the way that ROX-Session runs ROX-Filer. It now uses the -S option to open the default Panel and Pinboard, with the configuration of panel and pinboard in ROX-Filer options (Stephen Watson). Fixed error in tooltip in bulk rename box (Vincent Lef\xc3\xa8vre). 13-May-2005 ~~~~~~~~~~~ Type changes for 64-bit compatibility (Tony Houghton). Tests whether dnotify_wakeup_flag is set instead of dnotify_wakeup which is a function address (Tony Houghton). 08-May-2005 ~~~~~~~~~~~ Selecting an entry from the bookmarks menu can open a new window, depending on the mouse button used and the 'New window on button 1' setting (Stephen Watson). 03-May-2005 ~~~~~~~~~~~ World-writable directories can't be app dirs (Thomas Leonard). 02-May-2005 ~~~~~~~~~~~ Updated Chinese translation (Babyfai Cheung). Fixed missing argument in remote.c (P\xc3\xa4r Forsling). 01-May-2005 ~~~~~~~~~~~ When using the drag-and-drop menu, give the choice of creating relative or absolute symlinks. For Ctrl-Shift-Drag, always make relative links rather than absolute ones (Thomas Leonard; requested by Peter Prohaska). 28-Apr-2005 ~~~~~~~~~~~ If we can't find getopt_long, try looking in libgnugetopt (Stephen Watson). 26-Apr-2005 ~~~~~~~~~~~ Bugfix: Broke get_xdg_data_dirs while writing choices_list_xdg_dirs (Stephen Watson, reported by P\xc3\xa4r Forsling). Bugfix: Don't try to move directories that aren't there, but make symbolic links for them anyway (Stephen Watson, reported by Thomas Leonard). Old choices_find_path_load/save now static, use new XDG functions exclusively (Stephen Watson). 25-Apr-2005 ~~~~~~~~~~~ Change over from CHOICESPATH to XDG_CONFIG_HOME and XDG_CONFIG_DIRS (Stephen Watson). 21-Apr-2005 ~~~~~~~~~~~ Try to cope with BadWindow errors (Thomas Leonard; suggested by Kacper Wysock). 17-Apr-2005 ~~~~~~~~~~~ Bugfix: Replacing an existing display settings would erase all the other existing settings (Stephen Watson, reported by Henrik Jacobsson). 16-Apr-2005 ~~~~~~~~~~~ Bugfix: Expired thumbnails were not being purged from the memory cache because of a reference counting issue (Stephen Watson). 14-Apr-2005 ~~~~~~~~~~~ Updated Danish translation (Christian Storgaard). 28-Mar-2005 ~~~~~~~~~~~ Simplify code to set minibuffer text to red on error (Dennis). Also set background to white, in case a theme's colour clashes with red (Thomas Leonard). Make tab completion in the minibuffer case insensitive (Jonatan Liljedahl). 23-Mar-2005 ~~~~~~~~~~~ Option in list view to show the full MIME-Type comment rather than just "File" (Stephen Watson). 12-Mar-2005 ~~~~~~~~~~~ When building the SendTo menu, allow nested subdirectories more than one level deep (Jonatan Liljedahl). Add 'Customise Menu...' to New submenu (Thomas Leonard, suggested by Jesse Wagner). Can specify panel item arguments and short cut when adding via SOAP call (m0n5t3r). Also for pinboard items (and fixed bugs related to pinboard_add_with_args) (Stephen Watson). 28-Feb-2005 ~~~~~~~~~~~ Bugfix: Progress bar for count operation didn't finish when the count did (Stephen Watson, reported by Alexander Wagner). 24-Feb-2005 ~~~~~~~~~~~ Look out for new line character when reading EA MIME type under Solaris (Stephen Watson). 13-Feb-2005 ~~~~~~~~~~~ Added Estonian translation (Teet T\xc3\xa4rno). 12-Feb-2005 ~~~~~~~~~~~ Removed copy of GTK icon theme system. We now depend on GTK 2.4, which includes it (Thomas Leonard). Renamed 'Before' and 'After' in the bulk rename box to 'Old name' and 'New name', as they were causing problems for translators (reported by Yuri Bongiorno). Bugfix: The help for the "Set Type..." box wasn't translated (reported by Yuri Bongiorno). 09-Feb-2005 ~~~~~~~~~~~ Defer re-generating a thumbnail until 5 seconds after the timestamp on the old one (Stephen Watson). Bugfix: A file could be added many times to the thumbnail queue, causing the progress bar to behave strangely (Stephen Watson). More changes for installing onto NFS mounted directory (Stephen Watson). 31-Jan-2005 ~~~~~~~~~~~ Fixed a compiler warning by removing an unnecessary extra tooltips object (Andreas Jochens). 30-Jan-2005 ~~~~~~~~~~~ Updated French translation (Vincent Lef\xc3\xa8vre).
Diffstat (limited to 'sysutils/rox')
-rw-r--r--sysutils/rox/MESSAGE7
-rw-r--r--sysutils/rox/Makefile68
-rw-r--r--sysutils/rox/PLIST17
-rw-r--r--sysutils/rox/distinfo10
-rw-r--r--sysutils/rox/files/rox23
-rw-r--r--sysutils/rox/patches/patch-ab14
-rw-r--r--sysutils/rox/patches/patch-ac13
7 files changed, 54 insertions, 98 deletions
diff --git a/sysutils/rox/MESSAGE b/sysutils/rox/MESSAGE
index 521aa6083b4..e6e148cf2bd 100644
--- a/sysutils/rox/MESSAGE
+++ b/sysutils/rox/MESSAGE
@@ -1,11 +1,10 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.3 2003/05/06 17:42:45 jmmv Exp $
+$NetBSD: MESSAGE,v 1.4 2006/01/03 15:39:45 rxg Exp $
Please note the following when running the rox(1) command that comes with
this package. If the environment variable CHOICESPATH is unset, then the
-package will automatically set up a directory called .RoxChoices in your
-home directory containing defaults from ${PREFIX}/share/rox/Choices and
-will set CHOICESPATH appropriately.
+package will automatically set up a directory called Choices in your home
+directory containing defaults from ${PREFIX}/share/Choices.
Rox applications can be found in ${PREFIX}/share/rox.
diff --git a/sysutils/rox/Makefile b/sysutils/rox/Makefile
index 7babfb9fba8..17610e7b516 100644
--- a/sysutils/rox/Makefile
+++ b/sysutils/rox/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2005/12/31 12:32:45 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2006/01/03 15:39:45 rxg Exp $
#
-DISTNAME= rox-2.2.0
-PKGREVISION= 1
+DISTNAME= rox-2.3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
EXTRACT_SUFX= .tgz
@@ -11,48 +10,55 @@ MAINTAINER= rxg@NetBSD.org
HOMEPAGE= http://rox.sourceforge.net/
COMMENT= RISC OS-like filer for X
-DEPENDS+= shared-mime-info>=0.9:../../databases/shared-mime-info
-
CONFLICTS= rox-base-[0-9]*
-WRKSRC= ${WRKDIR}/${DISTNAME}/ROX-Filer/src
+WRKSRC= ${WRKDIR}/${DISTNAME}
DIST_SUBDIR= rox
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= APP_DIR=${WRKDIR}/${DISTNAME}/ROX-Filer
-CONFIGURE_ARGS+= --enable-rox --with-platform=${OPSYS}-${MACHINE_ARCH}
-INSTALLATION_DIRS= bin libexec/rox man/man1
+INSTALLATION_DIRS= libexec/rox share/Choices share/rox/ROX-Filer
+
+SUBST_CLASSES+= path
+SUBST_MESSAGE.path= "Fixing hardcoded paths."
+SUBST_STAGE.path= post-patch
+SUBST_FILES.path= ROX-Filer/AppRun
+SUBST_FILES.path+= ROX-Filer/src/choices.c
+SUBST_FILES.path+= ROX-Filer/src/type.c
+SUBST_FILES.path+= ROX-Filer/src/xdgmime.c
+SUBST_SED.path= -e 's,/usr/local,${PREFIX},g'
+
+SUBST_CLASSES+= bin
+SUBST_MESSAGE.bin= "Fixing binary path."
+SUBST_STAGE.bin= post-patch
+SUBST_FILES.bin= ROX-Filer/AppRun
+SUBST_SED.bin= -e 's,BIN="$$APP_DIR,BIN="${PREFIX}/libexec/rox,g'
+
+BUILD_TARGET= ROX-Filer
+CONFIGURE_DIRS= ROX-Filer/src
+CONFIGURE_SCRIPT= configure.tmp
post-patch:
- ${SED} -e "s:@PREFIX@:"${PREFIX}":g" < ${FILESDIR}/rox > \
- ${WRKDIR}/${DISTNAME}/rox
+ ${MV} ${WRKSRC}/ROX-Filer/src/configure ${WRKSRC}/ROX-Filer/src/${CONFIGURE_SCRIPT}
post-build:
- ${MV} ${WRKSRC} ${WRKDIR}/${DISTNAME}/src
-
-pre-install:
- ${RM} -f ${WRKDIR}/${DISTNAME}/ROX-Filer/AppRun.orig
- ${RM} -rf ${WRKSRC}
+ @${ECHO} "#!/bin/sh" >> ${WRKDIR}/rox
+ @${ECHO} "${PREFIX}/share/rox/ROX-Filer/AppRun \"$$""@\"" >> ${WRKDIR}/rox
do-install:
- ${INSTALL_PROGRAM_DIR} ${PREFIX}/libexec/rox
- ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/src/ROX-Filer \
- ${PREFIX}/libexec/rox
- ${INSTALL_DATA_DIR} ${PREFIX}/share/rox/Choices/MIME-types
- ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/Choices/MIME-types/* \
- ${PREFIX}/share/rox/Choices/MIME-types
- ${INSTALL_DATA_DIR} ${PREFIX}/share/rox/ROX-Filer
- cd ${WRKDIR}/${DISTNAME}/ROX-Filer && ${PAX} -rw . ${PREFIX}/share/rox/ROX-Filer
- ${SED} -e "s:@PREFIX@:"${PREFIX}":g" < \
- ${WRKDIR}/${DISTNAME}/ROX-Filer/AppRun > \
- ${PREFIX}/share/rox/ROX-Filer/AppRun
- ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/rox ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/rox.1 ${PREFIX}/man/man1
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/rox.xml \
- ${PREFIX}/share/mime/packages
+ ${INSTALL_PROGRAM} ${WRKSRC}/ROX-Filer/ROX-Filer ${PREFIX}/libexec/rox
+ cd ${WRKSRC}/Choices && ${PAX} -rw . ${PREFIX}/share/Choices
+ cd ${WRKSRC}/ROX-Filer && ${PAX} -rw \
+ -s ',^\./ROX-Filer$$,,' -s ',^\./ROX-Filer/.*,,' \
+ -s ',^\./ROX-Filer.dbg$$,,' -s ',^\./ROX-Filer.dbg/.*,,'\
+ -s ',^\./src$$,,' -s ',^\./src/.*,,' \
+ . ${PREFIX}/share/rox/ROX-Filer
+ ${INSTALL_MAN} ${WRKSRC}/rox.1 ${PREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/rox.xml ${PREFIX}/share/mime/packages
+ ${INSTALL_SCRIPT} ${WRKDIR}/rox ${PREFIX}/bin
+.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../sysutils/gnome-vfs2/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
diff --git a/sysutils/rox/PLIST b/sysutils/rox/PLIST
index 5b408074bed..d93c39d530a 100644
--- a/sysutils/rox/PLIST
+++ b/sysutils/rox/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2005/03/23 10:07:34 rxg Exp $
+@comment $NetBSD: PLIST,v 1.5 2006/01/03 15:39:45 rxg Exp $
bin/rox
libexec/rox/ROX-Filer
man/man1/rox.1
+share/Choices/MIME-types/application_postscript
+share/Choices/MIME-types/text
+share/Choices/MIME-types/text_html
share/mime/packages/rox.xml
-share/rox/Choices/MIME-types/application_postscript
-share/rox/Choices/MIME-types/text
-share/rox/Choices/MIME-types/text_html
share/rox/ROX-Filer/.DirIcon
share/rox/ROX-Filer/AppInfo.xml
share/rox/ROX-Filer/AppRun
@@ -22,6 +22,8 @@ share/rox/ROX-Filer/Messages/cs.gmo
share/rox/ROX-Filer/Messages/da.gmo
share/rox/ROX-Filer/Messages/de.gmo
share/rox/ROX-Filer/Messages/es.gmo
+share/rox/ROX-Filer/Messages/et_EE.gmo
+share/rox/ROX-Filer/Messages/eu.gmo
share/rox/ROX-Filer/Messages/fi.gmo
share/rox/ROX-Filer/Messages/fr.gmo
share/rox/ROX-Filer/Messages/hu.gmo
@@ -81,7 +83,6 @@ share/rox/ROX-Filer/ROX/MIME/mime-application:x-java.png
share/rox/ROX-Filer/ROX/MIME/mime-application:x-lyx.png
share/rox/ROX-Filer/ROX/MIME/mime-application:x-object.png
share/rox/ROX-Filer/ROX/MIME/mime-application:x-perl.png
-share/rox/ROX-Filer/ROX/MIME/mime-application:x-python.png
share/rox/ROX-Filer/ROX/MIME/mime-application:x-rpm.png
share/rox/ROX-Filer/ROX/MIME/mime-application:x-sharedlib.png
share/rox/ROX-Filer/ROX/MIME/mime-application:x-shellscript.png
@@ -111,6 +112,7 @@ share/rox/ROX-Filer/ROX/MIME/mime-inode:directory.png
share/rox/ROX-Filer/ROX/MIME/mime-inode:fifo.png
share/rox/ROX-Filer/ROX/MIME/mime-inode:mount-point.png
share/rox/ROX-Filer/ROX/MIME/mime-inode:socket.png
+share/rox/ROX-Filer/ROX/MIME/mime-message.png
share/rox/ROX-Filer/ROX/MIME/mime-text.png
share/rox/ROX-Filer/ROX/MIME/mime-text:html.png
share/rox/ROX-Filer/ROX/MIME/mime-text:x-c++src.png
@@ -119,6 +121,7 @@ share/rox/ROX-Filer/ROX/MIME/mime-text:x-csrc.png
share/rox/ROX-Filer/ROX/MIME/mime-text:x-diff.png
share/rox/ROX-Filer/ROX/MIME/mime-text:x-java.png
share/rox/ROX-Filer/ROX/MIME/mime-text:x-makefile.png
+share/rox/ROX-Filer/ROX/MIME/mime-text:x-python.png
share/rox/ROX-Filer/ROX/MIME/mime-text:x-tcl.png
share/rox/ROX-Filer/ROX/MIME/mime-text:x-tex.png
share/rox/ROX-Filer/ROX/MIME/mime-text:xml.png
@@ -143,7 +146,7 @@ share/rox/ROX-Filer/style.css
@dirrm share/rox/ROX-Filer/Messages
@dirrm share/rox/ROX-Filer/Help
@dirrm share/rox/ROX-Filer
-@dirrm share/rox/Choices/MIME-types
-@dirrm share/rox/Choices
@dirrm share/rox
+@dirrm share/Choices/MIME-types
+@dirrm share/Choices
@dirrm libexec/rox
diff --git a/sysutils/rox/distinfo b/sysutils/rox/distinfo
index 7443ad26d08..98ebf052869 100644
--- a/sysutils/rox/distinfo
+++ b/sysutils/rox/distinfo
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.5 2005/03/23 10:07:34 rxg Exp $
+$NetBSD: distinfo,v 1.6 2006/01/03 15:39:45 rxg Exp $
-SHA1 (rox/rox-2.2.0.tgz) = 1653a11058eed9858bfd828392e9329c0ac39104
-RMD160 (rox/rox-2.2.0.tgz) = 6fe46202ddd3f04c07a0eaaabde88eb776c535dd
-Size (rox/rox-2.2.0.tgz) = 2033724 bytes
-SHA1 (patch-ab) = 031663340d6f0b780f031715b733b33586df9bbe
-SHA1 (patch-ac) = e159de7b7cbd5d15a80da4b3661538e87af7a7b8
+SHA1 (rox/rox-2.3.tgz) = 44a2879d77bb101cbe29d6a372a45b7acfbc3d53
+RMD160 (rox/rox-2.3.tgz) = 073227bf60046e325e6b414c19db62fa1be3d43d
+Size (rox/rox-2.3.tgz) = 2246715 bytes
diff --git a/sysutils/rox/files/rox b/sysutils/rox/files/rox
deleted file mode 100644
index 5985612ee8a..00000000000
--- a/sysutils/rox/files/rox
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: rox,v 1.3 2005/03/23 10:07:34 rxg Exp $
-#
-
-# The user's Choices directory
-ROX_CHOICES_DIR="$HOME/.RoxChoices"
-
-#
-# If CHOICESPATH is not set, then check to see whether the user has
-# a $ROX_CHOICES_DIR directory. If they haven't, set one up.
-#
-if [ -z "$CHOICESPATH" ]; then
- [ ! -d "$ROX_CHOICES_DIR" ] && \
- cp -R @PREFIX@/share/rox/Choices "$ROX_CHOICES_DIR";
- export CHOICESPATH="$ROX_CHOICES_DIR";
-fi
-
-# The shared-mime-info directory
-export XDG_DATA_DIRS=@PREFIX@/share
-
-# Run the ROX-Filer application
-exec @PREFIX@/share/rox/ROX-Filer/AppRun "$@"
diff --git a/sysutils/rox/patches/patch-ab b/sysutils/rox/patches/patch-ab
deleted file mode 100644
index d0b457a6ea2..00000000000
--- a/sysutils/rox/patches/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/23 10:07:34 rxg Exp $
-
---- Makefile.in.orig 2005-03-11 11:12:38.000000000 +0800
-+++ Makefile.in
-@@ -42,6 +42,9 @@ OBJECTS = abox.o action.o appinfo.o appm
-
- ############ Things to keep the same
-
-+all: ${OBJECTS}
-+ ${CC} -o ${PROG} ${OBJECTS} ${LDFLAGS}
-+
- ${PROG}: ${OBJECTS}
- ${CC} -o "${PROG}" ${OBJECTS} ${LDFLAGS}
- [ -d "${PLATFORM_DIR}" ] || mkdir "${PLATFORM_DIR}"
diff --git a/sysutils/rox/patches/patch-ac b/sysutils/rox/patches/patch-ac
deleted file mode 100644
index 841c140f979..00000000000
--- a/sysutils/rox/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2005/03/23 10:07:34 rxg Exp $
-
---- ../AppRun.orig 2005-03-11 11:27:22.000000000 +0800
-+++ ../AppRun
-@@ -60,7 +60,7 @@ if [ -z "$XDG_DATA_DIRS" -a -d /uri/0ins
- export XDG_DATA_DIRS
- fi
-
--BIN="$APP_DIR/$PLATFORM/$PROG"
-+BIN="@PREFIX@/libexec/rox/$PROG"
-
- if [ -x "$BIN" ]; then
- exec $DEBUGGER "$BIN" $DEBUG_OPTIONS "$@"