--- avinfo-1.0.a15+20090102.orig/README +++ avinfo-1.0.a15+20090102/README @@ -1,30 +1,10 @@ -This document describes how to install avinfo-1.0.a15 on a *nix system. - -Prerequisites: -------------- -First of all, you will need a working C compiler and the MAKE utility. -GCC and GNU make are recommended. Commands in the making rules assume -Bourne shell (sh or bash) syntax. You will need it most likely. -If you want the A.S.S. parsing code to be generated locally, -you will need BISON parser generator. Berkley's YACC will not work -because it lacks %pure_parser. To do the installation you will need -the INSTALL program. - -Installation: ------------- -1. Edit the variables defined in config.mk. The names are self-explanatory -so I am not going to talk much about that here. If you do not have BISON or -do not want parser code to be generated locally define BISON variable as NONE. - -2. In the directory where you extracted the package run -$ make; su -c "make install" - -To uninstall the package start in the same directory -$ su -c "make uninstall" +This is a shortened version of the original README file which +comes with avinfo source code. The compilation instructions +have been removed. Where to find the docs: ---------------------- -The docs are installed by default to $(PREFIX)/share/doc/avinfo-$(VER). +The docs are installed by default to /usr/share/doc/avinfo/. If you do not understand Russian you will find them not very useful at the moment. Read the man page (man avinfo) or look for examples given in the docs. Basically, generating a list of your avi files --- avinfo-1.0.a15+20090102.orig/config.mk +++ avinfo-1.0.a15+20090102/config.mk @@ -7,7 +7,7 @@ # Also select a bison-compatible parser generator, if none set NONE CC=gcc -CFLAGS=-O2 -Wall +#CFLAGS=-O2 -Wall BISON=bison #BISON=NONE @@ -17,8 +17,7 @@ # DOCDIR to directory for documentation files, # MANDIR to directory for man page. -PREFIX=/usr/local -#PREFIX=$(HOME) +PREFIX=$(DESTDIR)/usr BINDIR=$(PREFIX)/bin DOCDIR=$(PREFIX)/share/doc MANDIR=$(PREFIX)/share/man/man1 --- avinfo-1.0.a15+20090102.orig/Makefile +++ avinfo-1.0.a15+20090102/Makefile @@ -14,18 +14,7 @@ cd src && $(MAKE) install: all - install -d $(DIRPERM) $(BINDIR) $(MANDIR) - install $(BINPERM) -s ./src/avinfo $(BINDIR) - install $(DOCPERM) ./src/avinfo.1 $(MANDIR) - install -d $(DIRPERM) $(DOCDIR)/avinfo-$(VER)/doc - install $(DOCPERM) \ - CHANGELOG README copying $(DOCDIR)/avinfo-$(VER) - install $(DOCPERM) ./doc/* $(DOCDIR)/avinfo-$(VER)/doc - -uninstall: - rm -f $(BINDIR)/avinfo - rm -f $(MANDIR)/avinfo.1 - rm -r -f $(DOCDIR)/avinfo-$(VER) + install $(BINPERM) ./src/avinfo $(BINDIR) clean: cd src && $(MAKE) clean --- avinfo-1.0.a15+20090102.orig/debian/compat +++ avinfo-1.0.a15+20090102/debian/compat @@ -0,0 +1 @@ +5 --- avinfo-1.0.a15+20090102.orig/debian/rules +++ avinfo-1.0.a15+20090102/debian/rules @@ -0,0 +1,60 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +build: build-stamp + +build-stamp: + dh_testdir + # Add here commands to compile the package. + $(MAKE) CFLAGS="$(CFLAGS)" + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # Add here commands to install the package into debian/avinfo. + $(MAKE) install DESTDIR=$(CURDIR)/debian/avinfo + +# 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_installchangelogs CHANGELOG + dh_installdocs + dh_installexamples doc/alt-csv.tpl + dh_installman src/avinfo.1 + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- avinfo-1.0.a15+20090102.orig/debian/control +++ avinfo-1.0.a15+20090102/debian/control @@ -0,0 +1,22 @@ +Source: avinfo +Section: utils +Priority: extra +Maintainer: Stanislav Maslovski +Uploaders: Dmitry E. Oboukhov +Build-Depends: debhelper (>= 5), bison +Standards-Version: 3.8.0 +Homepage: http://shounen.ru/soft/avinfo/ + +Package: avinfo +Architecture: any +Depends: ${shlibs:Depends} +Description: Audio/Video information automatic extractor/file list generator + AVInfo is a powerful tool for extracting practically any useful information + from a collection of your multimedia files. It works with many different file + formats including most popular ones as AVI, OGG, OGM, MPEG, and MKV. + All the file scanning code has been implemented from scratch. AVInfo does not + rely on any external libraries to do this job and has been written in pure C. + Due to that it is fast and efficient. It has a built-in scripting language + called A.S.S. (AVInfo Simple Script) that is used in templates which control + the output of the program. It is a "must have" tool for anyone with a huge + number of multimedia files on her/his hard drives. --- avinfo-1.0.a15+20090102.orig/debian/watch +++ avinfo-1.0.a15+20090102/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://avinfo.berlios.de/index.html \ + .*/avinfo-(.*)-unix\.tar\.gz --- avinfo-1.0.a15+20090102.orig/debian/changelog +++ avinfo-1.0.a15+20090102/debian/changelog @@ -0,0 +1,33 @@ +avinfo (1.0.a15+20090102-1) unstable; urgency=low + + * New upstream release (Closes: #510097). + * debian/control: + - put back versioned build dependency on debhelper + for the ease of backporting. + - add Dmitry Oboukhov to Uploaders. + + -- Stanislav Maslovski Fri, 02 Jan 2009 19:31:14 +0300 + +avinfo (1.0.a15+20080730-1) unstable; urgency=low + + * New Release (Closes: #492548). + * Changes upstream: + - versioning scheme changed. + - documentation fixes. + * debian/control: + - removed versioned Build-Depends on debhelper. + - changed Priority from optional to extra. + * debian/rules: + - put alt-csv.tpl to examples. + * debian/docs: + - install only relevant documentation. + + -- Stanislav Maslovski Wed, 30 Jul 2008 16:41:03 +0400 + +avinfo (1.0.a15-1) unstable; urgency=low + + * Initial Release (Closes: #492548). + * Makefile adapted for use with Debian build system. + * README shortened a bit for sake of the binary distribution. + + -- Stanislav Maslovski Tue, 29 Jul 2008 19:31:24 +0400 --- avinfo-1.0.a15+20090102.orig/debian/copyright +++ avinfo-1.0.a15+20090102/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Stanislav Maslovski on +Tue, 29 Jul 2008 19:31:24 +0400. + +The original AVInfo source packages can be found on +http://shounen.ru/soft/avinfo/ + +This package was prepared based on updated AVInfo sources +hosted at http://developer.berlios.de/projects/avinfo/ + +Upstream Authors: + + George Shuklin + Stanislav Maslovski + +Copyright: + + Copyright (C) 2003, George Shuklin. + Copyright (C) 2005, 2008, Stanislav Maslovski. + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2008, Stanislav Maslovski +and is licensed under the GPL, see above. --- avinfo-1.0.a15+20090102.orig/debian/dirs +++ avinfo-1.0.a15+20090102/debian/dirs @@ -0,0 +1 @@ +usr/bin --- avinfo-1.0.a15+20090102.orig/debian/docs +++ avinfo-1.0.a15+20090102/debian/docs @@ -0,0 +1,8 @@ +README +doc/ass_tutorial +doc/ass_tutorial.rus.koi +doc/ass_tutorial.rus.utf8 +doc/readme.rus.koi +doc/readme.rus.utf8 +doc/faq.rus.koi +doc/faq.rus.utf8