--- photopc-3.05.orig/dos/stamp-h2 +++ photopc-3.05/dos/stamp-h2 @@ -0,0 +1 @@ +timestamp --- photopc-3.05.orig/win32/stamp-h3 +++ photopc-3.05/win32/stamp-h3 @@ -0,0 +1 @@ +timestamp --- photopc-3.05.orig/Makefile +++ photopc-3.05/Makefile @@ -0,0 +1,640 @@ +# Generated automatically from Makefile.in by configure. +# Makefile.in generated automatically by automake 1.4 from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# FSF thinks that the source generated by a tool copyrighted +# by FSF is also copyrighted by FSF. This might be true, but +# still, if you read this text in Makefile.in or Makefile, then +# be informed that the orifinal file, and the "meat" of the +# package, is: +# +# Copyright (c) 1997-1999 Eugene G. Crosser +# Copyright (c) 1998 Bruce D. Lightner (DOS/Windows support) +# +# You may distribute and/or use for any purpose modified or unmodified +# copies of this software if you preserve the copyright notice above. +# +# THIS SOFTWARE IS PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY +# KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE +# COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE +# USE OF THIS SOFTWARE. + + +SHELL = /bin/sh + +srcdir = . +top_srcdir = . +prefix = /usr +exec_prefix = ${prefix} + +bindir = ${exec_prefix}/bin +sbindir = ${exec_prefix}/sbin +libexecdir = ${exec_prefix}/libexec +datadir = ${prefix}/share +sysconfdir = ${prefix}/etc +sharedstatedir = ${prefix}/com +localstatedir = ${prefix}/var +libdir = ${exec_prefix}/lib +infodir = ${prefix}/info +mandir = /usr/share/man +includedir = ${prefix}/include +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/photopc +pkglibdir = $(libdir)/photopc +pkgincludedir = $(includedir)/photopc + +top_builddir = . + +ACLOCAL = aclocal +AUTOCONF = autoconf +AUTOMAKE = automake +AUTOHEADER = autoheader + +INSTALL = /usr/bin/install -c +INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_SCRIPT = ${INSTALL_PROGRAM} +transform = s,x,x, + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +AR = /usr/bin/ar +CC = gcc +CPP = gcc -E +ECHO = /bin/echo +INT16 = short +INT32 = long +LIBPROGS = +LN = /bin/ln +LN_S = ln -s +MAKEINFO = /home/damog/Desktop/debian/sources/photopc/photopc-3.05/missing makeinfo +MV = /bin/mv +PACKAGE = photopc +PROGS = +RANLIB = ranlib +RM = /bin/rm +U = +VERSION = 3.05 + +AUTOMAKE_OPTIONS = foreign ansi2knr + +bin_PROGRAMS = photopc epinfo +lib_LIBRARIES = libeph_io.a +include_HEADERS = eph_io.h +man_MANS = photopc.1 epinfo.1 + +EXTRA_DIST = $(man_MANS) protocol.htm usage.htm readme.dos dos/Makefile dos/config.h dos/version.h win32/Makefile win32/config.h win32/version.h + + +photopc_SOURCES = photopc.c a12scan.c a12scan.h fnames.c fnames.h ctimez.c ctimez.h filetime.c filetime.h exifscan.c exifscan.h eph_io.h + + +EXTRA_photopc_SOURCES = comio.c comio.h getopt.h usleep.h strcscmp.h +photopc_LDADD = libeph_io.a + +epinfo_SOURCES = epinfo.c a12scan.c a12scan.h exifscan.c exifscan.h fnames.c fnames.h ctimez.c ctimez.h filetime.c filetime.h + +EXTRA_epinfo_SOURCES = getopt.h +epinfo_LDADD = + +libeph_io_a_SOURCES = eph_read.c eph_iob.c eph_err.c eph_cmd.c eph_io.c eph_open.c eph_io.h eph_priv.h + +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h ./dos/version.h ./win32/version.h +CONFIG_CLEAN_FILES = +LIBRARIES = $(lib_LIBRARIES) + + +DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I. -I./dos -I./win32 +CPPFLAGS = +LDFLAGS = +LIBS = +ANSI2KNR = +libeph_io_a_LIBADD = +libeph_io_a_OBJECTS = eph_read$U.o eph_iob$U.o eph_err$U.o eph_cmd$U.o \ +eph_io$U.o eph_open$U.o +PROGRAMS = $(bin_PROGRAMS) + +photopc_OBJECTS = photopc$U.o a12scan$U.o fnames$U.o ctimez$U.o \ +filetime$U.o exifscan$U.o +photopc_DEPENDENCIES = libeph_io.a +photopc_LDFLAGS = +epinfo_OBJECTS = epinfo$U.o a12scan$U.o exifscan$U.o fnames$U.o \ +ctimez$U.o filetime$U.o +epinfo_DEPENDENCIES = +epinfo_LDFLAGS = +CFLAGS = -g -O2 -Wall +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +man1dir = $(mandir)/man1 +MANS = $(man_MANS) + +NROFF = nroff +HEADERS = $(include_HEADERS) + +DIST_COMMON = README ./stamp-h1.in Makefile.am Makefile.in acconfig.h \ +aclocal.m4 ansi2knr.1 ansi2knr.c config.h.in configure configure.in \ +dos/stamp-h2.in dos/version.h.in getopt.c install-sh missing \ +mkinstalldirs strcscmp.c usleep.c win32/stamp-h3.in win32/version.h.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +SOURCES = $(libeph_io_a_SOURCES) $(photopc_SOURCES) $(EXTRA_photopc_SOURCES) $(epinfo_SOURCES) $(EXTRA_epinfo_SOURCES) +OBJECTS = $(libeph_io_a_OBJECTS) $(photopc_OBJECTS) $(epinfo_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .o .s +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): configure.in + cd $(srcdir) && $(ACLOCAL) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + cd $(srcdir) && $(AUTOCONF) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ + else :; fi +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES= CONFIG_HEADERS=config.h \ + $(SHELL) ./config.status + @echo timestamp > stamp-h1 2> /dev/null +$(srcdir)/config.h.in: $(srcdir)/stamp-h1.in + @if test ! -f $@; then \ + rm -f $(srcdir)/stamp-h1.in; \ + $(MAKE) $(srcdir)/stamp-h1.in; \ + else :; fi +$(srcdir)/stamp-h1.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h + cd $(top_srcdir) && $(AUTOHEADER) + @echo timestamp > $(srcdir)/stamp-h1.in 2> /dev/null + +dos/version.h: dos/stamp-h2 + @if test ! -f $@; then \ + rm -f dos/stamp-h2; \ + $(MAKE) dos/stamp-h2; \ + else :; fi +dos/stamp-h2: $(srcdir)/dos/version.h.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES= CONFIG_HEADERS=dos/version.h \ + $(SHELL) ./config.status + @echo timestamp > dos/stamp-h2 2> /dev/null +$(srcdir)/dos/version.h.in: $(srcdir)/dos/stamp-h2.in + @if test ! -f $@; then \ + rm -f $(srcdir)/dos/stamp-h2.in; \ + $(MAKE) $(srcdir)/dos/stamp-h2.in; \ + else :; fi +$(srcdir)/dos/stamp-h2.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h + cd $(top_srcdir) && $(AUTOHEADER) + @echo timestamp > $(srcdir)/dos/stamp-h2.in 2> /dev/null + +win32/version.h: win32/stamp-h3 + @if test ! -f $@; then \ + rm -f win32/stamp-h3; \ + $(MAKE) win32/stamp-h3; \ + else :; fi +win32/stamp-h3: $(srcdir)/win32/version.h.in $(top_builddir)/config.status + cd $(top_builddir) \ + && CONFIG_FILES= CONFIG_HEADERS=win32/version.h \ + $(SHELL) ./config.status + @echo timestamp > win32/stamp-h3 2> /dev/null +$(srcdir)/win32/version.h.in: $(srcdir)/win32/stamp-h3.in + @if test ! -f $@; then \ + rm -f $(srcdir)/win32/stamp-h3.in; \ + $(MAKE) $(srcdir)/win32/stamp-h3.in; \ + else :; fi +$(srcdir)/win32/stamp-h3.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h + cd $(top_srcdir) && $(AUTOHEADER) + @echo timestamp > $(srcdir)/win32/stamp-h3.in 2> /dev/null + +mostlyclean-hdr: + +clean-hdr: + +distclean-hdr: + -rm -f config.h dos/version.h win32/version.h + +maintainer-clean-hdr: + +mostlyclean-libLIBRARIES: + +clean-libLIBRARIES: + -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) + +distclean-libLIBRARIES: + +maintainer-clean-libLIBRARIES: + +install-libLIBRARIES: $(lib_LIBRARIES) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(libdir) + @list='$(lib_LIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \ + else :; fi; \ + done + @$(POST_INSTALL) + @list='$(lib_LIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \ + $(RANLIB) $(DESTDIR)$(libdir)/$$p; \ + else :; fi; \ + done + +uninstall-libLIBRARIES: + @$(NORMAL_UNINSTALL) + list='$(lib_LIBRARIES)'; for p in $$list; do \ + rm -f $(DESTDIR)$(libdir)/$$p; \ + done + +.c.o: + $(COMPILE) -c $< + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +mostlyclean-krextra: + +clean-krextra: + -rm -f ansi2knr + +distclean-krextra: + +maintainer-clean-krextra: +ansi2knr: ansi2knr.o + $(LINK) ansi2knr.o $(LIBS) +ansi2knr.o: $(CONFIG_HEADER) + + +mostlyclean-kr: + -rm -f *_.c + +clean-kr: + +distclean-kr: + +maintainer-clean-kr: + +libeph_io.a: $(libeph_io_a_OBJECTS) $(libeph_io_a_DEPENDENCIES) + -rm -f libeph_io.a + $(AR) cru libeph_io.a $(libeph_io_a_OBJECTS) $(libeph_io_a_LIBADD) + $(RANLIB) libeph_io.a + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + done + +photopc: $(photopc_OBJECTS) $(photopc_DEPENDENCIES) + @rm -f photopc + $(LINK) $(photopc_LDFLAGS) $(photopc_OBJECTS) $(photopc_LDADD) $(LIBS) + +epinfo: $(epinfo_OBJECTS) $(epinfo_DEPENDENCIES) + @rm -f epinfo + $(LINK) $(epinfo_LDFLAGS) $(epinfo_OBJECTS) $(epinfo_LDADD) $(LIBS) +a12scan_.c: a12scan.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/a12scan.c; then echo $(srcdir)/a12scan.c; else echo a12scan.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > a12scan_.c +comio_.c: comio.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/comio.c; then echo $(srcdir)/comio.c; else echo comio.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > comio_.c +ctimez_.c: ctimez.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ctimez.c; then echo $(srcdir)/ctimez.c; else echo ctimez.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ctimez_.c +eph_cmd_.c: eph_cmd.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eph_cmd.c; then echo $(srcdir)/eph_cmd.c; else echo eph_cmd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > eph_cmd_.c +eph_err_.c: eph_err.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eph_err.c; then echo $(srcdir)/eph_err.c; else echo eph_err.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > eph_err_.c +eph_io_.c: eph_io.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eph_io.c; then echo $(srcdir)/eph_io.c; else echo eph_io.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > eph_io_.c +eph_iob_.c: eph_iob.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eph_iob.c; then echo $(srcdir)/eph_iob.c; else echo eph_iob.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > eph_iob_.c +eph_open_.c: eph_open.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eph_open.c; then echo $(srcdir)/eph_open.c; else echo eph_open.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > eph_open_.c +eph_read_.c: eph_read.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/eph_read.c; then echo $(srcdir)/eph_read.c; else echo eph_read.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > eph_read_.c +epinfo_.c: epinfo.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/epinfo.c; then echo $(srcdir)/epinfo.c; else echo epinfo.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > epinfo_.c +exifscan_.c: exifscan.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/exifscan.c; then echo $(srcdir)/exifscan.c; else echo exifscan.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > exifscan_.c +filetime_.c: filetime.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/filetime.c; then echo $(srcdir)/filetime.c; else echo filetime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > filetime_.c +fnames_.c: fnames.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/fnames.c; then echo $(srcdir)/fnames.c; else echo fnames.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > fnames_.c +getopt_.c: getopt.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/getopt.c; then echo $(srcdir)/getopt.c; else echo getopt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > getopt_.c +photopc_.c: photopc.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/photopc.c; then echo $(srcdir)/photopc.c; else echo photopc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > photopc_.c +strcscmp_.c: strcscmp.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/strcscmp.c; then echo $(srcdir)/strcscmp.c; else echo strcscmp.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > strcscmp_.c +usleep_.c: usleep.c $(ANSI2KNR) + $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/usleep.c; then echo $(srcdir)/usleep.c; else echo usleep.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > usleep_.c +a12scan_.o comio_.o ctimez_.o eph_cmd_.o eph_err_.o eph_io_.o \ +eph_iob_.o eph_open_.o eph_read_.o epinfo_.o exifscan_.o filetime_.o \ +fnames_.o getopt_.o photopc_.o strcscmp_.o usleep_.o : $(ANSI2KNR) + +install-man1: + $(mkinstalldirs) $(DESTDIR)$(man1dir) + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ + done + +uninstall-man1: + @list='$(man1_MANS)'; \ + l2='$(man_MANS)'; for i in $$l2; do \ + case "$$i" in \ + *.1*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ + rm -f $(DESTDIR)$(man1dir)/$$inst; \ + done +install-man: $(MANS) + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-man1 +uninstall-man: + @$(NORMAL_UNINSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 + +install-includeHEADERS: $(include_HEADERS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(includedir) + @list='$(include_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ + echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p"; \ + $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$p; \ + done + +uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) + list='$(include_HEADERS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(includedir)/$$p; \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + -rm -rf $(distdir) + GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz + mkdir $(distdir)/=build + mkdir $(distdir)/=inst + dc_install_base=`cd $(distdir)/=inst && pwd`; \ + cd $(distdir)/=build \ + && ../configure --srcdir=.. --prefix=$$dc_install_base \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) dist + -rm -rf $(distdir) + @banner="$(distdir).tar.gz is ready for distribution"; \ + dashes=`echo "$$banner" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + echo "$$dashes" +dist: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +dist-all: distdir + -chmod -R a+r $(distdir) + GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) + -rm -rf $(distdir) +distdir: $(DISTFILES) + -rm -rf $(distdir) + mkdir $(distdir) + -chmod 777 $(distdir) + $(mkinstalldirs) $(distdir)/dos $(distdir)/win32 + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +a12scan.o: a12scan.c config.h a12scan.h +ctimez.o: ctimez.c config.h ctimez.h +eph_cmd.o: eph_cmd.c config.h eph_io.h eph_priv.h +eph_err.o: eph_err.c config.h eph_io.h eph_priv.h +eph_io.o: eph_io.c config.h getopt.h eph_io.h eph_priv.h +eph_iob.o: eph_iob.c config.h eph_io.h +eph_open.o: eph_open.c config.h getopt.h eph_io.h eph_priv.h +eph_read.o: eph_read.c config.h eph_io.h eph_priv.h getopt.h +epinfo.o: epinfo.c config.h a12scan.h exifscan.h fnames.h ctimez.h \ + filetime.h getopt.h +exifscan.o: exifscan.c config.h exifscan.h +filetime.o: filetime.c config.h ctimez.h +fnames.o: fnames.c config.h fnames.h ctimez.h +photopc.o: photopc.c config.h getopt.h eph_io.h a12scan.h fnames.h \ + ctimez.h filetime.h + +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +all-recursive-am: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +install-exec-am: install-libLIBRARIES install-binPROGRAMS +install-exec: install-exec-am + +install-data-am: install-man install-includeHEADERS +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-libLIBRARIES uninstall-binPROGRAMS uninstall-man \ + uninstall-includeHEADERS +uninstall: uninstall-am +all-am: Makefile $(ANSI2KNR) $(LIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) \ + config.h +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \ + $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(includedir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-hdr mostlyclean-libLIBRARIES \ + mostlyclean-compile mostlyclean-krextra mostlyclean-kr \ + mostlyclean-binPROGRAMS mostlyclean-tags \ + mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-hdr clean-libLIBRARIES clean-compile clean-krextra \ + clean-kr clean-binPROGRAMS clean-tags clean-generic \ + mostlyclean-am + +clean: clean-am + +distclean-am: distclean-hdr distclean-libLIBRARIES distclean-compile \ + distclean-krextra distclean-kr distclean-binPROGRAMS \ + distclean-tags distclean-generic clean-am + +distclean: distclean-am + -rm -f config.status + +maintainer-clean-am: maintainer-clean-hdr maintainer-clean-libLIBRARIES \ + maintainer-clean-compile maintainer-clean-krextra \ + maintainer-clean-kr maintainer-clean-binPROGRAMS \ + maintainer-clean-tags maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + -rm -f config.status + +.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ +mostlyclean-libLIBRARIES distclean-libLIBRARIES clean-libLIBRARIES \ +maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \ +install-libLIBRARIES mostlyclean-compile distclean-compile \ +clean-compile maintainer-clean-compile mostlyclean-krextra \ +distclean-krextra clean-krextra maintainer-clean-krextra mostlyclean-kr \ +distclean-kr clean-kr maintainer-clean-kr mostlyclean-binPROGRAMS \ +distclean-binPROGRAMS clean-binPROGRAMS maintainer-clean-binPROGRAMS \ +uninstall-binPROGRAMS install-binPROGRAMS install-man1 uninstall-man1 \ +install-man uninstall-man uninstall-includeHEADERS \ +install-includeHEADERS tags mostlyclean-tags distclean-tags clean-tags \ +maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck all-recursive-am install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all installdirs \ +mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- photopc-3.05.orig/debian/control +++ photopc-3.05/debian/control @@ -0,0 +1,22 @@ +Source: photopc +Section: graphics +Priority: extra +Maintainer: Ana Isabel Delgado Dominguez +Standards-Version: 3.6.2 +Build-Depends: debhelper (>= 4.1) + +Package: photopc +Architecture: any +Depends: ${shlibs:Depends} +Description: Interface to digital still cameras + This is a library and a command-line frontend to manipulate digital + still cameras based on Fujitsu chipset and Sierra Imaging firmware. The + program is known to work with Agfa, Epson and Olympus cameras. Should + also work with Sanyo, but this is untested. + . + The cameras typically come with software for Windows and for Mac, and no + description of the protocol. With this tool, they are manageable from a + UNIX box. Bruce D. Lightner has added support + for Win32 and DOS platforms. Note that the program does not have any + GUI, it is plain command-line even on Windows. For a GUI, check out + the phototk program. --- photopc-3.05.orig/debian/rules +++ photopc-3.05/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f + +CC = gcc +CFLAGS = -g -Wall +export DH_COMPAT=4 +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +endif + +build: + dh_testdir + ./configure --prefix=$(DESTDIR)/usr --mandir=$(DESTDIR)/usr/share/man + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" + touch build + +clean: + dh_testdir + rm -rf build + -$(MAKE) clean + rm -f `find . -name "*~"` + rm -rf debian/tmp debian/files* core debian/substvars + rm -f config.cache config.h config.log config.status stamp-h1 + dh_clean + +binary-indep: checkroot build + dh_testdir + +binary-arch: checkroot build + dh_testdir + $(MAKE) install DESTDIR=$(CURDIR)/debian/photopc + dh_installdocs README readme.dos *.htm + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +checkroot: + dh_testdir + dh_testroot + +.PHONY: binary binary-arch binary-indep clean checkroot --- photopc-3.05.orig/debian/changelog +++ photopc-3.05/debian/changelog @@ -0,0 +1,95 @@ +photopc (3.05-6) unstable; urgency=low + + * New Maintainer (Closes #261681) + * Updated debhelper compatibility version to 4 + * Updated Standards-Version to current policy + * Fixed disparities found in Override and .deb, changed to graphic - extra + * Modified debian/rules thanks to the contribution of David Moreno Garza + + -- Ana Isabel Delgado Dominguez Fri, 28 Oct 2005 21:43:50 -0400 + +photopc (3.05-5) unstable; urgency=low + + * Switched from debmake to debhelper and do some cleanup. + + -- Santiago Vila Thu, 6 Jan 2005 18:16:20 +0100 + +photopc (3.05-4) unstable; urgency=low + + * Orphaning this package. + + -- John Goerzen Tue, 27 Jul 2004 09:27:04 -0500 + +photopc (3.05-3) unstable; urgency=low + + * Turn off debstd installation of manpages; use dh_installman now. + Closes: #215931. + * Aggresified clean target to also remove some config status files. + + -- John Goerzen Tue, 21 Oct 2003 22:37:44 -0500 + +photopc (3.05-2) unstable; urgency=low + + * Build-depends on debmake. Closes: #190502. + + -- John Goerzen Mon, 18 Aug 2003 17:54:10 -0500 + +photopc (3.05-1) unstable; urgency=low + + * New upstream release. Closes: #84811. + * Corrected description typo. Closes: #125235. + + -- John Goerzen Sat, 20 Apr 2002 12:26:43 -0500 + +photopc (3.04-1) unstable; urgency=low + + * New upstream release. Closes: #69095. + + -- John Goerzen Mon, 4 Sep 2000 12:34:52 -0500 + +photopc (3.02-2) unstable; urgency=low + + * Remove ansi2knr manpage that debstd erroneously includes. + + -- John Goerzen Sun, 19 Dec 1999 17:58:30 -0600 + +photopc (3.02-1) unstable; urgency=low + + * New upstream release. Closes: #52399, #46011. + + -- John Goerzen Sat, 18 Dec 1999 16:25:03 -0600 + +photopc (3.01-1) unstable; urgency=low + + * New upstream release + * Deleted old README.debian file. + * Updated copyright file with updated notice from README. + * Updated standards-version + + -- John Goerzen Wed, 1 Sep 1999 20:10:07 -0500 + +photopc (2.8-3) unstable; urgency=low + + * Now installs .h and .a files. + + -- John Goerzen Fri, 11 Dec 1998 13:57:14 -0600 + +photopc (2.8-2) unstable; urgency=low + + * Fixed Maintainer line in control file. + + -- John Goerzen Wed, 9 Dec 1998 22:58:29 -0600 + +photopc (2.8-1) unstable; urgency=low + + * New upstream release, fixes some problems with download errors + or timeouts since the 2.1 release. Fixes bug #30544 + * New maintainer. + + -- John Goerzen Wed, 9 Dec 1998 18:13:35 -0600 + +photopc (2.1-1) unstable; urgency=low + + * Initial Release. + + -- Christoph Lameter Wed, 18 Feb 1998 17:08:55 -0800 --- photopc-3.05.orig/debian/copyright +++ photopc-3.05/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Christoph Lameter chris@lameter.com on +Wed, 18 Feb 1998 17:08:55 -0800 + +Old versions were downloaded from ftp://ftp.average.org/pub/photopc/ +The project now appears to be at http://sf.net/projects/photopc + +Copyright: + +/* + Copyright (c) 1997-1999 Eugene G. Crosser + Copyright (c) 1998,1999 Bruce D. Lightner (DOS/Windows support) + + You may distribute and/or use for any purpose modified or unmodified + copies of this software if you preserve the copyright notice above. + + THIS SOFTWARE IS PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY + KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL THE + COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE + USE OF THIS SOFTWARE. +*/