Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

patch

By: a guest on Jul 17th, 2012  |  syntax: None  |  size: 1.30 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Naur rekonq/CMakeLists.txt rekonq-fix/CMakeLists.txt
  2. --- rekonq/CMakeLists.txt       2012-07-17 13:21:50.898587038 +0700
  3. +++ rekonq-fix/CMakeLists.txt   2012-07-17 13:34:32.365301802 +0700
  4. @@ -186,6 +186,7 @@
  5.      ADD_SUBDIRECTORY( icons )
  6.      ADD_SUBDIRECTORY( kwebapp )
  7.      ADD_SUBDIRECTORY( doc )
  8. +    ADD_SUBDIRECTORY( i18n )
  9.  
  10.  ENDIF(REKONQ_CAN_BE_COMPILED)
  11.  
  12. diff -Naur rekonq/scripts/download_i18n.sh rekonq-fix/scripts/download_i18n.sh
  13. --- rekonq/scripts/download_i18n.sh     2012-07-17 13:21:50.948587042 +0700
  14. +++ rekonq-fix/scripts/download_i18n.sh 2012-07-17 13:36:51.598643930 +0700
  15. @@ -17,7 +17,7 @@
  16.  # 2. run this script. It will create an i18n dir in rekonq sources ($RK_SRCS variable, set it to your source path)
  17.  # dir with all the listed translations (eg: italian translation = rekonq_it.po file)
  18.  # plus the CMakeLists.txt file needed to compile them.
  19. -RK_SRCS=/DATI/KDE/SRC/rekonq
  20. +#RK_SRCS=/DATI/KDE/SRC/rekonq
  21.  
  22.  # 3. Uncomment the "ADD_SUBDIRECTORY( i18n )" line in main CMakeLists.txt file.
  23.  
  24. @@ -57,6 +57,10 @@
  25.          FUZZ=${FUZZ:-0}
  26.          UNTR=$(echo $STATS | awk '{print $7}')
  27.          UNTR=${UNTR:-0}
  28. +        
  29. +        if ! [[ "$UNTR" =~ ^[0-9]+$ ]] ; then
  30. +            UNTR=0
  31. +        fi
  32.  
  33.          # check if perc is more than 80%
  34.          TOT=$[$TRANS+$FUZZ+$UNTR]
clone this paste RAW Paste Data