[SM-Commit] GIT changes to master grimoire by Puppet_Master (334017d983383450b34a53f8c0cd8720572fb440)

Puppet_Master scm at sourcemage.org
Tue Dec 8 15:51:46 EST 2009


GIT changes to master grimoire by Puppet_Master <puppetmaster at sourcemage.org>:

 ChangeLog                 |    6 +++++-
 e-17/evas/DEPENDS         |    6 +++++-
 e-17/evas/HISTORY         |    2 +-
 libs/libplayer/BUILD      |    2 ++
 libs/libplayer/DEPENDS    |    3 +++
 libs/libplayer/DETAILS    |   24 ++++++++++++++++++++++++
 libs/libplayer/DOWNLOAD   |   45 +++++++++++++++++++++++++++++++++++++++++++++
 libs/libplayer/HISTORY    |    3 +++
 libs/libplayer/INSTALL    |    3 +++
 libs/libplayer/PREPARE    |    2 ++
 libs/libvalhalla/BUILD    |    2 ++
 libs/libvalhalla/DEPENDS  |   18 ++++++++++++++++++
 libs/libvalhalla/DETAILS  |   25 +++++++++++++++++++++++++
 libs/libvalhalla/DOWNLOAD |   45 +++++++++++++++++++++++++++++++++++++++++++++
 libs/libvalhalla/HISTORY  |    3 +++
 libs/libvalhalla/INSTALL  |    3 +++
 libs/libvalhalla/PREPARE  |    2 ++
 17 files changed, 191 insertions(+), 3 deletions(-)

New commits:
commit 334017d983383450b34a53f8c0cd8720572fb440
Author: Philippe Caseiro <puppet_master at else-projects.org>
Commit: Puppet_Master <puppetmaster at sourcemage.org>

    Updating ChangeLog

commit 08c36ea573f6d7e8debeff763c80118d337da1be
Author: Philippe Caseiro <puppet_master at else-projects.org>
Commit: Puppet_Master <puppetmaster at sourcemage.org>

    libplayer: Added Spell
    libvalhalla: Added Spell

commit b054f50a5253a87d8003db0dcb2191e5a67115b7
Author: Philippe Caseiro <puppet_master at else-projects.org>
Commit: Puppet_Master <puppetmaster at sourcemage.org>

    Updating evas History

commit a8caa5b9202838592724a848119d3f0768da0357
Author: Philippe Caseiro <puppet_master at else-projects.org>
Commit: Puppet_Master <puppetmaster at sourcemage.org>

    Fixing evas DEPENDS eet is now an optional dep

diff --git a/ChangeLog b/ChangeLog
index ee80c60..02da59f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-12-07 Philippe "Puppet_Master" Caseiro <puppetmaster at sourcemage.fr>
-        * libs/libnfo: new spell
+	* libs/libplayer: new spell, player abstraction layer for omc
+	* libs/libvalhalla: new spell, A tiny media scanner library
+
+2009-12-07 Philippe "Puppet_Master" Caseiro <puppetmaster at sourcemage.fr>
+	* libs/libnfo: new spell
 	  NFO file support library for enna player
 
 2009-12-07 Ladislav Hagara <hgr at vabo.cz>
diff --git a/e-17/evas/DEPENDS b/e-17/evas/DEPENDS
index 1070e01..e71bebe 100755
--- a/e-17/evas/DEPENDS
+++ b/e-17/evas/DEPENDS
@@ -1,12 +1,16 @@
 depends  automake                                                         &&
 depends  eina                                                             &&
-depends  eet       '--enable-image-loader-eet  --enable-font-loader-eet'  &&
 depends  libtool                                                          &&
 
 if  [  "$EVAS_CVS"  ==  "y"  ];  then
   depends  subversion
 fi  &&
 
+optional_depends  eet
+                  "--enable-image-loader-eet --enable-font-loader-eet"    \
+                  "--disable-images-loader-eet --disable-font-loader-eet" \
+                  "for eet images and font loader support"               &&
+
 optional_depends  xorg-libs                              \
                   "--enable-software-x11  --with-x"      \
                   "--disable-software-x11  --without-x"  \
diff --git a/e-17/evas/HISTORY b/e-17/evas/HISTORY
index 1893e3c..62ee56d 100644
--- a/e-17/evas/HISTORY
+++ b/e-17/evas/HISTORY
@@ -1,5 +1,5 @@
 2009-12-08 Philippe "Puppet_Master" Caseiro <puppetmaster at sourcmeage.org>
-        * DEPENDS: Depends on eina first
+        * DEPENDS: Depends on eina first, eet is optional now
 
 2008-10-14 Eric Sandall <sandalle at sourcemage.org>
 	* DEPENDS: Depends on eina for data types
diff --git a/libs/libplayer/BUILD b/libs/libplayer/BUILD
new file mode 100755
index 0000000..af842a0
--- /dev/null
+++ b/libs/libplayer/BUILD
@@ -0,0 +1,2 @@
+./configure --prefix="$INSTALL_ROOT/usr" &&
+make
diff --git a/libs/libplayer/DEPENDS b/libs/libplayer/DEPENDS
new file mode 100755
index 0000000..a56700f
--- /dev/null
+++ b/libs/libplayer/DEPENDS
@@ -0,0 +1,3 @@
+depends  mercurial   &&
+depends  mplayer     &&
+depends  xine-lib        
diff --git a/libs/libplayer/DETAILS b/libs/libplayer/DETAILS
new file mode 100755
index 0000000..ab9c3c6
--- /dev/null
+++ b/libs/libplayer/DETAILS
@@ -0,0 +1,24 @@
+           SPELL=libplayer
+if  [  "$LIBPLAYER_SCM_AUTOUPDATE"  ==  "n"  ];  then
+         VERSION=mercurial
+else
+         VERSION=$(date +%Y%m%d)
+fi
+          SOURCE=$SPELL-hg.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-hg
+   SOURCE_URL[0]=hg_http://hg.geexbox.org/libplayer:libplayer-hg
+  FORCE_DOWNLOAD="on"
+   SOURCE_IGNORE=volatile
+        WEB_SITE=http://geexbox.org
+         ENTERED=20091204
+      LICENSE[0]=GPLv2.1
+        KEYWORDS="geexbox"
+           SHORT="player abstraction layer for omc"
+cat << EOF
+GeeXboX libplayer is a multimedia A/V abstraction layer API.
+Its goal is to interact with Enna Media Center.
+libplayer provides a generic A/V API that relies on various
+multimedia player for Linux systems.
+
+It currently supports MPlayer, xine and VLC only.
+EOF
diff --git a/libs/libplayer/DOWNLOAD b/libs/libplayer/DOWNLOAD
new file mode 100755
index 0000000..c6c5535
--- /dev/null
+++ b/libs/libplayer/DOWNLOAD
@@ -0,0 +1,45 @@
+#once the hg download handler hits stable sorcery this DOWNLOAD script would
+#only need to be removed, SOURCE_URL is compatible with the planned hg handler
+
+function my_url_hg_http_crack() {
+
+  URL=$(url_strip_prefix "$1" hg_http)
+  HG_ROOT=$(echo $URL | sed "s#\(^[^/]*[^:]*\):.*#\1#")
+  HG_ROOT=http://$HG_ROOT
+  local HG_DIRECTORY_TAG=$(echo $URL | sed "s#^[^/]*[^:]*\(.*\)#\1#")
+  HG_DIRECTORY=$(echo $HG_DIRECTORY_TAG | cut -d : -f2)
+  local HG_TAGNAME=$(echo $HG_DIRECTORY_TAG | cut -d : -f3)
+  HG_TAG=${HG_TAGNAME:=default}
+
+}
+
+if [[ "${VERSION}" != "scm" && "${VERSION}" != "$(date +%Y%m%d)" ]]; then
+  default_download &&
+  return $?
+fi &&
+
+message "${MESSAGE_COLOR}Starting Mercurial checkout of" \
+        "${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}"  &&
+my_url_hg_http_crack $SOURCE_URL &&
+if [[ -f $SOURCE_CACHE/$SOURCE ]]; then
+  message "${MESSAGE_COLOR}Previous source found unpacking...${DEFAULT_COLOR}" &&
+  tar -jxf $SOURCE_CACHE/$SOURCE &&
+  message "${MESSAGE_COLOR}Running hg pull...${DEFAULT_COLOR}" &&
+  ( cd $HG_DIRECTORY &&
+    echo hg pull $HG_ROOT &&
+    hg pull $HG_ROOT &&
+    echo hg update $HG_TAG &&
+    hg update $HG_TAG )
+else
+  message "${MESSAGE_COLOR}Running hg clone...${DEFAULT_COLOR}"
+  echo hg clone $HG_ROOT $HG_DIRECTORY
+  hg clone $HG_ROOT $HG_DIRECTORY &&
+  ( cd $HG_DIRECTORY &&
+    echo hg update $HG_TAG &&
+    hg update $HG_TAG )
+fi &&
+message "${MESSAGE_COLOR}Generating tarball...${DEFAULT_COLOR}" &&
+tar -jcf $SOURCE $HG_DIRECTORY &&
+cp $SOURCE $SOURCE_CACHE/$SOURCE &&
+rm $SOURCE &&
+message "${MESSAGE_COLOR}Mercurial checkout complete...${DEFAULT_COLOR}"
diff --git a/libs/libplayer/HISTORY b/libs/libplayer/HISTORY
new file mode 100644
index 0000000..3906d72
--- /dev/null
+++ b/libs/libplayer/HISTORY
@@ -0,0 +1,3 @@
+2009-12-04 Philippe "Puppet_Master" Caseiro <puppetmaster at sourcemage.org>
+        *PREPARE, BUILD, DEPENDS, DETAILS ,DOWNLOAD, INSTALL: Created
+
diff --git a/libs/libplayer/INSTALL b/libs/libplayer/INSTALL
new file mode 100755
index 0000000..5f8a981
--- /dev/null
+++ b/libs/libplayer/INSTALL
@@ -0,0 +1,3 @@
+default_install        &&
+cd ${SOURCE_DIRECTORY} &&
+make install
diff --git a/libs/libplayer/PREPARE b/libs/libplayer/PREPARE
new file mode 100755
index 0000000..3d9b31e
--- /dev/null
+++ b/libs/libplayer/PREPARE
@@ -0,0 +1,2 @@
+config_query  LIBPLAYER_SCM_AUTOUPDATE                             \
+              "Automatically update on every system update?"  n
diff --git a/libs/libvalhalla/BUILD b/libs/libvalhalla/BUILD
new file mode 100755
index 0000000..af842a0
--- /dev/null
+++ b/libs/libvalhalla/BUILD
@@ -0,0 +1,2 @@
+./configure --prefix="$INSTALL_ROOT/usr" &&
+make
diff --git a/libs/libvalhalla/DEPENDS b/libs/libvalhalla/DEPENDS
new file mode 100755
index 0000000..eac6f7d
--- /dev/null
+++ b/libs/libvalhalla/DEPENDS
@@ -0,0 +1,18 @@
+depends  mercurial   &&
+depends  libxml2     &&
+depends  LIBAVCODEC  &&
+depends  sqlite      &&
+
+optional_depends 'libexif'                \
+                 ''                       \
+                 ''                       \
+                 'for EXIF data support' &&
+optional_depends 'libnfo'                 \
+                 ''                       \
+                 ''                       \
+                 'for NFO files support' &&
+
+optional_depends 'curl'                   \
+                 ''                       \
+                 ''                       \
+                 'for curl support'  
diff --git a/libs/libvalhalla/DETAILS b/libs/libvalhalla/DETAILS
new file mode 100755
index 0000000..6bf33e3
--- /dev/null
+++ b/libs/libvalhalla/DETAILS
@@ -0,0 +1,25 @@
+           SPELL=libvalhalla
+if  [  "$LIBPLAYER_SCM_AUTOUPDATE"  ==  "n"  ];  then
+         VERSION=mercurial
+else
+         VERSION=$(date +%Y%m%d)
+fi
+          SOURCE=$SPELL-hg.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-hg
+   SOURCE_URL[0]=hg_http://hg.geexbox.org/${SPELL}:${SPELL}-hg
+  FORCE_DOWNLOAD="on"
+   SOURCE_IGNORE=volatile
+        WEB_SITE=http://geexbox.org
+         ENTERED=20091204
+      LICENSE[0]=GPLv2.1
+        KEYWORDS="geexbox"
+           SHORT="A tiny media scanner library"
+cat << EOF
+GeeXboX Valhalla (or libvalhalla) is a scanner and parser for audio/video
+files based on SQLite and FFmpeg/libavformat. Media files are retrieved in
+paths defined by the user and metadata are saved in a database.
+It provides a very simple API and it can use several parsers concurrently
+to speed up on a multi-core/cpu system.
+Its goal is to interact with GeeXboX / Enna Media Center.
+
+EOF
diff --git a/libs/libvalhalla/DOWNLOAD b/libs/libvalhalla/DOWNLOAD
new file mode 100755
index 0000000..c6c5535
--- /dev/null
+++ b/libs/libvalhalla/DOWNLOAD
@@ -0,0 +1,45 @@
+#once the hg download handler hits stable sorcery this DOWNLOAD script would
+#only need to be removed, SOURCE_URL is compatible with the planned hg handler
+
+function my_url_hg_http_crack() {
+
+  URL=$(url_strip_prefix "$1" hg_http)
+  HG_ROOT=$(echo $URL | sed "s#\(^[^/]*[^:]*\):.*#\1#")
+  HG_ROOT=http://$HG_ROOT
+  local HG_DIRECTORY_TAG=$(echo $URL | sed "s#^[^/]*[^:]*\(.*\)#\1#")
+  HG_DIRECTORY=$(echo $HG_DIRECTORY_TAG | cut -d : -f2)
+  local HG_TAGNAME=$(echo $HG_DIRECTORY_TAG | cut -d : -f3)
+  HG_TAG=${HG_TAGNAME:=default}
+
+}
+
+if [[ "${VERSION}" != "scm" && "${VERSION}" != "$(date +%Y%m%d)" ]]; then
+  default_download &&
+  return $?
+fi &&
+
+message "${MESSAGE_COLOR}Starting Mercurial checkout of" \
+        "${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}"  &&
+my_url_hg_http_crack $SOURCE_URL &&
+if [[ -f $SOURCE_CACHE/$SOURCE ]]; then
+  message "${MESSAGE_COLOR}Previous source found unpacking...${DEFAULT_COLOR}" &&
+  tar -jxf $SOURCE_CACHE/$SOURCE &&
+  message "${MESSAGE_COLOR}Running hg pull...${DEFAULT_COLOR}" &&
+  ( cd $HG_DIRECTORY &&
+    echo hg pull $HG_ROOT &&
+    hg pull $HG_ROOT &&
+    echo hg update $HG_TAG &&
+    hg update $HG_TAG )
+else
+  message "${MESSAGE_COLOR}Running hg clone...${DEFAULT_COLOR}"
+  echo hg clone $HG_ROOT $HG_DIRECTORY
+  hg clone $HG_ROOT $HG_DIRECTORY &&
+  ( cd $HG_DIRECTORY &&
+    echo hg update $HG_TAG &&
+    hg update $HG_TAG )
+fi &&
+message "${MESSAGE_COLOR}Generating tarball...${DEFAULT_COLOR}" &&
+tar -jcf $SOURCE $HG_DIRECTORY &&
+cp $SOURCE $SOURCE_CACHE/$SOURCE &&
+rm $SOURCE &&
+message "${MESSAGE_COLOR}Mercurial checkout complete...${DEFAULT_COLOR}"
diff --git a/libs/libvalhalla/HISTORY b/libs/libvalhalla/HISTORY
new file mode 100644
index 0000000..3906d72
--- /dev/null
+++ b/libs/libvalhalla/HISTORY
@@ -0,0 +1,3 @@
+2009-12-04 Philippe "Puppet_Master" Caseiro <puppetmaster at sourcemage.org>
+        *PREPARE, BUILD, DEPENDS, DETAILS ,DOWNLOAD, INSTALL: Created
+
diff --git a/libs/libvalhalla/INSTALL b/libs/libvalhalla/INSTALL
new file mode 100755
index 0000000..5f8a981
--- /dev/null
+++ b/libs/libvalhalla/INSTALL
@@ -0,0 +1,3 @@
+default_install        &&
+cd ${SOURCE_DIRECTORY} &&
+make install
diff --git a/libs/libvalhalla/PREPARE b/libs/libvalhalla/PREPARE
new file mode 100755
index 0000000..3d9b31e
--- /dev/null
+++ b/libs/libvalhalla/PREPARE
@@ -0,0 +1,2 @@
+config_query  LIBPLAYER_SCM_AUTOUPDATE                             \
+              "Automatically update on every system update?"  n



More information about the SM-Commit mailing list