First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97961
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gnustep herd <gnustep@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Georgi Georgiev <chutz@gg3.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97961 depends on: Show dependency tree
Bug 97961 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-04 23:25 0000
There are a couple of sed-s in the windowmaker ebuilds that are a bit hard to
read. They have a lot of "\/" which could easily be avoided by using a
different separator.

Also a lib should become $(get_libdir) in one of the seds. Please consider the
following patch:

@@ -92,20 +119,23 @@   
        for file in ${S}/WindowMaker/*menu*; do
                if [ -r $file ]; then
                        if use gnustep ; then
-                               sed -e "s/\/usr\/local\/GNUstep/`cat
${TMP}/sed.gs_prefix`System/g;
-                                       s/XXX_SED_FSLASH/\//g;" < $file >
$file.tmp
+                               sed -e "s:/usr/local/GNUstep:`cat
${TMP}/sed.gs_prefix`System:g;" \
+                                       -e "s:XXX_SED_FSLASH:/:g;" < $file >
$file.tmp
                        else
-                               sed -e
's/\/usr\/local\/GNUstep/\/usr\/lib\/GNUstep/g;' < $file > $file.tmp
+                               sed -e
"s:/usr/local/GNUstep:/usr/$(get_libdir)/GNUstep:g;" < $file > $file.tmp
                        fi
                        mv $file.tmp $file;

-                       sed -e
's/\/usr\/local\/share\/WindowMaker/\/usr\/share\/WindowMaker/g;' < $file >
$file.tmp;
+                       sed -e
's:/usr/local/share/WindowMaker:/usr/share/WindowMaker:g;' < $file > $file.tmp;
                        mv $file.tmp $file;
                fi;
        done;

------- Comment #1 From Armando Di Cianno (RETIRED) 2005-07-06 16:09:08 0000 -------
thanks for the cleanup ... it is about 100x nicer with the different seperators
:-)

fixes in portage

First Last Prev Next    No search results available      Search page      Enter new bug