aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-29 02:16:55 +1000
committerDavid Walter Seikel2016-03-29 02:16:55 +1000
commitcb3716ffb584fe0f593b6f1669a8efdba1305104 (patch)
tree5d1ebc4b6fc17b30f4b34e7e64a2d9514893459b /src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer
parentAdd Prosody build script. (diff)
downloadSledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.zip
SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.gz
SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.bz2
SledjHamr-cb3716ffb584fe0f593b6f1669a8efdba1305104.tar.xz
Added my version of libg3d and friends.
Diffstat (limited to 'src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer')
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile581
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am37
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in581
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c164
-rw-r--r--src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml91
-rwxr-xr-xsrc/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh81
6 files changed, 1535 insertions, 0 deletions
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile
new file mode 100644
index 0000000..53f1e61
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile
@@ -0,0 +1,581 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# thumbnailer/Makefile. Generated from Makefile.in by configure.
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15
16
17srcdir = .
18top_srcdir = ..
19
20pkgdatadir = $(datadir)/g3dviewer
21pkglibdir = $(libdir)/g3dviewer
22pkgincludedir = $(includedir)/g3dviewer
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = /usr/bin/install -c
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run aclocal-1.7
39AMDEP_FALSE = #
40AMDEP_TRUE =
41AMTAR = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run tar
42AUTOCONF = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoconf
43AUTOHEADER = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run autoheader
44AUTOMAKE = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run automake-1.7
45AWK = gawk
46CATALOGS = de.gmo
47CATOBJEXT = .gmo
48CC = gcc
49CCDEPMODE = depmode=gcc3
50CFLAGS = -g -O2
51CPP = gcc -E
52CPPFLAGS =
53CYGPATH_W = echo
54DATADIRNAME = share
55DBG_CFLAGS = -O2
56DEBUG = 0
57DEFS = -DHAVE_CONFIG_H
58DEPDIR = .deps
59ECHO_C =
60ECHO_N = -n
61ECHO_T =
62EGREP = /bin/grep -E
63EXEEXT =
64GETTEXT_PACKAGE = g3dviewer
65GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
66GLIB_GENMARSHAL = glib-genmarshal
67GLIB_LIBS = -lglib-2.0
68GLIB_MKENUMS = glib-mkenums
69GL_LIBS = -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
70GMOFILES = de.gmo
71GMSGFMT = /usr/bin/msgfmt
72GOBJECT_QUERY = gobject-query
73GREP = /bin/grep
74GTKGLEXT_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
75GTKGLEXT_LIBS = -Wl,--export-dynamic -pthread -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgmodule-2.0 -lrt -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
76GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
77GTK_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
78INSTALL_DATA = ${INSTALL} -m 644
79INSTALL_PROGRAM = ${INSTALL}
80INSTALL_SCRIPT = ${INSTALL}
81INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
82INSTOBJEXT = .mo
83INTLLIBS =
84LDFLAGS =
85LIBG3D_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include
86LIBG3D_LIBS = -L/usr/local/lib -lg3d -lglib-2.0
87LIBGLADE_CFLAGS = -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
88LIBGLADE_LIBS = -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0
89LIBOBJS =
90LIBS =
91LTLIBOBJS =
92MAKEINFO = ${SHELL} /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/missing --run makeinfo
93MKINSTALLDIRS = ./mkinstalldirs
94MSGFMT = /usr/bin/msgfmt
95OBJEXT = o
96PACKAGE = g3dviewer
97PACKAGE_BUGREPORT =
98PACKAGE_NAME =
99PACKAGE_STRING =
100PACKAGE_TARNAME =
101PACKAGE_VERSION =
102PATH_SEPARATOR = :
103PKG_CONFIG = /usr/bin/pkg-config
104POFILES = de.po
105POSUB = po
106PO_IN_DATADIR_FALSE =
107PO_IN_DATADIR_TRUE =
108SET_MAKE =
109SHELL = /bin/bash
110STRIP =
111USE_NLS = yes
112VERSION = 0.2.99.4
113XGETTEXT = /usr/bin/xgettext
114XMKMF =
115X_CFLAGS =
116X_EXTRA_LIBS =
117X_LIBS =
118X_PRE_LIBS = -lSM -lICE
119ac_ct_CC = gcc
120am__fastdepCC_FALSE = #
121am__fastdepCC_TRUE =
122am__include = include
123am__leading_dot = .
124am__quote =
125bindir = ${exec_prefix}/bin
126build_alias =
127datadir = ${datarootdir}
128datarootdir = ${prefix}/share
129docdir = ${datarootdir}/doc/${PACKAGE}
130dvidir = ${docdir}
131exec_prefix = ${prefix}
132host_alias =
133htmldir = ${docdir}
134includedir = ${prefix}/include
135infodir = ${datarootdir}/info
136install_sh = /home/dvs1/VirtualWorlds/SOURCE/SledjHamr/src/others/mimesh/g3dviewer-0.2.99.4/install-sh
137libdir = ${exec_prefix}/lib
138libexecdir = ${exec_prefix}/libexec
139localedir = ${datarootdir}/locale
140localstatedir = ${prefix}/var
141mandir = ${datarootdir}/man
142oldincludedir = /usr/include
143pdfdir = ${docdir}
144prefix = /usr/local
145program_transform_name = s,x,x,
146psdir = ${docdir}
147sbindir = ${exec_prefix}/sbin
148sharedstatedir = ${prefix}/com
149sysconfdir = ${prefix}/etc
150target_alias =
151bin_PROGRAMS = g3d-thumbnailer
152
153g3d_thumbnailer_SOURCES = \
154 g3d-thumbnailer.c \
155 ../src/trackball.c \
156 ../src/gl.c \
157 ../src/texture.c \
158 ../src/screenshot.c
159
160
161g3d_thumbnailer_CFLAGS = \
162 -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src \
163 -Wall -ansi \
164 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/local/include \
165 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 \
166 -DDEBUG=0
167
168
169g3d_thumbnailer_LDFLAGS = \
170 -lGL -lGLU -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -L/usr/local/lib -lg3d -lglib-2.0
171
172
173mimelocaldir = ${HOME}/.local/share/mime
174mimefiles = g3dviewer.xml
175
176EXTRA_DIST = \
177 g3dviewer.xml \
178 gen_schema.sh
179
180subdir = thumbnailer
181ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
182mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
183CONFIG_HEADER = $(top_builddir)/config.h
184CONFIG_CLEAN_FILES =
185bin_PROGRAMS = g3d-thumbnailer$(EXEEXT)
186PROGRAMS = $(bin_PROGRAMS)
187
188am_g3d_thumbnailer_OBJECTS = g3d_thumbnailer-g3d-thumbnailer.$(OBJEXT) \
189 g3d_thumbnailer-trackball.$(OBJEXT) \
190 g3d_thumbnailer-gl.$(OBJEXT) g3d_thumbnailer-texture.$(OBJEXT) \
191 g3d_thumbnailer-screenshot.$(OBJEXT)
192g3d_thumbnailer_OBJECTS = $(am_g3d_thumbnailer_OBJECTS)
193g3d_thumbnailer_LDADD = $(LDADD)
194g3d_thumbnailer_DEPENDENCIES =
195
196DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
197depcomp = $(SHELL) $(top_srcdir)/depcomp
198am__depfiles_maybe = depfiles
199DEP_FILES = ./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po \
200 ./$(DEPDIR)/g3d_thumbnailer-gl.Po \
201 ./$(DEPDIR)/g3d_thumbnailer-screenshot.Po \
202 ./$(DEPDIR)/g3d_thumbnailer-texture.Po \
203 ./$(DEPDIR)/g3d_thumbnailer-trackball.Po
204COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
205 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206CCLD = $(CC)
207LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
208DIST_SOURCES = $(g3d_thumbnailer_SOURCES)
209DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
210SOURCES = $(g3d_thumbnailer_SOURCES)
211
212all: all-am
213
214.SUFFIXES:
215.SUFFIXES: .c .o .obj
216$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
217 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu thumbnailer/Makefile
219Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
220 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
221binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
222install-binPROGRAMS: $(bin_PROGRAMS)
223 @$(NORMAL_INSTALL)
224 $(mkinstalldirs) $(DESTDIR)$(bindir)
225 @list='$(bin_PROGRAMS)'; for p in $$list; do \
226 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
227 if test -f $$p \
228 ; then \
229 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
230 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
231 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
232 else :; fi; \
233 done
234
235uninstall-binPROGRAMS:
236 @$(NORMAL_UNINSTALL)
237 @list='$(bin_PROGRAMS)'; for p in $$list; do \
238 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
239 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
240 rm -f $(DESTDIR)$(bindir)/$$f; \
241 done
242
243clean-binPROGRAMS:
244 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
245g3d-thumbnailer$(EXEEXT): $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_DEPENDENCIES)
246 @rm -f g3d-thumbnailer$(EXEEXT)
247 $(LINK) $(g3d_thumbnailer_LDFLAGS) $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_LDADD) $(LIBS)
248
249mostlyclean-compile:
250 -rm -f *.$(OBJEXT) core *.core
251
252distclean-compile:
253 -rm -f *.tab.c
254
255include ./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po
256include ./$(DEPDIR)/g3d_thumbnailer-gl.Po
257include ./$(DEPDIR)/g3d_thumbnailer-screenshot.Po
258include ./$(DEPDIR)/g3d_thumbnailer-texture.Po
259include ./$(DEPDIR)/g3d_thumbnailer-trackball.Po
260
261.c.o:
262 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
263 -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
264 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
265 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
266 fi
267# source='$<' object='$@' libtool=no \
268# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
269# $(CCDEPMODE) $(depcomp) \
270# $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
271
272.c.obj:
273 if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
274 -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
275 then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
276 else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
277 fi
278# source='$<' object='$@' libtool=no \
279# depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
280# $(CCDEPMODE) $(depcomp) \
281# $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
282
283g3d_thumbnailer-g3d-thumbnailer.o: g3d-thumbnailer.c
284 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
285 -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c; \
286 then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
287 else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
288 fi
289# source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.o' libtool=no \
290# depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' \
291# $(CCDEPMODE) $(depcomp) \
292# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c
293
294g3d_thumbnailer-g3d-thumbnailer.obj: g3d-thumbnailer.c
295 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
296 -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`; \
297 then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
298 else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
299 fi
300# source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.obj' libtool=no \
301# depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' \
302# $(CCDEPMODE) $(depcomp) \
303# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`
304
305g3d_thumbnailer-trackball.o: ../src/trackball.c
306 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
307 -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c; \
308 then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
309 else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
310 fi
311# source='../src/trackball.c' object='g3d_thumbnailer-trackball.o' libtool=no \
312# depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' \
313# $(CCDEPMODE) $(depcomp) \
314# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c
315
316g3d_thumbnailer-trackball.obj: ../src/trackball.c
317 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
318 -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`; \
319 then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
320 else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
321 fi
322# source='../src/trackball.c' object='g3d_thumbnailer-trackball.obj' libtool=no \
323# depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' \
324# $(CCDEPMODE) $(depcomp) \
325# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`
326
327g3d_thumbnailer-gl.o: ../src/gl.c
328 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
329 -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c; \
330 then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
331 else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
332 fi
333# source='../src/gl.c' object='g3d_thumbnailer-gl.o' libtool=no \
334# depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' \
335# $(CCDEPMODE) $(depcomp) \
336# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c
337
338g3d_thumbnailer-gl.obj: ../src/gl.c
339 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
340 -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`; \
341 then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
342 else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
343 fi
344# source='../src/gl.c' object='g3d_thumbnailer-gl.obj' libtool=no \
345# depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' \
346# $(CCDEPMODE) $(depcomp) \
347# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`
348
349g3d_thumbnailer-texture.o: ../src/texture.c
350 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
351 -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c; \
352 then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
353 else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
354 fi
355# source='../src/texture.c' object='g3d_thumbnailer-texture.o' libtool=no \
356# depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' \
357# $(CCDEPMODE) $(depcomp) \
358# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c
359
360g3d_thumbnailer-texture.obj: ../src/texture.c
361 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
362 -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`; \
363 then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
364 else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
365 fi
366# source='../src/texture.c' object='g3d_thumbnailer-texture.obj' libtool=no \
367# depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' \
368# $(CCDEPMODE) $(depcomp) \
369# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`
370
371g3d_thumbnailer-screenshot.o: ../src/screenshot.c
372 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
373 -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c; \
374 then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
375 else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
376 fi
377# source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.o' libtool=no \
378# depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' \
379# $(CCDEPMODE) $(depcomp) \
380# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c
381
382g3d_thumbnailer-screenshot.obj: ../src/screenshot.c
383 if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
384 -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`; \
385 then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
386 else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
387 fi
388# source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.obj' libtool=no \
389# depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' \
390# $(CCDEPMODE) $(depcomp) \
391# $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`
392uninstall-info-am:
393
394ETAGS = etags
395ETAGSFLAGS =
396
397CTAGS = ctags
398CTAGSFLAGS =
399
400tags: TAGS
401
402ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
403 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
404 unique=`for i in $$list; do \
405 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406 done | \
407 $(AWK) ' { files[$$0] = 1; } \
408 END { for (i in files) print i; }'`; \
409 mkid -fID $$unique
410
411TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
412 $(TAGS_FILES) $(LISP)
413 tags=; \
414 here=`pwd`; \
415 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
416 unique=`for i in $$list; do \
417 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418 done | \
419 $(AWK) ' { files[$$0] = 1; } \
420 END { for (i in files) print i; }'`; \
421 test -z "$(ETAGS_ARGS)$$tags$$unique" \
422 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
423 $$tags $$unique
424
425ctags: CTAGS
426CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
427 $(TAGS_FILES) $(LISP)
428 tags=; \
429 here=`pwd`; \
430 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
431 unique=`for i in $$list; do \
432 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433 done | \
434 $(AWK) ' { files[$$0] = 1; } \
435 END { for (i in files) print i; }'`; \
436 test -z "$(CTAGS_ARGS)$$tags$$unique" \
437 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
438 $$tags $$unique
439
440GTAGS:
441 here=`$(am__cd) $(top_builddir) && pwd` \
442 && cd $(top_srcdir) \
443 && gtags -i $(GTAGS_ARGS) $$here
444
445distclean-tags:
446 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
447DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
448
449top_distdir = ..
450distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
451
452distdir: $(DISTFILES)
453 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
454 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
455 list='$(DISTFILES)'; for file in $$list; do \
456 case $$file in \
457 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
458 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
459 esac; \
460 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
461 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
462 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
463 dir="/$$dir"; \
464 $(mkinstalldirs) "$(distdir)$$dir"; \
465 else \
466 dir=''; \
467 fi; \
468 if test -d $$d/$$file; then \
469 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
470 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
471 fi; \
472 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
473 else \
474 test -f $(distdir)/$$file \
475 || cp -p $$d/$$file $(distdir)/$$file \
476 || exit 1; \
477 fi; \
478 done
479check-am: all-am
480check: check-am
481all-am: Makefile $(PROGRAMS)
482
483installdirs:
484 $(mkinstalldirs) $(DESTDIR)$(bindir)
485install: install-am
486install-exec: install-exec-am
487install-data: install-data-am
488uninstall: uninstall-am
489
490install-am: all-am
491 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
492
493installcheck: installcheck-am
494install-strip:
495 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
496 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
497 `test -z '$(STRIP)' || \
498 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
499mostlyclean-generic:
500
501clean-generic:
502
503distclean-generic:
504 -rm -f $(CONFIG_CLEAN_FILES)
505
506maintainer-clean-generic:
507 @echo "This command is intended for maintainers to use"
508 @echo "it deletes files that may require special tools to rebuild."
509clean: clean-am
510
511clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
512
513distclean: distclean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516distclean-am: clean-am distclean-compile distclean-generic \
517 distclean-tags
518
519dvi: dvi-am
520
521dvi-am:
522
523info: info-am
524
525info-am:
526
527install-data-am:
528
529install-exec-am: install-binPROGRAMS
530
531install-info: install-info-am
532
533install-man:
534
535installcheck-am:
536
537maintainer-clean: maintainer-clean-am
538 -rm -rf ./$(DEPDIR)
539 -rm -f Makefile
540maintainer-clean-am: distclean-am maintainer-clean-generic
541
542mostlyclean: mostlyclean-am
543
544mostlyclean-am: mostlyclean-compile mostlyclean-generic
545
546pdf: pdf-am
547
548pdf-am:
549
550ps: ps-am
551
552ps-am:
553
554uninstall-am: uninstall-binPROGRAMS uninstall-info-am
555
556.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
557 clean-generic ctags distclean distclean-compile \
558 distclean-generic distclean-tags distdir dvi dvi-am info \
559 info-am install install-am install-binPROGRAMS install-data \
560 install-data-am install-exec install-exec-am install-info \
561 install-info-am install-man install-strip installcheck \
562 installcheck-am installdirs maintainer-clean \
563 maintainer-clean-generic mostlyclean mostlyclean-compile \
564 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
565 uninstall-am uninstall-binPROGRAMS uninstall-info-am
566
567
568install-data-user: install-mime-user install-schema-user
569
570install-mime-user: ${mimefiles}
571 mkdir -p ${mimelocaldir}/packages
572 mkdir -p ${mimelocaldir}/applications
573 cp ${mimefiles} ${mimelocaldir}/packages
574 update-mime-database ${mimelocaldir}
575
576install-schema-user:
577 ./gen_schema.sh
578 gconftool-2 --install-schema-file=g3d-thumbnailer.schema
579# Tell versions [3.59,3.63) of GNU make to not export all variables.
580# Otherwise a system limit (for SysV at least) may be exceeded.
581.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am
new file mode 100644
index 0000000..eb78666
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.am
@@ -0,0 +1,37 @@
1bin_PROGRAMS = g3d-thumbnailer
2
3g3d_thumbnailer_SOURCES = \
4 g3d-thumbnailer.c \
5 ../src/trackball.c \
6 ../src/gl.c \
7 ../src/texture.c \
8 ../src/screenshot.c
9
10g3d_thumbnailer_CFLAGS = \
11 -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src \
12 -Wall -ansi \
13 @X_CFLAGS@ @LIBG3D_CFLAGS@ \
14 @GTK_CFLAGS@ \
15 -DDEBUG=@DEBUG@
16
17g3d_thumbnailer_LDFLAGS = \
18 @X_LIBS@ @GL_LIBS@ @GTK_LIBS@ @LIBG3D_LIBS@
19
20mimelocaldir = ${HOME}/.local/share/mime
21mimefiles = g3dviewer.xml
22
23install-data-user: install-mime-user install-schema-user
24
25install-mime-user: ${mimefiles}
26 mkdir -p ${mimelocaldir}/packages
27 mkdir -p ${mimelocaldir}/applications
28 cp ${mimefiles} ${mimelocaldir}/packages
29 update-mime-database ${mimelocaldir}
30
31install-schema-user:
32 ./gen_schema.sh
33 gconftool-2 --install-schema-file=g3d-thumbnailer.schema
34
35EXTRA_DIST = \
36 g3dviewer.xml \
37 gen_schema.sh
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in
new file mode 100644
index 0000000..623d2cf
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/Makefile.in
@@ -0,0 +1,581 @@
1# Makefile.in generated by automake 1.7.9 from Makefile.am.
2# @configure_input@
3
4# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5# Free Software Foundation, Inc.
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkgincludedir = $(includedir)/@PACKAGE@
23top_builddir = ..
24
25am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26INSTALL = @INSTALL@
27install_sh_DATA = $(install_sh) -c -m 644
28install_sh_PROGRAM = $(install_sh) -c
29install_sh_SCRIPT = $(install_sh) -c
30INSTALL_HEADER = $(INSTALL_DATA)
31transform = $(program_transform_name)
32NORMAL_INSTALL = :
33PRE_INSTALL = :
34POST_INSTALL = :
35NORMAL_UNINSTALL = :
36PRE_UNINSTALL = :
37POST_UNINSTALL = :
38ACLOCAL = @ACLOCAL@
39AMDEP_FALSE = @AMDEP_FALSE@
40AMDEP_TRUE = @AMDEP_TRUE@
41AMTAR = @AMTAR@
42AUTOCONF = @AUTOCONF@
43AUTOHEADER = @AUTOHEADER@
44AUTOMAKE = @AUTOMAKE@
45AWK = @AWK@
46CATALOGS = @CATALOGS@
47CATOBJEXT = @CATOBJEXT@
48CC = @CC@
49CCDEPMODE = @CCDEPMODE@
50CFLAGS = @CFLAGS@
51CPP = @CPP@
52CPPFLAGS = @CPPFLAGS@
53CYGPATH_W = @CYGPATH_W@
54DATADIRNAME = @DATADIRNAME@
55DBG_CFLAGS = @DBG_CFLAGS@
56DEBUG = @DEBUG@
57DEFS = @DEFS@
58DEPDIR = @DEPDIR@
59ECHO_C = @ECHO_C@
60ECHO_N = @ECHO_N@
61ECHO_T = @ECHO_T@
62EGREP = @EGREP@
63EXEEXT = @EXEEXT@
64GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
65GLIB_CFLAGS = @GLIB_CFLAGS@
66GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
67GLIB_LIBS = @GLIB_LIBS@
68GLIB_MKENUMS = @GLIB_MKENUMS@
69GL_LIBS = @GL_LIBS@
70GMOFILES = @GMOFILES@
71GMSGFMT = @GMSGFMT@
72GOBJECT_QUERY = @GOBJECT_QUERY@
73GREP = @GREP@
74GTKGLEXT_CFLAGS = @GTKGLEXT_CFLAGS@
75GTKGLEXT_LIBS = @GTKGLEXT_LIBS@
76GTK_CFLAGS = @GTK_CFLAGS@
77GTK_LIBS = @GTK_LIBS@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_PROGRAM = @INSTALL_PROGRAM@
80INSTALL_SCRIPT = @INSTALL_SCRIPT@
81INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82INSTOBJEXT = @INSTOBJEXT@
83INTLLIBS = @INTLLIBS@
84LDFLAGS = @LDFLAGS@
85LIBG3D_CFLAGS = @LIBG3D_CFLAGS@
86LIBG3D_LIBS = @LIBG3D_LIBS@
87LIBGLADE_CFLAGS = @LIBGLADE_CFLAGS@
88LIBGLADE_LIBS = @LIBGLADE_LIBS@
89LIBOBJS = @LIBOBJS@
90LIBS = @LIBS@
91LTLIBOBJS = @LTLIBOBJS@
92MAKEINFO = @MAKEINFO@
93MKINSTALLDIRS = @MKINSTALLDIRS@
94MSGFMT = @MSGFMT@
95OBJEXT = @OBJEXT@
96PACKAGE = @PACKAGE@
97PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
98PACKAGE_NAME = @PACKAGE_NAME@
99PACKAGE_STRING = @PACKAGE_STRING@
100PACKAGE_TARNAME = @PACKAGE_TARNAME@
101PACKAGE_VERSION = @PACKAGE_VERSION@
102PATH_SEPARATOR = @PATH_SEPARATOR@
103PKG_CONFIG = @PKG_CONFIG@
104POFILES = @POFILES@
105POSUB = @POSUB@
106PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
107PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
108SET_MAKE = @SET_MAKE@
109SHELL = @SHELL@
110STRIP = @STRIP@
111USE_NLS = @USE_NLS@
112VERSION = @VERSION@
113XGETTEXT = @XGETTEXT@
114XMKMF = @XMKMF@
115X_CFLAGS = @X_CFLAGS@
116X_EXTRA_LIBS = @X_EXTRA_LIBS@
117X_LIBS = @X_LIBS@
118X_PRE_LIBS = @X_PRE_LIBS@
119ac_ct_CC = @ac_ct_CC@
120am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
121am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
122am__include = @am__include@
123am__leading_dot = @am__leading_dot@
124am__quote = @am__quote@
125bindir = @bindir@
126build_alias = @build_alias@
127datadir = @datadir@
128datarootdir = @datarootdir@
129docdir = @docdir@
130dvidir = @dvidir@
131exec_prefix = @exec_prefix@
132host_alias = @host_alias@
133htmldir = @htmldir@
134includedir = @includedir@
135infodir = @infodir@
136install_sh = @install_sh@
137libdir = @libdir@
138libexecdir = @libexecdir@
139localedir = @localedir@
140localstatedir = @localstatedir@
141mandir = @mandir@
142oldincludedir = @oldincludedir@
143pdfdir = @pdfdir@
144prefix = @prefix@
145program_transform_name = @program_transform_name@
146psdir = @psdir@
147sbindir = @sbindir@
148sharedstatedir = @sharedstatedir@
149sysconfdir = @sysconfdir@
150target_alias = @target_alias@
151bin_PROGRAMS = g3d-thumbnailer
152
153g3d_thumbnailer_SOURCES = \
154 g3d-thumbnailer.c \
155 ../src/trackball.c \
156 ../src/gl.c \
157 ../src/texture.c \
158 ../src/screenshot.c
159
160
161g3d_thumbnailer_CFLAGS = \
162 -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src \
163 -Wall -ansi \
164 @X_CFLAGS@ @LIBG3D_CFLAGS@ \
165 @GTK_CFLAGS@ \
166 -DDEBUG=@DEBUG@
167
168
169g3d_thumbnailer_LDFLAGS = \
170 @X_LIBS@ @GL_LIBS@ @GTK_LIBS@ @LIBG3D_LIBS@
171
172
173mimelocaldir = ${HOME}/.local/share/mime
174mimefiles = g3dviewer.xml
175
176EXTRA_DIST = \
177 g3dviewer.xml \
178 gen_schema.sh
179
180subdir = thumbnailer
181ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
182mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
183CONFIG_HEADER = $(top_builddir)/config.h
184CONFIG_CLEAN_FILES =
185bin_PROGRAMS = g3d-thumbnailer$(EXEEXT)
186PROGRAMS = $(bin_PROGRAMS)
187
188am_g3d_thumbnailer_OBJECTS = g3d_thumbnailer-g3d-thumbnailer.$(OBJEXT) \
189 g3d_thumbnailer-trackball.$(OBJEXT) \
190 g3d_thumbnailer-gl.$(OBJEXT) g3d_thumbnailer-texture.$(OBJEXT) \
191 g3d_thumbnailer-screenshot.$(OBJEXT)
192g3d_thumbnailer_OBJECTS = $(am_g3d_thumbnailer_OBJECTS)
193g3d_thumbnailer_LDADD = $(LDADD)
194g3d_thumbnailer_DEPENDENCIES =
195
196DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
197depcomp = $(SHELL) $(top_srcdir)/depcomp
198am__depfiles_maybe = depfiles
199@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po \
200@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-gl.Po \
201@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-screenshot.Po \
202@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-texture.Po \
203@AMDEP_TRUE@ ./$(DEPDIR)/g3d_thumbnailer-trackball.Po
204COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
205 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
206CCLD = $(CC)
207LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
208DIST_SOURCES = $(g3d_thumbnailer_SOURCES)
209DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
210SOURCES = $(g3d_thumbnailer_SOURCES)
211
212all: all-am
213
214.SUFFIXES:
215.SUFFIXES: .c .o .obj
216$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
217 cd $(top_srcdir) && \
218 $(AUTOMAKE) --gnu thumbnailer/Makefile
219Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
220 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
221binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
222install-binPROGRAMS: $(bin_PROGRAMS)
223 @$(NORMAL_INSTALL)
224 $(mkinstalldirs) $(DESTDIR)$(bindir)
225 @list='$(bin_PROGRAMS)'; for p in $$list; do \
226 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
227 if test -f $$p \
228 ; then \
229 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
230 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
231 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \
232 else :; fi; \
233 done
234
235uninstall-binPROGRAMS:
236 @$(NORMAL_UNINSTALL)
237 @list='$(bin_PROGRAMS)'; for p in $$list; do \
238 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
239 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
240 rm -f $(DESTDIR)$(bindir)/$$f; \
241 done
242
243clean-binPROGRAMS:
244 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
245g3d-thumbnailer$(EXEEXT): $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_DEPENDENCIES)
246 @rm -f g3d-thumbnailer$(EXEEXT)
247 $(LINK) $(g3d_thumbnailer_LDFLAGS) $(g3d_thumbnailer_OBJECTS) $(g3d_thumbnailer_LDADD) $(LIBS)
248
249mostlyclean-compile:
250 -rm -f *.$(OBJEXT) core *.core
251
252distclean-compile:
253 -rm -f *.tab.c
254
255@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po@am__quote@
256@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-gl.Po@am__quote@
257@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-screenshot.Po@am__quote@
258@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-texture.Po@am__quote@
259@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/g3d_thumbnailer-trackball.Po@am__quote@
260
261.c.o:
262@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
263@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
264@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
265@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
266@am__fastdepCC_TRUE@ fi
267@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
268@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
269@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
270@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
271
272.c.obj:
273@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
274@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
275@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
276@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
277@am__fastdepCC_TRUE@ fi
278@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
279@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
280@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
281@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
282
283g3d_thumbnailer-g3d-thumbnailer.o: g3d-thumbnailer.c
284@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
285@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c; \
286@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
287@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
288@am__fastdepCC_TRUE@ fi
289@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.o' libtool=no @AMDEPBACKSLASH@
290@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' @AMDEPBACKSLASH@
291@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
292@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.o `test -f 'g3d-thumbnailer.c' || echo '$(srcdir)/'`g3d-thumbnailer.c
293
294g3d_thumbnailer-g3d-thumbnailer.obj: g3d-thumbnailer.c
295@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-g3d-thumbnailer.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" \
296@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`; \
297@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo" "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po"; \
298@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Tpo"; exit 1; \
299@am__fastdepCC_TRUE@ fi
300@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g3d-thumbnailer.c' object='g3d_thumbnailer-g3d-thumbnailer.obj' libtool=no @AMDEPBACKSLASH@
301@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-g3d-thumbnailer.TPo' @AMDEPBACKSLASH@
302@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
303@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-g3d-thumbnailer.obj `if test -f 'g3d-thumbnailer.c'; then $(CYGPATH_W) 'g3d-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/g3d-thumbnailer.c'; fi`
304
305g3d_thumbnailer-trackball.o: ../src/trackball.c
306@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
307@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c; \
308@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
309@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
310@am__fastdepCC_TRUE@ fi
311@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/trackball.c' object='g3d_thumbnailer-trackball.o' libtool=no @AMDEPBACKSLASH@
312@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' @AMDEPBACKSLASH@
313@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
314@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.o `test -f '../src/trackball.c' || echo '$(srcdir)/'`../src/trackball.c
315
316g3d_thumbnailer-trackball.obj: ../src/trackball.c
317@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-trackball.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" \
318@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`; \
319@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo" "$(DEPDIR)/g3d_thumbnailer-trackball.Po"; \
320@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-trackball.Tpo"; exit 1; \
321@am__fastdepCC_TRUE@ fi
322@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/trackball.c' object='g3d_thumbnailer-trackball.obj' libtool=no @AMDEPBACKSLASH@
323@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-trackball.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-trackball.TPo' @AMDEPBACKSLASH@
324@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
325@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-trackball.obj `if test -f '../src/trackball.c'; then $(CYGPATH_W) '../src/trackball.c'; else $(CYGPATH_W) '$(srcdir)/../src/trackball.c'; fi`
326
327g3d_thumbnailer-gl.o: ../src/gl.c
328@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
329@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c; \
330@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
331@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
332@am__fastdepCC_TRUE@ fi
333@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/gl.c' object='g3d_thumbnailer-gl.o' libtool=no @AMDEPBACKSLASH@
334@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' @AMDEPBACKSLASH@
335@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
336@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.o `test -f '../src/gl.c' || echo '$(srcdir)/'`../src/gl.c
337
338g3d_thumbnailer-gl.obj: ../src/gl.c
339@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-gl.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" \
340@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`; \
341@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo" "$(DEPDIR)/g3d_thumbnailer-gl.Po"; \
342@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-gl.Tpo"; exit 1; \
343@am__fastdepCC_TRUE@ fi
344@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/gl.c' object='g3d_thumbnailer-gl.obj' libtool=no @AMDEPBACKSLASH@
345@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-gl.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-gl.TPo' @AMDEPBACKSLASH@
346@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
347@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-gl.obj `if test -f '../src/gl.c'; then $(CYGPATH_W) '../src/gl.c'; else $(CYGPATH_W) '$(srcdir)/../src/gl.c'; fi`
348
349g3d_thumbnailer-texture.o: ../src/texture.c
350@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
351@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c; \
352@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
353@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
354@am__fastdepCC_TRUE@ fi
355@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/texture.c' object='g3d_thumbnailer-texture.o' libtool=no @AMDEPBACKSLASH@
356@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' @AMDEPBACKSLASH@
357@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
358@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.o `test -f '../src/texture.c' || echo '$(srcdir)/'`../src/texture.c
359
360g3d_thumbnailer-texture.obj: ../src/texture.c
361@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-texture.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" \
362@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`; \
363@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo" "$(DEPDIR)/g3d_thumbnailer-texture.Po"; \
364@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-texture.Tpo"; exit 1; \
365@am__fastdepCC_TRUE@ fi
366@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/texture.c' object='g3d_thumbnailer-texture.obj' libtool=no @AMDEPBACKSLASH@
367@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-texture.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-texture.TPo' @AMDEPBACKSLASH@
368@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
369@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-texture.obj `if test -f '../src/texture.c'; then $(CYGPATH_W) '../src/texture.c'; else $(CYGPATH_W) '$(srcdir)/../src/texture.c'; fi`
370
371g3d_thumbnailer-screenshot.o: ../src/screenshot.c
372@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.o -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
373@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c; \
374@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
375@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
376@am__fastdepCC_TRUE@ fi
377@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.o' libtool=no @AMDEPBACKSLASH@
378@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' @AMDEPBACKSLASH@
379@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
380@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.o `test -f '../src/screenshot.c' || echo '$(srcdir)/'`../src/screenshot.c
381
382g3d_thumbnailer-screenshot.obj: ../src/screenshot.c
383@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -MT g3d_thumbnailer-screenshot.obj -MD -MP -MF "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" \
384@am__fastdepCC_TRUE@ -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`; \
385@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo" "$(DEPDIR)/g3d_thumbnailer-screenshot.Po"; \
386@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/g3d_thumbnailer-screenshot.Tpo"; exit 1; \
387@am__fastdepCC_TRUE@ fi
388@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/screenshot.c' object='g3d_thumbnailer-screenshot.obj' libtool=no @AMDEPBACKSLASH@
389@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/g3d_thumbnailer-screenshot.Po' tmpdepfile='$(DEPDIR)/g3d_thumbnailer-screenshot.TPo' @AMDEPBACKSLASH@
390@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
391@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(g3d_thumbnailer_CFLAGS) $(CFLAGS) -c -o g3d_thumbnailer-screenshot.obj `if test -f '../src/screenshot.c'; then $(CYGPATH_W) '../src/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/../src/screenshot.c'; fi`
392uninstall-info-am:
393
394ETAGS = etags
395ETAGSFLAGS =
396
397CTAGS = ctags
398CTAGSFLAGS =
399
400tags: TAGS
401
402ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
403 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
404 unique=`for i in $$list; do \
405 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
406 done | \
407 $(AWK) ' { files[$$0] = 1; } \
408 END { for (i in files) print i; }'`; \
409 mkid -fID $$unique
410
411TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
412 $(TAGS_FILES) $(LISP)
413 tags=; \
414 here=`pwd`; \
415 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
416 unique=`for i in $$list; do \
417 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
418 done | \
419 $(AWK) ' { files[$$0] = 1; } \
420 END { for (i in files) print i; }'`; \
421 test -z "$(ETAGS_ARGS)$$tags$$unique" \
422 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
423 $$tags $$unique
424
425ctags: CTAGS
426CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
427 $(TAGS_FILES) $(LISP)
428 tags=; \
429 here=`pwd`; \
430 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
431 unique=`for i in $$list; do \
432 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
433 done | \
434 $(AWK) ' { files[$$0] = 1; } \
435 END { for (i in files) print i; }'`; \
436 test -z "$(CTAGS_ARGS)$$tags$$unique" \
437 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
438 $$tags $$unique
439
440GTAGS:
441 here=`$(am__cd) $(top_builddir) && pwd` \
442 && cd $(top_srcdir) \
443 && gtags -i $(GTAGS_ARGS) $$here
444
445distclean-tags:
446 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
447DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
448
449top_distdir = ..
450distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
451
452distdir: $(DISTFILES)
453 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
454 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
455 list='$(DISTFILES)'; for file in $$list; do \
456 case $$file in \
457 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
458 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
459 esac; \
460 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
461 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
462 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
463 dir="/$$dir"; \
464 $(mkinstalldirs) "$(distdir)$$dir"; \
465 else \
466 dir=''; \
467 fi; \
468 if test -d $$d/$$file; then \
469 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
470 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
471 fi; \
472 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
473 else \
474 test -f $(distdir)/$$file \
475 || cp -p $$d/$$file $(distdir)/$$file \
476 || exit 1; \
477 fi; \
478 done
479check-am: all-am
480check: check-am
481all-am: Makefile $(PROGRAMS)
482
483installdirs:
484 $(mkinstalldirs) $(DESTDIR)$(bindir)
485install: install-am
486install-exec: install-exec-am
487install-data: install-data-am
488uninstall: uninstall-am
489
490install-am: all-am
491 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
492
493installcheck: installcheck-am
494install-strip:
495 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
496 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
497 `test -z '$(STRIP)' || \
498 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
499mostlyclean-generic:
500
501clean-generic:
502
503distclean-generic:
504 -rm -f $(CONFIG_CLEAN_FILES)
505
506maintainer-clean-generic:
507 @echo "This command is intended for maintainers to use"
508 @echo "it deletes files that may require special tools to rebuild."
509clean: clean-am
510
511clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
512
513distclean: distclean-am
514 -rm -rf ./$(DEPDIR)
515 -rm -f Makefile
516distclean-am: clean-am distclean-compile distclean-generic \
517 distclean-tags
518
519dvi: dvi-am
520
521dvi-am:
522
523info: info-am
524
525info-am:
526
527install-data-am:
528
529install-exec-am: install-binPROGRAMS
530
531install-info: install-info-am
532
533install-man:
534
535installcheck-am:
536
537maintainer-clean: maintainer-clean-am
538 -rm -rf ./$(DEPDIR)
539 -rm -f Makefile
540maintainer-clean-am: distclean-am maintainer-clean-generic
541
542mostlyclean: mostlyclean-am
543
544mostlyclean-am: mostlyclean-compile mostlyclean-generic
545
546pdf: pdf-am
547
548pdf-am:
549
550ps: ps-am
551
552ps-am:
553
554uninstall-am: uninstall-binPROGRAMS uninstall-info-am
555
556.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
557 clean-generic ctags distclean distclean-compile \
558 distclean-generic distclean-tags distdir dvi dvi-am info \
559 info-am install install-am install-binPROGRAMS install-data \
560 install-data-am install-exec install-exec-am install-info \
561 install-info-am install-man install-strip installcheck \
562 installcheck-am installdirs maintainer-clean \
563 maintainer-clean-generic mostlyclean mostlyclean-compile \
564 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
565 uninstall-am uninstall-binPROGRAMS uninstall-info-am
566
567
568install-data-user: install-mime-user install-schema-user
569
570install-mime-user: ${mimefiles}
571 mkdir -p ${mimelocaldir}/packages
572 mkdir -p ${mimelocaldir}/applications
573 cp ${mimefiles} ${mimelocaldir}/packages
574 update-mime-database ${mimelocaldir}
575
576install-schema-user:
577 ./gen_schema.sh
578 gconftool-2 --install-schema-file=g3d-thumbnailer.schema
579# Tell versions [3.59,3.63) of GNU make to not export all variables.
580# Otherwise a system limit (for SysV at least) may be exceeded.
581.NOEXPORT:
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c
new file mode 100644
index 0000000..92acd0b
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3d-thumbnailer.c
@@ -0,0 +1,164 @@
1/* $Id: g3d-thumbnailer.c 61 2006-11-09 15:31:12Z mmmaddd $ */
2
3/*
4 G3DViewer - 3D object viewer
5
6 Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22
23#include <stdio.h>
24#include <stdlib.h>
25
26#include <X11/Xlib.h>
27#include <GL/glx.h>
28
29#include <gtk/gtk.h>
30#include <glib.h>
31#include <g3d/g3d.h>
32
33#include "gl.h"
34#include "trackball.h"
35#include "screenshot.h"
36#include "texture.h"
37
38static gboolean setup_gl(guint32 width, guint32 height)
39{
40 Display *display;
41 XVisualInfo *visinfo;
42 Pixmap pixmap;
43 GLXPixmap glxpixmap;
44 GLXContext glxctx;
45 char *dpyname;
46 int attrlist_dbl[] = {
47 GLX_RGBA,
48 GLX_DOUBLEBUFFER,
49 GLX_RED_SIZE, 1,
50 GLX_GREEN_SIZE, 1,
51 GLX_BLUE_SIZE, 1,
52 None};
53 int attrlist_sng[] = {
54 GLX_RGBA,
55 GLX_RED_SIZE, 1,
56 GLX_GREEN_SIZE, 1,
57 GLX_BLUE_SIZE, 1,
58 None};
59
60 dpyname = getenv("DISPLAY");
61
62 display = XOpenDisplay(dpyname);
63 if(display == NULL)
64 {
65 g_printerr("ERROR: could not open display '%s'\n",
66 dpyname ? dpyname : "(null)");
67 return FALSE;
68 }
69
70 visinfo = glXChooseVisual(display, DefaultScreen(display), attrlist_sng);
71 if(visinfo == NULL)
72 {
73 /* try with double buffering */
74 visinfo = glXChooseVisual(display, DefaultScreen(display),
75 attrlist_dbl);
76 if(visinfo == NULL)
77 {
78 g_printerr("ERROR: could not get a supported visual\n");
79 return FALSE;
80 }
81 }
82
83 glxctx = glXCreateContext(display, visinfo, 0, GL_FALSE);
84 if(glxctx == NULL)
85 {
86 g_printerr("ERROR: could not create GLX context\n");
87 return FALSE;
88 }
89
90 pixmap = XCreatePixmap(display, RootWindow(display, visinfo->screen),
91 width, height, visinfo->depth);
92 if(pixmap <= 0)
93 {
94 g_printerr("ERROR: could not create pixmap\n");
95 return FALSE;
96 }
97
98 glxpixmap = glXCreateGLXPixmap(display, visinfo, pixmap);
99 if(glxpixmap <= 0)
100 {
101 g_printerr("ERROR: could not create GLX pixmap\n");
102 return FALSE;
103 }
104
105 glXMakeCurrent(display, glxpixmap, glxctx);
106
107 return TRUE;
108}
109
110int main(int argc, char *argv[])
111{
112 G3DContext *context;
113 G3DModel *model;
114 gfloat bgcolor[4] = { 1.0, 1.0, 1.0, 0.0 };
115 gfloat quat[4] = { 0.10, -0.31, -0.87, 0.38 };
116 guint32 width = 128;
117 guint32 height = 128;
118
119 gtk_init(&argc, &argv);
120
121 setup_gl(width, height);
122
123 if(argc < 3)
124 {
125 g_print("usage: %s <input file: model> <output file: image> "
126 "[<width in px>]\n",
127 argv[0]);
128 return EXIT_FAILURE;
129 }
130
131 if(argc > 3)
132 {
133 /* size */
134 width = atoi(argv[3]);
135 /* height = width / 4 * 3; */
136 height = width;
137 }
138
139 context = g3d_context_new();
140 model = g3d_model_load(context, argv[1]);
141
142 if(model)
143 {
144 texture_load_all_textures(model);
145
146 gl_draw(
147 G3D_FLAG_GL_SHININESS | G3D_FLAG_GL_ALLTWOSIDE |
148 G3D_FLAG_GL_TEXTURES,
149 45 /* zoom */,
150 (gfloat)width / (gfloat)height,
151 bgcolor,
152 quat,
153 model);
154
155 glXWaitGL();
156
157 if(screenshot_save(argv[2], width, height))
158 {
159 return EXIT_SUCCESS;
160 }
161 }
162
163 return EXIT_FAILURE;
164}
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml
new file mode 100644
index 0000000..7de902e
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/g3dviewer.xml
@@ -0,0 +1,91 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3
4 <mime-type type="image/x-3ds">
5 <comment xml:lang="en">3D Studio model</comment>
6 <glob pattern="*.3ds" />
7 <glob pattern="*.asc" />
8 <glob pattern="*.prj" />
9 </mime-type>
10
11 <mime-type type="image/x-3dmf">
12 <comment xml:lang="en">3D Metafile</comment>
13 <glob pattern="*.3dmf" />
14 <glob pattern="*.3mf" />
15 <glob pattern="*.b3d" />
16 </mime-type>
17
18 <mime-type type="image/x-ac3d">
19 <comment xml:lang="en">AC3D model</comment>
20 <glob pattern="*.ac" />
21 <glob pattern="*.acc" />
22 </mime-type>
23
24 <mime-type type="image/x-cob">
25 <comment xml:lang="en">TrueSpace model</comment>
26 <glob pattern="*.cob" />
27 </mime-type>
28
29 <mime-type type="image/x-dxf">
30 <comment xml:lang="en">DXF 3D model</comment>
31 <comment xml:lang="de">DXF-3D-Modell</comment>
32 <glob pattern="*.dxf" />
33 </mime-type>
34
35 <mime-type type="image/x-iob">
36 <comment xml:lang="en">IOB 3D model</comment>
37 <glob pattern="*.iob" />
38 </mime-type>
39
40 <mime-type type="image/x-vdrift">
41 <comment xml:lang="en">VDrift 3D model</comment>
42 <glob pattern="*.joe" />
43 <glob pattern="*.car" />
44 </mime-type>
45
46 <mime-type type="image/x-lcd">
47 <comment xml:lang="en">LCD 3D model</comment>
48 <glob pattern="*.lcd" />
49 </mime-type>
50
51 <mime-type type="image/x-lwo">
52 <comment xml:lang="en">LWO 3D model</comment>
53 <glob pattern="*.lw" />
54 <glob pattern="*.lwb" />
55 <glob pattern="*.lwo" />
56 </mime-type>
57
58 <mime-type type="image/x-md2">
59 <comment xml:lang="en">Quake 2 model</comment>
60 <glob pattern="*.md2" />
61 </mime-type>
62
63 <mime-type type="image/x-md3">
64 <comment xml:lang="en">Quake 3 model</comment>
65 <glob pattern="*.md3" />
66 <glob pattern="*.mdc" />
67 </mime-type>
68
69 <mime-type type="image/x-nff">
70 <comment xml:lang="en">Neutral File Format model</comment>
71 <glob pattern="*.nff" />
72 </mime-type>
73
74 <mime-type type="image/x-obj">
75 <comment xml:lang="en">OBJ 3D model</comment>
76 <glob pattern="*.obj" />
77 </mime-type>
78
79 <mime-type type="image/x-q3d">
80 <comment xml:lang="en">Quick3D model</comment>
81 <glob pattern="*.q3o" />
82 <glob pattern="*.q3s" />
83 </mime-type>
84
85 <mime-type type="image/x-vrml">
86 <comment xml:lang="en">VRML scene</comment>
87 <glob pattern="*.vrml" />
88 <glob pattern="*.wrl" />
89 </mime-type>
90
91</mime-info>
diff --git a/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh
new file mode 100755
index 0000000..9ef6c24
--- /dev/null
+++ b/src/others/mimesh/g3dviewer-0.2.99.4/thumbnailer/gen_schema.sh
@@ -0,0 +1,81 @@
1#!/bin/sh
2
3# $Id: gen_schema.sh 59 2006-11-06 09:49:56Z mmmaddd $
4
5# G3DViewer - 3D object viewer
6#
7# Copyright (C) 2005, 2006 Markus Dahms <mad@automagically.de>
8#
9# This program is free software; you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or
12# (at your option) any later version.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
23schemafile=g3d-thumbnailer.schema
24
25> $schemafile
26
27add_schema () {
28cat >> $schemafile <<EOD
29<schema>
30 <key>/schemas/desktop/gnome/thumbnailers/$1/enable</key>
31 <applyto>/desktop/gnome/thumbnailers/$1/enable</applyto>
32 <owner>g3dviewer</owner>
33 <type>bool</type>
34 <default>true</default>
35 <locale name="C">
36 <short>Enable thumbnailing of $2 models</short>
37 <long>Boolean options available, true enables thumbnailing and false disables the creation of new thumbnails</long>
38 </locale>
39</schema>
40
41<schema>
42 <key>/schemas/desktop/gnome/thumbnailers/$1/command</key>
43 <applyto>/desktop/gnome/thumbnailers/$1/command</applyto>
44 <owner>g3dviewer</owner>
45 <type>string</type>
46 <default>g3d-thumbnailer %i %o %s</default>
47 <locale name="C">
48 <short>Thumbnail command for $2 models</short>
49 <long>Valid command plus arguments for the $2 document thumbnailer. See nautilus thumbnailer documentation for more information.</long>
50 </locale>
51</schema>
52
53EOD
54}
55
56cat >> $schemafile <<EOD
57<gconfschemafile>
58 <schemalist>
59EOD
60
61add_schema "image@x-3dmf" "3DMF"
62add_schema "image@x-3ds" "3DS"
63add_schema "image@x-ac3d" "AC3D"
64add_schema "image@x-cob" "COB"
65add_schema "image@x-dxf" "DXF"
66add_schema "image@x-iob" "IOB"
67add_schema "image@x-vdrift" "VDrift"
68add_schema "image@x-lcd" "LCD"
69add_schema "image@x-lwo" "LWO"
70#add_schema "image@x-lws" "LWS"
71add_schema "image@x-md2" "MD2"
72add_schema "image@x-md3" "MD3"
73add_schema "image@x-nff" "NFF"
74add_schema "image@x-obj" "OBJ"
75add_schema "image@x-q3d" "Q3D"
76add_schema "image@x-vrml" "VRML"
77
78cat >> $schemafile <<EOD
79 </schemalist>
80</gconfschemafile>
81EOD