debian/0000755000000000000000000000000012217715562007176 5ustar debian/patches/0000755000000000000000000000000012217706062010620 5ustar debian/patches/fixingmakefile.patch0000644000000000000000000000252212217677601014632 0ustar Description: Added hardening flags and fixed a compiler reference. Hardening flags according to https://wiki.debian.org/Hardening Author: maxigas Forwarded: no Last-Update: <2013-09-23> Index: ibniz-1.18/Makefile =================================================================== --- ibniz-1.18.orig/Makefile 2013-09-23 01:30:34.000000000 +0200 +++ ibniz-1.18/Makefile 2013-09-23 01:38:34.000000000 +0200 @@ -26,16 +26,16 @@ # cat ui_sdl.c vm_slow.c clipboard.c > whole.c $(EXE): ui_sdl.o vm_slow.o clipboard.o - $(CC) -Os -s ui_sdl.o vm_slow.o clipboard.o -o $(EXE) $(FLAGS) -lm + $(CC) -Os -s ui_sdl.o vm_slow.o clipboard.o -o $(EXE) $(FLAGS) $(LDFLAGS) -lm ui_sdl.o: ui_sdl.c ibniz.h font.i vm.h texts.i vm.h - $(CC) -c -Os ui_sdl.c -o ui_sdl.o $(FLAGS) + $(CC) -c -Os ui_sdl.c -o ui_sdl.o $(FLAGS) $(CFLAGS) $(CPPFLAGS) clipboard.o: clipboard.c ibniz.h - $(CC) -c -Os clipboard.c -o clipboard.o $(FLAGS) + $(CC) -c -Os clipboard.c -o clipboard.o $(FLAGS) $(CFLAGS) $(CPPFLAGS) vm_slow.o: vm_slow.c ibniz.h vm.h - $(CC) -c -O3 vm_slow.c -o vm_slow.o + $(CC) -c -O3 vm_slow.c -o vm_slow.o $(CFLAGS) $(CPPFLAGS) font.i: font.pl perl font.pl > font.i @@ -44,4 +44,4 @@ ./vmtest vmtest: vm_test.c vm_slow.c - gcc vm_test.c vm_slow.c -o vmtest -lm + $(CC) vm_test.c vm_slow.c -o vmtest -lm $(CFLAGS) $(CPPFLAGS) debian/patches/manpage.patch0000644000000000000000000000755312217706062013263 0ustar Added a man page which is compiled from rst.Index: ibniz-1.18/Makefile =================================================================== --- ibniz-1.18.orig/Makefile 2013-09-23 02:20:56.000000000 +0200 +++ ibniz-1.18/Makefile 2013-09-23 02:20:56.000000000 +0200 @@ -2,7 +2,7 @@ CC=gcc EXE=ibniz FLAGS=`sdl-config --libs --cflags` -DX11 -lX11 -all: ibniz +all: ibniz ibniz.1 # For win32 builds using mingw32 (you'll probably need to modify these) #CC=i586-mingw32msvc-gcc @@ -11,7 +11,7 @@ #all: ibniz.exe clean: - rm -f *.o *~ ibniz vmtest ibniz.exe whole.c + rm -f *.o *~ ibniz vmtest ibniz.exe whole.c ibniz.1 package: clean cd .. && cp -R src ibniz-1.18 && tar czf ibniz-1.18.tar.gz ibniz-1.18 @@ -45,3 +45,7 @@ vmtest: vm_test.c vm_slow.c $(CC) vm_test.c vm_slow.c -o vmtest -lm $(CFLAGS) $(CPPFLAGS) + +ibniz.1: ibniz.rst + rst2man ibniz.rst ibniz.1 + Index: ibniz-1.18/ibniz.rst =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ ibniz-1.18/ibniz.rst 2013-09-23 02:23:38.000000000 +0200 @@ -0,0 +1,88 @@ +========= + ibniz +========= + +---------------------------------------------------------- +Virtual machine for compact low-level audiovisual programs +---------------------------------------------------------- + +:Author: Originally written by Ville-Matias Heikkila , Man page by maxigas , based on the original ibniz.txt. +:Date: 2013-09-23 +:Copyright: zlib +:Version: 1.18 +:Manual section: 1 +:Manual group: real time audio-video synthesis + +SYNOPSIS +======== + + ibniz [OPTION]... [CODE] + +DESCRIPTION +=========== + +Virtual machine for compact low-level audiovisual programs + +IBNIZ is a virtual machine designed for extremely compact low-level +audiovisual programs. The leading design goal is usefulness as a +platform for demoscene productions, glitch art and similar projects. +Mainsteam software engineering aspects are considered totally +irrelevant. + +IBNIZ stands for Ideally Bare Numeric Impression giZmo. The name also +refers to Gottfried Leibniz, the 17th-century polymath who, among all, +invented binary arithmetic, built the first four-operation calculating +machine, and believed that the world was designed with the principle +that a minimal set of rules should yield a maximal diversity. + +The IBNIZ virtual machine is basically a two-stack machine somewhat +similar to Forth implementations but with the major difference that +the stack is cyclical and also used as output buffer. The machine runs +in an endless loop by default, with the loop counter variable(s) +pushed on top of the stack on every loop cycle. + +Each instruction is one character long, with the exception of +'loadimm' which consists of a string of hexadecimal digits. This also +gives IBNIZ some flavor of an esoteric programming language. + +OPTIONS +======= + +--config= Read configuration settings from , if it exists. +--version, -V Show this program's version number and exit. +--help, -h Show this help message and exit. + +And a lot more standard docutils options. + +COMMAND LINE OPTIONS +==================== + +-h Dump help on command line usage +-v Dump version info +-c CODE Execute code +-n No autorun of loaded code + +The following extra options were added for creating the YouTube +video: + +-e Dump user keystrokes to stdout +-p Playback dumped user keystrokes from stdin +-M Dump raw video to stdout and raw audio to stderr, 30 fps, non-realtime, yuv4mpeg2 and pcm_s16 + +EXAMPLES +======== + +Some commands used in this process, for reference: + +``./ibniz -e > events`` + +``./ibniz -M -p < events 2>vid.pcm | ffmpeg -y -i - -r 30 vid.avi`` + +``ffmpeg -i vid.avi -f s16le -ar 44100 -ac 1 -i vid.pcm -vcodec copy vidav.avi`` + +SEE ALSO +======== + +* `ibniz.txt ` + + debian/patches/series0000644000000000000000000000004312217702776012042 0ustar fixingmakefile.patch manpage.patch debian/watch0000644000000000000000000000010012217710413010204 0ustar version=3 http://pelulamu.net/ibniz/ ibniz-(\d\.\d+)\.tar\.gz debian/install0000644000000000000000000000001512217673616010566 0ustar ibniz usr/bindebian/upstream0000644000000000000000000000036212217673263010763 0ustar Name: IBNIZ (Ideally Bare Numeric Impression giZmo) Homepage: http://pelulamu.net/ibniz/ Screenshots: https://www.youtube.com/embed/aKMrBaXJvMs Repository: https://github.com/viznut/IBNIZ/ Repository-Browse: https://github.com/viznut/IBNIZ/ debian/copyright0000644000000000000000000000217412217671503011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ibniz Source: Files: * Copyright: 2012 Ville-Matias Heikkila License: zlib Files: debian/* Copyright: 2013 maxigas License: zlib License: zlib This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. debian/menu0000644000000000000000000000021312217675545010067 0ustar ?package(ibniz): \ needs="X11" \ section="Applications/Video" \ title="IBNIZ" \ command="ibniz" \ hints="Audio,Video,VJ,Live programming" debian/manpages0000644000000000000000000000001012217704154010676 0ustar ibniz.1 debian/changelog0000644000000000000000000000022112217672522011041 0ustar ibniz (1.18-1) unstable; urgency=low * Initial release (Closes: #724249) -- maxigas Mon, 23 Sep 2013 00:12:09 +0200 debian/source/0000755000000000000000000000000012217665473010503 5ustar debian/source/format0000644000000000000000000000001412217665473011711 0ustar 3.0 (quilt) debian/control0000644000000000000000000000151612217715470010602 0ustar Source: ibniz Section: graphics Priority: optional Maintainer: maxigas Build-Depends: debhelper (>= 9), libsdl1.2-dev, python-docutils, perl Standards-Version: 3.9.4 Homepage: http://pelulamu.net/ibniz/ #Vcs-Git: git://git.debian.org/collab-maint/ibniz.git #Vcs-Browser: http://git.debian.org/?p=collab-maint/ibniz.git;a=summary Package: ibniz Architecture: alpha any-amd64 arm armel armhf arm64 any-i386 ia64 mipsel sh4 x32 Depends: ${shlibs:Depends}, ${misc:Depends} Description: Virtual machine for compact low-level audiovisual programs IBNIZ is a virtual machine designed for extremely compact low-level audiovisual programs. The leading design goal is usefulness as a platform for demoscene productions, glitch art and similar projects. Mainsteam software engineering aspects are considered totally irrelevant. debian/examples0000644000000000000000000000001212217713666010733 0ustar examples/*debian/docs0000644000000000000000000000001312217671561010043 0ustar ibniz.txt debian/rules0000755000000000000000000000023312217715443010252 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --parallel override_dh_auto_build: rm -f font.i dh_auto_build override_dh_auto_test: make runtest debian/compat0000644000000000000000000000000212217672003010364 0ustar 9