D5250: cursors: Make build scripts more generic; build more sizes

James Lee noreply at phabricator.kde.org
Thu Mar 30 15:17:51 UTC 2017


jamesl marked 2 inline comments as done.
jamesl added a comment.


  @subdiff, can you try running:
  
    LC_ALL=C ./build.sh
  
  If that works I'll update the script.  Otherwise, do you have a better suggestion on how to perform the calculations around line 44:
  
    newxhot=$(printf '%.0f' $(echo "$xhot * $i / $size" | bc -l))
    newyhot=$(printf '%.0f' $(echo "$yhot * $i / $size" | bc -l))
  
  Of course shell built-ins would be preferred/safer, but I think it's important for this number to be rounded rather than truncated.

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D5250

To: jamesl, #plasma
Cc: subdiff, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170330/3fba7e77/attachment-0001.html>


More information about the Plasma-devel mailing list