Date: Thu, 15 Oct 2009 15:23:16 GMT From: Kris Moore <kmoore@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/139647: x11-fm/rox-filer and related ports don't work under alternative LOCALBASE Message-ID: <200910151523.n9FFNGgw049454@www.freebsd.org> Resent-Message-ID: <200910151530.n9FFU1oC007047@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 139647 >Category: ports >Synopsis: x11-fm/rox-filer and related ports don't work under alternative LOCALBASE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 15 15:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Kris Moore >Release: FreeBSD 7.2 >Organization: PC-BSD Software >Environment: FreeBSD pcbsd 7.2-STABLE FreeBSD 7.2-STABLE #3: Mon Oct 5 10:30:23 EDT 2009 kris@pcbsd:/usr/obj/usr/src/sys/PCBSD.i386 i386 >Description: The rox-filer, rox-archive, rox-edit, rox-memo, rox-mime-editor, rox-session, rox-videothumbnail, rox-wallpaper ports all don't properly change from /usr/local to a different LOCALBASE. I've attached a .shar archive of all the patch files for these ports, which correct this issue, and seem to work just fine here. Thanks! >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # rox-archive.patch # rox-edit.patch # rox-filer.patch # rox-memo.patch # rox-mime-editor.patch # rox-patches.shar # rox-session.patch # rox-videothumbnail.patch # rox-wallpaper.patch # echo x - rox-archive.patch sed 's/^X//' >rox-archive.patch << '61a89aefd779a678a2b64b16080e63e7' X--- rox-archive/Makefile.orig 2009-10-15 14:23:35.000000000 +0000 X+++ rox-archive/Makefile 2009-10-15 14:24:00.000000000 +0000 X@@ -27,6 +27,11 @@ X @${PYTHON_CMD} -m compileall ${WRKSRC} X @${PYTHON_CMD} -O -m compileall ${WRKSRC} X X+pre-install: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${WRKSRC}/Archive/findrox.py X+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} X+ X do-install: X @${MKDIR} ${PREFIX}/apps X @${CP} -r ${WRKSRC}/Archive ${PREFIX}/apps/ 61a89aefd779a678a2b64b16080e63e7 echo x - rox-edit.patch sed 's/^X//' >rox-edit.patch << '48f5f8f9b77e4ed419a7c555f286afd9' X--- rox-edit/Makefile.orig 2009-10-15 14:21:05.000000000 +0000 X+++ rox-edit/Makefile 2009-10-15 14:21:40.000000000 +0000 X@@ -28,6 +28,11 @@ X @${PYTHON_CMD} -m compileall ${WRKSRC} X @${PYTHON_CMD} -O -m compileall ${WRKSRC} X X+pre-install: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${WRKSRC}/Edit/findrox.py X+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} X+ X do-install: X @${MKDIR} ${PREFIX}/apps X @${CP} -r ${WRKSRC}/Edit ${PREFIX}/apps/ 48f5f8f9b77e4ed419a7c555f286afd9 echo x - rox-filer.patch sed 's/^X//' >rox-filer.patch << 'ca096aca31c365ba786f558a3a8a5acc' X--- rox-filer/Makefile.orig 2009-10-15 14:12:05.000000000 +0000 X+++ rox-filer/Makefile 2009-10-15 14:16:52.000000000 +0000 X@@ -34,6 +34,15 @@ X BUILD_WRKSRC= ${CONFIGURE_WRKSRC} X ALL_TARGET= X X+post-configure: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${CONFIGURE_WRKSRC}/configure \ X+ ${CONFIGURE_WRKSRC}/choices.c \ X+ ${CONFIGURE_WRKSRC}/support.c \ X+ ${CONFIGURE_WRKSRC}/type.c \ X+ ${CONFIGURE_WRKSRC}/usericons.c \ X+ ${CONFIGURE_WRKSRC}/xdgmime.c X+ X do-install: X @${MKDIR} ${PREFIX}/apps/ROX-Filer X @cd ${WRKSRC}/ROX-Filer && ${CP} -r .DirIcon AppInfo.xml AppRun Help Messages Options.xml ROX ROX-Filer images style.css Templates.glade subclasses ${PREFIX}/apps/ROX-Filer ca096aca31c365ba786f558a3a8a5acc echo x - rox-memo.patch sed 's/^X//' >rox-memo.patch << '28ea9d9765e914a15be1fa57c98f29fc' X--- rox-memo/Makefile.orig 2009-10-15 14:27:10.000000000 +0000 X+++ rox-memo/Makefile 2009-10-15 14:27:49.000000000 +0000 X@@ -25,6 +25,11 @@ X @${PYTHON_CMD} -m compileall ${WRKSRC} X @${PYTHON_CMD} -O -m compileall ${WRKSRC} X X+pre-install: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${WRKSRC}/Memo/findrox.py X+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} X+ X do-install: X @${MKDIR} ${PREFIX}/apps X @${CP} -r ${WRKSRC}/Memo ${PREFIX}/apps/ 28ea9d9765e914a15be1fa57c98f29fc echo x - rox-mime-editor.patch sed 's/^X//' >rox-mime-editor.patch << '2df207fda5e478fc49e794ac07f35cf5' X--- rox-mime-editor/Makefile.orig 2009-08-22 00:39:16.000000000 +0000 X+++ rox-mime-editor/Makefile 2009-10-15 14:06:56.000000000 +0000 X@@ -25,6 +25,11 @@ X @${PYTHON_CMD} -m compileall ${WRKSRC} X @${PYTHON_CMD} -O -m compileall ${WRKSRC} X X+pre-install: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${WRKSRC}/MIME-Editor/findrox.py X+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} X+ X do-install: X @${MKDIR} ${PREFIX}/apps X @${CP} -r ${WRKSRC}/MIME-Editor ${PREFIX}/apps/ 2df207fda5e478fc49e794ac07f35cf5 echo x - rox-patches.shar sed 's/^X//' >rox-patches.shar << '13a294a61107e3a8b277259a9e25bd6d' X# This is a shell archive. Save it in a file, remove anything before X# this line, and then unpack it by entering "sh file". Note, it may X# create directories; files and directories will be owned by you and X# have default permissions. X# X# This archive contains: X# X# rox-archive.patch X# rox-edit.patch X# rox-filer.patch X# rox-memo.patch X# rox-mime-editor.patch X# rox-patches.shar X# rox-session.patch X# rox-videothumbnail.patch X# rox-wallpaper.patch X# Xecho x - rox-archive.patch Xsed 's/^X//' >rox-archive.patch << '61a89aefd779a678a2b64b16080e63e7' XX--- rox-archive/Makefile.orig 2009-10-15 14:23:35.000000000 +0000 XX+++ rox-archive/Makefile 2009-10-15 14:24:00.000000000 +0000 XX@@ -27,6 +27,11 @@ XX @${PYTHON_CMD} -m compileall ${WRKSRC} XX @${PYTHON_CMD} -O -m compileall ${WRKSRC} XX XX+pre-install: XX+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ XX+ ${WRKSRC}/Archive/findrox.py XX+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} XX+ XX do-install: XX @${MKDIR} ${PREFIX}/apps XX @${CP} -r ${WRKSRC}/Archive ${PREFIX}/apps/ X61a89aefd779a678a2b64b16080e63e7 Xecho x - rox-edit.patch Xsed 's/^X//' >rox-edit.patch << '48f5f8f9b77e4ed419a7c555f286afd9' XX--- rox-edit/Makefile.orig 2009-10-15 14:21:05.000000000 +0000 XX+++ rox-edit/Makefile 2009-10-15 14:21:40.000000000 +0000 XX@@ -28,6 +28,11 @@ XX @${PYTHON_CMD} -m compileall ${WRKSRC} XX @${PYTHON_CMD} -O -m compileall ${WRKSRC} XX XX+pre-install: XX+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ XX+ ${WRKSRC}/Edit/findrox.py XX+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} XX+ XX do-install: XX @${MKDIR} ${PREFIX}/apps XX @${CP} -r ${WRKSRC}/Edit ${PREFIX}/apps/ X48f5f8f9b77e4ed419a7c555f286afd9 Xecho x - rox-filer.patch Xsed 's/^X//' >rox-filer.patch << 'ca096aca31c365ba786f558a3a8a5acc' XX--- rox-filer/Makefile.orig 2009-10-15 14:12:05.000000000 +0000 XX+++ rox-filer/Makefile 2009-10-15 14:16:52.000000000 +0000 XX@@ -34,6 +34,15 @@ XX BUILD_WRKSRC= ${CONFIGURE_WRKSRC} XX ALL_TARGET= XX XX+post-configure: XX+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ XX+ ${CONFIGURE_WRKSRC}/configure \ XX+ ${CONFIGURE_WRKSRC}/choices.c \ XX+ ${CONFIGURE_WRKSRC}/support.c \ XX+ ${CONFIGURE_WRKSRC}/type.c \ XX+ ${CONFIGURE_WRKSRC}/usericons.c \ XX+ ${CONFIGURE_WRKSRC}/xdgmime.c XX+ XX do-install: XX @${MKDIR} ${PREFIX}/apps/ROX-Filer XX @cd ${WRKSRC}/ROX-Filer && ${CP} -r .DirIcon AppInfo.xml AppRun Help Messages Options.xml ROX ROX-Filer images style.css Templates.glade subclasses ${PREFIX}/apps/ROX-Filer Xca096aca31c365ba786f558a3a8a5acc Xecho x - rox-memo.patch Xsed 's/^X//' >rox-memo.patch << '28ea9d9765e914a15be1fa57c98f29fc' XX--- rox-memo/Makefile.orig 2009-10-15 14:27:10.000000000 +0000 XX+++ rox-memo/Makefile 2009-10-15 14:27:49.000000000 +0000 XX@@ -25,6 +25,11 @@ XX @${PYTHON_CMD} -m compileall ${WRKSRC} XX @${PYTHON_CMD} -O -m compileall ${WRKSRC} XX XX+pre-install: XX+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ XX+ ${WRKSRC}/Memo/findrox.py XX+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} XX+ XX do-install: XX @${MKDIR} ${PREFIX}/apps XX @${CP} -r ${WRKSRC}/Memo ${PREFIX}/apps/ X28ea9d9765e914a15be1fa57c98f29fc Xecho x - rox-mime-editor.patch Xsed 's/^X//' >rox-mime-editor.patch << '2df207fda5e478fc49e794ac07f35cf5' XX--- rox-mime-editor/Makefile.orig 2009-08-22 00:39:16.000000000 +0000 XX+++ rox-mime-editor/Makefile 2009-10-15 14:06:56.000000000 +0000 XX@@ -25,6 +25,11 @@ XX @${PYTHON_CMD} -m compileall ${WRKSRC} XX @${PYTHON_CMD} -O -m compileall ${WRKSRC} XX XX+pre-install: XX+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ XX+ ${WRKSRC}/MIME-Editor/findrox.py XX+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} XX+ XX do-install: XX @${MKDIR} ${PREFIX}/apps XX @${CP} -r ${WRKSRC}/MIME-Editor ${PREFIX}/apps/ X2df207fda5e478fc49e794ac07f35cf5 Xecho x - rox-patches.shar Xsed 's/^X//' >rox-patches.shar << '13a294a61107e3a8b277259a9e25bd6d' 13a294a61107e3a8b277259a9e25bd6d echo x - rox-session.patch sed 's/^X//' >rox-session.patch << '3cd978d08f20e6699657edbf4d4587bf' X--- rox-session/Makefile.orig 2009-10-15 13:40:20.000000000 +0000 X+++ rox-session/Makefile 2009-10-15 13:53:38.000000000 +0000 X@@ -42,6 +42,14 @@ X @${PYTHON_CMD} -m compileall ${WRKSRC} X @${PYTHON_CMD} -O -m compileall ${WRKSRC} X X+pre-install: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${WRKSRC}/ROX-Session/Login \ X+ ${WRKSRC}/ROX-Session/findrox.py \ X+ ${WRKSRC}/ROX-Session/setup.py X+ @${FIND} ${WRKSRC} -name *.orig | ${XARGS} ${RM} X+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} X+ X do-install: X @${MKDIR} ${PREFIX}/apps X @${CP} -r ${WRKSRC}/ROX-Session ${PREFIX}/apps/ 3cd978d08f20e6699657edbf4d4587bf echo x - rox-videothumbnail.patch sed 's/^X//' >rox-videothumbnail.patch << 'c935a3a8011e312fee1b989d08bde116' X--- rox-videothumbnail/Makefile.orig 2009-10-15 14:25:15.000000000 +0000 X+++ rox-videothumbnail/Makefile 2009-10-15 14:25:50.000000000 +0000 X@@ -25,6 +25,11 @@ X @${PYTHON_CMD} -m compileall ${WRKSRC} X @${PYTHON_CMD} -O -m compileall ${WRKSRC} X X+pre-install: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${WRKSRC}/findrox.py X+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} X+ X do-install: X @${MKDIR} ${PREFIX}/apps X @${CP} -r ${WRKSRC} ${PREFIX}/apps/ c935a3a8011e312fee1b989d08bde116 echo x - rox-wallpaper.patch sed 's/^X//' >rox-wallpaper.patch << 'a2eac25ecbde88e6e3520f2f6b3618c8' X--- rox-wallpaper/Makefile.orig 2009-10-15 14:29:01.000000000 +0000 X+++ rox-wallpaper/Makefile 2009-10-15 14:29:34.000000000 +0000 X@@ -25,6 +25,11 @@ X @${PYTHON_CMD} -m compileall ${WRKSRC} X @${PYTHON_CMD} -O -m compileall ${WRKSRC} X X+pre-install: X+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ X+ ${WRKSRC}/Wallpaper/findrox.py X+ @${FIND} ${WRKSRC} -name *.bak | ${XARGS} ${RM} X+ X do-install: X @${MKDIR} ${PREFIX}/apps X @${CP} -r ${WRKSRC}/Wallpaper ${PREFIX}/apps/ a2eac25ecbde88e6e3520f2f6b3618c8 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910151523.n9FFNGgw049454>