[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

smjpeg: converting ITP to RFP, package almost complete



I'm afraid i don't have time for this, my diffs are attached below.

If someone wants to take it, this is *ALMOST* finished.
There's just left to check it works and fix whatever is broken.

--- smjpeg-0.2.1.orig/debian/libsmjpeg-dev.dirs
+++ smjpeg-0.2.1/debian/libsmjpeg-dev.dirs
@@ -0,0 +1 @@
+usr/include
--- smjpeg-0.2.1.orig/debian/changelog
+++ smjpeg-0.2.1/debian/changelog
@@ -0,0 +1,9 @@
+smjpeg (0.2.1-1) unstable; urgency=low
+
+  * Initial Release. (Closes #113196)
+
+ -- Robert Millan <zeratul2@wanadoo.es>  Sat, 22 Sep 2001 17:19:33 +0200
+
+Local variables:
+mode: debian-changelog
+End:
--- smjpeg-0.2.1.orig/debian/libsmjpeg0.files
+++ smjpeg-0.2.1/debian/libsmjpeg0.files
@@ -0,0 +1 @@
+usr/lib/lib*.so*
--- smjpeg-0.2.1.orig/debian/dirs
+++ smjpeg-0.2.1/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+
--- smjpeg-0.2.1.orig/debian/libsmjpeg-dev.files
+++ smjpeg-0.2.1/debian/libsmjpeg-dev.files
@@ -0,0 +1,2 @@
+usr/include/*
+usr/lib/lib*.a
--- smjpeg-0.2.1.orig/debian/copyright
+++ smjpeg-0.2.1/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Robert Millan <zeratul2@wanadoo.es> on
+Sat, 22 Sep 2001 01:51:07 +0200.
+
+It was downloaded from http://www.lokigames.com/development/smjpeg.php3
+
+Upstream Author: Loki Software, Inc.
+
+Copyright:
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
--- smjpeg-0.2.1.orig/debian/libsmjpeg0.dirs
+++ smjpeg-0.2.1/debian/libsmjpeg0.dirs
@@ -0,0 +1 @@
+usr/lib
--- smjpeg-0.2.1.orig/debian/control
+++ smjpeg-0.2.1/debian/control
@@ -0,0 +1,93 @@
+Source: smjpeg
+Section: graphics
+Priority: optional
+Maintainer: Robert Millan <zeratul2@wanadoo.es>
+Build-Depends: debhelper (>> 3.0.0),libggi-dev,libsdl1.2-dev,libarts-dev,svgalibg1-dev,aalib1-dev
+Standards-Version: 3.5.2
+
+Package: smjpeg
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: motion JPEG and audio editing tool that uses a custom open
format.
+ SMPEG is based on a modified version of the Independent JPEG Group's
+ library for JPEG image manipulation and freely available source code
+ for ADPCM audio compression. Based on our initial work, SMJPEG is able
+ to create and display motion JPEG files in a custom open format.
+ .
+ Advantages of SMJPEG:
+   * Arbitrary video sizes (not limited to blocks of 16 pixels)
+   * Arbitrary frame-rate
+   * User-tuneable compression level
+   * Much easier to skip a frame
+   * Much easier to keep timesync
+   * Easy to seek within the video stream
+   * Free of patent problems
+ .
+ Disadvantages of SMJPEG:
+   * Not a standard format
+   * Poorer quality than MPEG at the same file size
+   * Slightly slower than MPEG at the same framerate
+   * Not designed for Internet streaming
+ .
+ The SMJPEG file format is documented in the file
+ /usr/share/doc/smjpeg/SMJPEG.txt.
+
+Package: libsmjpeg-dev
+Architecture: any
+Depends: libsmjpeg0 (= ${Source-Version}), libc6-dev
+Description: Development files for SMJPEG library
+ SMPEG is based on a modified version of the Independent JPEG Group's
+ library for JPEG image manipulation and freely available source code
+ for ADPCM audio compression. Based on our initial work, SMJPEG is able
+ to create and display motion JPEG files in a custom open format.
+ .
+ Advantages of SMJPEG:
+   * Arbitrary video sizes (not limited to blocks of 16 pixels)
+   * Arbitrary frame-rate
+   * User-tuneable compression level
+   * Much easier to skip a frame
+   * Much easier to keep timesync
+   * Easy to seek within the video stream
+   * Free of patent problems
+ .
+ Disadvantages of SMJPEG:
+   * Not a standard format
+   * Poorer quality than MPEG at the same file size
+   * Slightly slower than MPEG at the same framerate
+   * Not designed for Internet streaming
+ .
+ The SMJPEG file format is documented in the file
+ /usr/share/doc/smjpeg/SMJPEG.txt.
+ .
+ This package contains the SMJPEG development files, needed to compile
+ programs that use it.
+
+Package: libsmjpeg0
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: SMJPEG library - runtime files
+ SMPEG is based on a modified version of the Independent JPEG Group's
+ library for JPEG image manipulation and freely available source code
+ for ADPCM audio compression. Based on our initial work, SMJPEG is able
+ to create and display motion JPEG files in a custom open format.
+ .
+ Advantages of SMJPEG:
+   * Arbitrary video sizes (not limited to blocks of 16 pixels)
+   * Arbitrary frame-rate
+   * User-tuneable compression level
+   * Much easier to skip a frame
+   * Much easier to keep timesync
+   * Easy to seek within the video stream
+   * Free of patent problems
+ .
+ Disadvantages of SMJPEG:
+   * Not a standard format
+   * Poorer quality than MPEG at the same file size
+   * Slightly slower than MPEG at the same framerate
+   * Not designed for Internet streaming
+ .
+ The SMJPEG file format is documented in the file
+ /usr/share/doc/smjpeg/SMJPEG.txt.
+ .
+ This package contains the SMJPEG runtime binaries, needed to run programs
+ that use it.
--- smjpeg-0.2.1.orig/debian/rules
+++ smjpeg-0.2.1/debian/rules
@@ -0,0 +1,100 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=3
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5
or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print
substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	./configure --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) distclean
+
+	rm -rf $(CURDIR)/debian/tmp/*
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install prefix=$(CURDIR)/debian/tmp
+
+	cp -a $(CURDIR)/debian/tmp/include $(CURDIR)/debian/libsmjpeg-dev/usr/
+	cp -a $(CURDIR)/debian/tmp/bin $(CURDIR)/debian/smjpeg/usr/
+	cp -a $(CURDIR)/debian/tmp/lib $(CURDIR)/debian/libsmjpeg0/usr/
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_movefiles
+
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installcron
+	dh_installman
+	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs CHANGES
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- smjpeg-0.2.1.orig/debian/docs
+++ smjpeg-0.2.1/debian/docs
@@ -0,0 +1,3 @@
+README
+SMJPEG.txt
+TODO

-- 
----------------------------------------------------
Robert Millan          Debian GNU/Hurd user
zeratul2 wanadoo es    http://getyouriso.dyndns.org/
----------------------------------------------------
GPG ID C8D6942C
237F 8688 C2E5 BC64 E152  97B4 FB28 D41B C8D6 942C
----------------------------------------------------
Free Dmitry Sklyarov!  http://www.freesklyarov.org
----------------------------------------------------
Join us in civil disobedience and distribute DeCSS!!
----------------------------------------------------
/*    efdtt.c     Author:  Charles M. Hannum <root@ihack.net>            */
/*    Length:  434 bytes (excluding unnecessary newlines)                */
/*    Usage is:  cat title-key scrambled.vob | efdtt >clear.vob          */
/*    title-key can be read from the DVD by css-auth. (see livid.org)    */
#define m(i)(x[i]^s[i+84])<<
unsigned char x[5],y,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1,s
,n))if(s[y=s[13]%8+20]/16%4==1){int i=m(1)17^256+m(0)8,k=m(2)0,j=m(4)17^m(3)9^k
*2-k%8^8,a=0,c=26;for(s[y]-=16;--c;j*=2)a=a*2^i&1,i=i/2^j&1<<24;for(j=127;++j<n
;c=c>y)c+=y=i^i/8^i>>4^i>>12,i=i>>8^y<<17,a^=a>>14,y=a^a*8^a<<6,a=a>>8^y<<9,k=s
[j],k="7Wo~'G_\216"[k&7]+2^"cr3sfw6v;*k+>/n."[k>>4]*2^k*257/8,s[j]=k^(k&k*2&34)
*6^c+~y;}}



Reply to: