geogebra-fix-install.sh.patch 8.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --- install.sh 2012-06-04 17:14:09.129571330 +0200
  2. +++ install.sh 2012-06-04 17:11:58.588706799 +0200
  3. @@ -2,41 +2,41 @@
  4. # simple ./install-sh script that copies everything to the right place
  5. # create all needed directories
  6. -./install-sh -d -m 755 /usr/share/geogebra/unsigned
  7. -./install-sh -d -m 755 /usr/share/icons/hicolor/16x16/apps /usr/share/icons/hicolor/22x22/apps /usr/share/icons/hicolor/24x24/apps /usr/share/icons/hicolor/32x32/apps /usr/share/icons/hicolor/36x36/apps /usr/share/icons/hicolor/48x48/apps /usr/share/icons/hicolor/64x64/apps /usr/share/icons/hicolor/72x72/apps /usr/share/icons/hicolor/96x96/apps /usr/share/icons/hicolor/128x128/apps /usr/share/icons/hicolor/192x192/apps /usr/share/icons/hicolor/256x256/apps /usr/share/icons/hicolor/scalable/apps
  8. -./install-sh -d -m 755 /usr/share/icons/hicolor/16x16/mimetypes /usr/share/icons/hicolor/22x22/mimetypes /usr/share/icons/hicolor/24x24/mimetypes /usr/share/icons/hicolor/32x32/mimetypes /usr/share/icons/hicolor/36x36/mimetypes /usr/share/icons/hicolor/48x48/mimetypes /usr/share/icons/hicolor/64x64/mimetypes /usr/share/icons/hicolor/72x72/mimetypes /usr/share/icons/hicolor/96x96/mimetypes /usr/share/icons/hicolor/128x128/mimetypes /usr/share/icons/hicolor/192x192/mimetypes /usr/share/icons/hicolor/256x256/mimetypes /usr/share/icons/hicolor/scalable/mimetypes
  9. +./install-sh -d -m 755 ${D}/usr/share/geogebra/unsigned
  10. +./install-sh -d -m 755 ${D}/usr/share/icons/hicolor/16x16/apps ${D}/usr/share/icons/hicolor/22x22/apps ${D}/usr/share/icons/hicolor/24x24/apps ${D}/usr/share/icons/hicolor/32x32/apps ${D}/usr/share/icons/hicolor/36x36/apps ${D}/usr/share/icons/hicolor/48x48/apps ${D}/usr/share/icons/hicolor/64x64/apps ${D}/usr/share/icons/hicolor/72x72/apps ${D}/usr/share/icons/hicolor/96x96/apps ${D}/usr/share/icons/hicolor/128x128/apps ${D}/usr/share/icons/hicolor/192x192/apps ${D}/usr/share/icons/hicolor/256x256/apps ${D}/usr/share/icons/hicolor/scalable/apps
  11. +./install-sh -d -m 755 ${D}/usr/share/icons/hicolor/16x16/mimetypes ${D}/usr/share/icons/hicolor/22x22/mimetypes ${D}/usr/share/icons/hicolor/24x24/mimetypes ${D}/usr/share/icons/hicolor/32x32/mimetypes ${D}/usr/share/icons/hicolor/36x36/mimetypes ${D}/usr/share/icons/hicolor/48x48/mimetypes ${D}/usr/share/icons/hicolor/64x64/mimetypes ${D}/usr/share/icons/hicolor/72x72/mimetypes ${D}/usr/share/icons/hicolor/96x96/mimetypes ${D}/usr/share/icons/hicolor/128x128/mimetypes ${D}/usr/share/icons/hicolor/192x192/mimetypes ${D}/usr/share/icons/hicolor/256x256/mimetypes ${D}/usr/share/icons/hicolor/scalable/mimetypes
  12. # ./install-sh files
  13. -./install-sh -m 644 *.jar /usr/share/geogebra
  14. -./install-sh -m 644 unsigned/*.jar /usr/share/geogebra/unsigned
  15. -./install-sh -m 755 geogebra /usr/bin
  16. -./install-sh -m 644 geogebra.xml /usr/share/mime/packages
  17. -./install-sh -m 644 geogebra.desktop /usr/share/applications
  18. +./install-sh -m 644 *.jar ${D}/usr/share/geogebra
  19. +./install-sh -m 644 unsigned/*.jar ${D}/usr/share/geogebra/unsigned
  20. +./install-sh -m 755 geogebra ${D}/usr/bin/geogebra
  21. +./install-sh -m 644 geogebra.xml ${D}/usr/share/mime/packages/gegebra.xml
  22. +./install-sh -m 644 geogebra.desktop ${D}/usr/share/applications/geogebra.desktop
  23. -./install-sh -m 644 icons/hicolor/16x16/apps/geogebra.png /usr/share/icons/hicolor/16x16/apps
  24. -./install-sh -m 644 icons/hicolor/22x22/apps/geogebra.png /usr/share/icons/hicolor/22x22/apps
  25. -./install-sh -m 644 icons/hicolor/24x24/apps/geogebra.png /usr/share/icons/hicolor/24x24/apps
  26. -./install-sh -m 644 icons/hicolor/32x32/apps/geogebra.png /usr/share/icons/hicolor/32x32/apps
  27. -./install-sh -m 644 icons/hicolor/36x36/apps/geogebra.png /usr/share/icons/hicolor/36x36/apps
  28. -./install-sh -m 644 icons/hicolor/48x48/apps/geogebra.png /usr/share/icons/hicolor/48x48/apps
  29. -./install-sh -m 644 icons/hicolor/64x64/apps/geogebra.png /usr/share/icons/hicolor/64x64/apps
  30. -./install-sh -m 644 icons/hicolor/72x72/apps/geogebra.png /usr/share/icons/hicolor/72x72/apps
  31. -./install-sh -m 644 icons/hicolor/96x96/apps/geogebra.png /usr/share/icons/hicolor/96x96/apps
  32. -./install-sh -m 644 icons/hicolor/128x128/apps/geogebra.png /usr/share/icons/hicolor/128x128/apps
  33. -./install-sh -m 644 icons/hicolor/192x192/apps/geogebra.png /usr/share/icons/hicolor/192x192/apps
  34. -./install-sh -m 644 icons/hicolor/256x256/apps/geogebra.png /usr/share/icons/hicolor/256x256/apps
  35. -./install-sh -m 644 icons/hicolor/scalable/apps/geogebra.svgz /usr/share/icons/hicolor/scalable/apps
  36. +./install-sh -m 644 icons/hicolor/16x16/apps/geogebra.png ${D}/usr/share/icons/hicolor/16x16/apps
  37. +./install-sh -m 644 icons/hicolor/22x22/apps/geogebra.png ${D}/usr/share/icons/hicolor/22x22/apps
  38. +./install-sh -m 644 icons/hicolor/24x24/apps/geogebra.png ${D}/usr/share/icons/hicolor/24x24/apps
  39. +./install-sh -m 644 icons/hicolor/32x32/apps/geogebra.png ${D}/usr/share/icons/hicolor/32x32/apps
  40. +./install-sh -m 644 icons/hicolor/36x36/apps/geogebra.png ${D}/usr/share/icons/hicolor/36x36/apps
  41. +./install-sh -m 644 icons/hicolor/48x48/apps/geogebra.png ${D}/usr/share/icons/hicolor/48x48/apps
  42. +./install-sh -m 644 icons/hicolor/64x64/apps/geogebra.png ${D}/usr/share/icons/hicolor/64x64/apps
  43. +./install-sh -m 644 icons/hicolor/72x72/apps/geogebra.png ${D}/usr/share/icons/hicolor/72x72/apps
  44. +./install-sh -m 644 icons/hicolor/96x96/apps/geogebra.png ${D}/usr/share/icons/hicolor/96x96/apps
  45. +./install-sh -m 644 icons/hicolor/128x128/apps/geogebra.png ${D}/usr/share/icons/hicolor/128x128/apps
  46. +./install-sh -m 644 icons/hicolor/192x192/apps/geogebra.png ${D}/usr/share/icons/hicolor/192x192/apps
  47. +./install-sh -m 644 icons/hicolor/256x256/apps/geogebra.png ${D}/usr/share/icons/hicolor/256x256/apps
  48. +./install-sh -m 644 icons/hicolor/scalable/apps/geogebra.svgz ${D}/usr/share/icons/hicolor/scalable/apps
  49. -./install-sh -m 644 icons/hicolor/16x16/mimetypes/*.* /usr/share/icons/hicolor/16x16/mimetypes
  50. -./install-sh -m 644 icons/hicolor/22x22/mimetypes/*.* /usr/share/icons/hicolor/22x22/mimetypes
  51. -./install-sh -m 644 icons/hicolor/24x24/mimetypes/*.* /usr/share/icons/hicolor/24x24/mimetypes
  52. -./install-sh -m 644 icons/hicolor/32x32/mimetypes/*.* /usr/share/icons/hicolor/32x32/mimetypes
  53. -./install-sh -m 644 icons/hicolor/36x36/mimetypes/*.* /usr/share/icons/hicolor/36x36/mimetypes
  54. -./install-sh -m 644 icons/hicolor/48x48/mimetypes/*.* /usr/share/icons/hicolor/48x48/mimetypes
  55. -./install-sh -m 644 icons/hicolor/64x64/mimetypes/*.* /usr/share/icons/hicolor/64x64/mimetypes
  56. -./install-sh -m 644 icons/hicolor/72x72/mimetypes/*.* /usr/share/icons/hicolor/72x72/mimetypes
  57. -./install-sh -m 644 icons/hicolor/96x96/mimetypes/*.* /usr/share/icons/hicolor/96x96/mimetypes
  58. -./install-sh -m 644 icons/hicolor/128x128/mimetypes/*.* /usr/share/icons/hicolor/128x128/mimetypes
  59. -./install-sh -m 644 icons/hicolor/192x192/mimetypes/*.* /usr/share/icons/hicolor/192x192/mimetypes
  60. -./install-sh -m 644 icons/hicolor/256x256/mimetypes/*.* /usr/share/icons/hicolor/256x256/mimetypes
  61. -./install-sh -m 644 icons/hicolor/scalable/mimetypes/*.* /usr/share/icons/hicolor/scalable/mimetypes
  62. +./install-sh -m 644 icons/hicolor/16x16/mimetypes/*.* ${D}/usr/share/icons/hicolor/16x16/mimetypes
  63. +./install-sh -m 644 icons/hicolor/22x22/mimetypes/*.* ${D}/usr/share/icons/hicolor/22x22/mimetypes
  64. +./install-sh -m 644 icons/hicolor/24x24/mimetypes/*.* ${D}/usr/share/icons/hicolor/24x24/mimetypes
  65. +./install-sh -m 644 icons/hicolor/32x32/mimetypes/*.* ${D}/usr/share/icons/hicolor/32x32/mimetypes
  66. +./install-sh -m 644 icons/hicolor/36x36/mimetypes/*.* ${D}/usr/share/icons/hicolor/36x36/mimetypes
  67. +./install-sh -m 644 icons/hicolor/48x48/mimetypes/*.* ${D}/usr/share/icons/hicolor/48x48/mimetypes
  68. +./install-sh -m 644 icons/hicolor/64x64/mimetypes/*.* ${D}/usr/share/icons/hicolor/64x64/mimetypes
  69. +./install-sh -m 644 icons/hicolor/72x72/mimetypes/*.* ${D}/usr/share/icons/hicolor/72x72/mimetypes
  70. +./install-sh -m 644 icons/hicolor/96x96/mimetypes/*.* ${D}/usr/share/icons/hicolor/96x96/mimetypes
  71. +./install-sh -m 644 icons/hicolor/128x128/mimetypes/*.* ${D}/usr/share/icons/hicolor/128x128/mimetypes
  72. +./install-sh -m 644 icons/hicolor/192x192/mimetypes/*.* ${D}/usr/share/icons/hicolor/192x192/mimetypes
  73. +./install-sh -m 644 icons/hicolor/256x256/mimetypes/*.* ${D}/usr/share/icons/hicolor/256x256/mimetypes
  74. +./install-sh -m 644 icons/hicolor/scalable/mimetypes/*.* ${D}/usr/share/icons/hicolor/scalable/mimetypes