[Slackbuilds-users] dmenu slackbuild fix

Robby Workman rworkman at slackbuilds.org
Fri Apr 9 17:47:25 UTC 2010


On Fri, 9 Apr 2010 18:26:45 +0200
LEVAI Daniel <leva at ecentrum.hu> wrote:

> 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 fixed it a bit different, but it's done in my local repo.
It will be pushed in the next public update.

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100409/9f18bc55/attachment.asc>


More information about the SlackBuilds-users mailing list