[Slackbuilds-users] dmenu slackbuild fix

LEVAI Daniel leva at ecentrum.hu
Fri Apr 9 16:26:45 UTC 2010


Hi!

The dmenu package's slackbuild doesn't work because of the too subtle
way of trying to strip the binary.

This diff below helps. Please update, thanks.

--- dmenu.SlackBuild.orig 2009-08-27 23:24:35.000000000 +0200
+++ dmenu.SlackBuild  2010-04-06 19:35:46.636107375 +0200
@@ -73,11 +73,7 @@
   DESTDIR=$PKG
 
 
-( find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
-    xargs strip --strip-unneeded 2> /dev/null || true
-  find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
-    xargs strip --strip-unneeded 2> /dev/null
-)
+strip --strip-unneeded $PKG/usr/bin/dmenu
 
 ( cd $PKG/usr/man
   find . -type f -exec gzip -9 {} \;



--------------------------------------------------------------
I've sent the above message to the Maintainer, but got no response.
Is it okay to fix this?


Dani

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100409/a996adce/attachment.sig>


More information about the SlackBuilds-users mailing list