[Blends-commit] [SCM] ezgo branch, master, updated. 08d34ed44f14f6875e2134bd4c66c4ddfe194072

Franklin Weng franklin at ip-server.everfocus.com.tw
Sun Mar 30 09:41:05 UTC 2014


The following commit has been merged in the master branch:
commit 08d34ed44f14f6875e2134bd4c66c4ddfe194072
Author: Franklin Weng <franklin at ip-server.everfocus.com.tw>
Date:   Sun Mar 30 17:36:38 2014 +0800

    Add ezgo-phet files

diff --git a/trunk/debian-ezgo/debian/control.stub b/trunk/debian-ezgo/debian/control.stub
index 191020b..db4e4d4 100644
--- a/trunk/debian-ezgo/debian/control.stub
+++ b/trunk/debian-ezgo/debian/control.stub
@@ -34,6 +34,17 @@ Description: ezgo menu style
  This package will replace your XDG menu into ezgo style.
 Depends: python, python3
 
+Package: ezgo-phet
+Architecture: all
+Description: PhET offline version in ezgo
+ Debian ezgo is a Debian Pure Blends project which collects a set of free
+ and open source software, as well as many public domain tutorials.  ezgo
+ aims to introduce the world of free and open source software to those who
+ have never heard or touched it.  It is also good for teaching and
+ self-learning.
+ .
+ This package contains PhET offline version.
+ 
 Package: ezgo-tasks
 Architecture: all
 Depends: tasksel
diff --git a/trunk/debian-ezgo/debian/ezgo-phet.install b/trunk/debian-ezgo/debian/ezgo-phet.install
new file mode 100644
index 0000000..e7df2e5
--- /dev/null
+++ b/trunk/debian-ezgo/debian/ezgo-phet.install
@@ -0,0 +1 @@
+ezgo-phet/phet.desktop usr/share/applications
diff --git a/trunk/debian-ezgo/debian/ezgo-phet.postinst b/trunk/debian-ezgo/debian/ezgo-phet.postinst
new file mode 100644
index 0000000..c512a1f
--- /dev/null
+++ b/trunk/debian-ezgo/debian/ezgo-phet.postinst
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+PHET_VERSION=2013
+PHET_URL=ftp://goodhorse.idv.tw/debian-ezgo/ezgo-phet/PhET${PHET_VERSION}.tar.gz
+OUTPUT_FILE=/usr/share/ezgo/ezgo-prt/PhET${PHET_VERSION}.tar.gz
+
+mkdir -p /usr/share/ezgo/ezgo-prt/
+
+echo "Downloading PhET${PHET_VERSION}"
+
+exit_with_error()
+{
+	echo $1
+	exit 1
+}
+
+wget --continue -O $OUTPUT_FILE $PHET_URL || exit_with_error "Download failed: $?"
+
+cd /usr/share/ezgo/ezgo-prt
+tar xfz $OUTPUT_FILE
+rm -f PhET
+ln -s PhET${PHET_VERSION} PhET
+
+#DEBHELPER#
+
+exit 0
diff --git a/trunk/debian-ezgo/ezgo-phet/phet.desktop b/trunk/debian-ezgo/ezgo-phet/phet.desktop
new file mode 100644
index 0000000..32281ba
--- /dev/null
+++ b/trunk/debian-ezgo/ezgo-phet/phet.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Comment[zh_TW]=動畫模擬教學_PhET
+Comment=PhET
+Exec=x-www-browser /usr/share/ezgo/ezgo-prt/PhET/index.html
+GenericName[zh_TW]=PhET包含了物理生物化學地球科學數學等100多個動畫模擬教學範例
+GenericName=PhET
+Icon=/usr/share/ezgo/ezgo-prt/PhET/phet-logo-48x48.png
+Name[zh_TW]=動畫模擬教學_PhET
+Name=PhET
+StartupNotify=true
+Terminal=false
+Type=Application
+X-DBUS-ServiceName=
+X-DBUS-StartupType=
+X-KDE-SubstituteUID=false
+X-KDE-Username=
+Categories=Education;X-Opencontent;

-- 
Blend for educatipn with asian specific adaptations



More information about the Blends-commit mailing list