branched veejay-current to veejay 1.0, splitted veejay-current into three seperate packages (server, client, utilities).
git-svn-id: svn://code.dyne.org/veejay/trunk@869 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
21
veejay-1.0/veejay-client/AUTHORS
Normal 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)
|
||||
|
||||
|
||||
340
veejay-1.0/veejay-client/COPYING
Normal 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.
|
||||
0
veejay-1.0/veejay-client/ChangeLog
Normal file
229
veejay-1.0/veejay-client/INSTALL
Normal file
@@ -0,0 +1,229 @@
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software
|
||||
Foundation, Inc.
|
||||
|
||||
This file is free documentation; the Free Software Foundation gives
|
||||
unlimited permission to copy, distribute and modify it.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. (Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.)
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You only need
|
||||
`configure.ac' if you want to change it or regenerate `configure' using
|
||||
a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
|
||||
Running `configure' takes awhile. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
the package.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
5. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. Run `./configure --help'
|
||||
for details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not support the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a
|
||||
time in the source code directory. After you have installed the
|
||||
package for one architecture, use `make distclean' before reconfiguring
|
||||
for another architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=PATH' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out
|
||||
automatically, but needs to determine by the type of machine the package
|
||||
will run on. Usually, assuming the package is built to be run on the
|
||||
_same_ architectures, `configure' can figure that out, but if it prints
|
||||
a message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
where SYSTEM can have one of these forms:
|
||||
|
||||
OS KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
will cause the specified gcc to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
||||
|
||||
82
veejay-1.0/veejay-client/Makefile.am
Normal 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
|
||||
0
veejay-1.0/veejay-client/NEWS
Normal file
78
veejay-1.0/veejay-client/README
Normal file
@@ -0,0 +1,78 @@
|
||||
|
||||
~==
|
||||
~====
|
||||
:... ~~====
|
||||
:...... ~~~~====
|
||||
:.....: ~~~~====
|
||||
:...... -~~~~===
|
||||
:....... --~~~~~==
|
||||
:....... ::~~~~~~=
|
||||
:...... "::~~~~==
|
||||
:....., :::~~~===
|
||||
:..... =::~~~~===
|
||||
:...... :::~~~====
|
||||
....... ::~~~~~===
|
||||
....... :::~~~~~~==
|
||||
...... ~::~~~~~~==
|
||||
...... |::~~~=|
|
||||
..... :::|:~==|
|
||||
..::: |:=|||==+
|
||||
., :., :|||?||+=
|
||||
..::,,.: :||=~=.||
|
||||
,...::,,, |~:=|||||+|
|
||||
:..,:::||||~~~====++
|
||||
,:,,,:::~~~~~===++++ GveejayReloaded
|
||||
,::::~~~====++++
|
||||
~~~~~===+++++ version 1.0
|
||||
~~===+++++++:
|
||||
N=++++++++++ March, 25. 2007.
|
||||
+++++++++
|
||||
++++::::
|
||||
:::::
|
||||
||
|
||||
|
||||
|
||||
:: GveejayReloaded, a graphical interface for Veejay ::
|
||||
|
||||
|
||||
Main Features:
|
||||
|
||||
# dumb client (TCP/IP) (reloaded pulls everything from veejay)
|
||||
# tracks multiple veejay servers
|
||||
# slick user interface
|
||||
|
||||
|
||||
Install
|
||||
=======
|
||||
|
||||
See file 'INSTALL'
|
||||
|
||||
See doc/Howto_Compile.html
|
||||
See doc/Howto_Compile_on_Ubuntu.html
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
See source code.
|
||||
|
||||
Running
|
||||
=======
|
||||
|
||||
$ gveejayreloaded
|
||||
|
||||
|
||||
About
|
||||
=====
|
||||
|
||||
GveejayReloaded is a client for veejay. As long as veejay (the server)
|
||||
is running, you can connect and disconnect from it with gveejayreloaded.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
5
veejay-1.0/veejay-client/autogen.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Run this to generate all the initial makefiles, etc.
|
||||
|
||||
|
||||
autoreconf -v -f -i
|
||||
719
veejay-1.0/veejay-client/configure.ac
Normal file
@@ -0,0 +1,719 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl AC_INIT
|
||||
AC_INIT([gveejay],[1.0],[veejay-users@lists.sourceforge.net])
|
||||
AC_PREREQ(2.57)
|
||||
AC_CONFIG_SRCDIR([src/gveejay.c])
|
||||
|
||||
VEEJAY_MAJOR_VERSION=1
|
||||
VEEJAY_MINOR_VERSION=0
|
||||
VEEJAY_MICRO_VERSION=0
|
||||
VEEJAY_VERSION=$VEEJAY_MAJOR_VERSION.$VEEJAY_MINOR_VERSION.$VEEJAY_MICRO_VERSION
|
||||
VEEJAY_CODENAME="GVeejayReloaded - 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_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 -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
|
||||
|
||||
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}/veejay"
|
||||
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}])
|
||||
|
||||
326
veejay-1.0/veejay-client/cpuinfo.sh
Executable file
@@ -0,0 +1,326 @@
|
||||
#!/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()
|
||||
{
|
||||
if test -r /proc/cpuinfo; then
|
||||
_cpuinfo="cat /proc/cpuinfo"
|
||||
else
|
||||
$CC -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 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
|
||||
22
veejay-1.0/veejay-client/gveejay-paths.sh.in
Normal 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
|
||||
|
||||
118
veejay-1.0/veejay-client/gveejay.spec.in
Normal 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
|
||||
10
veejay-1.0/veejay-client/menu/gveejayreloaded.desktop
Normal 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;
|
||||
10
veejay-1.0/veejay-client/menu/veejay1.desktop
Normal 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;
|
||||
10
veejay-1.0/veejay-client/menu/veejay2.desktop
Normal 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;
|
||||
10
veejay-1.0/veejay-client/menu/veejay3.desktop
Normal 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;
|
||||
10
veejay-1.0/veejay-client/menu/veejay4.desktop
Normal 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;
|
||||
10
veejay-1.0/veejay-client/menu/veejay5.desktop
Normal 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;
|
||||
BIN
veejay-1.0/veejay-client/share/bg.png
Normal file
|
After Width: | Height: | Size: 181 B |
BIN
veejay-1.0/veejay-client/share/bg_black.png
Normal file
|
After Width: | Height: | Size: 112 B |
BIN
veejay-1.0/veejay-client/share/bg_blue.png
Normal file
|
After Width: | Height: | Size: 123 B |
BIN
veejay-1.0/veejay-client/share/bg_green.png
Normal file
|
After Width: | Height: | Size: 121 B |
BIN
veejay-1.0/veejay-client/share/bg_grey.png
Normal file
|
After Width: | Height: | Size: 123 B |
BIN
veejay-1.0/veejay-client/share/bg_red.png
Normal file
|
After Width: | Height: | Size: 121 B |
BIN
veejay-1.0/veejay-client/share/bg_yellow.png
Normal file
|
After Width: | Height: | Size: 121 B |
118
veejay-1.0/veejay-client/share/blackwhite.rc
Normal 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"
|
||||
BIN
veejay-1.0/veejay-client/share/button_bounce.png
Normal file
|
After Width: | Height: | Size: 268 B |
BIN
veejay-1.0/veejay-client/share/button_dec.png
Normal file
|
After Width: | Height: | Size: 218 B |
BIN
veejay-1.0/veejay-client/share/button_down.png
Normal file
|
After Width: | Height: | Size: 232 B |
BIN
veejay-1.0/veejay-client/share/button_fbw.png
Normal file
|
After Width: | Height: | Size: 213 B |
BIN
veejay-1.0/veejay-client/share/button_ffw.png
Normal file
|
After Width: | Height: | Size: 227 B |
BIN
veejay-1.0/veejay-client/share/button_gotoend.png
Normal file
|
After Width: | Height: | Size: 210 B |
BIN
veejay-1.0/veejay-client/share/button_gotostart.png
Normal file
|
After Width: | Height: | Size: 224 B |
BIN
veejay-1.0/veejay-client/share/button_inc.png
Normal file
|
After Width: | Height: | Size: 223 B |
BIN
veejay-1.0/veejay-client/share/button_loop.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
veejay-1.0/veejay-client/share/button_looponce.png
Normal file
|
After Width: | Height: | Size: 189 B |
BIN
veejay-1.0/veejay-client/share/button_mini_decrement.png
Normal file
|
After Width: | Height: | Size: 190 B |
BIN
veejay-1.0/veejay-client/share/button_mini_increment.png
Normal file
|
After Width: | Height: | Size: 194 B |
BIN
veejay-1.0/veejay-client/share/button_pause.png
Normal file
|
After Width: | Height: | Size: 140 B |
BIN
veejay-1.0/veejay-client/share/button_play.png
Normal file
|
After Width: | Height: | Size: 209 B |
BIN
veejay-1.0/veejay-client/share/button_playmode.png
Normal file
|
After Width: | Height: | Size: 577 B |
BIN
veejay-1.0/veejay-client/share/button_prev.png
Normal file
|
After Width: | Height: | Size: 218 B |
BIN
veejay-1.0/veejay-client/share/button_rand.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
veejay-1.0/veejay-client/share/button_reverse.png
Normal file
|
After Width: | Height: | Size: 213 B |
BIN
veejay-1.0/veejay-client/share/button_right.png
Normal file
|
After Width: | Height: | Size: 220 B |
BIN
veejay-1.0/veejay-client/share/button_skip.png
Normal file
|
After Width: | Height: | Size: 221 B |
BIN
veejay-1.0/veejay-client/share/button_skull.png
Normal file
|
After Width: | Height: | Size: 645 B |
BIN
veejay-1.0/veejay-client/share/button_text.png
Normal file
|
After Width: | Height: | Size: 846 B |
BIN
veejay-1.0/veejay-client/share/button_up.png
Normal file
|
After Width: | Height: | Size: 223 B |
BIN
veejay-1.0/veejay-client/share/fx_entry_off.png
Normal file
|
After Width: | Height: | Size: 461 B |
BIN
veejay-1.0/veejay-client/share/fx_entry_on.png
Normal file
|
After Width: | Height: | Size: 528 B |
21
veejay-1.0/veejay-client/share/gveejay-default.rc
Normal 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"
|
||||
9693
veejay-1.0/veejay-client/share/gveejay.glade
Normal file
118
veejay-1.0/veejay-client/share/gveejay.rc
Normal 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 = 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"
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
class "GtkButton" style "buttons"
|
||||
class "GtkSpinButton" style "buttons"
|
||||
class "GtkToggleButton" style "buttons"
|
||||
class "GtkCheckBox" style "buttons"
|
||||
|
||||
class "GtkLabel" style "text"
|
||||
|
||||
class "GtkWidget" style "default"
|
||||
16467
veejay-1.0/veejay-client/share/gveejay.reloaded.glade
Normal file
118
veejay-1.0/veejay-client/share/high_contrast.rc
Normal 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"
|
||||
BIN
veejay-1.0/veejay-client/share/icon_apply.png
Normal file
|
After Width: | Height: | Size: 709 B |
BIN
veejay-1.0/veejay-client/share/icon_berserk.png
Normal file
|
After Width: | Height: | Size: 737 B |
BIN
veejay-1.0/veejay-client/share/icon_bezerk.png
Normal file
|
After Width: | Height: | Size: 737 B |
BIN
veejay-1.0/veejay-client/share/icon_bounce.png
Normal file
|
After Width: | Height: | Size: 268 B |
BIN
veejay-1.0/veejay-client/share/icon_bug.png
Normal file
|
After Width: | Height: | Size: 581 B |
BIN
veejay-1.0/veejay-client/share/icon_bundle.png
Normal file
|
After Width: | Height: | Size: 851 B |
BIN
veejay-1.0/veejay-client/share/icon_cache.png
Normal file
|
After Width: | Height: | Size: 554 B |
BIN
veejay-1.0/veejay-client/share/icon_clear.png
Normal file
|
After Width: | Height: | Size: 616 B |
BIN
veejay-1.0/veejay-client/share/icon_clearall.png
Normal file
|
After Width: | Height: | Size: 757 B |
BIN
veejay-1.0/veejay-client/share/icon_color.png
Normal file
|
After Width: | Height: | Size: 749 B |
BIN
veejay-1.0/veejay-client/share/icon_connect.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
veejay-1.0/veejay-client/share/icon_copy.png
Normal file
|
After Width: | Height: | Size: 472 B |
BIN
veejay-1.0/veejay-client/share/icon_crop.png
Normal file
|
After Width: | Height: | Size: 321 B |
BIN
veejay-1.0/veejay-client/share/icon_cut.png
Normal file
|
After Width: | Height: | Size: 556 B |
BIN
veejay-1.0/veejay-client/share/icon_disconnect.png
Normal file
|
After Width: | Height: | Size: 302 B |
BIN
veejay-1.0/veejay-client/share/icon_fadein.png
Normal file
|
After Width: | Height: | Size: 473 B |
BIN
veejay-1.0/veejay-client/share/icon_fadeout.png
Normal file
|
After Width: | Height: | Size: 498 B |
BIN
veejay-1.0/veejay-client/share/icon_jack.png
Normal file
|
After Width: | Height: | Size: 619 B |
BIN
veejay-1.0/veejay-client/share/icon_keybind.png
Normal file
|
After Width: | Height: | Size: 928 B |
BIN
veejay-1.0/veejay-client/share/icon_keydetach.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
veejay-1.0/veejay-client/share/icon_keyframe.png
Normal file
|
After Width: | Height: | Size: 718 B |
BIN
veejay-1.0/veejay-client/share/icon_launch.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
veejay-1.0/veejay-client/share/icon_loop.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
veejay-1.0/veejay-client/share/icon_looponce.png
Normal file
|
After Width: | Height: | Size: 189 B |
BIN
veejay-1.0/veejay-client/share/icon_mask.png
Normal file
|
After Width: | Height: | Size: 628 B |
BIN
veejay-1.0/veejay-client/share/icon_minus.png
Normal file
|
After Width: | Height: | Size: 227 B |
BIN
veejay-1.0/veejay-client/share/icon_new.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
veejay-1.0/veejay-client/share/icon_noloop.png
Normal file
|
After Width: | Height: | Size: 189 B |
BIN
veejay-1.0/veejay-client/share/icon_open.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
veejay-1.0/veejay-client/share/icon_openlist.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
veejay-1.0/veejay-client/share/icon_openstream.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
veejay-1.0/veejay-client/share/icon_osd.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
veejay-1.0/veejay-client/share/icon_paste.png
Normal file
|
After Width: | Height: | Size: 590 B |
BIN
veejay-1.0/veejay-client/share/icon_plarge.png
Normal file
|
After Width: | Height: | Size: 254 B |
BIN
veejay-1.0/veejay-client/share/icon_playmode.png
Normal file
|
After Width: | Height: | Size: 801 B |
BIN
veejay-1.0/veejay-client/share/icon_plus.png
Normal file
|
After Width: | Height: | Size: 206 B |
BIN
veejay-1.0/veejay-client/share/icon_psmall.png
Normal file
|
After Width: | Height: | Size: 255 B |
BIN
veejay-1.0/veejay-client/share/icon_question.png
Normal file
|
After Width: | Height: | Size: 684 B |
BIN
veejay-1.0/veejay-client/share/icon_record.png
Normal file
|
After Width: | Height: | Size: 273 B |
BIN
veejay-1.0/veejay-client/share/icon_recordstop.png
Normal file
|
After Width: | Height: | Size: 287 B |
BIN
veejay-1.0/veejay-client/share/icon_recstop.png
Normal file
|
After Width: | Height: | Size: 236 B |
BIN
veejay-1.0/veejay-client/share/icon_refresh.png
Normal file
|
After Width: | Height: | Size: 730 B |
BIN
veejay-1.0/veejay-client/share/icon_render.png
Normal file
|
After Width: | Height: | Size: 742 B |
BIN
veejay-1.0/veejay-client/share/icon_save.png
Normal file
|
After Width: | Height: | Size: 995 B |