Initial checkin of veejay 1.4

git-svn-id: svn://code.dyne.org/veejay/trunk@1172 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
Niels Elburg
2008-11-10 20:16:24 +00:00
parent d81258c54c
commit d8e6f98d53
793 changed files with 244409 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Tim Philipp M<>ller
(CellRendererSpin 15 minute hack - good enough)
Matthijs v. Henten <cola@looze.net>:
Glade-2 interface design
Icon/picture design
Thomas Reinhold <stan@jf-chemnitz.de>
Samplebank
Dursun Koca
Veejay Logo (V) design
Niels Elburg <nelburg@looze.net>
Lead programming
Contributions by:
Toni < oc2pus@arcor.de >
(making gveejay happen on GTK 2.4, veejay.spec file)

View File

@@ -0,0 +1,340 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) 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
this service 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 make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. 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.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
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
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the 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 a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE 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.
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
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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 2 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, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision 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, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This 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 Library General
Public License instead of this License.

View File

View File

@@ -0,0 +1,82 @@
# Process with automake to produce Makefile.in
SUBDIRS =
if USE_GVEEJAYRELOADED
SUBDIRS += src
endif
EXTRA_DIST = \
autogen.sh\
depcomp \
cpuinfo.sh \
autogen.sh \
gveejay-paths.sh.in
DISTCLEANFILES = \
confdefs.h \
config.cache \
config.status \
config.log \
gveejay-paths.h
MAINTAINERCLEANFILES = \
compile \
depcomp \
install-sh \
missing \
mkinstalldirs \
Makefile.in \
aclocal.m4 \
config.guess \
config.h.in \
config.sub \
configure \
ltmain.sh \
stamp-h.in
## .glade files must be in same directory as pixmaps ?!!
install-data-local:
@$(NORMAL_INSTALL)
if test -d $(srcdir)/share; then \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir); \
for dialog in $(srcdir)/share/*; do \
if test -f $$dialog; then \
$(INSTALL_DATA) $$dialog $(DESTDIR)$(pkgdatadir); \
fi \
done \
fi;
gveejay-path.h: gveejay-paths.sh
@sh $< > $@.tmp ;
if cmp -s $@.tmp $@; then
rm $@.tmp;
else
mv $@.tmp $@ ; echo updated gveejay-paths.h;
fi
dist-hook:
rm -f %(distdir)/gveejay-paths.sh \
if test -d share; then \
mkdir $(distdir)/dialogs; \
for dialog in share/*; do \
if test -f $$dialog; then \
cp -p $$dialog $(distdir)/dialogs; \
fi \
done \
fi
## make rpms
rpm: Makefile
$(MAKE) dist
rpmbuild -ta --clean $(PACKAGE)-$(VERSION).tar.gz
## make debs
deb: Makefile dist
-chmod -R +w $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
tar xzf $(PACKAGE)-$(VERSION).tar.gz
cd $(PACKAGE)-$(VERSION); dpkg-buildpackage -rfakeroot

View File

View File

@@ -0,0 +1,104 @@
~==
~====
:... ~~====
:...... ~~~~====
:.....: ~~~~====
:...... -~~~~===
:....... --~~~~~==
:....... ::~~~~~~=
:...... "::~~~~==
:....., :::~~~===
:..... =::~~~~===
:...... :::~~~====
....... ::~~~~~===
....... :::~~~~~~==
...... ~::~~~~~~==
...... |::~~~=|
..... :::|:~==|
..::: |:=|||==+
., :., :|||?||+=
..::,,.: :||=~=.||
,...::,,, |~:=|||||+|
:..,:::||||~~~====++
,:,,,:::~~~~~===++++ Reloaded
,::::~~~====++++
~~~~~===+++++ version 1.0
~~===+++++++:
N=++++++++++ April 2007.
+++++++++
++++::::
:::::
||
:: Reloaded, a graphical interface for Veejay ::
FEATURE OVERVIEW
General:
# Thin client (TCP/IP)
# MIDI support (auto learning)
# Slick interface designed for live performing
# Tracks multiple veejay servers
Install
=======
See file 'INSTALL'
See doc/Howto_Compile.html
See doc/Howto_Compile_on_Ubuntu.html
Documentation
=============
See source code.
Running
=======
$ reloaded
To use a midi controller with veejay you must connect
the veejay's sequencer port to the MIDI controller port.
There is a utility 'aconnect' (comes with ALSA) that does this.
1. List inputs (midi keyboards)
$ aconnect -i
client 129: 'Virtual Keyboard' [type=user]
2. List outputs (Veejay)
$ aconnect -o
client 128: 'Veejay' [type=user]
3. Connect the ports
$ aconnect 129 128
4. Launch reloaded
About
=====
GveejayReloaded is a client for veejay. As long as veejay (the server)
is running, you can connect and disconnect from it with reloaded.

7773
veejay-current/veejay-client/aclocal.m4 vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,5 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
autoreconf -v -f -i

View File

@@ -0,0 +1,746 @@
dnl Process this file with autoconf to produce a configure script.
dnl AC_INIT
AC_INIT([gveejay],[1.4],[veejay-users@lists.sourceforge.net])
AC_PREREQ(2.57)
AC_CONFIG_SRCDIR([src/gveejay.c])
VEEJAY_MAJOR_VERSION=1
VEEJAY_MINOR_VERSION=4
VEEJAY_MICRO_VERSION=0
VEEJAY_VERSION=$VEEJAY_MAJOR_VERSION.$VEEJAY_MINOR_VERSION.$VEEJAY_MICRO_VERSION
VEEJAY_CODENAME="Reloaded - build $VEEJAY_MINOR_VERSION $VEEJAY_MICRO_VERSION"
AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([1.7])
AM_MAINTAINER_MODE
AM_INIT_AUTOMAKE([dist-bzip2])
AC_DEFINE(HAVE_CONFIG_H,1,[Include config.h])
# libtool versioning
LT_RELEASE=$VEEJAY_MAJOR_VERSION.$VEEJAY_MINOR_VERSION
LT_CURRENT=$VEEJAY_MICRO_VERSION
LT_REVISION=$VEEJAY_MICRO_VERSION
LT_AGE=$VEEJAY_MICRO_VERSION
AC_SUBST(LT_RELEASE)
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
dnl kill CFLAGS
CFLAGS=""
AC_ARG_ENABLE(strict,
AC_HELP_STRING([--enable-strict],
[Compile in paranoia assertion checking]))
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
[Compile in debugging information]))
AC_ARG_ENABLE(profile,
AC_HELP_STRING([--enable-profiling],
[Compile in profiling information]))
AC_ARG_ENABLE(compile-warnings,
AC_HELP_STRING([--enable-compile-warnings],
[Turn on compiler warnings.]))
AC_ARG_ENABLE(warnings_as_errors,
AC_HELP_STRING([--enable-warnings_as_errors],
[Compiler warnings are errors.]))
AC_ARG_ENABLE(simd-accel,
AC_HELP_STRING([--enable-simd-accel],
[use SIMD multimedia instructions such as MMX, AltiVec, etc.if possible]))
AC_ARG_WITH(extra-cflags,
AC_HELP_STRING([--with-extra-cflags=flags],
[Options to be added to CFLAGS (optional)]))
AC_ARG_WITH(pixbuf,
AC_HELP_STRING([--without-pixbuf], [Do not use GDK pixbuf]),
[], [with_pixbuf=yes])
AC_GNU_SOURCE
dnl Initialize libtool
AC_PROG_LIBTOOL
dnl Checks for programs.
AC_PROG_AWK
AC_PROG_CC
AM_PROG_CC_STDC
AC_PROG_YACC
AM_PROG_LEX
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_LN_S
AC_C_BIGENDIAN
AC_C_CONST
AC_C_INLINE
AC_SYS_LARGEFILE
dnl configure AS and ASFLAGS...
AM_PROG_AS
AC_CHECK_HEADERS([fenv.h stdint.h inttypes.h sys/types.h alloca.h])
dnl AX_PREFIXED_DEFINE([VEEJAY], [HAVE_STDINT_H])
dnl AX_PREFIXED_DEFINE([VEEJAY], [HAVE_INTTYPES_H])
AC_CHECK_FUNCS([posix_memalign memalign fmax lround pow bzero gettimeofday memset mmap strndup strstr strncasecmp])
AC_CHECK_FUNCS([sched_get_priority_max])
AC_CHECK_FUNCS([select socket getpagesize memcpy])
AC_CHECK_FUNC(getopt_long,
[AC_DEFINE(HAVE_GETOPT_LONG, 1, [long getopt support])],
[ # FreeBSD and BSD/OS have a gnugetopt library for this:
AC_CHECK_LIB([gnugetopt], [getopt_long],
[AC_DEFINE(HAVE_GETOPT_LONG, 1,
[long getopt support])
LIBGETOPT_LIB="-lgnugetopt"])
])
AC_CHECK_SIZEOF([int])
AC_CHECK_SIZEOF([long int])
AC_CHECK_SIZEOF([size_t])
AC_CHECK_SIZEOF([float])
AC_SUBST(LIBGETOPT_LIB)
AC_TYPE_SIGNAL
AC_MSG_NOTICE([The host is $host $host_cpu $host_vendor $host_os .])
use_gveejayreloaded=true
case $host in
*-*-linux*)
AC_CHECK_HEADER(linux/version.h,
[have_linux=true
AC_DEFINE(HAVE_LINUX,,[Linux platform])
],
[AC_MSG_ERROR([version.h not found - please install the linux kernel headers])
])
LIBM_LIBS="-lm"
;;
*-apple-darwin*)
AC_DEFINE(HAVE_DARWIN,,[MAC OS X Darin])
dnl OS-X/Darwin needs no-cpp-precomp
CFLAGS="$CFLAGS -no-cpp-precomp"
have_darwin=true
LIBM_LIBS=""
;;
*)
AC_MSG_WARN([Alien platform - Good Luck!])
LIBM_LIBS=""
;;
esac
dnl ====== check for PKG_CONFIG_PATH
if test x"$PKG_CONFIG_PATH" = x ; then
AC_MSG_NOTICE([The PKG_CONFIG_PATH variable was not set])
AC_MSG_NOTICE([You should set it to the directories that contain the .pc files])
AC_MSG_ERROR([Abort])
fi
AC_SUBST(LIBM_LIBS)
dnl *********************************************************************
dnl Check for the pthread lib
dnl
AC_SUBST(PTHREAD_LIBS)
have_pthread=false
AC_CHECK_LIB(pthread, pthread_create,
[ PTHREAD_LIBS="-lpthread"
AC_DEFINE(HAVE_LIBPTHREAD,,[Compiling with pthread library])
have_pthread=true ],,)
AC_CHECK_FUNC(pthread_attr_getstacksize,
[
AC_DEFINE(HAVE_PTHREADSTACKSIZE,,[Using pthread stack size])
] )
have_alsa=false
AC_CHECK_LIB( asound, snd_seq_open,
[
AC_DEFINE( HAVE_ALSA,1, [Whether or not we have alsa])
ALSA_LIBS="-lasound"
AC_SUBST( ALSA_LIBS )
have_alsa=true ],,)
AC_CHECK_HEADER(alsa/asoundlib.h,,[AC_MSG_ERROR([alsa/asoundlib.h not found - please install the alsa header])] )
have_dl_dlopen=false
AC_CHECK_LIB(dl,dlopen)
if test "$ac_cv_lib_dl_dlopen" = "yes"; then
AC_DEFINE(HAVE_DL_DLOPEN,,[Compile with dlopen support])
have_dl_dlopen=true
fi
dnl Check for Veejay
have_veejay=false
PKG_CHECK_MODULES( VEEJAY, [veejay >= 1.0 ],
[
AC_SUBST( VEEJAY_CFLAGS )
AC_SUBST( VEEJAY_LIBS )
have_veejay=true
AC_DEFINE(HAVE_VEEJAY,1, [Veejay installed])]
,
[have_veejay=false])
if test x$have_veejay != xtrue ; then
AC_MSG_ERROR([Cannot find Veejay.])
fi
dnl *********************************************************************
dnl Check for mjpegtools
dnl (creates MJPEGYTOOLS_CFLAGS,
dnl *********************************************************************
have_mjpegtools=false
PKG_CHECK_MODULES(MJPEGTOOLS, [mjpegtools >= 1.6 ],
[
AC_SUBST( MJPEGTOOLS_CFLAGS )
AC_SUBST( MJPEGTOOLS_LIBS )
have_mjpegtools=true
AC_DEFINE(HAVE_MJPEGTOOLS, 1, [MJPEGTools installed])],
[have_mjpegtools=false])
if test x$have_mjpegtools != xtrue ; then
AC_MSG_ERROR([Cannot find mjpegtools. Did you set PKG_CONFIG_PATH variable?])
fi
have_pixbuf=false
if test x$with_pixbuf != xno ; then
PKG_CHECK_MODULES(PIXBUF, [gtk+-2.0 >= 2.0 gdk-pixbuf-2.0],
[
AC_SUBST( PIXBUF_CFLAGS )
AC_SUBST( PIXBUF_LIBS )
have_pixbuf=true
AC_DEFINE(USE_GDK_PIXBUF, 1, [use gdk image load / save])],
[have_pixbuf=false])
fi
dnl ********************************************************************
dnl Check to see if __progname is provided by the system
dnl ********************************************************************
AC_CACHE_CHECK([for __progname],
[mjt_cv_extern___progname],
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],
[[extern char *__progname;
puts(__progname);]])],
[mjt_cv_extern___progname=yes],
[mjt_cv_extern___progname=no])])
if test x$mjt_cv_extern___progname = xyes ; then
AC_DEFINE(HAVE___PROGNAME, 1, [Is __progname defined by system?])
fi
dnl Look for X
AC_PATH_XTRA
AM_CONDITIONAL(HAVE_X, test x$have_x = xyes)
AC_MSG_CHECKING(whether to compile in profiling information)
if test "x$enable_profiling" = "xyes" ; then
debugCFLAGS="$debugCFLAGS -fprofile-arcs -ftest-coverage"
DEBUGLIBS="-lgcov"
AC_SUBST( DEBUGLIBS )
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_MSG_CHECKING(whether to compile in assertion checking)
if test "x$enable_strict" = "xyes" ; then
debugCFLAGS="$debugCFLAGS -g -DSTRICT_CHECKING"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
have_asm_nasm=false
have_asm_mmx=false
have_asm_sse=false
have_asm_sse2=false
have_asm_mmx2=false
have_asm_3dnow=false
have_cmov=false
have_x86cpu=false
have_x86_64cpu=false
have_altivec=false
have_mips=false
have_ppccpu=false
have_ps2=false
OP_CFLAGS=""
YUVCFLAGS="-fif-conversion"
AC_MSG_CHECKING([Architecture])
case $host_cpu in
i[[3-7]]86)
AC_DEFINE(HAVE_X86CPU,, [Compiling for x86 architecture CPU])
AC_DEFINE(ARCH_X86,1,[Compiling for x86 architecture])
have_x86cpu=true
PROGRAM_NOPIC="-fno-PIC"
if test "x$enable_debug" != "xyes" ; then
OP_CFLAGS="-O3"
fi
AC_SUBST( OP_CFLAGS )
AC_SUBST( YUVCFLAGS )
dnl If the host is pentium, align on double word boundary
case $host_cpu in
i686)
CFLAGS="$CFLAGS"
;;
*)
;;
esac
;;
x86_64*|k8-*)
AC_DEFINE(HAVE_X86_CPU,, [Compiling for x86-64 architecture CPU])
AC_DEFINE(ARCH_X86_64,1, [Compiling for x86-64 architecture CPU])
have_x86cpu=true
have_x86_64cpu=true
CFLAGS="$CFLAGS -fPIC -DPIC"
;;
powerpc | powerpc64)
AC_DEFINE(HAVE_PPCCPU,, [Compiling for PowerPC CPU])
AC_DEFINE(ARCH_PPC,,[Compiling for PowerPC])
have_ppccpu=true
case $host in
*-apple-darwin*)
PROGRAM_NOPIC="-mdynamic-no-pic" # dynamic-no-pic is an Apple gcc option
dnl CFLAGS="$CFLAGS -no-cpp-precomp"
;;
*)
PROGRAM_NOPIC=""
;;
esac
;;
mips | mipsel)
AC_DEFINE(ARCH_MIPS,,[Compiling for MIPS CPU])
AC_DEFINE(HAVE_MIPS,,[Compiling for MIPS CPU])
have_mips=true
AC_MSG_CHECKING([if we are compiling on playstation2 hardware])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],
[[#include <linux/ps2/dev.h>
#include <linux/ps2/gs.h>
]])],
[have_ps2=true],
[have_ps2=false])
if test x$have_ps2 = xtrue ; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_PS2,,[Compile for playstation2])
else
AC_MSG_RESULT(no)
fi
;;
*)
AC_MSG_RESULT([unknown])
;;
esac
dnl This flag is used for PROGRAMS not SHARED LIBRARIES. PIC code is required
dnl for shared libraries but is slower than non-pic code. Compute bound
dnl programs such as yuvdenoise and y4mspatialfilter can use this flag by
dnl simply adding programname_CFLAGS=@PROGRAM_NOPIC@ to the Makefile.am
AC_SUBST(PROGRAM_NOPIC)
if test x$have_x86cpu = xtrue
then
AC_CACHE_CHECK(for MMX on processor(s), ac_cv_flag_mmx, [
if grep "^flags.* mmx" /proc/cpuinfo > /dev/null; then
ac_cv_flag_mmx=yes
else
ac_cv_flag_mmx=no
fi
])
if test $ac_cv_flag_mmx = yes; then
AC_DEFINE(HAVE_ASM_MMX,,[Compiling in MMX support])
AC_DEFINE(HAVE_MMX,,[Compiling in MMX support])
have_asm_mmx=true
fi
AC_CACHE_CHECK(for SSE on processor(s), ac_cv_flag_sse, [
if grep "^flags.* sse" /proc/cpuinfo > /dev/null; then
ac_cv_flag_sse=yes
else
ac_cv_flag_sse=no
fi
])
if test $ac_cv_flag_sse = yes; then
AC_DEFINE(HAVE_ASM_SSE,,[Compiling in SSE support])
AC_DEFINE(HAVE_SSE,,[Compiling in SSE support])
have_asm_sse=true
fi
dnl check for sse2
AC_CACHE_CHECK(for SSE2 on processor(s), ac_cv_flag_sse2, [
if grep "^flags.* sse2" /proc/cpuinfo > /dev/null; then
ac_cv_flag_sse2=yes
else
ac_cv_flag_sse2=no
fi
])
if test $ac_cv_flag_sse2 = yes; then
AC_DEFINE(HAVE_ASM_SSE2,,[Compiling in SSE2 support])
AC_DEFINE(HAVE_SSE2,,[Compiling in SSE2 support])
have_asm_sse2=true
fi
AC_CACHE_CHECK(for 3DNOW on processor(s), ac_cv_flag_3dnow, [
if grep "^flags.* 3dnow" /proc/cpuinfo > /dev/null; then
ac_cv_flag_3dnow=yes
else
ac_cv_flag_3dnow=no
fi
])
if test $ac_cv_flag_3dnow = yes; then
AC_DEFINE(HAVE_ASM_3DNOW,,[Compiling in 3Dnow])
have_asm_3dnow=true
fi
AC_CACHE_CHECK(for CMOV on processor(s), ac_cv_flag_cmov, [
if grep "^flags.* cmov" /proc/cpuinfo > /dev/null; then
ac_cv_flag_cmov=yes
else
ac_cv_flag_cmov=yes
fi
])
if test $ac_cv_flag_cmov = yes; then
AC_DEFINE(HAVE_CMOV,,[Compiling in CMOV])
have_cmov=true
fi
dnl check for MMX2
AC_CACHE_CHECK(for MMX2 on processor(s), ac_cv_flag_mmx2, [
if grep "^flags.* mmxext" /proc/cpuinfo > /dev/null; then
ac_cv_flag_mmx2=yes
else
ac_cv_flag_mmx2=yes
fi
])
if test $ac_cv_flag_mmx2 = yes; then
AC_DEFINE(HAVE_ASM_MMX2,,[Compiling in MMX2])
AC_DEFINE(HAVE_MMX2,,[Compiling in MMX2])
AC_DEFINE(HAVE_ASM_MMXEXT,,[Compiling in MMXEXT])
have_asm_mmx2=true
fi
fi
if test x$have_ppccpu = xtrue
then
AC_MSG_CHECKING([compiler support for AltiVec])
cat > conftest.c <<EOF
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
int main() {
union { vector signed int v;
signed int i;
} vi;
vi.v = vec_splat_s32(1);
return vi.i;
}
EOF
ALTIVEC_CFLAGS=""
if $CC -o conftest conftest.c >/dev/null 2>&1; then
have_altivec=true
elif $CC $CFLAGS -faltivec -o conftest conftest.c >/dev/null 2>&1; then
# Mac OS X style
have_altivec=true
ALTIVEC_CFLAGS="-faltivec"
elif $CC $CFLAGS -fvec -o conftest conftest.c >/dev/null 2>&1; then
# Motorola style
have_altivec=true
ALTIVEC_CFLAGS="-fvec"
elif $CC $CFLAGS -DHAVE_ALTIVEC_H=1 -maltivec -mabi=altivec -o conftest conftest.c >/dev/null 2>&1; then
# gcc 3.1 style
have_altivec=true
ALTIVEC_CFLAGS="-DHAVE_ALTIVEC_H=1 -maltivec -mabi=altivec"
fi
rm -f conftest*;
if test x$have_altivec = xtrue
then
# add -O3 flag
ALTIVEC_CFLAGS="-O3 ${ALTIVEC_CFLAGS}"
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_ALTIVEC,,
[Inline PPC Altivec primitives available])
AC_SUBST(ALTIVEC_CFLAGS)
else
AC_MSG_RESULT(no)
fi
fi
if test ! -r $srcdir/cpuinfo.sh; then
AC_MSG_ERROR([cpuinfo.sh script not found - do a cvs update])
fi
if test x$have_x86cpu = xtrue -o x$have_ppccpu = xtrue; then
if test x$host_alias != x; then
dnl Cross compiling
AC_MSG_CHECKING(sub-architecture settings)
if test x$have_x86cpu = xtrue; then
host_mod_cpu=`echo $host_cpu|tr _ -`
ARCHFLAGS="-march=$host_mod_cpu -mcpu=$host_mod_cpu"
AC_MSG_RESULT($ARCHFLAGS)
fi
else
AC_MSG_CHECKING(sub-architecture settings)
chmod +x $srcdir/cpuinfo.sh
if test x$have_x86cpu = xtrue; then
ARCHFLAGS=`$srcdir/cpuinfo.sh x86`
fi
if test x$have_ppccpu = xtrue; then
ARCHFLAGS=`$srcdir/cpuinfo.sh ppc`
fi
AC_MSG_RESULT($ARCHFLAGS)
fi
fi
if test x$have_x86cpu = xtrue;
then
AC_MSG_NOTICE([enable_debug = $enable_debug])
if test "x$enable_debug" != "xyes" ;
then
AC_MSG_NOTICE([debug koekje])
if test $ac_cv_flag_sse = yes; then
CFLAGS="$CFLAGS -msse -mfpmath=sse"
AC_MSG_NOTICE([cflags aangepast])
fi
if test $av_cv_flag_sse2 = yes; then
CFLAGS="$CFLAGS -msse2 -mfpmath=sse"
AC_MSG_NOTICE([cflags aangepast])
fi
fi
fi
AC_MSG_RESULT($CFLAGS)
AC_DEFINE_UNQUOTED(HAVE_FFMPEG_UNINSTALLED,,
[Defined if building against uninstalled FFmpeg source])
PKG_CHECK_MODULES(FFMPEG_AVCODEC, [libavcodec],
[
AC_SUBST( FFMPEG_AVCODEC_CFLAGS )
AC_SUBST( FFMPEG_AVCODEC_LIBS )
have_avcodec=true
AC_DEFINE(HAVE_AVCODEC, 1, [use avcodec])],
[have_avcodec=false])
PKG_CHECK_MODULES(FFMPEG_SWSCALER, [libswscale],
[
AC_SUBST( FFMPEG_SWSCALER_CFLAGS )
AC_SUBST( FFMPEG_SWSCALER_LIBS )
have_swscaler=true
AC_DEFINE( HAVE_SWSCALER,1,[use swscaler])],
[ have_swscaler=false] )
if test x$have_avcodec != xtrue ; then
AC_MSG_ERROR([ FFmpeg AVCodec not found. Get it from http://ffmpeg.sourceforge.net ] )
fi
if test x$have_swscaler != xtrue ; then
AC_MSG_ERROR([ FFmpeg Swscaler not found. Did you enable it when you compiled ffmpeg ? ])
fi
FFMPEG_INCLUDE_AVCODEC=""
FFMPEG_INCLUDE_SWSCALE=""
FFMPEG_INCLUDE_AVUTIL=""
AC_CHECK_HEADER( ffmpeg/avutil.h, [FFMPEG_INCLUDE_AVUTIL="<ffmpeg/avutil.h>"],[])
AC_CHECK_HEADER( ffmpeg/avcodec.h, [FFMPEG_INCLUDE_AVCODEC="<ffmpeg/avcodec.h>"],[])
AC_CHECK_HEADER( ffmpeg/swscale.h, [FFMPEG_INCLUDE_SWSCALE="<ffmpeg/swscale.h>"],[])
AC_CHECK_HEADER( libswscale/swscale.h, [FFMPEG_INCLUDE_SWSCALE="<libswcale/swscale.h>"],[])
AC_CHECK_HEADER( libavcodec/avcodec.h, [FFMPEG_INCLUDE_AVCODEC="<libavcodec/avcodec.h>"],[])
AC_CHECK_HEADER( libavutil/avutil.h , [FFMPEG_INCLUDE_AVUTIL="<libavutil/avutil.h>"],[])
AC_DEFINE_UNQUOTED( AVCODEC_INC, $FFMPEG_INCLUDE_AVCODEC,[] )
AC_DEFINE_UNQUOTED( SWSCALE_INC, $FFMPEG_INCLUDE_SWSCALE,[] )
AC_DEFINE_UNQUOTED( AVUTIL_INC, $FFMPEG_INCLUDE_AVUTIL,[] )
dnl **********************************************************************
dnl All the conditional stuff for the Makefiles
AM_CONDITIONAL(HAVE_ASM_MMX, test x$have_asm_mmx = xtrue)
AM_CONDITIONAL(HAVE_X86CPU, test x$have_x86cpu = xtrue)
AM_CONDITIONAL(HAVE_PPCCPU, test x$have_ppccpu = xtrue)
AM_CONDITIONAL(ARCH_PPC, test x$have_ppccpu = xtrue)
AM_CONDITIONAL(ARCH_X86, test x$have_x86cpu = xtrue)
AM_CONDITIONAL(HAVE_ALTIVEC, test x$have_altivec = xtrue)
AM_CONDITIONAL(HAVE_ASM_MMX2, test x$have_asm_mmx2 = xtrue)
AM_CONDITIONAL(HAVE_ASM_SSE, test x$have_asm_sse = xtrue)
AM_CONDITIONAL(HAVE_ASM_SSE2, test x$have_asm_sse2 = xtrue)
AM_CONDITIONAL(HAVE_ASM_NASM, test x$have_asm_nasm = xtrue)
AM_CONDITIONAL(HAVE_MMX, test x$have_asm_mmx = xtrue)
AM_CONDITIONAL(HAVE_SSE, test x$have_asm_sse = xtrue)
AM_CONDITIONAL(HAVE_SSE2, test x$have_asm_sse2 = xtrue)
AM_CONDITIONAL(HAVE_MMX2, test x$have_asm_mmx2 = xtrue)
AM_CONDITIONAL(HAVE_DL_DLOPEN, test x$have_dl_dlopen = xtrue)
AM_CONDITIONAL(USE_GVEEJAYRELOADED,test x$use_gveejayreloaded = xtrue )
dnl *********************************************************************
dnl Check for what warnings we want gcc to use and adjust the CFLAGS
dnl as needed. This only works for GCC.
dnl We do this last as it can screw up library detection etc...
CFLAGS="$ARCHFLAGS $CFLAGS"
CXXFLAGS="$ARCHFLAGS $CXXFLAGS"
if test "x${GCC}" != "xyes" ; then
enable_compile_warnings=no
fi
AC_MSG_CHECKING(what warning flags to pass to the C compiler)
warnCFLAGS=
warnCXXFLAGS=
if test "x$enable_compile_warnings" != "xno" ; then
if test "x$GCC" = "xyes" ; then
case "$CFLAGS" in
*-Wall*) ;;
*) warnCFLAGS="-Wall -Wunused " ;;
esac
if test "x$enable_compile_warnings" = "xyes" ; then
warnCFLAGS="$warnCFLAGS -Wmissing-prototypes -Wundef -Wshadow -Wbad-function-cast -Wconversion -Wpadded -Wunreachable-code -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual"
warnCXXFLAGS="$warnCXXFLAGS -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Wcast-qual"
fi
if test "x$enable_warnings_as_errors" = "xyes" ; then
warnCFLAGS="$warnCFLAGS -Werror"
warnCXXFLAGS="$warnCXXFLAGS -Werror"
fi
fi
fi
if test "x$cflags_set" != "xyes" ; then
if test "x$enable_debug" = "xyes" ; then
CFLAGS="$debugCFLAGS $warnCFLAGS $CFLAGS"
else
CFLAGS="$CFLAGS $warnCFLAGS"
fi
CXXFLAGS="$CXXFLAGS $warnCXXFLAGS"
cflags_set=yes
fi
if test x"$with_extra_cflags" != "x"; then
CFLAGS="$CFLAGS $with_extra_cflags"
CXXFLAGS="$CXXFLAGS $with_extra_cflags"
fi
PKG_CHECK_MODULES( GTKCAIRO, gtkcairo >= 0.3,
[use_gtkcairo=yes],
[use_gtkcairo="no"]
)
if test "x$use_gtkcairo" = "xyes"; then
AC_SUBST( GTKCAIRO_CFLAGS )
AC_SUBST( GTKCAIRO_LIBS )
AC_DEFINE( USE_GTKCAIRO,,[GtkCairo widget - Cairo])
else
AC_MSG_ERROR([GtkCairo not found: get it at http://www.cairographics.org/GtkCairo])
fi
gveejay_datadir="${datadir}/gveejay"
AC_SUBST(gveejay_datadir)
sh gveejay-paths.sh > gveejay-paths.h
glib_modules="glib-2.0 >= 2.4"
PKG_CHECK_MODULES(GLIB, [$glib_modules])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
gtk_modules="gtk+-2.0 >= 2.4"
PKG_CHECK_MODULES(GTK, [$gtk_modules])
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
libglade_modules="libglade-2.0 >= 2.0.1"
PKG_CHECK_MODULES(GLADE, [$libglade_modules])
AC_SUBST(GLADE_CFLAGS)
AC_SUBST(GLADE_LIBS)
dnl **********************************************************************
dnl Output a Makefile or two and the lib/header descriptor script
dnl
AC_CONFIG_FILES([
Makefile
src/Makefile
gveejay-paths.sh
])
AC_OUTPUT
AC_DEFINE(VERSION, ${VERSION})
AC_MSG_NOTICE([])
AC_MSG_NOTICE([ GVeejayReloaded ${VERSION} build configuration :])
AC_MSG_NOTICE([])
AC_MSG_NOTICE([ Compiler flags: $CFLAGS])
AC_MSG_NOTICE([ $YUVCFLAGS])
AC_MSG_NOTICE([ $OP_CFLAGS])
AC_MSG_NOTICE([])
AC_MSG_NOTICE([ Architecture: ${host_cpu} ])
AC_MSG_NOTICE([])
if test "$have_x86cpu" = "true" ; then
AC_MSG_NOTICE([ x86 ])
AC_MSG_NOTICE([ MMX enabled : ${ac_cv_flag_mmx}])
AC_MSG_NOTICE([ MMX2 enabled : ${ac_cv_flag_mmx2}])
AC_MSG_NOTICE([ SSE enabled : ${ac_cv_flag_sse}])
AC_MSG_NOTICE([ SSE2 enabled : ${ac_cv_flag_sse2}])
AC_MSG_NOTICE([ 3DNOW enabled : ${ac_cv_flag_3dnow}])
AC_MSG_NOTICE([ CMOV enabled : ${ac_cv_flag_cmov}])
fi
if test "$have_ppccpu" = "true" ; then
AC_MSG_NOTICE([ ppc])
AC_MSG_NOTICE([ AltiVec enabled : ${have_altivec}])
fi
if test "$have_mips" = "true" ; then
AC_MSG_NOTICE([ mips])
AC_MSG_NOTICE([ PS/2 enabled : ${have_ps2}])
fi
AC_MSG_NOTICE([])
if test "$have_linux" = "true" ; then
AC_MSG_NOTICE([ Platform: Linux])
fi
if test "$have_darwin" = "true" ; then
AC_MSG_NOTICE([ Platform: Darwin])
AC_MSG_NOTICE([ Good luck! You can be the first! ])
fi
AC_MSG_NOTICE([])
AC_MSG_NOTICE([ Required dependencies:])
AC_MSG_NOTICE([ - Veejay 1.0 : ${have_veejay}])
AC_MSG_NOTICE([ - POSIX Threads (pthread) : ${have_pthread}])
AC_MSG_NOTICE([ - MJPEGTools : ${have_mjpegtools}])
AC_MSG_NOTICE([ - FFmpeg AVCodec : ${have_avcodec} ])
AC_MSG_NOTICE([ - FFmpeg Swscaler : ${have_swscaler} ])
AC_MSG_NOTICE([ - GDK Pixbuf support : ${have_pixbuf}])
AC_MSG_NOTICE([ - Alsa support (midi sequencer) : ${have_alsa}])

View File

@@ -0,0 +1,336 @@
#!/bin/sh
if test x"$CC" = x; then
CC=gcc
fi
if test $# -ne 1; then
echo "Please give the arch (ppc or x86) as an argument!" 1>&2
exit 1
fi
if test `uname -s` = Darwin; then
IsDarwin=yes
else
IsDarwin=no
fi
target=$1
cc_version=`$CC -dumpversion`
_cc_major=`echo $cc_version | cut -d'.' -f1`
_cc_minor=`echo $cc_version | cut -d'.' -f2`
if test $_cc_major -ge 4; then
_opt_mcpu="-mtune"
else
_opt_mcpu="-mcpu"
fi
do_cc()
{
$CC -o conftest conftest.c $@ >/dev/null 2>&1
}
extcheck()
{
cat > conftest.c <<EOF
#include <signal.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);
__asm__ __volatile__ ("$1":::"memory");
exit(0);
}
EOF
do_cc
if test -x ./conftest; then
./conftest
if test $? -ne 0; then
return 1
fi
return 0
else
return 1
fi
}
do_x86()
{
CFLAGS=-O
if test $IsDarwin = yes; then
CFLAGS="$CFLAGS -fno-pic -Wl,-read_only_relocs -Wl,suppress"
fi
if test -r /proc/cpuinfo; then
_cpuinfo="cat /proc/cpuinfo"
else
$CC $CFLAGS -o cpuinfo utils/cpuinfo.c
_cpuinfo="./cpuinfo"
fi
# Cpu determination logic adapted from the MPlayer configure script.
pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | head -n 1`
pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d':' -f2 | cut -d' ' -f2 | head -n 1`
pfamily=`$_cpuinfo | grep 'cpu family' | cut -d':' -f2 | cut -d' ' -f2 | head -n 1`
pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d':' -f2 | cut -d' ' -f2 | head -n 1`
pstep=`$_cpuinfo | grep 'stepping' | cut -d':' -f2 | cut -d' ' -f2 | head -n 1`
pparam=`$_cpuinfo | grep 'features' | cut -d':' -f2 | head -n 1`
if test -z "$pparam" ; then
pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | head -n 1`
fi
_mmx=no
_3dnow=no
_3dnowex=no
_mmx2=no
_sse=no
_sse2=no
_mtrr=no
for i in $pparam ; do
case "$i" in
3dnow) _3dnow=yes ;;
3dnowext) _3dnow=yes _3dnowex=yes ;;
mmx) _mmx=yes ;;
mmxext) _mmx2=yes ;;
mtrr|k6_mtrr|cyrix_arr) _mtrr=yes ;;
xmm|sse|kni) _sse=yes _mmx2=yes ;;
sse2) _sse2=yes ;;
esac
done
case "$pvendor" in
AuthenticAMD)
case "$pfamily" in
3)proc=i386
;;
4) proc=i486
;;
5) iproc=586
# models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3
# K6 model 13 are the K6-2+ and K6-III+
if test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then
proc=k6-3
elif test "$pmodel" -ge 8; then
proc=k6-2
elif test "$pmodel" -ge 6; then
proc=k6
else
proc=i586
fi
;;
6) iproc=686
if test "$pmodel" -ge 7; then
proc=athlon-4
elif test "$pmodel" -ge 6; then
if test "$_sse" = yes && test "$pstep" -ge 2; then
proc=athlon-xp
else
proc=athlon-4
fi
elif test "$pmodel" -ge 4; then
proc=athlon-tbird
else
proc=athlon
fi
;;
15)
# Despite what the gcc into says 'athlon64' is not accepted as
# synonym for 'k8'
proc=k8
;;
*) proc=athlon-xp
;;
esac
;;
GenuineIntel)
case "$pfamily" in
3) proc=i386
;;
4) proc=i486
;;
5) iproc=586
if test "$pmodel" -eq 4 || test "$pmodel" -eq 8; then
proc=pentium-mmx # 4 is desktop, 8 is mobile
else
proc=i586
fi
;;
6) iproc=686
if test "$pmodel" -ge 15; then
proc=nocona
elif test "$pmodel" -ge 13; then
proc=pentium-m
elif test "$pmodel" -ge 7; then
proc=pentium3
elif test "$pmodel" -ge 3; then
proc=pentium2
else
proc=i686
fi
;;
15) proc=pentium4
;;
*) proc=pentium4
;;
esac
;;
unknown)
case "$pfamily" in
3) proc=i386
;;
4) proc=i486
;;
*) proc=i586
;;
esac
;;
*)
proc=i586
;;
esac
# check that gcc supports our CPU, if not, fall back to earlier ones
cat > conftest.c << EOF
int main(void) { return 0; }
EOF
if test "$proc" = "athlon64" ; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=athlon-xp
fi
if test "$proc" = "athlon-xp" || test "$proc" = "athlon-4" || test "$proc" = "athlon-tbird"; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=athlon
fi
if test "$proc" = "k6-3" || test "$proc" = "k6-2"; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=k6
fi
if test "$proc" = "k6"; then
do_cc -march=$proc $_opt_mcpu=$proc
if test $? -ne 0; then
if do_cc -march=i586 $_opt_mcpu=i686; then
proc=i586-i686
else
proc=i586
fi
fi
fi
if test "$proc" = "pentium4" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon"; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=i686
fi
if test "$proc" = "i686" || test "$proc" = "pentium-mmx"; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=i586
fi
if test "$proc" = "i586" ; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=i486
fi
if test "$proc" = "i486" ; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=i386
fi
if test "$proc" = "i386" ; then
do_cc -march=$proc $_opt_mcpu=$proc || proc=error
fi
if test "$proc" = "error" ; then
echo "Your $_cc does not even support \"i386\" for '-march' and $_opt_mcpu."
_mcpu=""
_march=""
elif test "$proc" = "i586-i686"; then
_march="-march=i586"
_mcpu="$_opt_mcpu=i686"
else
_march="-march=$proc"
_mcpu="$_opt_mcpu=$proc"
fi
if test $_cc_major -ge 3; then
extcheck "xorps %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse"
extcheck "xorpd %%xmm0, %%xmm0" || _gcc3_ext="$_gcc3_ext -mno-sse2"
if test x"$_gcc3_ext" != "x"; then
# if we had to disable sse/sse2 because the active kernel does not
# support this instruction set extension, we also have to tell
# gcc3 to not generate sse/sse2 instructions for normal C code
cat > conftest.c << EOF
int main(void) { return 0; }
EOF
do_cc $_march $_gcc3_ext && _march="$_march $_gcc3_ext"
fi
fi
echo $_march $_mcpu
rm -f conftest.c conftest cpuinfo
return 0
}
do_ppc()
{
# Linux on a PPC has /proc/info
# Darwin (OS/X) has the hostinfo command
# If neither of those we have no idea what to do - so do nothing.
if test -r /proc/cpuinfo; then
proc=`grep cpu /proc/cpuinfo | cut -d':' -f2 | cut -d',' -f1 | cut -b 2- | head -n 1`
elif test $IsDarwin = yes; then
proc=`hostinfo | grep "Processor type" | cut -f3 -d' ' | sed 's/ppc//'`
else
return 0
fi
case "$proc" in
601) _march="$_opt_mcpu=601" _mcpu='-mtune=601'
;;
603) _march="$_opt_mcpu=603" _mcpu='-mtune=603'
;;
603e|603ev) _march="$_opt_mcpu=603e" _mcpu='-mtune=603e'
;;
604|604e|604r|604ev) _march="$_opt_mcpu=604" _mcpu='-mtune=604'
;;
740|740/750|745/755) _march="$_opt_mcpu=740" _mcpu='-mtune=740'
;;
750|750CX) _march="$_opt_mcpu=750" _mcpu='-mtune=750'
;;
*) ;;
esac
# gcc 3.1(.1) and up supports 7400 and 7450
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "1" || test "$_cc_major" -ge "4"; then
case "$proc" in
7400*|7410*) _march="$_opt_mcpu=7400" _mcpu='-mtune=7400' ;;
7450*|7455*) _march="$_opt_mcpu=7450" _mcpu='-mtune=7450' ;;
*) ;;
esac
fi
# gcc 3.2 and up supports 970
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
case "$proc" in
970*) if test $IsDarwin = yes; then
_march="$_opt_mcpu=G5 -mpowerpc64 -mpowerpc-gpopt -falign-loops=16 -force_cpusubtype_ALL" _mcpu='-mtune=G5'
else
_march="$_opt_mcpu=970" _mcpu='-mtune=970'
fi
;;
*) ;;
esac
fi
echo $_march $_mcpu
return 0
}
#
# The script that runs the various functions above
#
if test $target = x86; then
do_x86
elif test $target = ppc; then
do_ppc
fi

View File

@@ -0,0 +1,589 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2007-03-29.01
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
# Foundation, Inc.
# 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 2, 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, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
Run PROGRAMS ARGS to compile a file, generating dependencies
as side-effects.
Environment variables:
depmode Dependency tracking mode.
source Source file read by `PROGRAMS ARGS'.
object Object file output by `PROGRAMS ARGS'.
DEPDIR directory where to store dependencies.
depfile Dependency file to output.
tmpdepfile Temporary file to use when outputing dependencies.
libtool Whether libtool is used (yes/no).
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "depcomp $scriptversion"
exit $?
;;
esac
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
depfile=${depfile-`echo "$object" |
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
## the command line argument order; so add the flags where they
## appear in depend2.am. Note that the slowdown incurred here
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
for arg
do
case $arg in
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
*) set fnord "$@" "$arg" ;;
esac
shift # fnord
shift # $arg
done
"$@"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. In older versions, this file always lives in the
# current directory. Also, the AIX compiler puts `$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.u
tmpdepfile2=$base.u
tmpdepfile3=$dir.libs/$base.u
"$@" -Wc,-M
else
tmpdepfile1=$dir$base.u
tmpdepfile2=$dir$base.u
tmpdepfile3=$dir$base.u
"$@" -M
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
icc)
# Intel's C compiler understands `-MD -MF file'. However on
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# ICC 7.0 will fill foo.d with something like
# foo.o: sub/foo.c
# foo.o: sub/foo.h
# which is wrong. We want:
# sub/foo.o: sub/foo.c
# sub/foo.o: sub/foo.h
# sub/foo.c:
# sub/foo.h:
# ICC 7.1 will output
# foo.o: sub/foo.c sub/foo.h
# and will wrap long lines using \ :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form `foo.o: dependent.h',
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp2)
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
# compilers, which have integrated preprocessors. The correct option
# to use with these is +Maked; it writes dependencies to a file named
# 'foo.d', which lands next to the object file, wherever that
# happens to be.
# Much of this is similar to the tru64 case; see comments there.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir.libs/$base.d
"$@" -Wc,+Maked
else
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir$base.d
"$@" +Maked
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
# Add `dependent.h:' lines.
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile" "$tmpdepfile2"
;;
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
# With Tru64 cc, shared objects can also be used to make a
# static library. This mechanism is used in libtool 1.4 series to
# handle both shared and static libraries in a single compilation.
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
#
# With libtool 1.5 this exception was removed, and libtool now
# generates 2 separate objects for the 2 libraries. These two
# compilations output dependencies in $dir.libs/$base.o.d and
# in $dir$base.o.d. We have to check for both files, because
# one of the two compilations can be disabled. We should prefer
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
# automatically cleaned when .libs/ is deleted, while ignoring
# the former would cause a distcleancheck panic.
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
tmpdepfile2=$dir$base.o.d # libtool 1.5
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
"$@" -Wc,-MD
else
tmpdepfile1=$dir$base.o.d
tmpdepfile2=$dir$base.d
tmpdepfile3=$dir$base.d
tmpdepfile4=$dir$base.d
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
test -z "$dashmflag" && dashmflag=-M
# Require at least two characters before searching for `:'
# in the target name. This is to cope with DOS-style filenames:
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
"$@" $dashmflag |
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
"$@" || exit $?
# Remove any Libtool call
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# X makedepend
shift
cleared=no
for arg in "$@"; do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
# Strip any option that makedepend may not understand. Remove
# the object too, otherwise makedepend will parse it as a source file.
-*|$object)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
sed '1,2d' "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
"$@" -E |
sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
"$@" || exit $?
IFS=" "
for arg
do
case "$arg" in
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
shift
;;
*)
set fnord "$@" "$arg"
shift
shift
;;
esac
done
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

View File

@@ -0,0 +1,22 @@
#!/bin/sh -e
prefix="@prefix@"
datadir="@datadir@"
DATADIRNAME="@DATADIRNAME@"
gveejay_datadir="@gveejay_datadir@"
cat << EOF
/*
This file has been automatically generated. Do not edit
*/
#ifndef GVEEJAY_PATHS_H
#define GVEEJAY_PATHS_H
#define GVEEJAY_DATADIR "$gveejay_datadir"
#endif /* GVEEJAY_PATHS_H */
EOF

View File

@@ -0,0 +1,118 @@
# norootforbuild
# neededforbuild update-desktop-files gtk2-devel-packages glib2 gtk2 libglade3 gtk2-devel glib2-devel libglade-devel libxml2-devel pkgconfig
%define name gveejay
%define version 1.0
%define release reloaded
%define prefix /usr
%define builddir $RPM_BUILD_DIR/%{name}-%{version}
Summary: Video Mixing/Editing Instrument
Name: %{name}
Version: %{version}
Release: %{release}
Prefix: %{prefix}
Copyright: GNU GPL
URL: http://veejayq.net
Packager: nelburg <nelburg@looze.net>
Group: Productivity/Multimedia/Video/Editors and Convertors
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Prereq: /sbin/ldconfig
#Requires: libxml2 >= 2.5.4
#Requires: gtk2
#Requires: glib2
#Requires: libglade2
#Requires: libxml2 >= 2.5.4
#Requires: cairo
#Requires: gtkcairo
#BuildRequires: pkgconfig
#BuildRequires: gtk2-devel
#BuildRequires: glib2-devel
#BuildRequires: libglade2-devel
#BuildRequires: gtkcairo-devel
#BuildRequires: cairo-devel
%description
Veejay is a visual instrument and realtime video sampler.
It allows you to 'play' the video like you would play a Piano and it allows
you to record the resulting video directly to disk for immediate playback (video sampling).
GVeejayReloaded is the graphical interface for Veejay.
Author: Niels Elburg <nelburg@looze.net>
Requires: gtk2
Requires: glib2
Requires: libglade2
Requires: libxml2 >= 2.5.4
%prep
%setup -q -n %{name}-%{version}
./autogen.sh
%{?suse_update_config:%{suse_update_config -f}}
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
./configure \
--prefix=%{prefix} \
--mandir=%{_mandir} \
--with-gveejayreloaded \
--with-swscaler
%build
# Setup for parallel builds
numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
if [ "$numprocs" = "0" ]; then
numprocs=1
fi
make -j$numprocs
%install
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
make install-strip \
DESTDIR=%{buildroot}
# icon and menu-entry
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -m 644 share/%{name}-logo.png %{buildroot}%{_datadir}/pixmaps/gveejay.png
cat > gveejay.desktop << EOF
[Desktop Entry]
Comment=Video Mixing/Editing Instrument
Exec=gveejayreloaded
GenericName=
Icon=%{name}
MimeType=
Name=Gveejay Reloaded
Path=
StartupNotify=true
Terminal=false
Type=Application
EOF
%suse_update_desktop_file -i gveejay AudioVideo Player
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc AUTHORS BUGS COPYING ChangeLog INSTALL README*
%doc doc
%{_bindir}/%{name}
%{_datadir}/%{name}/*.png
# gveejay
%{_bindir}/src
%{_datadir}/%{name}/gveejay-reloaded-2.glade
%{_datadir}/%{name}/gveejay.rc
%{_datadir}/pixmaps/gveejay.png
%{_datadir}/applications/gveejay.desktop
%changelog -n veejay
Mar 21, 2007. Initial rpm spec for gveejayreloaded

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=GVeejayReloaded
Comment=Graphical Veejay Client
Exec=gveejayreloaded
Terminal=false
Type=Application
Icon=veejay-icon.png
Categories=AudioVideoEditing;AudioVideo;

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Veejay (720x576 with audio)
Comment=Start new veejay project, 720x576 with default audio settings
Exec=veejay -v -W720 -H576 -a1 -d
Terminal=true
Type=Application
Icon=veejay-icon.png
Categories=AudioVideoEditing;AudioVideo;

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Veejay (720x576 without audio)
Comment=Start new Veejay project, 720x576 without audio
Exec=veejay -v -W720 -H576 -a0 -d
Terminal=true
Type=Application
Icon=veejay-icon.png
Categories=AudioVideoEditing;AudioVideo;

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Veejay (640x480, /dev/video0)
Comment=Start veejay server with capture device #0 in 640x480
Exec=veejay -A1 -v -W640 -H480
Terminal=true
Type=Application
Icon=veejay-icon.png
Categories=AudioVideoEditing;AudioVideo;

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Veejay (720x576, /dev/video0)
Comment=Start veejay server from capture device #0 in 720x576
Exec=veejay -A1 -v -W720 -H576
Terminal=true
Type=Application
Icon=veejay-icon.png
Categories=AudioVideoEditing;AudioVideo;

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Veejay (352x288, /dev/video0)
Comment=Start veejay server with capture device #0 in 352x288
Exec=veejay -A1 -v -W352 -H288
Terminal=true
Type=Application
Icon=veejay-icon.png
Categories=AudioVideoEditing;AudioVideo;

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 B

View File

@@ -0,0 +1,118 @@
# Edit these colors and fonts however you like.
style "default"
{
engine "hcengine" {}
xthickness = 1
ythickness = 1
GtkWidget::shadow_type = GTK_SHADOW_ETCHED_OUT
#GtkWidget::interior_focus = 0
#GtkWidget::focus_padding = 0
#GtkWidget::default_border = {0, 0, 0, 0}
#GtkWidget::default_outside_border = {0, 0, 0, 0}
GtkWidget::default_spacing = 0
GtkScale::stepper_size = 8
GtkRange::through-width = 4
GtkRange::trough_border = 0
GtkRange::slider-width = 16
GtkScale::slider-length = 10
font_name = "Sans 8"
fg[NORMAL] = "#ffffff" # borders etc.
fg[PRELIGHT] = "#000000"
fg[ACTIVE] = "#ffffff" # ook borders, van sliders en notebook
fg[SELECTED] = "#000000"
fg[INSENSITIVE] = "#505050"
bg[NORMAL] = "#303030" # algemene achtergrond kleur
bg[PRELIGHT] = "#aaacc1" # achtergrond geselecteerd widget
bg[ACTIVE] = "#202020" # niet actieve tabs, achtergrond sliders
bg[SELECTED] = "#00ff00"
bg[INSENSITIVE] = "#000000" # achtergrond kleur van niet actieve knopjes
text[NORMAL] = "#c0c0c0"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#303060"# achtergrond van lists, status bars
base[PRELIGHT] = "#00fff0"
base[ACTIVE] = "#0000ff"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
style "text"
{
font_name = "Sans 8"
fg[NORMAL] = "#ffffff" # borders etc.
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#ffffff" # ook borders, van sliders en notebook
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#ffffff"
bg[NORMAL] = "#27282F" # algemene achtergrond kleur
bg[PRELIGHT] = "#aaacc1" # achtergrond geselecteerd widget
bg[ACTIVE] = "#454f60" # niet actieve tabs, achtergrond sliders
bg[SELECTED] = "#5058a0"
bg[INSENSITIVE] = "#27282f" # achtergrond kleur van niet actieve knopjes
text[NORMAL] = "#d8d8d8"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#37383f"
base[PRELIGHT] = "#aaacc1"
base[ACTIVE] = "#757f90"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
style "buttons"
{
font_name = "Sans 8"
fg[NORMAL] = "#888888"
fg[PRELIGHT] = "#888888"
fg[ACTIVE] = "#888888"
fg[SELECTED] = "#888888"
fg[INSENSITIVE] = "#888888"
bg[NORMAL] = "#27282F"
bg[PRELIGHT] = "#aaacc1"
bg[ACTIVE] = "#454f60"
bg[SELECTED] = "#5058a0"
bg[INSENSITIVE] = "#27282f"
text[NORMAL] = "#d8d8d8"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#37383f"
base[PRELIGHT] = "#aaacc1"
base[ACTIVE] = "#757f90"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
class "GtkButton" style "default"
class "GtkSpinButton" style "default"
class "GtkToggleButton" style "default"
class "GtkCheckBox" style "default"
class "GtkLabel" style "default"
class "GtkWidget" style "default"

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 B

View File

@@ -0,0 +1,21 @@
# Edit these colors and fonts however you like.
style "default"
{
xthickness = 1
ythickness = 1
GtkWidget::shadow_type = GTK_SHADOW_ETCHED_OUT
#GtkWidget::interior_focus = 0
#GtkWidget::focus_padding = 0
#GtkWidget::default_border = {0, 0, 0, 0}
#GtkWidget::default_outside_border = {0, 0, 0, 0}
GtkWidget::default_spacing = 0
GtkScale::stepper_size = 8
GtkRange::through-width = 4
GtkRange::trough_border = 0
GtkRange::slider-width = 16
GtkScale::slider-length = 10
font_name = "Sans 8"
}
class "GtkWidget" style "default"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,137 @@
# Edit these colors and fonts however you like.
style "default"
{
# engine "hcengine" {}
xthickness = 1
ythickness = 1
GtkWidget::shadow_type = GTK_SHADOW_ETCHED_IN
#GtkWidget::interior_focus = 0
#GtkWidget::focus_padding = 0
#GtkWidget::default_border = {0, 0, 0, 0}
#GtkWidget::default_outside_border = {0, 0, 0, 0}
GtkWidget::default_spacing = 0
GtkScale::stepper_size = 8
GtkRange::through-width = 4
GtkRange::trough_border = 0
GtkRange::slider-width = 16
GtkScale::slider-length = 12
font_name = "Sans 8"
fg[NORMAL] = "#646464" # borders etc.
fg[PRELIGHT] = "#646464"
fg[ACTIVE] = "#646464" # ook borders, van sliders en notebook
fg[SELECTED] = "#646464"
fg[INSENSITIVE] = "#404040"
bg[NORMAL] = "#27282F" # algemene achtergrond kleur
bg[PRELIGHT] = "#aaacc1" # achtergrond geselecteerd widget
bg[ACTIVE] = "#454f60" # niet actieve tabs, achtergrond sliders
bg[SELECTED] = "#5058a0"
bg[INSENSITIVE] = "#27282f" # achtergrond kleur van niet actieve knopjes
text[NORMAL] = "#d8d8d8"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#37383f"
base[PRELIGHT] = "#aaacc1"
base[ACTIVE] = "#757f90"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
style "text"
{
font_name = "Sans 8"
fg[NORMAL] = "#ffffff" # borders etc.
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#ffffff" # ook borders, van sliders en notebook
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#ffffff"
bg[NORMAL] = "#27282F" # algemene achtergrond kleur
bg[PRELIGHT] = "#aaacc1" # achtergrond geselecteerd widget
bg[ACTIVE] = "#454f60" # niet actieve tabs, achtergrond sliders
bg[SELECTED] = "#5058a0"
bg[INSENSITIVE] = "#27282f" # achtergrond kleur van niet actieve knopjes
text[NORMAL] = "#d8d8d8"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#37383f"
base[PRELIGHT] = "#aaacc1"
base[ACTIVE] = "#757f90"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
style "buttons"
{
font_name = "Sans 8"
fg[NORMAL] = "#888888"
fg[PRELIGHT] = "#888888"
fg[ACTIVE] = "#888888"
fg[SELECTED] = "#888888"
fg[INSENSITIVE] = "#888888"
bg[NORMAL] = "#27282F"
bg[PRELIGHT] = "#aaacc1"
bg[ACTIVE] = "#454f60"
bg[SELECTED] = "#5058a0"
bg[INSENSITIVE] = "#27282f"
text[NORMAL] = "#d8d8d8"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#37383f"
base[PRELIGHT] = "#aaacc1"
base[ACTIVE] = "#757f90"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
style "treeview" = "default"
{
engine "pixmap"
{
# don't draw the focus around listitems
image
{
function = FOCUS
}
}
}
style "header"
{
GtkTreeView::odd_row_color = "#2c2c2c"
GtkTreeView::even_row_color = "#555555"
}
class "GtkButton" style "buttons"
class "GtkSpinButton" style "buttons"
class "GtkToggleButton" style "buttons"
class "GtkCheckBox" style "buttons"
widget_class "*Tree*" style "header"
class "GtkTreeView" style "treeview"
class "GtkLabel" style "text"
class "*List" style "text"
class "GtkListItem" style "text"
class "*GtkCList*" style "text"
class "GtkWidget" style "default"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd">
<glade-project>
<name></name>
<program_name></program_name>
<gnome_support>FALSE</gnome_support>
</glade-project>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd">
<glade-project>
<name></name>
<program_name></program_name>
<gnome_support>FALSE</gnome_support>
</glade-project>

View File

@@ -0,0 +1,118 @@
# Edit these colors and fonts however you like.
style "default"
{
engine "hcengine" {}
xthickness = 1
ythickness = 1
GtkWidget::shadow_type = GTK_SHADOW_ETCHED_OUT
#GtkWidget::interior_focus = 0
#GtkWidget::focus_padding = 0
#GtkWidget::default_border = {0, 0, 0, 0}
#GtkWidget::default_outside_border = {0, 0, 0, 0}
GtkWidget::default_spacing = 0
GtkScale::stepper_size = 8
GtkRange::through-width = 4
GtkRange::trough_border = 0
GtkRange::slider-width = 16
GtkScale::slider-length = 10
font_name = "Sans 8"
fg[NORMAL] = "#000000" # borders etc.
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#000000" # ook borders, van sliders en notebook
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#c0c0c0"
bg[NORMAL] = "#ffffff" # algemene achtergrond kleur
bg[PRELIGHT] = "#aaacc1" # achtergrond geselecteerd widget
bg[ACTIVE] = "#c0c0c0" # niet actieve tabs, achtergrond sliders
bg[SELECTED] = "#00ff00"
bg[INSENSITIVE] = "#ffffff" # achtergrond kleur van niet actieve knopjes
text[NORMAL] = "#050505"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#c0c0c0"
base[PRELIGHT] = "#00fff0" # achtergrond van lists, status bars
base[ACTIVE] = "#0000ff"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
style "text"
{
font_name = "Sans 8"
fg[NORMAL] = "#ffffff" # borders etc.
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = "#ffffff" # ook borders, van sliders en notebook
fg[SELECTED] = "#ffffff"
fg[INSENSITIVE] = "#ffffff"
bg[NORMAL] = "#27282F" # algemene achtergrond kleur
bg[PRELIGHT] = "#aaacc1" # achtergrond geselecteerd widget
bg[ACTIVE] = "#454f60" # niet actieve tabs, achtergrond sliders
bg[SELECTED] = "#5058a0"
bg[INSENSITIVE] = "#27282f" # achtergrond kleur van niet actieve knopjes
text[NORMAL] = "#d8d8d8"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#37383f"
base[PRELIGHT] = "#aaacc1"
base[ACTIVE] = "#757f90"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
style "buttons"
{
font_name = "Sans 8"
fg[NORMAL] = "#888888"
fg[PRELIGHT] = "#888888"
fg[ACTIVE] = "#888888"
fg[SELECTED] = "#888888"
fg[INSENSITIVE] = "#888888"
bg[NORMAL] = "#27282F"
bg[PRELIGHT] = "#aaacc1"
bg[ACTIVE] = "#454f60"
bg[SELECTED] = "#5058a0"
bg[INSENSITIVE] = "#27282f"
text[NORMAL] = "#d8d8d8"
text[PRELIGHT] = "#d8d8d8"
text[ACTIVE] = "#FF0000"
text[SELECTED] = "#FF0000"
text[INSENSITIVE] = "#404040"
base[NORMAL] = "#37383f"
base[PRELIGHT] = "#aaacc1"
base[ACTIVE] = "#757f90"
base[SELECTED] = "#757ab3"
base[INSENSITIVE] = "#27282f"
}
class "GtkButton" style "default"
class "GtkSpinButton" style "default"
class "GtkToggleButton" style "default"
class "GtkCheckBox" style "default"
class "GtkLabel" style "default"
class "GtkWidget" style "default"

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 749 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 718 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Some files were not shown because too many files have changed in this diff Show More