gource-0.47/ 0000755 0002031 0002031 00000000000 13154400165 012541 5 ustar andrewc andrewc gource-0.47/ChangeLog 0000644 0002031 0002031 00000025064 13154400163 014320 0 ustar andrewc andrewc 0.47:
* Fixed low mouse movement speed with some mice while repositioning camera.
0.46:
* Added --screen option.
0.45:
* Added --window-position XxY option.
* Added --frameless option.
* Added --file-show-filter REGEX option (swoogles).
* Added --filename-time and filename-colour options (gh2k).
* Improved handling of very low seconds-per-day values (malengrin).
* Fixed crash when SVN log lacks author information (obarthel).
* Additional git log command validation (cym13).
* Allow lower case hex colours in custom logs (HSorensen).
* Enabled STDOUT support with --output-stream '-' on Windows (circulosmeos).
* Now requires SDL 2 to build (deprecated SDL 1.2 support removed).
0.44:
* Fixed crash when taking a screenshot with an odd resolution.
* Fixed type deduction compilation error with newer versions of GCC.
* Documentation improvements.
0.43:
* Updated boost autoconf macros to fix multi-arch detection.
0.42:
* Fixed bzr log command when no start date was specified (chrisf).
* Fixed hg log commit order when date range specified.
* Fixed hg log command line on Windows.
* Fixed parser bug in date range filtering code.
0.41:
* Multi-monitor support using SDL 2.0 when available.
* SDL 1.2 support is deprecated.
* Full screen mode now uses desktop resolution by default.
* Added --start-date, --stop-date 'YYYY-MM-DD hh:mm:ss' options.
* Added --dir-name-depth option.
* Changed --file-idle-time default value to 0.
* Changed screenshot format to PNG.
0.40:
* Added caption support.
* Improved command line interoperability on Windows.
* Fixed directory deletion short circuiting processing the rest of a commit.
* Fixed issue loading non-ascii user image filenames on windows.
* Ignore UTF-8 byte order mark at the start of lines in custom log files.
* Fix to boost macros for Macs and non-GNU systems (mistydemeo).
* Autotools improvements (flameeyes).
0.39:
* Fixed blurry non power of 2 logos.
* File colour changes now supported in custom logs (rmyorston).
* Fixed building against Boost 1.50 (svenstaro).
* Updated boost autoconf macros (flameeyes).
* Autogen script (matthiaskrgr).
0.38:
* New high quality sprites.
* Fullscreen toggle with alt + enter.
* Window is now resizable. -WIDTHxHEIGHT! creates a non-resizable window.
* Lowered minimum zoom distance.
* Use AM_CPPFLAGS in Makefile.am to allow passing custom CPPFLAGS.
* Don't add files that match the path of a known directory.
* Fixed divide by zero in text shader causing artifacts on some video cards.
* Recursively search for repository directory when log-format not specified
(thanks to Jörg Bachmann for original concept / prototype).
* New dependency on Boost Filesystem.
* Doubled the maximum zoom out distance.
* Allow negative timestamps before 1970 in custom log (artzub).
* Fix for UTF8-CPP checked.h compilation issue (vszakats).
* Fixed bug causing missing characters in text.
* Fixed --highlight-users option not using highlight-colour.
* highlight-colour default changed to white.
* Added --selection-colour option (applied to selected users and files).
* Added --dir-colour option (applied to directories).
0.37:
* Made SVN log GMT timestamp conversion fix portable.
0.36:
* Fixed SVN log GMT timestamp conversion.
* Fixed issue with sub-dirs of deleted dir not being removed in some cases.
0.35:
* Added long file extension truncation handling to file key (--key).
* Treat changes in Mercurial log files with the same time/user as one commit.
* Fixed handling of spaces in directory names with Mercurial.
* Fixed --font-colour option.
0.34:
* Now using VBOs and shaders for faster rendering when OpenGL 2.0 is available.
* Eliminated bloom colour banding artifacts (requires OpenGL 2.0).
* New font rendering library derived from FTGL (FTGL no longer required).
* Single pass font/shadow rendering (with lots of help from Chris Forbes).
* Added --no-vsync option.
* Fixed bug where tree is out of alignment with object positions in windowed
mode due to using the wrong display dimensions internally.
* Removed default max-files limit.
0.33:
* Added --hide root option to not draw branches from the root directory.
* Fixed log parsing of Bazaar merges and tagged commits.
* --output-custom-log now skips unparsed log entries instead of exiting.
0.32:
* Fixed behaviour of user camera tracking.
0.31:
* Added --with-tinyxml option to configure (use the system TinyXML library).
0.30:
* Fixed crash when SVN log entry contains no 'paths' element.
* Handle directory deletion (happens in SVN logs).
0.29:
* SVN built-in support.
* cvs2cl log support (cvs-exp support is now deprecated).
* Made camera behaviour when zooming and selecting objects more intuitive.
* Improved interactive performance.
* Added file extension key (--key or toggled with 'K').
* Added mouse-over tool tips.
* Added --highlight-colour option.
* Added --hash-seed option. The S key now randomizes colours.
* Added --output-custom-log option.
* Exposed --time-scale option (previously only available interactively).
* Removed arbitrary 1024 maximum length limit for log lines.
* Fixed two file colouring bugs (quoted files from git, period in file path).
* Fix handling of avatars for UTF-8 usernames on MACOSX (Christian Köstlin).
* Recover from video mode failing to set due to multi-sampling (Siddhesh Poyarekar).
0.28:
* Bazaar support for merged commits (Nick Moffit).
* C++ efficiency improvements (Oliver Smith).
* Improved cvs-exp log compatibility.
* Re-show name of user when adding a new action if user is idle.
* Added --padding option to control camera view padding.
* More accurate camera tracking (tracks the bounding boxes of objects).
* Improved automatic rotation logic.
0.27:
* Display time stops at the time of the last commit.
* Users fade out when end reached rather than ending abruptly.
* Position slider is now hidden by default if recording a video.
* Automatic camera rotation for better use of screen space.
* Support international keyboards (Peter Kjellerstedt).
* C++ efficiency improvements (Jacob Metcalfe).
* Fixed crash when reading from STDIN.
* Fixed intermittent crash closing Gource when using --output-ppm-stream.
* Added ini style config file support (see --load/save-config).
* Added screenshot button (F12). Screenshots respect the alpha channel.
* Added --transparent to make the background see-through (for screenshots).
* Added --logo and --background-image options.
* Added --dont-stop option for manual exiting when recording videos.
* Added --stop-at-time option to stop Gource after a number of seconds.
* Added --hide 'mouse' option.
* Added --highlight-dirs option.
* Added --file-extensions to show filename extensions only.
* Added --user-filter REGEX option.
* Allow --file-idle-time 0 (files will never expire).
* Allow --start-position 'random' to set a random start position.
* --log-command VCS replaces multiple --log-command-VCS options.
* Replaced --disable-progress and --disable-bloom with arguments to --hide.
0.26a:
* Updated to latest version of GL autoconf macros.
0.26:
* Improved mouse dragging.
* Holding right mouse button and moving the mouse rotates the view.
* The middle mouse button now toggles the camera mode.
* Username positions now scale correctly.
* Simulation time no longer incremented while paused, counting towards file time lag.
* M key now toggles mouse visibility.
* Added --hide option to use instead of multiple --hide-ELEMENT options.
0.25:
* Bazaar support (John Arbash Meinel).
* Dragging the mouse on the background moves the camera.
* Added --camera-mode option (track,overview).
* Support DOS line endings in logs.
* Improved compatibility of hg log command (Brendan Cully).
* Fixed PPM exporter producing blank images on some video cards.
* Fixed parsing of negative timezones from cvs-exp.pl logs.
* Fixed various gdb and compiler warnings.
0.24:
* PPM output speed improvements, including using a second thread (HighlandSun).
* Now using standard autotools (Flameeyes).
* Fixed --max-file-lag not working with some custom log files.
* Gource will stop at the end of the log by default when recording a video.
* Fixed STDIN stopping working after the first lot of records with tail -f.
* Added proper exception handling.
* Print errors to stderr.
0.23:
* Hiding filenames no longer hides directory names.
* Fixed --stop-on-idle option.
* Added --stop-at-end option (more intuitive than --stop-position 1.0).
0.22:
* Fixed Mercurial log order.
0.21b:
* Fixed windows build.
0.21:
* Some documentation fixes.
0.20:
* Added bloom effect (turn off with --disable-bloom).
* Added support for Mercurial (thanks to Justin Love for gource.style).
* --start-position option now works in combination with --disable-progress.
0.19:
* Use time_t instead of long for timestamps.
0.18:
* Fixed camera movement while the simulation is paused.
0.17:
* Show correct month for CVS logs.
* Added time scaling (Bitshifter).
0.16:
* Added --hide-dirnames option.
* Added --user-scale option.
* Added --date-format option (Pat Notz).
* Fix bug when encountering long log lines.
* Fixed incorrect parsing of trivial merges.
* Fixed building issues on OSX.
0.15:
* Added PPM output support for creating videos (Johannes Schindelin).
* Added experimental Apache combined access log support (--log-format apache).
* Added --stop-position and --stop-on-idle options (useful for making videos).
* Added --max-file-lag option to limit how long after a commit file changes can take to appear.
* Added --no-renames to the git log command as they don't display correctly.
* Added --max-user-speed and --user-friction as options.
* Now builds on OSX Leopard (with the required libaries installed).
* Caught raw exception from replace_invalid().
* Added CXXFLAGS. You may want to override the default (eg CXXFLAGS=-O3 ./configure).
0.14:
* Updated SVN instructions.
0.13:
* Removed single quotes from log command (fixes running gource --git-log-command in back ticks)
* Added SVN instructions.
* Fixed manpage hyphens.
0.12:
* Added --enable-ttf-font-dir=DIR option to configure (to specify the ttf-freefont directory).
* UTF-8 support using UTF8-CPP (http://utfcpp.sourceforge.net/).
* Changed the git log command (see --git-log-command) to require less work to parse.
Log files generated with the previous git-log command used by gource should continue to work.
* Allow --seconds-per-day value less than 1.0.
* Added --git-branch command.
* Added --loop command.
* Added --crop command.
0.11:
* Made N key skip to next entry.
* Documented --user-image-dir flag.
* temp file name now uses uid instead of time
0.1:
* First release.
gource-0.47/gource.pro 0000644 0002031 0002031 00000006216 13154400154 014552 0 ustar andrewc andrewc # Note: this project file currently only implements building on Windows with Mingw-w64
# See the INSTALL file for building instructions
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
DEFINES -= UNICODE
CONFIG += c++11
CONFIG += object_parallel_to_source
gcc {
QMAKE_CXXFLAGS_WARN_ON = -Wall -Wno-unused-variable -Wno-sign-compare -Wno-unused-parameter -Wno-reorder
QMAKE_CXXFLAGS_DEBUG += -DASSERTS_ENABLED
}
mingw {
QMAKE_CXXFLAGS += -Dmain=SDL_main
QMAKE_LFLAGS += -mconsole
INCLUDEPATH += C:\msys64\mingw64\include\SDL2
INCLUDEPATH += C:\msys64\mingw64\include\freetype2
LIBS += -lmingw32 -lSDL2main -lSDL2.dll
LIBS += -lSDL2_image.dll -lfreetype.dll -lpcre.dll -lpng.dll -lglew32.dll -lboost_system-mt -lboost_filesystem-mt -lopengl32 -lglu32
LIBS += -static-libgcc -static-libstdc++
LIBS += -lcomdlg32
}
VPATH += ./src
SOURCES += \
action.cpp \
bloom.cpp \
caption.cpp \
dirnode.cpp \
file.cpp \
gource.cpp \
gource_settings.cpp \
gource_shell.cpp \
key.cpp \
logmill.cpp \
main.cpp \
pawn.cpp \
slider.cpp \
spline.cpp \
textbox.cpp \
user.cpp \
zoomcamera.cpp \
formats/apache.cpp \
formats/bzr.cpp \
formats/commitlog.cpp \
formats/custom.cpp \
formats/cvs-exp.cpp \
formats/cvs2cl.cpp \
formats/git.cpp \
formats/gitraw.cpp \
formats/hg.cpp \
formats/svn.cpp \
tinyxml/tinystr.cpp \
tinyxml/tinyxml.cpp \
tinyxml/tinyxmlerror.cpp \
tinyxml/tinyxmlparser.cpp \
core/conffile.cpp \
core/display.cpp \
core/frustum.cpp \
core/fxfont.cpp \
core/logger.cpp \
core/mousecursor.cpp \
core/plane.cpp \
core/png_writer.cpp \
core/ppm.cpp \
core/quadtree.cpp \
core/regex.cpp \
core/resource.cpp \
core/sdlapp.cpp \
core/seeklog.cpp \
core/settings.cpp \
core/shader.cpp \
core/shader_common.cpp \
core/stringhash.cpp \
core/texture.cpp \
core/tga.cpp \
core/timer.cpp \
core/timezone.cpp \
core/vbo.cpp \
core/vectors.cpp
HEADERS += \
action.h \
bloom.h \
caption.h \
dirnode.h \
file.h \
gource.h \
gource_settings.h \
gource_shell.h \
key.h \
logmill.h \
main.h \
pawn.h \
slider.h \
spline.h \
textbox.h \
user.h \
zoomcamera.h \
formats/apache.h \
formats/bzr.h \
formats/commitlog.h \
formats/custom.h \
formats/cvs-exp.h \
formats/cvs2cl.h \
formats/git.h \
formats/gitraw.h \
formats/hg.h \
formats/svn.h \
tinyxml/tinystr.h \
tinyxml/tinyxml.h \
core/bounds.h \
core/conffile.h \
core/display.h \
core/frustum.h \
core/fxfont.h \
core/gl.h \
core/logger.h \
core/mousecursor.h \
core/pi.h \
core/plane.h \
core/png_writer.h \
core/ppm.h \
core/quadtree.h \
core/regex.h \
core/resource.h \
core/sdlapp.h \
core/seeklog.h \
core/settings.h \
core/shader.h \
core/shader_common.h \
core/stringhash.h \
core/texture.h \
core/tga.h \
core/timer.h \
core/timezone.h \
core/vbo.h \
core/vectors.h
gource-0.47/COPYING 0000644 0002031 0002031 00000104513 13154400154 013576 0 ustar andrewc andrewc GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
gource-0.47/Makefile.in 0000644 0002031 0002031 00000457134 13154400163 014622 0 ustar andrewc andrewc # Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2017 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.
@SET_MAKE@
VPATH = @srcdir@
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
false; \
fi; \
}
am__make_running_with_option = \
case $${target_option-} in \
?) ;; \
*) echo "am__make_running_with_option: internal error: invalid" \
"target option '$${target_option-}' specified" >&2; \
exit 1;; \
esac; \
has_opt=no; \
sane_makeflags=$$MAKEFLAGS; \
if $(am__is_gnu_make); then \
sane_makeflags=$$MFLAGS; \
else \
case $$MAKEFLAGS in \
*\\[\ \ ]*) \
bs=\\; \
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
esac; \
fi; \
skip_next=no; \
strip_trailopt () \
{ \
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
}; \
for flg in $$sane_makeflags; do \
test $$skip_next = yes && { skip_next=no; continue; }; \
case $$flg in \
*=*|--*) continue;; \
-*I) strip_trailopt 'I'; skip_next=yes;; \
-*I?*) strip_trailopt 'I';; \
-*O) strip_trailopt 'O'; skip_next=yes;; \
-*O?*) strip_trailopt 'O';; \
-*l) strip_trailopt 'l'; skip_next=yes;; \
-*l?*) strip_trailopt 'l';; \
-[dEDm]) skip_next=yes;; \
-[JT]) skip_next=yes;; \
esac; \
case $$flg in \
*$$target_option*) has_opt=yes; break;; \
esac; \
done; \
test $$has_opt = yes
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = gource$(EXEEXT)
@USE_BUNDLED_TINYXML_TRUE@am__append_1 = \
@USE_BUNDLED_TINYXML_TRUE@ src/tinyxml/tinyxmlerror.cpp \
@USE_BUNDLED_TINYXML_TRUE@ src/tinyxml/tinystr.cpp \
@USE_BUNDLED_TINYXML_TRUE@ src/tinyxml/tinyxml.cpp \
@USE_BUNDLED_TINYXML_TRUE@ src/tinyxml/tinyxmlparser.cpp
@FONTDIR_TRUE@am__append_2 = -DSDLAPP_FONT_DIR=\"$(gourcefontdir)\"
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_boost_base.m4 \
$(top_srcdir)/m4/ax_boost_filesystem.m4 \
$(top_srcdir)/m4/ax_boost_system.m4 \
$(top_srcdir)/m4/ax_check_gl.m4 \
$(top_srcdir)/m4/ax_check_glu.m4 \
$(top_srcdir)/m4/ax_lang_compiler_ms.m4 \
$(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/pkg.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
$(am__configure_deps) $(am__dist_fonts_DATA_DIST) \
$(dist_pkgdata_DATA) $(dist_shaders_DATA) $(am__DIST_COMMON)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
configure.lineno config.status.lineno
mkinstalldirs = $(install_sh) -d
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(fontsdir)" \
"$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(shadersdir)"
PROGRAMS = $(bin_PROGRAMS)
am__gource_SOURCES_DIST = src/action.cpp src/bloom.cpp src/caption.cpp \
src/core/conffile.cpp src/core/display.cpp \
src/core/frustum.cpp src/core/fxfont.cpp src/core/logger.cpp \
src/core/mousecursor.cpp src/core/plane.cpp src/core/ppm.cpp \
src/core/quadtree.cpp src/core/regex.cpp src/core/resource.cpp \
src/core/sdlapp.cpp src/core/seeklog.cpp src/core/settings.cpp \
src/core/shader.cpp src/core/shader_common.cpp \
src/core/stringhash.cpp src/core/texture.cpp \
src/core/png_writer.cpp src/core/timezone.cpp src/core/vbo.cpp \
src/core/vectors.cpp src/dirnode.cpp src/file.cpp \
src/formats/apache.cpp src/formats/bzr.cpp \
src/formats/commitlog.cpp src/formats/custom.cpp \
src/formats/cvs-exp.cpp src/formats/cvs2cl.cpp \
src/formats/git.cpp src/formats/gitraw.cpp src/formats/hg.cpp \
src/formats/svn.cpp src/gource.cpp src/gource_shell.cpp \
src/gource_settings.cpp src/key.cpp src/logmill.cpp \
src/main.cpp src/pawn.cpp src/slider.cpp src/spline.cpp \
src/textbox.cpp src/user.cpp src/zoomcamera.cpp \
src/tinyxml/tinyxmlerror.cpp src/tinyxml/tinystr.cpp \
src/tinyxml/tinyxml.cpp src/tinyxml/tinyxmlparser.cpp
am__dirstamp = $(am__leading_dot)dirstamp
@USE_BUNDLED_TINYXML_TRUE@am__objects_1 = src/tinyxml/gource-tinyxmlerror.$(OBJEXT) \
@USE_BUNDLED_TINYXML_TRUE@ src/tinyxml/gource-tinystr.$(OBJEXT) \
@USE_BUNDLED_TINYXML_TRUE@ src/tinyxml/gource-tinyxml.$(OBJEXT) \
@USE_BUNDLED_TINYXML_TRUE@ src/tinyxml/gource-tinyxmlparser.$(OBJEXT)
am_gource_OBJECTS = src/gource-action.$(OBJEXT) \
src/gource-bloom.$(OBJEXT) src/gource-caption.$(OBJEXT) \
src/core/gource-conffile.$(OBJEXT) \
src/core/gource-display.$(OBJEXT) \
src/core/gource-frustum.$(OBJEXT) \
src/core/gource-fxfont.$(OBJEXT) \
src/core/gource-logger.$(OBJEXT) \
src/core/gource-mousecursor.$(OBJEXT) \
src/core/gource-plane.$(OBJEXT) src/core/gource-ppm.$(OBJEXT) \
src/core/gource-quadtree.$(OBJEXT) \
src/core/gource-regex.$(OBJEXT) \
src/core/gource-resource.$(OBJEXT) \
src/core/gource-sdlapp.$(OBJEXT) \
src/core/gource-seeklog.$(OBJEXT) \
src/core/gource-settings.$(OBJEXT) \
src/core/gource-shader.$(OBJEXT) \
src/core/gource-shader_common.$(OBJEXT) \
src/core/gource-stringhash.$(OBJEXT) \
src/core/gource-texture.$(OBJEXT) \
src/core/gource-png_writer.$(OBJEXT) \
src/core/gource-timezone.$(OBJEXT) \
src/core/gource-vbo.$(OBJEXT) \
src/core/gource-vectors.$(OBJEXT) src/gource-dirnode.$(OBJEXT) \
src/gource-file.$(OBJEXT) src/formats/gource-apache.$(OBJEXT) \
src/formats/gource-bzr.$(OBJEXT) \
src/formats/gource-commitlog.$(OBJEXT) \
src/formats/gource-custom.$(OBJEXT) \
src/formats/gource-cvs-exp.$(OBJEXT) \
src/formats/gource-cvs2cl.$(OBJEXT) \
src/formats/gource-git.$(OBJEXT) \
src/formats/gource-gitraw.$(OBJEXT) \
src/formats/gource-hg.$(OBJEXT) \
src/formats/gource-svn.$(OBJEXT) src/gource-gource.$(OBJEXT) \
src/gource-gource_shell.$(OBJEXT) \
src/gource-gource_settings.$(OBJEXT) src/gource-key.$(OBJEXT) \
src/gource-logmill.$(OBJEXT) src/gource-main.$(OBJEXT) \
src/gource-pawn.$(OBJEXT) src/gource-slider.$(OBJEXT) \
src/gource-spline.$(OBJEXT) src/gource-textbox.$(OBJEXT) \
src/gource-user.$(OBJEXT) src/gource-zoomcamera.$(OBJEXT) \
$(am__objects_1)
gource_OBJECTS = $(am_gource_OBJECTS)
gource_LDADD = $(LDADD)
gource_LINK = $(CXXLD) $(gource_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
am__v_P_1 = :
AM_V_GEN = $(am__v_GEN_@AM_V@)
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
am__v_GEN_0 = @echo " GEN " $@;
am__v_GEN_1 =
AM_V_at = $(am__v_at_@AM_V@)
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
AM_V_lt = $(am__v_lt_@AM_V@)
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
am__v_lt_0 = --silent
am__v_lt_1 =
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
AM_V_CXX = $(am__v_CXX_@AM_V@)
am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
am__v_CXX_0 = @echo " CXX " $@;
am__v_CXX_1 =
CXXLD = $(CXX)
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
-o $@
AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
am__v_CXXLD_0 = @echo " CXXLD " $@;
am__v_CXXLD_1 =
SOURCES = $(gource_SOURCES)
DIST_SOURCES = $(am__gource_SOURCES_DIST)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
am__dist_fonts_DATA_DIST = data/fonts/README data/fonts/FreeSans.ttf
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir = { \
test -z "$$files" \
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
DATA = $(dist_fonts_DATA) $(dist_pkgdata_DATA) $(dist_shaders_DATA)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
# Read a list of newline-separated strings from the standard input,
# and print each of them once, without duplicates. Input order is
# *not* preserved.
am__uniquify_input = $(AWK) '\
BEGIN { nonempty = 0; } \
{ items[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in items) print i; }; } \
'
# Make sure the list of sources is unique. This is necessary because,
# e.g., the same source file might be shared among _SOURCES variables
# for different programs/libraries.
am__define_uniq_tagged_files = \
list='$(am__tagged_files)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
AM_RECURSIVE_TARGETS = cscope
am__DIST_COMMON = $(srcdir)/Makefile.in \
$(top_srcdir)/build-aux/compile \
$(top_srcdir)/build-aux/config.guess \
$(top_srcdir)/build-aux/config.sub \
$(top_srcdir)/build-aux/depcomp \
$(top_srcdir)/build-aux/install-sh \
$(top_srcdir)/build-aux/missing COPYING ChangeLog INSTALL \
README THANKS build-aux/compile build-aux/config.guess \
build-aux/config.sub build-aux/depcomp build-aux/install-sh \
build-aux/missing
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
&& rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
GZIP_ENV = --best
DIST_TARGETS = dist-bzip2 dist-gzip
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
BOOST_FILESYSTEM_LIB = @BOOST_FILESYSTEM_LIB@
BOOST_LDFLAGS = @BOOST_LDFLAGS@
BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
FT2_CFLAGS = @FT2_CFLAGS@
FT2_LIBS = @FT2_LIBS@
GLEW_CFLAGS = @GLEW_CFLAGS@
GLEW_LIBS = @GLEW_LIBS@
GLU_CFLAGS = @GLU_CFLAGS@
GLU_LIBS = @GLU_LIBS@
GL_CFLAGS = @GL_CFLAGS@
GL_LIBS = @GL_LIBS@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
MKDIR_P = @MKDIR_P@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PCRE_CFLAGS = @PCRE_CFLAGS@
PCRE_LIBS = @PCRE_LIBS@
PKG_CONFIG = @PKG_CONFIG@
PNG_CFLAGS = @PNG_CFLAGS@
PNG_LIBS = @PNG_LIBS@
PTHREAD_CC = @PTHREAD_CC@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@
SDL2_CFLAGS = @SDL2_CFLAGS@
SDL2_LIBS = @SDL2_LIBS@
SED = @SED@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
VERSION = @VERSION@
XMKMF = @XMKMF@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
ax_pthread_config = @ax_pthread_config@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
gourcefontdir = @gourcefontdir@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
runstatedir = @runstatedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I m4
gource_CXXFLAGS = -std=gnu++0x -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-but-set-variable -Wno-unused-variable
gource_SOURCES = src/action.cpp src/bloom.cpp src/caption.cpp \
src/core/conffile.cpp src/core/display.cpp \
src/core/frustum.cpp src/core/fxfont.cpp src/core/logger.cpp \
src/core/mousecursor.cpp src/core/plane.cpp src/core/ppm.cpp \
src/core/quadtree.cpp src/core/regex.cpp src/core/resource.cpp \
src/core/sdlapp.cpp src/core/seeklog.cpp src/core/settings.cpp \
src/core/shader.cpp src/core/shader_common.cpp \
src/core/stringhash.cpp src/core/texture.cpp \
src/core/png_writer.cpp src/core/timezone.cpp src/core/vbo.cpp \
src/core/vectors.cpp src/dirnode.cpp src/file.cpp \
src/formats/apache.cpp src/formats/bzr.cpp \
src/formats/commitlog.cpp src/formats/custom.cpp \
src/formats/cvs-exp.cpp src/formats/cvs2cl.cpp \
src/formats/git.cpp src/formats/gitraw.cpp src/formats/hg.cpp \
src/formats/svn.cpp src/gource.cpp src/gource_shell.cpp \
src/gource_settings.cpp src/key.cpp src/logmill.cpp \
src/main.cpp src/pawn.cpp src/slider.cpp src/spline.cpp \
src/textbox.cpp src/user.cpp src/zoomcamera.cpp \
$(am__append_1)
AM_CPPFLAGS = -DSDLAPP_RESOURCE_DIR=\"$(pkgdatadir)\" $(am__append_2)
dist_pkgdata_DATA = data/beam.png data/bloom.tga data/bloom_alpha.tga data/file.png data/user.png data/gource.style
shadersdir = $(pkgdatadir)/shaders
dist_shaders_DATA = data/shaders/shadow.vert data/shaders/shadow.frag data/shaders/bloom.vert data/shaders/bloom.frag data/shaders/text.vert data/shaders/text.frag
@FONTDIR_FALSE@fontsdir = $(pkgdatadir)/fonts
@FONTDIR_FALSE@dist_fonts_DATA = data/fonts/README data/fonts/FreeSans.ttf
all: all-am
.SUFFIXES:
.SUFFIXES: .cpp .o .obj
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
$(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
echo ' $(SHELL) ./config.status'; \
$(SHELL) ./config.status;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck
$(top_srcdir)/configure: $(am__configure_deps)
$(am__cd) $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fi; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p \
; then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' \
-e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' \
`; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
clean-binPROGRAMS:
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
src/$(am__dirstamp):
@$(MKDIR_P) src
@: > src/$(am__dirstamp)
src/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) src/$(DEPDIR)
@: > src/$(DEPDIR)/$(am__dirstamp)
src/gource-action.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-bloom.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-caption.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/core/$(am__dirstamp):
@$(MKDIR_P) src/core
@: > src/core/$(am__dirstamp)
src/core/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) src/core/$(DEPDIR)
@: > src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-conffile.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-display.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-frustum.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-fxfont.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-logger.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-mousecursor.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-plane.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-ppm.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-quadtree.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-regex.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-resource.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-sdlapp.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-seeklog.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-settings.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-shader.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-shader_common.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-stringhash.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-texture.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-png_writer.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-timezone.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-vbo.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/core/gource-vectors.$(OBJEXT): src/core/$(am__dirstamp) \
src/core/$(DEPDIR)/$(am__dirstamp)
src/gource-dirnode.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-file.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/formats/$(am__dirstamp):
@$(MKDIR_P) src/formats
@: > src/formats/$(am__dirstamp)
src/formats/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) src/formats/$(DEPDIR)
@: > src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-apache.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-bzr.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-commitlog.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-custom.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-cvs-exp.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-cvs2cl.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-git.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-gitraw.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-hg.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/formats/gource-svn.$(OBJEXT): src/formats/$(am__dirstamp) \
src/formats/$(DEPDIR)/$(am__dirstamp)
src/gource-gource.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-gource_shell.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-gource_settings.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-key.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-logmill.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-main.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-pawn.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-slider.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-spline.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-textbox.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-user.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/gource-zoomcamera.$(OBJEXT): src/$(am__dirstamp) \
src/$(DEPDIR)/$(am__dirstamp)
src/tinyxml/$(am__dirstamp):
@$(MKDIR_P) src/tinyxml
@: > src/tinyxml/$(am__dirstamp)
src/tinyxml/$(DEPDIR)/$(am__dirstamp):
@$(MKDIR_P) src/tinyxml/$(DEPDIR)
@: > src/tinyxml/$(DEPDIR)/$(am__dirstamp)
src/tinyxml/gource-tinyxmlerror.$(OBJEXT): \
src/tinyxml/$(am__dirstamp) \
src/tinyxml/$(DEPDIR)/$(am__dirstamp)
src/tinyxml/gource-tinystr.$(OBJEXT): src/tinyxml/$(am__dirstamp) \
src/tinyxml/$(DEPDIR)/$(am__dirstamp)
src/tinyxml/gource-tinyxml.$(OBJEXT): src/tinyxml/$(am__dirstamp) \
src/tinyxml/$(DEPDIR)/$(am__dirstamp)
src/tinyxml/gource-tinyxmlparser.$(OBJEXT): \
src/tinyxml/$(am__dirstamp) \
src/tinyxml/$(DEPDIR)/$(am__dirstamp)
gource$(EXEEXT): $(gource_OBJECTS) $(gource_DEPENDENCIES) $(EXTRA_gource_DEPENDENCIES)
@rm -f gource$(EXEEXT)
$(AM_V_CXXLD)$(gource_LINK) $(gource_OBJECTS) $(gource_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
-rm -f src/*.$(OBJEXT)
-rm -f src/core/*.$(OBJEXT)
-rm -f src/formats/*.$(OBJEXT)
-rm -f src/tinyxml/*.$(OBJEXT)
distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-action.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-bloom.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-caption.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-dirnode.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-file.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-gource.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-gource_settings.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-gource_shell.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-key.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-logmill.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-main.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-pawn.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-slider.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-spline.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-textbox.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-user.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/gource-zoomcamera.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-conffile.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-display.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-frustum.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-fxfont.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-logger.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-mousecursor.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-plane.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-png_writer.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-ppm.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-quadtree.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-regex.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-resource.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-sdlapp.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-seeklog.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-settings.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-shader.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-shader_common.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-stringhash.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-texture.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-timezone.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-vbo.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/core/$(DEPDIR)/gource-vectors.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-apache.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-bzr.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-commitlog.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-custom.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-cvs-exp.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-cvs2cl.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-git.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-gitraw.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-hg.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/formats/$(DEPDIR)/gource-svn.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/tinyxml/$(DEPDIR)/gource-tinystr.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/tinyxml/$(DEPDIR)/gource-tinyxml.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/tinyxml/$(DEPDIR)/gource-tinyxmlerror.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/tinyxml/$(DEPDIR)/gource-tinyxmlparser.Po@am__quote@
.cpp.o:
@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
.cpp.obj:
@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
src/gource-action.o: src/action.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-action.o -MD -MP -MF src/$(DEPDIR)/gource-action.Tpo -c -o src/gource-action.o `test -f 'src/action.cpp' || echo '$(srcdir)/'`src/action.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-action.Tpo src/$(DEPDIR)/gource-action.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/action.cpp' object='src/gource-action.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-action.o `test -f 'src/action.cpp' || echo '$(srcdir)/'`src/action.cpp
src/gource-action.obj: src/action.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-action.obj -MD -MP -MF src/$(DEPDIR)/gource-action.Tpo -c -o src/gource-action.obj `if test -f 'src/action.cpp'; then $(CYGPATH_W) 'src/action.cpp'; else $(CYGPATH_W) '$(srcdir)/src/action.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-action.Tpo src/$(DEPDIR)/gource-action.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/action.cpp' object='src/gource-action.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-action.obj `if test -f 'src/action.cpp'; then $(CYGPATH_W) 'src/action.cpp'; else $(CYGPATH_W) '$(srcdir)/src/action.cpp'; fi`
src/gource-bloom.o: src/bloom.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-bloom.o -MD -MP -MF src/$(DEPDIR)/gource-bloom.Tpo -c -o src/gource-bloom.o `test -f 'src/bloom.cpp' || echo '$(srcdir)/'`src/bloom.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-bloom.Tpo src/$(DEPDIR)/gource-bloom.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/bloom.cpp' object='src/gource-bloom.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-bloom.o `test -f 'src/bloom.cpp' || echo '$(srcdir)/'`src/bloom.cpp
src/gource-bloom.obj: src/bloom.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-bloom.obj -MD -MP -MF src/$(DEPDIR)/gource-bloom.Tpo -c -o src/gource-bloom.obj `if test -f 'src/bloom.cpp'; then $(CYGPATH_W) 'src/bloom.cpp'; else $(CYGPATH_W) '$(srcdir)/src/bloom.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-bloom.Tpo src/$(DEPDIR)/gource-bloom.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/bloom.cpp' object='src/gource-bloom.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-bloom.obj `if test -f 'src/bloom.cpp'; then $(CYGPATH_W) 'src/bloom.cpp'; else $(CYGPATH_W) '$(srcdir)/src/bloom.cpp'; fi`
src/gource-caption.o: src/caption.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-caption.o -MD -MP -MF src/$(DEPDIR)/gource-caption.Tpo -c -o src/gource-caption.o `test -f 'src/caption.cpp' || echo '$(srcdir)/'`src/caption.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-caption.Tpo src/$(DEPDIR)/gource-caption.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/caption.cpp' object='src/gource-caption.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-caption.o `test -f 'src/caption.cpp' || echo '$(srcdir)/'`src/caption.cpp
src/gource-caption.obj: src/caption.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-caption.obj -MD -MP -MF src/$(DEPDIR)/gource-caption.Tpo -c -o src/gource-caption.obj `if test -f 'src/caption.cpp'; then $(CYGPATH_W) 'src/caption.cpp'; else $(CYGPATH_W) '$(srcdir)/src/caption.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-caption.Tpo src/$(DEPDIR)/gource-caption.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/caption.cpp' object='src/gource-caption.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-caption.obj `if test -f 'src/caption.cpp'; then $(CYGPATH_W) 'src/caption.cpp'; else $(CYGPATH_W) '$(srcdir)/src/caption.cpp'; fi`
src/core/gource-conffile.o: src/core/conffile.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-conffile.o -MD -MP -MF src/core/$(DEPDIR)/gource-conffile.Tpo -c -o src/core/gource-conffile.o `test -f 'src/core/conffile.cpp' || echo '$(srcdir)/'`src/core/conffile.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-conffile.Tpo src/core/$(DEPDIR)/gource-conffile.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/conffile.cpp' object='src/core/gource-conffile.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-conffile.o `test -f 'src/core/conffile.cpp' || echo '$(srcdir)/'`src/core/conffile.cpp
src/core/gource-conffile.obj: src/core/conffile.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-conffile.obj -MD -MP -MF src/core/$(DEPDIR)/gource-conffile.Tpo -c -o src/core/gource-conffile.obj `if test -f 'src/core/conffile.cpp'; then $(CYGPATH_W) 'src/core/conffile.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/conffile.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-conffile.Tpo src/core/$(DEPDIR)/gource-conffile.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/conffile.cpp' object='src/core/gource-conffile.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-conffile.obj `if test -f 'src/core/conffile.cpp'; then $(CYGPATH_W) 'src/core/conffile.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/conffile.cpp'; fi`
src/core/gource-display.o: src/core/display.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-display.o -MD -MP -MF src/core/$(DEPDIR)/gource-display.Tpo -c -o src/core/gource-display.o `test -f 'src/core/display.cpp' || echo '$(srcdir)/'`src/core/display.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-display.Tpo src/core/$(DEPDIR)/gource-display.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/display.cpp' object='src/core/gource-display.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-display.o `test -f 'src/core/display.cpp' || echo '$(srcdir)/'`src/core/display.cpp
src/core/gource-display.obj: src/core/display.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-display.obj -MD -MP -MF src/core/$(DEPDIR)/gource-display.Tpo -c -o src/core/gource-display.obj `if test -f 'src/core/display.cpp'; then $(CYGPATH_W) 'src/core/display.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/display.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-display.Tpo src/core/$(DEPDIR)/gource-display.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/display.cpp' object='src/core/gource-display.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-display.obj `if test -f 'src/core/display.cpp'; then $(CYGPATH_W) 'src/core/display.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/display.cpp'; fi`
src/core/gource-frustum.o: src/core/frustum.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-frustum.o -MD -MP -MF src/core/$(DEPDIR)/gource-frustum.Tpo -c -o src/core/gource-frustum.o `test -f 'src/core/frustum.cpp' || echo '$(srcdir)/'`src/core/frustum.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-frustum.Tpo src/core/$(DEPDIR)/gource-frustum.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/frustum.cpp' object='src/core/gource-frustum.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-frustum.o `test -f 'src/core/frustum.cpp' || echo '$(srcdir)/'`src/core/frustum.cpp
src/core/gource-frustum.obj: src/core/frustum.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-frustum.obj -MD -MP -MF src/core/$(DEPDIR)/gource-frustum.Tpo -c -o src/core/gource-frustum.obj `if test -f 'src/core/frustum.cpp'; then $(CYGPATH_W) 'src/core/frustum.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/frustum.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-frustum.Tpo src/core/$(DEPDIR)/gource-frustum.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/frustum.cpp' object='src/core/gource-frustum.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-frustum.obj `if test -f 'src/core/frustum.cpp'; then $(CYGPATH_W) 'src/core/frustum.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/frustum.cpp'; fi`
src/core/gource-fxfont.o: src/core/fxfont.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-fxfont.o -MD -MP -MF src/core/$(DEPDIR)/gource-fxfont.Tpo -c -o src/core/gource-fxfont.o `test -f 'src/core/fxfont.cpp' || echo '$(srcdir)/'`src/core/fxfont.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-fxfont.Tpo src/core/$(DEPDIR)/gource-fxfont.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/fxfont.cpp' object='src/core/gource-fxfont.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-fxfont.o `test -f 'src/core/fxfont.cpp' || echo '$(srcdir)/'`src/core/fxfont.cpp
src/core/gource-fxfont.obj: src/core/fxfont.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-fxfont.obj -MD -MP -MF src/core/$(DEPDIR)/gource-fxfont.Tpo -c -o src/core/gource-fxfont.obj `if test -f 'src/core/fxfont.cpp'; then $(CYGPATH_W) 'src/core/fxfont.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/fxfont.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-fxfont.Tpo src/core/$(DEPDIR)/gource-fxfont.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/fxfont.cpp' object='src/core/gource-fxfont.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-fxfont.obj `if test -f 'src/core/fxfont.cpp'; then $(CYGPATH_W) 'src/core/fxfont.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/fxfont.cpp'; fi`
src/core/gource-logger.o: src/core/logger.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-logger.o -MD -MP -MF src/core/$(DEPDIR)/gource-logger.Tpo -c -o src/core/gource-logger.o `test -f 'src/core/logger.cpp' || echo '$(srcdir)/'`src/core/logger.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-logger.Tpo src/core/$(DEPDIR)/gource-logger.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/logger.cpp' object='src/core/gource-logger.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-logger.o `test -f 'src/core/logger.cpp' || echo '$(srcdir)/'`src/core/logger.cpp
src/core/gource-logger.obj: src/core/logger.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-logger.obj -MD -MP -MF src/core/$(DEPDIR)/gource-logger.Tpo -c -o src/core/gource-logger.obj `if test -f 'src/core/logger.cpp'; then $(CYGPATH_W) 'src/core/logger.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/logger.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-logger.Tpo src/core/$(DEPDIR)/gource-logger.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/logger.cpp' object='src/core/gource-logger.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-logger.obj `if test -f 'src/core/logger.cpp'; then $(CYGPATH_W) 'src/core/logger.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/logger.cpp'; fi`
src/core/gource-mousecursor.o: src/core/mousecursor.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-mousecursor.o -MD -MP -MF src/core/$(DEPDIR)/gource-mousecursor.Tpo -c -o src/core/gource-mousecursor.o `test -f 'src/core/mousecursor.cpp' || echo '$(srcdir)/'`src/core/mousecursor.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-mousecursor.Tpo src/core/$(DEPDIR)/gource-mousecursor.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/mousecursor.cpp' object='src/core/gource-mousecursor.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-mousecursor.o `test -f 'src/core/mousecursor.cpp' || echo '$(srcdir)/'`src/core/mousecursor.cpp
src/core/gource-mousecursor.obj: src/core/mousecursor.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-mousecursor.obj -MD -MP -MF src/core/$(DEPDIR)/gource-mousecursor.Tpo -c -o src/core/gource-mousecursor.obj `if test -f 'src/core/mousecursor.cpp'; then $(CYGPATH_W) 'src/core/mousecursor.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/mousecursor.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-mousecursor.Tpo src/core/$(DEPDIR)/gource-mousecursor.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/mousecursor.cpp' object='src/core/gource-mousecursor.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-mousecursor.obj `if test -f 'src/core/mousecursor.cpp'; then $(CYGPATH_W) 'src/core/mousecursor.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/mousecursor.cpp'; fi`
src/core/gource-plane.o: src/core/plane.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-plane.o -MD -MP -MF src/core/$(DEPDIR)/gource-plane.Tpo -c -o src/core/gource-plane.o `test -f 'src/core/plane.cpp' || echo '$(srcdir)/'`src/core/plane.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-plane.Tpo src/core/$(DEPDIR)/gource-plane.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/plane.cpp' object='src/core/gource-plane.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-plane.o `test -f 'src/core/plane.cpp' || echo '$(srcdir)/'`src/core/plane.cpp
src/core/gource-plane.obj: src/core/plane.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-plane.obj -MD -MP -MF src/core/$(DEPDIR)/gource-plane.Tpo -c -o src/core/gource-plane.obj `if test -f 'src/core/plane.cpp'; then $(CYGPATH_W) 'src/core/plane.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/plane.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-plane.Tpo src/core/$(DEPDIR)/gource-plane.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/plane.cpp' object='src/core/gource-plane.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-plane.obj `if test -f 'src/core/plane.cpp'; then $(CYGPATH_W) 'src/core/plane.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/plane.cpp'; fi`
src/core/gource-ppm.o: src/core/ppm.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-ppm.o -MD -MP -MF src/core/$(DEPDIR)/gource-ppm.Tpo -c -o src/core/gource-ppm.o `test -f 'src/core/ppm.cpp' || echo '$(srcdir)/'`src/core/ppm.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-ppm.Tpo src/core/$(DEPDIR)/gource-ppm.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/ppm.cpp' object='src/core/gource-ppm.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-ppm.o `test -f 'src/core/ppm.cpp' || echo '$(srcdir)/'`src/core/ppm.cpp
src/core/gource-ppm.obj: src/core/ppm.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-ppm.obj -MD -MP -MF src/core/$(DEPDIR)/gource-ppm.Tpo -c -o src/core/gource-ppm.obj `if test -f 'src/core/ppm.cpp'; then $(CYGPATH_W) 'src/core/ppm.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/ppm.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-ppm.Tpo src/core/$(DEPDIR)/gource-ppm.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/ppm.cpp' object='src/core/gource-ppm.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-ppm.obj `if test -f 'src/core/ppm.cpp'; then $(CYGPATH_W) 'src/core/ppm.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/ppm.cpp'; fi`
src/core/gource-quadtree.o: src/core/quadtree.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-quadtree.o -MD -MP -MF src/core/$(DEPDIR)/gource-quadtree.Tpo -c -o src/core/gource-quadtree.o `test -f 'src/core/quadtree.cpp' || echo '$(srcdir)/'`src/core/quadtree.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-quadtree.Tpo src/core/$(DEPDIR)/gource-quadtree.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/quadtree.cpp' object='src/core/gource-quadtree.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-quadtree.o `test -f 'src/core/quadtree.cpp' || echo '$(srcdir)/'`src/core/quadtree.cpp
src/core/gource-quadtree.obj: src/core/quadtree.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-quadtree.obj -MD -MP -MF src/core/$(DEPDIR)/gource-quadtree.Tpo -c -o src/core/gource-quadtree.obj `if test -f 'src/core/quadtree.cpp'; then $(CYGPATH_W) 'src/core/quadtree.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/quadtree.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-quadtree.Tpo src/core/$(DEPDIR)/gource-quadtree.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/quadtree.cpp' object='src/core/gource-quadtree.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-quadtree.obj `if test -f 'src/core/quadtree.cpp'; then $(CYGPATH_W) 'src/core/quadtree.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/quadtree.cpp'; fi`
src/core/gource-regex.o: src/core/regex.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-regex.o -MD -MP -MF src/core/$(DEPDIR)/gource-regex.Tpo -c -o src/core/gource-regex.o `test -f 'src/core/regex.cpp' || echo '$(srcdir)/'`src/core/regex.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-regex.Tpo src/core/$(DEPDIR)/gource-regex.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/regex.cpp' object='src/core/gource-regex.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-regex.o `test -f 'src/core/regex.cpp' || echo '$(srcdir)/'`src/core/regex.cpp
src/core/gource-regex.obj: src/core/regex.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-regex.obj -MD -MP -MF src/core/$(DEPDIR)/gource-regex.Tpo -c -o src/core/gource-regex.obj `if test -f 'src/core/regex.cpp'; then $(CYGPATH_W) 'src/core/regex.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/regex.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-regex.Tpo src/core/$(DEPDIR)/gource-regex.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/regex.cpp' object='src/core/gource-regex.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-regex.obj `if test -f 'src/core/regex.cpp'; then $(CYGPATH_W) 'src/core/regex.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/regex.cpp'; fi`
src/core/gource-resource.o: src/core/resource.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-resource.o -MD -MP -MF src/core/$(DEPDIR)/gource-resource.Tpo -c -o src/core/gource-resource.o `test -f 'src/core/resource.cpp' || echo '$(srcdir)/'`src/core/resource.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-resource.Tpo src/core/$(DEPDIR)/gource-resource.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/resource.cpp' object='src/core/gource-resource.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-resource.o `test -f 'src/core/resource.cpp' || echo '$(srcdir)/'`src/core/resource.cpp
src/core/gource-resource.obj: src/core/resource.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-resource.obj -MD -MP -MF src/core/$(DEPDIR)/gource-resource.Tpo -c -o src/core/gource-resource.obj `if test -f 'src/core/resource.cpp'; then $(CYGPATH_W) 'src/core/resource.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/resource.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-resource.Tpo src/core/$(DEPDIR)/gource-resource.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/resource.cpp' object='src/core/gource-resource.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-resource.obj `if test -f 'src/core/resource.cpp'; then $(CYGPATH_W) 'src/core/resource.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/resource.cpp'; fi`
src/core/gource-sdlapp.o: src/core/sdlapp.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-sdlapp.o -MD -MP -MF src/core/$(DEPDIR)/gource-sdlapp.Tpo -c -o src/core/gource-sdlapp.o `test -f 'src/core/sdlapp.cpp' || echo '$(srcdir)/'`src/core/sdlapp.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-sdlapp.Tpo src/core/$(DEPDIR)/gource-sdlapp.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/sdlapp.cpp' object='src/core/gource-sdlapp.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-sdlapp.o `test -f 'src/core/sdlapp.cpp' || echo '$(srcdir)/'`src/core/sdlapp.cpp
src/core/gource-sdlapp.obj: src/core/sdlapp.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-sdlapp.obj -MD -MP -MF src/core/$(DEPDIR)/gource-sdlapp.Tpo -c -o src/core/gource-sdlapp.obj `if test -f 'src/core/sdlapp.cpp'; then $(CYGPATH_W) 'src/core/sdlapp.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/sdlapp.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-sdlapp.Tpo src/core/$(DEPDIR)/gource-sdlapp.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/sdlapp.cpp' object='src/core/gource-sdlapp.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-sdlapp.obj `if test -f 'src/core/sdlapp.cpp'; then $(CYGPATH_W) 'src/core/sdlapp.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/sdlapp.cpp'; fi`
src/core/gource-seeklog.o: src/core/seeklog.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-seeklog.o -MD -MP -MF src/core/$(DEPDIR)/gource-seeklog.Tpo -c -o src/core/gource-seeklog.o `test -f 'src/core/seeklog.cpp' || echo '$(srcdir)/'`src/core/seeklog.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-seeklog.Tpo src/core/$(DEPDIR)/gource-seeklog.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/seeklog.cpp' object='src/core/gource-seeklog.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-seeklog.o `test -f 'src/core/seeklog.cpp' || echo '$(srcdir)/'`src/core/seeklog.cpp
src/core/gource-seeklog.obj: src/core/seeklog.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-seeklog.obj -MD -MP -MF src/core/$(DEPDIR)/gource-seeklog.Tpo -c -o src/core/gource-seeklog.obj `if test -f 'src/core/seeklog.cpp'; then $(CYGPATH_W) 'src/core/seeklog.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/seeklog.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-seeklog.Tpo src/core/$(DEPDIR)/gource-seeklog.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/seeklog.cpp' object='src/core/gource-seeklog.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-seeklog.obj `if test -f 'src/core/seeklog.cpp'; then $(CYGPATH_W) 'src/core/seeklog.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/seeklog.cpp'; fi`
src/core/gource-settings.o: src/core/settings.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-settings.o -MD -MP -MF src/core/$(DEPDIR)/gource-settings.Tpo -c -o src/core/gource-settings.o `test -f 'src/core/settings.cpp' || echo '$(srcdir)/'`src/core/settings.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-settings.Tpo src/core/$(DEPDIR)/gource-settings.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/settings.cpp' object='src/core/gource-settings.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-settings.o `test -f 'src/core/settings.cpp' || echo '$(srcdir)/'`src/core/settings.cpp
src/core/gource-settings.obj: src/core/settings.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-settings.obj -MD -MP -MF src/core/$(DEPDIR)/gource-settings.Tpo -c -o src/core/gource-settings.obj `if test -f 'src/core/settings.cpp'; then $(CYGPATH_W) 'src/core/settings.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/settings.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-settings.Tpo src/core/$(DEPDIR)/gource-settings.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/settings.cpp' object='src/core/gource-settings.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-settings.obj `if test -f 'src/core/settings.cpp'; then $(CYGPATH_W) 'src/core/settings.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/settings.cpp'; fi`
src/core/gource-shader.o: src/core/shader.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-shader.o -MD -MP -MF src/core/$(DEPDIR)/gource-shader.Tpo -c -o src/core/gource-shader.o `test -f 'src/core/shader.cpp' || echo '$(srcdir)/'`src/core/shader.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-shader.Tpo src/core/$(DEPDIR)/gource-shader.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/shader.cpp' object='src/core/gource-shader.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-shader.o `test -f 'src/core/shader.cpp' || echo '$(srcdir)/'`src/core/shader.cpp
src/core/gource-shader.obj: src/core/shader.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-shader.obj -MD -MP -MF src/core/$(DEPDIR)/gource-shader.Tpo -c -o src/core/gource-shader.obj `if test -f 'src/core/shader.cpp'; then $(CYGPATH_W) 'src/core/shader.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/shader.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-shader.Tpo src/core/$(DEPDIR)/gource-shader.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/shader.cpp' object='src/core/gource-shader.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-shader.obj `if test -f 'src/core/shader.cpp'; then $(CYGPATH_W) 'src/core/shader.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/shader.cpp'; fi`
src/core/gource-shader_common.o: src/core/shader_common.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-shader_common.o -MD -MP -MF src/core/$(DEPDIR)/gource-shader_common.Tpo -c -o src/core/gource-shader_common.o `test -f 'src/core/shader_common.cpp' || echo '$(srcdir)/'`src/core/shader_common.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-shader_common.Tpo src/core/$(DEPDIR)/gource-shader_common.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/shader_common.cpp' object='src/core/gource-shader_common.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-shader_common.o `test -f 'src/core/shader_common.cpp' || echo '$(srcdir)/'`src/core/shader_common.cpp
src/core/gource-shader_common.obj: src/core/shader_common.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-shader_common.obj -MD -MP -MF src/core/$(DEPDIR)/gource-shader_common.Tpo -c -o src/core/gource-shader_common.obj `if test -f 'src/core/shader_common.cpp'; then $(CYGPATH_W) 'src/core/shader_common.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/shader_common.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-shader_common.Tpo src/core/$(DEPDIR)/gource-shader_common.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/shader_common.cpp' object='src/core/gource-shader_common.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-shader_common.obj `if test -f 'src/core/shader_common.cpp'; then $(CYGPATH_W) 'src/core/shader_common.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/shader_common.cpp'; fi`
src/core/gource-stringhash.o: src/core/stringhash.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-stringhash.o -MD -MP -MF src/core/$(DEPDIR)/gource-stringhash.Tpo -c -o src/core/gource-stringhash.o `test -f 'src/core/stringhash.cpp' || echo '$(srcdir)/'`src/core/stringhash.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-stringhash.Tpo src/core/$(DEPDIR)/gource-stringhash.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/stringhash.cpp' object='src/core/gource-stringhash.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-stringhash.o `test -f 'src/core/stringhash.cpp' || echo '$(srcdir)/'`src/core/stringhash.cpp
src/core/gource-stringhash.obj: src/core/stringhash.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-stringhash.obj -MD -MP -MF src/core/$(DEPDIR)/gource-stringhash.Tpo -c -o src/core/gource-stringhash.obj `if test -f 'src/core/stringhash.cpp'; then $(CYGPATH_W) 'src/core/stringhash.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/stringhash.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-stringhash.Tpo src/core/$(DEPDIR)/gource-stringhash.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/stringhash.cpp' object='src/core/gource-stringhash.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-stringhash.obj `if test -f 'src/core/stringhash.cpp'; then $(CYGPATH_W) 'src/core/stringhash.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/stringhash.cpp'; fi`
src/core/gource-texture.o: src/core/texture.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-texture.o -MD -MP -MF src/core/$(DEPDIR)/gource-texture.Tpo -c -o src/core/gource-texture.o `test -f 'src/core/texture.cpp' || echo '$(srcdir)/'`src/core/texture.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-texture.Tpo src/core/$(DEPDIR)/gource-texture.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/texture.cpp' object='src/core/gource-texture.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-texture.o `test -f 'src/core/texture.cpp' || echo '$(srcdir)/'`src/core/texture.cpp
src/core/gource-texture.obj: src/core/texture.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-texture.obj -MD -MP -MF src/core/$(DEPDIR)/gource-texture.Tpo -c -o src/core/gource-texture.obj `if test -f 'src/core/texture.cpp'; then $(CYGPATH_W) 'src/core/texture.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/texture.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-texture.Tpo src/core/$(DEPDIR)/gource-texture.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/texture.cpp' object='src/core/gource-texture.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-texture.obj `if test -f 'src/core/texture.cpp'; then $(CYGPATH_W) 'src/core/texture.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/texture.cpp'; fi`
src/core/gource-png_writer.o: src/core/png_writer.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-png_writer.o -MD -MP -MF src/core/$(DEPDIR)/gource-png_writer.Tpo -c -o src/core/gource-png_writer.o `test -f 'src/core/png_writer.cpp' || echo '$(srcdir)/'`src/core/png_writer.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-png_writer.Tpo src/core/$(DEPDIR)/gource-png_writer.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/png_writer.cpp' object='src/core/gource-png_writer.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-png_writer.o `test -f 'src/core/png_writer.cpp' || echo '$(srcdir)/'`src/core/png_writer.cpp
src/core/gource-png_writer.obj: src/core/png_writer.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-png_writer.obj -MD -MP -MF src/core/$(DEPDIR)/gource-png_writer.Tpo -c -o src/core/gource-png_writer.obj `if test -f 'src/core/png_writer.cpp'; then $(CYGPATH_W) 'src/core/png_writer.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/png_writer.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-png_writer.Tpo src/core/$(DEPDIR)/gource-png_writer.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/png_writer.cpp' object='src/core/gource-png_writer.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-png_writer.obj `if test -f 'src/core/png_writer.cpp'; then $(CYGPATH_W) 'src/core/png_writer.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/png_writer.cpp'; fi`
src/core/gource-timezone.o: src/core/timezone.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-timezone.o -MD -MP -MF src/core/$(DEPDIR)/gource-timezone.Tpo -c -o src/core/gource-timezone.o `test -f 'src/core/timezone.cpp' || echo '$(srcdir)/'`src/core/timezone.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-timezone.Tpo src/core/$(DEPDIR)/gource-timezone.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/timezone.cpp' object='src/core/gource-timezone.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-timezone.o `test -f 'src/core/timezone.cpp' || echo '$(srcdir)/'`src/core/timezone.cpp
src/core/gource-timezone.obj: src/core/timezone.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-timezone.obj -MD -MP -MF src/core/$(DEPDIR)/gource-timezone.Tpo -c -o src/core/gource-timezone.obj `if test -f 'src/core/timezone.cpp'; then $(CYGPATH_W) 'src/core/timezone.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/timezone.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-timezone.Tpo src/core/$(DEPDIR)/gource-timezone.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/timezone.cpp' object='src/core/gource-timezone.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-timezone.obj `if test -f 'src/core/timezone.cpp'; then $(CYGPATH_W) 'src/core/timezone.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/timezone.cpp'; fi`
src/core/gource-vbo.o: src/core/vbo.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-vbo.o -MD -MP -MF src/core/$(DEPDIR)/gource-vbo.Tpo -c -o src/core/gource-vbo.o `test -f 'src/core/vbo.cpp' || echo '$(srcdir)/'`src/core/vbo.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-vbo.Tpo src/core/$(DEPDIR)/gource-vbo.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/vbo.cpp' object='src/core/gource-vbo.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-vbo.o `test -f 'src/core/vbo.cpp' || echo '$(srcdir)/'`src/core/vbo.cpp
src/core/gource-vbo.obj: src/core/vbo.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-vbo.obj -MD -MP -MF src/core/$(DEPDIR)/gource-vbo.Tpo -c -o src/core/gource-vbo.obj `if test -f 'src/core/vbo.cpp'; then $(CYGPATH_W) 'src/core/vbo.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/vbo.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-vbo.Tpo src/core/$(DEPDIR)/gource-vbo.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/vbo.cpp' object='src/core/gource-vbo.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-vbo.obj `if test -f 'src/core/vbo.cpp'; then $(CYGPATH_W) 'src/core/vbo.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/vbo.cpp'; fi`
src/core/gource-vectors.o: src/core/vectors.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-vectors.o -MD -MP -MF src/core/$(DEPDIR)/gource-vectors.Tpo -c -o src/core/gource-vectors.o `test -f 'src/core/vectors.cpp' || echo '$(srcdir)/'`src/core/vectors.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-vectors.Tpo src/core/$(DEPDIR)/gource-vectors.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/vectors.cpp' object='src/core/gource-vectors.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-vectors.o `test -f 'src/core/vectors.cpp' || echo '$(srcdir)/'`src/core/vectors.cpp
src/core/gource-vectors.obj: src/core/vectors.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/core/gource-vectors.obj -MD -MP -MF src/core/$(DEPDIR)/gource-vectors.Tpo -c -o src/core/gource-vectors.obj `if test -f 'src/core/vectors.cpp'; then $(CYGPATH_W) 'src/core/vectors.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/vectors.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/core/$(DEPDIR)/gource-vectors.Tpo src/core/$(DEPDIR)/gource-vectors.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/core/vectors.cpp' object='src/core/gource-vectors.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/core/gource-vectors.obj `if test -f 'src/core/vectors.cpp'; then $(CYGPATH_W) 'src/core/vectors.cpp'; else $(CYGPATH_W) '$(srcdir)/src/core/vectors.cpp'; fi`
src/gource-dirnode.o: src/dirnode.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-dirnode.o -MD -MP -MF src/$(DEPDIR)/gource-dirnode.Tpo -c -o src/gource-dirnode.o `test -f 'src/dirnode.cpp' || echo '$(srcdir)/'`src/dirnode.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-dirnode.Tpo src/$(DEPDIR)/gource-dirnode.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/dirnode.cpp' object='src/gource-dirnode.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-dirnode.o `test -f 'src/dirnode.cpp' || echo '$(srcdir)/'`src/dirnode.cpp
src/gource-dirnode.obj: src/dirnode.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-dirnode.obj -MD -MP -MF src/$(DEPDIR)/gource-dirnode.Tpo -c -o src/gource-dirnode.obj `if test -f 'src/dirnode.cpp'; then $(CYGPATH_W) 'src/dirnode.cpp'; else $(CYGPATH_W) '$(srcdir)/src/dirnode.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-dirnode.Tpo src/$(DEPDIR)/gource-dirnode.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/dirnode.cpp' object='src/gource-dirnode.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-dirnode.obj `if test -f 'src/dirnode.cpp'; then $(CYGPATH_W) 'src/dirnode.cpp'; else $(CYGPATH_W) '$(srcdir)/src/dirnode.cpp'; fi`
src/gource-file.o: src/file.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-file.o -MD -MP -MF src/$(DEPDIR)/gource-file.Tpo -c -o src/gource-file.o `test -f 'src/file.cpp' || echo '$(srcdir)/'`src/file.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-file.Tpo src/$(DEPDIR)/gource-file.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/file.cpp' object='src/gource-file.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-file.o `test -f 'src/file.cpp' || echo '$(srcdir)/'`src/file.cpp
src/gource-file.obj: src/file.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-file.obj -MD -MP -MF src/$(DEPDIR)/gource-file.Tpo -c -o src/gource-file.obj `if test -f 'src/file.cpp'; then $(CYGPATH_W) 'src/file.cpp'; else $(CYGPATH_W) '$(srcdir)/src/file.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-file.Tpo src/$(DEPDIR)/gource-file.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/file.cpp' object='src/gource-file.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-file.obj `if test -f 'src/file.cpp'; then $(CYGPATH_W) 'src/file.cpp'; else $(CYGPATH_W) '$(srcdir)/src/file.cpp'; fi`
src/formats/gource-apache.o: src/formats/apache.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-apache.o -MD -MP -MF src/formats/$(DEPDIR)/gource-apache.Tpo -c -o src/formats/gource-apache.o `test -f 'src/formats/apache.cpp' || echo '$(srcdir)/'`src/formats/apache.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-apache.Tpo src/formats/$(DEPDIR)/gource-apache.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/apache.cpp' object='src/formats/gource-apache.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-apache.o `test -f 'src/formats/apache.cpp' || echo '$(srcdir)/'`src/formats/apache.cpp
src/formats/gource-apache.obj: src/formats/apache.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-apache.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-apache.Tpo -c -o src/formats/gource-apache.obj `if test -f 'src/formats/apache.cpp'; then $(CYGPATH_W) 'src/formats/apache.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/apache.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-apache.Tpo src/formats/$(DEPDIR)/gource-apache.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/apache.cpp' object='src/formats/gource-apache.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-apache.obj `if test -f 'src/formats/apache.cpp'; then $(CYGPATH_W) 'src/formats/apache.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/apache.cpp'; fi`
src/formats/gource-bzr.o: src/formats/bzr.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-bzr.o -MD -MP -MF src/formats/$(DEPDIR)/gource-bzr.Tpo -c -o src/formats/gource-bzr.o `test -f 'src/formats/bzr.cpp' || echo '$(srcdir)/'`src/formats/bzr.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-bzr.Tpo src/formats/$(DEPDIR)/gource-bzr.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/bzr.cpp' object='src/formats/gource-bzr.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-bzr.o `test -f 'src/formats/bzr.cpp' || echo '$(srcdir)/'`src/formats/bzr.cpp
src/formats/gource-bzr.obj: src/formats/bzr.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-bzr.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-bzr.Tpo -c -o src/formats/gource-bzr.obj `if test -f 'src/formats/bzr.cpp'; then $(CYGPATH_W) 'src/formats/bzr.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/bzr.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-bzr.Tpo src/formats/$(DEPDIR)/gource-bzr.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/bzr.cpp' object='src/formats/gource-bzr.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-bzr.obj `if test -f 'src/formats/bzr.cpp'; then $(CYGPATH_W) 'src/formats/bzr.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/bzr.cpp'; fi`
src/formats/gource-commitlog.o: src/formats/commitlog.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-commitlog.o -MD -MP -MF src/formats/$(DEPDIR)/gource-commitlog.Tpo -c -o src/formats/gource-commitlog.o `test -f 'src/formats/commitlog.cpp' || echo '$(srcdir)/'`src/formats/commitlog.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-commitlog.Tpo src/formats/$(DEPDIR)/gource-commitlog.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/commitlog.cpp' object='src/formats/gource-commitlog.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-commitlog.o `test -f 'src/formats/commitlog.cpp' || echo '$(srcdir)/'`src/formats/commitlog.cpp
src/formats/gource-commitlog.obj: src/formats/commitlog.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-commitlog.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-commitlog.Tpo -c -o src/formats/gource-commitlog.obj `if test -f 'src/formats/commitlog.cpp'; then $(CYGPATH_W) 'src/formats/commitlog.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/commitlog.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-commitlog.Tpo src/formats/$(DEPDIR)/gource-commitlog.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/commitlog.cpp' object='src/formats/gource-commitlog.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-commitlog.obj `if test -f 'src/formats/commitlog.cpp'; then $(CYGPATH_W) 'src/formats/commitlog.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/commitlog.cpp'; fi`
src/formats/gource-custom.o: src/formats/custom.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-custom.o -MD -MP -MF src/formats/$(DEPDIR)/gource-custom.Tpo -c -o src/formats/gource-custom.o `test -f 'src/formats/custom.cpp' || echo '$(srcdir)/'`src/formats/custom.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-custom.Tpo src/formats/$(DEPDIR)/gource-custom.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/custom.cpp' object='src/formats/gource-custom.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-custom.o `test -f 'src/formats/custom.cpp' || echo '$(srcdir)/'`src/formats/custom.cpp
src/formats/gource-custom.obj: src/formats/custom.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-custom.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-custom.Tpo -c -o src/formats/gource-custom.obj `if test -f 'src/formats/custom.cpp'; then $(CYGPATH_W) 'src/formats/custom.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/custom.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-custom.Tpo src/formats/$(DEPDIR)/gource-custom.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/custom.cpp' object='src/formats/gource-custom.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-custom.obj `if test -f 'src/formats/custom.cpp'; then $(CYGPATH_W) 'src/formats/custom.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/custom.cpp'; fi`
src/formats/gource-cvs-exp.o: src/formats/cvs-exp.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-cvs-exp.o -MD -MP -MF src/formats/$(DEPDIR)/gource-cvs-exp.Tpo -c -o src/formats/gource-cvs-exp.o `test -f 'src/formats/cvs-exp.cpp' || echo '$(srcdir)/'`src/formats/cvs-exp.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-cvs-exp.Tpo src/formats/$(DEPDIR)/gource-cvs-exp.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/cvs-exp.cpp' object='src/formats/gource-cvs-exp.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-cvs-exp.o `test -f 'src/formats/cvs-exp.cpp' || echo '$(srcdir)/'`src/formats/cvs-exp.cpp
src/formats/gource-cvs-exp.obj: src/formats/cvs-exp.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-cvs-exp.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-cvs-exp.Tpo -c -o src/formats/gource-cvs-exp.obj `if test -f 'src/formats/cvs-exp.cpp'; then $(CYGPATH_W) 'src/formats/cvs-exp.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/cvs-exp.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-cvs-exp.Tpo src/formats/$(DEPDIR)/gource-cvs-exp.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/cvs-exp.cpp' object='src/formats/gource-cvs-exp.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-cvs-exp.obj `if test -f 'src/formats/cvs-exp.cpp'; then $(CYGPATH_W) 'src/formats/cvs-exp.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/cvs-exp.cpp'; fi`
src/formats/gource-cvs2cl.o: src/formats/cvs2cl.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-cvs2cl.o -MD -MP -MF src/formats/$(DEPDIR)/gource-cvs2cl.Tpo -c -o src/formats/gource-cvs2cl.o `test -f 'src/formats/cvs2cl.cpp' || echo '$(srcdir)/'`src/formats/cvs2cl.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-cvs2cl.Tpo src/formats/$(DEPDIR)/gource-cvs2cl.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/cvs2cl.cpp' object='src/formats/gource-cvs2cl.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-cvs2cl.o `test -f 'src/formats/cvs2cl.cpp' || echo '$(srcdir)/'`src/formats/cvs2cl.cpp
src/formats/gource-cvs2cl.obj: src/formats/cvs2cl.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-cvs2cl.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-cvs2cl.Tpo -c -o src/formats/gource-cvs2cl.obj `if test -f 'src/formats/cvs2cl.cpp'; then $(CYGPATH_W) 'src/formats/cvs2cl.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/cvs2cl.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-cvs2cl.Tpo src/formats/$(DEPDIR)/gource-cvs2cl.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/cvs2cl.cpp' object='src/formats/gource-cvs2cl.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-cvs2cl.obj `if test -f 'src/formats/cvs2cl.cpp'; then $(CYGPATH_W) 'src/formats/cvs2cl.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/cvs2cl.cpp'; fi`
src/formats/gource-git.o: src/formats/git.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-git.o -MD -MP -MF src/formats/$(DEPDIR)/gource-git.Tpo -c -o src/formats/gource-git.o `test -f 'src/formats/git.cpp' || echo '$(srcdir)/'`src/formats/git.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-git.Tpo src/formats/$(DEPDIR)/gource-git.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/git.cpp' object='src/formats/gource-git.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-git.o `test -f 'src/formats/git.cpp' || echo '$(srcdir)/'`src/formats/git.cpp
src/formats/gource-git.obj: src/formats/git.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-git.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-git.Tpo -c -o src/formats/gource-git.obj `if test -f 'src/formats/git.cpp'; then $(CYGPATH_W) 'src/formats/git.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/git.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-git.Tpo src/formats/$(DEPDIR)/gource-git.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/git.cpp' object='src/formats/gource-git.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-git.obj `if test -f 'src/formats/git.cpp'; then $(CYGPATH_W) 'src/formats/git.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/git.cpp'; fi`
src/formats/gource-gitraw.o: src/formats/gitraw.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-gitraw.o -MD -MP -MF src/formats/$(DEPDIR)/gource-gitraw.Tpo -c -o src/formats/gource-gitraw.o `test -f 'src/formats/gitraw.cpp' || echo '$(srcdir)/'`src/formats/gitraw.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-gitraw.Tpo src/formats/$(DEPDIR)/gource-gitraw.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/gitraw.cpp' object='src/formats/gource-gitraw.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-gitraw.o `test -f 'src/formats/gitraw.cpp' || echo '$(srcdir)/'`src/formats/gitraw.cpp
src/formats/gource-gitraw.obj: src/formats/gitraw.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-gitraw.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-gitraw.Tpo -c -o src/formats/gource-gitraw.obj `if test -f 'src/formats/gitraw.cpp'; then $(CYGPATH_W) 'src/formats/gitraw.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/gitraw.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-gitraw.Tpo src/formats/$(DEPDIR)/gource-gitraw.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/gitraw.cpp' object='src/formats/gource-gitraw.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-gitraw.obj `if test -f 'src/formats/gitraw.cpp'; then $(CYGPATH_W) 'src/formats/gitraw.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/gitraw.cpp'; fi`
src/formats/gource-hg.o: src/formats/hg.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-hg.o -MD -MP -MF src/formats/$(DEPDIR)/gource-hg.Tpo -c -o src/formats/gource-hg.o `test -f 'src/formats/hg.cpp' || echo '$(srcdir)/'`src/formats/hg.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-hg.Tpo src/formats/$(DEPDIR)/gource-hg.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/hg.cpp' object='src/formats/gource-hg.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-hg.o `test -f 'src/formats/hg.cpp' || echo '$(srcdir)/'`src/formats/hg.cpp
src/formats/gource-hg.obj: src/formats/hg.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-hg.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-hg.Tpo -c -o src/formats/gource-hg.obj `if test -f 'src/formats/hg.cpp'; then $(CYGPATH_W) 'src/formats/hg.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/hg.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-hg.Tpo src/formats/$(DEPDIR)/gource-hg.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/hg.cpp' object='src/formats/gource-hg.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-hg.obj `if test -f 'src/formats/hg.cpp'; then $(CYGPATH_W) 'src/formats/hg.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/hg.cpp'; fi`
src/formats/gource-svn.o: src/formats/svn.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-svn.o -MD -MP -MF src/formats/$(DEPDIR)/gource-svn.Tpo -c -o src/formats/gource-svn.o `test -f 'src/formats/svn.cpp' || echo '$(srcdir)/'`src/formats/svn.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-svn.Tpo src/formats/$(DEPDIR)/gource-svn.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/svn.cpp' object='src/formats/gource-svn.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-svn.o `test -f 'src/formats/svn.cpp' || echo '$(srcdir)/'`src/formats/svn.cpp
src/formats/gource-svn.obj: src/formats/svn.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/formats/gource-svn.obj -MD -MP -MF src/formats/$(DEPDIR)/gource-svn.Tpo -c -o src/formats/gource-svn.obj `if test -f 'src/formats/svn.cpp'; then $(CYGPATH_W) 'src/formats/svn.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/svn.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/formats/$(DEPDIR)/gource-svn.Tpo src/formats/$(DEPDIR)/gource-svn.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/formats/svn.cpp' object='src/formats/gource-svn.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/formats/gource-svn.obj `if test -f 'src/formats/svn.cpp'; then $(CYGPATH_W) 'src/formats/svn.cpp'; else $(CYGPATH_W) '$(srcdir)/src/formats/svn.cpp'; fi`
src/gource-gource.o: src/gource.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-gource.o -MD -MP -MF src/$(DEPDIR)/gource-gource.Tpo -c -o src/gource-gource.o `test -f 'src/gource.cpp' || echo '$(srcdir)/'`src/gource.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-gource.Tpo src/$(DEPDIR)/gource-gource.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/gource.cpp' object='src/gource-gource.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-gource.o `test -f 'src/gource.cpp' || echo '$(srcdir)/'`src/gource.cpp
src/gource-gource.obj: src/gource.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-gource.obj -MD -MP -MF src/$(DEPDIR)/gource-gource.Tpo -c -o src/gource-gource.obj `if test -f 'src/gource.cpp'; then $(CYGPATH_W) 'src/gource.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gource.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-gource.Tpo src/$(DEPDIR)/gource-gource.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/gource.cpp' object='src/gource-gource.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-gource.obj `if test -f 'src/gource.cpp'; then $(CYGPATH_W) 'src/gource.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gource.cpp'; fi`
src/gource-gource_shell.o: src/gource_shell.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-gource_shell.o -MD -MP -MF src/$(DEPDIR)/gource-gource_shell.Tpo -c -o src/gource-gource_shell.o `test -f 'src/gource_shell.cpp' || echo '$(srcdir)/'`src/gource_shell.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-gource_shell.Tpo src/$(DEPDIR)/gource-gource_shell.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/gource_shell.cpp' object='src/gource-gource_shell.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-gource_shell.o `test -f 'src/gource_shell.cpp' || echo '$(srcdir)/'`src/gource_shell.cpp
src/gource-gource_shell.obj: src/gource_shell.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-gource_shell.obj -MD -MP -MF src/$(DEPDIR)/gource-gource_shell.Tpo -c -o src/gource-gource_shell.obj `if test -f 'src/gource_shell.cpp'; then $(CYGPATH_W) 'src/gource_shell.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gource_shell.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-gource_shell.Tpo src/$(DEPDIR)/gource-gource_shell.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/gource_shell.cpp' object='src/gource-gource_shell.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-gource_shell.obj `if test -f 'src/gource_shell.cpp'; then $(CYGPATH_W) 'src/gource_shell.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gource_shell.cpp'; fi`
src/gource-gource_settings.o: src/gource_settings.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-gource_settings.o -MD -MP -MF src/$(DEPDIR)/gource-gource_settings.Tpo -c -o src/gource-gource_settings.o `test -f 'src/gource_settings.cpp' || echo '$(srcdir)/'`src/gource_settings.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-gource_settings.Tpo src/$(DEPDIR)/gource-gource_settings.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/gource_settings.cpp' object='src/gource-gource_settings.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-gource_settings.o `test -f 'src/gource_settings.cpp' || echo '$(srcdir)/'`src/gource_settings.cpp
src/gource-gource_settings.obj: src/gource_settings.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-gource_settings.obj -MD -MP -MF src/$(DEPDIR)/gource-gource_settings.Tpo -c -o src/gource-gource_settings.obj `if test -f 'src/gource_settings.cpp'; then $(CYGPATH_W) 'src/gource_settings.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gource_settings.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-gource_settings.Tpo src/$(DEPDIR)/gource-gource_settings.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/gource_settings.cpp' object='src/gource-gource_settings.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-gource_settings.obj `if test -f 'src/gource_settings.cpp'; then $(CYGPATH_W) 'src/gource_settings.cpp'; else $(CYGPATH_W) '$(srcdir)/src/gource_settings.cpp'; fi`
src/gource-key.o: src/key.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-key.o -MD -MP -MF src/$(DEPDIR)/gource-key.Tpo -c -o src/gource-key.o `test -f 'src/key.cpp' || echo '$(srcdir)/'`src/key.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-key.Tpo src/$(DEPDIR)/gource-key.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/key.cpp' object='src/gource-key.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-key.o `test -f 'src/key.cpp' || echo '$(srcdir)/'`src/key.cpp
src/gource-key.obj: src/key.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-key.obj -MD -MP -MF src/$(DEPDIR)/gource-key.Tpo -c -o src/gource-key.obj `if test -f 'src/key.cpp'; then $(CYGPATH_W) 'src/key.cpp'; else $(CYGPATH_W) '$(srcdir)/src/key.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-key.Tpo src/$(DEPDIR)/gource-key.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/key.cpp' object='src/gource-key.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-key.obj `if test -f 'src/key.cpp'; then $(CYGPATH_W) 'src/key.cpp'; else $(CYGPATH_W) '$(srcdir)/src/key.cpp'; fi`
src/gource-logmill.o: src/logmill.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-logmill.o -MD -MP -MF src/$(DEPDIR)/gource-logmill.Tpo -c -o src/gource-logmill.o `test -f 'src/logmill.cpp' || echo '$(srcdir)/'`src/logmill.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-logmill.Tpo src/$(DEPDIR)/gource-logmill.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/logmill.cpp' object='src/gource-logmill.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-logmill.o `test -f 'src/logmill.cpp' || echo '$(srcdir)/'`src/logmill.cpp
src/gource-logmill.obj: src/logmill.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-logmill.obj -MD -MP -MF src/$(DEPDIR)/gource-logmill.Tpo -c -o src/gource-logmill.obj `if test -f 'src/logmill.cpp'; then $(CYGPATH_W) 'src/logmill.cpp'; else $(CYGPATH_W) '$(srcdir)/src/logmill.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-logmill.Tpo src/$(DEPDIR)/gource-logmill.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/logmill.cpp' object='src/gource-logmill.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-logmill.obj `if test -f 'src/logmill.cpp'; then $(CYGPATH_W) 'src/logmill.cpp'; else $(CYGPATH_W) '$(srcdir)/src/logmill.cpp'; fi`
src/gource-main.o: src/main.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-main.o -MD -MP -MF src/$(DEPDIR)/gource-main.Tpo -c -o src/gource-main.o `test -f 'src/main.cpp' || echo '$(srcdir)/'`src/main.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-main.Tpo src/$(DEPDIR)/gource-main.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/main.cpp' object='src/gource-main.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-main.o `test -f 'src/main.cpp' || echo '$(srcdir)/'`src/main.cpp
src/gource-main.obj: src/main.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-main.obj -MD -MP -MF src/$(DEPDIR)/gource-main.Tpo -c -o src/gource-main.obj `if test -f 'src/main.cpp'; then $(CYGPATH_W) 'src/main.cpp'; else $(CYGPATH_W) '$(srcdir)/src/main.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-main.Tpo src/$(DEPDIR)/gource-main.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/main.cpp' object='src/gource-main.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-main.obj `if test -f 'src/main.cpp'; then $(CYGPATH_W) 'src/main.cpp'; else $(CYGPATH_W) '$(srcdir)/src/main.cpp'; fi`
src/gource-pawn.o: src/pawn.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-pawn.o -MD -MP -MF src/$(DEPDIR)/gource-pawn.Tpo -c -o src/gource-pawn.o `test -f 'src/pawn.cpp' || echo '$(srcdir)/'`src/pawn.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-pawn.Tpo src/$(DEPDIR)/gource-pawn.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/pawn.cpp' object='src/gource-pawn.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-pawn.o `test -f 'src/pawn.cpp' || echo '$(srcdir)/'`src/pawn.cpp
src/gource-pawn.obj: src/pawn.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-pawn.obj -MD -MP -MF src/$(DEPDIR)/gource-pawn.Tpo -c -o src/gource-pawn.obj `if test -f 'src/pawn.cpp'; then $(CYGPATH_W) 'src/pawn.cpp'; else $(CYGPATH_W) '$(srcdir)/src/pawn.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-pawn.Tpo src/$(DEPDIR)/gource-pawn.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/pawn.cpp' object='src/gource-pawn.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-pawn.obj `if test -f 'src/pawn.cpp'; then $(CYGPATH_W) 'src/pawn.cpp'; else $(CYGPATH_W) '$(srcdir)/src/pawn.cpp'; fi`
src/gource-slider.o: src/slider.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-slider.o -MD -MP -MF src/$(DEPDIR)/gource-slider.Tpo -c -o src/gource-slider.o `test -f 'src/slider.cpp' || echo '$(srcdir)/'`src/slider.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-slider.Tpo src/$(DEPDIR)/gource-slider.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/slider.cpp' object='src/gource-slider.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-slider.o `test -f 'src/slider.cpp' || echo '$(srcdir)/'`src/slider.cpp
src/gource-slider.obj: src/slider.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-slider.obj -MD -MP -MF src/$(DEPDIR)/gource-slider.Tpo -c -o src/gource-slider.obj `if test -f 'src/slider.cpp'; then $(CYGPATH_W) 'src/slider.cpp'; else $(CYGPATH_W) '$(srcdir)/src/slider.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-slider.Tpo src/$(DEPDIR)/gource-slider.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/slider.cpp' object='src/gource-slider.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-slider.obj `if test -f 'src/slider.cpp'; then $(CYGPATH_W) 'src/slider.cpp'; else $(CYGPATH_W) '$(srcdir)/src/slider.cpp'; fi`
src/gource-spline.o: src/spline.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-spline.o -MD -MP -MF src/$(DEPDIR)/gource-spline.Tpo -c -o src/gource-spline.o `test -f 'src/spline.cpp' || echo '$(srcdir)/'`src/spline.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-spline.Tpo src/$(DEPDIR)/gource-spline.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/spline.cpp' object='src/gource-spline.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-spline.o `test -f 'src/spline.cpp' || echo '$(srcdir)/'`src/spline.cpp
src/gource-spline.obj: src/spline.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-spline.obj -MD -MP -MF src/$(DEPDIR)/gource-spline.Tpo -c -o src/gource-spline.obj `if test -f 'src/spline.cpp'; then $(CYGPATH_W) 'src/spline.cpp'; else $(CYGPATH_W) '$(srcdir)/src/spline.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-spline.Tpo src/$(DEPDIR)/gource-spline.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/spline.cpp' object='src/gource-spline.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-spline.obj `if test -f 'src/spline.cpp'; then $(CYGPATH_W) 'src/spline.cpp'; else $(CYGPATH_W) '$(srcdir)/src/spline.cpp'; fi`
src/gource-textbox.o: src/textbox.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-textbox.o -MD -MP -MF src/$(DEPDIR)/gource-textbox.Tpo -c -o src/gource-textbox.o `test -f 'src/textbox.cpp' || echo '$(srcdir)/'`src/textbox.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-textbox.Tpo src/$(DEPDIR)/gource-textbox.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/textbox.cpp' object='src/gource-textbox.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-textbox.o `test -f 'src/textbox.cpp' || echo '$(srcdir)/'`src/textbox.cpp
src/gource-textbox.obj: src/textbox.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-textbox.obj -MD -MP -MF src/$(DEPDIR)/gource-textbox.Tpo -c -o src/gource-textbox.obj `if test -f 'src/textbox.cpp'; then $(CYGPATH_W) 'src/textbox.cpp'; else $(CYGPATH_W) '$(srcdir)/src/textbox.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-textbox.Tpo src/$(DEPDIR)/gource-textbox.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/textbox.cpp' object='src/gource-textbox.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-textbox.obj `if test -f 'src/textbox.cpp'; then $(CYGPATH_W) 'src/textbox.cpp'; else $(CYGPATH_W) '$(srcdir)/src/textbox.cpp'; fi`
src/gource-user.o: src/user.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-user.o -MD -MP -MF src/$(DEPDIR)/gource-user.Tpo -c -o src/gource-user.o `test -f 'src/user.cpp' || echo '$(srcdir)/'`src/user.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-user.Tpo src/$(DEPDIR)/gource-user.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/user.cpp' object='src/gource-user.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-user.o `test -f 'src/user.cpp' || echo '$(srcdir)/'`src/user.cpp
src/gource-user.obj: src/user.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-user.obj -MD -MP -MF src/$(DEPDIR)/gource-user.Tpo -c -o src/gource-user.obj `if test -f 'src/user.cpp'; then $(CYGPATH_W) 'src/user.cpp'; else $(CYGPATH_W) '$(srcdir)/src/user.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-user.Tpo src/$(DEPDIR)/gource-user.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/user.cpp' object='src/gource-user.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-user.obj `if test -f 'src/user.cpp'; then $(CYGPATH_W) 'src/user.cpp'; else $(CYGPATH_W) '$(srcdir)/src/user.cpp'; fi`
src/gource-zoomcamera.o: src/zoomcamera.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-zoomcamera.o -MD -MP -MF src/$(DEPDIR)/gource-zoomcamera.Tpo -c -o src/gource-zoomcamera.o `test -f 'src/zoomcamera.cpp' || echo '$(srcdir)/'`src/zoomcamera.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-zoomcamera.Tpo src/$(DEPDIR)/gource-zoomcamera.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/zoomcamera.cpp' object='src/gource-zoomcamera.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-zoomcamera.o `test -f 'src/zoomcamera.cpp' || echo '$(srcdir)/'`src/zoomcamera.cpp
src/gource-zoomcamera.obj: src/zoomcamera.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/gource-zoomcamera.obj -MD -MP -MF src/$(DEPDIR)/gource-zoomcamera.Tpo -c -o src/gource-zoomcamera.obj `if test -f 'src/zoomcamera.cpp'; then $(CYGPATH_W) 'src/zoomcamera.cpp'; else $(CYGPATH_W) '$(srcdir)/src/zoomcamera.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/gource-zoomcamera.Tpo src/$(DEPDIR)/gource-zoomcamera.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/zoomcamera.cpp' object='src/gource-zoomcamera.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/gource-zoomcamera.obj `if test -f 'src/zoomcamera.cpp'; then $(CYGPATH_W) 'src/zoomcamera.cpp'; else $(CYGPATH_W) '$(srcdir)/src/zoomcamera.cpp'; fi`
src/tinyxml/gource-tinyxmlerror.o: src/tinyxml/tinyxmlerror.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinyxmlerror.o -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinyxmlerror.Tpo -c -o src/tinyxml/gource-tinyxmlerror.o `test -f 'src/tinyxml/tinyxmlerror.cpp' || echo '$(srcdir)/'`src/tinyxml/tinyxmlerror.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinyxmlerror.Tpo src/tinyxml/$(DEPDIR)/gource-tinyxmlerror.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinyxmlerror.cpp' object='src/tinyxml/gource-tinyxmlerror.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinyxmlerror.o `test -f 'src/tinyxml/tinyxmlerror.cpp' || echo '$(srcdir)/'`src/tinyxml/tinyxmlerror.cpp
src/tinyxml/gource-tinyxmlerror.obj: src/tinyxml/tinyxmlerror.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinyxmlerror.obj -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinyxmlerror.Tpo -c -o src/tinyxml/gource-tinyxmlerror.obj `if test -f 'src/tinyxml/tinyxmlerror.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinyxmlerror.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinyxmlerror.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinyxmlerror.Tpo src/tinyxml/$(DEPDIR)/gource-tinyxmlerror.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinyxmlerror.cpp' object='src/tinyxml/gource-tinyxmlerror.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinyxmlerror.obj `if test -f 'src/tinyxml/tinyxmlerror.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinyxmlerror.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinyxmlerror.cpp'; fi`
src/tinyxml/gource-tinystr.o: src/tinyxml/tinystr.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinystr.o -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinystr.Tpo -c -o src/tinyxml/gource-tinystr.o `test -f 'src/tinyxml/tinystr.cpp' || echo '$(srcdir)/'`src/tinyxml/tinystr.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinystr.Tpo src/tinyxml/$(DEPDIR)/gource-tinystr.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinystr.cpp' object='src/tinyxml/gource-tinystr.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinystr.o `test -f 'src/tinyxml/tinystr.cpp' || echo '$(srcdir)/'`src/tinyxml/tinystr.cpp
src/tinyxml/gource-tinystr.obj: src/tinyxml/tinystr.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinystr.obj -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinystr.Tpo -c -o src/tinyxml/gource-tinystr.obj `if test -f 'src/tinyxml/tinystr.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinystr.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinystr.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinystr.Tpo src/tinyxml/$(DEPDIR)/gource-tinystr.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinystr.cpp' object='src/tinyxml/gource-tinystr.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinystr.obj `if test -f 'src/tinyxml/tinystr.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinystr.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinystr.cpp'; fi`
src/tinyxml/gource-tinyxml.o: src/tinyxml/tinyxml.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinyxml.o -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinyxml.Tpo -c -o src/tinyxml/gource-tinyxml.o `test -f 'src/tinyxml/tinyxml.cpp' || echo '$(srcdir)/'`src/tinyxml/tinyxml.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinyxml.Tpo src/tinyxml/$(DEPDIR)/gource-tinyxml.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinyxml.cpp' object='src/tinyxml/gource-tinyxml.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinyxml.o `test -f 'src/tinyxml/tinyxml.cpp' || echo '$(srcdir)/'`src/tinyxml/tinyxml.cpp
src/tinyxml/gource-tinyxml.obj: src/tinyxml/tinyxml.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinyxml.obj -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinyxml.Tpo -c -o src/tinyxml/gource-tinyxml.obj `if test -f 'src/tinyxml/tinyxml.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinyxml.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinyxml.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinyxml.Tpo src/tinyxml/$(DEPDIR)/gource-tinyxml.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinyxml.cpp' object='src/tinyxml/gource-tinyxml.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinyxml.obj `if test -f 'src/tinyxml/tinyxml.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinyxml.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinyxml.cpp'; fi`
src/tinyxml/gource-tinyxmlparser.o: src/tinyxml/tinyxmlparser.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinyxmlparser.o -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinyxmlparser.Tpo -c -o src/tinyxml/gource-tinyxmlparser.o `test -f 'src/tinyxml/tinyxmlparser.cpp' || echo '$(srcdir)/'`src/tinyxml/tinyxmlparser.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinyxmlparser.Tpo src/tinyxml/$(DEPDIR)/gource-tinyxmlparser.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinyxmlparser.cpp' object='src/tinyxml/gource-tinyxmlparser.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinyxmlparser.o `test -f 'src/tinyxml/tinyxmlparser.cpp' || echo '$(srcdir)/'`src/tinyxml/tinyxmlparser.cpp
src/tinyxml/gource-tinyxmlparser.obj: src/tinyxml/tinyxmlparser.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -MT src/tinyxml/gource-tinyxmlparser.obj -MD -MP -MF src/tinyxml/$(DEPDIR)/gource-tinyxmlparser.Tpo -c -o src/tinyxml/gource-tinyxmlparser.obj `if test -f 'src/tinyxml/tinyxmlparser.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinyxmlparser.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinyxmlparser.cpp'; fi`
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/tinyxml/$(DEPDIR)/gource-tinyxmlparser.Tpo src/tinyxml/$(DEPDIR)/gource-tinyxmlparser.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/tinyxml/tinyxmlparser.cpp' object='src/tinyxml/gource-tinyxmlparser.obj' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gource_CXXFLAGS) $(CXXFLAGS) -c -o src/tinyxml/gource-tinyxmlparser.obj `if test -f 'src/tinyxml/tinyxmlparser.cpp'; then $(CYGPATH_W) 'src/tinyxml/tinyxmlparser.cpp'; else $(CYGPATH_W) '$(srcdir)/src/tinyxml/tinyxmlparser.cpp'; fi`
install-dist_fontsDATA: $(dist_fonts_DATA)
@$(NORMAL_INSTALL)
@list='$(dist_fonts_DATA)'; test -n "$(fontsdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(fontsdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(fontsdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(fontsdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(fontsdir)" || exit $$?; \
done
uninstall-dist_fontsDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_fonts_DATA)'; test -n "$(fontsdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(fontsdir)'; $(am__uninstall_files_from_dir)
install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
@$(NORMAL_INSTALL)
@list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
$(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \
done
uninstall-dist_pkgdataDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
install-dist_shadersDATA: $(dist_shaders_DATA)
@$(NORMAL_INSTALL)
@list='$(dist_shaders_DATA)'; test -n "$(shadersdir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(shadersdir)'"; \
$(MKDIR_P) "$(DESTDIR)$(shadersdir)" || exit 1; \
fi; \
for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; \
done | $(am__base_list) | \
while read files; do \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(shadersdir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(shadersdir)" || exit $$?; \
done
uninstall-dist_shadersDATA:
@$(NORMAL_UNINSTALL)
@list='$(dist_shaders_DATA)'; test -n "$(shadersdir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
dir='$(DESTDIR)$(shadersdir)'; $(am__uninstall_files_from_dir)
ID: $(am__tagged_files)
$(am__define_uniq_tagged_files); mkid -fID $$unique
tags: tags-am
TAGS: tags
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
$(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: ctags-am
CTAGS: ctags
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
$(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
clean-cscope:
-rm -f cscope.files
cscope.files: clean-cscope cscopelist
cscopelist: cscopelist-am
cscopelist-am: $(am__tagged_files)
list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
esac; \
for i in $$list; do \
if test -f "$$i"; then \
echo "$(subdir)/$$i"; \
else \
echo "$$sdir/$$i"; \
fi; \
done >> $(top_builddir)/cscope.files
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
distdir: $(DISTFILES)
$(am__remove_distdir)
test -d "$(distdir)" || mkdir "$(distdir)"
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
-test -n "$(am__skip_mode_fix)" \
|| find "$(distdir)" -type d ! -perm -755 \
-exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__post_remove_distdir)
dist-lzip: distdir
tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
$(am__post_remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__post_remove_distdir)
dist-tarZ: distdir
@echo WARNING: "Support for distribution archives compressed with" \
"legacy program 'compress' is deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
$(am__post_remove_distdir)
dist-shar: distdir
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
-rm -f $(distdir).zip
zip -rq $(distdir).zip $(distdir)
$(am__post_remove_distdir)
dist dist-all:
$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
$(am__post_remove_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
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
*.tar.xz*) \
xz -dc $(distdir).tar.xz | $(am__untar) ;;\
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
chmod -R a-w $(distdir)
chmod u+w $(distdir)
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
chmod a-w $(distdir)
test -d $(distdir)/_build || exit 0; \
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
&& am__cwd=`pwd` \
&& $(am__cd) $(distdir)/_build/sub \
&& ../../configure \
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
$(DISTCHECK_CONFIGURE_FLAGS) \
--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) uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
distuninstallcheck \
&& chmod -R a-w "$$dc_install_base" \
&& ({ \
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
} || { rm -rf "$$dc_destdir"; exit 1; }) \
&& rm -rf "$$dc_destdir" \
&& $(MAKE) $(AM_MAKEFLAGS) dist \
&& rm -rf $(DIST_ARCHIVES) \
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
&& cd "$$am__cwd" \
|| exit 1
$(am__post_remove_distdir)
@(echo "$(distdir) archives ready for distribution: "; \
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
distuninstallcheck:
@test -n '$(distuninstallcheck_dir)' || { \
echo 'ERROR: trying to run $@ with an empty' \
'$$(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
$(am__cd) '$(distuninstallcheck_dir)' || { \
echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
exit 1; \
}; \
test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left after uninstall:" ; \
if test -n "$(DESTDIR)"; then \
echo " (check DESTDIR support)"; \
fi ; \
$(distuninstallcheck_listfiles) ; \
exit 1; } >&2
distcleancheck: distclean
@if test '$(srcdir)' = . ; then \
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
exit 1 ; \
fi
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|| { echo "ERROR: files left in build directory after distclean:" ; \
$(distcleancheck_listfiles) ; \
exit 1; } >&2
check-am: all-am
check: check-am
all-am: Makefile $(PROGRAMS) $(DATA)
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(fontsdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(shadersdir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
if test -z '$(STRIP)'; then \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
install; \
else \
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
-rm -f src/$(DEPDIR)/$(am__dirstamp)
-rm -f src/$(am__dirstamp)
-rm -f src/core/$(DEPDIR)/$(am__dirstamp)
-rm -f src/core/$(am__dirstamp)
-rm -f src/formats/$(DEPDIR)/$(am__dirstamp)
-rm -f src/formats/$(am__dirstamp)
-rm -f src/tinyxml/$(DEPDIR)/$(am__dirstamp)
-rm -f src/tinyxml/$(am__dirstamp)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
distclean: distclean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf src/$(DEPDIR) src/core/$(DEPDIR) src/formats/$(DEPDIR) src/tinyxml/$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-dist_fontsDATA install-dist_pkgdataDATA \
install-dist_shadersDATA
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am: install-binPROGRAMS
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am:
maintainer-clean: maintainer-clean-am
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
-rm -rf src/$(DEPDIR) src/core/$(DEPDIR) src/formats/$(DEPDIR) src/tinyxml/$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS uninstall-dist_fontsDATA \
uninstall-dist_pkgdataDATA uninstall-dist_shadersDATA
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
.MAKE: install-am install-data-am install-strip uninstall-am
.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
clean-binPROGRAMS clean-cscope clean-generic cscope \
cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
distcheck distclean distclean-compile distclean-generic \
distclean-tags distcleancheck distdir distuninstallcheck dvi \
dvi-am html html-am info info-am install install-am \
install-binPROGRAMS install-data install-data-am \
install-data-hook install-dist_fontsDATA \
install-dist_pkgdataDATA install-dist_shadersDATA install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \
uninstall-dist_fontsDATA uninstall-dist_pkgdataDATA \
uninstall-dist_shadersDATA uninstall-hook
.PRECIOUS: Makefile
install-data-hook:
$(MKDIR_P) $(DESTDIR)$(mandir)/man1
gzip -cf9 $(srcdir)/data/gource.1 > $(DESTDIR)$(mandir)/man1/gource.1.gz
uninstall-hook:
rm -f $(DESTDIR)$(mandir)/man1/gource.1.gz
# 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:
gource-0.47/configure.ac 0000644 0002031 0002031 00000004637 13154400154 015037 0 ustar andrewc andrewc # -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
AC_INIT(Gource, 0.47, [acaudwell@gmail.com])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/main.h])
AM_INIT_AUTOMAKE([dist-bzip2 foreign subdir-objects])
AC_CANONICAL_HOST
# Checks for programs.
AC_PROG_CXX
AC_LANG(C++)
AC_CHECK_FUNCS([timegm unsetenv])
#Disable X11 on Macs unless required
AS_IF([test "$with_x" != yes], [
case "$host_os" in
darwin*)
with_x="no"
LIBS="$LIBS -framework CoreFoundation"
;;
esac
], [])
#GL
AX_CHECK_GL
AX_CHECK_GLU
CXXFLAGS="$CXXFLAGS $GL_CFLAGS $GLU_CFLAGS"
CPPFLAGS="$CPPFLAGS $GL_CFLAGS $GLU_CFLAGS"
LIBS="$LIBS $GL_LIBS $GLU_LIBS"
PKG_CHECK_MODULES([FT2], [freetype2 >= 9.0.3])
PKG_CHECK_MODULES([PCRE], [libpcre])
PKG_CHECK_MODULES([GLEW], [glew])
PKG_CHECK_MODULES([SDL2], [sdl2 SDL2_image]);
PKG_CHECK_MODULES([PNG], [libpng >= 1.2])
CPPFLAGS="${CPPFLAGS} ${FT2_CFLAGS} ${PCRE_CFLAGS} ${GLEW_CFLAGS} ${SDL2_CFLAGS} ${PNG_CFLAGS}"
LIBS="${LIBS} ${FT2_LIBS} ${PCRE_LIBS} ${GLEW_LIBS} ${SDL2_LIBS} ${PNG_LIBS}"
AC_CHECK_FUNCS([IMG_LoadPNG_RW], , AC_MSG_ERROR([SDL2_image with PNG support required. Please see INSTALL]))
AC_CHECK_FUNCS([IMG_LoadJPG_RW], , AC_MSG_ERROR([SDL2_image with JPEG support required. Please see INSTALL]))
#BOOST
AX_BOOST_BASE([1.46], , AC_MSG_ERROR(Boost Filesystem >= 1.46 is required. Please see INSTALL))
AX_BOOST_SYSTEM
AX_BOOST_FILESYSTEM
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
LIBS="$LIBS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB"
#GLM
AC_CHECK_HEADER([glm/glm.hpp],, AC_MSG_ERROR(GLM headers are required. Please see INSTALL))
#see if ttf-font-dir option is enabled
AC_ARG_ENABLE(ttf-font-dir,[AS_HELP_STRING([--enable-ttf-font-dir=DIR],[directory containing GNU FreeFont TTF fonts])],[gourcefontdir="$enableval"],[gourcefontdir=""])
AM_CONDITIONAL([FONTDIR], [test "x$gourcefontdir" != "x"])
AC_SUBST(gourcefontdir)
#see if building against system TinyXML library
use_tinyxml_system_library=no
AC_ARG_WITH(tinyxml, AC_HELP_STRING([--with-tinyxml], [Use system installed TinyXML library]), use_tinyxml_system_library=$withval)
if test "x$use_tinyxml_system_library" = "xyes"; then
AC_HAVE_LIBRARY(tinyxml,, AC_MSG_ERROR([TinyXML library was requested but not found]))
fi
AM_CONDITIONAL(USE_BUNDLED_TINYXML, test "x$use_tinyxml_system_library" != "xyes")
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
gource-0.47/README 0000644 0002031 0002031 00000030204 13154400154 013416 0 ustar andrewc andrewc
Gource
software version control visualization
Copyright (C) 2009 Andrew Caudwell
http://gource.io
Contents
========
1. Description
2. Requirements
3. Using Gource
4. Copyright
1. Description
==============
OpenGL-based 3D visualisation tool for source control repositories.
The repository is displayed as a tree where the root of the repository is the
centre, directories are branches and files are leaves. Contributors to the
source code appear and disappear as they contribute to specific files and
directories.
2. Requirements
===============
Gource's display is rendered using OpenGL and requires a 3D accelerated video
card to run.
3. Using Gource
===============
gource
options:
-h, --help
Help ('-H' for extended help).
-WIDTHxHEIGHT, --viewport WIDTHxHEIGHT
Set the viewport size. If -f is also supplied, will attempt to set
the video mode to this also. Add ! to make the window non-resizable.
--screen SCREEN
Set the number of the screen to display on.
--window-position XxY
Initial window position on your desktop which may be made up of
multiple monitors.
This will override the screen setting so don't specify both.
--frameless
Frameless window.
-f, --fullscreen
Fullscreen.
-w, --windowed
Windowed.
--transparent
Make the background transparent. Only really useful for screenshots.
--start-date 'YYYY-MM-DD hh:mm:ss +tz'
Start with the first entry after the supplied date and optional time.
If a time zone offset isn't specified the local time zone is used.
Example accepted formats:
"2012-06-30"
"2012-06-30 12:00"
"2012-06-30 12:00:00 +12"
--stop-date 'YYYY-MM-DD hh:mm:ss +tz'
Stop after the last entry prior to the supplied date and optional time.
Uses the same format as --start-date.
-p, --start-position POSITION
Begin at some position in the log (between 0.0 and 1.0 or 'random').
--stop-position POSITION
Stop (exit) at some position in the log (does not work with STDIN).
-t, --stop-at-time SECONDS
Stop (exit) after a specified number of seconds.
--stop-at-end
Stop (exit) at the end of the log / stream.
--loop
Loop back to the start of the log when the end is reached.
-a, --auto-skip-seconds SECONDS
Skip to next entry if nothing happens for a number of seconds.
-s, --seconds-per-day SECONDS
Speed of simulation in seconds per day.
--realtime
Realtime playback speed.
-c, --time-scale SCALE
Change simulation time scale.
-i, --file-idle-time SECONDS
Time in seconds files remain idle before they are removed or 0
for no limit.
-e, --elasticity FLOAT
Elasticity of nodes.
-b, --background-colour FFFFFF
Background colour in hex.
--background-image IMAGE
Set a background image.
--logo IMAGE
Logo to display in the foreground.
--logo-offset XxY
Offset position of the logo.
--title TITLE
Set a title.
--font-size SIZE
Font size used by the date and title.
--font-colour FFFFFF
Font colour used by the date and title in hex.
--key
Show file extension key.
--date-format FORMAT
Specify display date string (strftime format).
--log-command VCS
Show the VCS log command used by gource (git,svn,hg,bzr,cvs2cl).
--log-format VCS
Specify the log format (git,svn,hg,bzr,cvs2cl,custom).
Required when reading from STDIN.
--git-branch
Get the git log of a branch other than the current one.
--follow-user USER
Have the camera automatically follow a particular user.
--highlight-dirs
Highlight the names of all directories.
--highlight-user USER
Highlight the names of a particular user.
--highlight-users
Highlight the names of all users.
--highlight-colour FFFFFF
Font colour for highlighted users in hex.
--selection-colour FFFFFF
Font colour for selected users and files.
--filename-colour FFFFFF
Font colour for filenames.
--dir-colour FFFFFF
Font colour for directories.
--dir-name-depth DEPTH
Draw names of directories down to a specific depth in the tree.
--filename-time SECONDS
Duration to keep filenames on screen (>= 2.0).
--file-extensions
Show filename extensions only.
--file-filter REGEX
Filter out any files matching a specified regular expression.
--file-show-filter REGEX
Show only files matching this regular expression.
--user-filter REGEX
Filter out any users matching a specified regular expression.
--user-image-dir DIRECTORY
Directory containing .jpg or .png images of users
(eg 'Full Name.png') to use as avatars.
--default-user-image IMAGE
Path of .jpg or .png to use as the default user image.
--colour-images
Colourize user images.
--crop AXIS
Crop view on an axis (vertical,horizontal).
--padding FLOAT
Camera view padding.
--multi-sampling
Enable multi-sampling.
--no-vsync
Disable vsync.
--bloom-multiplier FLOAT
Adjust the amount of bloom.
--bloom-intensity FLOAT
Adjust the intensity of the bloom.
--max-files NUMBER
Set the maximum number of files or 0 for no limit.
Excess files will be discarded.
--max-file-lag SECONDS
Max time files of a commit can take to appear.
Use -1 for no limit.
--max-user-speed UNITS
Max speed users can travel per second.
--user-friction SECONDS
Time users take to come to a halt.
--user-scale SCALE
Change scale of user avatars.
--camera-mode MODE
Camera mode (overview,track).
--disable-auto-rotate
Disable automatic camera rotation.
--hide DISPLAY_ELEMENT
Hide one or more display elements from the list below:
bloom - bloom effect
date - current date
dirnames - names of directories
files - file icons
filenames - names of files
mouse - mouse cursor
progress - progress bar widget
root - root directory of tree
tree - animated tree structure
users - user avatars
usernames - names of users
Separate multiple elements with commas (eg 'mouse,progress')
--hash-seed SEED
Change the seed of hash function.
--caption-file FILE
Caption file (see Caption Log Format).
--caption-size SIZE
Caption size.
--caption-colour FFFFFF
Caption colour in hex.
--caption-duration SECONDS
Caption duration.
--caption-offset X
Caption horizontal offset (0 to centre captions).
-o, --output-ppm-stream FILE
Output a PPM image stream to a file ('-' for STDOUT).
This will automatically hide the progress bar initially and
enable 'stop-at-end' unless other behaviour is specified.
-r, --output-framerate FPS
Framerate of output (25,30,60). Used with --output-ppm-stream.
--output-custom-log FILE
Output a custom format log file ('-' for STDOUT).
--load-config CONFIG_FILE
Load a gource conf file.
--save-config CONFIG_FILE
Save a gource conf file with the current options.
--path PATH
path Either a supported version control directory, a pre-generated log
file (see log commands or the custom log format), a Gource conf
file or '-' to read STDIN.
If path is omitted, gource will attempt to read a log from the
current directory.
Git, Bazaar, Mercurial and SVN Examples:
View the log of the repository in the current path:
gource
View the log of a project in the specified directory:
gource my-project-dir
For large projects, generating a log of the project history may take a long
time. For centralized VCS like SVN, generating the log may also put load on
the central VCS server.
In these cases, you may like to save a copy of the log for later use.
You can generate a log in the VCS specific log format using
the --log-command VCS option:
cd my-svn-project
`gource --log-command svn` > my-svn-project.log
gource my-svn-project.log
You can also have Gource write a copy of the log file in its own format:
gource --output-custom-log my-project-custom.log
CVS Support:
Use 'cvs2cl' to generate the log and then pass it to Gource:
cvs2cl --chrono --stdout --xml -g-q > my-cvs-project.log
gource my-cvs-project.log
Custom Log Format:
If you want to use Gource with something other than the supported systems,
there is a pipe ('|') delimited custom log format:
timestamp - A unix timestamp of when the update occured.
username - The name of the user who made the update.
type - initial for the update type - (A)dded, (M)odified or (D)eleted.
file - Path of the file updated.
colour - A colour for the file in hex (FFFFFF) format. Optional.
Caption Log Format:
Gource can display captions along the timeline by specifying a caption file
(using --caption-file) in the pipe ('|') delimited format below:
timestamp - A unix timestamp of when to display the caption.
caption - The caption
Recording Videos:
See the guide on the homepage for examples of recording videos with Gource:
https://github.com/acaudwell/Gource/wiki/Videos
More Information:
Visit the Gource homepage for guides and examples of using Gource with various
version control systems:
http://gource.io
Interface:
The time shown in the top left of the screen is set initially from the first
log entry read and is incremented according to the simulation speed
(--seconds-per-day).
Pressing SPACE at any time will pause/resume the simulation. While paused you
may use the mouse to inspect the detail of individual files and users.
TAB cycles through selecting the current visible users.
The camera mode, either tracking activity or showing the entire code tree, can
be toggled using the Middle mouse button.
You can drag the left mouse button to manually control the camera. The right
mouse button rotates the view.
Interactive keyboard commands:
(V) Toggle camera mode
(C) Displays Gource logo
(K) Toggle file extension key
(M) Toggle mouse visibility
(N) Jump forward in time to next log entry
(S) Randomize colours
(D) Toggle directory name display mode
(F) Toggle file name display mode
(U) Toggle user name display mode
(G) Toggle display of users
(T) Toggle display of directory tree edges
(R) Toggle display of root directory edges
(+-) Adjust simulation speed
(<>) Adjust time scale
(TAB) Cycle through visible users
(F12) Screenshot
(Alt+Enter) Fullscreen toggle
(ESC) Quit
4. Copyright
============
Gource - software version control visualization
Copyright (C) 2009 Andrew Caudwell
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
gource-0.47/src/ 0000755 0002031 0002031 00000000000 13154400154 013326 5 ustar andrewc andrewc gource-0.47/src/key.h 0000644 0002031 0002031 00000004175 13154400154 014276 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef FILE_KEY_H
#define FILE_KEY_H
#include "core/display.h"
#include "core/vectors.h"
#include "core/fxfont.h"
#include "file.h"
#include
#include
class FileKeyEntry {
FXFont font;
vec3 colour;
std::string ext;
std::string display_ext;
float alpha;
float brightness;
int count;
float pos_y;
float src_y;
float dest_y;
float move_elapsed;
float left_margin;
float width;
float height;
vec2 pos;
vec2 shadow;
bool show;
public:
FileKeyEntry(const FXFont& font, const std::string& ext, const vec3& colour);
const vec3& getColour() const;
const std::string& getExt() const;
void setDestY(float dest_y);
void colourize();
void inc();
void dec();
void setShow(bool show);
int getCount() const;
void setCount(int count);
bool isNew() const;
bool isFinished() const;
void logic(float dt);
void draw();
};
class FileKey {
std::vector active_keys;
std::map keymap;
FXFont font;
float update_interval;
float interval_remaining;
bool show;
public:
FileKey();
~FileKey();
FileKey(float update_interval);
void setShow(bool show);
void clear();
void colourize();
void inc(RFile* file);
void dec(RFile* file);
void logic(float dt);
void draw();
};
#endif
gource-0.47/src/dirnode.h 0000644 0002031 0002031 00000013160 13154400154 015124 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef RDIRNODE_H
#define RDIRNODE_H
#include "core/sdlapp.h"
#include "core/bounds.h"
#include "core/quadtree.h"
#include "core/pi.h"
#include "core/vbo.h"
#include "gource_settings.h"
#include "spline.h"
#include "file.h"
#include "bloom.h"
#include
#include
class RFile;
class RDirNode : public QuadItem {
std::string abspath;
std::string path_token;
int path_token_offset;
RDirNode* parent;
std::list children;
std::list files;
SplineEdge spline;
vec4 col;
vec2 spos;
vec2 projected_pos;
vec2 projected_spos;
vec2 pos;
vec2 vel;
vec2 accel, prev_accel;
float dir_area;
bool visible;
bool in_frustum;
bool position_initialized;
float since_node_visible;
float since_last_file_change;
float since_last_node_change;
float file_area;
float dir_radius;
float dir_radius_sqrt;
float parent_radius;
int depth;
int visible_count;
vec3 screenpos;
vec2 node_normal;
void calcRadius();
void calcColour();
std::string commonPathPrefix(const std::string& str) const;
void changePath(const std::string & abspath);
void setInitialPosition();
void drawEdge(RDirNode* child) const;
void updateSplinePoint(float dt);
void move(float dt);
vec2 calcFileDest(int layer_no, int file_no);
void updateFilePositions();
void adjustDepth();
void adjustPath();
void drawDirName(FXFont& dirfont) const;
public:
RDirNode(RDirNode* parent, const std::string & abspath);
~RDirNode();
void printFiles();
bool empty() const;
bool isAnchor(RDirNode* node) const;
RDirNode* getRoot();
void fileUpdated(bool userInitiated);
void nodeUpdated(bool userInitiated);
void addVisible();
bool isVisible();
float getArea() const;
int totalDirCount() const;
int totalFileCount() const;
int getTokenOffset() const;
int dirCount() const;
int fileCount() const;
int visibleFileCount() const;
bool noDirs() const;
bool noFiles() const;
bool prefixedBy(const std::string & path) const;
const std::string & getPath() const;
const vec2 & getNodeNormal() const;
bool isParent(RDirNode* node) const;
bool addFile(RFile* f);
bool removeFile(RFile* f);
int getDepth() const;
const std::list & getChildren() const;
void updateQuadItemBounds();
float getParentRadius() const;
float getRadius() const;
float getRadiusSqrt() const;
const std::list* getFiles() const { return &files; };
void getFilesRecursive(std::list& files) const;
vec3 averageFileColour() const;
const vec4 & getColour() const;
RDirNode* getParent() const;
bool isDir(const std::string& path) const;
void findDirs(const std::string& path, std::list& dirs);
const vec2 & getPos() const;
void calcEdges();
const vec2 & getProjectedPos() const;
const vec2 & getSPos() const;
void setPos(const vec2 & pos);
void rotate(float s, float c);
void setParent(RDirNode* parent);
float distanceToParent() const;
void addNode(RDirNode* node);
void debug(int indent=0) const;
void applyForceDir(RDirNode* dir);
void applyForces(QuadTree &quadtree);
void logic(float dt);
void updateEdgeVBO(quadbuf& buffer) const;
void drawEdges() const;
void drawEdgeShadows() const;
void checkFrustum(const Frustum & frustum);
void updateFilesVBO(quadbuf& buffer, float dt) const;
void updateBloomVBO(bloombuf& buffer, float dt);
void drawShadows(float dt) const;
void drawFiles(float dt) const;
void drawBloom(float dt);
void drawNames(FXFont& dirfont);
void calcScreenPos(GLint* viewport, GLdouble* modelview, GLdouble* projection);
void nodeCount() const;
};
class DirForceFunctor : public VisitFunctor{
private:
RDirNode * this_dir;
std::set seen;
size_t loopCount;
public:
DirForceFunctor(RDirNode * dir) : this_dir(dir), seen(), loopCount(0){}
int getLoopCount() const{ return loopCount; }
void operator()(QuadItem * item){
std::set::iterator seentest;
RDirNode* d = (RDirNode*) (item);
if(d==this_dir) return;
if(d==this_dir->getParent()) return;
if(d->getParent() == this_dir) return;
if(this_dir->isParent(d)) return;
if(d->isParent(this_dir)) return;
if(d->node_count != 1) {
if((seentest = seen.find(d)) != seen.end())
return;
seen.insert(d);
}
this_dir->applyForceDir(d);
loopCount++;
}
};
extern int gGourceDirNodeInnerLoops;
extern int gGourceFileInnerLoops;
extern float gGourcePointSize;
extern bool gGourceNodeDebug;
extern bool gGourceGravity;
extern float gGourceForceGravity;
extern std::map gGourceDirMap;
#endif
gource-0.47/src/user.h 0000644 0002031 0002031 00000005425 13154400154 014463 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef RUSER_H
#define RUSER_H
#include "gource_settings.h"
#include "pawn.h"
#include "action.h"
#include "file.h"
#include "sys/stat.h"
#include
class RAction;
class RFile;
class RUser : public Pawn {
void assignUserImage();
std::list actions;
std::list activeActions;
size_t actionCount;
size_t activeCount;
float action_interval;
float action_dist;
float last_action;
float min_units_ps;
std::string name;
vec3 usercol;
bool highlighted;
bool nameVisible() const;
void updateFont();
const vec3& getNameColour() const;
void drawNameText(float alpha);
public:
RUser(const std::string& name, vec2 pos, int tagid);
vec3 getColour() const;
void colourize();
const std::string& getName() const;
void fileRemoved(RFile* f);
void addAction(RAction* action);
bool isIdle();
bool isFading();
bool isInactive();
void setSelected(bool selected);
void setHighlighted(bool highlighted);
int getActionCount();
int getPendingActionCount();
float getAlpha() const;
void applyForceToActions();
void applyForceAction(RAction* action);
void applyForceUser(RUser* u);
void calcScreenPos(GLint* viewport, GLdouble* modelview, GLdouble* projection);
void logic(float t, float dt);
void updateActionsVBO(quadbuf& buffer);
void drawActions(float dt);
void draw(float dt);
};
class UserForceFunctor : public VisitFunctor{
private:
RUser * this_user;
std::set seen;
int loopCount;
public:
UserForceFunctor(RUser * user) : this_user(user), seen(), loopCount(0){}
int getLoopCount() const{ return loopCount; }
void operator()(QuadItem * user){
std::set::iterator seentest;
RUser * b = (RUser*) (user);
if(b==this_user) return;
if(b->node_count != 1) {
if((seentest = seen.find(b)) != seen.end())
return;
seen.insert(b);
}
this_user->applyForceUser(b);
loopCount++;
}
};
#endif
gource-0.47/src/slider.h 0000644 0002031 0002031 00000002762 13154400154 014770 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef POS_SLIDER_H
#define POS_SLIDER_H
#include "core/logger.h"
#include "core/bounds.h"
#include "core/fxfont.h"
class PositionSlider {
FXFont font;
Bounds2D bounds;
float percent;
float mouseover;
float mouseover_elapsed;
float fade_time;
float alpha;
vec3 slidercol;
float capwidth;
std::string caption;
void drawSlider(float position) const;
public:
PositionSlider(float percent = 0.0f);
void setColour(vec3 col);
void setCaption(const std::string& cap);
void setPercent(float percent);
void resize();
void show();
const Bounds2D& getBounds() const;
bool mouseOver(vec2 pos, float* percent_ptr);
bool click(vec2 pos, float* percent_ptr);
void logic(float dt);
void draw(float dt);
};
#endif
gource-0.47/src/file.h 0000644 0002031 0002031 00000004344 13154400154 014423 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef RFILE_H
#define RFILE_H
#include "pawn.h"
#include "dirnode.h"
#include "core/stringhash.h"
class RDirNode;
class RFile : public Pawn {
vec3 file_colour;
vec3 touch_colour;
RDirNode* dir;
bool forced_removal;
bool expired;
float fade_start;
float last_action;
float radius;
vec2 dest;
float distance;
// FXLabel* label;
//GLuint namelist;
void setFilename(const std::string& abs_file_path);
const vec3& getNameColour() const;
void drawNameText(float alpha);
public:
std::string path;
std::string fullpath;
std::string ext;
RFile(const std::string & name, const vec3 & colour, const vec2 & pos, int tagid);
~RFile();
bool overlaps(const vec2& pos) const;
void setFileColour(const vec3 & colour);
const vec3 & getFileColour() const;
vec3 getColour() const;
void colourize();
float getAlpha() const;
void touch(const vec3 & colour);
void setSelected(bool selected);
void updateLabel();
void setHidden(bool hidden);
void setDest(const vec2 & dest){ this->dest = dest; }
void setDistance(float distance){ this->distance = distance; }
void calcScreenPos(GLint* viewport, GLdouble* modelview, GLdouble* projection);
void logic(float dt);
void draw(float dt);
void remove(bool force=false);
vec2 getAbsolutePos() const;
RDirNode* getDir() const;
void setDir(RDirNode* dir);
};
extern float gGourceFileDiameter;
extern std::vector gGourceRemovedFiles;
#endif
gource-0.47/src/dirnode.cpp 0000644 0002031 0002031 00000074524 13154400154 015472 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "dirnode.h"
float gGourceMinDirSize = 15.0;
float gGourceForceGravity = 10.0;
float gGourceDirPadding = 1.5;
bool gGourceNodeDebug = false;
bool gGourceGravity = true;
//debugging
int gGourceDirNodeInnerLoops = 0;
int gGourceFileInnerLoops = 0;
std::map gGourceDirMap;
RDirNode::RDirNode(RDirNode* parent, const std::string & abspath) {
changePath(abspath);
parent = 0;
setParent(parent);
accel = spos = prev_accel = vel = vec2(0.0f);
//NOTE: parent is always being set to 0 so this never gets called ...
//figure out starting position
if(parent !=0) {
vec2 parentPos = parent->getPos();
vec2 offset;
pos = parentPos;
} else {
pos = vec2(0.0f, 0.0f);
}
float padded_file_radius = gGourceFileDiameter * 0.5;
file_area = padded_file_radius * padded_file_radius * PI;
visible_count = 0;
visible = false;
position_initialized = false;
since_node_visible = 0.0;
since_last_file_change = 0.0;
since_last_node_change = 0.0;
calcRadius();
calcColour();
}
void RDirNode::changePath(const std::string & abspath) {
//fix up path
gGourceDirMap.erase(this->abspath);
this->abspath = abspath;
if(abspath.empty() || abspath[abspath.size()-1] != '/') {
this->abspath += std::string("/");
}
//debugLog("new dirnode %s\n", abspath.c_str());
gGourceDirMap[this->abspath] = this;
}
RDirNode::~RDirNode() {
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
delete (*it);
}
gGourceDirMap.erase(abspath);
}
int RDirNode::getTokenOffset() const{
return path_token_offset;
}
void RDirNode::fileUpdated(bool userInitiated) {
calcRadius();
since_last_file_change = 0.0;
nodeUpdated(userInitiated);
}
void RDirNode::nodeUpdated(bool userInitiated) {
if(userInitiated) since_last_node_change = 0.0;
calcRadius();
updateFilePositions();
if(visible && noDirs() && noFiles()) visible = false;
if(parent !=0) parent->nodeUpdated(true);
}
void RDirNode::rotate(float s, float c) {
if(parent != 0) {
pos = rotate_vec2(pos, s, c);
spos = rotate_vec2(spos, s, c);
}
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* child = (*it);
child->rotate(s, c);
}
}
void RDirNode::setPos(const vec2 & pos) {
this->pos = pos;
}
//returns true if supplied path prefixes the nodes path
bool RDirNode::prefixedBy(const std::string & path) const {
if(path.empty()) return false;
if(path[path.size()-1] != '/')
return abspath.find(path + std::string("/")) == 0;
else
return abspath.find(path) == 0;
}
const std::string & RDirNode::getPath() const{
return abspath;
}
RDirNode* RDirNode::getParent() const{
return parent;
}
bool RDirNode::isDir(const std::string& path) const {
if(prefixedBy(path)) return true;
if(path.find(abspath) != 0) return false;
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
if((*it)->isDir(path)) return true;
}
return false;
}
//finds directories closest to the root directory prefixed by path (eg foo/ may match just foo/ or could also match foo/bar1, foo/bar2, ... if foo/ doesn't exist).
void RDirNode::findDirs(const std::string& path, std::list& dirs) {
if(prefixedBy(path)) {
dirs.push_back(this);
return;
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
(*it)->findDirs(path, dirs);
}
}
void RDirNode::getFilesRecursive(std::list& files) const {
//add this dirs files
files.insert(files.begin(), this->files.begin(), this->files.end());
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
(*it)->getFilesRecursive(files);
}
}
int RDirNode::getDepth() const{
return depth;
}
void RDirNode::adjustPath() {
//update display path
int parent_token_offset = 0;
path_token_offset = abspath.size();
if(parent != 0) {
parent_token_offset = parent->getTokenOffset();
//debugLog("abspath.substr arguments: %d %d %s size = %d\n", parent_token_offset, abspath.size()-parent_token_offset-1, abspath.c_str(), abspath.size());
path_token = abspath.substr(parent_token_offset, abspath.size()-parent_token_offset-1);
path_token_offset = abspath.size();
//debugLog("new token %s\n", path_token.c_str());
}
}
void RDirNode::setParent(RDirNode* parent) {
if(parent != 0 && this->parent == parent) return;
this->parent = parent;
adjustPath();
adjustDepth();
}
void RDirNode::adjustDepth() {
if(parent == 0) {
depth = 1;
} else {
depth = parent->getDepth() + 1;
}
for(RDirNode* child : children) {
child->adjustDepth();
}
}
void RDirNode::addNode(RDirNode* node) {
// does this node prefix any other nodes, if so, add them to it
std::vector matches;
std::string path = node->getPath();
//debugLog("adding node %s to %s\n", path.c_str(), abspath.c_str());
for(std::list::iterator it = children.begin(); it != children.end(); ) {
RDirNode* child = (*it);
if(child->prefixedBy(path)) {
it = children.erase(it);
node->addNode(child);
} else {
it++;
}
}
// add to this node
children.push_back(node);
node->setParent(this);
//debugLog("added node %s to %s\n", node->getPath().c_str(), getPath().c_str());
nodeUpdated(false);
}
RDirNode* RDirNode::getRoot() {
if(parent==0) return this;
return parent->getRoot();
}
// note - you still need to delete the file yourself
bool RDirNode::removeFile(RFile* f) {
//doesnt match this path at all
if(f->path.find(abspath) != 0) {
return false;
}
//is this dir - add to this node
if(f->path.compare(abspath) == 0) {
for(std::list::iterator it = files.begin(); it != files.end(); it++) {
if((*it)==f) {
files.erase(it);
if(!f->isHidden()) visible_count--;
fileUpdated(false);
return true;
}
}
return false;
}
//does this belong to one of the children ?
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
bool removed = node->removeFile(f);
if(removed) {
//fprintf(stderr, "%s file removed from a child. child file count=%d, dir count =%d\n", getPath().c_str(), node->fileCount(), node->dirCount());
//node->printFiles();
//node is now empty, reap!
if(node->noFiles() && node->noDirs()) {
children.erase(it);
//fprintf(stderr, "deleting node %s from %s\n", node->getPath().c_str(), getPath().c_str());
delete node;
nodeUpdated(false);
}
return true;
}
}
return false;
}
void RDirNode::printFiles() {
for(std::list::iterator it = files.begin(); it != files.end(); it++) {
RFile* file = (*it);
fprintf(stderr, "%s: %s %s\n", getPath().c_str(), file->fullpath.c_str() , file->isHidden() ? "hidden " : "");
}
}
void RDirNode::addVisible() {
visible_count++;
visible = true;
}
bool RDirNode::isVisible() {
if(visible) return true;
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
if((*it)->isVisible()) {
visible = true;
return true;
}
}
return false;
}
int RDirNode::visibleFileCount() const{
return visible_count;
}
int RDirNode::fileCount() const{
return files.size();
}
bool RDirNode::noFiles() const{
return files.empty();
}
std::string RDirNode::commonPathPrefix(const std::string & str) const{
size_t c = 0;
int slash = -1;
while(cpath.find(abspath) != 0) {
if(parent != 0) return false;
//if this is the root node (ie no parent), we fork it
//if we encounter a file with a non matching path to the
//current root path. the calling process then checks if
//the root now has a parent node, and changes the pointer.
RDirNode* newparent;
std::string common = commonPathPrefix(f->path);
if(common.size()==0) common = "/";
newparent = new RDirNode(0, common);
newparent->addNode(this);
return newparent->addFile(f);
}
//simply change path of node and add this to it
if( parent==0 && abspath == "/"
&& f->path.compare(abspath) != 0 && noFiles() && noDirs()) {
debugLog("modifying root path to %s", f->path.c_str());
changePath(f->path);
}
//is this dir - add to this node
if(f->path.compare(abspath) == 0) {
//debugLog("addFile %s to %s\n", f->fullpath.c_str(), abspath.c_str());
files.push_back(f);
if(!f->isHidden()) visible_count++;
f->setDir(this);
fileUpdated(false);
return true;
}
bool added = false;
//does this belong to one of the children ?
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* child = (*it);
added = child->addFile(f);
if(added) break;
}
if(added && parent != 0) return true;
//do we have a file in this directory thats fullpath is a prefix of this file, if so
//that file is actually a directory - the file should be removed, and a directory with that path added
//if this is the root node we do this regardless of if the file was added to a child node
for(std::list::const_iterator it = files.begin(); it != files.end(); it++) {
RFile* file = (*it);
if(f->path.find(file->fullpath) == 0) {
//fprintf(stderr, "removing %s as is actually the directory of %s\n", file->fullpath.c_str(), f->fullpath.c_str());
file->remove(true);
break;
}
}
if(added) return true;
//add new child, add it to that
//if commonpath is longer than abspath, add intermediate node, else just add at the files path
RDirNode* node = new RDirNode(this, f->path);
node->addFile(f);
addNode(node);
// do we have dir nodes, with a common path element greater than abspath,
// if so create another node, and move those nodes there
std::string commonpath;
vec2 commonPos;
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* child = (*it);
std::string common = child->commonPathPrefix(f->path);
if(common.size() > abspath.size() && common != f->path) {
commonpath = common;
commonPos = child->getPos();
break;
}
}
// redistribute to new common node
if(commonpath.size() > abspath.size()) {
//debugLog("common path %s\n", commonpath.c_str());
RDirNode* cnode = new RDirNode(this, commonpath);
cnode->setPos(commonPos);
for(std::list::iterator it = children.begin(); it != children.end();) {
RDirNode* child = (*it);
if(child->prefixedBy(commonpath)) {
//debugLog("this path = %s, commonpath = %s, path = %s\n", abspath.c_str(), commonpath.c_str(), child->getPath().c_str());
it = children.erase(it);
cnode->addNode(child);
continue;
}
it++;
}
addNode(cnode);
}
return true;
}
float RDirNode::getParentRadius() const{
return parent_radius;
}
float RDirNode::getRadius() const{
return dir_radius;
}
float RDirNode::getRadiusSqrt() const{
return dir_radius_sqrt;
}
vec3 RDirNode::averageFileColour() const{
vec3 av;
int count = 0;
for(std::list::const_iterator it = files.begin(); it != files.end(); it++) {
RFile* file = (*it);
if(file->isHidden()) continue;
av += file->getColour();
count++;
}
if(count>0) av *= (1.0f/(float)count);
count = 0;
for(std::list::const_iterator it = children.begin(); it != children.end();it++) {
RDirNode* child = (*it);
av += child->averageFileColour();
count++;
}
if(count>0) av *= (1.0f/(float)count);
return av;
}
const vec4 & RDirNode::getColour() const{
return col;
}
void RDirNode::calcColour() {
// make branch brighter if recently accessed
float brightness = std::max(0.6f, 1.0f - std::min(1.0f, since_last_node_change / 3.0f));
col = vec4(brightness, brightness, brightness, 1.0);
int fcount = 0;
for(std::list::iterator it = files.begin(); it != files.end(); it++) {
RFile* file = (*it);
if(file->isHidden()) continue;;
vec3 filecol = file->getColour() * brightness;
float a = file->getAlpha();
col += vec4(filecol.x, filecol.y, filecol.z, a);
fcount++;
}
this->col /= (float) fcount + 1.0;
}
float RDirNode::getArea() const{
return dir_area;
}
void RDirNode::calcRadius() {
float total_file_area = file_area * visible_count;
dir_area = total_file_area;
//float parent_circ = 0.0;
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
dir_area += node->getArea();
// parent_circ += node->getRadiusSqrt();
}
this->dir_radius = std::max(1.0f, (float)sqrt(dir_area)) * gGourceDirPadding;
//this->dir_radius_sqrt = sqrt(dir_radius); //dir_radius_sqrt is not used
// this->parent_radius = std::max(1.0, parent_circ / PI);
this->parent_radius = std::max(1.0f, (float) sqrt(total_file_area) * gGourceDirPadding);
}
float RDirNode::distanceToParent() const{
float posd = glm::length(parent->getPos() - pos);
float distance = posd - (dir_radius + parent->getParentRadius());
return distance;
}
void RDirNode::applyForceDir(RDirNode* node) {
if(node == this) return;
vec2 dir = node->getPos() - pos;
float posd2 = glm::length2(dir);
float myradius = getRadius();
float your_radius = node->getRadius();
float sumradius = (myradius + your_radius);
float distance2 = posd2 - sumradius*sumradius;
if(distance2>0.0) return;
float posd = sqrt(posd2);
float distance = posd - myradius - your_radius;
//resolve overlap
if(posd < 0.00001) {
accel += normalise(vec2( (rand() % 100) - 50, (rand() % 100) - 50));
return;
}
accel += distance * normalise(dir);
}
const vec2 & RDirNode::getPos() const{
return pos;
}
bool RDirNode::isParent(RDirNode* node) const {
if(node==parent) return true;
if(parent==0) return false;
return parent->isParent(node);
}
bool RDirNode::empty() const{
return (visible_count==0 && noDirs()) ? true : false;
}
void RDirNode::applyForces(QuadTree & quadtree) {
//child nodes
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->applyForces(quadtree);
}
if(parent == 0) return;
DirForceFunctor dff(this);
quadtree.visitItemsInBounds(quadItemBounds, dff);
gGourceDirNodeInnerLoops += dff.getLoopCount();
//always call on parent no matter how far away
applyForceDir(parent);
//pull towards parent
float parent_dist = distanceToParent();
// * dirs should attract to sit on the radius of the parent dir ie:
// should attract to distance_to_parent * normal_to_parent
accel += gGourceForceGravity * parent_dist * normalise(parent->getPos() - pos);
// * dirs should be pushed along the parent_parent to parent normal by a force smaller than the parent radius force
RDirNode* pparent = parent->getParent();
if(pparent != 0) {
vec2 parent_edge = (parent->getPos() - pparent->getPos());
vec2 parent_edge_normal = normalise(parent_edge);
vec2 dest = (parent->getPos() + (parent->getRadius() + getRadius()) * parent_edge_normal) - pos;
accel += dest;
}
// * dirs should repulse from other dirs of this parent
const std::list & siblings = parent->getChildren();
if(!siblings.empty()) {
vec2 sib_accel;
int visible = 1;
for(std::list::const_iterator it = siblings.begin(); it != siblings.end(); it++) {
RDirNode* node = (*it);
if(node == this) continue;
if(!node->isVisible()) continue;
visible++;
sib_accel -= normalise(node->getPos() - pos);
}
//parent circumfrence divided by the number of visible child nodes
if(visible>1) {
float slice_size = (parent->getRadius() * PI) / (float) (visible+1);
sib_accel *= slice_size;
accel += sib_accel;
}
}
}
void RDirNode::debug(int indent) const{
std::string indentstr;
while(indentstr.size() < indent) indentstr += " ";
debugLog("%s%s", indentstr.c_str(), abspath.c_str());
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->debug(indent+1);
}
}
int RDirNode::totalFileCount() const{
int total = visibleFileCount();
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
total += node->visibleFileCount();
}
return total;
}
int RDirNode::totalDirCount() const{
int total = 1;
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
total += node->totalDirCount();
}
return total;
}
int RDirNode::dirCount() const{
return children.size();
}
bool RDirNode::noDirs() const{
return children.empty();
}
const std::list & RDirNode::getChildren() const{
return children;
}
void RDirNode::updateSplinePoint(float dt) {
if(parent == 0) return;
//update the spline point
vec2 td = (parent->getPos() - pos) * 0.5f;
vec2 mid = pos + td;// - td.perpendicular() * pos.normal();// * 10.0;
vec2 delta = (mid - spos);
//dont let spos get more than half the length of the distance behind
if(glm::length2(delta) > glm::length2(td)) {
spos += normalise(delta) * (glm::length(delta) - glm::length(td));
}
spos += delta * std::min(1.0f, dt * 2.0f);
}
void RDirNode::setInitialPosition() {
RDirNode* parentP = parent->getParent();
pos = parent->getPos();
//offset position by some pseudo-randomness
if(parentP != 0) {
//pos += ((parent->getPos() - parentP->getPos()).normal() * 2.0 + vec2Hash(abspath)).normal();
pos += normalise(normalise(parent->getPos() - parentP->getPos()) * 2.0f + vec2Hash(abspath));
} else {
pos += vec2Hash(abspath);
}
//the spline point
spos = pos - (parent->getPos() - pos) * 0.5f;
position_initialized=true;
}
void RDirNode::move(float dt) {
//the root node is the centre of the world
if(parent == 0) {
pos = vec2(0.0f);
return;
}
//initial position
if(!empty() && !position_initialized) {
setInitialPosition();
}
pos += accel * dt;
if(gGourceSettings.elasticity>0.0) {
vec2 diff = (accel - prev_accel);
float m = dt * gGourceSettings.elasticity;
vec2 accel3 = prev_accel * (1.0f-m) + diff * m;
pos += accel3;
prev_accel = accel3;
}
//accel = accel * std::max(0.0f, (1.0f - dt*10.0f));
accel = vec2(0.0, 0.0);
}
const vec2 & RDirNode::getNodeNormal() const{
return node_normal;
}
vec2 RDirNode::calcFileDest(int max_files, int file_no) {
float arc = 1.0/(float)max_files;
float frac = arc * 0.5 + arc * file_no;
vec2 dest = vec2(sinf(frac*PI*2.0), cosf(frac*PI*2.0));
return dest;
}
void RDirNode::updateFilePositions() {
int max_files = 1;
int diameter = 1;
int file_no = 0;
float d = 0.0;
int files_left = visible_count;
for(std::list::iterator it = files.begin(); it!=files.end(); it++) {
RFile* f = *it;
if(f->isHidden()) {
f->setDest(vec2(0.0,0.0));
f->setDistance(0.0f);
continue;
}
vec2 dest = calcFileDest(max_files, file_no);
f->setDest(dest);
f->setDistance(d);
files_left--;
file_no++;
if(file_no>=max_files) {
diameter++;
d += gGourceFileDiameter;
max_files = (int) std::max(1.0, diameter*PI);
if(files_leftgetProjectedPos(), parent->getColour(), projected_pos, col, projected_spos);
}
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* child = *it;
child->calcEdges();
}
}
void RDirNode::logic(float dt) {
//move
move(dt);
updateSplinePoint(dt);
//update node normal
if(parent != 0) {
node_normal = normalise(pos - parent->getPos());
}
//update files
for(std::list::iterator it = files.begin(); it!=files.end(); it++) {
RFile* f = *it;
f->logic(dt);
}
//update child nodes
for(std::list::iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->logic(dt);
}
//update colour
calcColour();
//update tickers
if(visible) since_node_visible += dt;
since_last_file_change += dt;
since_last_node_change += dt;
}
void RDirNode::drawDirName(FXFont& dirfont) const{
if(parent==0) return;
if(gGourceSettings.hide_dirnames) return;
if(gGourceSettings.dir_name_depth > 0 && gGourceSettings.dir_name_depth < (depth-1)) return;
if(!gGourceSettings.highlight_dirs && since_last_node_change > 5.0) return;
float alpha = gGourceSettings.highlight_dirs ? 1.0 : std::max(0.0f, 5.0f - since_last_node_change) / 5.0f;
vec2 mid = spline.getMidPoint();
dirfont.setAlpha(alpha);
dirfont.draw(mid.x, mid.y, path_token);
}
void RDirNode::calcScreenPos(GLint* viewport, GLdouble* modelview, GLdouble* projection) {
static GLdouble screen_x, screen_y, screen_z;
gluProject( pos.x, pos.y, 0.0f, modelview, projection, viewport, &screen_x, &screen_y, &screen_z);
screen_y = (float)viewport[3] - screen_y;
projected_pos.x = screen_x;
projected_pos.y = screen_y;
gluProject( spos.x, spos.y, 0.0f, modelview, projection, viewport, &screen_x, &screen_y, &screen_z);
screen_y = (float)viewport[3] - screen_y;
projected_spos.x = screen_x;
projected_spos.y = screen_y;
static vec2 selected_offset(5.5f, -2.0f);
static vec2 unselected_offset(5.5f, -1.0f);
if(!gGourceSettings.hide_filenames) {
//first pass - calculate positions of names
for(std::list::const_iterator it = files.begin(); it!=files.end(); it++) {
RFile* f = *it;
f->calcScreenPos(viewport, modelview, projection);
}
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->calcScreenPos(viewport, modelview, projection);
}
}
void RDirNode::drawNames(FXFont& dirfont) {
if(!gGourceSettings.hide_dirnames && isVisible()) {
drawDirName(dirfont);
}
if(!gGourceSettings.hide_filenames) {
if(!(gGourceSettings.hide_filenames || gGourceSettings.hide_files) && in_frustum) {
for(std::list::const_iterator it = files.begin(); it!=files.end(); it++) {
RFile* f = *it;
if(!f->isSelected()) f->drawName();
}
}
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->drawNames(dirfont);
}
}
void RDirNode::checkFrustum(const Frustum& frustum) {
in_frustum = frustum.intersects(quadItemBounds);
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->checkFrustum(frustum);
}
}
void RDirNode::drawShadows(float dt) const{
if(in_frustum) {
glPushMatrix();
glTranslatef(pos.x, pos.y, 0.0);
//draw files
for(std::list::const_iterator it = files.begin(); it!=files.end(); it++) {
RFile* f = *it;
if(f->isHidden()) continue;
f->drawShadow(dt);
}
glPopMatrix();
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->drawShadows(dt);
}
}
void RDirNode::updateFilesVBO(quadbuf& buffer, float dt) const{
if(in_frustum) {
for(std::list::const_iterator it = files.begin(); it!=files.end(); it++) {
RFile* f = *it;
if(f->isHidden()) continue;
vec3 col = f->getColour();
float alpha = f->getAlpha();
buffer.add(f->graphic->textureid, f->getAbsolutePos() - f->dims*0.5f, f->dims, vec4(col.x, col.y, col.z, alpha));
}
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->updateFilesVBO(buffer,dt);
}
}
void RDirNode::updateBloomVBO(bloombuf& buffer, float dt) {
if(in_frustum && isVisible()) {
float bloom_radius = dir_radius * 2.0 * gGourceSettings.bloom_multiplier;
float bloom_diameter = bloom_radius * 2.0;
vec4 bloom_col = col * gGourceSettings.bloom_intensity;
vec4 bloom_texcoords(bloom_radius, pos.x, pos.y, 0.0f);
vec2 bloom_dims(bloom_diameter, bloom_diameter);
buffer.add(0, pos - bloom_dims*0.5f,bloom_dims, vec4(bloom_col.x, bloom_col.y, bloom_col.z, 1.0f), bloom_texcoords);
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->updateBloomVBO(buffer,dt);
}
}
void RDirNode::drawFiles(float dt) const{
if(in_frustum) {
glPushMatrix();
glTranslatef(pos.x, pos.y, 0.0);
//draw files
for(std::list::const_iterator it = files.begin(); it!=files.end(); it++) {
RFile* f = *it;
if(f->isHidden()) continue;
f->draw(dt);
}
glPopMatrix();
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->drawFiles(dt);
}
}
const vec2 & RDirNode::getSPos() const{
return projected_spos;
}
const vec2 & RDirNode::getProjectedPos() const{
return projected_pos;
}
void RDirNode::updateEdgeVBO(quadbuf& buffer) const {
if(parent!=0 && (!gGourceSettings.hide_root || parent->parent !=0)) spline.drawToVBO(buffer);
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* child = (*it);
if(child->isVisible()) {
child->updateEdgeVBO(buffer);
}
}
}
void RDirNode::drawEdgeShadows() const{
if(parent!=0 && (!gGourceSettings.hide_root || parent->parent !=0)) spline.drawShadow();
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* child = (*it);
//draw edge - assumes calcEdges() called before hand so spline will exist
if(child->isVisible()) {
child->drawEdgeShadows();
}
}
}
void RDirNode::drawEdges() const{
if(parent!=0 && (!gGourceSettings.hide_root || parent->parent !=0)) spline.draw();
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* child = (*it);
//draw edge - assumes calcEdges() called before hand so spline will exist
if(child->isVisible()) {
child->drawEdges();
}
}
}
void RDirNode::drawBloom(float dt){
if(in_frustum && isVisible()) {
float bloom_radius = dir_radius * 2.0 * gGourceSettings.bloom_multiplier;
vec4 bloom_col = col * gGourceSettings.bloom_intensity;
glColor4f(bloom_col.x, bloom_col.y, bloom_col.z, 1.0);
glPushMatrix();
glTranslatef(pos.x, pos.y, 0.0);
glBegin(GL_QUADS);
glTexCoord2f(1.0f, 1.0f);
glVertex2f(bloom_radius,bloom_radius);
glTexCoord2f(1.0f, 0.0f);
glVertex2f(bloom_radius,-bloom_radius);
glTexCoord2f(0.0f, 0.0f);
glVertex2f(-bloom_radius,-bloom_radius);
glTexCoord2f(0.0f, 1.0f);
glVertex2f(-bloom_radius,bloom_radius);
glEnd();
glPopMatrix();
}
for(std::list::const_iterator it = children.begin(); it != children.end(); it++) {
RDirNode* node = (*it);
node->drawBloom(dt);
}
}
void RDirNode::updateQuadItemBounds() {
float radius = getRadius();
vec2 radoffset(radius, radius);
//set bounds
quadItemBounds.set(pos - radoffset, pos + radoffset);
}
gource-0.47/src/textbox.cpp 0000644 0002031 0002031 00000007562 13154400154 015541 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "textbox.h"
TextBox::TextBox() {
}
TextBox::TextBox(const FXFont& font) {
this->font = font;
shadow = vec2(3.0f, 3.0f);
colour = vec3(0.7f, 0.7f, 0.7f);
corner = vec2(0.0f,0.0f);
alpha = 1.0f;
brightness = 1.0f;
max_width_chars = 1024;
rect_width = 0;
rect_height = 0;
visible = false;
}
void TextBox::hide() {
visible = false;
}
void TextBox::show() {
visible = true;
}
void TextBox::setBrightness(float brightness) {
this->brightness = brightness;
}
void TextBox::setColour(const vec3& colour) {
this->colour = colour;
}
void TextBox::setAlpha(float alpha) {
this->alpha = alpha;
}
void TextBox::clear() {
content.clear();
rect_width = 0;
rect_height = 2;
}
void TextBox::addLine(std::string str) {
if(max_width_chars> 0 && str.size() > max_width_chars) {
str = str.substr(0, max_width_chars);
}
int width = font.getWidth(str) + 6;
if(width > rect_width) rect_width = width;
rect_height += (font.getFontSize()+4);
content.push_back(str);
}
void TextBox::setText(const std::string& str) {
clear();
addLine(str);
}
void TextBox::setText(const std::vector& content) {
clear();
for(std::vector::const_iterator it = content.begin(); it != content.end(); it++) {
addLine(*it);
}
}
void TextBox::setPos(const vec2& pos, bool adjust) {
corner = pos;
if(!adjust) return;
int fontheight = font.getFontSize() + 4;
corner.y -= rect_height;
if((corner.x + rect_width) > display.width) {
if((corner.x - rect_width - fontheight )>0) {
corner.x -= rect_width;
} else {
corner.x = display.width - rect_width;
}
}
if(corner.y < 0) corner.y += rect_height + fontheight;
if(corner.y +rect_height > display.height) corner.y -= rect_height;
}
void TextBox::draw() const {
if(!visible) return;
glDisable(GL_TEXTURE_2D);
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glColor4f(0.0f, 0.0f, 0.0f, alpha * 0.333f);
glPushMatrix();
glTranslatef(shadow.x, shadow.y, 0.0f);
glBegin(GL_QUADS);
glVertex2f(corner.x, corner.y);
glVertex2f(corner.x, corner.y + rect_height);
glVertex2f(corner.x+rect_width, corner.y + rect_height);
glVertex2f(corner.x+rect_width, corner.y);
glEnd();
glPopMatrix();
glColor4f(colour.x * brightness, colour.y * brightness, colour.z * brightness, alpha);
glBegin(GL_QUADS);
glVertex2f(corner.x, corner.y);
glVertex2f(corner.x, corner.y + rect_height);
glVertex2f(corner.x+rect_width, corner.y + rect_height);
glVertex2f(corner.x+rect_width, corner.y);
glEnd();
glEnable(GL_TEXTURE_2D);
glColor4f(1.0f, 1.0f, 1.0f, alpha);
int yinc = 3;
std::vector::const_iterator it;
for(it = content.begin(); it != content.end(); it++) {
font.draw((int)corner.x+2, (int)corner.y+yinc, (*it).c_str());
yinc += font.getFontSize() + 4;
}
}
gource-0.47/src/logmill.h 0000644 0002031 0002031 00000003136 13154400154 015141 0 ustar andrewc andrewc /*
Copyright (C) 2012 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef LOGMILL_H
#define LOGMILL_H
#include
#include "SDL_thread.h"
#include "core/sdlapp.h"
#include "core/display.h"
#include "formats/commitlog.h"
#if defined(HAVE_PTHREAD) && !defined(_WIN32)
#include
#endif
enum {
LOGMILL_STATE_STARTUP,
LOGMILL_STATE_FETCHING,
LOGMILL_STATE_SUCCESS,
LOGMILL_STATE_FAILURE
};
class RLogMill {
SDL_Thread* thread;
SDL_mutex* mutex;
SDL_cond* cond;
int logmill_thread_state;
std::string logfile;
RCommitLog* clog;
std::string error;
bool findRepository(boost::filesystem::path& dir, std::string& log_format);
RCommitLog* fetchLog(std::string& log_format);
public:
RLogMill(const std::string& logfile);
~RLogMill();
void run();
void abort();
std::string getError();
int getStatus();
bool isFinished();
RCommitLog* getLog();
};
#endif
gource-0.47/src/zoomcamera.cpp 0000644 0002031 0002031 00000010535 13154400154 016173 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "zoomcamera.h"
ZoomCamera::ZoomCamera() {
}
ZoomCamera::ZoomCamera(vec3 pos, vec3 target, float min_distance, float max_distance) :
pos(pos), _pos(pos), target(target), _target(target), dest(pos), fov(90.0f) {
znear = 0.1;
up = vec3(0.0f, -1.0f, 0.0f);
setMinDistance(min_distance);
setMaxDistance(max_distance);
padding = 1.0;
speed = 1.0;
lockon = false;
lockon_time = 0.0;
reset();
}
void ZoomCamera::reset() {
pos = _pos;
target = _target;
}
float ZoomCamera::getMaxDistance() { return max_distance; }
float ZoomCamera::getMinDistance() { return min_distance; }
void ZoomCamera::setPadding(float padding) {
this->padding = padding;
}
void ZoomCamera::setMaxDistance(float max) {
max_distance = max;
zfar = max + 1.0;
}
void ZoomCamera::setMinDistance(float min) {
min_distance = min;
}
void ZoomCamera::lockOn(bool lockon) {
if(lockon) {
lockon_time = 1.0;
}
this->lockon = lockon;
}
void ZoomCamera::look() {
lookAt(target);
}
void ZoomCamera::lookAt(const vec3& target) {
gluLookAt( pos.x, pos.y, pos.z,
target.x, target.y, target.z,
up.x, up.y, up.z);
}
void ZoomCamera::focus() {
display.mode3D(fov, znear, zfar);
look();
}
void ZoomCamera::stop() {
this->dest = pos;
}
void ZoomCamera::setSpeed(float speed) {
this->speed = speed;
}
void ZoomCamera::adjust(const Bounds2D& bounds) {
adjust(bounds, true);
}
void ZoomCamera::adjust(const Bounds2D& bounds, bool adjust_distance) {
//center camera on bounds
vec2 centre = bounds.centre();
//adjust by screen ratio
dest.x = centre.x;
dest.y = centre.y;
if(!adjust_distance) return;
//scale by 10% so we dont have stuff right on the edge of the screen
float width = bounds.width() * padding;
float height = bounds.height() * padding;
float aspect_ratio = display.width / (float) display.height;
if(aspect_ratio < 1.0) {
height /= aspect_ratio;
} else {
width /= aspect_ratio;
}
//calc visible width of the opposite wall at a distance of 1 this fov
float toa = tan( fov * 0.5f * DEGREES_TO_RADIANS ) * 2.0;
float distance;
//TOA = tan = opposite/adjacent (distance = adjacent)
//use the larger side of the box
//cropping: vertical, horizontal or none
if(gGourceSettings.crop_vertical) {
distance = width / toa;
} else if (gGourceSettings.crop_horizontal) {
distance = height / toa;
} else {
if(width >= height) {
distance = width / toa;
} else {
distance = height / toa;
}
}
//debugLog("toa %.2f, distance %.2f width %.2f height %.2f dratio %.2f\n", toa, distance, width, height, dratio);
//check bounds are valid
if(distance < min_distance) distance = min_distance;
if(distance > max_distance) distance = max_distance;
this->dest.z = -distance;
}
void ZoomCamera::setDistance(float distance) {
dest.z = -distance;
}
void ZoomCamera::setPos(const vec3& pos, bool keep_angle) {
if(keep_angle) {
vec3 dir = target - this->pos;
this->pos = pos;
this->target = pos + dir;
} else {
this->pos = pos;
}
}
void ZoomCamera::logic(float dt) {
vec3 dp = (dest - pos);
vec3 dpt = dp * dt * speed;
if(lockon) {
dpt = dpt * lockon_time + dp * (1.0f-lockon_time);
if(lockon_time>0.0) {
lockon_time = std::max(0.0f, lockon_time-dt*0.5f);
}
}
if(glm::length2(dpt) > glm::length2(dp)) dpt = dp;
pos += dpt;
target = vec3(pos.x, pos.y, 0.0);
}
gource-0.47/src/gource.cpp 0000644 0002031 0002031 00000213112 13154400154 015316 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "gource.h"
#include "core/png_writer.h"
bool gGourceDrawBackground = true;
bool gGourceQuadTreeDebug = false;
int gGourceMaxQuadTreeDepth = 6;
int gGourceUserInnerLoops = 0;
Gource::Gource(FrameExporter* exporter) {
this->logfile = gGourceSettings.path;
commitlog = 0;
//disable OpenGL 2.0 functions if not supported
if(!GLEW_VERSION_2_0) gGourceSettings.ffp = true;
if(!gGourceSettings.file_graphic) {
gGourceSettings.file_graphic = texturemanager.grab("file.png", true, GL_CLAMP_TO_EDGE);
}
fontlarge = fontmanager.grab("FreeSans.ttf", 42);
fontlarge.dropShadow(true);
fontlarge.roundCoordinates(true);
fontmedium = fontmanager.grab("FreeSans.ttf", gGourceSettings.font_size);
fontmedium.dropShadow(true);
fontmedium.roundCoordinates(false);
fontcaption = fontmanager.grab("FreeSans.ttf", gGourceSettings.caption_size);
fontcaption.dropShadow(true);
fontcaption.roundCoordinates(false);
fontcaption.alignTop(false);
font = fontmanager.grab("FreeSans.ttf", 14);
font.dropShadow(true);
font.roundCoordinates(true);
//only use bloom with alpha channel if transparent due to artifacts on some video cards
std::string bloom_tga = gGourceSettings.transparent ? "bloom_alpha.tga" : "bloom.tga";
bloomtex = texturemanager.grab(bloom_tga);
beamtex = texturemanager.grab("beam.png");
usertex = texturemanager.grab("user.png", true, GL_CLAMP_TO_EDGE);
shadow_shader = text_shader = bloom_shader = 0;
if(!gGourceSettings.ffp) {
shadow_shader = shadermanager.grab("shadow");
bloom_shader = shadermanager.grab("bloom");
text_shader = shadermanager.grab("text");
}
//calculate once
GLint max_texture_size;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_texture_size);
font_texel_size = 1.0f / (float) std::min( 512, max_texture_size );
logotex = 0;
backgroundtex = 0;
//load logo
if(gGourceSettings.logo.size() > 0) {
bool mipmap_logo = !(GLEW_ARB_texture_non_power_of_two || GLEW_VERSION_2_0);
logotex = texturemanager.grabFile(gGourceSettings.logo, mipmap_logo);
}
//load background image
if(gGourceSettings.background_image.size() > 0) {
backgroundtex = texturemanager.grabFile(gGourceSettings.background_image);
}
stop_position_reached=false;
reloaded = false;
paused = false;
first_read = true;
grab_mouse = false;
mousemoved = false;
mousedragged = false;
mouseclicked = false;
take_screenshot = false;
if(gGourceSettings.hide_mouse) {
cursor.showCursor(false);
}
splash = -1.0;
debug = false;
trace_debug = false;
frameExporter = 0;
dirNodeTree = 0;
userTree = 0;
selectedFile = 0;
hoverFile = 0;
selectedUser = 0;
hoverUser = 0;
date_x_offset = 0;
textbox = TextBox(fontmanager.grab("FreeSans.ttf", 18));
textbox.setBrightness(0.5f);
textbox.show();
file_key = FileKey(1.0f);
camera = ZoomCamera(vec3(0,0, -300), vec3(0.0, 0.0, 0.0), gGourceSettings.camera_zoom_default, gGourceSettings.camera_zoom_max);
camera.setPadding(gGourceSettings.padding);
setCameraMode(gGourceSettings.camera_mode);
root = 0;
//min phsyics rate 60fps (ie maximum allowed delta 1.0/60)
max_tick_rate = 1.0 / 60.0;
runtime = 0.0f;
frameskip = 0;
framecount = 0;
reset();
logmill = new RLogMill(logfile);
if(exporter!=0) setFrameExporter(exporter, gGourceSettings.output_framerate);
//if recording a video or in demo mode, or multiple repos, the slider is initially hidden
if(exporter==0 && gGourceSettings.repo_count==1) slider.show();
}
void Gource::writeCustomLog(const std::string& logfile, const std::string& output_file) {
RLogMill logmill(logfile);
RCommitLog* commitlog = logmill.getLog();
// TODO: exception handling
if(!commitlog) {
std::string error = logmill.getError();
if(!error.empty()) SDLAppQuit(error);
return;
}
RCommit commit;
FILE* fh = stdout;
if(output_file != "-") {
fh = fopen(output_file.c_str(), "w");
if(!fh) return;
}
while(!commitlog->isFinished()) {
RCommit commit;
if(!commitlog->nextCommit(commit)) {
if(!commitlog->isSeekable()) {
break;
}
continue;
}
for(std::list::iterator it = commit.files.begin(); it != commit.files.end(); it++) {
RCommitFile& cf = *it;
fprintf(fh, "%lld|%s|%s|%s\n", (long long int) commit.timestamp, commit.username.c_str(), cf.action.c_str(), cf.filename.c_str());
}
commit.files.clear();
}
if(output_file != "-") fclose(fh);
}
Gource::~Gource() {
reset();
if(logmill!=0) delete logmill;
if(root!=0) delete root;
//reset settings
gGourceSettings.setGourceDefaults();
}
void Gource::init() {
}
void Gource::unload() {
file_vbo.unload();
user_vbo.unload();
edge_vbo.unload();
action_vbo.unload();
bloom_vbo.unload();
}
void Gource::reload() {
reloaded = true;
}
void Gource::quit() {
}
void Gource::update(float t, float dt) {
float scaled_dt = std::min(dt, max_tick_rate);
//if exporting a video use a fixed tick rate rather than time based
if(frameExporter != 0) {
scaled_dt = max_tick_rate;
}
//apply time scaling
scaled_dt *= gGourceSettings.time_scale;
//have to manage runtime internally as we're messing with dt
if(!paused) runtime += scaled_dt;
if(gGourceSettings.stop_at_time > 0.0 && runtime >= gGourceSettings.stop_at_time) stop_position_reached = true;
logic_time = SDL_GetTicks();
logic(runtime, scaled_dt);
logic_time = SDL_GetTicks() - logic_time;
draw(runtime, scaled_dt);
//extract frames based on frameskip setting if frameExporter defined
if(frameExporter != 0 && commitlog && !gGourceSettings.shutdown) {
if(framecount % (frameskip+1) == 0) {
frameExporter->dump();
}
}
if(!gGourceSettings.hide_mouse) {
//note: cursor uses real dt
cursor.logic(dt);
cursor.draw();
}
framecount++;
}
//peek at the date under the mouse pointer on the slider
std::string Gource::dateAtPosition(float percent) {
RCommit commit;
std::string date;
if(percent<1.0 && commitlog->getCommitAt(percent, commit)) {
//display date
char datestr[256];
// TODO: memory leak ??
struct tm* timeinfo = localtime ( &(commit.timestamp) );
strftime(datestr, 256, "%A, %d %B, %Y", timeinfo);
date = std::string(datestr);
}
return date;
}
void Gource::grabMouse(bool grab_mouse) {
this->grab_mouse = grab_mouse;
#if SDL_VERSION_ATLEAST(2,0,0)
if(grab_mouse) {
if(!SDL_GetRelativeMouseMode()) {
// NOTE: SDL_SetWindowGrab needed as well to work around this bug:
// http://bugzilla.libsdl.org/show_bug.cgi?id=1967
SDL_SetWindowGrab(display.sdl_window, SDL_TRUE);
SDL_SetRelativeMouseMode(SDL_TRUE);
}
} else {
if(SDL_GetRelativeMouseMode()) {
SDL_SetWindowGrab(display.sdl_window, SDL_FALSE);
SDL_SetRelativeMouseMode(SDL_FALSE);
SDL_WarpMouseInWindow(display.sdl_window, mousepos.x, mousepos.y);
}
}
#endif
#if not SDL_VERSION_ATLEAST(2,0,0)
if(!grab_mouse) {
// restore old mouse position
SDL_WarpMouse(mousepos.x, mousepos.y);
}
#endif
cursor.showCursor(!grab_mouse);
}
void Gource::mouseMove(SDL_MouseMotionEvent *e) {
if(commitlog==0) return;
if(gGourceSettings.hide_mouse) return;
if(grab_mouse) {
#if not SDL_VERSION_ATLEAST(2,0,0)
int warp_x = display.width/2;
int warp_y = display.height/2;
//this is an even we generated by warping the mouse below
if(e->x == warp_x && e->y == warp_y) return;
SDL_WarpMouse(warp_x, warp_y);
#endif
}
bool rightmouse = cursor.rightButtonPressed();
//move camera in direction the user dragged the mouse
if(mousedragged || rightmouse) {
vec2 mag( e->xrel, e->yrel );
//if right mouse button is held while dragging, rotate tree instead of
//moving camera
if(rightmouse) {
manual_rotate = true;
if(fabs(mag.x) > fabs(mag.y)) {
rotate_angle = std::min(1.0f, (float) fabs(mag.x) / 10.0f) * 5.0f * DEGREES_TO_RADIANS;
if(mag.x < 0.0f) rotate_angle = -rotate_angle;
} else {
rotate_angle = std::min(1.0f, (float) fabs(mag.y) / 10.0f) * 5.0f * DEGREES_TO_RADIANS;
if(mag.y < 0.0f) rotate_angle = -rotate_angle;
}
return;
}
cursor_move += mag;
return;
}
if(grab_mouse) return;
mousepos = vec2(e->x, e->y);
mousemoved=true;
cursor.updatePos(mousepos);
float pos;
if(!gGourceSettings.hide_progress && slider.mouseOver(mousepos, &pos)) {
std::string date = dateAtPosition(pos);
slider.setCaption(date);
}
}
void Gource::zoom(bool zoomin) {
manual_zoom = true;
float zoom_multi = 1.1;
float distance = -camera.getDest().z;
if(zoomin) {
distance /= zoom_multi;
if(distance < gGourceSettings.camera_zoom_min) distance = gGourceSettings.camera_zoom_min;
} else {
distance *= zoom_multi;
if(distance > gGourceSettings.camera_zoom_max) distance = gGourceSettings.camera_zoom_max;
}
camera.setDistance(distance);
}
#if SDL_VERSION_ATLEAST(2,0,0)
void Gource::mouseWheel(SDL_MouseWheelEvent *e) {
if(e->y > 0) {
zoom(true);
}
if(e->y < 0) {
zoom(false);
}
}
#endif
void Gource::mouseClick(SDL_MouseButtonEvent *e) {
if(commitlog==0) return;
if(gGourceSettings.hide_mouse) return;
//mouse click should stop the cursor being idle
cursor.updatePos(mousepos);
if(e->type == SDL_MOUSEBUTTONUP) {
if(e->button == SDL_BUTTON_LEFT) {
//stop dragging mouse, return the mouse to where
//the user started dragging.
mousedragged=false;
}
if(e->button == SDL_BUTTON_LEFT || e->button == SDL_BUTTON_RIGHT) {
if(!cursor.buttonPressed()) {
grabMouse(false);
}
}
}
if(e->type != SDL_MOUSEBUTTONDOWN) return;
#if not SDL_VERSION_ATLEAST(2,0,0)
//wheel up
if(e->button == SDL_BUTTON_WHEELUP) {
zoom(true);
return;
}
//wheel down
if(e->button == SDL_BUTTON_WHEELDOWN) {
zoom(false);
return;
}
#endif
if(e->button == SDL_BUTTON_MIDDLE) {
toggleCameraMode();
return;
}
if(e->button == SDL_BUTTON_RIGHT) {
grabMouse(true);
return;
}
if(e->button == SDL_BUTTON_LEFT) {
//mousepos = vec2(e->x, e->y);
mouseclicked=true;
if(canSeek()) {
float position;
if(slider.click(mousepos, &position)) {
seekTo(position);
}
}
}
}
void Gource::showSplash() {
splash = 15.0;
}
void Gource::setFrameExporter(FrameExporter* exporter, int video_framerate) {
int gource_framerate = video_framerate;
this->framecount = 0;
this->frameskip = 0;
//calculate appropriate tick rate for video frame rate
while(gource_framerate<60) {
gource_framerate += video_framerate;
this->frameskip++;
}
this->max_tick_rate = 1.0f / ((float) gource_framerate);
this->frameExporter = exporter;
}
void Gource::setCameraMode(const std::string& mode) {
setCameraMode(mode == "track");
}
void Gource::setCameraMode(bool track_users) {
manual_rotate = false;
manual_zoom = false;
this->track_users = track_users;
if(selectedUser!=0) camera.lockOn(track_users);
manual_camera = false;
gGourceSettings.camera_mode = track_users ? "track" : "overview";
}
void Gource::toggleCameraMode() {
setCameraMode(!track_users);
}
//trace click of mouse on background
void Gource::selectBackground() {
//is the left mouse button down?
if(!cursor.leftButtonPressed()) return;
selectUser(0);
manual_camera = true;
mousedragged=true;
grabMouse(true);
}
//select a user, deselect current file/user
void Gource::selectUser(RUser* user) {
//already selected do nothing
if(user!=0 && selectedUser==user) return;
if(selectedFile != 0) {
selectedFile->setSelected(false);
selectedFile = 0;
}
// deselect current user
if(selectedUser != 0) {
selectedUser->setSelected(false);
selectedUser = 0;
}
//if no user return
if(user == 0) {
camera.lockOn(false);
return;
}
selectedUser = user;
//select user, lock on camera
selectedUser->setSelected(true);
if(track_users) camera.lockOn(true);
}
//select a file, deselect current file/user
void Gource::selectFile(RFile* file) {
//already selected do nothing
if(file!=0 && selectedFile==file) return;
if(selectedUser != 0) {
selectedUser->setSelected(false);
selectedUser = 0;
}
// deselect current file
if(selectedFile != 0) {
selectedFile->setSelected(false);
selectedFile = 0;
}
//if no file return
if(file == 0) {
return;
}
selectedFile = file;
//select user, lock on camera
selectedFile->setSelected(true);
}
void Gource::selectNextUser() {
//debugLog("selectNextUser()\n");
int currTagId = -1;
if(selectedUser != 0) {
currTagId = selectedUser->getTagID();
}
RUser* newSelectedUser = 0;
// find next user after this user
for(std::map::iterator it = tagusermap.begin(); it != tagusermap.end(); it++) {
RUser* user = it->second;
if(!user->isInactive() && user->getTagID() > currTagId && user->getAlpha() >= 1.0) {
newSelectedUser = user;
break;
}
}
// just get first user
if(newSelectedUser == 0) {
for(std::map::iterator it = tagusermap.begin(); it != tagusermap.end(); it++) {
RUser* user = it->second;
if(!user->isInactive() && user->getAlpha() >= 1.0) {
newSelectedUser = user;
break;
}
}
}
selectUser(newSelectedUser);
}
void Gource::keyPress(SDL_KeyboardEvent *e) {
if (e->type == SDL_KEYUP) return;
if (e->type == SDL_KEYDOWN) {
#if SDL_VERSION_ATLEAST(2,0,0)
bool key_escape = e->keysym.sym == SDLK_ESCAPE;
bool key_tab = e->keysym.sym == SDLK_TAB;
bool key_space = e->keysym.sym == SDLK_SPACE;
bool key_plus = e->keysym.sym == SDLK_PLUS;
bool key_equals = e->keysym.sym == SDLK_EQUALS;
bool key_minus = e->keysym.sym == SDLK_MINUS;
bool key_leftbracket = e->keysym.sym == SDLK_LEFTBRACKET;
bool key_rightbracket = e->keysym.sym == SDLK_RIGHTBRACKET;
bool key_comma = e->keysym.sym == SDLK_COMMA;
bool key_period = e->keysym.sym == SDLK_PERIOD;
bool key_slash = e->keysym.sym == SDLK_SLASH;
#else
bool key_escape = e->keysym.unicode == SDLK_ESCAPE;
bool key_tab = e->keysym.unicode == SDLK_TAB;
bool key_space = e->keysym.unicode == SDLK_SPACE;
bool key_plus = e->keysym.unicode == SDLK_PLUS;
bool key_equals = e->keysym.unicode == SDLK_EQUALS;
bool key_minus = e->keysym.unicode == SDLK_MINUS;
bool key_leftbracket = e->keysym.unicode == SDLK_LEFTBRACKET;
bool key_rightbracket = e->keysym.unicode == SDLK_RIGHTBRACKET;
bool key_comma = e->keysym.unicode == SDLK_COMMA;
bool key_period = e->keysym.unicode == SDLK_PERIOD;
bool key_slash = e->keysym.unicode == SDLK_SLASH;
#endif
if (key_escape) {
quit();
}
if(commitlog==0) return;
if(e->keysym.sym == SDLK_F12) {
take_screenshot = true;
}
if (e->keysym.sym == SDLK_q) {
debug = !debug;
}
if (e->keysym.sym == SDLK_w) {
trace_debug = !trace_debug;
}
if (e->keysym.sym == SDLK_m) {
//toggle mouse visiblity unless mouse clicked/pressed/dragged
if(!(mousedragged || mouseclicked || cursor.leftButtonPressed() )) {
if(!cursor.isHidden()) {
cursor.showCursor(false);
gGourceSettings.hide_mouse = true;
} else {
cursor.showCursor(true);
gGourceSettings.hide_mouse = false;
}
}
}
if (e->keysym.sym == SDLK_n) {
idle_time = gGourceSettings.auto_skip_seconds;
}
if (e->keysym.sym == SDLK_y) {
gGourceQuadTreeDebug = !gGourceQuadTreeDebug;
}
if (e->keysym.sym == SDLK_t) {
gGourceSettings.hide_tree = !gGourceSettings.hide_tree;
}
if (e->keysym.sym == SDLK_g) {
gGourceSettings.hide_users = !gGourceSettings.hide_users;
}
if (e->keysym.sym == SDLK_u) {
if(gGourceSettings.hide_usernames && !gGourceSettings.highlight_all_users) {
gGourceSettings.hide_usernames = false;
gGourceSettings.highlight_all_users = true;
} else if (gGourceSettings.highlight_all_users && !gGourceSettings.hide_usernames) {
gGourceSettings.hide_usernames = false;
gGourceSettings.highlight_all_users = false;
} else {
gGourceSettings.hide_usernames = true;
gGourceSettings.highlight_all_users = false;
}
}
if (e->keysym.sym == SDLK_d) {
if(gGourceSettings.hide_dirnames && !gGourceSettings.highlight_dirs) {
gGourceSettings.hide_dirnames = false;
gGourceSettings.highlight_dirs = true;
} else if(gGourceSettings.highlight_dirs && !gGourceSettings.hide_dirnames) {
gGourceSettings.hide_dirnames = false;
gGourceSettings.highlight_dirs = false;
} else {
gGourceSettings.hide_dirnames = true;
gGourceSettings.highlight_dirs = false;
}
}
if (e->keysym.sym == SDLK_f) {
if(gGourceSettings.hide_filenames && !gGourceSettings.file_extensions) {
gGourceSettings.hide_filenames = false;
} else if(!gGourceSettings.hide_filenames && gGourceSettings.file_extensions) {
gGourceSettings.file_extensions = false;
gGourceSettings.hide_filenames = true;
} else {
gGourceSettings.file_extensions = true;
gGourceSettings.hide_filenames = false;
}
update_file_labels = true;
}
if (e->keysym.sym == SDLK_r) {
gGourceSettings.hide_root = !gGourceSettings.hide_root;
}
if (e->keysym.sym == SDLK_k) {
gGourceSettings.show_key = !gGourceSettings.show_key;
}
if(e->keysym.sym == SDLK_c) {
splash = 15.0f;
}
if (e->keysym.sym == SDLK_v) {
toggleCameraMode();
}
if (e->keysym.sym == SDLK_p) {
if(GLEW_VERSION_2_0 && bloom_shader != 0) {
gGourceSettings.ffp = !gGourceSettings.ffp;
}
}
if (e->keysym.sym == SDLK_z) {
gGourceGravity = !gGourceGravity;
}
if (e->keysym.sym == SDLK_s) {
recolour=true;
}
if(key_tab) {
selectNextUser();
}
if (key_space) {
paused = !paused;
}
if (key_equals || key_plus) {
if(gGourceSettings.days_per_second>=1.0) {
gGourceSettings.days_per_second = std::min(30.0f, floorf(gGourceSettings.days_per_second) + 1.0f);
} else {
gGourceSettings.days_per_second = std::min(1.0f, gGourceSettings.days_per_second * 2.0f);
}
}
if (key_minus) {
if(gGourceSettings.days_per_second>1.0) {
gGourceSettings.days_per_second = std::max(0.0f, floorf(gGourceSettings.days_per_second) - 1.0f);
} else {
gGourceSettings.days_per_second = std::max(0.0f, gGourceSettings.days_per_second * 0.5f);
}
}
if(e->keysym.sym == SDLK_KP_MINUS) {
zoom(true);
}
if(e->keysym.sym == SDLK_KP_PLUS) {
zoom(false);
}
if(key_leftbracket) {
gGourceForceGravity /= 1.1;
}
if(key_rightbracket) {
gGourceForceGravity *= 1.1;
}
if(key_period) {
if(gGourceSettings.time_scale>=1.0) {
gGourceSettings.time_scale = std::min(4.0f, floorf(gGourceSettings.time_scale) + 1.0f);
} else {
gGourceSettings.time_scale = std::min(1.0f, gGourceSettings.time_scale * 2.0f);
}
}
if(key_comma) {
if(gGourceSettings.time_scale>1.0) {
gGourceSettings.time_scale = std::max(0.0f, floorf(gGourceSettings.time_scale) - 1.0f);
} else {
gGourceSettings.time_scale = std::max(0.25f, gGourceSettings.time_scale * 0.5f);
}
}
if(key_slash) {
gGourceSettings.time_scale = 1.0f;
}
}
}
void Gource::reset() {
camera.reset();
user_bounds.reset();
active_user_bounds.reset();
dir_bounds.reset();
commitqueue.clear();
tagfilemap.clear();
tagusermap.clear();
gGourceRemovedFiles.clear();
if(userTree!=0) delete userTree;
if(dirNodeTree!=0) delete dirNodeTree;
recolour = false;
update_file_labels = false;
userTree = 0;
dirNodeTree = 0;
selectedFile = 0;
hoverFile = 0;
use_selection_bounds = false;
selection_bounds.reset();
manual_rotate = false;
manual_zoom = false;
rotation_remaining_angle = 0.0f;
message_timer = 0.0f;
cursor_move = vec2(0.0f, 0.0f);
selectedUser = 0;
hoverUser = 0;
manual_camera = false;
grab_mouse = false;
mouseclicked=false;
mousemoved=false;
mousedragged = false;
commitqueue_max_size = 100;
rotate_angle = 0.0f;
if(root!=0) delete root;
root = new RDirNode(0, "/");
//delete users
for(std::map::iterator it = users.begin(); it != users.end(); it++) {
delete it->second;
}
users.clear();
//delete
for(std::map::iterator it = files.begin(); it != files.end(); it++) {
delete it->second;
}
for(std::list::iterator it = captions.begin(); it!=captions.end();it++) {
delete (*it);
}
for(std::list::iterator it = active_captions.begin(); it!=active_captions.end();it++) {
delete (*it);
}
files.clear();
captions.clear();
active_captions.clear();
last_percent = 0.0;
file_key.clear();
idle_time=0;
currtime=0;
lasttime=0;
subseconds=0.0;
tag_seq = 1;
commit_seq = 1;
}
void Gource::deleteFile(RFile* file) {
//debugLog("removing file %s\n", file->fullpath.c_str());
root->removeFile(file);
if(hoverFile == file) {
hoverFile = 0;
}
if(selectedFile == file) {
selectFile(0);
}
//remove from any users with actions against this file - wrong way around? meh
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
RUser* user = it->second;
user->fileRemoved(file);
}
files.erase(file->fullpath);
tagfilemap.erase(file->getTagID());
file_key.dec(file);
//debugLog("removed file %s\n", file->fullpath.c_str());
delete file;
}
RFile* Gource::addFile(const RCommitFile& cf) {
//if we already have max files in circulation
//we cant add any more
if(gGourceSettings.max_files > 0 && files.size() >= gGourceSettings.max_files) return 0;
//see if this is a directory
std::string file_as_dir = cf.filename;
if(file_as_dir[file_as_dir.size()-1] != '/') file_as_dir.append("/");
if(root->isDir(file_as_dir)) return 0;
int tagid = tag_seq++;
RFile* file = new RFile(cf.filename, cf.colour, vec2(0.0,0.0), tagid);
files[cf.filename] = file;
tagfilemap[tagid] = file;
root->addFile(file);
file_key.inc(file);
while(root->getParent() != 0) {
debugLog("parent changed to %s", root->getPath().c_str());
root = root->getParent();
}
return file;
}
RUser* Gource::addUser(const std::string& username) {
vec2 pos;
if(dir_bounds.area() > 0) {
pos = dir_bounds.centre();
} else {
pos = vec2(0,0);
}
int tagid = tag_seq++;
RUser* user = new RUser(username, pos, tagid);
users[username] = user;
tagusermap[tagid] = user;
//debugLog("added user %s, tagid = %d\n", username.c_str(), tagid);
return user;
}
void Gource::deleteUser(RUser* user) {
if(hoverUser == user) {
hoverUser = 0;
}
if(selectedUser == user) {
selectUser(0);
}
users.erase(user->getName());
tagusermap.erase(user->getTagID());
//debugLog("deleted user %s, tagid = %d\n", user->getName().c_str(), user->getTagID());
delete user;
}
bool Gource::canSeek() {
if(gGourceSettings.hide_progress || commitlog == 0 || !commitlog->isSeekable()) return false;
return true;
}
void Gource::seekTo(float percent) {
//debugLog("seekTo(%.2f)\n", percent);
if(commitlog == 0 || !commitlog->isSeekable()) return;
// end pause
if(paused) paused = false;
reset();
commitlog->seekTo(percent);
}
Regex caption_regex("^(?:\\xEF\\xBB\\xBF)?([0-9]+)\\|(.+)$");
void Gource::loadCaptions() {
if(!gGourceSettings.caption_file.size()) return;
std::ifstream cf(gGourceSettings.caption_file.c_str());
if(!cf.is_open()) return;
std::string line;
std::vector matches;
time_t last_timestamp = 0;
while(std::getline(cf, line)) {
ConfFile::trim(line);
if(!caption_regex.match(line, &matches)) continue;
time_t timestamp = atol(matches[0].c_str());
std::string caption = RCommitLog::filter_utf8(matches[1]);
//ignore older captions
if(timestamp < currtime) continue;
//ignore out of order captions
if(timestamp < last_timestamp) continue;
last_timestamp = timestamp;
//fprintf(stderr, "%d %s\n", timestamp, matches[1].c_str());
captions.push_back(new RCaption(caption, timestamp, fontcaption));
}
//fprintf(stderr, "loaded %d captions\n", captions.size());
}
void Gource::readLog() {
if(stop_position_reached) return;
//debugLog("readLog()\n");
// read commits until either we are ahead of currtime
while((commitlog->hasBufferedCommit() || !commitlog->isFinished()) && (commitqueue.empty() || (commitqueue.back().timestamp <= currtime && commitqueue.size() < commitqueue_max_size)) ) {
RCommit commit;
if(!commitlog->nextCommit(commit)) {
if(!commitlog->isSeekable()) {
break;
}
continue;
}
if(gGourceSettings.stop_timestamp != 0 && commit.timestamp > gGourceSettings.stop_timestamp) {
stop_position_reached = true;
break;
}
commitqueue.push_back(commit);
}
if(first_read && commitqueue.empty()) {
throw SDLAppException("no commits found");
}
first_read = false;
if(!commitlog->isFinished() && commitlog->isSeekable()) {
last_percent = commitlog->getPercent();
slider.setPercent(last_percent);
}
bool is_finished = commitlog->isFinished();
if(
// end reached
(gGourceSettings.stop_at_end && is_finished)
// stop position reached
|| (gGourceSettings.stop_position > 0.0 && commitlog->isSeekable() && (is_finished || last_percent >= gGourceSettings.stop_position))
) {
stop_position_reached = true;
}
// useful to figure out where we have crashes
//debugLog("current date: %s\n", displaydate.c_str());
}
void Gource::processCommit(RCommit& commit, float t) {
//find files of this commit or create it
for(std::list::iterator it = commit.files.begin(); it != commit.files.end(); it++) {
RCommitFile& cf = *it;
RFile* file = 0;
//is this a directory (ends in slash)
//deleting a directory - find directory: then for each file, remove each file
if(!cf.filename.empty() && cf.filename[cf.filename.size()-1] == '/') {
//ignore unless it is a delete: we cannot 'add' or 'modify' a directory
//as its not a physical entity in Gource, only files are.
if(cf.action != "D") continue;
std::list dirs;
root->findDirs(cf.filename, dirs);
for(std::list::iterator it = dirs.begin(); it != dirs.end(); it++) {
RDirNode* dir = (*it);
//fprintf(stderr, "deleting everything under %s because of %s\n", dir->getPath().c_str(), cf.filename.c_str());
//foreach dir files
std::list dir_files;
dir->getFilesRecursive(dir_files);
for(std::list::iterator it = dir_files.begin(); it != dir_files.end(); it++) {
RFile* file = *it;
addFileAction(commit.username, cf, file, t);
}
}
continue;
}
std::map::iterator seen_file = files.find(cf.filename);
if(seen_file != files.end()) file = seen_file->second;
if(file == 0) {
file = addFile(cf);
if(!file) continue;
}
addFileAction(commit.username, cf, file, t);
}
}
void Gource::addFileAction(const std::string& username, const RCommitFile& cf, RFile* file, float t) {
//create user if havent yet. do it here to ensure at least one of there files
//was added (incase we hit gGourceSettings.max_files)
//find user of this commit or create them
RUser* user = 0;
//see if user already exists
std::map::iterator seen_user = users.find(username);
if(seen_user != users.end()) user = seen_user->second;
if(user == 0) {
user = addUser(username);
if(gGourceSettings.highlight_all_users) user->setHighlighted(true);
else {
// set the highlighted flag if name matches a highlighted user
for(std::vector::iterator hi = gGourceSettings.highlight_users.begin(); hi != gGourceSettings.highlight_users.end(); hi++) {
std::string highlight = *hi;
if(!highlight.empty() && user->getName() == highlight) {
user->setHighlighted(true);
break;
}
}
}
}
//create action
RAction* userAction = 0;
commit_seq++;
if(cf.action == "D") {
userAction = new RemoveAction(user, file, t);
} else {
if(cf.action == "A") {
userAction = new CreateAction(user, file, t);
} else {
userAction = new ModifyAction(user, file, t, cf.colour);
}
}
user->addAction(userAction);
}
void Gource::interactUsers() {
// update quad tree
Bounds2D quadtreebounds = user_bounds;
quadtreebounds.min -= vec2(1.0f, 1.0f);
quadtreebounds.max += vec2(1.0f, 1.0f);
update_user_tree_time = SDL_GetTicks();
if(userTree != 0) delete userTree;
int max_depth = 1;
//dont use deep quad tree initially when all the nodes are in one place
if(dir_bounds.area() > 10000.0) {
max_depth = gGourceMaxQuadTreeDepth;
}
userTree = new QuadTree(quadtreebounds, max_depth, 1);
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
RUser* user = it->second;
userTree->addItem(user);
}
//move users - interact with other users and files
for(std::map::iterator ait = users.begin(); ait!=users.end(); ait++) {
RUser* a = ait->second;
UserForceFunctor uff(a);
userTree->visitItemsInBounds(a->quadItemBounds, uff);
gGourceUserInnerLoops += uff.getLoopCount();
a->applyForceToActions();
}
update_user_tree_time = SDL_GetTicks() - update_user_tree_time;
}
void Gource::updateBounds() {
user_bounds.reset();
active_user_bounds.reset();
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
RUser* user = it->second;
user->updateQuadItemBounds();
user_bounds.update(user->quadItemBounds);
if(!user->isIdle()) {
active_user_bounds.update(user->quadItemBounds);
}
}
dir_bounds.reset();
for(std::map::iterator it = gGourceDirMap.begin(); it!=gGourceDirMap.end(); it++) {
RDirNode* node = it->second;
if(node->isVisible()) {
node->updateQuadItemBounds();
dir_bounds.update(node->quadItemBounds);
}
}
}
void Gource::updateUsers(float t, float dt) {
std::vector inactiveUsers;
size_t idle_users = 0;
// move users
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
RUser* u = it->second;
u->logic(t, dt);
//deselect user if fading out from inactivity
if(u->isFading() && selectedUser == u) {
selectUser(0);
}
if(u->isInactive()) {
inactiveUsers.push_back(u);
}
if(u->isIdle()) {
idle_users++;
} else {
//if nothing is selected, and this user is active and this user is the specified user to follow, select them
if(selectedUser == 0 && selectedFile == 0) {
for(std::vector::iterator ui = gGourceSettings.follow_users.begin(); ui != gGourceSettings.follow_users.end(); ui++) {
std::string follow = *ui;
if(follow.size() && u->getName() == follow) {
selectUser(u);
}
}
}
}
}
if(users.empty() && stop_position_reached) {
appFinished = true;
}
//nothing is moving so increment idle
if(idle_users==users.size()) {
idle_time += dt;
} else {
idle_time = 0;
}
// delete inactive users
for(std::vector::iterator it = inactiveUsers.begin(); it != inactiveUsers.end(); it++) {
deleteUser(*it);
}
}
void Gource::interactDirs() {
// update quad tree
Bounds2D quadtreebounds = dir_bounds;
quadtreebounds.min -= vec2(1.0f, 1.0f);
quadtreebounds.max += vec2(1.0f, 1.0f);
update_dir_tree_time = SDL_GetTicks();
if(dirNodeTree !=0) delete dirNodeTree;
int max_depth = 1;
//dont use deep quad tree initially when all the nodes are in one place
if(dir_bounds.area() > 10000.0) {
max_depth = gGourceMaxQuadTreeDepth;
}
dirNodeTree = new QuadTree(quadtreebounds, max_depth, 1);
//apply forces with other directories
for(std::map::iterator it = gGourceDirMap.begin(); it!=gGourceDirMap.end(); it++) {
RDirNode* node = it->second;
if(!node->empty()) {
dirNodeTree->addItem(node);
}
}
update_dir_tree_time = SDL_GetTicks() - update_dir_tree_time;
}
void Gource::updateDirs(float dt) {
root->applyForces(*dirNodeTree);
root->logic(dt);
}
void Gource::updateTime(time_t display_time) {
if(display_time == 0) {
displaydate = "";
return;
}
//display date
char datestr[256];
struct tm* timeinfo = localtime ( &display_time );
strftime(datestr, 256, gGourceSettings.date_format.c_str(), timeinfo);
displaydate = datestr;
//avoid wobbling by only moving font if change is sufficient
int date_offset = (int) fontmedium.getWidth(displaydate) * 0.5;
if(abs(date_x_offset - date_offset) > 5) date_x_offset = date_offset;
}
void Gource::updateCamera(float dt) {
//camera tracking
bool auto_rotate = !manual_rotate && !gGourceSettings.disable_auto_rotate;
if(manual_camera) {
if(glm::length2(cursor_move) > 0.0f) {
float cam_rate = ( -camera.getPos().z ) / ( 5000.0f );
vec3 cam_pos = camera.getPos();
vec2 cursor_delta = cursor_move * cam_rate * 10.0f;
cam_pos.x += cursor_delta.x;
cam_pos.y += cursor_delta.y;
camera.setPos(cam_pos, true);
camera.stop();
auto_rotate = false;
cursor_move = vec2(0.0f, 0.0f);
}
} else {
Bounds2D cambounds;
if(track_users && (selectedFile !=0 || selectedUser !=0)) {
Bounds2D focusbounds;
if(selectedUser !=0) focusbounds.update(selectedUser->getPos());
if(selectedFile !=0) focusbounds.update(selectedFile->getAbsolutePos());
cambounds = focusbounds;
} else {
if(track_users && idle_time==0) cambounds = active_user_bounds;
else cambounds = dir_bounds;
}
camera.adjust(cambounds, !manual_zoom);
}
camera.logic(dt);
//automatically rotate camera
if(auto_rotate) {
if(rotation_remaining_angle > 0.0f) {
//rotation through 90 degrees, speed peaks at half way
float angle_rate = std::max(dt, (float) (1.0f - fabs((rotation_remaining_angle / 90.0f) - 0.5) * 2.0f)) * dt;
rotate_angle = std::min(rotation_remaining_angle, 90.0f * angle_rate);
rotation_remaining_angle -= rotate_angle;
rotate_angle *= DEGREES_TO_RADIANS;
} else if(!cursor.rightButtonPressed() && dir_bounds.area() > 10000.0f) {
float aspect_ratio = display.width / (float) display.height;
float bounds_ratio = (aspect_ratio > 1.0f) ? dir_bounds.width() / dir_bounds.height() : dir_bounds.height() / dir_bounds.width();
if(bounds_ratio < 0.67f) {
rotation_remaining_angle = 90.0f;
}
}
} else {
rotation_remaining_angle = 0.0f;
}
}
//change the string hashing seed and recolour files and users
void Gource::changeColours() {
gStringHashSeed = (rand() % 10000) + 1;
for(std::map::iterator it = users.begin(); it != users.end(); it++) {
it->second->colourize();
}
for(std::map::iterator it = files.begin(); it != files.end(); it++) {
it->second->colourize();
}
file_key.colourize();
}
void Gource::logic(float t, float dt) {
if(gGourceSettings.shutdown && logmill->isFinished()) {
appFinished=true;
return;
}
if(message_timer>0.0f) message_timer -= dt;
if(splash>0.0f) splash -= dt;
//init log file
if(commitlog == 0) {
if(!logmill->isFinished()) return;
commitlog = logmill->getLog();
std::string error = logmill->getError();
if(!commitlog) {
if(!error.empty()) {
throw SDLAppException(error);
} else {
if(frameExporter!=0) frameExporter->stop();
SDL_Quit();
SDLAppException exception("");
exception.setShowHelp(true);
throw exception;
}
}
if(gGourceSettings.start_position>0.0) {
seekTo(gGourceSettings.start_position);
}
}
file_key.logic(dt);
slider.logic(dt);
bool right = false;
bool left = false;
bool up = false;
bool down = false;
#if SDL_VERSION_ATLEAST(2,0,0)
const Uint8 *keystate = SDL_GetKeyboardState(0);
right = keystate[SDL_SCANCODE_RIGHT];
left = keystate[SDL_SCANCODE_LEFT];
up = keystate[SDL_SCANCODE_UP];
down = keystate[SDL_SCANCODE_DOWN];
#else
Uint8 *keystate = SDL_GetKeyState(0);
right = keystate[SDLK_RIGHT];
left = keystate[SDLK_LEFT];
up = keystate[SDLK_UP];
down = keystate[SDLK_DOWN];
#endif
if(right) {
cursor_move.x = 10.0;
manual_camera = true;
}
if(left) {
cursor_move.x = -10.0;
manual_camera = true;
}
if(up) {
cursor_move.y = -10.0;
manual_camera = true;
}
if(down) {
cursor_move.y = 10.0;
manual_camera = true;
}
//apply rotation
if(rotate_angle != 0.0f) {
float s = sinf(rotate_angle);
float c = cosf(rotate_angle);
root->rotate(s, c);
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
RUser* user = it->second;
vec2 userpos = user->getPos();
user->setPos(rotate_vec2(userpos, s, c));
}
rotate_angle = 0.0f;
}
if(recolour) {
changeColours();
recolour = false;
}
if(update_file_labels) {
for(std::map::iterator it = files.begin(); it != files.end(); it++) {
it->second->updateLabel();
}
update_file_labels = false;
}
//still want to update camera while paused
if(paused) {
updateBounds();
interactUsers();
interactDirs();
updateCamera(dt);
return;
}
// get more entries
if(commitqueue.empty()) {
readLog();
}
//loop in attempt to find commits
if(commitqueue.empty() && commitlog->isSeekable() && gGourceSettings.loop) {
first_read=true;
seekTo(0.0);
readLog();
}
if(currtime==0 && !commitqueue.empty()) {
currtime = lasttime = commitqueue[0].timestamp;
subseconds = 0.0;
loadCaptions();
}
//set current time
float time_inc = (dt * 86400.0 * gGourceSettings.days_per_second);
int seconds = (int) time_inc;
subseconds += time_inc - ((float) seconds);
if(subseconds >= 1.0) {
currtime += (int) subseconds;
subseconds -= (int) subseconds;
}
currtime += seconds;
// delete files
for(std::vector::iterator it = gGourceRemovedFiles.begin(); it != gGourceRemovedFiles.end(); it++) {
deleteFile(*it);
}
gGourceRemovedFiles.clear();
//add commits up until the current time
while(!commitqueue.empty()) {
RCommit commit = commitqueue.front();
//auto skip ahead, unless stop_position_reached
if(gGourceSettings.auto_skip_seconds>=0.0 && idle_time >= gGourceSettings.auto_skip_seconds && !stop_position_reached) {
currtime = lasttime = commit.timestamp;
idle_time = 0.0;
}
if(commit.timestamp > currtime) break;
processCommit(commit, t);
// allow for non linear time lines
if(lasttime > commit.timestamp) {
currtime = commit.timestamp;
}
lasttime = commit.timestamp;
subseconds = 0.0;
commitqueue.pop_front();
}
slider.resize();
float caption_height = fontcaption.getMaxHeight();
float caption_start_y = canSeek() ? slider.getBounds().min.y - 35.0f : display.height - fontmedium.getMaxHeight() - 20.0f;
if(!gGourceSettings.title.empty()) {
caption_start_y = glm::min( caption_start_y, display.height - 20.0f - fontmedium.getMaxHeight() );
}
caption_start_y = glm::floor(caption_start_y);
if(reloaded) {
// reposition active captions
float y = caption_start_y;
for(RCaption* cap : active_captions) {
int caption_offset_x = gGourceSettings.caption_offset;
// centre
if(caption_offset_x == 0) {
caption_offset_x = (display.width / 2) - (fontcaption.getWidth(cap->getCaption()) / 2);
} else if(caption_offset_x < 0) {
caption_offset_x = display.width + caption_offset_x - fontcaption.getWidth(cap->getCaption());
}
cap->setPos(vec2(caption_offset_x, y));
y -= caption_height;
}
reloaded = false;
}
while(captions.size() > 0) {
RCaption* caption = captions.front();
if(caption->timestamp > currtime) break;
float y = caption_start_y;
while(1) {
bool found = false;
for(RCaption* cap : active_captions) {
if(cap->getPos().y == y) {
found = true;
break;
}
}
if(!found) break;
y -= caption_height;
}
int caption_offset_x = gGourceSettings.caption_offset;
// centre
if(caption_offset_x == 0) {
caption_offset_x = (display.width / 2) - (fontcaption.getWidth(caption->getCaption()) / 2);
} else if(caption_offset_x < 0) {
caption_offset_x = display.width + caption_offset_x - fontcaption.getWidth(caption->getCaption());
}
caption->setPos(vec2(caption_offset_x, y));
captions.pop_front();
active_captions.push_back(caption);
}
for(std::list::iterator it = active_captions.begin(); it!=active_captions.end();) {
RCaption* caption = *it;
caption->logic(dt);
if(caption->isFinished()) {
it = active_captions.erase(it);
delete caption;
continue;
}
it++;
}
//reset loop counters
gGourceUserInnerLoops = 0;
gGourceDirNodeInnerLoops = 0;
gGourceFileInnerLoops = 0;
updateBounds();
interactUsers();
updateUsers(t, dt);
interactDirs();
updateDirs(dt);
updateCamera(dt);
updateTime(!commitqueue.empty() ? currtime : lasttime);
}
void Gource::mousetrace(float dt) {
vec3 cam_pos = camera.getPos();
vec2 projected_mouse = vec2( -(mousepos.x * 2.0f - ((float)display.width)) / ((float)display.height),
(1.0f - (2.0f * mousepos.y) / ((float)display.height)))
* cam_pos.z;
projected_mouse.x += cam_pos.x;
projected_mouse.y += cam_pos.y;
//find user/file under mouse
RFile* fileSelection = 0;
RUser* userSelection = 0;
if(!gGourceSettings.hide_users) {
std::set userset;
userTree->getItemsAt(userset, projected_mouse);
for(std::set::iterator it = userset.begin(); it != userset.end(); it++) {
RUser* user = (RUser*) *it;
if(!user->isFading() && user->quadItemBounds.contains(projected_mouse)) {
userSelection = user;
break;
}
}
}
if(!userSelection && !gGourceSettings.hide_files) {
std::set dirset;
dirNodeTree->getItemsAt(dirset, projected_mouse);
for(std::set::iterator it = dirset.begin(); it != dirset.end(); it++) {
RDirNode* dir = (RDirNode*) *it;
const std::list* files = dir->getFiles();
for(std::list::const_iterator fi = files->begin(); fi != files->end(); fi++) {
RFile* file = *fi;
if(!file->isHidden() && file->overlaps(projected_mouse)) {
fileSelection = file;
break;
}
}
}
}
// is over a file
if(fileSelection != 0) {
// un hover a user
if(hoverUser != 0) {
hoverUser->setMouseOver(false);
hoverUser = 0;
}
if(fileSelection != hoverFile) {
//deselect previous selection
if(hoverFile !=0) hoverFile->setMouseOver(false);
//select new
fileSelection->setMouseOver(true);
hoverFile = fileSelection;
}
// is over a user
} else if(userSelection != 0) {
// un hover a file
if(hoverFile != 0) {
hoverFile->setMouseOver(false);
hoverFile = 0;
}
if(userSelection != hoverUser) {
//deselect previous selection
if(hoverUser !=0) hoverUser->setMouseOver(false);
//select new
userSelection->setMouseOver(true);
hoverUser = userSelection;
}
} else {
if(hoverFile!=0) hoverFile->setMouseOver(false);
if(hoverUser!=0) hoverUser->setMouseOver(false);
hoverFile=0;
hoverUser=0;
}
if(mouseclicked) {
if(hoverUser!=0) {
camera.lockOn(false);
selectUser(hoverUser);
} else if(hoverFile!=0) {
camera.lockOn(false);
selectFile(hoverFile);
} else {
selectBackground();
}
}
//fprintf(stderr, "end trace\n");
}
void Gource::loadingScreen() {
if(!gGourceDrawBackground) return;
display.mode2D();
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
glColor4f(1.0, 1.0, 1.0, 1.0);
const char* progress = "";
switch(int(runtime*3.0f)%4) {
case 0:
progress = "";
break;
case 1:
progress = ".";
break;
case 2:
progress = "..";
break;
case 3:
progress = "...";
break;
}
const char* action = !gGourceSettings.shutdown ? "Reading Log" : "Aborting";
int width = font.getWidth(action);
font.setColour(vec4(1.0f));
font.print(display.width/2 - width/2, display.height/2 - 10, "%s%s", action, progress);
}
void Gource::drawBackground(float dt) {
if(!gGourceDrawBackground) return;
display.setClearColour(vec4(gGourceSettings.background_colour, gGourceSettings.transparent ? 0.0f : 1.0f));
display.clear();
if(backgroundtex!=0) {
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
glColor4f(1.0, 1.0, 1.0, 1.0);
glBindTexture(GL_TEXTURE_2D, backgroundtex->textureid);
glPushMatrix();
glTranslatef(display.width/2 - backgroundtex->w/2, display.height/2 - backgroundtex->h/2, 0.0f);
glBegin(GL_QUADS);
glTexCoord2f(0.0f,0.0f);
glVertex2i(0, 0);
glTexCoord2f(1.0f,0.0f);
glVertex2i(backgroundtex->w, 0);
glTexCoord2f(1.0f,1.0f);
glVertex2i(backgroundtex->w, backgroundtex->h);
glTexCoord2f(0.0f,1.0f);
glVertex2i(0, backgroundtex->h);
glEnd();
glPopMatrix();
}
}
void Gource::drawScene(float dt) {
//draw edges
draw_edges_time = SDL_GetTicks();
updateAndDrawEdges();
draw_edges_time = SDL_GetTicks() - draw_edges_time;
//draw file shadows
draw_shadows_time = SDL_GetTicks();
drawFileShadows(dt);
draw_shadows_time = SDL_GetTicks() - draw_shadows_time;
//draw actions
draw_actions_time = SDL_GetTicks();
drawActions(dt);
draw_actions_time = SDL_GetTicks() - draw_actions_time;
//draw files
draw_files_time = SDL_GetTicks();
drawFiles(dt);
draw_files_time = SDL_GetTicks() - draw_files_time;
//draw users
draw_users_time = SDL_GetTicks();
drawUserShadows(dt);
drawUsers(dt);
draw_users_time = SDL_GetTicks() - draw_users_time;
//draw bloom
draw_bloom_time = SDL_GetTicks();
drawBloom(dt);
draw_bloom_time = SDL_GetTicks() - draw_bloom_time;
}
void Gource::updateAndDrawEdges() {
root->calcEdges();
if(gGourceSettings.hide_tree) return;
//switch to 2d
glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
glOrtho(0, display.width, display.height, 0, -1.0, 1.0);
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
glLoadIdentity();
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glBindTexture(GL_TEXTURE_2D, beamtex->textureid);
if(!gGourceSettings.ffp) {
edge_vbo.reset();
root->updateEdgeVBO(edge_vbo);
edge_vbo.update();
shadow_shader->setSampler2D("tex", 0);
shadow_shader->setFloat("shadow_strength", 0.5);
shadow_shader->use();
vec2 shadow_offset = vec2(2.0, 2.0);
glPushMatrix();
glTranslatef(shadow_offset.x, shadow_offset.y, 0.0f);
edge_vbo.draw();
glPopMatrix();
glUseProgramObjectARB(0);
edge_vbo.draw();
} else {
root->drawEdgeShadows();
root->drawEdges();
}
//switch back
glMatrixMode(GL_PROJECTION);
glPopMatrix();
glMatrixMode(GL_MODELVIEW);
glPopMatrix();
}
void Gource::drawActions(float dt) {
if(gGourceSettings.hide_users) return;
glEnable(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2D, beamtex->textureid);
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if(!gGourceSettings.ffp) {
action_vbo.draw();
} else {
//draw actions
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
it->second->drawActions(dt);
}
}
}
void Gource::drawBloom(float dt) {
if(gGourceSettings.hide_bloom) return;
glEnable(GL_TEXTURE_2D);
glEnable(GL_BLEND);
glBlendFunc (GL_ONE, GL_ONE);
if(!gGourceSettings.ffp) {
bloom_shader->use();
bloom_vbo.draw();
glUseProgramObjectARB(0);
} else {
//draw 'gourceian blur' around dirnodes
glBindTexture(GL_TEXTURE_2D, bloomtex->textureid);
root->drawBloom(dt);
}
}
void Gource::setMessage(const char* str, ...) {
char msgbuff[1024];
va_list vl;
va_start(vl, str);
vsnprintf(msgbuff, 1024, str, vl);
va_end(vl);
message = std::string(msgbuff);
message_timer = 5.0;
}
void Gource::screenshot() {
//get next free recording name
char pngname[256];
struct stat finfo;
int pngno = 1;
while(pngno < 10000) {
snprintf(pngname, 256, "gource-%04d.png", pngno);
if(stat(pngname, &finfo) != 0) break;
pngno++;
}
//write png
std::string filename(pngname);
PNGWriter png(gGourceSettings.transparent ? 4 : 3);
png.screenshot(filename);
setMessage("Wrote screenshot %s", pngname);
}
void Gource::updateVBOs(float dt) {
if(gGourceSettings.ffp) return;
if(!gGourceSettings.hide_users) {
user_vbo.reset();
action_vbo.reset();
//use a separate vbo for each user texture
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
RUser* user = it->second;
float alpha = user->getAlpha();
vec3 col = user->getColour();
user_vbo.add(user->graphic->textureid, user->getPos() - user->dims*0.5f, user->dims, vec4(col.x, col.y, col.z, alpha));
//draw actions
user->updateActionsVBO(action_vbo);
}
user_vbo.update();
action_vbo.update();
}
if(!gGourceSettings.hide_bloom) {
bloom_vbo.reset();
root->updateBloomVBO(bloom_vbo, dt);
bloom_vbo.update();
}
if(!gGourceSettings.hide_files) {
file_vbo.reset();
root->updateFilesVBO(file_vbo, dt);
file_vbo.update();
}
}
void Gource::drawFileShadows(float dt) {
if(gGourceSettings.hide_files) return;
glEnable(GL_TEXTURE_2D);
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if(!gGourceSettings.ffp) {
shadow_shader->setSampler2D("tex", 0);
shadow_shader->setFloat("shadow_strength", 0.5);
shadow_shader->use();
glBindTexture(GL_TEXTURE_2D, gGourceSettings.file_graphic->textureid);
glPushMatrix();
glTranslatef(2.0f, 2.0f, 0.0f);
file_vbo.draw();
glPopMatrix();
glUseProgramObjectARB(0);
} else {
root->drawShadows(dt);
}
}
void Gource::drawUserShadows(float dt) {
if(gGourceSettings.hide_users) return;
glEnable(GL_TEXTURE_2D);
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if(!gGourceSettings.ffp) {
shadow_shader->setSampler2D("tex", 0);
shadow_shader->setFloat("shadow_strength", 0.5);
shadow_shader->use();
vec2 shadow_offset = vec2(2.0, 2.0) * gGourceSettings.user_scale;
glPushMatrix();
glTranslatef(shadow_offset.x, shadow_offset.y, 0.0f);
user_vbo.draw();
glPopMatrix();
glUseProgramObjectARB(0);
} else {
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
it->second->drawShadow(dt);
}
}
}
void Gource::drawFiles(float dt) {
if(gGourceSettings.hide_files) return;
if(trace_debug) {
glDisable(GL_TEXTURE_2D);
} else {
glEnable(GL_TEXTURE_2D);
}
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if(!gGourceSettings.ffp) {
glBindTexture(GL_TEXTURE_2D, gGourceSettings.file_graphic->textureid);
file_vbo.draw();
} else {
root->drawFiles(dt);
}
}
void Gource::drawUsers(float dt) {
if(gGourceSettings.hide_users) return;
if(trace_debug) {
glDisable(GL_TEXTURE_2D);
} else {
glEnable(GL_TEXTURE_2D);
}
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if(!gGourceSettings.ffp) {
user_vbo.draw();
} else {
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
it->second->draw(dt);
}
}
}
void Gource::draw(float t, float dt) {
display.mode2D();
drawBackground(dt);
if(!commitlog) {
loadingScreen();
return;
}
Frustum frustum(camera.getPos(), camera.getTarget(), camera.getUp(), camera.getFOV(), camera.getZNear(), camera.getZFar());
trace_time = SDL_GetTicks();
if(!gGourceSettings.hide_mouse && cursor.isVisible()) {
mousetrace(dt);
} else {
if(hoverUser) {
hoverUser->setMouseOver(false);
hoverUser = 0;
}
if(hoverFile) {
hoverFile->setMouseOver(false);
hoverFile = 0;
}
}
trace_time = SDL_GetTicks() - trace_time;
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
camera.focus();
//check visibility
root->checkFrustum(frustum);
screen_project_time = SDL_GetTicks();
GLint viewport[4];
GLdouble modelview[16];
GLdouble projection[16];
glGetIntegerv( GL_VIEWPORT, viewport );
glGetDoublev( GL_MODELVIEW_MATRIX, modelview );
glGetDoublev( GL_PROJECTION_MATRIX, projection );
root->calcScreenPos(viewport, modelview, projection);
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
it->second->calcScreenPos(viewport, modelview, projection);
}
//need to calc screen pos of selected file if hiding other
//file names
if(selectedFile!=0 && gGourceSettings.hide_filenames) {
selectedFile->calcScreenPos(viewport, modelview, projection);
}
screen_project_time = SDL_GetTicks() - screen_project_time;
//update file and user vbos
update_vbos_time = SDL_GetTicks();
updateVBOs(dt);
update_vbos_time = SDL_GetTicks() - update_vbos_time;
//draw scene
draw_scene_time = SDL_GetTicks();
drawScene(dt);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
draw_scene_time = SDL_GetTicks() - draw_scene_time;
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
text_time = text_update_time = SDL_GetTicks();
//switch to 2D, preserve current state
display.push2D();
if(!gGourceSettings.ffp) {
fontmanager.startBuffer();
}
font.roundCoordinates(false);
font.setColour(vec4(gGourceSettings.dir_colour, 1.0f));
root->drawNames(font);
if(!(gGourceSettings.hide_usernames || gGourceSettings.hide_users)) {
for(std::map::iterator it = users.begin(); it!=users.end(); it++) {
RUser* user = it->second;
if(!user->isSelected()) {
user->drawName();
}
}
}
text_update_time = SDL_GetTicks() - text_update_time;
text_vbo_commit_time = 0;
text_vbo_draw_time = 0;
if(!gGourceSettings.ffp) {
text_vbo_commit_time = SDL_GetTicks();
fontmanager.commitBuffer();
text_vbo_commit_time = SDL_GetTicks() - text_vbo_commit_time;
text_vbo_draw_time = SDL_GetTicks();
text_shader->setSampler2D("tex", 0);
text_shader->setFloat("shadow_strength", 0.7);
text_shader->setFloat("texel_size", font_texel_size);
text_shader->use();
fontmanager.drawBuffer();
glUseProgramObjectARB(0);
text_vbo_draw_time = SDL_GetTicks() - text_vbo_draw_time;
}
//draw selected item names again so they are over the top
if(selectedUser !=0) selectedUser->drawName();
if(selectedFile !=0) {
selectedFile->drawName();
}
//switch back
display.pop2D();
text_time = SDL_GetTicks() - text_time;
if(debug) {
glDisable(GL_TEXTURE_2D);
glLineWidth(2.0);
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
track_users ? active_user_bounds.draw() : dir_bounds.draw();
}
if(gGourceQuadTreeDebug) {
glDisable(GL_TEXTURE_2D);
glLineWidth(1.0);
glColor4f(0.0f, 1.0f, 0.0f, 1.0f);
dirNodeTree->outline();
glColor4f(0.0f, 1.0f, 1.0f, 1.0f);
userTree->outline();
glColor4f(0.0f, 1.0f, 0.5f, 1.0f);
userTree->outlineItems();
}
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
display.mode2D();
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
vec3 campos = camera.getPos();
if(logotex!=0) {
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
glColor4f(1.0, 1.0, 1.0, 1.0);
glBindTexture(GL_TEXTURE_2D, logotex->textureid);
vec2 logopos = vec2(display.width, display.height) - vec2(logotex->w, logotex->h) - gGourceSettings.logo_offset;
glPushMatrix();
glTranslatef(logopos.x, logopos.y, 0.0);
glBegin(GL_QUADS);
glTexCoord2f(0.0f,0.0f);
glVertex2i(0, 0);
glTexCoord2f(1.0f,0.0f);
glVertex2i(logotex->w, 0);
glTexCoord2f(1.0f,1.0f);
glVertex2i(logotex->w, logotex->h);
glTexCoord2f(0.0f,1.0f);
glVertex2i(0, logotex->h);
glEnd();
glPopMatrix();
}
font.roundCoordinates(true);
if(splash>0.0f) {
int logowidth = fontlarge.getWidth("Gource");
int logoheight = 100;
int cwidth = font.getWidth("Software Version Control Visualization");
int awidth = font.getWidth("(C) 2009 Andrew Caudwell");
vec2 corner(display.width/2 - logowidth/2 - 30.0f, display.height/2 - 40);
glDisable(GL_TEXTURE_2D);
glColor4f(0.0f, 0.5f, 1.0f, splash * 0.015f);
glBegin(GL_QUADS);
glVertex2f(0.0f, corner.y);
glVertex2f(0.0f, corner.y + logoheight);
glVertex2f(display.width, corner.y + logoheight);
glVertex2f(display.width, corner.y);
glEnd();
glEnable(GL_TEXTURE_2D);
fontlarge.setColour(vec4(1.0f));
fontlarge.draw(display.width/2 - logowidth/2,display.height/2 - 30, "Gource");
font.setColour(vec4(1.0f));
font.draw(display.width/2 - cwidth/2,display.height/2 + 10, "Software Version Control Visualization");
font.draw(display.width/2 - awidth/2,display.height/2 + 30, "(C) 2009 Andrew Caudwell");
}
// text using the specified font goes here
fontmedium.setColour(vec4(gGourceSettings.font_colour, 1.0f));
if(!gGourceSettings.hide_date) {
fontmedium.draw(display.width/2 - date_x_offset, 20, displaydate);
}
if(!gGourceSettings.title.empty()) {
fontmedium.alignTop(false);
fontmedium.draw(10, display.height - 10, gGourceSettings.title);
fontmedium.alignTop(true);
}
for(std::list::iterator it = active_captions.begin(); it!=active_captions.end(); it++) {
RCaption* caption = *it;
caption->draw();
}
//file key
file_key.draw();
file_key.setShow(gGourceSettings.show_key);
//slider
if(canSeek()) {
slider.draw(dt);
}
//text box
if(hoverFile && hoverFile != selectedFile) {
std::string display_path = hoverFile->path;
display_path.erase(0,1);
textbox.setText(hoverFile->getName());
if(display_path.size()) textbox.addLine(display_path);
textbox.setColour(hoverFile->getColour());
textbox.setPos(mousepos, true);
textbox.draw();
} else if(hoverUser && hoverUser != selectedUser) {
textbox.setText(hoverUser->getName());
textbox.setColour(hoverUser->getColour());
textbox.setPos(mousepos, true);
textbox.draw();
}
//debug info
if(debug) {
font.setColour(vec4(1.0f));
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
font.print(1,20, "FPS: %.2f", fps);
font.print(1,40,"Days Per Second: %.2f",
gGourceSettings.days_per_second);
font.print(1,60,"Commit Queue: %d", commitqueue.size());
font.print(1,80,"Users: %d", users.size());
font.print(1,100,"Files: %d", files.size());
font.print(1,120,"Dirs: %d", gGourceDirMap.size());
font.print(1,140,"Log Position: %.4f", commitlog->getPercent());
font.print(1,160,"Camera: (%.2f, %.2f, %.2f)", campos.x, campos.y, campos.z);
font.print(1,180,"Gravity: %.2f", gGourceForceGravity);
font.print(1,200,"Update Tree: %u ms", update_dir_tree_time);
font.print(1,220,"Update VBOs: %u ms", update_vbos_time);
font.print(1,240,"Projection: %u ms", screen_project_time);
font.print(1,260,"Draw Scene: %u ms", draw_scene_time);
font.print(1,280," - Edges: %u ms", draw_edges_time);
font.print(1,300," - Shadows: %u ms", draw_shadows_time);
font.print(1,320," - Actions: %u ms", draw_actions_time);
font.print(1,340," - Files: %u ms", draw_files_time);
font.print(1,360," - Users: %u ms", draw_users_time);
font.print(1,380," - Bloom: %u ms", draw_bloom_time);
font.print(1,400,"Text: %u ms", text_time);
font.print(1,420,"- Update: %u ms", text_update_time);
font.print(1,440,"- VBO Commit: %u ms", text_vbo_commit_time);
font.print(1,460,"- VBO Draw: %u ms", text_vbo_draw_time);
font.print(1,480,"Mouse Trace: %u ms", trace_time);
font.print(1,500,"Logic Time: %u ms", logic_time);
font.print(1,520,"File Inner Loops: %d", gGourceFileInnerLoops);
font.print(1,540,"User Inner Loops: %d", gGourceUserInnerLoops);
font.print(1,560,"Dir Inner Loops: %d (QTree items = %d, nodes = %d, max node depth = %d)", gGourceDirNodeInnerLoops,
dirNodeTree->item_count, dirNodeTree->node_count, dirNodeTree->max_node_depth);
font.print(1,580,"Dir Bounds Ratio: %.2f, %.5f", dir_bounds.width() / dir_bounds.height(), rotation_remaining_angle);
font.print(1,600,"String Hash Seed: %d", gStringHashSeed);
if(!gGourceSettings.ffp) {
font.print(1,620,"Text VBO: %d/%d vertices, %d texture changes", fontmanager.font_vbo.vertices(), fontmanager.font_vbo.capacity(), fontmanager.font_vbo.texture_changes());
font.print(1,640,"File VBO: %d/%d vertices, %d texture changes", file_vbo.vertices(), file_vbo.capacity(), file_vbo.texture_changes());
font.print(1,660,"User VBO: %d/%d vertices, %d texture changes", user_vbo.vertices(), user_vbo.capacity(), user_vbo.texture_changes());
font.print(1,680,"Action VBO: %d/%d vertices", action_vbo.vertices(), action_vbo.capacity());
font.print(1,700,"Bloom VBO: %d/%d vertices", bloom_vbo.vertices(), bloom_vbo.capacity());
font.print(1,720,"Edge VBO: %d/%d vertices", edge_vbo.vertices(), edge_vbo.capacity());
}
if(selectedUser != 0) {
}
if(selectedFile != 0) {
font.print(1,740,"%s: %d files (%d visible)", selectedFile->getDir()->getPath().c_str(),
selectedFile->getDir()->fileCount(), selectedFile->getDir()->visibleFileCount());
}
}
mousemoved=false;
mouseclicked=false;
if(take_screenshot) {
screenshot();
take_screenshot = false;
}
if(message_timer > 0.0f) {
font.setColour(vec4(1.0f));
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_TEXTURE_2D);
font.draw(1, 3, message);
}
}
gource-0.47/src/caption.cpp 0000644 0002031 0002031 00000003216 13154400154 015471 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "caption.h"
RCaption::RCaption(const std::string& caption, time_t timestamp, const FXFont& font) {
this->caption = caption;
this->timestamp = timestamp;
this->font = font;
alpha = 0.0;
elapsed = 0.0;
colour = gGourceSettings.caption_colour;
}
void RCaption::setPos(const vec2& pos) {
this->pos = pos;
}
const vec2& RCaption::getPos() const {
return pos;
}
const std::string& RCaption::getCaption() const {
return caption;
}
bool RCaption::isFinished() const {
return elapsed >= gGourceSettings.caption_duration;
}
void RCaption::logic(float dt) {
float fade_in = glm::min(2.0f, gGourceSettings.caption_duration / 3.0f);
elapsed += dt;
alpha = glm::min(1.0f, glm::min(elapsed,glm::max(0.0f,gGourceSettings.caption_duration-elapsed)) / fade_in);
}
void RCaption::draw() {
font.setColour(vec4(colour.x, colour.y, colour.z, alpha));
font.draw(pos.x, pos.y, caption);
}
gource-0.47/src/pawn.h 0000644 0002031 0002031 00000004615 13154400154 014452 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef PAWN_H
#define PAWN_H
#include
#include "gource_settings.h"
#include "core/display.h"
#include "core/fxfont.h"
#include "core/vectors.h"
#include "core/quadtree.h"
class Pawn : public QuadItem {
protected:
vec2 pos;
vec2 shadowOffset;
std::string name;
float namewidth;
vec2 accel;
float speed;
float elapsed;
float fadetime;
float nametime;
float name_interval;
vec3 namecol;
bool shadow;
bool hidden;
int tagid;
FXFont font;
bool mouseover;
virtual bool nameVisible() const;
virtual void drawNameText(float alpha) {};
virtual const vec3& getNameColour() const;
protected:
bool selected;
public:
float size;
float graphic_ratio;
TextureResource* graphic;
vec3 screenpos;
vec2 dims;
Pawn(const std::string& name, vec2 pos, int tagid);
const vec2 & getPos() const { return pos; }
void setPos(vec2 pos);
void calcScreenPos(const vec2& offset);
void updateQuadItemBounds();
void showName();
void setMouseOver(bool over);
float getSize();
int getTagID();
const std::string& getName() const { return name; }
virtual void setSelected(bool selected);
bool isSelected() { return selected; };
void setHidden(bool hidden){ this->hidden = hidden; }
bool isHidden() const { return hidden; }
virtual float getAlpha() const{ return std::min(elapsed/fadetime, 1.0f); }
virtual vec3 getColour() const { return vec3(1.0, 1.0, 1.0); }
void setGraphic(TextureResource* graphic);
void logic(float dt);
void draw(float dt);
void drawShadow(float dt);
void drawName();
};
extern float gGourceShadowStrength;
#endif
gource-0.47/src/logmill.cpp 0000644 0002031 0002031 00000020757 13154400154 015504 0 ustar andrewc andrewc /*
Copyright (C) 2012 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "logmill.h"
#include "gource_settings.h"
#include "formats/git.h"
#include "formats/gitraw.h"
#include "formats/custom.h"
#include "formats/hg.h"
#include "formats/bzr.h"
#include "formats/svn.h"
#include "formats/apache.h"
#include "formats/cvs-exp.h"
#include "formats/cvs2cl.h"
#include
extern "C" {
static int logmill_thread(void *lmill) {
RLogMill *logmill = static_cast (lmill);
logmill->run();
return 0;
}
};
RLogMill::RLogMill(const std::string& logfile)
: logfile(logfile) {
logmill_thread_state = LOGMILL_STATE_STARTUP;
clog = 0;
#if SDL_VERSION_ATLEAST(2,0,0)
thread = SDL_CreateThread( logmill_thread, "logmill", this );
#else
thread = SDL_CreateThread( logmill_thread, this );
#endif
}
RLogMill::~RLogMill() {
abort();
if(clog) delete clog;
}
void RLogMill::run() {
logmill_thread_state = LOGMILL_STATE_FETCHING;
#if defined(HAVE_PTHREAD) && !defined(_WIN32)
sigset_t mask;
sigemptyset(&mask);
// unblock SIGINT so user can cancel
// NOTE: assumes SDL is using pthreads
sigaddset(&mask, SIGINT);
pthread_sigmask(SIG_UNBLOCK, &mask, 0);
#endif
std::string log_format = gGourceSettings.log_format;
try {
clog = fetchLog(log_format);
// find first commit after start_timestamp if specified
if(clog != 0 && gGourceSettings.start_timestamp != 0) {
RCommit commit;
while(!gGourceSettings.shutdown && !clog->isFinished()) {
if(clog->nextCommit(commit) && commit.timestamp >= gGourceSettings.start_timestamp) {
clog->bufferCommit(commit);
break;
}
}
}
} catch(SeekLogException& exception) {
error = "unable to read log file";
} catch(SDLAppException& exception) {
error = exception.what();
}
if(!clog && error.empty()) {
if(boost::filesystem::is_directory(logfile)) {
if(!log_format.empty()) {
if(gGourceSettings.start_timestamp || gGourceSettings.stop_timestamp) {
error = "failed to generate log file for the specified time period";
} else {
error = "failed to generate log file";
}
#ifdef _WIN32
// no error - should trigger help message
} else if(gGourceSettings.default_path && boost::filesystem::exists("./gource.exe")) {
error = "";
#endif
} else {
error = "directory not supported";
}
} else {
error = "unsupported log format (you may need to regenerate your log file)";
}
}
logmill_thread_state = clog ? LOGMILL_STATE_SUCCESS : LOGMILL_STATE_FAILURE;
}
void RLogMill::abort() {
if(!thread) return;
// TODO: make abort nicer by notifying the log process
// we want to shutdown
SDL_WaitThread(thread, 0);
thread = 0;
}
bool RLogMill::isFinished() {
return logmill_thread_state > LOGMILL_STATE_FETCHING;
}
int RLogMill::getStatus() {
return logmill_thread_state;
}
std::string RLogMill::getError() {
return error;
}
RCommitLog* RLogMill::getLog() {
if(thread != 0) {
SDL_WaitThread(thread, 0);
thread = 0;
}
return clog;
}
bool RLogMill::findRepository(boost::filesystem::path& dir, std::string& log_format) {
dir = absolute(dir);
//fprintf(stderr, "find repository from initial path: %s\n", dir.string().c_str());
while(is_directory(dir)) {
if(is_directory(dir / ".git")) log_format = "git";
else if(is_directory(dir / ".hg")) log_format = "hg";
else if(is_directory(dir / ".bzr")) log_format = "bzr";
else if(is_directory(dir / ".svn")) log_format = "svn";
if(!log_format.empty()) {
//fprintf(stderr, "found '%s' repository at: %s\n", log_format.c_str(), dir.string().c_str());
return true;
}
if(!dir.has_parent_path()) return false;
dir = dir.parent_path();
}
return false;
}
RCommitLog* RLogMill::fetchLog(std::string& log_format) {
RCommitLog* clog = 0;
//if the log format is not specified and 'logfile' is a directory, recursively look for a version control repository.
//this method allows for something strange like someone who having an svn repository inside a git repository
//(in which case it would pick the svn directory as it would encounter that first)
if(log_format.empty() && logfile != "-") {
try {
boost::filesystem::path repo_path(logfile);
if(is_directory(repo_path)) {
if(findRepository(repo_path, log_format)) {
logfile = repo_path.string();
}
}
} catch(boost::filesystem::filesystem_error& error) {
}
}
//we've been told what format to use
if(log_format.size() > 0) {
debugLog("log-format = %s", log_format.c_str());
if(log_format == "git") {
clog = new GitCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
clog = new GitRawCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
if(log_format == "hg") {
clog = new MercurialLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
if(log_format == "bzr") {
clog = new BazaarLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
if(log_format == "cvs") {
clog = new CVSEXPCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
if(log_format == "custom") {
clog = new CustomLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
if(log_format == "apache") {
clog = new ApacheCombinedLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
if(log_format == "svn") {
clog = new SVNCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
if(log_format == "cvs2cl") {
clog = new CVS2CLCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
}
return 0;
}
// try different formats until one works
//git
debugLog("trying git...");
clog = new GitCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//mercurial
debugLog("trying mercurial...");
clog = new MercurialLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//bzr
debugLog("trying bzr...");
clog = new BazaarLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//git raw
debugLog("trying git raw...");
clog = new GitRawCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//cvs exp
debugLog("trying cvs-exp...");
clog = new CVSEXPCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//svn
debugLog("trying svn...");
clog = new SVNCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//cvs2cl
debugLog("trying cvs2cl...");
clog = new CVS2CLCommitLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//custom
debugLog("trying custom...");
clog = new CustomLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
//apache
debugLog("trying apache combined...");
clog = new ApacheCombinedLog(logfile);
if(clog->checkFormat()) return clog;
delete clog;
return 0;
}
gource-0.47/src/bloom.h 0000644 0002031 0002031 00000003133 13154400154 014607 0 ustar andrewc andrewc /*
Copyright (C) 2011 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef GOURCE_BLOOM_VBO_H
#define GOURCE_BLOOM_VBO_H
#include
#include "core/display.h"
#include "core/vectors.h"
#include "core/logger.h"
//note this should be 64 bytes
class bloom_vertex {
public:
bloom_vertex() {};
bloom_vertex(const vec2& pos, const vec4& colour, const vec4& texcoord) :
pos(pos), colour(colour), texcoord(texcoord) {};
vec2 pos;
vec4 colour;
vec4 texcoord;
char padding[24];
};
class bloombuf {
bloom_vertex* data;
int data_size;
GLuint bufferid;
int buffer_size;
int vertex_count;
void resize(int new_size);
public:
bloombuf(int data_size = 0);
~bloombuf();
void unload();
void reset();
size_t vertices();
size_t capacity();
void add(GLuint textureid, const vec2& pos, const vec2& dims, const vec4& colour, const vec4& texcoord);
void update();
void draw();
};
#endif
gource-0.47/src/formats/ 0000755 0002031 0002031 00000000000 13154400154 015001 5 ustar andrewc andrewc gource-0.47/src/formats/commitlog.h 0000644 0002031 0002031 00000005246 13154400154 017153 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef RCOMMIT_LOG_H
#define RCOMMIT_LOG_H
#include "../core/seeklog.h"
#include "../core/display.h"
#include "../core/regex.h"
#include "../core/stringhash.h"
#include
#include
#include
#include "sys/stat.h"
class RCommitFile {
public:
std::string filename;
std::string action;
vec3 colour;
RCommitFile(const std::string& filename, const std::string& action, vec3 colour);
};
class RCommit {
vec3 fileColour(const std::string& filename);
public:
time_t timestamp;
std::string username;
std::list files;
void postprocess();
bool isValid();
void addFile(const std::string& filename, const std::string& action);
void addFile(const std::string& filename, const std::string& action, const vec3& colour);
RCommit();
void debug();
virtual bool parse(BaseLog* logf) { return false; };
};
class RCommitLog {
protected:
BaseLog* logf;
std::string temp_file;
std::string log_command;
std::string lastline;
bool is_dir;
bool success;
bool seekable;
RCommit lastCommit;
bool buffered;
bool checkFirstChar(int firstChar, std::istream& stream);
void createTempLog();
bool getNextLine(std::string& line);
virtual bool parseCommit(RCommit& commit) { return false; };
public:
RCommitLog(const std::string& logfile, int firstChar = -1);
virtual ~RCommitLog();
static std::string filter_utf8(const std::string& str);
void seekTo(float percent);
bool checkFormat();
std::string getLogCommand();
int systemCommand(const std::string& command);
void requireExecutable(const std::string& exename);
void bufferCommit(RCommit& commit);
bool getCommitAt(float percent, RCommit& commit);
bool findNextCommit(RCommit& commit, int attempts);
bool nextCommit(RCommit& commit, bool validate = true);
bool hasBufferedCommit();
bool isFinished();
bool isSeekable();
float getPercent();
};
#endif
gource-0.47/src/formats/cvs-exp.cpp 0000644 0002031 0002031 00000010033 13154400154 017067 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "cvs-exp.h"
Regex cvsexp_commitno_regex("^([0-9]{6}):");
Regex cvsexp_branch_regex("^BRANCH \\[(.+)\\]$");
Regex cvsexp_date_regex("^\\(date: ([0-9]{4})[-/]([0-9]{2})[-/]([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})(?: [+-][0-9]{4})?;(.+)$");
Regex cvsexp_detail_regex("author: ([^;]+); state: ([^;]+);(.+)$");
//Regex cvsexp_lines_regex("lines: \\+([0-9]+) -([0-9]+)");
Regex cvsexp_entry_regex("\\| (.+),v:([0-9.]+),?");
Regex cvsexp_end_regex("^(=+)$");
std::string CVSEXPCommitLog::logCommand() {
std::string log_command = "cvs-exp.pl -notree";
return log_command;
}
CVSEXPCommitLog::CVSEXPCommitLog(const std::string& logfile) : RCommitLog(logfile) {
}
// parse modified cvs format log entries
bool CVSEXPCommitLog::parseCommit(RCommit& commit) {
std::string line;
std::vector entries;
if(!logf->getNextLine(line)) return false;
//skip empty line if there is one
if(line.size() == 0) {
if(!logf->getNextLine(line)) return false;
}
//read commit no
if(!cvsexp_commitno_regex.match(line, &entries)) return false;
//int commitno = atoi(entries[0].c_str());
//debugLog("commitno matched\n");
if(!logf->getNextLine(line)) return false;
//should be a branch
if(cvsexp_branch_regex.match(line, &entries)) {
//read next blank line
if(!logf->getNextLine(line)) return false;
if(line.size()) return false;
if(!logf->getNextLine(line)) return false;
}
//parse date
if(!cvsexp_date_regex.match(line, &entries)) return false;
//debugLog("date matched\n");
struct tm time_str;
time_str.tm_year = atoi(entries[0].c_str()) - 1900;
time_str.tm_mon = atoi(entries[1].c_str()) - 1;
time_str.tm_mday = atoi(entries[2].c_str());
time_str.tm_hour = atoi(entries[3].c_str());
time_str.tm_min = atoi(entries[4].c_str());
time_str.tm_sec = atoi(entries[5].c_str());
time_str.tm_isdst = -1;
commit.timestamp = mktime(&time_str);
//parse author,state
std::string rest = entries[6];
if(!cvsexp_detail_regex.match(rest, &entries)) return false;
//debugLog("author/state matched\n");
commit.username = entries[0];
std::string commit_state = entries[1];
/* not used
//if rest is not ')' parse lines
rest = entries[2];
// need to parse lines
if(rest.size() > 2) {
if(!cvsexp_lines_regex.match(rest, &entries)) return false;
}
*/
if(!logf->getNextLine(line)) return false;
std::string commit_action = (commit_state == "dead") ? "D" : "M";
while(cvsexp_entry_regex.match(line, &entries)) {
//ignore files in Attic - previously deleted file
if(entries[0].find("/Attic/") == std::string::npos) {
commit.addFile(entries[0], commit_action);
}
if(!logf->getNextLine(line)) return false;
}
//read blank line
if(!logf->getNextLine(line)) return false;
//std::string message;
//read commit message
while(logf->getNextLine(line) && line.size()) {
//if(message.size()) message += std::string("\n");
//message += line;
}
//read until end of commit or eof
while(logf->getNextLine(line)) {
if(cvsexp_end_regex.match(line,&entries)) {
//debugLog("read end of commit %s\n", entries[0].c_str());
break;
}
}
return true;
}
gource-0.47/src/formats/svn.cpp 0000644 0002031 0002031 00000016316 13154400154 016322 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "svn.h"
#include "../gource_settings.h"
#include
#ifdef HAVE_LIBTINYXML
#include
#else
#include "../tinyxml/tinyxml.h"
#endif
Regex svn_xml_tag("^<\\??xml");
Regex svn_logentry_start("^");
Regex svn_logentry_timestamp("(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})");
std::string SVNCommitLog::logCommand() {
std::string start = (!gGourceSettings.start_date.empty())
? str(boost::format("{%s}") % gGourceSettings.start_date) : "1";
std::string stop = (!gGourceSettings.stop_date.empty())
? str(boost::format("{%s}") % gGourceSettings.stop_date) : "HEAD";
std::string range = str(boost::format("%s:%s") % start % stop);
std::string log_command = str(boost::format("svn log -r %s --xml --verbose --quiet") % range);
return log_command;
}
SVNCommitLog::SVNCommitLog(const std::string& logfile) : RCommitLog(logfile, '<') {
log_command = logCommand();
//can generate log from directory
if(!logf && is_dir) {
logf = generateLog(logfile);
if(logf) {
success = true;
seekable = true;
}
}
logentry.reserve(1024);
}
BaseLog* SVNCommitLog::generateLog(const std::string& dir) {
//get working directory
char cwd_buff[1024];
if(getcwd(cwd_buff, 1024) != cwd_buff) {
return 0;
}
//does directory have a .svn ?
std::string gitdir = dir + std::string("/.svn");
struct stat dirinfo;
int stat_rc = stat(gitdir.c_str(), &dirinfo);
if(stat_rc!=0 || !(dirinfo.st_mode & S_IFDIR)) {
return 0;
}
// do we have this client installed
requireExecutable("svn");
std::string command = getLogCommand();
//create temp file
createTempLog();
if(temp_file.size()==0) return 0;
if(chdir(dir.c_str()) != 0) {
return 0;
}
char cmd_buff[2048];
snprintf(cmd_buff, 2048, "%s > %s", command.c_str(), temp_file.c_str());
int command_rc = systemCommand(cmd_buff);
chdir(cwd_buff);
if(command_rc != 0) {
return 0;
}
BaseLog* seeklog = new SeekLog(temp_file);
return seeklog;
}
#ifndef HAVE_TIMEGM
std::string system_tz;
bool system_tz_init = false;
time_t __timegm_hack(struct tm* tm) {
if(!system_tz_init) {
char* current_tz_env = getenv("TZ");
if(current_tz_env != 0) {
system_tz = std::string("TZ=") + current_tz_env;
}
system_tz_init = true;
}
putenv((char*)"TZ=UTC");
tzset();
time_t timestamp = mktime(tm);
if(!system_tz.empty()) {
putenv((char*)system_tz.c_str());
} else {
#ifdef HAVE_UNSETENV
unsetenv("TZ");
#else
putenv((char*)"TZ=");
#endif
}
tzset();
return timestamp;
}
#endif
bool SVNCommitLog::parseCommit(RCommit& commit) {
//fprintf(stderr,"parsing svn log\n");
std::string line;
if(!getNextLine(line)) return false;
//start of log entry
if(!svn_logentry_start.match(line)) {
//is this the start of the document
if(!svn_xml_tag.match(line)) return false;
//fprintf(stderr,"found xml tag\n");
//if so find the first logentry tag
bool found_logentry = false;
while(getNextLine(line)) {
if(svn_logentry_start.match(line)) {
found_logentry = true;
break;
}
}
if(!found_logentry) return false;
}
//fprintf(stderr,"found logentry\n");
logentry.clear();
logentry.append(line);
logentry.append("\n");
//fprintf(stderr,"found opening tag\n");
bool endfound = false;
while(getNextLine(line)) {
logentry.append(line);
logentry.append("\n");
if(svn_logentry_end.match(line)) {
//fprintf(stderr,"found closing tag\n");
endfound=true;
break;
}
}
//incomplete commit
if(!endfound) return false;
//fprintf(stderr,"read logentry\n");
TiXmlDocument doc;
if(!doc.Parse(logentry.c_str())) return false;
//fprintf(stderr,"try to parse logentry: %s\n", logentry.c_str());
TiXmlElement* leE = doc.FirstChildElement( "logentry" );
std::vector entries;
if(!leE) return false;
//parse date
TiXmlElement* dateE = leE->FirstChildElement( "date" );
if(!dateE) return false;
std::string timestamp_str(dateE->GetText());
if(!svn_logentry_timestamp.match(timestamp_str, &entries))
return false;
struct tm time_str;
time_str.tm_year = atoi(entries[0].c_str()) - 1900;
time_str.tm_mon = atoi(entries[1].c_str()) - 1;
time_str.tm_mday = atoi(entries[2].c_str());
time_str.tm_hour = atoi(entries[3].c_str());
time_str.tm_min = atoi(entries[4].c_str());
time_str.tm_sec = atoi(entries[5].c_str());
time_str.tm_isdst = -1;
#ifdef HAVE_TIMEGM
commit.timestamp = timegm(&time_str);
#else
commit.timestamp = __timegm_hack(&time_str);
#endif
//parse author
TiXmlElement* authorE = leE->FirstChildElement("author");
if(authorE != 0) {
// GetText() may return NULL, causing author instantiation to crash.
std::string author;
if(authorE->GetText()) author = authorE->GetText();
if(author.empty()) author = "Unknown";
commit.username = author;
}
TiXmlElement* pathsE = leE->FirstChildElement( "paths" );
//log entries sometimes dont have any paths
if(!pathsE) return true;
//parse changes
for(TiXmlElement* pathE = pathsE->FirstChildElement("path"); pathE != 0; pathE = pathE->NextSiblingElement()) {
//parse path
const char* kind = pathE->Attribute("kind");
const char* action = pathE->Attribute("action");
//check for action
if(action == 0) continue;
bool is_dir = false;
//if has the 'kind' attribute (old versions of svn dont have this), check if it is a dir
if(kind != 0 && strcmp(kind,"dir") == 0) {
//accept only deletes for directories
if(strcmp(action, "D") != 0) continue;
is_dir = true;
}
std::string file(pathE->GetText());
std::string status(action);
if(file.empty()) continue;
if(status.empty()) continue;
//append trailing slash if is directory
if(is_dir && file[file.size()-1] != '/') {
file = file + std::string("/");
}
commit.addFile(file, status);
}
//fprintf(stderr,"parsed logentry\n");
//read files
return true;
}
gource-0.47/src/formats/apache.cpp 0000644 0002031 0002031 00000007126 13154400154 016734 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "apache.h"
#include
const char* months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug" , "Sep", "Oct", "Nov", "Dec" };
Regex apache_entry_start("^(?:[^ ]+ )?([^ ]+) +[^ ]+ +([^ ]+) +\\[(.*?)\\] +(.*)$");
Regex apache_entry_date("(\\d+)/([A-Za-z]+)/(\\d+):(\\d+):(\\d+):(\\d+) ([+-])(\\d+)");
Regex apache_entry_request("\"([^ ]+) +([^ ]+) +([^ ]+)\" +([^ ]+) +([^\\s+]+)(.*)");
Regex apache_entry_agent(" +\"([^\"]+)\" +\"([^\"]+)\" +\"([^\"]+)\"");
Regex apache_hostname_parts("([^.]+)(?:\\.([^.]+))?(?:\\.([^.]+))?(?:\\.([^.]+))?(?:\\.([^.]+))?(?:\\.([^.]+))?(?:\\.([^.]+))?(?:\\.([^.]+))?$");
ApacheCombinedLog::ApacheCombinedLog(const std::string& logfile) : RCommitLog(logfile) {
}
//parse apache access.log entry into components
bool ApacheCombinedLog::parseCommit(RCommit& commit) {
std::string line;
std::vector matches;
if(!logf->getNextLine(line)) return false;
apache_entry_start.match(line, &matches);
if(matches.size()!=4) {
return 0;
}
//get details
commit.username = matches[0];
std::string request_str = matches[3];
std::string datestr = matches[2];
apache_entry_date.match(datestr, &matches);
if(matches.size()!=8) {
return 0;
}
//parse timestamp
int day = atoi(matches[0].c_str());
int year = atoi(matches[2].c_str());
int hour = atoi(matches[3].c_str());
int minute = atoi(matches[4].c_str());
int second = atoi(matches[5].c_str());
int month=0;
for(int i=0;i<12;i++) {
if(matches[1] == months[i]) {
month=i;
break;
}
}
struct tm time_str;
time_str.tm_year = year - 1900;
time_str.tm_mon = month;
time_str.tm_mday = day;
time_str.tm_hour = hour;
time_str.tm_min = minute;
time_str.tm_sec = second;
time_str.tm_isdst = -1;
commit.timestamp = mktime(&time_str);
matches.clear();
apache_entry_request.match(request_str, &matches);
if(matches.size() < 5) {
return false;
}
std::string rtype = matches[0];
std::string file = matches[1];
std::string proto = matches[2];
int code = atoi(matches[3].c_str());
int bytes = atol(matches[4].c_str());
//remove args from url
size_t argpos = file.rfind("?");
if(argpos != std::string::npos) {
file = file.substr(0,argpos);
}
if(file.size()==0) file = "/";
//name index pages
if(file[file.size()-1] == '/') {
file += "index.html";
}
std::string action = "A";
commit.addFile(file, action);
std::string refer;
std::string agent;
if(matches.size() > 5) {
std::string agentstr = matches[5];
matches.clear();
apache_entry_agent.match(agentstr, &matches);
if(matches.size()>1) {
refer = matches[0];
agent = matches[1];
}
}
return true;
}
gource-0.47/src/formats/custom.h 0000644 0002031 0002031 00000002003 13154400154 016457 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef CUSTOMLOG_H
#define CUSTOMLOG_H
#include "commitlog.h"
class CustomLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
bool parseCommitEntry(RCommit& commit);
vec3 parseColour(const std::string& cstr);
public:
CustomLog(const std::string& logfile);
};
#endif
gource-0.47/src/formats/custom.cpp 0000644 0002031 0002031 00000004704 13154400154 017024 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "custom.h"
Regex custom_regex("^(?:\\xEF\\xBB\\xBF)?(-?[0-9]+)\\|([^|]*)\\|([ADM]?)\\|([^|]+)(?:\\|#?([a-fA-F0-9]{6}))?");
CustomLog::CustomLog(const std::string& logfile) : RCommitLog(logfile) {
}
vec3 CustomLog::parseColour(const std::string& cstr) {
vec3 colour;
int r,g,b;
if(sscanf(cstr.c_str(), "%02x%02x%02x", &r, &g, &b) == 3) {
colour = vec3( r, g, b );
colour /= 255.0f;
}
return colour;
}
// parse modified cvs format log entries
bool CustomLog::parseCommit(RCommit& commit) {
while(parseCommitEntry(commit));
return !commit.files.empty();
}
bool CustomLog::parseCommitEntry(RCommit& commit) {
std::string line;
std::vector entries;
if(!getNextLine(line)) return false;
//custom line
if(!custom_regex.match(line, &entries)) return false;
long timestamp = atol(entries[0].c_str());
std::string username = (entries[1].size()>0) ? entries[1] : "Unknown";
std::string action = (entries[2].size()>0) ? entries[2] : "A";
//if this file is for the same person and timestamp
//we add to the commit, else we save the lastline
//and return false
if(commit.files.empty()) {
commit.timestamp = timestamp;
commit.username = username;
} else {
if(commit.timestamp != timestamp || commit.username != username) {
lastline = line;
return false;
}
}
bool has_colour = false;
vec3 colour;
if(entries.size()>=5 && entries[4].size()>0) {
has_colour = true;
colour = parseColour(entries[4]);
}
if(has_colour) {
commit.addFile(entries[3], action, colour);
} else {
commit.addFile(entries[3], action);
}
return true;
}
gource-0.47/src/formats/hg.h 0000644 0002031 0002031 00000002073 13154400154 015552 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef MERCURIALLOG_H
#define MERCURIALLOG_H
#include "commitlog.h"
class MercurialLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
bool parseCommitEntry(RCommit& commit);
BaseLog* generateLog(const std::string& dir);
public:
MercurialLog(const std::string& logfile);
static std::string logCommand();
};
#endif gource-0.47/src/formats/gitraw.cpp 0000644 0002031 0002031 00000005324 13154400154 017006 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "gitraw.h"
Regex git_raw_commit("^commit ([0-9a-z]+)");
Regex git_raw_tree("^tree ([0-9a-z]+)");
Regex git_raw_parent("^parent ([0-9a-z]+)");
Regex git_raw_author("^author (.+) <([^@>]+)@?([^>]*)> (\\d+) ([-+]\\d+)");
Regex git_raw_committer("^committer (.+) <([^@>]+)@?([^>]*)> (\\d+) ([-+]\\d+)");
Regex git_raw_file("^:[0-9]+ [0-9]+ [0-9a-z]+\\.* ([0-9a-z]+)\\.* ([A-Z])[ \\t]+(.+)");
// parse git log entries
std::string gGourceGitRawLogCommand = "git log --reverse --raw --pretty=raw";
GitRawCommitLog::GitRawCommitLog(const std::string& logfile) : RCommitLog(logfile, 'c') {
log_command = gGourceGitRawLogCommand;
}
// parse modified cvs format log entries
bool GitRawCommitLog::parseCommit(RCommit& commit) {
std::string line;
std::vector entries;
//read commit ref/ branch
if(!logf->getNextLine(line)) return false;
//commit
if(!git_raw_commit.match(line, &entries)) return false;
if(!logf->getNextLine(line)) return false;
//tree
if(!git_raw_tree.match(line, &entries)) return false;
if(!logf->getNextLine(line)) return false;
//0 or more parents
while(git_raw_parent.match(line, &entries)) {
if(!logf->getNextLine(line)) return false;
}
//author - used for display name
if(!git_raw_author.match(line, &entries)) return false;
commit.username = entries[0];
if(!logf->getNextLine(line)) return false;
//committer - used for time (most likely cronological)
if(!git_raw_committer.match(line, &entries)) return false;
commit.timestamp = atol(entries[3].c_str());
//blank line before message
if(!logf->getNextLine(line)) return false;
//read commit message
while(logf->getNextLine(line) && line.size()) {
}
//read files
while(logf->getNextLine(line) && line.size()) {
//debugLog("file??? %s\n", line.c_str());
if(git_raw_file.match(line, &entries)) {
commit.addFile(entries[2], entries[1]);
}
}
// commit.debug();
return true;
}
gource-0.47/src/formats/bzr.cpp 0000644 0002031 0002031 00000006610 13154400154 016305 0 ustar andrewc andrewc /*
Copyright (C) 2010 John Arbash Meinel
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "bzr.h"
#include "../gource_settings.h"
#include
Regex bzr_commit_regex("^ *([\\d.]+) (.+)\t(\\d{4})-(\\d+)-(\\d+)(?: \\{[^}]+})?(?: \\[merge\\])?$");
Regex bzr_file_regex("^ *([AMDR]) (.*[^/])$");
// parse Bazaar log entries (using the gource.style template)
std::string BazaarLog::logCommand() {
std::string start = (!gGourceSettings.start_date.empty()) ? "date:"+gGourceSettings.start_date : "1";
std::string stop = (!gGourceSettings.stop_date.empty()) ? "date:"+gGourceSettings.stop_date : "-1";
std::string range = str(boost::format("%s..%s") % start % stop);
std::string log_command = str(boost::format("bzr log --verbose -r %s --short -n0 --forward") % range);
return log_command;
}
BazaarLog::BazaarLog(const std::string& logfile) : RCommitLog(logfile) {
log_command = logCommand();
//can generate log from directory
if(!logf && is_dir) {
logf = generateLog(logfile);
if(logf) {
success = true;
seekable = true;
}
}
}
BaseLog* BazaarLog::generateLog(const std::string& dir) {
//does directory have a .bzr ?
std::string bzrdir = dir + std::string("/.bzr");
struct stat dirinfo;
int stat_rc = stat(bzrdir.c_str(), &dirinfo);
if(stat_rc!=0 || !(dirinfo.st_mode & S_IFDIR)) {
return 0;
}
std::string command = getLogCommand();
// do we have this client installed
requireExecutable("bzr");
createTempLog();
if(temp_file.size()==0) return 0;
char cmd_buff[2048];
snprintf(cmd_buff, 2048, "%s %s > %s", command.c_str(), dir.c_str(), temp_file.c_str());
int command_rc = systemCommand(cmd_buff);
if(command_rc != 0) {
return 0;
}
BaseLog* seeklog = new SeekLog(temp_file);
return seeklog;
}
bool BazaarLog::parseCommit(RCommit& commit) {
std::string line;
std::vector entries;
int year, month, day;
if(!logf->getNextLine(line)) return false;
if (!bzr_commit_regex.match(line, &entries)) {
//debugLog("regex failed\n");
return false;
}
commit.username = entries[1];
year = atoi(entries[2].c_str());
month = atoi(entries[3].c_str());
day = atoi(entries[4].c_str());
struct tm time_str;
time_str.tm_year = year - 1900;
time_str.tm_mon = month - 1;
time_str.tm_mday = day;
time_str.tm_hour = 0;
time_str.tm_min = 0;
time_str.tm_sec = 0;
time_str.tm_isdst = -1;
commit.timestamp = mktime(&time_str);
while(logf->getNextLine(line) && line.size()) {
if (!bzr_file_regex.match(line, &entries)) continue;
commit.addFile(entries[1], entries[0]);
}
return true;
}
gource-0.47/src/formats/git.cpp 0000644 0002031 0002031 00000011354 13154400154 016274 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "git.h"
#include "../gource_settings.h"
// parse git log entries
//git-log command notes:
// - no single quotes on WIN32 as system call treats them differently
// - 'user:' prefix allows us to quickly tell if the log is the wrong format
// and try a different format (eg cvs-exp)
std::string GitCommitLog::logCommand() {
std::string log_command = "git log "
"--pretty=format:user:%aN%n%ct "
"--reverse --raw --encoding=UTF-8 "
"--no-renames";
if(!gGourceSettings.start_date.empty()) {
log_command += " --since ";
log_command += gGourceSettings.start_date;
}
if(!gGourceSettings.stop_date.empty()) {
log_command += " --until ";
log_command += gGourceSettings.stop_date;
}
if(!gGourceSettings.git_branch.empty()) {
log_command += " ";
log_command += gGourceSettings.git_branch;
}
return log_command;
}
GitCommitLog::GitCommitLog(const std::string& logfile) : RCommitLog(logfile, 'u') {
log_command = logCommand();
//can generate log from directory
if(!logf && is_dir) {
logf = generateLog(logfile);
if(logf) {
success = true;
seekable = true;
}
}
}
BaseLog* GitCommitLog::generateLog(const std::string& dir) {
//get working directory
char cwd_buff[1024];
if(getcwd(cwd_buff, 1024) != cwd_buff) {
return 0;
}
//does directory have a .git ?
std::string gitdir = dir + std::string("/.git");
struct stat dirinfo;
int stat_rc = stat(gitdir.c_str(), &dirinfo);
if(stat_rc!=0 || !(dirinfo.st_mode & S_IFDIR)) {
return 0;
}
// do we have this client installed
requireExecutable("git");
std::string command = getLogCommand();
//create temp file
createTempLog();
if(temp_file.size()==0) return 0;
if(chdir(dir.c_str()) != 0) {
return 0;
}
char cmd_buff[2048];
int written = snprintf(cmd_buff, 2048, "%s > %s", command.c_str(), temp_file.c_str());
if(written < 0 || written >= 2048) {
return 0;
}
int command_rc = systemCommand(cmd_buff);
if(command_rc != 0) {
chdir(cwd_buff);
return 0;
}
// check for new-enough Git version
// if %aN does not appear to be supported try %an
std::ifstream in(temp_file.c_str());
char firstBytes[9];
in.read(firstBytes, 8);
in.close();
firstBytes[8] = '\0';
if(!strcmp(firstBytes, "user:%aN")) {
char *pos = strstr(cmd_buff, "%aN");
pos[2] = 'n';
command_rc = systemCommand(cmd_buff);
}
//change back to original directoy
chdir(cwd_buff);
if(command_rc != 0) {
return 0;
}
BaseLog* seeklog = new SeekLog(temp_file);
return seeklog;
}
// parse modified git format log entries
bool GitCommitLog::parseCommit(RCommit& commit) {
std::string line;
commit.username = "";
while(logf->getNextLine(line) && line.size()) {
if(line.find("user:") == 0) {
//username follows user prefix
commit.username = line.substr(5);
if(!logf->getNextLine(line)) return false;
commit.timestamp = atol(line.c_str());
//this isnt a commit we are parsing, abort
if(commit.timestamp == 0) return false;
continue;
}
//should see username before files
if(commit.username.empty()) return false;
size_t tab = line.find('\t');
//incorrect log format
if(tab == std::string::npos || tab == 0 || tab == line.size()-1) continue;
std::string status = line.substr(tab - 1, 1);
std::string file = line.substr(tab + 1);
if(file.empty()) continue;
//check for and remove double quotes
if(file.find('"') == 0 && file.rfind('"') == file.size()-1) {
if(file.size()<=2) continue;
file = file.substr(1,file.size()-2);
}
commit.addFile(file, status);
}
//check we at least got a username
if(commit.username.empty()) return false;
return true;
}
gource-0.47/src/formats/cvs2cl.cpp 0000644 0002031 0002031 00000010536 13154400154 016706 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "cvs2cl.h"
#include "../gource_settings.h"
#ifdef HAVE_LIBTINYXML
#include
#else
#include "../tinyxml/tinyxml.h"
#endif
Regex cvs2cl_xml_tag("^<\\??xml");
Regex cvs2cl_logentry_start("^");
Regex cvs2cl_logentry_timestamp("(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2})Z");
std::string CVS2CLCommitLog::logCommand() {
std::string log_command = "cvs2cl --chrono --stdout --xml -g-q";
return log_command;
}
CVS2CLCommitLog::CVS2CLCommitLog(const std::string& logfile) : RCommitLog(logfile, '<') {
}
bool CVS2CLCommitLog::parseCommit(RCommit& commit) {
//fprintf(stderr,"parsing cvs2cl log\n");
std::string line;
if(!getNextLine(line)) return false;
//start of log entry
if(!cvs2cl_logentry_start.match(line)) {
//is this the start of the document
if(!cvs2cl_xml_tag.match(line)) return false;
//fprintf(stderr,"found xml tag\n");
//if so find the first logentry tag
bool found_logentry = false;
while(getNextLine(line)) {
if(cvs2cl_logentry_start.match(line)) {
found_logentry = true;
break;
}
}
if(!found_logentry) return false;
}
//fprintf(stderr,"found logentry\n");
logentry.clear();
logentry.append(line);
logentry.append("\n");
//fprintf(stderr,"found opening tag\n");
bool endfound = false;
while(getNextLine(line)) {
logentry.append(line);
logentry.append("\n");
if(cvs2cl_logentry_end.match(line)) {
//fprintf(stderr,"found closing tag\n");
endfound=true;
break;
}
}
//incomplete commit
if(!endfound) return false;
//fprintf(stderr,"read logentry\n");
TiXmlDocument doc;
if(!doc.Parse(logentry.c_str())) return false;
//fprintf(stderr,"try to parse logentry: %s\n", logentry.c_str());
TiXmlElement* leE = doc.FirstChildElement( "entry" );
std::vector entries;
if(!leE) return false;
//parse date
TiXmlElement* dateE = leE->FirstChildElement( "isoDate" );
if(!dateE) return false;
std::string timestamp_str(dateE->GetText());
if(!cvs2cl_logentry_timestamp.match(timestamp_str, &entries))
return false;
struct tm time_str;
time_str.tm_year = atoi(entries[0].c_str()) - 1900;
time_str.tm_mon = atoi(entries[1].c_str()) - 1;
time_str.tm_mday = atoi(entries[2].c_str());
time_str.tm_hour = atoi(entries[3].c_str());
time_str.tm_min = atoi(entries[4].c_str());
time_str.tm_sec = atoi(entries[5].c_str());
time_str.tm_isdst = -1;
commit.timestamp = mktime(&time_str);
//parse author
TiXmlElement* authorE = leE->FirstChildElement("author");
if(authorE != 0) {
std::string author(authorE->GetText());
if(author.empty()) author = "Unknown";
commit.username = author;
}
//parse changes
for(TiXmlElement* fileE = leE->FirstChildElement("file"); fileE != 0; fileE = fileE->NextSiblingElement()) {
TiXmlElement* state = fileE->FirstChildElement("cvsstate");
TiXmlElement* name = fileE->FirstChildElement("name");
//check for state
if(name == 0 || state == 0) continue;
std::string status = strcmp(state->GetText(), "dead") == 0 ? "D" : "M";
std::string file(name->GetText());
if(file.empty()) continue;
commit.addFile(file, status);
}
//fprintf(stderr,"parsed logentry\n");
//read files
return true;
}
gource-0.47/src/formats/gitraw.h 0000644 0002031 0002031 00000001771 13154400154 016455 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef GITLOG_RAW_H
#define GITLOG_RAW_H
#include "commitlog.h"
#include
extern std::string gGourceGitRawLogCommand;
class GitRawCommitLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
public:
GitRawCommitLog(const std::string& logfile);
};
#endif
gource-0.47/src/formats/hg.cpp 0000644 0002031 0002031 00000007662 13154400154 016116 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "hg.h"
#include "../core/sdlapp.h"
#include "../gource_settings.h"
#include
Regex hg_regex("^([0-9]+) -?[0-9]+\\|([^|]+)\\|([ADM]?)\\|(.+)$");
std::string MercurialLog::logCommand() {
// parse Mercurial log entries (using the gource.style template)
std::string gource_style_path = gSDLAppResourceDir + std::string("gource.style");
std::string range =
// date range
(!gGourceSettings.start_date.empty() && !gGourceSettings.stop_date.empty()) ?
str(boost::format("--date '%s to %s'") % gGourceSettings.start_date % gGourceSettings.stop_date)
// start date only
: (!gGourceSettings.start_date.empty()) ?
str(boost::format("--date '>%s'") % gGourceSettings.start_date)
// stop date only
: (!gGourceSettings.stop_date.empty()) ?
str(boost::format("--date '<%s'") % gGourceSettings.stop_date)
// default
: "";
std::string log_command = str(boost::format("hg log %s -r 0:tip --style '%s'") % range % gource_style_path);
#ifdef _WIN32
std::replace(log_command.begin(), log_command.end(), '\'', '"');
#endif
return log_command;
}
MercurialLog::MercurialLog(const std::string& logfile) : RCommitLog(logfile) {
log_command = logCommand();
//can generate log from directory
if(!logf && is_dir) {
logf = generateLog(logfile);
if(logf) {
success = true;
seekable = true;
}
}
}
BaseLog* MercurialLog::generateLog(const std::string& dir) {
//does directory have a .hg ?
std::string hgdir = dir + std::string("/.hg");
struct stat dirinfo;
int stat_rc = stat(hgdir.c_str(), &dirinfo);
if(stat_rc!=0 || !(dirinfo.st_mode & S_IFDIR)) {
return 0;
}
// do we have this client installed
requireExecutable("hg");
std::string command = getLogCommand();
createTempLog();
if(temp_file.size()==0) return 0;
char cmd_buff[2048];
snprintf(cmd_buff, 2048, "%s -R \"%s\" > %s", command.c_str(), dir.c_str(), temp_file.c_str());
int command_rc = systemCommand(cmd_buff);
if(command_rc != 0) {
return 0;
}
BaseLog* seeklog = new SeekLog(temp_file);
return seeklog;
}
bool MercurialLog::parseCommit(RCommit& commit) {
while(parseCommitEntry(commit));
return !commit.files.empty();
}
bool MercurialLog::parseCommitEntry(RCommit& commit) {
std::string line;
std::vector entries;
if(!logf->getNextLine(line)) return false;
//custom line
if(!hg_regex.match(line, &entries)) return false;
time_t timestamp = atol(entries[0].c_str());
std::string username = entries[1];
//if this file is for the same person and timestamp
//we add to the commit, else we save the lastline
//and return false
if(commit.files.empty()) {
commit.timestamp = timestamp;
commit.username = username;
} else {
if(commit.timestamp != timestamp || commit.username != username) {
lastline = line;
return false;
}
}
std::string action = "A";
if(!entries[2].empty()) {
action = entries[2];
}
commit.addFile(entries[3], action);
//commit.debug();
return true;
}
gource-0.47/src/formats/cvs-exp.h 0000644 0002031 0002031 00000001740 13154400154 016541 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef CVSLOG_EXP_H
#define CVSLOG_EXP_H
#include "commitlog.h"
class CVSEXPCommitLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
public:
CVSEXPCommitLog(const std::string& logfile);
static std::string logCommand();
};
#endif
gource-0.47/src/formats/commitlog.cpp 0000644 0002031 0002031 00000020607 13154400154 017504 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "commitlog.h"
#include "../gource_settings.h"
#include "../core/sdlapp.h"
#include "../core/utf8/utf8.h"
std::string RCommitLog::filter_utf8(const std::string& str) {
std::string filtered;
try {
utf8::replace_invalid(str.begin(), str.end(), back_inserter(filtered), '?');
}
catch(...) {
filtered = "???";
}
return filtered;
}
//RCommitLog
RCommitLog::RCommitLog(const std::string& logfile, int firstChar) {
logf = 0;
seekable = false;
success = false;
is_dir = false;
buffered = false;
if(logfile == "-") {
//check first char
if(checkFirstChar(firstChar, std::cin)) {
logf = new StreamLog();
is_dir = false;
seekable = false;
success = true;
}
return;
}
struct stat fileinfo;
int rc = stat(logfile.c_str(), &fileinfo);
if(rc==0) {
is_dir = (fileinfo.st_mode & S_IFDIR) ? true : false;
if(!is_dir) {
//check first char
std::ifstream testf(logfile.c_str());
bool firstOK = checkFirstChar(firstChar, testf);
testf.close();
if(firstOK) {
logf = new SeekLog(logfile);
seekable = true;
success = true;
}
}
}
}
RCommitLog::~RCommitLog() {
if(logf!=0) delete logf;
if(!temp_file.empty()) {
remove(temp_file.c_str());
}
}
int RCommitLog::systemCommand(const std::string& command) {
int rc = system(command.c_str());
return rc;
}
// TODO: implement check for 'nix OSs
void RCommitLog::requireExecutable(const std::string& exename) {
#ifdef _WIN32
TCHAR exePath[MAX_PATH];
DWORD result = SearchPath(0, exename.c_str(), ".exe", MAX_PATH, exePath, 0);
if(result) return;
throw SDLAppException("unable to find %s.exe", exename.c_str());
#endif
}
//check firstChar of stream is as expected. if no firstChar defined just returns true.
bool RCommitLog::checkFirstChar(int firstChar, std::istream& stream) {
//cant check this
if(firstChar == -1) return true;
int c = stream.peek();
if(firstChar == c) return true;
return false;
}
bool RCommitLog::checkFormat() {
if(!success) return false;
//read a commit to see if the log is in the correct format
if(nextCommit(lastCommit, false)) {
if(seekable) {
//if the log is seekable, go back to the start
((SeekLog*)logf)->seekTo(0.0);
} else {
//otherwise set the buffered flag as we have bufferd one commit
buffered = true;
}
return true;
}
return false;
}
std::string RCommitLog::getLogCommand() {
return log_command;
}
bool RCommitLog::isSeekable() {
return seekable;
}
bool RCommitLog::getCommitAt(float percent, RCommit& commit) {
if(!seekable) return false;
SeekLog* seeklog = ((SeekLog*)logf);
//save settings
long currpointer = seeklog->getPointer();
std::string currlastline = lastline;
seekTo(percent);
bool success = findNextCommit(commit,500);
//restore settings
seeklog->setPointer(currpointer);
lastline = currlastline;
return success;
}
bool RCommitLog::getNextLine(std::string& line) {
if(!lastline.empty()) {
line = lastline;
lastline = std::string("");
return true;
}
return logf->getNextLine(line);
}
void RCommitLog::seekTo(float percent) {
if(!seekable) return;
lastline = "";
((SeekLog*)logf)->seekTo(percent);
}
float RCommitLog::getPercent() {
if(seekable) return ((SeekLog*)logf)->getPercent();
return 0.0;
}
bool RCommitLog::findNextCommit(RCommit& commit, int attempts) {
for(int i=0;iisFinished()) return true;
return false;
}
bool RCommitLog::hasBufferedCommit() {
return buffered;
}
//create temp file
void RCommitLog::createTempLog() {
std::string tempdir;
#ifdef _WIN32
DWORD tmplen = GetTempPath(0, 0);
if(tmplen == 0) return;
std::vector temp(tmplen+1);
tmplen = GetTempPath(static_cast(temp.size()), &temp[0]);
if(tmplen == 0 || tmplen >= temp.size()) return;
tempdir = std::string(temp.begin(), temp.begin() + static_cast(tmplen));
tempdir += "\\";
#else
tempdir = "/tmp/";
#endif
char tmplate[1024];
snprintf(tmplate, 1024, "%sgource-XXXXXX", tempdir.c_str());
#ifdef _WIN32
if(mktemp(tmplate) < 0) return;
#else
if(mkstemp(tmplate) < 0) return;
#endif
temp_file = std::string(tmplate);
}
// RCommitFile
RCommitFile::RCommitFile(const std::string& filename, const std::string& action, vec3 colour) {
this->filename = RCommitLog::filter_utf8(filename);
//prepend a root slash
if(this->filename[0] != '/') {
this->filename.insert(0, 1, '/');
}
this->action = action;
this->colour = colour;
}
RCommit::RCommit() {
timestamp = 0;
}
vec3 RCommit::fileColour(const std::string& filename) {
size_t slash = filename.rfind('/');
size_t dot = filename.rfind('.');
if(dot != std::string::npos && dot+1::iterator ri = gGourceSettings.file_filters.begin(); ri != gGourceSettings.file_filters.end(); ri++) {
Regex* r = *ri;
if(r->match(filename)) {
return;
}
}
}
// Only allow files that have been whitelisted
if(!gGourceSettings.file_show_filters.empty()) {
for(std::vector::iterator ri = gGourceSettings.file_show_filters.begin(); ri != gGourceSettings.file_show_filters.end(); ri++) {
Regex* r = *ri;
if(!r->match(filename)) {
return;
}
}
}
files.push_back(RCommitFile(filename, action, colour));
}
void RCommit::postprocess() {
username = RCommitLog::filter_utf8(username);
}
bool RCommit::isValid() {
//check user against filters, if found, discard commit
if(!gGourceSettings.user_filters.empty()) {
for(std::vector::iterator ri = gGourceSettings.user_filters.begin(); ri != gGourceSettings.user_filters.end(); ri++) {
Regex* r = *ri;
if(r->match(username)) {
return false;
}
}
}
return !files.empty();
}
void RCommit::debug() {
debugLog("files:\n");
for(std::list::iterator it = files.begin(); it != files.end(); it++) {
RCommitFile f = *it;
debugLog("%s %s\n", f.action.c_str(), f.filename.c_str());
}
}
gource-0.47/src/formats/bzr.h 0000644 0002031 0002031 00000002013 13154400154 015743 0 ustar andrewc andrewc /*
Copyright (C) 2010 John Arbash Meinel
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef BAZAARLOG_H
#define BAZAARLOG_H
#include "commitlog.h"
class BazaarLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
BaseLog* generateLog(const std::string& dir);
public:
BazaarLog(const std::string& logfile);
static std::string logCommand();
};
#endif
gource-0.47/src/formats/apache.h 0000644 0002031 0002031 00000002005 13154400154 016370 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef GOURCE_APACHE_H
#define GOURCE_APACHE_H
#include
#include "commitlog.h"
class ApacheCombinedLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
BaseLog* generateLog(const std::string& dir);
public:
ApacheCombinedLog(const std::string& logfile);
};
#endif
gource-0.47/src/formats/svn.h 0000644 0002031 0002031 00000002135 13154400154 015761 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef SVNLOG_H
#define SVNLOG_H
#include "commitlog.h"
#include
extern std::string gGourceSVNLogCommand;
class SVNCommitLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
BaseLog* generateLog(const std::string& dir);
std::string logentry;
public:
SVNCommitLog(const std::string& logfile);
static std::string logCommand();
};
#endif
gource-0.47/src/formats/cvs2cl.h 0000644 0002031 0002031 00000001763 13154400154 016355 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef CVS2CL_H
#define CVS2CL_H
#include "commitlog.h"
class CVS2CLCommitLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
std::string logentry;
public:
CVS2CLCommitLog(const std::string& logfile);
static std::string logCommand();
};
#endif
gource-0.47/src/formats/git.h 0000644 0002031 0002031 00000002004 13154400154 015731 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef GITLOG_H
#define GITLOG_H
#include "commitlog.h"
class GitCommitLog : public RCommitLog {
protected:
bool parseCommit(RCommit& commit);
BaseLog* generateLog(const std::string& dir);
public:
GitCommitLog(const std::string& logfile);
static std::string logCommand();
};
#endif
gource-0.47/src/gource_settings.h 0000644 0002031 0002031 00000006775 13154400154 016722 0 ustar andrewc andrewc /*
Copyright (C) 2010 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#ifndef GOURCE_SETTINGS_H
#define GOURCE_SETTINGS_H
#define GOURCE_VERSION "0.47"
#include "core/texture.h"
#include "core/settings.h"
#include "core/regex.h"
class GourceSettings : public SDLAppSettings {
protected:
void commandLineOption(const std::string& name, const std::string& value);
public:
int repo_count;
bool hide_date;
bool hide_users;
bool hide_tree;
bool hide_files;
bool hide_usernames;
bool hide_filenames;
bool hide_dirnames;
bool hide_progress;
bool hide_bloom;
bool hide_mouse;
bool hide_root;
bool disable_auto_rotate;
bool show_key;
std::string load_config;
std::string save_config;
std::string path;
bool default_path;
std::string logo;
vec2 logo_offset;
std::string start_date;
std::string stop_date;
time_t start_timestamp;
time_t stop_timestamp;
float start_position;
float stop_position;
float stop_at_time;
bool shutdown;
bool stop_on_idle;
bool stop_at_end;
bool dont_stop;
float auto_skip_seconds;
float days_per_second;
float file_idle_time;
bool loop;
bool ffp;
bool colour_user_images;
std::string default_user_image;
std::string user_image_dir;
std::map user_image_map;
float camera_zoom_min;
float camera_zoom_max;
float camera_zoom_default;
std::string camera_mode;
float padding;
bool crop_vertical;
bool crop_horizontal;
float bloom_multiplier;
float bloom_intensity;
vec3 background_colour;
std::string background_image;
std::string title;
int font_size;
vec3 font_colour;
float elasticity;
std::string git_branch;
std::string log_format;
std::string date_format;
int max_files;
float max_user_speed;
float max_file_lag;
float user_idle_time;
float user_friction;
float user_scale;
float time_scale;
bool highlight_dirs;
bool highlight_all_users;
vec3 dir_colour;
vec3 highlight_colour;
vec3 selection_colour;
int dir_name_depth;
std::vector highlight_users;
std::vector follow_users;
std::vector file_filters;
std::vector file_show_filters;
std::vector user_filters;
bool file_extensions;
std::string caption_file;
vec3 caption_colour;
float caption_duration;
int caption_size;
int caption_offset;
vec3 filename_colour;
float filename_time;
std::string output_custom_filename;
TextureResource* file_graphic;
int log_level;
GourceSettings();
void setGourceDefaults();
void importGourceSettings(ConfFile& conf, ConfSection* gource_settings = 0);
void help(bool extended_help=false);
};
extern GourceSettings gGourceSettings;
#endif
gource-0.47/src/spline.cpp 0000644 0002031 0002031 00000010077 13154400154 015331 0 ustar andrewc andrewc /*
Copyright (C) 2009 Andrew Caudwell (acaudwell@gmail.com)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include "spline.h"
SplineEdge::SplineEdge() {
}
void SplineEdge::update(const vec2& pos1, const vec4& col1, const vec2& pos2, const vec4& col2, const vec2& spos) {
vec2 pt_last;
vec4 col_last;
vec2 mid = (pos1 - pos2) * 0.5f;
vec2 to = vec2(pos1 - spos);
//TODO: not sure this makes any sense
//float dp = std::min(1.0f, to.normal().dot(mid.normal()));
float dp = std::min(1.0f, glm::dot(normalise(to), normalise(mid)) );
float ang = acos(dp) / PI;
int edge_detail = std::min(10, (int) (ang * 100.0));
if(edge_detail<1) edge_detail = 1;
spline_point.clear();
spline_colour.clear();
spline_point.reserve(edge_detail+1);
spline_colour.reserve(edge_detail+1);
//calculate positions
for(int i=0; i <= edge_detail; i++) {
float t = (float)i/edge_detail;
float tt = 1.0f-t;
vec2 p0 = pos1 * t + spos * tt;
vec2 p1 = spos * t + pos2 * tt;
vec2 pt = p0 * t + p1 * tt;
vec4 coln = col1 * t + col2 * tt;
spline_point.push_back(pt);
spline_colour.push_back(coln);
}
midpoint = pos1 * 0.25f + pos2 * 0.25f + spos * 0.5f;
}
const vec2& SplineEdge::getMidPoint() const {
return midpoint;
}
void SplineEdge::drawToVBO(quadbuf& buffer) const {
int edges_count = spline_point.size() - 1;
for(int i=0; i < edges_count; i++) {
//vec2 perp = (spline_point[i] - spline_point[i+1]).perpendicular().normal() * 2.5f;
vec2 perp = (spline_point[i] - spline_point[i+1]);
perp = normalise(vec2(-perp.y, perp.x)) * 2.5f;
quadbuf_vertex v1(spline_point[i] + perp, spline_colour[i], vec2(1.0f, 0.0f));
quadbuf_vertex v2(spline_point[i] - perp, spline_colour[i], vec2(0.0f, 0.0f));
quadbuf_vertex v3(spline_point[i+1] - perp, spline_colour[i+1], vec2(0.0f, 0.0f));
quadbuf_vertex v4(spline_point[i+1] + perp, spline_colour[i+1], vec2(1.0f, 0.0f));
buffer.add(0, v1, v2, v3, v4);
}
}
void SplineEdge::drawBeam(const vec2 & pos1, const vec4 & col1, const vec2 & pos2, const vec4 & col2, float radius, bool first) const{
//vec2 perp = (pos1 - pos2).perpendicular().normal() * radius;
vec2 perp = (pos1 - pos2);
perp = normalise(vec2(-perp.y, perp.x)) * radius;
// src point
if(first) {
glColor4fv(glm::value_ptr(col1));
glTexCoord2f(1.0,0.0);
glVertex2f(pos1.x + perp.x, pos1.y + perp.y);
glTexCoord2f(0.0,0.0);
glVertex2f(pos1.x - perp.x, pos1.y - perp.y);
}
// dest point
glColor4fv(glm::value_ptr(col2));
glTexCoord2f(1.0,0.0);
glVertex2f(pos2.x + perp.x, pos2.y + perp.y);
glTexCoord2f(0.0,0.0);
glVertex2f(pos2.x - perp.x, pos2.y - perp.y);
}
void SplineEdge::drawShadow() const{
int edges_count = spline_point.size() - 1;
vec2 offset(2.0, 2.0);
glBegin(GL_QUAD_STRIP);
for(int i=0;i