[Lunar-commits] <moonbase> freeplane: Version bump and moving to editors.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Fri Nov 5 00:03:22 CET 2010


commit fdcd9238b6a1ee3ecbd8c1f5d7905d51e904a22e
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Thu Nov 4 19:03:22 2010 -0400

    freeplane: Version bump and moving to editors.
---
 editors/freeplane/BUILD        |   57 ++++++++++++++++++++++++++++++++++++++++
 editors/freeplane/DEPENDS      |    1 +
 editors/freeplane/DETAILS      |   15 ++++++++++
 editors/freeplane/POST_INSTALL |    2 +
 zbeta/freeplane/BUILD          |   57 ----------------------------------------
 zbeta/freeplane/DEPENDS        |    1 -
 zbeta/freeplane/DETAILS        |   15 ----------
 zbeta/freeplane/POST_INSTALL   |    2 -
 8 files changed, 75 insertions(+), 75 deletions(-)

diff --git a/editors/freeplane/BUILD b/editors/freeplane/BUILD
new file mode 100644
index 0000000..5397568
--- /dev/null
+++ b/editors/freeplane/BUILD
@@ -0,0 +1,57 @@
+(
+
+  cd freeplane_framework/ant &&
+
+  # Don't try to run bzr
+  sedit "s:bzr_version_info, ::" build.xml &&
+
+  ant &&
+  prepare_install &&
+  cd $SOURCE_DIRECTORY/freeplane_framework/build &&
+
+  # Recognize correct data directory
+  sedit "s:\${FREEPLANE_BASE_DIR}:/usr/share/freeplane:" freeplane.sh &&
+
+  mkdir -p /usr/share/{,doc}/freeplane/ /usr/share/applications/ /usr/share/icons/hicolor/32x32/{apps,mimetypes}/  /usr/share/mime/packages/ &&
+  cp -ra * /usr/share/freeplane/ &&
+  install -D -m755 freeplane.sh /usr/bin/freeplane &&
+
+  # Desktop menu entry
+  cat > $MODULE.desktop << EOF &&
+[Desktop Entry]
+Type=Application
+Name=Freeplane
+GenericName=Mind-map
+Comment=$SHORT
+Exec=$MODULE
+Icon=$MODULE
+Categories=Office;
+MimeType=application/x-freeplane;
+EOF
+
+  install -m644 $MODULE.desktop /usr/share/applications/ &&
+  install -m644 freeplane.png /usr/share/icons/hicolor/32x32/apps/ &&
+  ln -sfn ../apps/freeplane.png /usr/share/icons/hicolor/32x32/mimetypes/application-x-freeplane.png &&
+
+  # From http://www.rfhg.de/wiki/index.php/freeplane_Ubuntu_Installation
+  cat > freeplane.xml << EOF &&
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+  <mime-type type="application/x-freeplane">
+    <sub-class-of type="text/xml"/>
+    <comment>Mind-map</comment>
+    <glob pattern="*.mm"/>
+  </mime-type>
+</mime-info>
+EOF
+
+  install -m644 freeplane.xml /usr/share/mime/packages/ &&
+
+  cd doc &&
+  gather_docs *.txt &&
+
+  if [[ -e /usr/bin/gtk-update-icon-cache ]] ; then
+    gtk-update-icon-cache -f /usr/share/icons/hicolor/
+  fi
+
+) > $C_FIFO 2>&1
diff --git a/editors/freeplane/DEPENDS b/editors/freeplane/DEPENDS
new file mode 100644
index 0000000..93a1846
--- /dev/null
+++ b/editors/freeplane/DEPENDS
@@ -0,0 +1 @@
+depends apache-ant
diff --git a/editors/freeplane/DETAILS b/editors/freeplane/DETAILS
new file mode 100644
index 0000000..77a3c40
--- /dev/null
+++ b/editors/freeplane/DETAILS
@@ -0,0 +1,15 @@
+          MODULE=freeplane
+         VERSION=1.1.1
+          SOURCE=${MODULE}_src-$VERSION.tar.gz
+      SOURCE_URL=$SFORGE_URL/$MODULE
+      SOURCE_VFY=sha1:1275b0ee45b3e6ac1fd3a9c7cf8e4ee3a1b94612
+        WEB_SITE=http://freeplane.sourceforge.net
+         ENTERED=20100523
+         UPDATED=20101018
+           SHORT="Redesigned FreeMind, for mind-mapping"
+
+cat << EOF
+Freeplace is an application for mind-mapping, knowledge management,
+and project management. It is a redesigned version of the well-known
+FreeMind, created by one of its key developers.
+EOF
diff --git a/editors/freeplane/POST_INSTALL b/editors/freeplane/POST_INSTALL
new file mode 100644
index 0000000..df1698e
--- /dev/null
+++ b/editors/freeplane/POST_INSTALL
@@ -0,0 +1,2 @@
+update-mime-database /usr/share/mime
+update-desktop-database
diff --git a/zbeta/freeplane/BUILD b/zbeta/freeplane/BUILD
deleted file mode 100644
index 5397568..0000000
--- a/zbeta/freeplane/BUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-(
-
-  cd freeplane_framework/ant &&
-
-  # Don't try to run bzr
-  sedit "s:bzr_version_info, ::" build.xml &&
-
-  ant &&
-  prepare_install &&
-  cd $SOURCE_DIRECTORY/freeplane_framework/build &&
-
-  # Recognize correct data directory
-  sedit "s:\${FREEPLANE_BASE_DIR}:/usr/share/freeplane:" freeplane.sh &&
-
-  mkdir -p /usr/share/{,doc}/freeplane/ /usr/share/applications/ /usr/share/icons/hicolor/32x32/{apps,mimetypes}/  /usr/share/mime/packages/ &&
-  cp -ra * /usr/share/freeplane/ &&
-  install -D -m755 freeplane.sh /usr/bin/freeplane &&
-
-  # Desktop menu entry
-  cat > $MODULE.desktop << EOF &&
-[Desktop Entry]
-Type=Application
-Name=Freeplane
-GenericName=Mind-map
-Comment=$SHORT
-Exec=$MODULE
-Icon=$MODULE
-Categories=Office;
-MimeType=application/x-freeplane;
-EOF
-
-  install -m644 $MODULE.desktop /usr/share/applications/ &&
-  install -m644 freeplane.png /usr/share/icons/hicolor/32x32/apps/ &&
-  ln -sfn ../apps/freeplane.png /usr/share/icons/hicolor/32x32/mimetypes/application-x-freeplane.png &&
-
-  # From http://www.rfhg.de/wiki/index.php/freeplane_Ubuntu_Installation
-  cat > freeplane.xml << EOF &&
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
-  <mime-type type="application/x-freeplane">
-    <sub-class-of type="text/xml"/>
-    <comment>Mind-map</comment>
-    <glob pattern="*.mm"/>
-  </mime-type>
-</mime-info>
-EOF
-
-  install -m644 freeplane.xml /usr/share/mime/packages/ &&
-
-  cd doc &&
-  gather_docs *.txt &&
-
-  if [[ -e /usr/bin/gtk-update-icon-cache ]] ; then
-    gtk-update-icon-cache -f /usr/share/icons/hicolor/
-  fi
-
-) > $C_FIFO 2>&1
diff --git a/zbeta/freeplane/DEPENDS b/zbeta/freeplane/DEPENDS
deleted file mode 100644
index 93a1846..0000000
--- a/zbeta/freeplane/DEPENDS
+++ /dev/null
@@ -1 +0,0 @@
-depends apache-ant
diff --git a/zbeta/freeplane/DETAILS b/zbeta/freeplane/DETAILS
deleted file mode 100644
index 77a3c40..0000000
--- a/zbeta/freeplane/DETAILS
+++ /dev/null
@@ -1,15 +0,0 @@
-          MODULE=freeplane
-         VERSION=1.1.1
-          SOURCE=${MODULE}_src-$VERSION.tar.gz
-      SOURCE_URL=$SFORGE_URL/$MODULE
-      SOURCE_VFY=sha1:1275b0ee45b3e6ac1fd3a9c7cf8e4ee3a1b94612
-        WEB_SITE=http://freeplane.sourceforge.net
-         ENTERED=20100523
-         UPDATED=20101018
-           SHORT="Redesigned FreeMind, for mind-mapping"
-
-cat << EOF
-Freeplace is an application for mind-mapping, knowledge management,
-and project management. It is a redesigned version of the well-known
-FreeMind, created by one of its key developers.
-EOF
diff --git a/zbeta/freeplane/POST_INSTALL b/zbeta/freeplane/POST_INSTALL
deleted file mode 100644
index df1698e..0000000
--- a/zbeta/freeplane/POST_INSTALL
+++ /dev/null
@@ -1,2 +0,0 @@
-update-mime-database /usr/share/mime
-update-desktop-database


More information about the Lunar-commits mailing list