Move Mercurial from stage 3 to 5 (Python dependency)
authorHugo Villeneuve <hugo@hugovil.com>
Fri, 28 Jun 2013 03:43:49 +0000 (23:43 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 30 Jul 2013 03:22:16 +0000 (23:22 -0400)
config/dependencies
stage3/hv-install-1
stage3/misc/hgrc [deleted file]
stage3/packages-update
stage3/pkg/mercurial [deleted file]
stage5/hv-install-1
stage5/misc/hgrc [new file with mode: 0644]
stage5/packages-update
stage5/pkg/mercurial [new file with mode: 0644]

index 53a5347..0a0b5a0 100644 (file)
@@ -173,3 +173,5 @@ ${MYSQL}: ${CMAKE}
 ${LIBX264}: ${YASM}
 
 ${GST_FFMPEG}: ${YASM}
+
+${MERCURIAL}: ${PYTHON}
index a3a10da..b6e004d 100755 (executable)
@@ -99,7 +99,6 @@ ipkg -m noac ${COLORDIFF}
 ipkg ${INTLTOOL}
 
 ipkg -m acnb ${GIT} "--libexecdir=/usr/lib --with-gitconfig=/etc/gitconfig"
-ipkg -m noac ${MERCURIAL}
 
 ipkg ${DIALOG}
 
diff --git a/stage3/misc/hgrc b/stage3/misc/hgrc
deleted file mode 100644 (file)
index bf75b93..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-[extensions]
-color =
-rebase =
-
-# extension do display log in graphical way
-graphlog =
-pager =
-
-# extension for paging mercurial output
-[pager]
-pager = LESS='FSRX' less
-attend = annotate, cat, diff, export, log, glog
-
-[alias]
-# Give log output similar to git
-glog = log --template '\033[0;33mcommit {node} [r{rev}]\n\033[0mAuthor: {author}\nDate:   {date|rfc822date}\n\n\t{desc|strip|fill68|tabindent}\n\n'
index 6b09287..cb99a2e 100755 (executable)
@@ -74,7 +74,6 @@ fpkg -e "tar.gz" ${DOSFSTOOLS} "http://fossies.org/linux/misc"
 fpkg -e "tar.gz" ${GIT} "http://git-core.googlecode.com/files"
 fpkg -e "tar.gz" "git-manpages-$(get_pkg_ver ${GIT})" \
     "http://git-core.googlecode.com/files"
-fpkg -e "tar.gz" ${MERCURIAL} "http://mercurial.selenic.com/release"
 
 fpkg -e "tar.gz" ${DIALOG} "ftp://ftp.us.debian.org/debian/pool/main/d/dialog"
 
diff --git a/stage3/pkg/mercurial b/stage3/pkg/mercurial
deleted file mode 100644 (file)
index 22dbcde..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-hvbuild()
-{
-    cd ${LFS_TMP}/${PACKAGE}
-
-    make build
-    make PREFIX=/usr install-bin
-}
-
-hvbuild_post()
-{
-    install -dv /etc/mercurial
-    install -v -m644 ${SCRDIR}/misc/hgrc /etc/mercurial
-}
index 90062f9..4c3b61a 100755 (executable)
@@ -229,6 +229,8 @@ if [ "x${INST_TYPE}" = "xserver" -o "x${INST_TYPE}" = "xltsp-server" ]; then
     ipkg ${ABIWORD} "--disable-spellcheck"
 fi
 
+ipkg -m noac ${MERCURIAL}
+
 ipkg ${INDENT}
 
 if [ "x${USE_SAMBA}" = "xyes" ]; then
diff --git a/stage5/misc/hgrc b/stage5/misc/hgrc
new file mode 100644 (file)
index 0000000..bf75b93
--- /dev/null
@@ -0,0 +1,16 @@
+[extensions]
+color =
+rebase =
+
+# extension do display log in graphical way
+graphlog =
+pager =
+
+# extension for paging mercurial output
+[pager]
+pager = LESS='FSRX' less
+attend = annotate, cat, diff, export, log, glog
+
+[alias]
+# Give log output similar to git
+glog = log --template '\033[0;33mcommit {node} [r{rev}]\n\033[0mAuthor: {author}\nDate:   {date|rfc822date}\n\n\t{desc|strip|fill68|tabindent}\n\n'
index 6da4eb0..7887002 100755 (executable)
@@ -171,6 +171,8 @@ fpkg -e "tar.gz" ${SAMBA} "ftp://ftp.samba.org/pub/samba/old-versions"
 
 fpkg ${PHP}   "http://us2.php.net/distributions"
 
+fpkg -e "tar.gz" ${MERCURIAL} "http://mercurial.selenic.com/release"
+
 fpkg -m gnu ${INDENT}
 
 fpkg -e "tgz" ${LTSP_UTILS} "http://ltsp.mirrors.tds.net/pub/ltsp/utils"
diff --git a/stage5/pkg/mercurial b/stage5/pkg/mercurial
new file mode 100644 (file)
index 0000000..22dbcde
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+hvbuild()
+{
+    cd ${LFS_TMP}/${PACKAGE}
+
+    make build
+    make PREFIX=/usr install-bin
+}
+
+hvbuild_post()
+{
+    install -dv /etc/mercurial
+    install -v -m644 ${SCRDIR}/misc/hgrc /etc/mercurial
+}