Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (784e6c9bedd5c9de0f2d7edf79fd88f0dd1681c1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (784e6c9bedd5c9de0f2d7edf79fd88f0dd1681c1)
  • Date: Tue, 19 Feb 2013 21:01:19 -0600

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

.gitignore | 1
ChangeLog | 5 ++-
emacs-lisp/FUNCTIONS | 46
++++++++++++++++++-------------
emacs-lisp/emacs-goodies-el/BUILD | 8 +++++
emacs-lisp/emacs-goodies-el/DEPENDS | 1
emacs-lisp/emacs-goodies-el/DETAILS | 30 ++++++++++++++++++++
emacs-lisp/emacs-goodies-el/HISTORY | 3 ++
emacs-lisp/emacs-goodies-el/INSTALL | 8 +++++
emacs-lisp/emacs-goodies-el/PREPARE | 2 +
emacs-lisp/fill-column-indicator/DETAILS | 2 -
10 files changed, 85 insertions(+), 21 deletions(-)

New commits:
commit 784e6c9bedd5c9de0f2d7edf79fd88f0dd1681c1
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

.gitignore: Add .#*

commit 82c245c30670467ff942607e84c39dc4c1f25f8c
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

Fix ChangeLog entry added by cc5c415 (dmg2img)

commit 05957827ef3990430d73b6ddddaebdad5e2f0af2
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

emacs-goodies-el: new spell, Various functions for Emacs

commit 0dcf976bdd4428ced9c6fa2a580c047287c0e0b7
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

emacs-lisp: FUNCTIONS: Enable to specify the source directories

Now install and build functions take parameters. This enables us to build
packages containing multiple source subdirectories.

commit aeda996b37c3192d39832bbb2a938305dc507b0a
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

fill-column-indicator: Fix typo in DETAILS

diff --git a/.gitignore b/.gitignore
index 68a6800..76453e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ provides.index
version.index
keyword.index
*~
+.#*
diff --git a/ChangeLog b/ChangeLog
index 0239fb1..c153127 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,10 @@
+2013-02-19 Ismael Luceno <ismael AT sourcemage.org>
+ * emacs-lisp/emacs-goodies-el: new spell, Various functions for Emacs
+
2013-02-17 Robin Cook <rcook AT wyrms.net>
* libs/libcdio-paranoia: new spell, split from libcdio

-2013-02-17 Ismael Luceno <ismael.luceno AT gmail.com>
+2013-02-17 Ismael Luceno <ismael AT sourcemage.org>
* disk/dmg2img: new spell, Converts DMG to standard (hfs+) disk image

2013-02-16 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
diff --git a/emacs-lisp/FUNCTIONS b/emacs-lisp/FUNCTIONS
index 6f054a8..4375212 100755
--- a/emacs-lisp/FUNCTIONS
+++ b/emacs-lisp/FUNCTIONS
@@ -10,38 +10,46 @@ function emacs_lisp_install() {
## Section-default build script.
#-------------------------------------------------------------------------
function default_build_emacs_lisp() {
+ [ $# = 0 ] && set -- "$SOURCE_DIRECTORY"
shopt -s nullglob

- local texi_files=("$SOURCE_DIRECTORY"/*.texi)
-
- emacs -Q -L "$SOURCE_DIRECTORY" -batch -f batch-byte-compile \
- "$SOURCE_DIRECTORY"/*.el &&
- if [ ${#texi_files[@]} -gt 0 ]
- then
- makeinfo "${texi_files[@]}" &&
- gzip -9 "$SOURCE_DIRECTORY"/*.info
- fi
+ local texi_files
+
+ while [ $# -gt 0 ]; do
+ emacs -Q -L "$1" -batch -f batch-byte-compile "$1"/*.el &&
+ texi_files=("$1"/*.texi)
+ if [ ${#texi_files[@]} -gt 0 ]
+ then
+ makeinfo "${texi_files[@]}" &&
+ gzip -9 "$1"/*.info
+ fi
+ shift
+ done
}

#-------------------------------------------------------------------------
## Section-default install script.
#-------------------------------------------------------------------------
function default_install_emacs_lisp() {
+ [ $# = 0 ] && set -- "$SOURCE_DIRECTORY"
shopt -s nullglob

local dir="$INSTALL_ROOT/usr/share/emacs/site-lisp/$SPELL"
local info_dir="$INSTALL_ROOT/usr/share/info"

- local info_files=("$SOURCE_DIRECTORY"/*.info.gz)
-
- install -d -m755 "$dir" &&
- install -m644 "$SOURCE_DIRECTORY"/*.el "$SOURCE_DIRECTORY"/*.elc "$dir" &&
-
- if [ ${#info_files[@]} -gt 0 ]
- then
- install -m644 "${info_files[@]}" "$info_dir" &&
- install-info --info-dir="$info_dir" "${info_files[@]/#*\//$info_dir/}"
- fi
+ local info_files
+
+ while [ $# -gt 0 ]; do
+ install -d -m755 "$dir" &&
+ install -m644 "$1"/*.el "$1"/*.elc "$dir" &&
+ info_files=("$1"/*.info.gz)
+ if [ ${#info_files[@]} -gt 0 ]
+ then
+ install -m644 "${info_files[@]}" "$info_dir" &&
+ install-info --info-dir="$info_dir" "${info_files[@]/#*\//$info_dir/}"
+ fi
+ shift
+ done
}

function default_build() {
diff --git a/emacs-lisp/emacs-goodies-el/BUILD
b/emacs-lisp/emacs-goodies-el/BUILD
new file mode 100755
index 0000000..17f9966
--- /dev/null
+++ b/emacs-lisp/emacs-goodies-el/BUILD
@@ -0,0 +1,8 @@
+cd "$SOURCE_DIRECTORY"/elisp
+default_build_emacs_lisp \
+ debian-el \
+ devscripts-el \
+ dpkg-dev-el \
+ emacs-goodies-el \
+ gnus-bonus-el \
+ vm-bonus-el
diff --git a/emacs-lisp/emacs-goodies-el/DEPENDS
b/emacs-lisp/emacs-goodies-el/DEPENDS
new file mode 100755
index 0000000..ce886b1
--- /dev/null
+++ b/emacs-lisp/emacs-goodies-el/DEPENDS
@@ -0,0 +1 @@
+depends EMACS
diff --git a/emacs-lisp/emacs-goodies-el/DETAILS
b/emacs-lisp/emacs-goodies-el/DETAILS
new file mode 100755
index 0000000..a761b80
--- /dev/null
+++ b/emacs-lisp/emacs-goodies-el/DETAILS
@@ -0,0 +1,30 @@
+ SPELL=emacs-goodies-el
+if [ "$EMACS_GOODIES_EL_AUTOUPDATE" = y ]; then
+ VERSION=$(date +%Y%m%d)
+else
+ VERSION=scm
+fi
+ SOURCE="$SPELL-scm.tar.bz2"
+
SOURCE_URL[0]=cvs://:pserver:anonymous AT anonscm.debian.org:/cvs/pkg-goodies-el:$SPELL:HEAD
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-scm"
+ WEB_SITE="https://alioth.debian.org/projects/pkg-goodies-el";
+ LICENSE[0]="GPL"
+ ENTERED=20130219
+ KEYWORDS=""
+ SHORT="Various (some Debian-related) functions for Emacs"
+cat << EOF
+This package contains a number of Emacs-Lisp files, obtained from various
+sources, including the gnu.emacs.sources newsgroup and a few websites, that
+provide various functions to Emacs.
+
+Includes:
+ * debian-changelog-mode
+ * debian-control-mode
+ * pbuilder-log-view-mode
+ * pbuilder-mode
+ * apache-mode
+ * upstart-mode
+ * ... and more ...
+EOF
diff --git a/emacs-lisp/emacs-goodies-el/HISTORY
b/emacs-lisp/emacs-goodies-el/HISTORY
new file mode 100644
index 0000000..23befb1
--- /dev/null
+++ b/emacs-lisp/emacs-goodies-el/HISTORY
@@ -0,0 +1,3 @@
+2013-02-19 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, PREPARE: spell created
+
diff --git a/emacs-lisp/emacs-goodies-el/INSTALL
b/emacs-lisp/emacs-goodies-el/INSTALL
new file mode 100755
index 0000000..56c09ba
--- /dev/null
+++ b/emacs-lisp/emacs-goodies-el/INSTALL
@@ -0,0 +1,8 @@
+cd "$SOURCE_DIRECTORY"/elisp
+default_install_emacs_lisp \
+ debian-el \
+ devscripts-el \
+ dpkg-dev-el \
+ emacs-goodies-el \
+ gnus-bonus-el \
+ vm-bonus-el
diff --git a/emacs-lisp/emacs-goodies-el/PREPARE
b/emacs-lisp/emacs-goodies-el/PREPARE
new file mode 100755
index 0000000..f8b7d7e
--- /dev/null
+++ b/emacs-lisp/emacs-goodies-el/PREPARE
@@ -0,0 +1,2 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch
diff --git a/emacs-lisp/fill-column-indicator/DETAILS
b/emacs-lisp/fill-column-indicator/DETAILS
index 6fdf670..3e0be53 100755
--- a/emacs-lisp/fill-column-indicator/DETAILS
+++ b/emacs-lisp/fill-column-indicator/DETAILS
@@ -1,5 +1,5 @@
SPELL=fill-column-indicator
-if [ "$FILL_COLUMN_INDICATOR_AUTOUPDATE" == y ]; then
+if [ "$FILL_COLUMN_INDICATOR_AUTOUPDATE" = y ]; then
VERSION=$(date +%Y%m%d)
else
VERSION=git



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (784e6c9bedd5c9de0f2d7edf79fd88f0dd1681c1), Ismael Luceno, 02/19/2013

Archive powered by MHonArc 2.6.24.

Top of Page