summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xarchive/bacula/DETAILS7
-rw-r--r--archive/bacula/HISTORY3
-rwxr-xr-xarchive/burp/DETAILS20
-rw-r--r--archive/burp/HISTORY3
-rwxr-xr-xaudio-creation/audacity/DETAILS7
-rw-r--r--audio-creation/audacity/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-driver/DETAILS7
-rw-r--r--audio-drivers/alsa-driver/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-firmware/DETAILS7
-rw-r--r--audio-drivers/alsa-firmware/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-lib/DETAILS7
-rw-r--r--audio-drivers/alsa-lib/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-oss/DETAILS7
-rw-r--r--audio-drivers/alsa-oss/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-plugins/DETAILS7
-rw-r--r--audio-drivers/alsa-plugins/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-tools/DETAILS7
-rw-r--r--audio-drivers/alsa-tools/HISTORY3
-rwxr-xr-xaudio-drivers/alsa-utils/DETAILS7
-rw-r--r--audio-drivers/alsa-utils/HISTORY3
-rwxr-xr-xaudio-drivers/jack/DETAILS8
-rw-r--r--audio-drivers/jack/HISTORY3
-rwxr-xr-xaudio-drivers/jack2/DETAILS7
-rw-r--r--audio-drivers/jack2/HISTORY3
-rwxr-xr-xaudio-drivers/libffado/DETAILS7
-rw-r--r--audio-drivers/libffado/HISTORY3
-rwxr-xr-xaudio-drivers/portaudio19/DETAILS7
-rw-r--r--audio-drivers/portaudio19/HISTORY3
-rwxr-xr-xaudio-drivers/pyalsa/DETAILS7
-rw-r--r--audio-drivers/pyalsa/HISTORY3
-rwxr-xr-xaudio-libs/celt/DETAILS7
-rw-r--r--audio-libs/celt/HISTORY3
-rwxr-xr-xaudio-libs/faad2/DETAILS7
-rw-r--r--audio-libs/faad2/HISTORY3
-rwxr-xr-xaudio-players/moc/DETAILS7
-rw-r--r--audio-players/moc/HISTORY3
-rwxr-xr-xaudio-plugins/quodlibet-plugins/DETAILS7
-rw-r--r--audio-plugins/quodlibet-plugins/HISTORY3
-rwxr-xr-xaudio-soft/qjackctl/DETAILS8
-rw-r--r--audio-soft/qjackctl/HISTORY3
-rwxr-xr-xchat-im/amsn/DETAILS7
-rw-r--r--chat-im/amsn/HISTORY3
-rwxr-xr-xchat-im/choqok/DETAILS7
-rw-r--r--chat-im/choqok/HISTORY3
-rwxr-xr-xchat-im/licq/DETAILS7
-rw-r--r--chat-im/licq/HISTORY3
-rwxr-xr-xchat-im/profanity/DETAILS7
-rw-r--r--chat-im/profanity/HISTORY3
-rwxr-xr-xchat-im/vacuum/DETAILS7
-rw-r--r--chat-im/vacuum/HISTORY3
-rwxr-xr-xchat-irc/irssi/DETAILS7
-rw-r--r--chat-irc/irssi/HISTORY3
-rwxr-xr-xchat-irc/weechat/DETAILS8
-rw-r--r--chat-irc/weechat/HISTORY3
-rwxr-xr-xchat-libs/opal/DETAILS7
-rw-r--r--chat-libs/opal/HISTORY3
-rwxr-xr-xchat-libs/ptlib/DETAILS7
-rw-r--r--chat-libs/ptlib/HISTORY3
-rwxr-xr-xcluster/ocfs2-tools/DETAILS7
-rw-r--r--cluster/ocfs2-tools/HISTORY3
-rwxr-xr-xcrypto/gpa/DETAILS7
-rw-r--r--crypto/gpa/HISTORY3
-rwxr-xr-xdevel/b43-tools/DETAILS7
-rw-r--r--devel/b43-tools/HISTORY3
-rwxr-xr-xdevel/codeblocks/DETAILS7
-rw-r--r--devel/codeblocks/HISTORY3
-rwxr-xr-xdevel/gccxml/DETAILS7
-rw-r--r--devel/gccxml/HISTORY3
-rwxr-xr-xdevel/gcl/DETAILS7
-rw-r--r--devel/gcl/HISTORY3
-rwxr-xr-xdevel/libunwind/DETAILS8
-rw-r--r--devel/libunwind/HISTORY3
-rwxr-xr-xdevel/mlgmpidl/DETAILS7
-rw-r--r--devel/mlgmpidl/HISTORY3
-rwxr-xr-xdevel/qgrit/DETAILS8
-rw-r--r--devel/qgrit/HISTORY3
-rwxr-xr-xdevel/valgrind/DETAILS8
-rw-r--r--devel/valgrind/HISTORY3
-rwxr-xr-xdisk/btrfs-progs/DETAILS7
-rw-r--r--disk/btrfs-progs/HISTORY3
-rwxr-xr-xdisk/cdrdao/DETAILS7
-rw-r--r--disk/cdrdao/HISTORY3
-rwxr-xr-xdisk/fuse-google-drive/DETAILS7
-rw-r--r--disk/fuse-google-drive/HISTORY3
-rwxr-xr-xdisk/fuse/DETAILS7
-rw-r--r--disk/fuse/HISTORY3
-rwxr-xr-xdisk/libburn/DETAILS7
-rw-r--r--disk/libburn/HISTORY3
-rwxr-xr-xdisk/libisoburn/DETAILS7
-rw-r--r--disk/libisoburn/HISTORY3
-rwxr-xr-xdisk/libisofs/DETAILS7
-rw-r--r--disk/libisofs/HISTORY3
-rwxr-xr-xdisk/partimage-ng/DETAILS7
-rw-r--r--disk/partimage-ng/HISTORY3
-rwxr-xr-xdoc/fbreader/DETAILS7
-rw-r--r--doc/fbreader/HISTORY3
-rwxr-xr-xe-16/e16/DETAILS7
-rw-r--r--e-16/e16/HISTORY3
-rwxr-xr-xe-17/e17/DETAILS7
-rw-r--r--e-17/e17/HISTORY3
-rwxr-xr-xe-17/edbus/DETAILS7
-rw-r--r--e-17/edbus/HISTORY3
-rwxr-xr-xe-17/edje/DETAILS7
-rw-r--r--e-17/edje/HISTORY3
-rwxr-xr-xe-17/efl/DETAILS7
-rw-r--r--e-17/efl/HISTORY3
-rwxr-xr-xe-17/emap/DETAILS7
-rw-r--r--e-17/emap/HISTORY3
-rwxr-xr-xe-17/emotion/DETAILS7
-rw-r--r--e-17/emotion/HISTORY3
-rwxr-xr-xe-17/emotion_generic_players/DETAILS7
-rw-r--r--e-17/emotion_generic_players/HISTORY3
-rwxr-xr-xe-17/enki/DETAILS7
-rw-r--r--e-17/enki/HISTORY3
-rwxr-xr-xe-17/enna/DETAILS7
-rw-r--r--e-17/enna/HISTORY3
-rwxr-xr-xe-17/eobj/DETAILS7
-rw-r--r--e-17/eobj/HISTORY3
-rwxr-xr-xe-17/ephoto/DETAILS7
-rw-r--r--e-17/ephoto/HISTORY3
-rwxr-xr-xe-17/ephysics/DETAILS7
-rw-r--r--e-17/ephysics/HISTORY3
-rwxr-xr-xe-17/erss/DETAILS7
-rw-r--r--e-17/erss/HISTORY3
-rwxr-xr-xe-17/evas_generic_loaders/DETAILS7
-rw-r--r--e-17/evas_generic_loaders/HISTORY3
-rwxr-xr-xe-17/evfs/DETAILS7
-rw-r--r--e-17/evfs/HISTORY3
-rwxr-xr-xe-17/eweather/DETAILS7
-rw-r--r--e-17/eweather/HISTORY3
-rwxr-xr-xe-17/ewl/DETAILS7
-rw-r--r--e-17/ewl/HISTORY3
-rwxr-xr-xe-17/ewler/DETAILS7
-rw-r--r--e-17/ewler/HISTORY3
-rwxr-xr-xe-17/exchange/DETAILS7
-rw-r--r--e-17/exchange/HISTORY3
-rwxr-xr-xe-17/eyelight/DETAILS7
-rw-r--r--e-17/eyelight/HISTORY3
-rwxr-xr-xe-17/iconbar/DETAILS7
-rw-r--r--e-17/iconbar/HISTORY3
-rwxr-xr-xe-17/libeweather/DETAILS7
-rw-r--r--e-17/libeweather/HISTORY3
-rwxr-xr-xe-17/shellementary/DETAILS7
-rw-r--r--e-17/shellementary/HISTORY3
-rwxr-xr-xe-17/terminology/DETAILS7
-rw-r--r--e-17/terminology/HISTORY3
-rwxr-xr-xeditors/emacs/DETAILS7
-rw-r--r--editors/emacs/HISTORY3
-rwxr-xr-xeditors/sandy/DETAILS7
-rw-r--r--editors/sandy/HISTORY3
-rwxr-xr-xeditors/tidy/DETAILS6
-rw-r--r--editors/tidy/HISTORY3
-rwxr-xr-xeditors/vim-gnupg/DETAILS7
-rw-r--r--editors/vim-gnupg/HISTORY3
-rwxr-xr-xeditors/vim/DETAILS9
-rw-r--r--editors/vim/HISTORY3
-rwxr-xr-xeditors/vimoutliner/DETAILS7
-rw-r--r--editors/vimoutliner/HISTORY3
-rwxr-xr-xemacs-lisp/clojure-mode/DETAILS7
-rw-r--r--emacs-lisp/clojure-mode/HISTORY3
-rwxr-xr-xemacs-lisp/cluck/DETAILS7
-rw-r--r--emacs-lisp/cluck/HISTORY3
-rwxr-xr-xemacs-lisp/coffee-mode/DETAILS7
-rw-r--r--emacs-lisp/coffee-mode/HISTORY3
-rwxr-xr-xemacs-lisp/egg/DETAILS7
-rw-r--r--emacs-lisp/egg/HISTORY3
-rwxr-xr-xemacs-lisp/emacs-goodies-el/DETAILS7
-rw-r--r--emacs-lisp/emacs-goodies-el/HISTORY3
-rwxr-xr-xemacs-lisp/fill-column-indicator/DETAILS7
-rw-r--r--emacs-lisp/fill-column-indicator/HISTORY3
-rwxr-xr-xemacs-lisp/haml-mode/DETAILS7
-rw-r--r--emacs-lisp/haml-mode/HISTORY3
-rwxr-xr-xemacs-lisp/identica-mode/DETAILS7
-rw-r--r--emacs-lisp/identica-mode/HISTORY3
-rwxr-xr-xemacs-lisp/scss-mode/DETAILS7
-rw-r--r--emacs-lisp/scss-mode/HISTORY3
-rwxr-xr-xemacs-lisp/sinatra_el/DETAILS7
-rw-r--r--emacs-lisp/sinatra_el/HISTORY3
-rwxr-xr-xftp/fatrat/DETAILS12
-rw-r--r--ftp/fatrat/HISTORY3
-rwxr-xr-xftp/rsync/DETAILS7
-rw-r--r--ftp/rsync/HISTORY3
-rwxr-xr-xgnome2-libs/librep2/DETAILS7
-rw-r--r--gnome2-libs/librep2/HISTORY3
-rwxr-xr-xgraphics-libs/harfbuzz/DETAILS7
-rw-r--r--graphics-libs/harfbuzz/HISTORY3
-rwxr-xr-xgraphics-libs/libgxps/DETAILS7
-rw-r--r--graphics-libs/libgxps/HISTORY3
-rwxr-xr-xgraphics-libs/mesalib/DETAILS8
-rw-r--r--graphics-libs/mesalib/HISTORY3
-rwxr-xr-xgraphics-libs/poppler/DETAILS7
-rw-r--r--graphics-libs/poppler/HISTORY3
-rwxr-xr-xgraphics/blender/DETAILS7
-rw-r--r--graphics/blender/HISTORY3
-rwxr-xr-xgraphics/blender_cvs/DETAILS7
-rw-r--r--graphics/blender_cvs/HISTORY3
-rwxr-xr-xgraphics/darktable/DETAILS7
-rw-r--r--graphics/darktable/HISTORY3
-rwxr-xr-xgraphics/lensfun/DETAILS7
-rw-r--r--graphics/lensfun/HISTORY3
-rwxr-xr-xgraphics/mypaint/DETAILS7
-rw-r--r--graphics/mypaint/HISTORY3
-rwxr-xr-xgraphics/topmod/DETAILS7
-rw-r--r--graphics/topmod/HISTORY3
-rwxr-xr-xgraphics/xaralx/DETAILS7
-rw-r--r--graphics/xaralx/HISTORY3
-rwxr-xr-xhttp/dillo/DETAILS7
-rw-r--r--http/dillo/HISTORY3
-rwxr-xr-xhttp/dillo2/DETAILS7
-rw-r--r--http/dillo2/HISTORY3
-rwxr-xr-xhttp/eflwebkit/DETAILS7
-rw-r--r--http/eflwebkit/HISTORY3
-rwxr-xr-xhttp/elinks/DETAILS7
-rw-r--r--http/elinks/HISTORY3
-rwxr-xr-xhttp/midori/DETAILS7
-rw-r--r--http/midori/HISTORY3
-rwxr-xr-xhttp/surf/DETAILS8
-rw-r--r--http/surf/HISTORY3
-rwxr-xr-xkde4-support/phonon-backend-mplayer/DETAILS7
-rw-r--r--kde4-support/phonon-backend-mplayer/HISTORY3
-rwxr-xr-xkernels/drm/DETAILS8
-rw-r--r--kernels/drm/HISTORY3
-rwxr-xr-xkernels/solo6x10/DETAILS8
-rw-r--r--kernels/solo6x10/HISTORY3
-rwxr-xr-xlibs/dietlibc/DETAILS7
-rw-r--r--libs/dietlibc/HISTORY3
-rwxr-xr-xlibs/dw2/DETAILS7
-rw-r--r--libs/dw2/HISTORY3
-rwxr-xr-xlibs/gfreenect/DETAILS7
-rw-r--r--libs/gfreenect/HISTORY3
-rwxr-xr-xlibs/glibc/DETAILS13
-rw-r--r--libs/glibc/HISTORY3
-rwxr-xr-xlibs/libdrm/DETAILS7
-rw-r--r--libs/libdrm/HISTORY3
-rwxr-xr-xlibs/libfreenect/DETAILS7
-rw-r--r--libs/libfreenect/HISTORY3
-rwxr-xr-xlibs/libnfc/DETAILS7
-rw-r--r--libs/libnfc/HISTORY3
-rwxr-xr-xlibs/openni-sensor/DETAILS7
-rw-r--r--libs/openni-sensor/HISTORY3
-rwxr-xr-xlibs/openni-sensorkinect/DETAILS7
-rw-r--r--libs/openni-sensorkinect/HISTORY3
-rwxr-xr-xlibs/openni/DETAILS7
-rw-r--r--libs/openni/HISTORY3
-rwxr-xr-xlibs/osceleton/DETAILS7
-rw-r--r--libs/osceleton/HISTORY3
-rwxr-xr-xlibs/python-ant/DETAILS7
-rw-r--r--libs/python-ant/HISTORY3
-rwxr-xr-xlibs/qoauth/DETAILS7
-rw-r--r--libs/qoauth/HISTORY3
-rwxr-xr-xlibs/sdl2/DETAILS7
-rw-r--r--libs/sdl2/HISTORY3
-rwxr-xr-xlibs/talloc/DETAILS7
-rw-r--r--libs/talloc/HISTORY3
-rwxr-xr-xmail/mutt/DETAILS7
-rw-r--r--mail/mutt/HISTORY3
-rwxr-xr-xnet/conntrack/DETAILS7
-rw-r--r--net/conntrack/HISTORY3
-rwxr-xr-xnet/pppd-chldap/DETAILS7
-rw-r--r--net/pppd-chldap/HISTORY3
-rwxr-xr-xnet/samba4/DETAILS7
-rw-r--r--net/samba4/HISTORY3
-rwxr-xr-xphp-pear/php-dev/DETAILS9
-rw-r--r--php-pear/php-dev/HISTORY3
-rwxr-xr-xpython-pypi/gitosis/DETAILS7
-rw-r--r--python-pypi/gitosis/HISTORY3
-rwxr-xr-xpython-pypi/python-efl/DETAILS7
-rw-r--r--python-pypi/python-efl/HISTORY3
-rwxr-xr-xpython-pypi/scrapely/DETAILS7
-rw-r--r--python-pypi/scrapely/HISTORY3
-rwxr-xr-xscience/gpsbabel/DETAILS7
-rw-r--r--science/gpsbabel/HISTORY3
-rwxr-xr-xshell-term-fm/tty-clock/DETAILS7
-rw-r--r--shell-term-fm/tty-clock/HISTORY3
-rwxr-xr-xsmgl/castfs/DETAILS8
-rw-r--r--smgl/castfs/HISTORY3
-rwxr-xr-xsmgl/guru-tools/DETAILS7
-rw-r--r--smgl/guru-tools/HISTORY3
-rwxr-xr-xsmgl/quill/DETAILS8
-rw-r--r--smgl/quill/HISTORY3
-rwxr-xr-xutils/bibletime4/DETAILS7
-rw-r--r--utils/bibletime4/HISTORY3
-rwxr-xr-xutils/dbus-mono/DETAILS7
-rw-r--r--utils/dbus-mono/HISTORY3
-rwxr-xr-xutils/flashrom/DETAILS8
-rw-r--r--utils/flashrom/HISTORY3
-rwxr-xr-xutils/gnuplot/DETAILS7
-rw-r--r--utils/gnuplot/HISTORY3
-rwxr-xr-xutils/openmoko-dfu-util/DETAILS7
-rw-r--r--utils/openmoko-dfu-util/HISTORY3
-rwxr-xr-xutils/renouveau/DETAILS7
-rw-r--r--utils/renouveau/HISTORY3
-rwxr-xr-xutils/vbtracetool/DETAILS7
-rw-r--r--utils/vbtracetool/HISTORY3
-rwxr-xr-xvideo/animata/DETAILS7
-rw-r--r--video/animata/HISTORY3
-rwxr-xr-xvideo/dvdauthor/DETAILS7
-rw-r--r--video/dvdauthor/HISTORY3
-rwxr-xr-xvideo/minitube/DETAILS7
-rw-r--r--video/minitube/HISTORY3
-rwxr-xr-xvideo/mlt/DETAILS7
-rw-r--r--video/mlt/HISTORY3
-rwxr-xr-xvideo/mplayer/DETAILS7
-rw-r--r--video/mplayer/HISTORY3
-rwxr-xr-xvideo/mplayer2/DETAILS7
-rw-r--r--video/mplayer2/HISTORY3
-rwxr-xr-xwindowmanagers/blackbox/DETAILS7
-rw-r--r--windowmanagers/blackbox/HISTORY3
-rwxr-xr-xwindowmanagers/fluxbox/DETAILS7
-rw-r--r--windowmanagers/fluxbox/HISTORY3
-rwxr-xr-xwindowmanagers/fvwm/DETAILS7
-rw-r--r--windowmanagers/fvwm/HISTORY3
-rwxr-xr-xwindowmanagers/wmii/DETAILS8
-rw-r--r--windowmanagers/wmii/HISTORY3
-rwxr-xr-xwm-addons/obvious/DETAILS7
-rw-r--r--wm-addons/obvious/HISTORY3
-rwxr-xr-xwm-addons/wicked/DETAILS7
-rw-r--r--wm-addons/wicked/HISTORY3
-rwxr-xr-xx11-libs/wine/DETAILS7
-rw-r--r--x11-libs/wine/HISTORY3
-rwxr-xr-xx11/freenx/DETAILS7
-rw-r--r--x11/freenx/HISTORY3
-rwxr-xr-xx11/transset/DETAILS7
-rw-r--r--x11/transset/HISTORY3
-rwxr-xr-xxfce/xfburn/DETAILS7
-rw-r--r--xfce/xfburn/HISTORY3
-rwxr-xr-xxorg-driver/wizardpen/DETAILS7
-rw-r--r--xorg-driver/wizardpen/HISTORY3
-rwxr-xr-xxorg-driver/xf86-video-ati/DETAILS7
-rw-r--r--xorg-driver/xf86-video-ati/HISTORY3
-rwxr-xr-xxorg-driver/xf86-video-openchrome/DETAILS7
-rw-r--r--xorg-driver/xf86-video-openchrome/HISTORY3
332 files changed, 840 insertions, 861 deletions
diff --git a/archive/bacula/DETAILS b/archive/bacula/DETAILS
index edf3ab7985..0e0e171132 100755
--- a/archive/bacula/DETAILS
+++ b/archive/bacula/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=bacula
if [[ $BACULA_BRANCH == scm ]]; then
- if [[ $BACULA_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_IGNORE=volatile
diff --git a/archive/bacula/HISTORY b/archive/bacula/HISTORY
index ecd8152aab..3187107dd1 100644
--- a/archive/bacula/HISTORY
+++ b/archive/bacula/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-15 Ismael Luceno <ismael@sourcemage.org>
* BUILD, DEPENDS, DETAILS, PREPARE: Use prepare_select_branch
diff --git a/archive/burp/DETAILS b/archive/burp/DETAILS
index 183c68b4e8..e5e687b3d6 100755
--- a/archive/burp/DETAILS
+++ b/archive/burp/DETAILS
@@ -1,34 +1,28 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=burp
-if [[ $BURP_BRANCH == scm ]]; then
- if [[ $BURP_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+case "$BURP_BRANCH"
+in scm) VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=git://github.com/grke/burp.git:$SPELL
SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
-elif [[ $BURP_BRANCH == devel ]]; then
- VERSION=1.4.16
+;;devel) VERSION=1.4.16
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
SOURCE_HASH=sha512:7cf4a49362e7466b50398151f31f44128e774aa547ee17f3ab8f77a3aa52cd55f602f29563e0c91edb5b261a98b5a436d1cc9d132c67aa11450eb657fa323641
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
-elif [[ $BURP_BRANCH == stable ]]; then
- VERSION=1.3.48
+;;stable)VERSION=1.3.48
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
SOURCE_HASH=sha512:08de252f25ff7aa448dd6768272a9a14622902347445313b570c857b4e690374e92956379d5b388f446a88427fc4924f9c0df83cba390aa15fd040b8e92f1946
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
-else
- VERSION=1.3.10
+;;*) VERSION=1.3.10
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
SOURCE_HASH=sha512:ed540ed4091c7c1b0aeaf62b276e7fe07f4ae1ca92c67a3eb081c431b687b7aba6d6648a0f3d7ec122ae02d39fd5ed03ed263a68285fd3423615079844e8217f
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
-fi
+esac
WEB_SITE=http://burp.grke.net/
ENTERED=20130118
LICENSE[0]=AGPL
diff --git a/archive/burp/HISTORY b/archive/burp/HISTORY
index 503af10830..60f6a7c8e8 100644
--- a/archive/burp/HISTORY
+++ b/archive/burp/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-07-01 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 1.4.16 (devel)
diff --git a/audio-creation/audacity/DETAILS b/audio-creation/audacity/DETAILS
index 9f48789797..6ac18d08f9 100755
--- a/audio-creation/audacity/DETAILS
+++ b/audio-creation/audacity/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=audacity
case "$AUDACITY_BRANCH"
in scm)
- if [ "$AUDACITY_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_URL[0]="cvs://:pserver:anonymous@cvs.sourceforge.net:/cvsroot/audacity:audacity"
SOURCE_IGNORE=volatile
diff --git a/audio-creation/audacity/HISTORY b/audio-creation/audacity/HISTORY
index 04a2720219..0425af02ac 100644
--- a/audio-creation/audacity/HISTORY
+++ b/audio-creation/audacity/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-08-26 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 2.0.2
* DETAILS, PREPARE: removed option to build beta version since
diff --git a/audio-drivers/alsa-driver/DETAILS b/audio-drivers/alsa-driver/DETAILS
index 99ee902f06..5d15e82666 100755
--- a/audio-drivers/alsa-driver/DETAILS
+++ b/audio-drivers/alsa-driver/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=alsa-driver
if [[ $ALSA_DRIVER_BRANCH == scm ]]; then
- if [[ $ALSA_DRIVER_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE2=alsa-kmirror-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-driver.git:alsa-driver-git
diff --git a/audio-drivers/alsa-driver/HISTORY b/audio-drivers/alsa-driver/HISTORY
index a9dad608ee..a7d9f45a68 100644
--- a/audio-drivers/alsa-driver/HISTORY
+++ b/audio-drivers/alsa-driver/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-09-08 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.0.25
* BUILD: add --enable-dynamic-minors to $OPTS
diff --git a/audio-drivers/alsa-firmware/DETAILS b/audio-drivers/alsa-firmware/DETAILS
index 80f9f030d3..2d3b66c911 100755
--- a/audio-drivers/alsa-firmware/DETAILS
+++ b/audio-drivers/alsa-firmware/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=alsa-firmware
if [[ $ALSA_FIRMWARE_BRANCH == scm ]]; then
- if [[ $ALSA_FIRMWARE_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-firmware.git:alsa-firmware-git
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/alsa-firmware/HISTORY b/audio-drivers/alsa-firmware/HISTORY
index 2cbbb71b7a..f90d20ccf9 100644
--- a/audio-drivers/alsa-firmware/HISTORY
+++ b/audio-drivers/alsa-firmware/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-09-08 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.0.25
diff --git a/audio-drivers/alsa-lib/DETAILS b/audio-drivers/alsa-lib/DETAILS
index 4a2ff07e15..9c95489de6 100755
--- a/audio-drivers/alsa-lib/DETAILS
+++ b/audio-drivers/alsa-lib/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=alsa-lib
if [[ $ALSA_LIB_BRANCH == scm ]]; then
- if [[ $ALSA_LIB_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-lib.git:alsa-lib-git
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/alsa-lib/HISTORY b/audio-drivers/alsa-lib/HISTORY
index 2dcef59d8d..bf5f8b2094 100644
--- a/audio-drivers/alsa-lib/HISTORY
+++ b/audio-drivers/alsa-lib/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-18 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.0.28
diff --git a/audio-drivers/alsa-oss/DETAILS b/audio-drivers/alsa-oss/DETAILS
index f3fadce621..7de5390b19 100755
--- a/audio-drivers/alsa-oss/DETAILS
+++ b/audio-drivers/alsa-oss/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=alsa-oss
if [[ $ALSA_OSS_BRANCH == scm ]]; then
- if [[ $ALSA_OSS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-oss.git:alsa-oss-git
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/alsa-oss/HISTORY b/audio-drivers/alsa-oss/HISTORY
index 9a1c42bcfa..46bd2d98dc 100644
--- a/audio-drivers/alsa-oss/HISTORY
+++ b/audio-drivers/alsa-oss/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-09-08 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.0.25
diff --git a/audio-drivers/alsa-plugins/DETAILS b/audio-drivers/alsa-plugins/DETAILS
index 57af1f55fd..f2a8b2e101 100755
--- a/audio-drivers/alsa-plugins/DETAILS
+++ b/audio-drivers/alsa-plugins/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=alsa-plugins
if [[ $ALSA_PLUGINS_BRANCH == scm ]]; then
- if [[ $ALSA_PLUGINS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-plugins.git:alsa-plugins-git
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/alsa-plugins/HISTORY b/audio-drivers/alsa-plugins/HISTORY
index 20a4577765..9320d28d6b 100644
--- a/audio-drivers/alsa-plugins/HISTORY
+++ b/audio-drivers/alsa-plugins/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-09-08 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.0.26
diff --git a/audio-drivers/alsa-tools/DETAILS b/audio-drivers/alsa-tools/DETAILS
index 310755a3a1..5d86f020b4 100755
--- a/audio-drivers/alsa-tools/DETAILS
+++ b/audio-drivers/alsa-tools/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=alsa-tools
if [[ $ALSA_TOOLS_BRANCH == scm ]]; then
- if [[ $ALSA_TOOLS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-tools.git:alsa-tools-git
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/alsa-tools/HISTORY b/audio-drivers/alsa-tools/HISTORY
index 98e6f58088..9855e1be94 100644
--- a/audio-drivers/alsa-tools/HISTORY
+++ b/audio-drivers/alsa-tools/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-11-18 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DEPENDS: added dependency on gtk+2
diff --git a/audio-drivers/alsa-utils/DETAILS b/audio-drivers/alsa-utils/DETAILS
index 26920f3797..2d3087906b 100755
--- a/audio-drivers/alsa-utils/DETAILS
+++ b/audio-drivers/alsa-utils/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=alsa-utils
if [[ $ALSA_UTILS_BRANCH == scm ]]; then
- if [[ $ALSA_UTILS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-utils.git:alsa-utils-git
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/alsa-utils/HISTORY b/audio-drivers/alsa-utils/HISTORY
index 1ecebf41c6..a71b3920c8 100644
--- a/audio-drivers/alsa-utils/HISTORY
+++ b/audio-drivers/alsa-utils/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-18 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.0.28
diff --git a/audio-drivers/jack/DETAILS b/audio-drivers/jack/DETAILS
index d903b2b2cb..55f6d9ceb6 100755
--- a/audio-drivers/jack/DETAILS
+++ b/audio-drivers/jack/DETAILS
@@ -1,12 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=jack
if [[ $JACK_BRANCH == scm ]]
then
- if [[ $JACK_AUTOUPDATE == y ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=svn_http://subversion.jackaudio.org/jack/trunk/jack:jack
diff --git a/audio-drivers/jack/HISTORY b/audio-drivers/jack/HISTORY
index 24adffbf3b..7a74e023ef 100644
--- a/audio-drivers/jack/HISTORY
+++ b/audio-drivers/jack/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-03-23 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 0.124.1
* DEPENDS: add optional dependencies on zita-alsa-pcmi and libffado
diff --git a/audio-drivers/jack2/DETAILS b/audio-drivers/jack2/DETAILS
index 74371ef026..751a9bebd5 100755
--- a/audio-drivers/jack2/DETAILS
+++ b/audio-drivers/jack2/DETAILS
@@ -1,12 +1,9 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=jack2
SPELLX=jack
WEB_SITE=http://jackaudio.org/
if [[ $JACK2_BRANCH == scm ]]; then
- if [[ $JACK2_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL[0]=svn_http://subversion.jackaudio.org/jack/jack2/trunk/jackmp:jackdmp
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/jack2/HISTORY b/audio-drivers/jack2/HISTORY
index 4e8947434e..ee09ab7557 100644
--- a/audio-drivers/jack2/HISTORY
+++ b/audio-drivers/jack2/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-03-19 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* BUILD: fix build error due to incompatibility with waf_build
* DEPENDS: add dependency on dbus-python
diff --git a/audio-drivers/libffado/DETAILS b/audio-drivers/libffado/DETAILS
index b6dcbf9384..f19431d13a 100755
--- a/audio-drivers/libffado/DETAILS
+++ b/audio-drivers/libffado/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libffado
if [[ "$LIBFFADO_BRANCH" == scm ]]; then
- if [[ "$LIBFFADO_AUTOUPDATE" == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL=svn_http://subversion.ffado.org/ffado/branches/libffado-2.0:$SPELL-svn
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/libffado/HISTORY b/audio-drivers/libffado/HISTORY
index a181b3f70a..1fcba89a1a 100644
--- a/audio-drivers/libffado/HISTORY
+++ b/audio-drivers/libffado/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-02-12 Thomas Orgis <sobukus@sourcemage.org>
* DETAILS, DEPENDS: Bump to 2.1.0
diff --git a/audio-drivers/portaudio19/DETAILS b/audio-drivers/portaudio19/DETAILS
index 12afafb5a2..13cf9e2ecb 100755
--- a/audio-drivers/portaudio19/DETAILS
+++ b/audio-drivers/portaudio19/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=portaudio19
case ${PORTAUDIO19_BRANCH} in
scm)
-if [[ "$PORTAUDIO19_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=cvs
-fi
+ VERSION=$(get_scm_version)
# SOURCE_URL=svn://www.portaudio.com/repos/portaudio/branches/v19-devel
SOURCE=${SPELL}_cvs.tar.bz2
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/portaudio19/HISTORY b/audio-drivers/portaudio19/HISTORY
index 6aa46f0d48..ed83dc3313 100644
--- a/audio-drivers/portaudio19/HISTORY
+++ b/audio-drivers/portaudio19/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-02-17 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: stable_v19_20140130
diff --git a/audio-drivers/pyalsa/DETAILS b/audio-drivers/pyalsa/DETAILS
index de2141a3bf..977e5564f1 100755
--- a/audio-drivers/pyalsa/DETAILS
+++ b/audio-drivers/pyalsa/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=pyalsa
if [[ $PYALSA_BRANCH == scm ]]; then
- if [[ $PYALSA_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.alsa-project.org/alsa-python.git:pyalsa-git
SOURCE_IGNORE=volatile
diff --git a/audio-drivers/pyalsa/HISTORY b/audio-drivers/pyalsa/HISTORY
index 25a942aa1e..8448029304 100644
--- a/audio-drivers/pyalsa/HISTORY
+++ b/audio-drivers/pyalsa/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-09-08 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.0.26
diff --git a/audio-libs/celt/DETAILS b/audio-libs/celt/DETAILS
index c9124694a8..b8c3aefff4 100755
--- a/audio-libs/celt/DETAILS
+++ b/audio-libs/celt/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=celt
if [[ $CELT_BRANCH == scm ]]; then
- if [[ $CELT_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
SOURCE_URL[0]=git_http://git.xiph.org/celt.git:$SPELL
diff --git a/audio-libs/celt/HISTORY b/audio-libs/celt/HISTORY
index 7b80e840d4..5a01fb7cf7 100644
--- a/audio-libs/celt/HISTORY
+++ b/audio-libs/celt/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-01-30 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 0.11.1
diff --git a/audio-libs/faad2/DETAILS b/audio-libs/faad2/DETAILS
index f0b68641eb..9b6e8239f7 100755
--- a/audio-libs/faad2/DETAILS
+++ b/audio-libs/faad2/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=faad2
if [ "$FAAD2_BRANCH" = "scm" ]; then
- if [ "$FAAD2_AUTOUPDATE" = "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_URL[0]=cvs://:pserver:anonymous@cvs.sourceforge.net:/cvsroot/faac:faad2
SOURCE_IGNORE=volatile
diff --git a/audio-libs/faad2/HISTORY b/audio-libs/faad2/HISTORY
index 1a62ddfb9e..a05161df85 100644
--- a/audio-libs/faad2/HISTORY
+++ b/audio-libs/faad2/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-02-01 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* PRE_BUILD: remove use of obsolete macro in configure.in
diff --git a/audio-players/moc/DETAILS b/audio-players/moc/DETAILS
index 1b14df6d62..5a2b02b27d 100755
--- a/audio-players/moc/DETAILS
+++ b/audio-players/moc/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=moc
if [[ "$MOC_BRANCH" == "scm" ]]; then
- if [[ "$MOC_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
- else
- VERSION=svn
- fi
SOURCE=${SPELL}-svn.tar.bz2
SOURCE_URL[0]=svn://daper.net/moc/trunk:moc
SOURCE_IGNORE=volatile
diff --git a/audio-players/moc/HISTORY b/audio-players/moc/HISTORY
index 951c7b05b6..9cdb0865c4 100644
--- a/audio-players/moc/HISTORY
+++ b/audio-players/moc/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-10-28 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: added unstable version 2.5.0-beta1
* PREPARE: use prepare_select_branch
diff --git a/audio-plugins/quodlibet-plugins/DETAILS b/audio-plugins/quodlibet-plugins/DETAILS
index e722ae57e9..501412e5bc 100755
--- a/audio-plugins/quodlibet-plugins/DETAILS
+++ b/audio-plugins/quodlibet-plugins/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=quodlibet-plugins
-if test "$QUODLIBET_PLUGINS_AUTOUPDATE" = "y"; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL.tar.bz2
SOURCE_IGNORE=volatile
SOURCE_HINTS=old_svn_compat
diff --git a/audio-plugins/quodlibet-plugins/HISTORY b/audio-plugins/quodlibet-plugins/HISTORY
index f9d2c3c592..71f1ebb957 100644
--- a/audio-plugins/quodlibet-plugins/HISTORY
+++ b/audio-plugins/quodlibet-plugins/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2006-10-29 Alexander Tsamutali <astsmtl@gmail.com>
* DETAILS: removed BUILD_API=2
DEPENDS: fixed, svn changed to subversion
diff --git a/audio-soft/qjackctl/DETAILS b/audio-soft/qjackctl/DETAILS
index 3a1f5981d8..0d483da456 100755
--- a/audio-soft/qjackctl/DETAILS
+++ b/audio-soft/qjackctl/DETAILS
@@ -1,12 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=qjackctl
if [[ $QJACKCTL_BRANCH == scm ]]
then
- if [[ $QJACKCTL_AUTOUPDATE == y ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-cvs"
SOURCE_URL[0]=cvs://:pserver:anonymous@qjackctl.cvs.sourceforge.net:/cvsroot/qjackctl:qjackctl
diff --git a/audio-soft/qjackctl/HISTORY b/audio-soft/qjackctl/HISTORY
index 97fb799996..aab46e9b76 100644
--- a/audio-soft/qjackctl/HISTORY
+++ b/audio-soft/qjackctl/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-03-19 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 0.3.11
* BUILD: set path to qt4
diff --git a/chat-im/amsn/DETAILS b/chat-im/amsn/DETAILS
index 0517de5de0..dfe2fc4586 100755
--- a/chat-im/amsn/DETAILS
+++ b/chat-im/amsn/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=amsn
if [[ $AMSN_BRANCH == scm ]]; then
- if [[ $AMSN_AUTOUPDATE == y ]]; then
- VERSION="$(date +%Y%m%d)"
- else
- VERSION=svnsnapshot
- fi
+ VERSION="$(get_scm_version)"
SOURCE=${SPELL}_dev.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/msn
SOURCE_IGNORE=volatile
diff --git a/chat-im/amsn/HISTORY b/chat-im/amsn/HISTORY
index 784aba2579..30cd2764cc 100644
--- a/chat-im/amsn/HISTORY
+++ b/chat-im/amsn/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-10-12 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: libv4l -> v4l-utils
diff --git a/chat-im/choqok/DETAILS b/chat-im/choqok/DETAILS
index cefd432281..26cd4499bf 100755
--- a/chat-im/choqok/DETAILS
+++ b/chat-im/choqok/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=choqok
if [[ "$CHOQOK_BRANCH" = scm ]]; then
- if [[ "$CHOQOK_AUTOUPDATE" = y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL=git://git.kde.org/choqok
SOURCE_IGNORE=volatile
diff --git a/chat-im/choqok/HISTORY b/chat-im/choqok/HISTORY
index d330970191..3540463580 100644
--- a/chat-im/choqok/HISTORY
+++ b/chat-im/choqok/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-20 Ismael Luceno <ismael@sourcemage.org>
* PREPARE, DETAILS: Use prepare_select_branch
diff --git a/chat-im/licq/DETAILS b/chat-im/licq/DETAILS
index ecec6c7126..5d9f724f65 100755
--- a/chat-im/licq/DETAILS
+++ b/chat-im/licq/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=licq
if [[ "$LICQ_BRANCH" == "scm" ]]; then
- if [[ "$LICQ_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://github.com/licq-im/licq.git:licq
SOURCE_IGNORE=volatile
diff --git a/chat-im/licq/HISTORY b/chat-im/licq/HISTORY
index cdfde99c46..ac4968a871 100644
--- a/chat-im/licq/HISTORY
+++ b/chat-im/licq/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-01 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.8.2
diff --git a/chat-im/profanity/DETAILS b/chat-im/profanity/DETAILS
index 79473fed8c..1e49f9b907 100755
--- a/chat-im/profanity/DETAILS
+++ b/chat-im/profanity/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=profanity
if [[ ${PROFANITY_BRANCH} == scm ]]; then
- if [[ ${PROFANITY_AUTOUPDATE} == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-${VERSION}.tar.bz2
SOURCE_URL[0]=git://github.com/boothj5/${SPELL}.git
SOURCE_IGNORE=volatile
diff --git a/chat-im/profanity/HISTORY b/chat-im/profanity/HISTORY
index 1513a048f8..00e824bee3 100644
--- a/chat-im/profanity/HISTORY
+++ b/chat-im/profanity/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-10-13 Jeremy Blosser <jblosser@sourcemage.org>
* DETAILS, PREPARE, DEPENDS, PRE_BUILD: spell created
diff --git a/chat-im/vacuum/DETAILS b/chat-im/vacuum/DETAILS
index ba7cb19f05..a9e5f11f2b 100755
--- a/chat-im/vacuum/DETAILS
+++ b/chat-im/vacuum/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=vacuum
-if test "$VACUUM_AUTOUPDATE" = "y"; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
diff --git a/chat-im/vacuum/HISTORY b/chat-im/vacuum/HISTORY
index 393c51a083..329f9610ac 100644
--- a/chat-im/vacuum/HISTORY
+++ b/chat-im/vacuum/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-03-07 Pol Vinogradov <vin.public@gmail.com>
* BUILD: switched to qt4_cmake_build
* DEPENDS: added cmake
diff --git a/chat-irc/irssi/DETAILS b/chat-irc/irssi/DETAILS
index 6a156ad7b5..aa7ad006b2 100755
--- a/chat-irc/irssi/DETAILS
+++ b/chat-irc/irssi/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=irssi
if [[ $IRSSI_BRANCH == scm ]]; then
- if [[ $IRSSI_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=ON
SOURCE_HINTS=old_svn_compat
SOURCE_URL[0]=svn://svn.irssi.org/repos/irssi/trunk:irssi-svn
diff --git a/chat-irc/irssi/HISTORY b/chat-irc/irssi/HISTORY
index 4b4489a8b0..c9ce0f38dd 100644
--- a/chat-irc/irssi/HISTORY
+++ b/chat-irc/irssi/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-08 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 0.8.16
diff --git a/chat-irc/weechat/DETAILS b/chat-irc/weechat/DETAILS
index 6341b97dba..f8f86d6d07 100755
--- a/chat-irc/weechat/DETAILS
+++ b/chat-irc/weechat/DETAILS
@@ -1,15 +1,13 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=weechat
if [ "$WEECHAT_BRANCH" == "scm" ]; then
- VERSION=$WEECHAT_BRANCH
- if [ "$WEECHAT_AUTOUPDATE" == "y" ]; then
- VERSION+=-$(date +%Y%m%d)
- fi
+ VERSION=$(get_scm_version)
SOURCE=weechat-$WEECHAT_BRANCH.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/weechat-$WEECHAT_BRANCH
FORCE_DOWNLOAD=on
SOURCE_IGNORE=volatile
SOURCE_URL[0]=git://git.sv.gnu.org/weechat.git:$SPELL
-else
+else
if [ "$WEECHAT_BRANCH" == "devel" ]; then
VERSION=0.4.4-dev
SOURCE=$SPELL-devel.tar.bz2
diff --git a/chat-irc/weechat/HISTORY b/chat-irc/weechat/HISTORY
index 5a709c3159..fe6fe6d5e1 100644
--- a/chat-irc/weechat/HISTORY
+++ b/chat-irc/weechat/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-02-09 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: stable 0.4.3, unstable 0.4.4-dev
* FINAL: removed
diff --git a/chat-libs/opal/DETAILS b/chat-libs/opal/DETAILS
index 693fe75e3b..89dde06104 100755
--- a/chat-libs/opal/DETAILS
+++ b/chat-libs/opal/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=opal
if [[ $OPAL_BRANCH == scm ]]; then
- if [[ $OPAL_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-scm.tar.bz2
SOURCE_URL[0]=svn_https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk:opalvoip
FORCE_DOWNLOAD=on
diff --git a/chat-libs/opal/HISTORY b/chat-libs/opal/HISTORY
index 74ef7f7823..a344612a32 100644
--- a/chat-libs/opal/HISTORY
+++ b/chat-libs/opal/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-07-10 Sukneet Basuta <sukneet@sourcemage.org>
* DETAILS: updated spell to 3.10.5
Fixed SOURCE_URL[0]
diff --git a/chat-libs/ptlib/DETAILS b/chat-libs/ptlib/DETAILS
index 6b859bcb40..c8dbb192df 100755
--- a/chat-libs/ptlib/DETAILS
+++ b/chat-libs/ptlib/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=ptlib
if [[ $PTLIB_BRANCH == scm ]]; then
- if [[ $PTLIB_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-scm.tar.bz2
SOURCE_URL[0]=svn_https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk:opalvoip
FORCE_DOWNLOAD=on
diff --git a/chat-libs/ptlib/HISTORY b/chat-libs/ptlib/HISTORY
index 3b7cce582d..5d5d879c9f 100644
--- a/chat-libs/ptlib/HISTORY
+++ b/chat-libs/ptlib/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-07-11 Sukneet Basuta <sukneet@sourcemage.org>
* DETAILS: updated spell to 2.10.5
Fixed SOURCE_URL[0]
diff --git a/cluster/ocfs2-tools/DETAILS b/cluster/ocfs2-tools/DETAILS
index b107da2d1f..716fa935c2 100755
--- a/cluster/ocfs2-tools/DETAILS
+++ b/cluster/ocfs2-tools/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=ocfs2-tools
if [[ $OCFS2_TOOLS_BRANCH == scm ]]; then
- if [[ $OCFS2_TOOLS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=git://oss.oracle.com/git/${SPELL}.git:${SPELL}-${VERSION}
diff --git a/cluster/ocfs2-tools/HISTORY b/cluster/ocfs2-tools/HISTORY
index b6b4e06c0b..3b4856c2b8 100644
--- a/cluster/ocfs2-tools/HISTORY
+++ b/cluster/ocfs2-tools/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-01-26 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: added scm branch and latest release from devel (1.8) branch
(cloned from official git tag db4aef6, repacked and put to our mirror)
diff --git a/crypto/gpa/DETAILS b/crypto/gpa/DETAILS
index c112442562..3dace303f2 100755
--- a/crypto/gpa/DETAILS
+++ b/crypto/gpa/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=gpa
if [ "$GPA_BRANCH" == "scm" ]; then
- if [ "$GPA_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-scm.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_URL[0]=git://git.gnupg.org/gpa.git:$SPELL-scm
diff --git a/crypto/gpa/HISTORY b/crypto/gpa/HISTORY
index a487ab27ea..fadb54ff42 100644
--- a/crypto/gpa/HISTORY
+++ b/crypto/gpa/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-05-02 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 0.9.4
diff --git a/devel/b43-tools/DETAILS b/devel/b43-tools/DETAILS
index efd9a05d27..ba27446bc2 100755
--- a/devel/b43-tools/DETAILS
+++ b/devel/b43-tools/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=b43-tools
-if [[ $B43_TOOLS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}.tar.bz2"
SOURCE_URL[0]=git://git.bues.ch/${SPELL}.git
SOURCE_IGNORE=volatile
diff --git a/devel/b43-tools/HISTORY b/devel/b43-tools/HISTORY
index d9466aacec..b8d98ce9c4 100644
--- a/devel/b43-tools/HISTORY
+++ b/devel/b43-tools/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-12-11 Tommy Boatman <tboatman@sourcemage.org>
* DETAILS: website moved to git.bues.ch
diff --git a/devel/codeblocks/DETAILS b/devel/codeblocks/DETAILS
index 41345f4b1d..c5bcf7464e 100755
--- a/devel/codeblocks/DETAILS
+++ b/devel/codeblocks/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=codeblocks
if [[ $CODEBLOCKS_BRANCH = scm ]]; then
- if [[ $CODEBLOCKS_AUTOUPDATE = y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE_IGNORE=volatile
SOURCE_URL[0]="svn://svn.berlios.de/${SPELL}/trunk:${SPELL}"
FORCE_DOWNLOAD=on
diff --git a/devel/codeblocks/HISTORY b/devel/codeblocks/HISTORY
index b7fa00b07e..a554936bc3 100644
--- a/devel/codeblocks/HISTORY
+++ b/devel/codeblocks/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-20 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE, PRE_BUILD: Use prepare_select_branch
diff --git a/devel/gccxml/DETAILS b/devel/gccxml/DETAILS
index ea96f2ee58..87f07fccaf 100755
--- a/devel/gccxml/DETAILS
+++ b/devel/gccxml/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=gccxml
-if [[ "$GCCXML_AUTOUPDATE" == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://github.com/gccxml/gccxml.git
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
diff --git a/devel/gccxml/HISTORY b/devel/gccxml/HISTORY
index 4e27b40f01..d61e8d2458 100644
--- a/devel/gccxml/HISTORY
+++ b/devel/gccxml/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-06-28 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: now hosteted at github
* DEPENDS: add git
diff --git a/devel/gcl/DETAILS b/devel/gcl/DETAILS
index b247906dfd..cbb3846edf 100755
--- a/devel/gcl/DETAILS
+++ b/devel/gcl/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=gcl
if [[ "$GCL_BRANCH" == "scm" ]]; then
- if [[ "$GCL_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
SOURCE_URL[0]=cvs://:pserver:anonymous@cvs.savannah.gnu.org:/sources/gcl:gcl
diff --git a/devel/gcl/HISTORY b/devel/gcl/HISTORY
index 67c88b1af2..c3385829a4 100644
--- a/devel/gcl/HISTORY
+++ b/devel/gcl/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-29 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/devel/libunwind/DETAILS b/devel/libunwind/DETAILS
index 6d25764611..00002a6eb2 100755
--- a/devel/libunwind/DETAILS
+++ b/devel/libunwind/DETAILS
@@ -1,11 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libunwind
if [[ $LIBUNWIND_BRANCH == scm ]];then
-if [[ "$DRM_AUTOUPDATE" == "y" ]]
-then
- VERSION="$(date +%Y%m%d)"
-else
- VERSION=git
-fi
+ VERSION="$(get_scm_version)"
SOURCE=$SPELL-git.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_URL=git://git.sv.gnu.org/libunwind.git
diff --git a/devel/libunwind/HISTORY b/devel/libunwind/HISTORY
index 501cb75aa1..48802a8bf3 100644
--- a/devel/libunwind/HISTORY
+++ b/devel/libunwind/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-06 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS, BUILD: fixed syntax error
diff --git a/devel/mlgmpidl/DETAILS b/devel/mlgmpidl/DETAILS
index 7891781d31..ded0bd37ca 100755
--- a/devel/mlgmpidl/DETAILS
+++ b/devel/mlgmpidl/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=mlgmpidl
-if [[ "$MLGMPIDL_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-svn.tar.bz2"
SOURCE_URL[0]="svn://scm.gforge.inria.fr/svnroot/mlxxxidl/mlgmpidl/trunk:${SPELL}"
SOURCE_IGNORE=volatile
diff --git a/devel/mlgmpidl/HISTORY b/devel/mlgmpidl/HISTORY
index 106843bf4d..77f7a9ed2e 100644
--- a/devel/mlgmpidl/HISTORY
+++ b/devel/mlgmpidl/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-03-31 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* BUILD, DEPENDS, DETAILS, INSTALL, PRE_BUILD, PREPARE: spell created
diff --git a/devel/qgrit/DETAILS b/devel/qgrit/DETAILS
index c21727dfdf..b0f4517bbb 100755
--- a/devel/qgrit/DETAILS
+++ b/devel/qgrit/DETAILS
@@ -1,10 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=qgrit
- if [[ ${QGRIT_AUTOUPDATE} == "y" ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-scm.tar.bz2"
SOURCE_URL[0]=git_http://github.com/${SPELL}/${SPELL}.git:$SPELL
SOURCE_IGNORE=volatile
diff --git a/devel/qgrit/HISTORY b/devel/qgrit/HISTORY
index 4e2f9359c8..9c06244877 100644
--- a/devel/qgrit/HISTORY
+++ b/devel/qgrit/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-06-15 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* BUILD, DEPENDS, DETAILS, PREPARE, INSTALL: spell created
diff --git a/devel/valgrind/DETAILS b/devel/valgrind/DETAILS
index ff78eb4985..d7c4349425 100755
--- a/devel/valgrind/DETAILS
+++ b/devel/valgrind/DETAILS
@@ -1,12 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=valgrind
if [[ $VALGRIND_BRANCH == scm ]]
then
- if [[ $VALGRIND_AUTOUPDATE == y ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL[0]=svn://svn.valgrind.org/valgrind/trunk:$SPELL-svn
FORCE_DOWNLOAD=on
diff --git a/devel/valgrind/HISTORY b/devel/valgrind/HISTORY
index 2e0c13f32e..0e68c308b1 100644
--- a/devel/valgrind/HISTORY
+++ b/devel/valgrind/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-01-11 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 3.9.0
* BUILD: use empty CFLAGS to prevent segfault
diff --git a/disk/btrfs-progs/DETAILS b/disk/btrfs-progs/DETAILS
index a456b15244..4d15fdbc36 100755
--- a/disk/btrfs-progs/DETAILS
+++ b/disk/btrfs-progs/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=btrfs-progs
SOURCE_URL[0]=git://git.kernel.org/pub/scm/linux/kernel/git/mason/$SPELL.git
if [ "$BTRFS_PROGS_BRANCH" = scm ]; then
- if [ "$BTRFS_PROGS_AUTOUPDATE" = y ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
else
VERSION=3.14.2
SOURCE_URL[0]="$SOURCE_URL[0]::v$VERSION"
diff --git a/disk/btrfs-progs/HISTORY b/disk/btrfs-progs/HISTORY
index 67752dfd0f..2c8fd3e70e 100644
--- a/disk/btrfs-progs/HISTORY
+++ b/disk/btrfs-progs/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-07-02 Ismael Luceno <ismael@sourcemage.org>
* PRE_BUILD, INSTALL: Fix installation paths
diff --git a/disk/cdrdao/DETAILS b/disk/cdrdao/DETAILS
index d50e66424c..b5178be2d3 100755
--- a/disk/cdrdao/DETAILS
+++ b/disk/cdrdao/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=cdrdao
if [[ "$CDRDAO_BRANCH" == "scm" ]]; then
- if [[ "$CDRDAO_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=sfcvs
- fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=1
SOURCE=$SPELL-sfcvs.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-sfcvs
diff --git a/disk/cdrdao/HISTORY b/disk/cdrdao/HISTORY
index 0295cd1661..72e90af40c 100644
--- a/disk/cdrdao/HISTORY
+++ b/disk/cdrdao/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-09-09 Robin Cook <rcook@wyrms.net>
* PRE_BUILD: moved all in build here.
added aclocal and automake --add-missing to build with new automake
diff --git a/disk/fuse-google-drive/DETAILS b/disk/fuse-google-drive/DETAILS
index a0566fd605..78dbed30bd 100755
--- a/disk/fuse-google-drive/DETAILS
+++ b/disk/fuse-google-drive/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=fuse-google-drive
- if [ "$FUSE_GOOGLE_DRIVE_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-scm.tar.bz2"
SOURCE_URL[0]=git://github.com/jcline/${SPELL}.git:${SPELL}-scm
FORCE_DOWNLOAD=on
diff --git a/disk/fuse-google-drive/HISTORY b/disk/fuse-google-drive/HISTORY
index 3de4ed4d15..9a6aaa6cd3 100644
--- a/disk/fuse-google-drive/HISTORY
+++ b/disk/fuse-google-drive/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-05-16 Pol Vinogradov <vin.public@gmail.com>
* DEPENDS, DETAILS, PRE_BUILD, PREPARE: spell created
diff --git a/disk/fuse/DETAILS b/disk/fuse/DETAILS
index 9d70ade954..290c21c9f0 100755
--- a/disk/fuse/DETAILS
+++ b/disk/fuse/DETAILS
@@ -1,3 +1,4 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=fuse
if [ "$FUSE_BRANCH" != "scm" ]; then
VERSION=2.9.3
@@ -6,11 +7,7 @@ if [ "$FUSE_BRANCH" != "scm" ]; then
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
else
- if [ "$FUSE_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://fuse.git.sourceforge.net/gitroot/fuse/fuse:fuse-git
FORCE_DOWNLOAD=on
diff --git a/disk/fuse/HISTORY b/disk/fuse/HISTORY
index 80c375384f..e5de356b0c 100644
--- a/disk/fuse/HISTORY
+++ b/disk/fuse/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-07-17 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 2.9.3
* DEPENDS: add runtime util-linux
diff --git a/disk/libburn/DETAILS b/disk/libburn/DETAILS
index 314df30e84..d1565522a1 100755
--- a/disk/libburn/DETAILS
+++ b/disk/libburn/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libburn
if [[ $LIBBURN_BRANCH == scm ]]; then
- if [[ $LIBBURN_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_HINTS=old_svn_compat
diff --git a/disk/libburn/HISTORY b/disk/libburn/HISTORY
index 573b9e4004..e2b4ea2a4b 100644
--- a/disk/libburn/HISTORY
+++ b/disk/libburn/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-28 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.3.8
diff --git a/disk/libisoburn/DETAILS b/disk/libisoburn/DETAILS
index 7280dcb1b3..85da7b5d1a 100755
--- a/disk/libisoburn/DETAILS
+++ b/disk/libisoburn/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libisoburn
if [[ $LIBISOBURN_BRANCH == scm ]]; then
- if [[ $LIBISOBURN_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_HINTS=old_svn_compat
diff --git a/disk/libisoburn/HISTORY b/disk/libisoburn/HISTORY
index a0aa9d0318..6d18f41e05 100644
--- a/disk/libisoburn/HISTORY
+++ b/disk/libisoburn/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-28 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.3.8
diff --git a/disk/libisofs/DETAILS b/disk/libisofs/DETAILS
index 6d97bad9f7..fe619c1a21 100755
--- a/disk/libisofs/DETAILS
+++ b/disk/libisofs/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libisofs
if [[ $LIBISOFS_BRANCH == scm ]]; then
- if [[ $LIBISOFS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_HINTS=old_svn_compat
diff --git a/disk/libisofs/HISTORY b/disk/libisofs/HISTORY
index ed3768c7e6..615176c45c 100644
--- a/disk/libisofs/HISTORY
+++ b/disk/libisofs/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-28 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.3.8
diff --git a/disk/partimage-ng/DETAILS b/disk/partimage-ng/DETAILS
index 5956188237..dcf763d121 100755
--- a/disk/partimage-ng/DETAILS
+++ b/disk/partimage-ng/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=partimage-ng
-if [[ "${PARTIMAGE_NG_AUTOUPDATE}" == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=trunk
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-trunk.tar.bz2
SOURCE_URL[0]=bzr_http://bazaar.launchpad.net/~vonami/partimage-ng/trunk:$SPELL-trunk
SOURCE_IGNORE=volatile
diff --git a/disk/partimage-ng/HISTORY b/disk/partimage-ng/HISTORY
index 44e8cfe080..8b8c8594df 100644
--- a/disk/partimage-ng/HISTORY
+++ b/disk/partimage-ng/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS, DETAILS, PREPARE: Use prepare_select_branch
diff --git a/doc/fbreader/DETAILS b/doc/fbreader/DETAILS
index 2c48d4e2b8..17c9c10752 100755
--- a/doc/fbreader/DETAILS
+++ b/doc/fbreader/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=fbreader
if [[ "$FBREADER_BRANCH" == "scm" ]];then
-if [[ "$FBREADER_AUTOUPDATE" == "y" ]];then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-scm.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-scm
SOURCE_URL[0]=git://github.com/geometer/FBReader.git:$SPELL-scm
diff --git a/doc/fbreader/HISTORY b/doc/fbreader/HISTORY
index d0bd3ce58b..2d17b6bada 100644
--- a/doc/fbreader/HISTORY
+++ b/doc/fbreader/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-06-03 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated source url
* DEPENDS: dropped not required enca dependency
diff --git a/e-16/e16/DETAILS b/e-16/e16/DETAILS
index 9002492e79..0a81547951 100755
--- a/e-16/e16/DETAILS
+++ b/e-16/e16/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=e16
if [[ "$E16_BRANCH" == "scm" ]]; then
- if [[ "$E16_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-0.16-cvs.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-0.16-cvs
diff --git a/e-16/e16/HISTORY b/e-16/e16/HISTORY
index bbdfc89374..57dacbb216 100644
--- a/e-16/e16/HISTORY
+++ b/e-16/e16/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-04-17 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 1.0.13
diff --git a/e-17/e17/DETAILS b/e-17/e17/DETAILS
index e7f17c3d72..285a8c6ce2 100755
--- a/e-17/e17/DETAILS
+++ b/e-17/e17/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=e17
if [[ "$E17_BRANCH" == "scm" ]]; then
- if [[ "$E17_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=enlightenment-0.17-git.tar.bz2
PATCHLEVEL=6
FORCE_DOWNLOAD=on
diff --git a/e-17/e17/HISTORY b/e-17/e17/HISTORY
index fe6f3036c1..5c3e08eba6 100644
--- a/e-17/e17/HISTORY
+++ b/e-17/e17/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-09-06 Eric Sandall <sandalle@sourcemage.org>
* DEPENDS: Replace xorg-libs with libx11, libxau, libxdmcp, and
libxext
diff --git a/e-17/edbus/DETAILS b/e-17/edbus/DETAILS
index d62dc16cea..52c0bf6016 100755
--- a/e-17/edbus/DETAILS
+++ b/e-17/edbus/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=edbus
-if [[ $EDBUS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/$SPELL:$SPELL
diff --git a/e-17/edbus/HISTORY b/e-17/edbus/HISTORY
index 40bdfa06a8..5489fe17b5 100644
--- a/e-17/edbus/HISTORY
+++ b/e-17/edbus/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-11-24 Robin Cook <rcook@wyrms.net>
* DEPENDS: change to using efl
diff --git a/e-17/edje/DETAILS b/e-17/edje/DETAILS
index a2832f0476..d96b96b25b 100755
--- a/e-17/edje/DETAILS
+++ b/e-17/edje/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=edje
if [[ "$EDJE_BRANCH" == "scm" ]]; then
- if [[ "$EDJE_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
diff --git a/e-17/edje/HISTORY b/e-17/edje/HISTORY
index 5564cd93e4..215468f622 100644
--- a/e-17/edje/HISTORY
+++ b/e-17/edje/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-07-30 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Updated to 1.7.8
* DEPENDS: Depends on evas
diff --git a/e-17/efl/DETAILS b/e-17/efl/DETAILS
index 23abda4817..153b7c8fa6 100755
--- a/e-17/efl/DETAILS
+++ b/e-17/efl/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=efl
-if [[ $EFL_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_URL[0]=git://git.enlightenment.org/core/efl.git:$SPELL-git
diff --git a/e-17/efl/HISTORY b/e-17/efl/HISTORY
index 0c25770238..1cd392223e 100644
--- a/e-17/efl/HISTORY
+++ b/e-17/efl/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-30 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: giflib => GIFLIB
diff --git a/e-17/emap/DETAILS b/e-17/emap/DETAILS
index 0a3dc3ea6b..25f8c7b142 100755
--- a/e-17/emap/DETAILS
+++ b/e-17/emap/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=emap
- if [ "$EMAP_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/PROTO/$SPELL:$SPELL-svn
SOURCE_IGNORE=volatile
diff --git a/e-17/emap/HISTORY b/e-17/emap/HISTORY
index 5ec2692e2d..9aeb73f504 100644
--- a/e-17/emap/HISTORY
+++ b/e-17/emap/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-11-24 Robin Cook <rcook@wyrms.net>
* DEPENDS: changed to using efl
diff --git a/e-17/emotion/DETAILS b/e-17/emotion/DETAILS
index 3942bda79e..71ce14f367 100755
--- a/e-17/emotion/DETAILS
+++ b/e-17/emotion/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=emotion
if [ "$EMOTION_BRANCH" == "scm" ]; then
- if [ "$EMOTION_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
diff --git a/e-17/emotion/HISTORY b/e-17/emotion/HISTORY
index 2d5b75c8ec..a97596c445 100644
--- a/e-17/emotion/HISTORY
+++ b/e-17/emotion/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-07-30 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Updated to 1.7.8
diff --git a/e-17/emotion_generic_players/DETAILS b/e-17/emotion_generic_players/DETAILS
index 5488736d45..707ac01a78 100755
--- a/e-17/emotion_generic_players/DETAILS
+++ b/e-17/emotion_generic_players/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=emotion_generic_players
-if [[ $EMOTION_GENERIC_PLAYERS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_URL[0]=git://git.enlightenment.org/core/${SPELL}.git:$SPELL-git
diff --git a/e-17/emotion_generic_players/HISTORY b/e-17/emotion_generic_players/HISTORY
index 7970f4fb9e..948c4c68f4 100644
--- a/e-17/emotion_generic_players/HISTORY
+++ b/e-17/emotion_generic_players/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-12-02 Ladislav Hagara <hgr@vabo.cz>
* DETAILS, DEPENDS, PREPARE, PRE_BUILD: spell created
diff --git a/e-17/enki/DETAILS b/e-17/enki/DETAILS
index 7a6b7b0256..b8f8705e08 100755
--- a/e-17/enki/DETAILS
+++ b/e-17/enki/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=enki
-if [ "$ENKI_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-svn.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-svn
diff --git a/e-17/enki/HISTORY b/e-17/enki/HISTORY
index 10c89df5a6..39456b6f90 100644
--- a/e-17/enki/HISTORY
+++ b/e-17/enki/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-11-24 Robin Cook <rcook@wyrms.net>
* DEPENDS: changed to using efl
diff --git a/e-17/enna/DETAILS b/e-17/enna/DETAILS
index ff2a4fd190..c96e426c44 100755
--- a/e-17/enna/DETAILS
+++ b/e-17/enna/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=enna
-if [ "$ENNA_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=mercurial
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-hg.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-hg
SOURCE_URL[0]=hg_http://hg.geexbox.org/${SPELL}:${SPELL}-hg
diff --git a/e-17/enna/HISTORY b/e-17/enna/HISTORY
index 964ee41b2a..d824e54246 100644
--- a/e-17/enna/HISTORY
+++ b/e-17/enna/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, DOWNLOAD, PREPARE: Use prepare_select_branch
diff --git a/e-17/eobj/DETAILS b/e-17/eobj/DETAILS
index 8539204924..98c8c2b811 100755
--- a/e-17/eobj/DETAILS
+++ b/e-17/eobj/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=eobj
-if [[ $EOBJ_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/PROTO/$SPELL:$SPELL
diff --git a/e-17/eobj/HISTORY b/e-17/eobj/HISTORY
index bfdd5e6fcb..74dc219a9d 100644
--- a/e-17/eobj/HISTORY
+++ b/e-17/eobj/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-01-04 Eric Sandall <sandalle@sourcemage.org>
* CONFLICTS: Conflicts with efl
diff --git a/e-17/ephoto/DETAILS b/e-17/ephoto/DETAILS
index e7d8001541..0a98854165 100755
--- a/e-17/ephoto/DETAILS
+++ b/e-17/ephoto/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=ephoto
PATCHLEVEL=1
-if [ "$EPHOTO_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/$SPELL:$SPELL
diff --git a/e-17/ephoto/HISTORY b/e-17/ephoto/HISTORY
index fbaf2c009f..7ac21af50f 100644
--- a/e-17/ephoto/HISTORY
+++ b/e-17/ephoto/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/e-17/ephysics/DETAILS b/e-17/ephysics/DETAILS
index ab1c2f7509..3e2754008b 100755
--- a/e-17/ephysics/DETAILS
+++ b/e-17/ephysics/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=ephysics
PATCHLEVEL=0
-if [ "$EPHYSICS_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/$SPELL:$SPELL
diff --git a/e-17/ephysics/HISTORY b/e-17/ephysics/HISTORY
index 07fd5cf474..7ad3b614f5 100644
--- a/e-17/ephysics/HISTORY
+++ b/e-17/ephysics/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-01-04 Eric Sandall <sandalle@sourcemage.org>
* DEPENDS: typo efs -> efl
diff --git a/e-17/erss/DETAILS b/e-17/erss/DETAILS
index 9cb73f3957..b2c14e58f5 100755
--- a/e-17/erss/DETAILS
+++ b/e-17/erss/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=erss
-if [ "$ERSS_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/OLD/MISC/$SPELL:$SPELL
diff --git a/e-17/erss/HISTORY b/e-17/erss/HISTORY
index 49d07c1f1c..aabfeb559c 100644
--- a/e-17/erss/HISTORY
+++ b/e-17/erss/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/e-17/evas_generic_loaders/DETAILS b/e-17/evas_generic_loaders/DETAILS
index 6e7097fc19..628c9de53b 100755
--- a/e-17/evas_generic_loaders/DETAILS
+++ b/e-17/evas_generic_loaders/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=evas_generic_loaders
PATCHLEVEL=0
if [ "x${EVAS_GENERIC_LOADERS_BRANCH}" == "xscm" ]; then
- if [ "$EVAS_GENERIC_LOADERS_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_URL[0]=git://git.enlightenment.org/core/${SPELL}.git:$SPELL-git
diff --git a/e-17/evas_generic_loaders/HISTORY b/e-17/evas_generic_loaders/HISTORY
index ac7b99acab..a6b9022e2a 100644
--- a/e-17/evas_generic_loaders/HISTORY
+++ b/e-17/evas_generic_loaders/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-07-30 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Updated to 1.7.8
diff --git a/e-17/evfs/DETAILS b/e-17/evfs/DETAILS
index 77663c7ba7..de873aa28e 100755
--- a/e-17/evfs/DETAILS
+++ b/e-17/evfs/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=evfs
-if [[ "$EVFS_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/OLD/$SPELL:$SPELL
diff --git a/e-17/evfs/HISTORY b/e-17/evfs/HISTORY
index f2ad68816e..d9f5b741ac 100644
--- a/e-17/evfs/HISTORY
+++ b/e-17/evfs/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-18 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/e-17/eweather/DETAILS b/e-17/eweather/DETAILS
index 2a5db8b2e2..8fedd183bd 100755
--- a/e-17/eweather/DETAILS
+++ b/e-17/eweather/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=eweather
- if [ "$EWEATHER_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/E-MODULES-EXTRA/$SPELL:$SPELL-svn
SOURCE_IGNORE=volatile
diff --git a/e-17/eweather/HISTORY b/e-17/eweather/HISTORY
index 0f6de181a7..75719bf4d7 100644
--- a/e-17/eweather/HISTORY
+++ b/e-17/eweather/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-11-24 Robin Cook <rcook@wyrms.net>
* DEPENDES: changed to using efl
diff --git a/e-17/ewl/DETAILS b/e-17/ewl/DETAILS
index b1092676fa..a59daac8ab 100755
--- a/e-17/ewl/DETAILS
+++ b/e-17/ewl/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=ewl
-if [ "$EWL_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/BROKEN/$SPELL:$SPELL
diff --git a/e-17/ewl/HISTORY b/e-17/ewl/HISTORY
index 5003b92a61..b6079b13f3 100644
--- a/e-17/ewl/HISTORY
+++ b/e-17/ewl/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-11-15 Tommy Boatman <tboatman@sourcemage.org>
* DEPENDS: changed e-emotion to emotion
diff --git a/e-17/ewler/DETAILS b/e-17/ewler/DETAILS
index cf7b8f133c..f2ca01f8aa 100755
--- a/e-17/ewler/DETAILS
+++ b/e-17/ewler/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=ewler
-if [[ "$EWLER_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/OLD/MISC/$SPELL:$SPELL
diff --git a/e-17/ewler/HISTORY b/e-17/ewler/HISTORY
index cd59577393..d9bacc168c 100644
--- a/e-17/ewler/HISTORY
+++ b/e-17/ewler/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-10-14 Bor Kraljič <pyrobor@ver.si>
* DETAILS: fixed long description wrap (scripted)
diff --git a/e-17/exchange/DETAILS b/e-17/exchange/DETAILS
index f844a456a1..47d2418eb1 100755
--- a/e-17/exchange/DETAILS
+++ b/e-17/exchange/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=exchange
-if [ "$EXCHANGE_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/PROTO/$SPELL:$SPELL-svn
diff --git a/e-17/exchange/HISTORY b/e-17/exchange/HISTORY
index faa1daddce..322a379212 100644
--- a/e-17/exchange/HISTORY
+++ b/e-17/exchange/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-11-24 Robin Cook <rcook@wyrms.net>
* DEPENDS: changed to using efl
diff --git a/e-17/eyelight/DETAILS b/e-17/eyelight/DETAILS
index 5101fabbad..d38a7a8282 100755
--- a/e-17/eyelight/DETAILS
+++ b/e-17/eyelight/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=eyelight
-if [[ $ELEMENTARY_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/PROTO/$SPELL:$SPELL
diff --git a/e-17/eyelight/HISTORY b/e-17/eyelight/HISTORY
index 667a84e3bc..eb5e17efc0 100644
--- a/e-17/eyelight/HISTORY
+++ b/e-17/eyelight/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-11-15 Tommy Boatman <tboatman@sourcemage.org>
* DEPENDS: changed e-emotion to emotion
diff --git a/e-17/iconbar/DETAILS b/e-17/iconbar/DETAILS
index 4682095bb3..e440d8df20 100755
--- a/e-17/iconbar/DETAILS
+++ b/e-17/iconbar/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=iconbar
-if [ "$ICONBAR_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/OLD/$SPELL:$SPELL
diff --git a/e-17/iconbar/HISTORY b/e-17/iconbar/HISTORY
index 5bf716a99a..52bafb27a3 100644
--- a/e-17/iconbar/HISTORY
+++ b/e-17/iconbar/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-10-14 Bor Kraljič <pyrobor@ver.si>
* DETAILS: fixed long description wrap (scripted)
diff --git a/e-17/libeweather/DETAILS b/e-17/libeweather/DETAILS
index 8fa1383203..51e8c8b0c1 100755
--- a/e-17/libeweather/DETAILS
+++ b/e-17/libeweather/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libeweather
- if [ "$LIBEWEATHER_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/PROTO/$SPELL:$SPELL-svn
SOURCE_IGNORE=volatile
diff --git a/e-17/libeweather/HISTORY b/e-17/libeweather/HISTORY
index b84feb64fb..e89870464f 100644
--- a/e-17/libeweather/HISTORY
+++ b/e-17/libeweather/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-11-24 Robin Cook <rcook@wyrms.net>
* DEPENDS: changed to using efl
diff --git a/e-17/shellementary/DETAILS b/e-17/shellementary/DETAILS
index e5d5398f59..76c537d322 100755
--- a/e-17/shellementary/DETAILS
+++ b/e-17/shellementary/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=shellementary
-if [[ $SHELLEMENTARY_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://svn.enlightenment.org/svn/e/trunk/PROTO/$SPELL:$SPELL
diff --git a/e-17/shellementary/HISTORY b/e-17/shellementary/HISTORY
index 0c786eb606..38e0900c29 100644
--- a/e-17/shellementary/HISTORY
+++ b/e-17/shellementary/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-18 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/e-17/terminology/DETAILS b/e-17/terminology/DETAILS
index f3445bfeb9..b33110a847 100755
--- a/e-17/terminology/DETAILS
+++ b/e-17/terminology/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=terminology
if [[ "x${TERMINOLOGY_BRANCH}" == "xscm" ]]; then
PATCHLEVEL=0
- if [ "$TERMINOLOGY_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_URL[0]=git://git.enlightenment.org/apps/terminology.git:$SPELL-git
diff --git a/e-17/terminology/HISTORY b/e-17/terminology/HISTORY
index 8606c6c97f..58a373fd74 100644
--- a/e-17/terminology/HISTORY
+++ b/e-17/terminology/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-07-30 Eric Sandall <sandalle@sourcemage.org>
* DETAILS: Updated to 0.3.0
diff --git a/editors/emacs/DETAILS b/editors/emacs/DETAILS
index debc4014cf..41a66d909c 100755
--- a/editors/emacs/DETAILS
+++ b/editors/emacs/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=emacs
if [[ "$EMACS_BRANCH" == "scm" ]]; then
- if [[ "$EMACS_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=trunk
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-trunk.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-trunk
SOURCE_URL[0]=bzr://bzr.savannah.gnu.org/emacs/trunk/:emacs-trunk
diff --git a/editors/emacs/HISTORY b/editors/emacs/HISTORY
index 586e2e310b..f4785519d0 100644
--- a/editors/emacs/HISTORY
+++ b/editors/emacs/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-30 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: giflib => GIFLIB
diff --git a/editors/sandy/DETAILS b/editors/sandy/DETAILS
index d8e2088c1c..6d6a1e8d65 100755
--- a/editors/sandy/DETAILS
+++ b/editors/sandy/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=sandy
-if [[ ${SANDY_AUTOUPDATE} == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-scm.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-scm
SOURCE_URL[0]=hg_http://hg.suckless.org/sandy:${SPELL}-scm
diff --git a/editors/sandy/HISTORY b/editors/sandy/HISTORY
index 958f8a0f2a..fb7fa70a24 100644
--- a/editors/sandy/HISTORY
+++ b/editors/sandy/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-06-05 Sukneet Basuta <sukneet@sourcemage.org>
* BUILD, DEPENDS, DETAILS, PROVIDES: modified Neko Nyancat's
spell files from Feature #368
diff --git a/editors/tidy/DETAILS b/editors/tidy/DETAILS
index 181fa72b92..d5b880498e 100755
--- a/editors/tidy/DETAILS
+++ b/editors/tidy/DETAILS
@@ -1,9 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=tidy
if [[ "${TIDY_BRANCH}" == "scm" ]]; then
- if [[ "${TIDY_AUTOUPDATE}" == "y" ]]
- then VERSION=$(date +%Y%m%d)
- else VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvsroot.tar.bz2
SOURCE_URL[0]=cvs://:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy:tidy
SOURCE_IGNORE=volatile
diff --git a/editors/tidy/HISTORY b/editors/tidy/HISTORY
index 7bcbe53b83..194ba80736 100644
--- a/editors/tidy/HISTORY
+++ b/editors/tidy/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: Word-wrap long description to 80 chars
* DEPENDS, DETAILS, PREPARE, PRE_BUILD: Use prepare_select_branch
diff --git a/editors/vim-gnupg/DETAILS b/editors/vim-gnupg/DETAILS
index 76d7544782..fedba713b4 100755
--- a/editors/vim-gnupg/DETAILS
+++ b/editors/vim-gnupg/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=vim-gnupg
-if [[ "$VIM_GNUPG_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/jamessan/${SPELL}.git
SOURCE_IGNORE=volatile
diff --git a/editors/vim-gnupg/HISTORY b/editors/vim-gnupg/HISTORY
index 1a163b4bf2..634892db90 100644
--- a/editors/vim-gnupg/HISTORY
+++ b/editors/vim-gnupg/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-05-22 Ismael Luceno <ismael@sourcemage.org>
* BUILD, DEPENDS, DETAILS, INSTALL, PREPARE: spell created
diff --git a/editors/vim/DETAILS b/editors/vim/DETAILS
index 69828152e2..8f73b2a662 100755
--- a/editors/vim/DETAILS
+++ b/editors/vim/DETAILS
@@ -1,17 +1,12 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=vim
if [[ "${VIM_BRANCH}" == "scm" ]]
then
-
- if [[ "${VIM_AUTOUPDATE}" == "y" ]]
- then VERSION=$(date +%Y%m%d) && FORCE_DOWNLOAD=on
- else VERSION=hg
- fi
-
+ VERSION=$(get_scm_version) && FORCE_DOWNLOAD=on
SOURCE=${SPELL}-${VERSION}.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-${VERSION}
SOURCE_URL=hg_http://vim.googlecode.com/hg:${SPELL}-hg
SOURCE_IGNORE=volatile
-
else
XVERSION=7.4
PATCH_VERSION=282
diff --git a/editors/vim/HISTORY b/editors/vim/HISTORY
index 1778a55b73..dfb9dbd1fb 100644
--- a/editors/vim/HISTORY
+++ b/editors/vim/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-09 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS, PRE_BUILD: apply upstream patches 7.4.001 to 7.4.282
diff --git a/editors/vimoutliner/DETAILS b/editors/vimoutliner/DETAILS
index df56596824..e0d1ffd28f 100755
--- a/editors/vimoutliner/DETAILS
+++ b/editors/vimoutliner/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=vimoutliner
-if [[ "$VIMOUTLINER_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/$SPELL/$SPELL.git
SOURCE_IGNORE=volatile
diff --git a/editors/vimoutliner/HISTORY b/editors/vimoutliner/HISTORY
index 1a163b4bf2..634892db90 100644
--- a/editors/vimoutliner/HISTORY
+++ b/editors/vimoutliner/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-05-22 Ismael Luceno <ismael@sourcemage.org>
* BUILD, DEPENDS, DETAILS, INSTALL, PREPARE: spell created
diff --git a/emacs-lisp/clojure-mode/DETAILS b/emacs-lisp/clojure-mode/DETAILS
index 94bf4ac538..852ca44abb 100755
--- a/emacs-lisp/clojure-mode/DETAILS
+++ b/emacs-lisp/clojure-mode/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=clojure-mode
-if [ "$CLOJURE_MODE_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/technomancy/${SPELL}.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/clojure-mode/HISTORY b/emacs-lisp/clojure-mode/HISTORY
index c17eca9230..a6d9c90850 100644
--- a/emacs-lisp/clojure-mode/HISTORY
+++ b/emacs-lisp/clojure-mode/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/emacs-lisp/cluck/DETAILS b/emacs-lisp/cluck/DETAILS
index 8b04e1fb55..39b4df6cdf 100755
--- a/emacs-lisp/cluck/DETAILS
+++ b/emacs-lisp/cluck/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=cluck
-if [ "$CLUCK_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/ddp/${SPELL}.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/cluck/HISTORY b/emacs-lisp/cluck/HISTORY
index ff0ee4febc..2668c332d6 100644
--- a/emacs-lisp/cluck/HISTORY
+++ b/emacs-lisp/cluck/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/emacs-lisp/coffee-mode/DETAILS b/emacs-lisp/coffee-mode/DETAILS
index 71b7bad90f..00435dccd3 100755
--- a/emacs-lisp/coffee-mode/DETAILS
+++ b/emacs-lisp/coffee-mode/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=coffee-mode
-if [ "$COFFEE_MODE_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/defunkt/${SPELL}.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/coffee-mode/HISTORY b/emacs-lisp/coffee-mode/HISTORY
index c17eca9230..a6d9c90850 100644
--- a/emacs-lisp/coffee-mode/HISTORY
+++ b/emacs-lisp/coffee-mode/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/emacs-lisp/egg/DETAILS b/emacs-lisp/egg/DETAILS
index 9bda9530fa..3b0003ed0b 100755
--- a/emacs-lisp/egg/DETAILS
+++ b/emacs-lisp/egg/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=egg
-if [ "$EGG_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/byplayer/${SPELL}.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/egg/HISTORY b/emacs-lisp/egg/HISTORY
index ff0ee4febc..2668c332d6 100644
--- a/emacs-lisp/egg/HISTORY
+++ b/emacs-lisp/egg/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/emacs-lisp/emacs-goodies-el/DETAILS b/emacs-lisp/emacs-goodies-el/DETAILS
index a761b80231..350a5fcd90 100755
--- a/emacs-lisp/emacs-goodies-el/DETAILS
+++ b/emacs-lisp/emacs-goodies-el/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=emacs-goodies-el
-if [ "$EMACS_GOODIES_EL_AUTOUPDATE" = y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE="$SPELL-scm.tar.bz2"
SOURCE_URL[0]=cvs://:pserver:anonymous@anonscm.debian.org:/cvs/pkg-goodies-el:$SPELL:HEAD
SOURCE_IGNORE=volatile
diff --git a/emacs-lisp/emacs-goodies-el/HISTORY b/emacs-lisp/emacs-goodies-el/HISTORY
index 23befb1239..ba776d6ee8 100644
--- a/emacs-lisp/emacs-goodies-el/HISTORY
+++ b/emacs-lisp/emacs-goodies-el/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-02-19 Ismael Luceno <ismael@sourcemage.org>
* BUILD, DEPENDS, DETAILS, INSTALL, PREPARE: spell created
diff --git a/emacs-lisp/fill-column-indicator/DETAILS b/emacs-lisp/fill-column-indicator/DETAILS
index 3e0be532bc..5d96d3afd5 100755
--- a/emacs-lisp/fill-column-indicator/DETAILS
+++ b/emacs-lisp/fill-column-indicator/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=fill-column-indicator
-if [ "$FILL_COLUMN_INDICATOR_AUTOUPDATE" = y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/alpaker/Fill-Column-Indicator.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/fill-column-indicator/HISTORY b/emacs-lisp/fill-column-indicator/HISTORY
index 2e32b80b64..20fb631069 100644
--- a/emacs-lisp/fill-column-indicator/HISTORY
+++ b/emacs-lisp/fill-column-indicator/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-11-08 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS, DETAILS, PREPARE: spell created
diff --git a/emacs-lisp/haml-mode/DETAILS b/emacs-lisp/haml-mode/DETAILS
index d972296a43..461cd2523e 100755
--- a/emacs-lisp/haml-mode/DETAILS
+++ b/emacs-lisp/haml-mode/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=haml-mode
-if [ "$HAML_MODE_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/nex3/${SPELL}.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/haml-mode/HISTORY b/emacs-lisp/haml-mode/HISTORY
index 0262cbb079..3f9b3dc6fc 100644
--- a/emacs-lisp/haml-mode/HISTORY
+++ b/emacs-lisp/haml-mode/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/emacs-lisp/identica-mode/DETAILS b/emacs-lisp/identica-mode/DETAILS
index ac735b6c6f..cfde21436f 100755
--- a/emacs-lisp/identica-mode/DETAILS
+++ b/emacs-lisp/identica-mode/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=identica-mode
-if [ "$IDENTICA_MODE_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://git.sv.gnu.org/${SPELL}.git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/identica-mode/HISTORY b/emacs-lisp/identica-mode/HISTORY
index 98947eceff..98b8e8f736 100644
--- a/emacs-lisp/identica-mode/HISTORY
+++ b/emacs-lisp/identica-mode/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/emacs-lisp/scss-mode/DETAILS b/emacs-lisp/scss-mode/DETAILS
index b97dd35c8e..c0ae5888e9 100755
--- a/emacs-lisp/scss-mode/DETAILS
+++ b/emacs-lisp/scss-mode/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=scss-mode
-if [ "$SCSS_MODE_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/antonj/${SPELL}.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/scss-mode/HISTORY b/emacs-lisp/scss-mode/HISTORY
index c17eca9230..a6d9c90850 100644
--- a/emacs-lisp/scss-mode/HISTORY
+++ b/emacs-lisp/scss-mode/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/emacs-lisp/sinatra_el/DETAILS b/emacs-lisp/sinatra_el/DETAILS
index e684fce1ea..0f7e571b37 100755
--- a/emacs-lisp/sinatra_el/DETAILS
+++ b/emacs-lisp/sinatra_el/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=sinatra_el
-if [ "$SINATRA_EL_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/eschulte/${SPELL}.git:${SPELL}-git
FORCE_DOWNLOAD=on
diff --git a/emacs-lisp/sinatra_el/HISTORY b/emacs-lisp/sinatra_el/HISTORY
index 0262cbb079..3f9b3dc6fc 100644
--- a/emacs-lisp/sinatra_el/HISTORY
+++ b/emacs-lisp/sinatra_el/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* PREPARE: Use prepare_select_branch
diff --git a/ftp/fatrat/DETAILS b/ftp/fatrat/DETAILS
index eed0a4d14c..3a881f11ca 100755
--- a/ftp/fatrat/DETAILS
+++ b/ftp/fatrat/DETAILS
@@ -1,27 +1,19 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=fatrat
if [[ $FATRAT_BRANCH == scm ]]; then
-
- if [[ $FATRAT_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
-
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.dolezel.info/fatrat.git
SOURCE_IGNORE=volatile
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
FORCE_DOWNLOAD=1
-
else
-
VERSION=1.1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://www.dolezel.info/download/data/fatrat/$SOURCE
SOURCE_HASH=sha512:b8231c5e2490b451217ff19e0d29b8fa28e4fd912785c64ff0957d5fd40476af5d0769ad0b1df48fab3c48fab209b2a1dc72935b3514b4a250a7c16b62c42c53
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
-
fi
WEB_SITE=http://fatrat.dolezel.info/
diff --git a/ftp/fatrat/HISTORY b/ftp/fatrat/HISTORY
index 241c0a4d9a..c953d601f2 100644
--- a/ftp/fatrat/HISTORY
+++ b/ftp/fatrat/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS, DETAILS, PREPARE: Use prepare_select_branch
diff --git a/ftp/rsync/DETAILS b/ftp/rsync/DETAILS
index 6e651b7bdd..dc90f8d04f 100755
--- a/ftp/rsync/DETAILS
+++ b/ftp/rsync/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=rsync
if [[ $RSYNC_BRANCH == scm ]]; then
- if [[ $RSYNC_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.samba.org/$SPELL.git:$SPELL-git
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
diff --git a/ftp/rsync/HISTORY b/ftp/rsync/HISTORY
index 3016adf573..032b5f2fe0 100644
--- a/ftp/rsync/HISTORY
+++ b/ftp/rsync/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-24 Treeve Jelbert <treev@pi.be>
* DETAILS: version 3.1.0
diff --git a/gnome2-libs/librep2/DETAILS b/gnome2-libs/librep2/DETAILS
index edc6d2f9e8..4f409469c5 100755
--- a/gnome2-libs/librep2/DETAILS
+++ b/gnome2-libs/librep2/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=librep2
if [ "${LIBREP2_CVS}" == "y" ]; then
- if [ "${LIBREP2_AUTOUPDATE}" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-cvs.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-cvs
SOURCE_URL[0]=svn_http://svn.gnome.org/svn/librep/trunk:librep-svn
diff --git a/gnome2-libs/librep2/HISTORY b/gnome2-libs/librep2/HISTORY
index f03ecc8725..924b318959 100644
--- a/gnome2-libs/librep2/HISTORY
+++ b/gnome2-libs/librep2/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-25 Robin Cook <rcook@wyrms.net>
* DETAILS: updated to 0.92.1b
changed SOURCE_URL[1]
diff --git a/graphics-libs/harfbuzz/DETAILS b/graphics-libs/harfbuzz/DETAILS
index 50e575c87e..2073962fba 100755
--- a/graphics-libs/harfbuzz/DETAILS
+++ b/graphics-libs/harfbuzz/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=harfbuzz
if [[ "$HARFBUZZ_BRANCH" == "scm" ]]; then
- if [ "$HARFBUZZ_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
SOURCE_URL[0]=git://anongit.freedesktop.org/harfbuzz:harfbuzz-git
diff --git a/graphics-libs/harfbuzz/HISTORY b/graphics-libs/harfbuzz/HISTORY
index 0e51b14f25..e6f898d509 100644
--- a/graphics-libs/harfbuzz/HISTORY
+++ b/graphics-libs/harfbuzz/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-10 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 0.9.29
diff --git a/graphics-libs/libgxps/DETAILS b/graphics-libs/libgxps/DETAILS
index 61a2bfd27f..d680600222 100755
--- a/graphics-libs/libgxps/DETAILS
+++ b/graphics-libs/libgxps/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libgxps
if [[ $LIBGXPS_BRANCH == scm ]]; then
- if [[ $LIBGXPS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=git://git.gnome.org/libgxps
FORCE_DOWNLOAD=1
diff --git a/graphics-libs/libgxps/HISTORY b/graphics-libs/libgxps/HISTORY
index 880a0d2670..0d174960fb 100644
--- a/graphics-libs/libgxps/HISTORY
+++ b/graphics-libs/libgxps/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-02-11 Vlad Glagolev <stealth@sourcemage.org>
* DEPENDS: added missing ``&&''
diff --git a/graphics-libs/mesalib/DETAILS b/graphics-libs/mesalib/DETAILS
index 7a9bca1abf..f12b075d99 100755
--- a/graphics-libs/mesalib/DETAILS
+++ b/graphics-libs/mesalib/DETAILS
@@ -1,3 +1,4 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=mesalib
if [[ -z $MESALIB_BRANCH ]]; then
@@ -15,12 +16,7 @@ case "$MESALIB_BRANCH" in
VERSION=7.11.1
;;
scm)
- if [[ "$MESALIB_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
-
+ VERSION=$(get_scm_version)
;;
esac
diff --git a/graphics-libs/mesalib/HISTORY b/graphics-libs/mesalib/HISTORY
index 63e20447c9..11cb8a00af 100644
--- a/graphics-libs/mesalib/HISTORY
+++ b/graphics-libs/mesalib/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-14 Treeve Jelbert <treeve@sourcemage.org>
* PROVIDES: add MESALIB
* CONFLICTS: added, conflicts mesalib-1x
diff --git a/graphics-libs/poppler/DETAILS b/graphics-libs/poppler/DETAILS
index b571dcc9a1..59be572b3c 100755
--- a/graphics-libs/poppler/DETAILS
+++ b/graphics-libs/poppler/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=poppler
if [[ $POPPLER_BRANCH == scm ]]; then
- if [[ $POPPLER_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
diff --git a/graphics-libs/poppler/HISTORY b/graphics-libs/poppler/HISTORY
index 3c39c5dbfb..52958f00cc 100644
--- a/graphics-libs/poppler/HISTORY
+++ b/graphics-libs/poppler/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-12-02 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 0.22.4
diff --git a/graphics/blender/DETAILS b/graphics/blender/DETAILS
index e35dc3a6df..7b932350da 100755
--- a/graphics/blender/DETAILS
+++ b/graphics/blender/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=blender
if [ "$BLENDER_BRANCH" == "scm" ]; then
- if [ "$BLENDER_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-svn"
SOURCE_URL[0]=svn_https://svn.blender.org/svnroot/bf-blender/trunk/blender:$SPELL-svn
diff --git a/graphics/blender/HISTORY b/graphics/blender/HISTORY
index db50eb16a2..d71524a2cd 100644
--- a/graphics/blender/HISTORY
+++ b/graphics/blender/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-02-19 Robin Cook <rcook@wymns.net>
* DETAILS: updated to 2.62
* DEPENDS: uncommented openexr optional depends
diff --git a/graphics/blender_cvs/DETAILS b/graphics/blender_cvs/DETAILS
index 5be6856a42..97e0fa9771 100755
--- a/graphics/blender_cvs/DETAILS
+++ b/graphics/blender_cvs/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=blender_cvs
-if [[ "$BLENDER_CVS_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-src.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-src
SOURCE_URL[0]=svn_https://svn.blender.org/svnroot/bf-blender/trunk/blender:blender
diff --git a/graphics/blender_cvs/HISTORY b/graphics/blender_cvs/HISTORY
index 7a4cbab568..4ddaebf401 100644
--- a/graphics/blender_cvs/HISTORY
+++ b/graphics/blender_cvs/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-29 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/graphics/darktable/DETAILS b/graphics/darktable/DETAILS
index 3c737400e2..5bf5889b90 100755
--- a/graphics/darktable/DETAILS
+++ b/graphics/darktable/DETAILS
@@ -1,3 +1,4 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=darktable
if [[ "$DARKTABLE_BRANCH" == "stable" ]]; then
VERSION=1.4.2
@@ -6,11 +7,7 @@ if [[ "$DARKTABLE_BRANCH" == "stable" ]]; then
SOURCE_HASH=sha512:5a4ba7f5de75bb4db31861fbc095e7854bf701211377b42bbbc3da00a57bcf5aa6e81745b5f34c1c6c7d9a6a3a43678db3d8373d556587e2d3c9210193163f9e
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
else
-if [[ "$DARKTABLE_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
diff --git a/graphics/darktable/HISTORY b/graphics/darktable/HISTORY
index 5dc102b92a..f977e6038c 100644
--- a/graphics/darktable/HISTORY
+++ b/graphics/darktable/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-29 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.4.2
diff --git a/graphics/lensfun/DETAILS b/graphics/lensfun/DETAILS
index 54c8d2a8e9..dec3143dc8 100755
--- a/graphics/lensfun/DETAILS
+++ b/graphics/lensfun/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=lensfun
if [[ $LENSFUN_BRANCH == scm ]]; then
-if [[ $LENSFUN_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-scm.tar.bz2
SOURCE_HINTS=old_svn_compat
FORCE_DOWNLOAD=ON
diff --git a/graphics/lensfun/HISTORY b/graphics/lensfun/HISTORY
index 1fff259ced..0db8d3a4fd 100644
--- a/graphics/lensfun/HISTORY
+++ b/graphics/lensfun/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-08-18 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 0.2.7
diff --git a/graphics/mypaint/DETAILS b/graphics/mypaint/DETAILS
index 68d547bae1..e6c42d4815 100755
--- a/graphics/mypaint/DETAILS
+++ b/graphics/mypaint/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=mypaint
if [[ $MYPAINT_BRANCH == scm ]]; then
- if [[ $MYPAINT_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE="$SPELL-scm.tar.bz2"
SOURCE_URL[0]=git://gitorious.org/$SPELL/$SPELL.git:$SPELL-scm
SOURCE_IGNORE=volatile
diff --git a/graphics/mypaint/HISTORY b/graphics/mypaint/HISTORY
index 746f8d8a9b..078f95343e 100644
--- a/graphics/mypaint/HISTORY
+++ b/graphics/mypaint/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-04-27 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS: added dependency on lcms2
diff --git a/graphics/topmod/DETAILS b/graphics/topmod/DETAILS
index b8d6be3db7..170267c23f 100755
--- a/graphics/topmod/DETAILS
+++ b/graphics/topmod/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=topmod
-if [[ $TOPMOD_AUTOUPDATE == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL[0]=svn_http://${SPELL}.googlecode.com/svn/trunk:topmod-svn
SOURCE_IGNORE=volatile
diff --git a/graphics/topmod/HISTORY b/graphics/topmod/HISTORY
index 188ca90317..ad1e028401 100644
--- a/graphics/topmod/HISTORY
+++ b/graphics/topmod/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2008-04-28 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
* DEPENDS, DETAILS, BUILD, INSTALL, PRE_BUILD, PREPARE: spell created
* 64.bit.patch: initial unbreaking patch from Arch
diff --git a/graphics/xaralx/DETAILS b/graphics/xaralx/DETAILS
index d2e01db39e..dc99ab314b 100755
--- a/graphics/xaralx/DETAILS
+++ b/graphics/xaralx/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=xaralx
SPELLX=XaraLX
if [[ $XARALX_BRANCH == scm ]]; then
- if [[ $XARALX_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-svn"
SOURCE_URL[0]=svn://svn.xara.com/Trunk/${SPELLX}:${SPELLX}
diff --git a/graphics/xaralx/HISTORY b/graphics/xaralx/HISTORY
index dc17e5d6a1..4631599fe7 100644
--- a/graphics/xaralx/HISTORY
+++ b/graphics/xaralx/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS, DETAILS, PREPARE: Use prepare_select_branch
diff --git a/http/dillo/DETAILS b/http/dillo/DETAILS
index 85204719ed..9f6e248a00 100755
--- a/http/dillo/DETAILS
+++ b/http/dillo/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=dillo
if [[ "$DILLO_CVS" == "y" ]]; then
- if [ "$DILLO_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
diff --git a/http/dillo/HISTORY b/http/dillo/HISTORY
index 79f3eeeda1..71e580d7dc 100644
--- a/http/dillo/HISTORY
+++ b/http/dillo/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-30 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: giflib => GIFLIB
diff --git a/http/dillo2/DETAILS b/http/dillo2/DETAILS
index efaea9f4d4..dd1433d306 100755
--- a/http/dillo2/DETAILS
+++ b/http/dillo2/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=dillo2
if [[ "$DILLO2_CVS" == "y" ]]; then
- if [ "$DILLO2_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
diff --git a/http/dillo2/HISTORY b/http/dillo2/HISTORY
index 2ed7c21e04..acc4eabd97 100644
--- a/http/dillo2/HISTORY
+++ b/http/dillo2/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-30 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: giflib => GIFLIB
diff --git a/http/eflwebkit/DETAILS b/http/eflwebkit/DETAILS
index 098b50bd0d..5a6781c46e 100755
--- a/http/eflwebkit/DETAILS
+++ b/http/eflwebkit/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=eflwebkit
if [ "$EFLWEBKIT_BRANCH" == "scm" ]; then
- if [ "$EFLWEBKIT_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-svn"
SOURCE_URL[0]=svn_http://svn.webkit.org/repository/webkit/trunk:$SPELL-svn
diff --git a/http/eflwebkit/HISTORY b/http/eflwebkit/HISTORY
index 6fce8234bf..5fc09ebd7c 100644
--- a/http/eflwebkit/HISTORY
+++ b/http/eflwebkit/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-14 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: mesalib => MESALIB
diff --git a/http/elinks/DETAILS b/http/elinks/DETAILS
index 7da45cca62..eca97094fb 100755
--- a/http/elinks/DETAILS
+++ b/http/elinks/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=elinks
SECURITY_PATCH=2
if [[ $ELINKS_BRANCH == scm ]]; then
- if [[ $ELINKS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=git_http://elinks.cz/elinks.git:$SPELL
SOURCE_IGNORE=volatile
diff --git a/http/elinks/HISTORY b/http/elinks/HISTORY
index 26ad324170..e85d260a0d 100644
--- a/http/elinks/HISTORY
+++ b/http/elinks/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-05-13 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: enable verbose build mode
diff --git a/http/midori/DETAILS b/http/midori/DETAILS
index 90eb9fe028..671f58de65 100755
--- a/http/midori/DETAILS
+++ b/http/midori/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=midori
if [[ $MIDORI_BRANCH == scm ]]; then
- if [[ $MIDORI_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.xfce.org/apps/$SPELL:$SPELL-git
SOURCE_IGNORE=volatile
diff --git a/http/midori/HISTORY b/http/midori/HISTORY
index 309fef4825..2ca1816e38 100644
--- a/http/midori/HISTORY
+++ b/http/midori/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-10 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 0.5.8
* PRE_BUILD: added
diff --git a/http/surf/DETAILS b/http/surf/DETAILS
index c2e397f47d..3b004a9543 100755
--- a/http/surf/DETAILS
+++ b/http/surf/DETAILS
@@ -1,12 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=surf
if [[ ${SURF_BRANCH} == "scm" ]]
then
- if [[ ${SURF_AUTOUPDATE} == "y" ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-scm.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-scm
SOURCE_URL[0]=hg_http://code.suckless.org/hg/${SPELL}:${SPELL}-scm
diff --git a/http/surf/HISTORY b/http/surf/HISTORY
index da2a64d9a6..0c09f6f201 100644
--- a/http/surf/HISTORY
+++ b/http/surf/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-06-05 Sukneet Basuta <sukneet@sourcemage.org>
* PRE_BUILD: ensure EDITOR has a value by sourcing
/etc/profile.d/editor.sh or defaulting to nano
diff --git a/kde4-support/phonon-backend-mplayer/DETAILS b/kde4-support/phonon-backend-mplayer/DETAILS
index 03a0c7e57d..93ce4c02ff 100755
--- a/kde4-support/phonon-backend-mplayer/DETAILS
+++ b/kde4-support/phonon-backend-mplayer/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=phonon-backend-mplayer
- if [[ "$PHONON_BACKEND_MPLAYER_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git_http://anongit.kde.org/phonon-mplayer:${SPELL}-git
SOURCE_IGNORE=volatile
diff --git a/kde4-support/phonon-backend-mplayer/HISTORY b/kde4-support/phonon-backend-mplayer/HISTORY
index f33096a7cc..c588336a29 100644
--- a/kde4-support/phonon-backend-mplayer/HISTORY
+++ b/kde4-support/phonon-backend-mplayer/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-08-20 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* PROVIDES: provide PHONON_BACKEND
diff --git a/kernels/drm/DETAILS b/kernels/drm/DETAILS
index 416bc498e0..ffbcf69edb 100755
--- a/kernels/drm/DETAILS
+++ b/kernels/drm/DETAILS
@@ -1,10 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=drm
-if [[ "$DRM_AUTOUPDATE" == "y" ]]
-then
- VERSION="$(date +%Y%m%d)"
-else
- VERSION=git
-fi
+ VERSION="$(get_scm_version)"
SOURCE=$SPELL-git.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_URL=git://anongit.freedesktop.org/git/mesa/drm:drm-git
diff --git a/kernels/drm/HISTORY b/kernels/drm/HISTORY
index a8fafaf4dc..2a89c3ce03 100644
--- a/kernels/drm/HISTORY
+++ b/kernels/drm/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-07-28 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: udev => UDEV
diff --git a/kernels/solo6x10/DETAILS b/kernels/solo6x10/DETAILS
index c5ee1301aa..5e723da86f 100755
--- a/kernels/solo6x10/DETAILS
+++ b/kernels/solo6x10/DETAILS
@@ -1,11 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=solo6x10
if [[ "$SOLO6X10_BRANCH" == scm ]]; then
- if [[ "$SOLO6X10_AUTOUPDATE" == y ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-scm.tar.bz2
SOURCE_URL[0]=git://github.com/bluecherrydvr/$SPELL.git:$SPELL-scm
SOURCE_IGNORE=volatile
diff --git a/kernels/solo6x10/HISTORY b/kernels/solo6x10/HISTORY
index 102f243b38..6a1e39160f 100644
--- a/kernels/solo6x10/HISTORY
+++ b/kernels/solo6x10/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-04-26 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: updated spell to 2.4.7
diff --git a/libs/dietlibc/DETAILS b/libs/dietlibc/DETAILS
index 572735bf1a..401924f493 100755
--- a/libs/dietlibc/DETAILS
+++ b/libs/dietlibc/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=dietlibc
if [[ $DIETLIBC_BRANCH == scm ]]; then
- if [[ $DIETLIBC_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_URL[0]=cvs://:pserver:cvs@cvs.fefe.de:/cvs:dietlibc
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-cvs"
diff --git a/libs/dietlibc/HISTORY b/libs/dietlibc/HISTORY
index 2f925811e2..c6b40799ce 100644
--- a/libs/dietlibc/HISTORY
+++ b/libs/dietlibc/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/libs/dw2/DETAILS b/libs/dw2/DETAILS
index d3beba09b0..a7bd03b5bc 100755
--- a/libs/dw2/DETAILS
+++ b/libs/dw2/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=dw2
- if [ "$DW2_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
diff --git a/libs/dw2/HISTORY b/libs/dw2/HISTORY
index d233fe131c..05a884037e 100644
--- a/libs/dw2/HISTORY
+++ b/libs/dw2/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2008-08-26 Arjan Bouter <abouter@sourcemage.org>
* DEPENDS,DETAILS,HISTORY,INSTALL,PRE_BUILD,PREPARE: added spell
diff --git a/libs/gfreenect/DETAILS b/libs/gfreenect/DETAILS
index d527dea4aa..17811454ac 100755
--- a/libs/gfreenect/DETAILS
+++ b/libs/gfreenect/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=gfreenect
-if [[ "$GFREENECT_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/elima/GFreenect.git:gfreenect.git
SOURCE_IGNORE=volatile
diff --git a/libs/gfreenect/HISTORY b/libs/gfreenect/HISTORY
index 3c7d4895a3..4bafa596b2 100644
--- a/libs/gfreenect/HISTORY
+++ b/libs/gfreenect/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-10-31 Ladislav Hagara <hgr@vabo.cz>
* DEPENDS: gobject-introspection and gtk-doc added
diff --git a/libs/glibc/DETAILS b/libs/glibc/DETAILS
index 0eb0ea109d..33d684b8aa 100755
--- a/libs/glibc/DETAILS
+++ b/libs/glibc/DETAILS
@@ -1,3 +1,4 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=glibc
TMPFS=off
if [ "$GLIBC_NPTL" = "n" ]; then
@@ -21,11 +22,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE5_HASH=sha512:c1931495915c8461de97e4156c9d0edd7b44e4b48cbce2d4c3a52b83d331a9ce48f3c7abb7dd787ed897f1e7d0e81c5cdb4eb3986bc24a5e2788708427e2dcb1
else
if [[ "${GLIBC_BRANCH}" == "scm" ]]; then
- if [[ "${GLIBC_AUTOUPDATE}" == "y" ]]; then
- VERSION=${GLIBC_BRANCH}-$(date +%Y%m%d)
- else
- VERSION=${GLIBC_BRANCH}
- fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
@@ -54,14 +51,14 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
local LINUX_DIRECTORY
LINUX_DIRECTORY=$(gaze where -path linux | sed "s/linux -> //")
. $LINUX_DIRECTORY/latest.defaults
-
+
if [[ $(uname -r) = 3.* ]]; then
HEADERS_VERSION=$(echo $LATEST_maintenance_patches_3 | sed "s/patch-//")
HEADERS_VERSION=${HEADERS_VERSION:-$LATEST_3}
SOURCE3=linux-${LATEST_3}.tar.xz
SOURCE3_URL="${KERNEL_URL}/pub/linux/kernel/v3.0/${SOURCE3}"
case $HEADERS_VERSION in
- 3.[1-9]*)
+ 3.[1-9]*)
SOURCE6="linux-${LATEST_3}.tar.sign"
SOURCE6_URL="${KERNEL_URL}/pub/linux/kernel/v3.0/${SOURCE6}"
;;
@@ -78,7 +75,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
if [[ ${HEADERS_VERSION} > 3.0.4 ]]; then
SOURCE8="patch-${HEADERS_VERSION}.sign"
SOURCE8_URL="${KERNEL_URL}/pub/linux/kernel/v3.0/${SOURCE8}"
- else
+ else
SOURCE8="${SOURCE7}.sign"
SOURCE8_URL="${SOURCE7_URL}.sign"
fi
diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index eecb51c71a..2b8c65fc97 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-25 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* PRE_BUILD, glibc-2.19-fix-sign-in-bsloww1-input.patch,
glibc-2.19-xattr_header.patch: add bug fixes from arch linux
diff --git a/libs/libdrm/DETAILS b/libs/libdrm/DETAILS
index 5f9d2fc634..e82c5bafc5 100755
--- a/libs/libdrm/DETAILS
+++ b/libs/libdrm/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libdrm
if [[ $LIBDRM_BRANCH == scm ]]; then
- if [[ $LIBDRM_AUTOUPDATE == y ]]; then
- VERSION="$(date +%Y%m%d)"
- else
- VERSION=git
- fi
+ VERSION="$(get_scm_version)"
SOURCE=drm-git.tar.bz2 # Use the same source as drm
SOURCE_URL[0]=git://anongit.freedesktop.org/git/mesa/drm:drm-git
SOURCE_DIRECTORY="$BUILD_DIRECTORY/drm-git"
diff --git a/libs/libdrm/HISTORY b/libs/libdrm/HISTORY
index 15e21352c0..e9243dc3f0 100644
--- a/libs/libdrm/HISTORY
+++ b/libs/libdrm/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-03 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: 2.4.54
diff --git a/libs/libfreenect/DETAILS b/libs/libfreenect/DETAILS
index 8109f7fd1e..47e17ea0a4 100755
--- a/libs/libfreenect/DETAILS
+++ b/libs/libfreenect/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libfreenect
-if [[ "$LIBFREENECT_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/OpenKinect/libfreenect.git:libfreenect-git
SOURCE_IGNORE=volatile
diff --git a/libs/libfreenect/HISTORY b/libs/libfreenect/HISTORY
index ca586bf04d..a62eff0b8d 100644
--- a/libs/libfreenect/HISTORY
+++ b/libs/libfreenect/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-05-09 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: libusb => LIBUSB
diff --git a/libs/libnfc/DETAILS b/libs/libnfc/DETAILS
index 9344fca3f5..c9eadbc727 100755
--- a/libs/libnfc/DETAILS
+++ b/libs/libnfc/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=libnfc
if [[ "$LIBNFC_BRANCH" == "scm" ]]; then
- if [[ "$LIBNFC_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
diff --git a/libs/libnfc/HISTORY b/libs/libnfc/HISTORY
index a65dcb5908..d046795cfc 100644
--- a/libs/libnfc/HISTORY
+++ b/libs/libnfc/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-05-09 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: libusb => LIBUSB
diff --git a/libs/openni-sensor/DETAILS b/libs/openni-sensor/DETAILS
index 43c88b62b9..e405072d3f 100755
--- a/libs/openni-sensor/DETAILS
+++ b/libs/openni-sensor/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=openni-sensor
-if [[ "$OPENNI_SENSOR_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/PrimeSense/Sensor.git:openni-primesense-git
SOURCE_IGNORE=volatile
diff --git a/libs/openni-sensor/HISTORY b/libs/openni-sensor/HISTORY
index 09af20c64a..9570f6a6a3 100644
--- a/libs/openni-sensor/HISTORY
+++ b/libs/openni-sensor/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-08-24 Ladislav Hagara <hgr@vabo.cz>
* DETAILS, DEPENDS, PREPARE, BUILD, INSTALL: spell created
diff --git a/libs/openni-sensorkinect/DETAILS b/libs/openni-sensorkinect/DETAILS
index 6add9f3973..dbbd525efd 100755
--- a/libs/openni-sensorkinect/DETAILS
+++ b/libs/openni-sensorkinect/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=openni-sensorkinect
-if [[ "$OPENNI_SENSORKINECT_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/avin2/SensorKinect.git:openni-sensorkinect-git
SOURCE_IGNORE=volatile
diff --git a/libs/openni-sensorkinect/HISTORY b/libs/openni-sensorkinect/HISTORY
index 09af20c64a..9570f6a6a3 100644
--- a/libs/openni-sensorkinect/HISTORY
+++ b/libs/openni-sensorkinect/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-08-24 Ladislav Hagara <hgr@vabo.cz>
* DETAILS, DEPENDS, PREPARE, BUILD, INSTALL: spell created
diff --git a/libs/openni/DETAILS b/libs/openni/DETAILS
index cae33af8e7..fe69f8b735 100755
--- a/libs/openni/DETAILS
+++ b/libs/openni/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=openni
-if [[ "$OPENNI_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/OpenNI/OpenNI.git:openni-git
SOURCE_IGNORE=volatile
diff --git a/libs/openni/HISTORY b/libs/openni/HISTORY
index 4508263d90..ef4308efa7 100644
--- a/libs/openni/HISTORY
+++ b/libs/openni/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-05-09 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: libusb => LIBUSB
diff --git a/libs/osceleton/DETAILS b/libs/osceleton/DETAILS
index 413db23fc6..39c80ad221 100755
--- a/libs/osceleton/DETAILS
+++ b/libs/osceleton/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=osceleton
-if [[ "$OSCELETON_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-git.tar.bz2"
SOURCE_URL[0]=git://github.com/Sensebloom/OSCeleton.git:osceleton-git
SOURCE_IGNORE=volatile
diff --git a/libs/osceleton/HISTORY b/libs/osceleton/HISTORY
index b21f8c3cff..f4e9fde274 100644
--- a/libs/osceleton/HISTORY
+++ b/libs/osceleton/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-11-01 Ladislav Hagara <hgr@vabo.cz>
* DETAILS, PREPARE, PRE_BUILD, BUILD, INSTALL, Makefile: spell created
diff --git a/libs/python-ant/DETAILS b/libs/python-ant/DETAILS
index afb8a5fbc5..3f8e2adf84 100755
--- a/libs/python-ant/DETAILS
+++ b/libs/python-ant/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=python-ant
VERSION=40b559e
-if [[ "$PYTHON_ANT_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-scm.tar.bz2"
SOURCE_URL[0]=git://github.com/mvillalba/python-ant.git:python-ant-scm
SOURCE_IGNORE=volatile
diff --git a/libs/python-ant/HISTORY b/libs/python-ant/HISTORY
index f3631a76be..950741088a 100644
--- a/libs/python-ant/HISTORY
+++ b/libs/python-ant/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-06-03 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS, PREPARE: pull directly from git
diff --git a/libs/qoauth/DETAILS b/libs/qoauth/DETAILS
index fca14ff95d..119a98111a 100755
--- a/libs/qoauth/DETAILS
+++ b/libs/qoauth/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=qoauth
-if [ "$QOAUTH_AUTOUPDATE" == y ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-git.tar.bz2
SOURCE_URL[0]=git://github.com/ayoy/${SPELL}.git
SOURCE_IGNORE=volatile
diff --git a/libs/qoauth/HISTORY b/libs/qoauth/HISTORY
index a4d3d8c485..22e946f8f4 100644
--- a/libs/qoauth/HISTORY
+++ b/libs/qoauth/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-01-11 Ismael Luceno <ismael@sourcemage.org>
* BUILD, DEPENDS, DETAILS: spell created
diff --git a/libs/sdl2/DETAILS b/libs/sdl2/DETAILS
index 7fb9133567..603388557e 100755
--- a/libs/sdl2/DETAILS
+++ b/libs/sdl2/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=sdl2
if [ "$SDL2_BRANCH" == "scm" ]; then
- if [ "$SDL2_AUTOUPDATE" == "y" ]; then
- VERSION=2.0-$(date +%Y%m%d)
- else
- VERSION=2.0-hg
- fi
+ VERSION=2.0-$(get_scm_version)
SOURCE=$SPELL-2.0-hg.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-2.0-hg
diff --git a/libs/sdl2/HISTORY b/libs/sdl2/HISTORY
index f60a5d5140..5a263cd245 100644
--- a/libs/sdl2/HISTORY
+++ b/libs/sdl2/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-14 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: mesalib => MESALIB
diff --git a/libs/talloc/DETAILS b/libs/talloc/DETAILS
index f2f8a91d5e..1022d5ca29 100755
--- a/libs/talloc/DETAILS
+++ b/libs/talloc/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=talloc
if [[ $TALLOC_BRANCH == scm ]]
then
- if [[ "$TALLOC_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=samba4-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/samba4-git
SOURCE_URL[0]=git://git.samba.org/samba.git:samba4
diff --git a/libs/talloc/HISTORY b/libs/talloc/HISTORY
index 36bcf3dc01..3fafc68f7c 100644
--- a/libs/talloc/HISTORY
+++ b/libs/talloc/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-02-02 Vlad Glagolev <stealth@sourcemage.org>
* CONFLICTS: conflicts with samba's internal lib
diff --git a/mail/mutt/DETAILS b/mail/mutt/DETAILS
index 7657908125..f57b15ce2f 100755
--- a/mail/mutt/DETAILS
+++ b/mail/mutt/DETAILS
@@ -1,13 +1,10 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=mutt
PATCH_DIRECTORY=$SCRIPT_DIRECTORY/patches
case $MUTT_BRANCH in
scm)
- if [[ $MUTT_AUTOUPDATE == "y" ]]; then
- VERSION=mercurial_$(date +%Y%m%d)
- else
- VERSION=mercurial
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-mercurial.tar.bz2
SOURCE_URL[0]=hg_http://dev.mutt.org/hg/mutt:$SPELL-mercurial:HEAD
FORCE_DOWNLOAD=on
diff --git a/mail/mutt/HISTORY b/mail/mutt/HISTORY
index 5177be686c..d282b0befd 100644
--- a/mail/mutt/HISTORY
+++ b/mail/mutt/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* CONFIGURE, DEPENDS, DETAILS, DOWNLOAD, PREPARE, PRE_BUILD:
Use prepare_select_branch
diff --git a/net/conntrack/DETAILS b/net/conntrack/DETAILS
index d14244eb8c..027dde90f9 100755
--- a/net/conntrack/DETAILS
+++ b/net/conntrack/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=conntrack
SPELLX=conntrack-tools
if [[ "$CONNTRACK_BRANCH" == "scm" ]]; then
-if [[ "$CONNTRACK_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_IGNORE=volatile
diff --git a/net/conntrack/HISTORY b/net/conntrack/HISTORY
index e04b539909..da7854777d 100644
--- a/net/conntrack/HISTORY
+++ b/net/conntrack/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-29 Ismael Luceno <ismael@sourcemage.org>
* BUILD, DETAILS, PREPARE: Use prepare_select_branch
diff --git a/net/pppd-chldap/DETAILS b/net/pppd-chldap/DETAILS
index 7bd6fded13..02ff35bdb4 100755
--- a/net/pppd-chldap/DETAILS
+++ b/net/pppd-chldap/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=pppd-chldap
- if [[ $PPPD_CHLDAP_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_URL[0]=git://github.com/dkruchinin/pppd-ldap.git:$SPELL
diff --git a/net/pppd-chldap/HISTORY b/net/pppd-chldap/HISTORY
index 0ad87c4d2f..6366cacea1 100644
--- a/net/pppd-chldap/HISTORY
+++ b/net/pppd-chldap/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-05-21 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS, DEPENDS, CONFIGURE, PREPARE, {PRE_,}BUILD, INSTALL: spell
created
diff --git a/net/samba4/DETAILS b/net/samba4/DETAILS
index dac8217cfe..ce8c5fe5d5 100755
--- a/net/samba4/DETAILS
+++ b/net/samba4/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=samba4
if [[ "$SAMBA4_BRANCH" == "scm" ]]; then
- if [[ "$SAMBA4_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_URL[0]=git://git.samba.org/samba.git:$SPELL
diff --git a/net/samba4/HISTORY b/net/samba4/HISTORY
index ed1d789340..cf1538c240 100644
--- a/net/samba4/HISTORY
+++ b/net/samba4/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-11-23 Eric Sandall <sandalle@sourcemage.org>
* PRE_BUILD: Fixed stable to just use default_pre_build, the other way leaves no files
* DEPENDS: Fixed --with-sendfile-support syntax
diff --git a/php-pear/php-dev/DETAILS b/php-pear/php-dev/DETAILS
index 39c0bd7c36..3217d64667 100755
--- a/php-pear/php-dev/DETAILS
+++ b/php-pear/php-dev/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=php-dev
-if [ "$PHP_DEV_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=6.0
-fi
- SNAP_VER=svn
+ VERSION=$(get_scm_version)
+ SNAP_VER=svn
SOURCE=$SPELL-${SNAP_VER}.tar.bz2
SOURCE_IGNORE=volatile
LICENSE[0]=http://www.php.net/license/3_0.txt
diff --git a/php-pear/php-dev/HISTORY b/php-pear/php-dev/HISTORY
index 3ad9a33bf9..7db77c5dfb 100644
--- a/php-pear/php-dev/HISTORY
+++ b/php-pear/php-dev/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2010-11-03 Ladislav Hagara <hgr@vabo.cz>
* DEPENDS: jpeg -> JPEG
diff --git a/python-pypi/gitosis/DETAILS b/python-pypi/gitosis/DETAILS
index 4470f292bf..be6233ae5a 100755
--- a/python-pypi/gitosis/DETAILS
+++ b/python-pypi/gitosis/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=gitosis
-if [[ "${GITOSIS_AUTOUPDATE}" == "y" ]]; then
- VERSION="$(date +%Y%m%d)"
-else
- VERSION=git
-fi
+ VERSION="$(get_scm_version)"
SOURCE=${SPELL}-git.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_URL=git://eagain.net/gitosis.git:${SPELL}-git
diff --git a/python-pypi/gitosis/HISTORY b/python-pypi/gitosis/HISTORY
index a7e665fb31..a0e3b90e58 100644
--- a/python-pypi/gitosis/HISTORY
+++ b/python-pypi/gitosis/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-05-23 Sukneet Basuta <sukneet@sourcemage.org>
* DEPENDS: updated setuptools dependency to SETUPTOOLS provider
diff --git a/python-pypi/python-efl/DETAILS b/python-pypi/python-efl/DETAILS
index f7fe148f5e..cab93aad6b 100755
--- a/python-pypi/python-efl/DETAILS
+++ b/python-pypi/python-efl/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=python-efl
-if [[ ${PYTHON-EFL_AUTOUPDATE} == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_URL[0]=git://git.enlightenment.org/bindings/python/${SPELL}.git:$SPELL-git
diff --git a/python-pypi/python-efl/HISTORY b/python-pypi/python-efl/HISTORY
index 7f8c84a3db..335b266afd 100644
--- a/python-pypi/python-efl/HISTORY
+++ b/python-pypi/python-efl/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-12-09 Ladislav Hagara <hgr@vabo.cz>
* DETAILS, DEPENDS, PREPARE, CONFLICTS: spell created
diff --git a/python-pypi/scrapely/DETAILS b/python-pypi/scrapely/DETAILS
index 9f8b5ef563..153e83da7b 100755
--- a/python-pypi/scrapely/DETAILS
+++ b/python-pypi/scrapely/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=scrapely
if [[ $SCRAPELY_BRANCH == scm ]]; then
- if [[ "$SCRAPELY_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE_IGNORE=volatile
SOURCE_URL[0]=git://github.com/scrapy/$SPELL.git:$SPELL-scm
SOURCE=$SPELL-scm.tar.bz2
diff --git a/python-pypi/scrapely/HISTORY b/python-pypi/scrapely/HISTORY
index 874d6db9f3..81e5ff58a2 100644
--- a/python-pypi/scrapely/HISTORY
+++ b/python-pypi/scrapely/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-11-12 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS, DETAILS, PREPARE: spell created
diff --git a/science/gpsbabel/DETAILS b/science/gpsbabel/DETAILS
index d7e9b1326c..a0de22a037 100755
--- a/science/gpsbabel/DETAILS
+++ b/science/gpsbabel/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=gpsbabel
if [[ $GPSBABEL_BRANCH == "scm" ]]; then
- if [[ $ELINKS_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE="$SPELL-scm.tar.bz2"
SOURCE_URL[0]="svn_http://${SPELL}.googlecode.com/svn/trunk/gpsbabel:$SPELL-scm"
FORCE_DOWNLOAD=on
diff --git a/science/gpsbabel/HISTORY b/science/gpsbabel/HISTORY
index 978ea8d21e..19e52dea9e 100644
--- a/science/gpsbabel/HISTORY
+++ b/science/gpsbabel/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-03-23 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DEPENDS: remove dependency on system zlib as it is incompatible
with gpsbabel
diff --git a/shell-term-fm/tty-clock/DETAILS b/shell-term-fm/tty-clock/DETAILS
index d973920ca5..2c411418d0 100755
--- a/shell-term-fm/tty-clock/DETAILS
+++ b/shell-term-fm/tty-clock/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=tty-clock
-if [[ ${TTY_CLOCK_AUTOUPDATE} == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-scm.tar.bz2"
SOURCE_URL[0]=git://github.com/xorg62/${SPELL}.git:${SOURCE}
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
diff --git a/shell-term-fm/tty-clock/HISTORY b/shell-term-fm/tty-clock/HISTORY
index 5293fad840..3728a876e4 100644
--- a/shell-term-fm/tty-clock/HISTORY
+++ b/shell-term-fm/tty-clock/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2010-03-07 Sukneet Basuta <sukneet@sourcemage.org>
* DEPENDS, DETAILS, CONFIGURE, BUILD, INSTALL: spell created
diff --git a/smgl/castfs/DETAILS b/smgl/castfs/DETAILS
index c97042eb29..023f802ce5 100755
--- a/smgl/castfs/DETAILS
+++ b/smgl/castfs/DETAILS
@@ -1,12 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=castfs
if [[ $CASTFS_BRANCH == scm ]]
then
- if [[ $CASTFS_AUTOUPDATE == y ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-git
SOURCE_URL=git://repo.or.cz/castfs.git
diff --git a/smgl/castfs/HISTORY b/smgl/castfs/HISTORY
index 45c74b4fef..7f8d0cc7a5 100644
--- a/smgl/castfs/HISTORY
+++ b/smgl/castfs/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-11-02 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: PATCHLEVEL+=1; don't do useless doc'ing
diff --git a/smgl/guru-tools/DETAILS b/smgl/guru-tools/DETAILS
index 05ced3f502..f2f2c7228f 100755
--- a/smgl/guru-tools/DETAILS
+++ b/smgl/guru-tools/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=guru-tools
if [[ "$GURU_TOOLS_BRANCH" = scm ]]; then
- if [[ "$GURU_TOOLS_AUTOUPDATE" = y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-scm.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-scm
FORCE_DOWNLOAD=on
diff --git a/smgl/guru-tools/HISTORY b/smgl/guru-tools/HISTORY
index 529fddcf70..558b04bdaf 100644
--- a/smgl/guru-tools/HISTORY
+++ b/smgl/guru-tools/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Bor Kraljič <pyrobor@ver.si>
* PREPARE, DETAILS: added git version as scm branch
* DEPENDS: depend on git if using git scm branch
diff --git a/smgl/quill/DETAILS b/smgl/quill/DETAILS
index 0b0145a399..eddd1e5a31 100755
--- a/smgl/quill/DETAILS
+++ b/smgl/quill/DETAILS
@@ -1,12 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=quill
if [[ $QUILL_BRANCH == scm ]]
then
- if [[ $QUILL_AUTOUPDATE == y ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-git
SOURCE_URL=git://scm.sourcemage.org/smgl/misc/${SPELL}.git:${SPELL}-git
diff --git a/smgl/quill/HISTORY b/smgl/quill/HISTORY
index 6e720d2da0..ca3c8d7658 100644
--- a/smgl/quill/HISTORY
+++ b/smgl/quill/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-05-22 Ismael Luceno <ismael@sourcemage.org>
* INSTALL: Add support for make-based install
diff --git a/utils/bibletime4/DETAILS b/utils/bibletime4/DETAILS
index 568028d873..29fe0b81f5 100755
--- a/utils/bibletime4/DETAILS
+++ b/utils/bibletime4/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=bibletime4
SPELLX=bibletime
if [[ $BIBLETIME4_BRANCH == scm ]]; then
- if [[ $BIBLETIME4_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELLX-$VERSION.tar.bz2
SOURCE_URL[0]=git://gitorious.org/$SPELLX/$SPELLX.git
SOURCE_IGNORE=volatile
diff --git a/utils/bibletime4/HISTORY b/utils/bibletime4/HISTORY
index 05ecbeb30e..5102611fe9 100644
--- a/utils/bibletime4/HISTORY
+++ b/utils/bibletime4/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-10-13 Jeremy Blosser <jblosser@sourcemage.org>
* DETAILS, PREPARE: release version to 2.9.2, add git version
diff --git a/utils/dbus-mono/DETAILS b/utils/dbus-mono/DETAILS
index 27559dbff5..d063d483d0 100755
--- a/utils/dbus-mono/DETAILS
+++ b/utils/dbus-mono/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=dbus-mono
-if [[ "$DBUS_MONO_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
-else
- VERSION=git
-fi
SOURCE=${SPELL}-git.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-git
SOURCE_URL=git://anongit.freedesktop.org/git/dbus/dbus-mono:dbus-mono
diff --git a/utils/dbus-mono/HISTORY b/utils/dbus-mono/HISTORY
index 8501a3a716..253cb2e2a0 100644
--- a/utils/dbus-mono/HISTORY
+++ b/utils/dbus-mono/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2007-03-13 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
* DETAILS: beautified
diff --git a/utils/flashrom/DETAILS b/utils/flashrom/DETAILS
index be61bfdbe7..d64bc0c8cb 100755
--- a/utils/flashrom/DETAILS
+++ b/utils/flashrom/DETAILS
@@ -1,12 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=flashrom
if [[ ${FLASHROM_BRANCH} == scm ]]
then
- if [[ $FLASHROM_AUTOUPDATE = y ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-scm.tar.bz2
SOURCE_URL[0]=svn://coreboot.org/flashrom/trunk:${SOURCE%.tar.bz2}
FORCE_DOWNLOAD=on
diff --git a/utils/flashrom/HISTORY b/utils/flashrom/HISTORY
index e725e99710..0d0755f3a5 100644
--- a/utils/flashrom/HISTORY
+++ b/utils/flashrom/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-05-12 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: Fixed SOURCE_URL[0]
updated spell to 0.9.5.2
diff --git a/utils/gnuplot/DETAILS b/utils/gnuplot/DETAILS
index bf1f6d1517..ab310d1d43 100755
--- a/utils/gnuplot/DETAILS
+++ b/utils/gnuplot/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=gnuplot
if [[ $GNUPLOT_BRANCH == scm ]]; then
- if [[ $GNUPLOT_AUTOUPDATE == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
diff --git a/utils/gnuplot/HISTORY b/utils/gnuplot/HISTORY
index a79dd19948..2addcb1a71 100644
--- a/utils/gnuplot/HISTORY
+++ b/utils/gnuplot/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-08-22 Thomas Orgis <sobukus@sourcemage.org>
* PRE_BUILD: fix for CVS branch
diff --git a/utils/openmoko-dfu-util/DETAILS b/utils/openmoko-dfu-util/DETAILS
index bcbef39d1a..173002c1d8 100755
--- a/utils/openmoko-dfu-util/DETAILS
+++ b/utils/openmoko-dfu-util/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=openmoko-dfu-util
-if [[ "$OPENMOKO_DFU_UTIL_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="dfu-util-${VERSION}.tar.bz2"
SOURCE_HINTS=no-check-certificate
SOURCE_URL[0]=git://git.openezx.org/dfu-util.git:$SPELL
diff --git a/utils/openmoko-dfu-util/HISTORY b/utils/openmoko-dfu-util/HISTORY
index e49a27b9f9..1a753980d1 100644
--- a/utils/openmoko-dfu-util/HISTORY
+++ b/utils/openmoko-dfu-util/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-05-09 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: libusb => LIBUSB
diff --git a/utils/renouveau/DETAILS b/utils/renouveau/DETAILS
index 66362ccee1..721f5ac889 100755
--- a/utils/renouveau/DETAILS
+++ b/utils/renouveau/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=renouveau
- if [[ "$RENOUVEAU_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_URL[0]=cvs://:pserver:anonymous@nouveau.cvs.sourceforge.net:/cvsroot/nouveau:$SPELL
SOURCE_IGNORE=volatile
diff --git a/utils/renouveau/HISTORY b/utils/renouveau/HISTORY
index a2ce740ec4..ea50b3d128 100644
--- a/utils/renouveau/HISTORY
+++ b/utils/renouveau/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/utils/vbtracetool/DETAILS b/utils/vbtracetool/DETAILS
index 00fba085c3..830fd253ac 100755
--- a/utils/vbtracetool/DETAILS
+++ b/utils/vbtracetool/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=vbtracetool
- if [[ "$VBTRACETOOL_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://people.freedesktop.org/~stuart/$SPELL:$SPELL-git
SOURCE_IGNORE=volatile
diff --git a/utils/vbtracetool/HISTORY b/utils/vbtracetool/HISTORY
index 5c1ac2787b..4398e1bcd1 100644
--- a/utils/vbtracetool/HISTORY
+++ b/utils/vbtracetool/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-29 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/video/animata/DETAILS b/video/animata/DETAILS
index 6156317bf2..855bcf4482 100755
--- a/video/animata/DETAILS
+++ b/video/animata/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=animata
-if test "$ANIMATA_AUTOUPDATE" = "y"; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=svn
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
SOURCE_URL[0]=svn_http://animata.googlecode.com/svn/trunk:animata-svn
diff --git a/video/animata/HISTORY b/video/animata/HISTORY
index ba4d010601..7599aec07b 100644
--- a/video/animata/HISTORY
+++ b/video/animata/HISTORY
@@ -1,2 +1,5 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-11-01 Ladislav Hagara <hgr@vabo.cz>
* DETAILS, DEPENDS, PREPARE, PRE_BUILD, BUILD, INSTALL: spell created
diff --git a/video/dvdauthor/DETAILS b/video/dvdauthor/DETAILS
index e70e851bf6..1c8fa68508 100755
--- a/video/dvdauthor/DETAILS
+++ b/video/dvdauthor/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=dvdauthor
if [ "$DVDAUTHOR_BRANCH" == "scm" ]; then
- if [ "$DVDAUTHOR_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-git
SOURCE_URL[0]=git://github.com/ldo/dvdauthor
diff --git a/video/dvdauthor/HISTORY b/video/dvdauthor/HISTORY
index 4d4798a5ce..28f53b6328 100644
--- a/video/dvdauthor/HISTORY
+++ b/video/dvdauthor/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-01-15 Robin Cook <rcook@wyrms.net>
* PREPARE: added for option for scm build
* DETAILS: updated to 0.7.1 and anded for scm build
diff --git a/video/minitube/DETAILS b/video/minitube/DETAILS
index 193e08705c..f2efc8e392 100755
--- a/video/minitube/DETAILS
+++ b/video/minitube/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=minitube
if [[ "${MINITUBE_BRANCH}" == "scm" ]] ; then
- if [[ "${MINITUBE_AUTOUPDATE}" == "y" ]] ; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-git.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-git
SOURCE_URL[0]=git://gitorious.org/minitube/minitube.git
diff --git a/video/minitube/HISTORY b/video/minitube/HISTORY
index ee01c803fb..943679bd1e 100644
--- a/video/minitube/HISTORY
+++ b/video/minitube/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-12-22 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 2.1.5
* PRE_BUILD, 0001-remove-reference-to-missing-translations.patch:
diff --git a/video/mlt/DETAILS b/video/mlt/DETAILS
index c29d9677fa..a80fed5702 100755
--- a/video/mlt/DETAILS
+++ b/video/mlt/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=mlt
if [[ $MLT_BRANCH == scm ]];then
- if [[ "$MLT_AUTOUPDATE" == "y" ]]; then
- VERSION=-$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE_IGNORE=volatile
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://mltframework.org/mlt.git:mlt-git
diff --git a/video/mlt/HISTORY b/video/mlt/HISTORY
index b15f56d2b1..0b73b57f62 100644
--- a/video/mlt/HISTORY
+++ b/video/mlt/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-09-13 Robin Cook <rcook@wyrms.net>
* DETAILS: updated to version 0.9.0
diff --git a/video/mplayer/DETAILS b/video/mplayer/DETAILS
index 21799a5b0c..1db1594bd0 100755
--- a/video/mplayer/DETAILS
+++ b/video/mplayer/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=mplayer
if [[ $MPLAYER_BRANCH == scm ]]; then
- if [[ $MPLAYER_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-svn.tar.bz2
SOURCE_URL[0]=svn://svn.mplayerhq.hu/mplayer/trunk/:$SPELL-svn
SOURCE_IGNORE=volatile
diff --git a/video/mplayer/HISTORY b/video/mplayer/HISTORY
index efcf035d90..bf1e83afce 100644
--- a/video/mplayer/HISTORY
+++ b/video/mplayer/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-30 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: giflib => GIFLIB
diff --git a/video/mplayer2/DETAILS b/video/mplayer2/DETAILS
index 018512a4e0..37637a3368 100755
--- a/video/mplayer2/DETAILS
+++ b/video/mplayer2/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=mplayer2
if [ "$MPLAYER2_BRANCH" == "scm" ]; then
- if [ "$MPLAYER2_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.mplayer2.org/$SPELL:$SPELL-git
SOURCE_IGNORE=volatile
diff --git a/video/mplayer2/HISTORY b/video/mplayer2/HISTORY
index 60474f6aa6..385f2a1fa6 100644
--- a/video/mplayer2/HISTORY
+++ b/video/mplayer2/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-30 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: giflib => GIFLIB
diff --git a/windowmanagers/blackbox/DETAILS b/windowmanagers/blackbox/DETAILS
index c2455b353d..e647c91b22 100755
--- a/windowmanagers/blackbox/DETAILS
+++ b/windowmanagers/blackbox/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=blackbox
if [[ $BLACKBOX_BRANCH == scm ]]; then
- if [[ $BLACKBOX_AUTOUPDATE == y ]] ; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-cvs-snapshot.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}
SOURCE_URL[0]=http://blackboxwm.sourceforge.net/$SOURCE
diff --git a/windowmanagers/blackbox/HISTORY b/windowmanagers/blackbox/HISTORY
index 57990dc87b..2f248c6355 100644
--- a/windowmanagers/blackbox/HISTORY
+++ b/windowmanagers/blackbox/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-08-19 Remko van der Vossen <wich@sourcemagr.org>
* DEPENDS: replace xorg-libs with individual libraries
* DETAILS: use new style source forge url
diff --git a/windowmanagers/fluxbox/DETAILS b/windowmanagers/fluxbox/DETAILS
index 2c8685c331..f42efa8ed0 100755
--- a/windowmanagers/fluxbox/DETAILS
+++ b/windowmanagers/fluxbox/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=fluxbox
if [[ $FLUXBOX_BRANCH == scm ]]; then
- if [[ $FLUXBOX_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://git.fluxbox.org/fluxbox.git:fluxbox
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
diff --git a/windowmanagers/fluxbox/HISTORY b/windowmanagers/fluxbox/HISTORY
index cd32350eb7..2ae7b0b474 100644
--- a/windowmanagers/fluxbox/HISTORY
+++ b/windowmanagers/fluxbox/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-02-13 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 1.3.5
diff --git a/windowmanagers/fvwm/DETAILS b/windowmanagers/fvwm/DETAILS
index c45004ca75..f6589adb48 100755
--- a/windowmanagers/fvwm/DETAILS
+++ b/windowmanagers/fvwm/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=fvwm
if [[ "${FVWM_BRANCH}" == "scm" ]] ; then
- if [[ "${FVWM_AUTOUPDATE}" == "y" ]] ; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=fvwm-cvs.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/fvwm-cvs
SOURCE_URL[0]=cvs://:pserver:anonymous:guest@cvs.fvwm.org:/home/cvs/fvwm:fvwm
diff --git a/windowmanagers/fvwm/HISTORY b/windowmanagers/fvwm/HISTORY
index e288daace0..38bef69bf3 100644
--- a/windowmanagers/fvwm/HISTORY
+++ b/windowmanagers/fvwm/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2013-02-01 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 2.6.5
diff --git a/windowmanagers/wmii/DETAILS b/windowmanagers/wmii/DETAILS
index 0fb0599c42..b5ef103339 100755
--- a/windowmanagers/wmii/DETAILS
+++ b/windowmanagers/wmii/DETAILS
@@ -1,11 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL="wmii"
if [[ ${WMII_BRANCH} == scm ]]; then
- if [[ ${WMII_AUTOUPDATE} == "y" ]]
- then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=scm
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-scm.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SOURCE%.tar.bz2}
SOURCE_URL[0]=hg_http://hg.suckless.org/wmii:${SOURCE%.tar.bz2}
diff --git a/windowmanagers/wmii/HISTORY b/windowmanagers/wmii/HISTORY
index e23efb6b2f..39fd3616ad 100644
--- a/windowmanagers/wmii/HISTORY
+++ b/windowmanagers/wmii/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-14 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS, DOWNLOAD, PREPARE, DETAILS: Use prepare_select_branch
diff --git a/wm-addons/obvious/DETAILS b/wm-addons/obvious/DETAILS
index 0ccddf9321..24c0a80965 100755
--- a/wm-addons/obvious/DETAILS
+++ b/wm-addons/obvious/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=obvious
-if [ "$OBVIOUS_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE="${SPELL}-${VERSION}.tar.bz2"
SOURCE_URL[0]=git://git.mercenariesguild.net/${SPELL}.git:${SPELL}-git
SOURCE_IGNORE=volatile
diff --git a/wm-addons/obvious/HISTORY b/wm-addons/obvious/HISTORY
index 3352758700..35778f5741 100644
--- a/wm-addons/obvious/HISTORY
+++ b/wm-addons/obvious/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2009-11-02 Arjan Bouter <abouter@sourcemage.org>
* DEPENDS: added missing dependency on git
* TRIGGERS: added trigger on awesome, to make sure the widgets stay working
diff --git a/wm-addons/wicked/DETAILS b/wm-addons/wicked/DETAILS
index 9529de86c8..649ac68759 100755
--- a/wm-addons/wicked/DETAILS
+++ b/wm-addons/wicked/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=wicked
-if [ "$WICKED_AUTOUPDATE" = 'y' ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=git
-fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-${VERSION}.tar.bz2
SOURCE_URL[0]=git://git.glacicle.com/awesome/wicked.git:$SPELL-$VERSION
SOURCE_IGNORE=volatile
diff --git a/wm-addons/wicked/HISTORY b/wm-addons/wicked/HISTORY
index 7d661f4e8e..ae45041b12 100644
--- a/wm-addons/wicked/HISTORY
+++ b/wm-addons/wicked/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2008-10-06 Arjan Bouter <abouter@sourcemage.org>
* DETAILS,DEPENDS,PREPARE,INSTALL,BUILD: spell created
diff --git a/x11-libs/wine/DETAILS b/x11-libs/wine/DETAILS
index 7cf4b6c45a..04b2611905 100755
--- a/x11-libs/wine/DETAILS
+++ b/x11-libs/wine/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=wine
if [[ $WINE_BRANCH == scm ]]; then
- if [[ $WINE_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://source.winehq.org/git/wine.git:wine-git
SOURCE_IGNORE=volatile
diff --git a/x11-libs/wine/HISTORY b/x11-libs/wine/HISTORY
index 8fb460ddf8..8140bbc032 100644
--- a/x11-libs/wine/HISTORY
+++ b/x11-libs/wine/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-06-27 Treeve Jelbert <treeve@sourcemage.org>
* DETAILS: version 1.7.21 (devel)
diff --git a/x11/freenx/DETAILS b/x11/freenx/DETAILS
index f628ba95f6..a6134d307e 100755
--- a/x11/freenx/DETAILS
+++ b/x11/freenx/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=freenx
if [[ "$FREENX_BRANCH" == "scm" ]]; then
- if [[ "$FREENX_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=cvs
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_URL[0]=cvs://:pserver:anonymous@cvs.freenx.berlios.de:/cvsroot/freenx:$SPELL
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
diff --git a/x11/freenx/HISTORY b/x11/freenx/HISTORY
index e5bdd08984..99b4bfd901 100644
--- a/x11/freenx/HISTORY
+++ b/x11/freenx/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-04-02 Ismael Luceno <ismael@sourcemage.org>
* DETAILS: fixed typo
diff --git a/x11/transset/DETAILS b/x11/transset/DETAILS
index 827a767305..35b6ba5adb 100755
--- a/x11/transset/DETAILS
+++ b/x11/transset/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=transset
-if [ "$TRANSSET_AUTOUPDATE" == "y" ]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=cvs
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-cvs.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvs
SOURCE_URL[0]=cvs://:pserver:anoncvs@freedesktop.org:/cvs/xapps:$SPELL
diff --git a/x11/transset/HISTORY b/x11/transset/HISTORY
index 263cfac04f..4a750b301a 100644
--- a/x11/transset/HISTORY
+++ b/x11/transset/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-22 Ismael Luceno <ismael@sourcemage.org>
* DETAILS, PREPARE: Use prepare_select_branch
diff --git a/xfce/xfburn/DETAILS b/xfce/xfburn/DETAILS
index b2e36c5ef7..8b1c1233fb 100755
--- a/xfce/xfburn/DETAILS
+++ b/xfce/xfburn/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=xfburn
if [[ $XFBURN_BRANCH == scm ]]; then
- if [[ $XFBURN_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git_http://git.xfce.org/apps/$SPELL:$SPELL-git
SOURCE_IGNORE=volatile
diff --git a/xfce/xfburn/HISTORY b/xfce/xfburn/HISTORY
index e1f6e70cb5..1dc49a6edd 100644
--- a/xfce/xfburn/HISTORY
+++ b/xfce/xfburn/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2012-07-26 Pol Vinogradov <vin.public@gmail.com>
* PRE_BUILD: apply glib232.patch to stable branch only
diff --git a/xorg-driver/wizardpen/DETAILS b/xorg-driver/wizardpen/DETAILS
index f638e5d791..0a063e1dc1 100755
--- a/xorg-driver/wizardpen/DETAILS
+++ b/xorg-driver/wizardpen/DETAILS
@@ -1,9 +1,6 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=wizardpen
-if [[ "$WIZARDPEN_AUTOUPDATE" = y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=trunk
-fi
+ VERSION=$(get_scm_version)
SOURCE="wizardpen-trunk.tar.bz2"
FORCE_DOWNLOAD=on
SOURCE_IGNORE=volatile
diff --git a/xorg-driver/wizardpen/HISTORY b/xorg-driver/wizardpen/HISTORY
index b8eb237a94..fd12b603b9 100644
--- a/xorg-driver/wizardpen/HISTORY
+++ b/xorg-driver/wizardpen/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2011-09-14 Ismael Luceno <ismael@sourcemage.org>
* PREPARE, DETAILS: Use prepare_select_branch
diff --git a/xorg-driver/xf86-video-ati/DETAILS b/xorg-driver/xf86-video-ati/DETAILS
index 1c0f81dfcb..ba041e0c19 100755
--- a/xorg-driver/xf86-video-ati/DETAILS
+++ b/xorg-driver/xf86-video-ati/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=xf86-video-ati
if [[ $XF86_VIDEO_ATI_BRANCH == scm ]]; then
- if [[ $XF86_VIDEO_ATI_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
- else
- VERSION=scm
- fi
SOURCE=$SPELL-scm.tar.bz2
SOURCE_URL[0]="git://anongit.freedesktop.org/git/xorg/driver/$SPELL:$SPELL-scm"
SOURCE_IGNORE=volatile
diff --git a/xorg-driver/xf86-video-ati/HISTORY b/xorg-driver/xf86-video-ati/HISTORY
index f8398514dd..51006f874c 100644
--- a/xorg-driver/xf86-video-ati/HISTORY
+++ b/xorg-driver/xf86-video-ati/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-05-23 Ismael Luceno <ismael@sourcemage.org>
* DEPENDS: SCM branch depends on glamor
* DEPENDS, DETAILS, PREPARE, PRE_BUILD: Use prepare_select_branch
diff --git a/xorg-driver/xf86-video-openchrome/DETAILS b/xorg-driver/xf86-video-openchrome/DETAILS
index 8f79272cb0..c4a6d7e5c5 100755
--- a/xorg-driver/xf86-video-openchrome/DETAILS
+++ b/xorg-driver/xf86-video-openchrome/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=xf86-video-openchrome
if [[ $XF86_VIDEO_OPENCHROME_BRANCH == scm ]]; then
- if [[ "$XF86_VIDEO_OPENCHROME_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=svn
- fi
+ VERSION=$(get_scm_version)
SOURCE=${SPELL}-svn.tar.bz2
SOURCE_HINTS=old_svn_compat
SOURCE_URL[0]=svn://svn.openchrome.org/svn/trunk:$SPELL
diff --git a/xorg-driver/xf86-video-openchrome/HISTORY b/xorg-driver/xf86-video-openchrome/HISTORY
index 35ed339d8c..65776c1ea2 100644
--- a/xorg-driver/xf86-video-openchrome/HISTORY
+++ b/xorg-driver/xf86-video-openchrome/HISTORY
@@ -1,3 +1,6 @@
+2014-07-03 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Use get_scm_version
+
2014-04-14 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: mesalib => MESALIB