Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (7a6c79f7f83203a14d9d882f484664faa7ee2abd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Sukneet Basuta <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (7a6c79f7f83203a14d9d882f484664faa7ee2abd)
  • Date: Tue, 5 Jun 2012 21:10:23 -0500

GIT changes to master grimoire by Sukneet Basuta <sukneet AT sourcemage.org>:

ChangeLog | 5
editors/sandy/BUILD | 1
editors/sandy/CONFIGURE | 3
editors/sandy/DEPENDS | 3
editors/sandy/DETAILS | 22 +++
editors/sandy/HISTORY | 4
editors/sandy/INSTALL | 5
editors/sandy/PRE_BUILD | 14 ++
editors/sandy/PROVIDES | 1
http/surf/HISTORY | 4
http/surf/PRE_BUILD | 8 -
shell-term-fm/ffmpegthumbnailer/DEPENDS | 5
shell-term-fm/ffmpegthumbnailer/DETAILS | 21 +++
shell-term-fm/ffmpegthumbnailer/HISTORY | 4
shell-term-fm/ffmpegthumbnailer/PRE_BUILD | 4
shell-term-fm/ffmpegthumbnailer/desktop/ffmpegthumbnailer.desktop | 4
shell-term-fm/ffmpegthumbnailer/ffmpegapi_fix_r241.patch | 56
++++++++++
windowmanagers/dwm/DETAILS | 21 +--
windowmanagers/dwm/HISTORY | 6 +
windowmanagers/dwm/PRE_BUILD | 8 -
20 files changed, 181 insertions(+), 18 deletions(-)

New commits:
commit 7a6c79f7f83203a14d9d882f484664faa7ee2abd
Author: Sukneet Basuta <sukneet AT sourcemage.org>
Commit: Sukneet Basuta <sukneet AT sourcemage.org>

surf: ensure EDITOR has a value by sourcing /etc/profile.d/editor.sh or
defaulting to nano

commit d7d6d741fc3d04181295d430b70ca87e1fb3d319
Author: Sukneet Basuta <sukneet AT sourcemage.org>
Commit: Sukneet Basuta <sukneet AT sourcemage.org>

ffmpegthumbnailer: new spell, Thumbnailer to create thumbnails for video
files.

commit 5e4e25d9f049cd5aa16caf33399102aa137e307a
Author: Sukneet Basuta <sukneet AT sourcemage.org>
Commit: Sukneet Basuta <sukneet AT sourcemage.org>

sandy: new spell, A tiny ncurses text editor (Closes #368)

commit f97272664526ee43577eab2441596756dbfe2cc2
Author: Sukneet Basuta <sukneet AT sourcemage.org>
Commit: Sukneet Basuta <sukneet AT sourcemage.org>

dwm: => 6.0
fixed formatting for Long description
PRE_BUILD: ensure EDITOR has a value by sourcing /etc/profile.d/editor.sh
or defaulting to nano

diff --git a/ChangeLog b/ChangeLog
index 0c766f0..8861d78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-05 Sukneet Basuta <sukneet AT sourcemage.org>
+ * editors/sandy: new spell, A tiny ncurses text editor
+ * shell-term-fm/ffmpegthumbnailer: new spell, Thumbnailer to create
+ thumbnails for video files
+
2012-06-04 Justin Boffemmyer <flux AT sourcemage.org>
* utils/teapot: new spell, a curses-based advanced spreadsheet

diff --git a/editors/sandy/BUILD b/editors/sandy/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/editors/sandy/BUILD
@@ -0,0 +1 @@
+make
diff --git a/editors/sandy/CONFIGURE b/editors/sandy/CONFIGURE
new file mode 100755
index 0000000..0f28589
--- /dev/null
+++ b/editors/sandy/CONFIGURE
@@ -0,0 +1,3 @@
+message "sandy does not use a config file, you might want to customize it
now" &&
+message "Your custom config will be saved to
${INSTALL_ROOT}/usr/share/doc/sandy/" &&
+config_query SANDY_CONFIG 'Do you wish to use a custom config.def.h?' n
diff --git a/editors/sandy/DEPENDS b/editors/sandy/DEPENDS
new file mode 100755
index 0000000..0a9fea1
--- /dev/null
+++ b/editors/sandy/DEPENDS
@@ -0,0 +1,3 @@
+depends ncurses &&
+suggest_depends dmenu &&
+suggest_depends xsel
diff --git a/editors/sandy/DETAILS b/editors/sandy/DETAILS
new file mode 100755
index 0000000..d8e2088
--- /dev/null
+++ b/editors/sandy/DETAILS
@@ -0,0 +1,22 @@
+ SPELL=sandy
+if [[ ${SANDY_AUTOUPDATE} == "y" ]]; then
+ VERSION=$(date +%Y%m%d)
+else
+ VERSION=scm
+fi
+ SOURCE=${SPELL}-scm.tar.bz2
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELL}-scm
+ SOURCE_URL[0]=hg_http://hg.suckless.org/sandy:${SPELL}-scm
+ SOURCE_IGNORE=volatile
+ WEB_SITE=http://tools.suckless.org/sandy/
+ ENTERED=20120229
+ LICENSE[0]=MIT
+ KEYWORDS="editors"
+ SHORT="A tiny ncurses text editor"
+cat << EOF
+Sandy is an ncurses text editor with an easy-to-read, hackable C
+source. Sandy tries to maximize screen estate, minimize the SLOC
+used and not get in your way too much. It can somehow be controlled
+using a named pipe that lives in /tmp and all preferences and
+keybindings are to be chosen at compile time.
+EOF
diff --git a/editors/sandy/HISTORY b/editors/sandy/HISTORY
new file mode 100644
index 0000000..958f8a0
--- /dev/null
+++ b/editors/sandy/HISTORY
@@ -0,0 +1,4 @@
+2012-06-05 Sukneet Basuta <sukneet AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, PROVIDES: modified Neko Nyancat's
+ spell files from Feature #368
+ * CONFIGURE, PRE_BUILD, INSTALL: created
diff --git a/editors/sandy/INSTALL b/editors/sandy/INSTALL
new file mode 100755
index 0000000..e112ee4
--- /dev/null
+++ b/editors/sandy/INSTALL
@@ -0,0 +1,5 @@
+default_install &&
+if [[ "$SANDY_CONFIG" == 'y' ]]; then
+ mkdir -p ${INSTALL_ROOT}/usr/share/doc/sandy &&
+ cp config.def.h ${INSTALL_ROOT}/usr/share/doc/sandy/
+fi
diff --git a/editors/sandy/PRE_BUILD b/editors/sandy/PRE_BUILD
new file mode 100755
index 0000000..ea284b0
--- /dev/null
+++ b/editors/sandy/PRE_BUILD
@@ -0,0 +1,14 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY} &&
+
+if [[ "$SANDY_CONFIG" == 'y' ]]; then
+ if [[ -e ${INSTALL_ROOT}/usr/share/doc/sandy/config.def.h ]]; then
+ cp ${INSTALL_ROOT}/usr/share/doc/sandy/config.def.h ./
+ fi &&
+ if query 'Do you want to edit your config now?' n; then
+ if [ -z"$EDITOR" ]; then
+ . /etc/profile.d/editor.sh
+ fi
+ ${EDITOR:-nano} config.def.h
+ fi
+fi
diff --git a/editors/sandy/PROVIDES b/editors/sandy/PROVIDES
new file mode 100755
index 0000000..8182706
--- /dev/null
+++ b/editors/sandy/PROVIDES
@@ -0,0 +1 @@
+TEXT-EDITOR
diff --git a/http/surf/HISTORY b/http/surf/HISTORY
index fce6752..da2a64d 100644
--- a/http/surf/HISTORY
+++ b/http/surf/HISTORY
@@ -1,3 +1,7 @@
+2012-06-05 Sukneet Basuta <sukneet AT sourcemage.org>
+ * PRE_BUILD: ensure EDITOR has a value by sourcing
+ /etc/profile.d/editor.sh or defaulting to nano
+
2011-09-29 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS, DETAILS, DOWNLOAD, PREPARE: Use prepare_select_branch

diff --git a/http/surf/PRE_BUILD b/http/surf/PRE_BUILD
index 13e5708..3c877dc 100755
--- a/http/surf/PRE_BUILD
+++ b/http/surf/PRE_BUILD
@@ -6,8 +6,10 @@ if [[ "$SURF_CONFIG" == 'y' ]]; then
if [[ -e ${INSTALL_ROOT}/usr/share/doc/surf/config.def.h ]]; then
cp ${INSTALL_ROOT}/usr/share/doc/surf/config.def.h ./
fi &&
- if query 'Do you want to edit your config now?' n
- then
- ${EDITOR} config.def.h
+ if query 'Do you want to edit your config now?' n; then
+ if [ -z"$EDITOR" ]; then
+ . /etc/profile.d/editor.sh
+ fi
+ ${EDITOR:-nano} config.def.h
fi
fi
diff --git a/shell-term-fm/ffmpegthumbnailer/DEPENDS
b/shell-term-fm/ffmpegthumbnailer/DEPENDS
new file mode 100755
index 0000000..d6483e9
--- /dev/null
+++ b/shell-term-fm/ffmpegthumbnailer/DEPENDS
@@ -0,0 +1,5 @@
+depends LIBAVCODEC &&
+depends libpng &&
+depends JPEG &&
+
+optional_depends gvfs "--enable-gio" "" "support for gio uris"
diff --git a/shell-term-fm/ffmpegthumbnailer/DETAILS
b/shell-term-fm/ffmpegthumbnailer/DETAILS
new file mode 100755
index 0000000..e55bea0
--- /dev/null
+++ b/shell-term-fm/ffmpegthumbnailer/DETAILS
@@ -0,0 +1,21 @@
+ SPELL=ffmpegthumbnailer
+ VERSION=2.0.7
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://${SPELL}.googlecode.com/files/${SOURCE}
+
SOURCE_HASH=sha512:f8bdcdb9227baf849a8db94e83c325666bf05e13f30d2c78b0f8e3536cd3e4463c9d83da68d1398f446682afd81a306332b90e246b17047f910ab509d30ebdc8
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://code.google.com/p/ffmpegthumbnailer/";
+ LICENSE[0]="GPLv2"
+ ENTERED=20120601
+ KEYWORDS=""
+ SHORT="Thumbnailer to create thumbnails for video files."
+cat << EOF
+This thumbnailer uses ffmpeg to decode frames from the video files, so
+supported videoformats depend on the configuration flags of ffmpeg.
+
+This thumbnailer was designed to be as fast and lightweight as possible. The
+only dependencies are ffmpeg, libpng and libjpeg.
+
+The project also includes a C/C++ library that can be used by developers to
+generate thumbnails in their projects
+EOF
diff --git a/shell-term-fm/ffmpegthumbnailer/HISTORY
b/shell-term-fm/ffmpegthumbnailer/HISTORY
new file mode 100644
index 0000000..24dfabe
--- /dev/null
+++ b/shell-term-fm/ffmpegthumbnailer/HISTORY
@@ -0,0 +1,4 @@
+2012-06-05 Sukneet Basuta <sukneet AT sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
+ * ffmpegapi_fix_r241.patch: removed depreciated ffmpeg api
+ * desktop/ffmpegthumbnailer.desktop: taken from archlinux
diff --git a/shell-term-fm/ffmpegthumbnailer/PRE_BUILD
b/shell-term-fm/ffmpegthumbnailer/PRE_BUILD
new file mode 100755
index 0000000..d7b6fd3
--- /dev/null
+++ b/shell-term-fm/ffmpegthumbnailer/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+
+patch -p0 < $SPELL_DIRECTORY/ffmpegapi_fix_r241.patch
diff --git
a/shell-term-fm/ffmpegthumbnailer/desktop/ffmpegthumbnailer.desktop
b/shell-term-fm/ffmpegthumbnailer/desktop/ffmpegthumbnailer.desktop
new file mode 100644
index 0000000..79203e5
--- /dev/null
+++ b/shell-term-fm/ffmpegthumbnailer/desktop/ffmpegthumbnailer.desktop
@@ -0,0 +1,4 @@
+[Thumbnailer Entry]
+TryExec=ffmpegthumbnailer
+Exec=ffmpegthumbnailer -s %s -i %u -o %o -c png -f -t 10
+MimeType=video/flv;video/webm;video/mkv;video/mp4;video/mpeg;video/avi;video/ogg;video/quicktime;video/x-avi;video/x-flv;video/x-mp4;video/x-mpeg;video/x-webm;video/x-mkv;application/x-extension-webm;video/x-matroska;video/x-ms-wmv;video/x-msvideo;video/x-msvideo/avi;video/x-theora/ogg;video/x-theora/ogv;video/x-ms-asf;video/x-m4v;
diff --git a/shell-term-fm/ffmpegthumbnailer/ffmpegapi_fix_r241.patch
b/shell-term-fm/ffmpegthumbnailer/ffmpegapi_fix_r241.patch
new file mode 100644
index 0000000..fd4bc8b
--- /dev/null
+++ b/shell-term-fm/ffmpegthumbnailer/ffmpegapi_fix_r241.patch
@@ -0,0 +1,56 @@
+--- libffmpegthumbnailer/moviedecoder.cpp.old 2012-05-20 11:57:04.503450287
+0200
++++ libffmpegthumbnailer/moviedecoder.cpp 2012-05-20 11:57:14.633450566
+0200
+@@ -58,19 +58,26 @@
+ void MovieDecoder::initialize(const string& filename)
+ {
+ av_register_all();
+- avcodec_init();
+ avcodec_register_all();
+
+ string inputFile = filename == "-" ? "pipe:" : filename;
+ m_AllowSeek = (filename != "-") && (filename.find("rtsp://") != 0);
+-
++
++#if LIBAVCODEC_VERSION_MAJOR < 53
+ if ((!m_FormatContextWasGiven) && av_open_input_file(&m_pFormatContext,
inputFile.c_str(), NULL, 0, NULL) != 0)
++#else
++ if ((!m_FormatContextWasGiven) &&
avformat_open_input(&m_pFormatContext, inputFile.c_str(), NULL, NULL) != 0)
++#endif
+ {
+ destroy();
+ throw logic_error(string("Could not open input file: ") + filename);
+ }
+
++#if LIBAVCODEC_VERSION_MAJOR < 53
+ if (av_find_stream_info(m_pFormatContext) < 0)
++#else
++ if (avformat_find_stream_info(m_pFormatContext, NULL) < 0)
++#endif
+ {
+ destroy();
+ throw logic_error(string("Could not find stream information"));
+@@ -90,8 +97,12 @@
+
+ if ((!m_FormatContextWasGiven) && m_pFormatContext)
+ {
++#if LIBAVCODEC_VERSION_MAJOR < 53
+ av_close_input_file(m_pFormatContext);
+ m_pFormatContext = NULL;
++#else
++ avformat_close_input(&m_pFormatContext);
++#endif
+ }
+
+ if (m_pPacket)
+@@ -159,7 +170,11 @@
+
+ m_pVideoCodecContext->workaround_bugs = 1;
+
++#if LIBAVCODEC_VERSION_MAJOR < 53
+ if (avcodec_open(m_pVideoCodecContext, m_pVideoCodec) < 0)
++#else
++ if (avcodec_open2(m_pVideoCodecContext, m_pVideoCodec, NULL) < 0)
++#endif
+ {
+ throw logic_error("Could not open video codec");
+ }
diff --git a/windowmanagers/dwm/DETAILS b/windowmanagers/dwm/DETAILS
index 0c7b1b2..23d6e6d 100755
--- a/windowmanagers/dwm/DETAILS
+++ b/windowmanagers/dwm/DETAILS
@@ -1,8 +1,8 @@
SPELL=dwm
- VERSION=5.8.2
+ VERSION=6.0
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://dl.suckless.org/dwm/${SOURCE}
-
SOURCE_HASH=sha512:22adfa862074b5211bcfb65a5a6357a72a7a81d7b070ef455a8714adaf5d61b2b46bedc9cb9a7e1325221772e49137aa90e6ac976a81484c34919c293a62a9d5
+
SOURCE_HASH=sha512:895d1d363b3756c9ba19dbf06af34be753c1ae5971d540113d7f8901ad174c2e5944ef769b43e65f7b700f34832bb24082bc91d999b287610c9925182ce70c00
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=http://dwm.suckless.org/
ENTERED=20060923
@@ -11,14 +11,11 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SHORT="dwm is a dynamic window manager for X."
cat << EOF
dwm is a dynamic window manager for X. It manages windows in tiled and
-floating layouts.
-Either layout can be applied dynamically, optimizing the environment for
-the application
-in use and the task performed. It is the little brother of wmii.
-Dwm is only a single binary, it's source code is intended to never exceed
-2000 SLOC.
-Because dwm is customized through editing its source code, it's pointless
-to make binary
-packages of it. This keeps its userbase small and elitist.
-No novices asking stupid questions.
+floating layouts. Either layout can be applied dynamically, optimizing
+the environment for the application in use and the task performed.
+It is the little brother of wmii. Dwm is only a single binary, it's
+source code is intended to never exceed 2000 SLOC. Because dwm is
+customized through editing its source code, it's pointless to make
+binary packages of it. This keeps its userbase small and elitist. No
+novices asking stupid questions.
EOF
diff --git a/windowmanagers/dwm/HISTORY b/windowmanagers/dwm/HISTORY
index e1665e7..299f645 100644
--- a/windowmanagers/dwm/HISTORY
+++ b/windowmanagers/dwm/HISTORY
@@ -1,3 +1,9 @@
+2012-06-05 Sukneet Basuta <sukneet AT sourcemage.org>
+ * DETAILS: updated spell to 6.0
+ fixed formatting for Long description
+ * PRE_BUILD: ensure EDITOR has a value by sourcing
+ /etc/profile.d/editor.sh or defaulting to nano
+
2011-10-14 Bor Kraljič <pyrobor AT ver.si>
* DETAILS: fixed long description wrap (scripted)

diff --git a/windowmanagers/dwm/PRE_BUILD b/windowmanagers/dwm/PRE_BUILD
index 0d8f0f3..3a32eff 100755
--- a/windowmanagers/dwm/PRE_BUILD
+++ b/windowmanagers/dwm/PRE_BUILD
@@ -15,8 +15,10 @@ if [[ "$DWM_CONFIG" == 'y' ]]; then
if [[ -e ${INSTALL_ROOT}/usr/share/doc/dwm/config.def.h ]]; then
cp ${INSTALL_ROOT}/usr/share/doc/dwm/config.def.h ./
fi &&
- if query 'Do you want to edit your config now?' n
- then
- ${EDITOR} config.def.h
+ if query 'Do you want to edit your config now?' n; then
+ if [ -z"$EDITOR" ]; then
+ . /etc/profile.d/editor.sh
+ fi
+ ${EDITOR:-nano} config.def.h
fi
fi



  • [SM-Commit] GIT changes to master grimoire by Sukneet Basuta (7a6c79f7f83203a14d9d882f484664faa7ee2abd), Sukneet Basuta, 06/05/2012

Archive powered by MHonArc 2.6.24.

Top of Page