[PC-BSD Commits] r21112 - in pbi/modules/devel/arduino: . resources/bin scripts xdg-desktop xdg-menu

svn at pcbsd.org svn at pcbsd.org
Wed Jan 23 06:57:11 PST 2013


Author: kenmoore
Date: 2013-01-23 14:57:11 +0000 (Wed, 23 Jan 2013)
New Revision: 21112

Added:
   pbi/modules/devel/arduino/resources/bin/arduino.sh
   pbi/modules/devel/arduino/scripts/post-install.sh
   pbi/modules/devel/arduino/scripts/pre-pbicreate.sh
   pbi/modules/devel/arduino/scripts/pre-remove.sh
Modified:
   pbi/modules/devel/arduino/pbi.conf
   pbi/modules/devel/arduino/xdg-desktop/arduino.desktop
   pbi/modules/devel/arduino/xdg-menu/arduino.desktop
Log:
Large fix for the arduino PBI. It fixes a couple default preferences for FreeBSD, requires root to install and run the program, and also build/loads the uarduno kernel module with the PBI.



Modified: pbi/modules/devel/arduino/pbi.conf
===================================================================
--- pbi/modules/devel/arduino/pbi.conf	2013-01-23 12:46:18 UTC (rev 21111)
+++ pbi/modules/devel/arduino/pbi.conf	2013-01-23 14:57:11 UTC (rev 21112)
@@ -10,16 +10,14 @@
 # -- Port Information --
 PBI_MAKEPORT="devel/arduino"
 PBI_MKPORTBEFORE=""
-PBI_MKPORTAFTER=" devel/arduino-glcd devel/arduino-mk devel/arduino-irremote"
+PBI_MKPORTAFTER="devel/arduino-glcd devel/arduino-mk devel/arduino-irremote comms/uarduno"
 PBI_MAKEOPTS=""
 
 # -- Require Root Permissions to Install PBI --
-PBI_REQUIRESROOT="NO"
-
+PBI_REQUIRESROOT="YES"
 # -- Auto-build Configuration Options --
-PBI_BUILDKEY="01"
+PBI_BUILDKEY="03"
 PBI_AB_PRIORITY="00"
 PBI_AB_NOTMPFS="NO"
-PBI_PROGREVISION="01"; export PBI_PROGREVISION
 
-export PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_PROGICON PBI_MAKEPORT PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_MAKEOPTS PBI_REQUIRESROOT PBI_BUILDKEY PBI_AB_PRIORITY PBI_AB_NOTMPFS
+export PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_PROGICON PBI_MAKEPORT PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_MAKEOPTS PBI_REQUIRESROOT PBI_BUILDKEY PBI_AB_PRIORITY PBI_NOTMPFS

Index: pbi/modules/devel/arduino/resources/bin/arduino.sh
===================================================================
--- pbi/modules/devel/arduino/resources/bin/arduino.sh	2013-01-23 12:46:18 UTC (rev 21111)
+++ pbi/modules/devel/arduino/resources/bin/arduino.sh	2013-01-23 14:57:11 UTC (rev 21112)

Property changes on: pbi/modules/devel/arduino/resources/bin/arduino.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
Modified: pbi/modules/devel/arduino/xdg-desktop/arduino.desktop
===================================================================
--- pbi/modules/devel/arduino/xdg-desktop/arduino.desktop	2013-01-23 12:46:18 UTC (rev 21111)
+++ pbi/modules/devel/arduino/xdg-desktop/arduino.desktop	2013-01-23 14:57:11 UTC (rev 21112)
@@ -4,7 +4,7 @@
 Type=Application
 Name=Arduino
 GenericName=arduino
-Exec=%%PBI_EXEDIR%%/arduino.sh
+Exec=pc-su %%PBI_EXEDIR%%/arduino.sh
 Path=%%PBI_APPDIR%%
 Icon=%%PBI_APPDIR%%/arduino.png
 StartupNotify=true

Modified: pbi/modules/devel/arduino/xdg-menu/arduino.desktop
===================================================================
--- pbi/modules/devel/arduino/xdg-menu/arduino.desktop	2013-01-23 12:46:18 UTC (rev 21111)
+++ pbi/modules/devel/arduino/xdg-menu/arduino.desktop	2013-01-23 14:57:11 UTC (rev 21112)
@@ -4,7 +4,7 @@
 Type=Application
 Name=Arduino
 GenericName=arduino
-Exec=%%PBI_EXEDIR%%/arduino.sh
+Exec=pc-su %%PBI_EXEDIR%%/arduino.sh
 Path=%%PBI_APPDIR%%
 Icon=%%PBI_APPDIR%%/arduino.png
 StartupNotify=true



More information about the Commits mailing list