[svn r692] * Gmyth: trunk
authormorphbr
Thu May 17 21:58:17 2007 +0100 (2007-05-17)
branchtrunk
changeset 686b29ea6deb6f8
parent 685 e863d5b45e52
child 687 6c22199ff33e
[svn r692] * Gmyth:
- Print size in gmyth_cat

* GMyth-Streamer:
- Bug fix to get size
gmyth-stream/client/AUTHORS
gmyth-stream/client/COPYING
gmyth-stream/client/ChangeLog
gmyth-stream/client/INSTALL
gmyth-stream/client/Makefile.am
gmyth-stream/client/NEWS
gmyth-stream/client/README
gmyth-stream/client/autogen.sh
gmyth-stream/client/configure.ac
gmyth-stream/client/debian/changelog
gmyth-stream/client/debian/compat
gmyth-stream/client/debian/control
gmyth-stream/client/debian/gmythstream-client-dev.install
gmyth-stream/client/debian/gmythstream-client.install
gmyth-stream/client/debian/rules
gmyth-stream/client/gmyth-stream-client.pc.in
gmyth-stream/client/m4/as-compiler-flag.m4
gmyth-stream/client/m4/as-expand.m4
gmyth-stream/client/m4/as-version.m4
gmyth-stream/client/m4/gst-feature.m4
gmyth-stream/client/src/Makefile.am
gmyth-stream/client/src/gmyth-stream-client.c
gmyth-stream/client/src/gmyth-stream-client.h
gmyth-stream/client/test/Makefile.am
gmyth-stream/client/test/main.c
gmyth-stream/server/0.2/lib/server.py
gmyth/samples/gmyth_cat.c
gmyth/samples/gmyth_ls.c
     1.1 --- a/gmyth-stream/client/COPYING	Thu May 17 20:06:15 2007 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,340 +0,0 @@
     1.4 -		    GNU GENERAL PUBLIC LICENSE
     1.5 -		       Version 2, June 1991
     1.6 -
     1.7 - Copyright (C) 1989, 1991 Free Software Foundation, Inc.
     1.8 -     51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     1.9 - Everyone is permitted to copy and distribute verbatim copies
    1.10 - of this license document, but changing it is not allowed.
    1.11 -
    1.12 -			    Preamble
    1.13 -
    1.14 -  The licenses for most software are designed to take away your
    1.15 -freedom to share and change it.  By contrast, the GNU General Public
    1.16 -License is intended to guarantee your freedom to share and change free
    1.17 -software--to make sure the software is free for all its users.  This
    1.18 -General Public License applies to most of the Free Software
    1.19 -Foundation's software and to any other program whose authors commit to
    1.20 -using it.  (Some other Free Software Foundation software is covered by
    1.21 -the GNU Library General Public License instead.)  You can apply it to
    1.22 -your programs, too.
    1.23 -
    1.24 -  When we speak of free software, we are referring to freedom, not
    1.25 -price.  Our General Public Licenses are designed to make sure that you
    1.26 -have the freedom to distribute copies of free software (and charge for
    1.27 -this service if you wish), that you receive source code or can get it
    1.28 -if you want it, that you can change the software or use pieces of it
    1.29 -in new free programs; and that you know you can do these things.
    1.30 -
    1.31 -  To protect your rights, we need to make restrictions that forbid
    1.32 -anyone to deny you these rights or to ask you to surrender the rights.
    1.33 -These restrictions translate to certain responsibilities for you if you
    1.34 -distribute copies of the software, or if you modify it.
    1.35 -
    1.36 -  For example, if you distribute copies of such a program, whether
    1.37 -gratis or for a fee, you must give the recipients all the rights that
    1.38 -you have.  You must make sure that they, too, receive or can get the
    1.39 -source code.  And you must show them these terms so they know their
    1.40 -rights.
    1.41 -
    1.42 -  We protect your rights with two steps: (1) copyright the software, and
    1.43 -(2) offer you this license which gives you legal permission to copy,
    1.44 -distribute and/or modify the software.
    1.45 -
    1.46 -  Also, for each author's protection and ours, we want to make certain
    1.47 -that everyone understands that there is no warranty for this free
    1.48 -software.  If the software is modified by someone else and passed on, we
    1.49 -want its recipients to know that what they have is not the original, so
    1.50 -that any problems introduced by others will not reflect on the original
    1.51 -authors' reputations.
    1.52 -
    1.53 -  Finally, any free program is threatened constantly by software
    1.54 -patents.  We wish to avoid the danger that redistributors of a free
    1.55 -program will individually obtain patent licenses, in effect making the
    1.56 -program proprietary.  To prevent this, we have made it clear that any
    1.57 -patent must be licensed for everyone's free use or not licensed at all.
    1.58 -
    1.59 -  The precise terms and conditions for copying, distribution and
    1.60 -modification follow.
    1.61 -
    1.62 -		    GNU GENERAL PUBLIC LICENSE
    1.63 -   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
    1.64 -
    1.65 -  0. This License applies to any program or other work which contains
    1.66 -a notice placed by the copyright holder saying it may be distributed
    1.67 -under the terms of this General Public License.  The "Program", below,
    1.68 -refers to any such program or work, and a "work based on the Program"
    1.69 -means either the Program or any derivative work under copyright law:
    1.70 -that is to say, a work containing the Program or a portion of it,
    1.71 -either verbatim or with modifications and/or translated into another
    1.72 -language.  (Hereinafter, translation is included without limitation in
    1.73 -the term "modification".)  Each licensee is addressed as "you".
    1.74 -
    1.75 -Activities other than copying, distribution and modification are not
    1.76 -covered by this License; they are outside its scope.  The act of
    1.77 -running the Program is not restricted, and the output from the Program
    1.78 -is covered only if its contents constitute a work based on the
    1.79 -Program (independent of having been made by running the Program).
    1.80 -Whether that is true depends on what the Program does.
    1.81 -
    1.82 -  1. You may copy and distribute verbatim copies of the Program's
    1.83 -source code as you receive it, in any medium, provided that you
    1.84 -conspicuously and appropriately publish on each copy an appropriate
    1.85 -copyright notice and disclaimer of warranty; keep intact all the
    1.86 -notices that refer to this License and to the absence of any warranty;
    1.87 -and give any other recipients of the Program a copy of this License
    1.88 -along with the Program.
    1.89 -
    1.90 -You may charge a fee for the physical act of transferring a copy, and
    1.91 -you may at your option offer warranty protection in exchange for a fee.
    1.92 -
    1.93 -  2. You may modify your copy or copies of the Program or any portion
    1.94 -of it, thus forming a work based on the Program, and copy and
    1.95 -distribute such modifications or work under the terms of Section 1
    1.96 -above, provided that you also meet all of these conditions:
    1.97 -
    1.98 -    a) You must cause the modified files to carry prominent notices
    1.99 -    stating that you changed the files and the date of any change.
   1.100 -
   1.101 -    b) You must cause any work that you distribute or publish, that in
   1.102 -    whole or in part contains or is derived from the Program or any
   1.103 -    part thereof, to be licensed as a whole at no charge to all third
   1.104 -    parties under the terms of this License.
   1.105 -
   1.106 -    c) If the modified program normally reads commands interactively
   1.107 -    when run, you must cause it, when started running for such
   1.108 -    interactive use in the most ordinary way, to print or display an
   1.109 -    announcement including an appropriate copyright notice and a
   1.110 -    notice that there is no warranty (or else, saying that you provide
   1.111 -    a warranty) and that users may redistribute the program under
   1.112 -    these conditions, and telling the user how to view a copy of this
   1.113 -    License.  (Exception: if the Program itself is interactive but
   1.114 -    does not normally print such an announcement, your work based on
   1.115 -    the Program is not required to print an announcement.)
   1.116 -
   1.117 -These requirements apply to the modified work as a whole.  If
   1.118 -identifiable sections of that work are not derived from the Program,
   1.119 -and can be reasonably considered independent and separate works in
   1.120 -themselves, then this License, and its terms, do not apply to those
   1.121 -sections when you distribute them as separate works.  But when you
   1.122 -distribute the same sections as part of a whole which is a work based
   1.123 -on the Program, the distribution of the whole must be on the terms of
   1.124 -this License, whose permissions for other licensees extend to the
   1.125 -entire whole, and thus to each and every part regardless of who wrote it.
   1.126 -
   1.127 -Thus, it is not the intent of this section to claim rights or contest
   1.128 -your rights to work written entirely by you; rather, the intent is to
   1.129 -exercise the right to control the distribution of derivative or
   1.130 -collective works based on the Program.
   1.131 -
   1.132 -In addition, mere aggregation of another work not based on the Program
   1.133 -with the Program (or with a work based on the Program) on a volume of
   1.134 -a storage or distribution medium does not bring the other work under
   1.135 -the scope of this License.
   1.136 -
   1.137 -  3. You may copy and distribute the Program (or a work based on it,
   1.138 -under Section 2) in object code or executable form under the terms of
   1.139 -Sections 1 and 2 above provided that you also do one of the following:
   1.140 -
   1.141 -    a) Accompany it with the complete corresponding machine-readable
   1.142 -    source code, which must be distributed under the terms of Sections
   1.143 -    1 and 2 above on a medium customarily used for software interchange; or,
   1.144 -
   1.145 -    b) Accompany it with a written offer, valid for at least three
   1.146 -    years, to give any third party, for a charge no more than your
   1.147 -    cost of physically performing source distribution, a complete
   1.148 -    machine-readable copy of the corresponding source code, to be
   1.149 -    distributed under the terms of Sections 1 and 2 above on a medium
   1.150 -    customarily used for software interchange; or,
   1.151 -
   1.152 -    c) Accompany it with the information you received as to the offer
   1.153 -    to distribute corresponding source code.  (This alternative is
   1.154 -    allowed only for noncommercial distribution and only if you
   1.155 -    received the program in object code or executable form with such
   1.156 -    an offer, in accord with Subsection b above.)
   1.157 -
   1.158 -The source code for a work means the preferred form of the work for
   1.159 -making modifications to it.  For an executable work, complete source
   1.160 -code means all the source code for all modules it contains, plus any
   1.161 -associated interface definition files, plus the scripts used to
   1.162 -control compilation and installation of the executable.  However, as a
   1.163 -special exception, the source code distributed need not include
   1.164 -anything that is normally distributed (in either source or binary
   1.165 -form) with the major components (compiler, kernel, and so on) of the
   1.166 -operating system on which the executable runs, unless that component
   1.167 -itself accompanies the executable.
   1.168 -
   1.169 -If distribution of executable or object code is made by offering
   1.170 -access to copy from a designated place, then offering equivalent
   1.171 -access to copy the source code from the same place counts as
   1.172 -distribution of the source code, even though third parties are not
   1.173 -compelled to copy the source along with the object code.
   1.174 -
   1.175 -  4. You may not copy, modify, sublicense, or distribute the Program
   1.176 -except as expressly provided under this License.  Any attempt
   1.177 -otherwise to copy, modify, sublicense or distribute the Program is
   1.178 -void, and will automatically terminate your rights under this License.
   1.179 -However, parties who have received copies, or rights, from you under
   1.180 -this License will not have their licenses terminated so long as such
   1.181 -parties remain in full compliance.
   1.182 -
   1.183 -  5. You are not required to accept this License, since you have not
   1.184 -signed it.  However, nothing else grants you permission to modify or
   1.185 -distribute the Program or its derivative works.  These actions are
   1.186 -prohibited by law if you do not accept this License.  Therefore, by
   1.187 -modifying or distributing the Program (or any work based on the
   1.188 -Program), you indicate your acceptance of this License to do so, and
   1.189 -all its terms and conditions for copying, distributing or modifying
   1.190 -the Program or works based on it.
   1.191 -
   1.192 -  6. Each time you redistribute the Program (or any work based on the
   1.193 -Program), the recipient automatically receives a license from the
   1.194 -original licensor to copy, distribute or modify the Program subject to
   1.195 -these terms and conditions.  You may not impose any further
   1.196 -restrictions on the recipients' exercise of the rights granted herein.
   1.197 -You are not responsible for enforcing compliance by third parties to
   1.198 -this License.
   1.199 -
   1.200 -  7. If, as a consequence of a court judgment or allegation of patent
   1.201 -infringement or for any other reason (not limited to patent issues),
   1.202 -conditions are imposed on you (whether by court order, agreement or
   1.203 -otherwise) that contradict the conditions of this License, they do not
   1.204 -excuse you from the conditions of this License.  If you cannot
   1.205 -distribute so as to satisfy simultaneously your obligations under this
   1.206 -License and any other pertinent obligations, then as a consequence you
   1.207 -may not distribute the Program at all.  For example, if a patent
   1.208 -license would not permit royalty-free redistribution of the Program by
   1.209 -all those who receive copies directly or indirectly through you, then
   1.210 -the only way you could satisfy both it and this License would be to
   1.211 -refrain entirely from distribution of the Program.
   1.212 -
   1.213 -If any portion of this section is held invalid or unenforceable under
   1.214 -any particular circumstance, the balance of the section is intended to
   1.215 -apply and the section as a whole is intended to apply in other
   1.216 -circumstances.
   1.217 -
   1.218 -It is not the purpose of this section to induce you to infringe any
   1.219 -patents or other property right claims or to contest validity of any
   1.220 -such claims; this section has the sole purpose of protecting the
   1.221 -integrity of the free software distribution system, which is
   1.222 -implemented by public license practices.  Many people have made
   1.223 -generous contributions to the wide range of software distributed
   1.224 -through that system in reliance on consistent application of that
   1.225 -system; it is up to the author/donor to decide if he or she is willing
   1.226 -to distribute software through any other system and a licensee cannot
   1.227 -impose that choice.
   1.228 -
   1.229 -This section is intended to make thoroughly clear what is believed to
   1.230 -be a consequence of the rest of this License.
   1.231 -
   1.232 -  8. If the distribution and/or use of the Program is restricted in
   1.233 -certain countries either by patents or by copyrighted interfaces, the
   1.234 -original copyright holder who places the Program under this License
   1.235 -may add an explicit geographical distribution limitation excluding
   1.236 -those countries, so that distribution is permitted only in or among
   1.237 -countries not thus excluded.  In such case, this License incorporates
   1.238 -the limitation as if written in the body of this License.
   1.239 -
   1.240 -  9. The Free Software Foundation may publish revised and/or new versions
   1.241 -of the General Public License from time to time.  Such new versions will
   1.242 -be similar in spirit to the present version, but may differ in detail to
   1.243 -address new problems or concerns.
   1.244 -
   1.245 -Each version is given a distinguishing version number.  If the Program
   1.246 -specifies a version number of this License which applies to it and "any
   1.247 -later version", you have the option of following the terms and conditions
   1.248 -either of that version or of any later version published by the Free
   1.249 -Software Foundation.  If the Program does not specify a version number of
   1.250 -this License, you may choose any version ever published by the Free Software
   1.251 -Foundation.
   1.252 -
   1.253 -  10. If you wish to incorporate parts of the Program into other free
   1.254 -programs whose distribution conditions are different, write to the author
   1.255 -to ask for permission.  For software which is copyrighted by the Free
   1.256 -Software Foundation, write to the Free Software Foundation; we sometimes
   1.257 -make exceptions for this.  Our decision will be guided by the two goals
   1.258 -of preserving the free status of all derivatives of our free software and
   1.259 -of promoting the sharing and reuse of software generally.
   1.260 -
   1.261 -			    NO WARRANTY
   1.262 -
   1.263 -  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
   1.264 -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
   1.265 -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
   1.266 -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
   1.267 -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
   1.268 -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
   1.269 -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
   1.270 -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
   1.271 -REPAIR OR CORRECTION.
   1.272 -
   1.273 -  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
   1.274 -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
   1.275 -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
   1.276 -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
   1.277 -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
   1.278 -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
   1.279 -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
   1.280 -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
   1.281 -POSSIBILITY OF SUCH DAMAGES.
   1.282 -
   1.283 -		     END OF TERMS AND CONDITIONS
   1.284 -
   1.285 -	    How to Apply These Terms to Your New Programs
   1.286 -
   1.287 -  If you develop a new program, and you want it to be of the greatest
   1.288 -possible use to the public, the best way to achieve this is to make it
   1.289 -free software which everyone can redistribute and change under these terms.
   1.290 -
   1.291 -  To do so, attach the following notices to the program.  It is safest
   1.292 -to attach them to the start of each source file to most effectively
   1.293 -convey the exclusion of warranty; and each file should have at least
   1.294 -the "copyright" line and a pointer to where the full notice is found.
   1.295 -
   1.296 -    <one line to give the program's name and a brief idea of what it does.>
   1.297 -    Copyright (C) <year>  <name of author>
   1.298 -
   1.299 -    This program is free software; you can redistribute it and/or modify
   1.300 -    it under the terms of the GNU General Public License as published by
   1.301 -    the Free Software Foundation; either version 2 of the License, or
   1.302 -    (at your option) any later version.
   1.303 -
   1.304 -    This program is distributed in the hope that it will be useful,
   1.305 -    but WITHOUT ANY WARRANTY; without even the implied warranty of
   1.306 -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   1.307 -    GNU General Public License for more details.
   1.308 -
   1.309 -    You should have received a copy of the GNU General Public License
   1.310 -    along with this program; if not, write to the Free Software
   1.311 -    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
   1.312 -
   1.313 -
   1.314 -Also add information on how to contact you by electronic and paper mail.
   1.315 -
   1.316 -If the program is interactive, make it output a short notice like this
   1.317 -when it starts in an interactive mode:
   1.318 -
   1.319 -    Gnomovision version 69, Copyright (C) year  name of author
   1.320 -    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
   1.321 -    This is free software, and you are welcome to redistribute it
   1.322 -    under certain conditions; type `show c' for details.
   1.323 -
   1.324 -The hypothetical commands `show w' and `show c' should show the appropriate
   1.325 -parts of the General Public License.  Of course, the commands you use may
   1.326 -be called something other than `show w' and `show c'; they could even be
   1.327 -mouse-clicks or menu items--whatever suits your program.
   1.328 -
   1.329 -You should also get your employer (if you work as a programmer) or your
   1.330 -school, if any, to sign a "copyright disclaimer" for the program, if
   1.331 -necessary.  Here is a sample; alter the names:
   1.332 -
   1.333 -  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
   1.334 -  `Gnomovision' (which makes passes at compilers) written by James Hacker.
   1.335 -
   1.336 -  <signature of Ty Coon>, 1 April 1989
   1.337 -  Ty Coon, President of Vice
   1.338 -
   1.339 -This General Public License does not permit incorporating your program into
   1.340 -proprietary programs.  If your program is a subroutine library, you may
   1.341 -consider it more useful to permit linking proprietary applications with the
   1.342 -library.  If this is what you want to do, use the GNU Library General
   1.343 -Public License instead of this License.
     2.1 --- a/gmyth-stream/client/INSTALL	Thu May 17 20:06:15 2007 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,236 +0,0 @@
     2.4 -Installation Instructions
     2.5 -*************************
     2.6 -
     2.7 -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
     2.8 -Software Foundation, Inc.
     2.9 -
    2.10 -This file is free documentation; the Free Software Foundation gives
    2.11 -unlimited permission to copy, distribute and modify it.
    2.12 -
    2.13 -Basic Installation
    2.14 -==================
    2.15 -
    2.16 -These are generic installation instructions.
    2.17 -
    2.18 -   The `configure' shell script attempts to guess correct values for
    2.19 -various system-dependent variables used during compilation.  It uses
    2.20 -those values to create a `Makefile' in each directory of the package.
    2.21 -It may also create one or more `.h' files containing system-dependent
    2.22 -definitions.  Finally, it creates a shell script `config.status' that
    2.23 -you can run in the future to recreate the current configuration, and a
    2.24 -file `config.log' containing compiler output (useful mainly for
    2.25 -debugging `configure').
    2.26 -
    2.27 -   It can also use an optional file (typically called `config.cache'
    2.28 -and enabled with `--cache-file=config.cache' or simply `-C') that saves
    2.29 -the results of its tests to speed up reconfiguring.  (Caching is
    2.30 -disabled by default to prevent problems with accidental use of stale
    2.31 -cache files.)
    2.32 -
    2.33 -   If you need to do unusual things to compile the package, please try
    2.34 -to figure out how `configure' could check whether to do them, and mail
    2.35 -diffs or instructions to the address given in the `README' so they can
    2.36 -be considered for the next release.  If you are using the cache, and at
    2.37 -some point `config.cache' contains results you don't want to keep, you
    2.38 -may remove or edit it.
    2.39 -
    2.40 -   The file `configure.ac' (or `configure.in') is used to create
    2.41 -`configure' by a program called `autoconf'.  You only need
    2.42 -`configure.ac' if you want to change it or regenerate `configure' using
    2.43 -a newer version of `autoconf'.
    2.44 -
    2.45 -The simplest way to compile this package is:
    2.46 -
    2.47 -  1. `cd' to the directory containing the package's source code and type
    2.48 -     `./configure' to configure the package for your system.  If you're
    2.49 -     using `csh' on an old version of System V, you might need to type
    2.50 -     `sh ./configure' instead to prevent `csh' from trying to execute
    2.51 -     `configure' itself.
    2.52 -
    2.53 -     Running `configure' takes awhile.  While running, it prints some
    2.54 -     messages telling which features it is checking for.
    2.55 -
    2.56 -  2. Type `make' to compile the package.
    2.57 -
    2.58 -  3. Optionally, type `make check' to run any self-tests that come with
    2.59 -     the package.
    2.60 -
    2.61 -  4. Type `make install' to install the programs and any data files and
    2.62 -     documentation.
    2.63 -
    2.64 -  5. You can remove the program binaries and object files from the
    2.65 -     source code directory by typing `make clean'.  To also remove the
    2.66 -     files that `configure' created (so you can compile the package for
    2.67 -     a different kind of computer), type `make distclean'.  There is
    2.68 -     also a `make maintainer-clean' target, but that is intended mainly
    2.69 -     for the package's developers.  If you use it, you may have to get
    2.70 -     all sorts of other programs in order to regenerate files that came
    2.71 -     with the distribution.
    2.72 -
    2.73 -Compilers and Options
    2.74 -=====================
    2.75 -
    2.76 -Some systems require unusual options for compilation or linking that the
    2.77 -`configure' script does not know about.  Run `./configure --help' for
    2.78 -details on some of the pertinent environment variables.
    2.79 -
    2.80 -   You can give `configure' initial values for configuration parameters
    2.81 -by setting variables in the command line or in the environment.  Here
    2.82 -is an example:
    2.83 -
    2.84 -     ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
    2.85 -
    2.86 -   *Note Defining Variables::, for more details.
    2.87 -
    2.88 -Compiling For Multiple Architectures
    2.89 -====================================
    2.90 -
    2.91 -You can compile the package for more than one kind of computer at the
    2.92 -same time, by placing the object files for each architecture in their
    2.93 -own directory.  To do this, you must use a version of `make' that
    2.94 -supports the `VPATH' variable, such as GNU `make'.  `cd' to the
    2.95 -directory where you want the object files and executables to go and run
    2.96 -the `configure' script.  `configure' automatically checks for the
    2.97 -source code in the directory that `configure' is in and in `..'.
    2.98 -
    2.99 -   If you have to use a `make' that does not support the `VPATH'
   2.100 -variable, you have to compile the package for one architecture at a
   2.101 -time in the source code directory.  After you have installed the
   2.102 -package for one architecture, use `make distclean' before reconfiguring
   2.103 -for another architecture.
   2.104 -
   2.105 -Installation Names
   2.106 -==================
   2.107 -
   2.108 -By default, `make install' will install the package's files in
   2.109 -`/usr/local/bin', `/usr/local/man', etc.  You can specify an
   2.110 -installation prefix other than `/usr/local' by giving `configure' the
   2.111 -option `--prefix=PREFIX'.
   2.112 -
   2.113 -   You can specify separate installation prefixes for
   2.114 -architecture-specific files and architecture-independent files.  If you
   2.115 -give `configure' the option `--exec-prefix=PREFIX', the package will
   2.116 -use PREFIX as the prefix for installing programs and libraries.
   2.117 -Documentation and other data files will still use the regular prefix.
   2.118 -
   2.119 -   In addition, if you use an unusual directory layout you can give
   2.120 -options like `--bindir=DIR' to specify different values for particular
   2.121 -kinds of files.  Run `configure --help' for a list of the directories
   2.122 -you can set and what kinds of files go in them.
   2.123 -
   2.124 -   If the package supports it, you can cause programs to be installed
   2.125 -with an extra prefix or suffix on their names by giving `configure' the
   2.126 -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
   2.127 -
   2.128 -Optional Features
   2.129 -=================
   2.130 -
   2.131 -Some packages pay attention to `--enable-FEATURE' options to
   2.132 -`configure', where FEATURE indicates an optional part of the package.
   2.133 -They may also pay attention to `--with-PACKAGE' options, where PACKAGE
   2.134 -is something like `gnu-as' or `x' (for the X Window System).  The
   2.135 -`README' should mention any `--enable-' and `--with-' options that the
   2.136 -package recognizes.
   2.137 -
   2.138 -   For packages that use the X Window System, `configure' can usually
   2.139 -find the X include and library files automatically, but if it doesn't,
   2.140 -you can use the `configure' options `--x-includes=DIR' and
   2.141 -`--x-libraries=DIR' to specify their locations.
   2.142 -
   2.143 -Specifying the System Type
   2.144 -==========================
   2.145 -
   2.146 -There may be some features `configure' cannot figure out automatically,
   2.147 -but needs to determine by the type of machine the package will run on.
   2.148 -Usually, assuming the package is built to be run on the _same_
   2.149 -architectures, `configure' can figure that out, but if it prints a
   2.150 -message saying it cannot guess the machine type, give it the
   2.151 -`--build=TYPE' option.  TYPE can either be a short name for the system
   2.152 -type, such as `sun4', or a canonical name which has the form:
   2.153 -
   2.154 -     CPU-COMPANY-SYSTEM
   2.155 -
   2.156 -where SYSTEM can have one of these forms:
   2.157 -
   2.158 -     OS KERNEL-OS
   2.159 -
   2.160 -   See the file `config.sub' for the possible values of each field.  If
   2.161 -`config.sub' isn't included in this package, then this package doesn't
   2.162 -need to know the machine type.
   2.163 -
   2.164 -   If you are _building_ compiler tools for cross-compiling, you should
   2.165 -use the `--target=TYPE' option to select the type of system they will
   2.166 -produce code for.
   2.167 -
   2.168 -   If you want to _use_ a cross compiler, that generates code for a
   2.169 -platform different from the build platform, you should specify the
   2.170 -"host" platform (i.e., that on which the generated programs will
   2.171 -eventually be run) with `--host=TYPE'.
   2.172 -
   2.173 -Sharing Defaults
   2.174 -================
   2.175 -
   2.176 -If you want to set default values for `configure' scripts to share, you
   2.177 -can create a site shell script called `config.site' that gives default
   2.178 -values for variables like `CC', `cache_file', and `prefix'.
   2.179 -`configure' looks for `PREFIX/share/config.site' if it exists, then
   2.180 -`PREFIX/etc/config.site' if it exists.  Or, you can set the
   2.181 -`CONFIG_SITE' environment variable to the location of the site script.
   2.182 -A warning: not all `configure' scripts look for a site script.
   2.183 -
   2.184 -Defining Variables
   2.185 -==================
   2.186 -
   2.187 -Variables not defined in a site shell script can be set in the
   2.188 -environment passed to `configure'.  However, some packages may run
   2.189 -configure again during the build, and the customized values of these
   2.190 -variables may be lost.  In order to avoid this problem, you should set
   2.191 -them in the `configure' command line, using `VAR=value'.  For example:
   2.192 -
   2.193 -     ./configure CC=/usr/local2/bin/gcc
   2.194 -
   2.195 -causes the specified `gcc' to be used as the C compiler (unless it is
   2.196 -overridden in the site shell script).  Here is a another example:
   2.197 -
   2.198 -     /bin/bash ./configure CONFIG_SHELL=/bin/bash
   2.199 -
   2.200 -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
   2.201 -configuration-related scripts to be executed by `/bin/bash'.
   2.202 -
   2.203 -`configure' Invocation
   2.204 -======================
   2.205 -
   2.206 -`configure' recognizes the following options to control how it operates.
   2.207 -
   2.208 -`--help'
   2.209 -`-h'
   2.210 -     Print a summary of the options to `configure', and exit.
   2.211 -
   2.212 -`--version'
   2.213 -`-V'
   2.214 -     Print the version of Autoconf used to generate the `configure'
   2.215 -     script, and exit.
   2.216 -
   2.217 -`--cache-file=FILE'
   2.218 -     Enable the cache: use and save the results of the tests in FILE,
   2.219 -     traditionally `config.cache'.  FILE defaults to `/dev/null' to
   2.220 -     disable caching.
   2.221 -
   2.222 -`--config-cache'
   2.223 -`-C'
   2.224 -     Alias for `--cache-file=config.cache'.
   2.225 -
   2.226 -`--quiet'
   2.227 -`--silent'
   2.228 -`-q'
   2.229 -     Do not print messages saying which checks are being made.  To
   2.230 -     suppress all normal output, redirect it to `/dev/null' (any error
   2.231 -     messages will still be shown).
   2.232 -
   2.233 -`--srcdir=DIR'
   2.234 -     Look for the package's source code in directory DIR.  Usually
   2.235 -     `configure' can determine that directory automatically.
   2.236 -
   2.237 -`configure' also accepts some other, not widely useful, options.  Run
   2.238 -`configure --help' for more details.
   2.239 -
     3.1 --- a/gmyth-stream/client/Makefile.am	Thu May 17 20:06:15 2007 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,8 +0,0 @@
     3.4 -SUBDIRS = src test
     3.5 -
     3.6 -pcfiles = gmyth-stream-client.pc
     3.7 -pkgconfigdir = $(libdir)/pkgconfig
     3.8 -pkgconfig_DATA = $(pcfiles)
     3.9 -
    3.10 -EXTRA_DIST = 			\
    3.11 -	ChangeLog
     4.1 --- a/gmyth-stream/client/autogen.sh	Thu May 17 20:06:15 2007 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,20 +0,0 @@
     4.4 -#!/bin/sh
     4.5 -# Run this to generate all the initial makefiles, etc.
     4.6 -
     4.7 -srcdir=`dirname $0`
     4.8 -test -z "$srcdir" && srcdir=.
     4.9 -
    4.10 -PKG_NAME="myth-stream"
    4.11 -
    4.12 -(test -f $srcdir/configure.ac) || {
    4.13 -    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
    4.14 -    echo " top-level $PKG_NAME directory"
    4.15 -    exit 1
    4.16 -}
    4.17 -
    4.18 -which gnome-autogen.sh || {
    4.19 -    echo "You need to install gnome-common from the GNOME CVS"
    4.20 -    exit 1
    4.21 -}
    4.22 -ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
    4.23 -REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh
     5.1 --- a/gmyth-stream/client/configure.ac	Thu May 17 20:06:15 2007 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,79 +0,0 @@
     5.4 -#                                               -*- Autoconf -*-
     5.5 -# Process this file with autoconf to produce a configure script.
     5.6 -
     5.7 -AC_PREREQ(2.50)
     5.8 -
     5.9 -AC_INIT([gmyth-stream],[0.1])
    5.10 -
    5.11 -AC_CONFIG_MACRO_DIR([m4])
    5.12 -AC_CONFIG_HEADER(config.h)
    5.13 -
    5.14 -AS_VERSION(gmyth-stream, GMYTH_STREAM, 0, 1, 0, 0, GMYTH_STREAM_SVN="no", GMYTH_STREAM_SVN="yes")
    5.15 -GMYTH_STREAM_MAJORMINOR=$GMYTH_STREAM_MAJOR_VERSION.$GMYTH_STREAM_MINOR_VERSION
    5.16 -AC_SUBST(GMYTH_STREAM_MAJORMINOR)
    5.17 -
    5.18 -dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode
    5.19 -AM_MAINTAINER_MODE
    5.20 -dnl make aclocal work in maintainer mode
    5.21 -AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
    5.22 -
    5.23 -AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
    5.24 -
    5.25 -# Checks for programs.
    5.26 -# check for tools
    5.27 -# Make sure CFLAGS is defined to stop AC_PROC_CC adding -g
    5.28 -CFLAGS="$CFLAGS -Wall"
    5.29 -AC_PROG_CC
    5.30 -AC_PROG_LIBTOOL
    5.31 -
    5.32 -# Checks for libraries.
    5.33 -
    5.34 -# Checks for header files.
    5.35 -AC_HEADER_STDC
    5.36 -
    5.37 -#Test if --disable-debug given
    5.38 -AC_ARG_ENABLE(debug,
    5.39 -	AC_HELP_STRING([--disable-debug], [enable debugging mode]))
    5.40 -if test x"$enable_debug" != xno; then
    5.41 -    CFLAGS="$CFLAGS -g -DGMYTH_STREAM_USE_DEBUG"
    5.42 -else
    5.43 -    CFLAGS="$CFLAGS -O2 -DG_DISABLE_CHECKS"
    5.44 -fi          
    5.45 -
    5.46 -
    5.47 -# Checks required packages ####################################################
    5.48 -###############################################################################
    5.49 -
    5.50 -## Check for pkgconfig ########################################################
    5.51 -###############################################################################
    5.52 -AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
    5.53 -if test "x$HAVE_PKGCONFIG" = "xno"; then
    5.54 -  AC_MSG_ERROR(you need to have pkgconfig installed !)
    5.55 -fi
    5.56 -
    5.57 -## Check for Glib2.0 ##########################################################
    5.58 -###############################################################################
    5.59 -PKG_CHECK_MODULES(GLIB, glib-2.0 gobject-2.0, HAVE_GLIB=yes,HAVE_GLIB=no)
    5.60 -if test "x$HAVE_GLIB" = "xno"; then
    5.61 -  AC_MSG_ERROR(you need glib-2.0 installed)
    5.62 -fi
    5.63 -AC_SUBST(GLIB_CFLAGS)
    5.64 -AC_SUBST(GLIB_LIBS)
    5.65 -
    5.66 -AC_SUBST(CFLAGS)
    5.67 -AC_SUBST(LDFLAGS)
    5.68 -AC_SUBST(LIBS)
    5.69 -
    5.70 -AC_OUTPUT([
    5.71 -Makefile
    5.72 -gmyth-stream-client.pc
    5.73 -src/Makefile
    5.74 -test/Makefile
    5.75 -])
    5.76 -
    5.77 -if test "x$enable_debug" != "xno"; then
    5.78 -    AC_MSG_NOTICE([Debug: Enabled])
    5.79 -else
    5.80 -    AC_MSG_NOTICE([Debug: Disabled])
    5.81 -fi          
    5.82 -
     6.1 --- a/gmyth-stream/client/debian/changelog	Thu May 17 20:06:15 2007 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,6 +0,0 @@
     6.4 -gmythstream-client (0.1) unstable; urgency=low
     6.5 -
     6.6 -  * Initial Package.
     6.7 -
     6.8 - -- Hallyson Melo <hallyson.melo@indt.org.br>  Thu, 12 Apr 2007 17:26:16 -0300
     6.9 -
     7.1 --- a/gmyth-stream/client/debian/compat	Thu May 17 20:06:15 2007 +0100
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,1 +0,0 @@
     7.4 -4
     8.1 --- a/gmyth-stream/client/debian/control	Thu May 17 20:06:15 2007 +0100
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,18 +0,0 @@
     8.4 -Source: gmythstream-client
     8.5 -Priority: optional
     8.6 -Maintainer: Hallyson Melo <hallyson.melo@indt.org.br>
     8.7 -Build-Depends: debhelper (>= 4.0.0), autotools-dev, cdbs (>= 0.4.0), libglib2.0-dev
     8.8 -Standards-Version: 3.6.2
     8.9 -Section: libs
    8.10 -
    8.11 -Package: gmythstream-client
    8.12 -Section: libs
    8.13 -Architecture: any
    8.14 -Depends: ${shlibs:Depends}, ${misc:Depends}, libglib2.0-0
    8.15 -Description: This library can be used to access gmythstream server.
    8.16 -
    8.17 -Package: gmythstream-client-dev
    8.18 -Section: libdevel
    8.19 -Architecture: any
    8.20 -Depends: gmythstream-client (= ${Source-Version}), libglib2.0-dev
    8.21 -Description: The gmythstream-client library library development files.
     9.1 --- a/gmyth-stream/client/debian/gmythstream-client-dev.install	Thu May 17 20:06:15 2007 +0100
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,6 +0,0 @@
     9.4 -debian/tmp/usr/include/*
     9.5 -debian/tmp/usr/lib/lib*.a
     9.6 -debian/tmp/usr/lib/lib*.so
     9.7 -debian/tmp/usr/lib/pkgconfig/*
     9.8 -debian/tmp/usr/lib/*.la
     9.9 -debian/tmp/usr/share/pkgconfig/*
    10.1 --- a/gmyth-stream/client/debian/gmythstream-client.install	Thu May 17 20:06:15 2007 +0100
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,1 +0,0 @@
    10.4 -debian/tmp/usr/lib/lib*.so.*
    11.1 --- a/gmyth-stream/client/debian/rules	Thu May 17 20:06:15 2007 +0100
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,20 +0,0 @@
    11.4 -#!/usr/bin/make -f
    11.5 -
    11.6 -include /usr/share/cdbs/1/rules/debhelper.mk
    11.7 -include /usr/share/cdbs/1/class/autotools.mk
    11.8 -include /usr/share/cdbs/1/rules/simple-patchsys.mk
    11.9 -include /usr/share/cdbs/1/rules/utils.mk
   11.10 -
   11.11 -# debian package version
   11.12 -version=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
   11.13 -
   11.14 -maint: debian/control
   11.15 -
   11.16 -common_conf_flags = \
   11.17 -	--enable-debug
   11.18 -
   11.19 -# FIXME: should disable docs for arch only builds
   11.20 -DEB_CONFIGURE_EXTRA_FLAGS := $(common_conf_flags)
   11.21 -
   11.22 -
   11.23 -.PHONY: maint
    12.1 --- a/gmyth-stream/client/gmyth-stream-client.pc.in	Thu May 17 20:06:15 2007 +0100
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,12 +0,0 @@
    12.4 -prefix=@prefix@
    12.5 -exec_prefix=@exec_prefix@
    12.6 -libdir=@libdir@
    12.7 -includedir=@includedir@
    12.8 -
    12.9 -Name: gmyth-stream-client
   12.10 -Description: Gmyth Stream Client side
   12.11 -Version: @VERSION@
   12.12 -Requires: gobject-2.0 glib-2.0
   12.13 -
   12.14 -Libs: -L${libdir} -lgmythstreamclient
   12.15 -Cflags: -I${includedir}/gmyth-stream
    13.1 --- a/gmyth-stream/client/m4/as-compiler-flag.m4	Thu May 17 20:06:15 2007 +0100
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,32 +0,0 @@
    13.4 -dnl as-compiler-flag.m4 0.1.0
    13.5 -
    13.6 -dnl autostars m4 macro for detection of compiler flags
    13.7 -
    13.8 -dnl David Schleef <ds@schleef.org>
    13.9 -
   13.10 -dnl $Id: as-compiler-flag.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
   13.11 -
   13.12 -dnl AS_COMPILER_FLAG(CFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
   13.13 -dnl Tries to compile with the given CFLAGS.
   13.14 -dnl Runs ACTION-IF-ACCEPTED if the compiler can compile with the flags,
   13.15 -dnl and ACTION-IF-NOT-ACCEPTED otherwise.
   13.16 -
   13.17 -AC_DEFUN([AS_COMPILER_FLAG],
   13.18 -[
   13.19 -  AC_MSG_CHECKING([to see if compiler understands $1])
   13.20 -
   13.21 -  save_CFLAGS="$CFLAGS"
   13.22 -  CFLAGS="$CFLAGS $1"
   13.23 -
   13.24 -  AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
   13.25 -  CFLAGS="$save_CFLAGS"
   13.26 -
   13.27 -  if test "X$flag_ok" = Xyes ; then
   13.28 -    $2
   13.29 -    true
   13.30 -  else
   13.31 -    $3
   13.32 -    true
   13.33 -  fi
   13.34 -  AC_MSG_RESULT([$flag_ok])
   13.35 -])
    14.1 --- a/gmyth-stream/client/m4/as-expand.m4	Thu May 17 20:06:15 2007 +0100
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,40 +0,0 @@
    14.4 -dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
    14.5 -dnl
    14.6 -dnl example
    14.7 -dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
    14.8 -dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
    14.9 -
   14.10 -AC_DEFUN([AS_AC_EXPAND],
   14.11 -[
   14.12 -  EXP_VAR=[$1]
   14.13 -  FROM_VAR=[$2]
   14.14 -
   14.15 -  dnl first expand prefix and exec_prefix if necessary
   14.16 -  prefix_save=$prefix
   14.17 -  exec_prefix_save=$exec_prefix
   14.18 -
   14.19 -  dnl if no prefix given, then use /usr/local, the default prefix
   14.20 -  if test "x$prefix" = "xNONE"; then
   14.21 -    prefix=$ac_default_prefix
   14.22 -  fi
   14.23 -  dnl if no exec_prefix given, then use prefix
   14.24 -  if test "x$exec_prefix" = "xNONE"; then
   14.25 -    exec_prefix=$prefix
   14.26 -  fi
   14.27 -
   14.28 -  full_var="$FROM_VAR"
   14.29 -  dnl loop until it doesn't change anymore
   14.30 -  while true; do
   14.31 -    new_full_var="`eval echo $full_var`"
   14.32 -    if test "x$new_full_var"="x$full_var"; then break; fi
   14.33 -    full_var=$new_full_var
   14.34 -  done
   14.35 -
   14.36 -  dnl clean up
   14.37 -  full_var=$new_full_var
   14.38 -  AC_SUBST([$1], "$full_var")
   14.39 -
   14.40 -  dnl restore prefix and exec_prefix
   14.41 -  prefix=$prefix_save
   14.42 -  exec_prefix=$exec_prefix_save
   14.43 -])
    15.1 --- a/gmyth-stream/client/m4/as-version.m4	Thu May 17 20:06:15 2007 +0100
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,67 +0,0 @@
    15.4 -dnl as-version.m4 0.1.0
    15.5 -
    15.6 -dnl autostars m4 macro for versioning
    15.7 -
    15.8 -dnl Thomas Vander Stichele <thomas at apestaart dot org>
    15.9 -
   15.10 -dnl $Id: as-version.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
   15.11 -
   15.12 -dnl AS_VERSION(PACKAGE, PREFIX, MAJOR, MINOR, MICRO, NANO,
   15.13 -dnl            ACTION-IF-NO-NANO, [ACTION-IF-NANO])
   15.14 -
   15.15 -dnl example
   15.16 -dnl AS_VERSION(gstreamer, GST_VERSION, 0, 3, 2,)
   15.17 -dnl for a 0.3.2 release version
   15.18 -
   15.19 -dnl this macro
   15.20 -dnl - defines [$PREFIX]_MAJOR, MINOR and MICRO
   15.21 -dnl - if NANO is empty, then we're in release mode, else in cvs/dev mode
   15.22 -dnl - defines [$PREFIX], VERSION, and [$PREFIX]_RELEASE
   15.23 -dnl - executes the relevant action
   15.24 -dnl - AC_SUBST's PACKAGE, VERSION, [$PREFIX] and [$PREFIX]_RELEASE
   15.25 -dnl   as well as the little ones
   15.26 -dnl - doesn't call AM_INIT_AUTOMAKE anymore because it prevents
   15.27 -dnl   maintainer mode from running ok
   15.28 -dnl
   15.29 -dnl don't forget to put #undef [$2] and [$2]_RELEASE in acconfig.h
   15.30 -dnl if you use acconfig.h
   15.31 -
   15.32 -AC_DEFUN([AS_VERSION],
   15.33 -[
   15.34 -  PACKAGE=[$1]
   15.35 -  [$2]_MAJOR=[$3]
   15.36 -  [$2]_MINOR=[$4]
   15.37 -  [$2]_MICRO=[$5]
   15.38 -  NANO=[$6]
   15.39 -  [$2]_NANO=$NANO
   15.40 -  if test "x$NANO" = "x" || test "x$NANO" = "x0";
   15.41 -  then
   15.42 -      AC_MSG_NOTICE(configuring [$1] for release)
   15.43 -      VERSION=[$3].[$4].[$5]
   15.44 -      [$2]_RELEASE=1
   15.45 -      dnl execute action
   15.46 -      ifelse([$7], , :, [$7])
   15.47 -  else
   15.48 -      AC_MSG_NOTICE(configuring [$1] for development with nano $NANO)
   15.49 -      VERSION=[$3].[$4].[$5].$NANO
   15.50 -      [$2]_RELEASE=0.`date +%Y%m%d.%H%M%S`
   15.51 -      dnl execute action
   15.52 -      ifelse([$8], , :, [$8])
   15.53 -  fi
   15.54 -
   15.55 -  [$2]=$VERSION
   15.56 -  AC_DEFINE_UNQUOTED([$2], "$[$2]", [Define the version])
   15.57 -  AC_SUBST([$2])
   15.58 -  AC_DEFINE_UNQUOTED([$2]_RELEASE, "$[$2]_RELEASE", [Define the release version])
   15.59 -  AC_SUBST([$2]_RELEASE)
   15.60 -
   15.61 -  AC_SUBST([$2]_MAJOR)
   15.62 -  AC_SUBST([$2]_MINOR)
   15.63 -  AC_SUBST([$2]_MICRO)
   15.64 -  AC_SUBST([$2]_NANO)
   15.65 -  AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Define the package name])
   15.66 -  AC_SUBST(PACKAGE)
   15.67 -  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Define the version])
   15.68 -  AC_SUBST(VERSION)
   15.69 -])
   15.70 -
    16.1 --- a/gmyth-stream/client/m4/gst-feature.m4	Thu May 17 20:06:15 2007 +0100
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,211 +0,0 @@
    16.4 -dnl Perform a check for a feature for GStreamer
    16.5 -dnl Richard Boulton <richard-alsa@tartarus.org>
    16.6 -dnl Thomas Vander Stichele <thomas@apestaart.org> added useful stuff
    16.7 -dnl Last modification: 25/06/2001
    16.8 -dnl GST_CHECK_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION,
    16.9 -dnl                   DEPENDENT-PLUGINS, TEST-FOR-FEATURE,
   16.10 -dnl                   DISABLE-BY-DEFAULT, ACTION-IF-USE, ACTION-IF-NOTUSE)
   16.11 -dnl
   16.12 -dnl This macro adds a command line argument to enable the user to enable
   16.13 -dnl or disable a feature, and if the feature is enabled, performs a supplied
   16.14 -dnl test to check if the feature is available.
   16.15 -dnl
   16.16 -dnl The test should define HAVE_<FEATURE-NAME> to "yes" or "no" depending
   16.17 -dnl on whether the feature is available.
   16.18 -dnl
   16.19 -dnl The macro will set USE_<FEATURE-NAME> to "yes" or "no" depending on
   16.20 -dnl whether the feature is to be used.
   16.21 -dnl Thomas changed this, so that when USE_<FEATURE-NAME> was already set
   16.22 -dnl to no, then it stays that way.
   16.23 -dnl
   16.24 -dnl The macro will call AM_CONDITIONAL(USE_<<FEATURE-NAME>, ...) to allow
   16.25 -dnl the feature to control what is built in Makefile.ams.  If you want
   16.26 -dnl additional actions resulting from the test, you can add them with the
   16.27 -dnl ACTION-IF-USE and ACTION-IF-NOTUSE parameters.
   16.28 -dnl 
   16.29 -dnl FEATURE-NAME        is the name of the feature, and should be in
   16.30 -dnl                     purely upper case characters.
   16.31 -dnl FEATURE-DESCRIPTION is used to describe the feature in help text for
   16.32 -dnl                     the command line argument.
   16.33 -dnl DEPENDENT-PLUGINS   lists any plugins which depend on this feature.
   16.34 -dnl TEST-FOR-FEATURE    is a test which sets HAVE_<FEATURE-NAME> to "yes"
   16.35 -dnl                     or "no" depending on whether the feature is
   16.36 -dnl                     available.
   16.37 -dnl DISABLE-BY-DEFAULT  if "disabled", the feature is disabled by default,
   16.38 -dnl                     if any other value, the feature is enabled by default.
   16.39 -dnl ACTION-IF-USE       any extra actions to perform if the feature is to be
   16.40 -dnl                     used.
   16.41 -dnl ACTION-IF-NOTUSE    any extra actions to perform if the feature is not to
   16.42 -dnl                     be used.
   16.43 -dnl
   16.44 -dnl
   16.45 -dnl thomas :
   16.46 -dnl we also added a history.  
   16.47 -dnl GST_PLUGINS_YES will contain all plugins to be built
   16.48 -dnl                 that were checked through GST_CHECK_FEATURE
   16.49 -dnl GST_PLUGINS_NO will contain those that won't be built
   16.50 -
   16.51 -AC_DEFUN([GST_CHECK_FEATURE],
   16.52 -AC_MSG_NOTICE(***)
   16.53 -AC_MSG_NOTICE(*** checking plugin: [$3] ***)
   16.54 -AC_MSG_NOTICE(***)
   16.55 -[dnl
   16.56 -builtin(define, [gst_endisable], ifelse($5, [disabled], [enable], [disable]))dnl
   16.57 -dnl if it is set to NO, then don't even consider it for building
   16.58 -NOUSE=
   16.59 -if test "x$USE_[$1]" = "xno"; then
   16.60 -  NOUSE="yes"
   16.61 -fi
   16.62 -AC_ARG_ENABLE(translit([$1], A-Z, a-z),
   16.63 -  [  ]builtin(format, --%-26s gst_endisable %s, gst_endisable-translit([$1], A-Z, a-z), [$2]ifelse([$3],,,: [$3])),
   16.64 -  [ case "${enableval}" in
   16.65 -      yes) USE_[$1]=yes;;
   16.66 -      no) USE_[$1]=no;;
   16.67 -      *) AC_MSG_ERROR(bad value ${enableval} for --enable-translit([$1], A-Z, a-z)) ;;
   16.68 -    esac],
   16.69 -  [ USE_$1=]ifelse($5, [disabled], [no], [yes]))           dnl DEFAULT
   16.70 -
   16.71 -dnl *** set it back to no if it was preset to no
   16.72 -if test "x$NOUSE" = "xyes"; then
   16.73 -  USE_[$1]="no"
   16.74 -  AC_MSG_WARN(*** $3 pre-configured not to be built)
   16.75 -fi
   16.76 -NOUSE=
   16.77 -
   16.78 -dnl *** If it's enabled
   16.79 -
   16.80 -if test x$USE_[$1] = xyes; then
   16.81 -  dnl save compile variables before the test
   16.82 -
   16.83 -  gst_check_save_LIBS=$LIBS
   16.84 -  gst_check_save_LDFLAGS=$LDFLAGS
   16.85 -  gst_check_save_CFLAGS=$CFLAGS
   16.86 -  gst_check_save_CPPFLAGS=$CPPFLAGS
   16.87 -  gst_check_save_CXXFLAGS=$CXXFLAGS
   16.88 -
   16.89 -  HAVE_[$1]=no
   16.90 -  dnl TEST_FOR_FEATURE
   16.91 -  $4
   16.92 -
   16.93 -  LIBS=$gst_check_save_LIBS
   16.94 -  LDFLAGS=$gst_check_save_LDFLAGS
   16.95 -  CFLAGS=$gst_check_save_CFLAGS
   16.96 -  CPPFLAGS=$gst_check_save_CPPFLAGS
   16.97 -  CXXFLAGS=$gst_check_save_CXXFLAGS
   16.98 -
   16.99 -  dnl If it isn't found, unset USE_[$1]
  16.100 -  if test x$HAVE_[$1] = xno; then
  16.101 -    USE_[$1]=no
  16.102 -  fi
  16.103 -fi
  16.104 -dnl *** Warn if it's disabled or not found
  16.105 -if test x$USE_[$1] = xyes; then
  16.106 -  ifelse([$6], , :, [$6])
  16.107 -  if test "x$3" != "x"; then
  16.108 -    GST_PLUGINS_YES="\t[$3]\n$GST_PLUGINS_YES"
  16.109 -  fi
  16.110 -  AC_DEFINE(HAVE_[$1], , [support for features: $3])
  16.111 -else
  16.112 -  ifelse([$3], , :, [AC_MSG_NOTICE(*** These plugins will not be built: [$3])])
  16.113 -  if test "x$3" != "x"; then
  16.114 -    GST_PLUGINS_NO="\t[$3]\n$GST_PLUGINS_NO"
  16.115 -  fi
  16.116 -  ifelse([$7], , :, [$7])
  16.117 -fi
  16.118 -dnl *** Define the conditional as appropriate
  16.119 -AM_CONDITIONAL(USE_[$1], test x$USE_[$1] = xyes)
  16.120 -])
  16.121 -
  16.122 -dnl Use a -config program which accepts --cflags and --libs parameters
  16.123 -dnl to set *_CFLAGS and *_LIBS and check existence of a feature.
  16.124 -dnl Richard Boulton <richard-alsa@tartarus.org>
  16.125 -dnl Last modification: 26/06/2001
  16.126 -dnl GST_CHECK_CONFIGPROG(FEATURE-NAME, CONFIG-PROG-FILENAME, MODULES)
  16.127 -dnl
  16.128 -dnl This check was written for GStreamer: it should be renamed and checked
  16.129 -dnl for portability if you decide to use it elsewhere.
  16.130 -dnl
  16.131 -AC_DEFUN([GST_CHECK_CONFIGPROG],
  16.132 -[
  16.133 -  AC_PATH_PROG([$1]_CONFIG, [$2], no)
  16.134 -  if test x$[$1]_CONFIG = xno; then
  16.135 -    [$1]_LIBS=
  16.136 -    [$1]_CFLAGS=
  16.137 -    HAVE_[$1]=no
  16.138 -  else
  16.139 -    if [$2] --plugin-libs [$3] &> /dev/null; then
  16.140 -      [$1]_LIBS=`[$2] --plugin-libs [$3]`
  16.141 -    else
  16.142 -      [$1]_LIBS=`[$2] --libs [$3]`
  16.143 -    fi
  16.144 -    [$1]_CFLAGS=`[$2] --cflags [$3]`
  16.145 -    HAVE_[$1]=yes
  16.146 -  fi
  16.147 -  AC_SUBST([$1]_LIBS)
  16.148 -  AC_SUBST([$1]_CFLAGS)
  16.149 -])
  16.150 -
  16.151 -dnl Use AC_CHECK_LIB and AC_CHECK_HEADER to do both tests at once
  16.152 -dnl sets HAVE_module if we have it
  16.153 -dnl Richard Boulton <richard-alsa@tartarus.org>
  16.154 -dnl Last modification: 26/06/2001
  16.155 -dnl GST_CHECK_LIBHEADER(FEATURE-NAME, LIB NAME, LIB FUNCTION, EXTRA LD FLAGS, 
  16.156 -dnl                     HEADER NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
  16.157 -dnl
  16.158 -dnl This check was written for GStreamer: it should be renamed and checked
  16.159 -dnl for portability if you decide to use it elsewhere.
  16.160 -dnl
  16.161 -AC_DEFUN([GST_CHECK_LIBHEADER],
  16.162 -[
  16.163 -  AC_CHECK_LIB([$2], [$3], HAVE_[$1]=yes, HAVE_[$1]=no,[$4])
  16.164 -  if test "x$HAVE_[$1]" = "xyes"; then
  16.165 -    AC_CHECK_HEADER([$5], :, HAVE_[$1]=no)
  16.166 -    if test "x$HAVE_[$1]" = "xyes"; then
  16.167 -      dnl execute what needs to be
  16.168 -      ifelse([$6], , :, [$6])
  16.169 -    else
  16.170 -      ifelse([$7], , :, [$7])
  16.171 -    fi
  16.172 -  else
  16.173 -    ifelse([$7], , :, [$7])
  16.174 -  fi
  16.175 -  AC_SUBST(HAVE_[$1])
  16.176 -]
  16.177 -)
  16.178 -
  16.179 -dnl 2004-02-14 Thomas - changed to get set properly and use proper output
  16.180 -dnl 2003-06-27 Benjamin Otte - changed to make this work with gstconfig.h
  16.181 -dnl
  16.182 -dnl Add a subsystem --disable flag and all the necessary symbols and substitions
  16.183 -dnl
  16.184 -dnl GST_CHECK_SUBSYSTEM_DISABLE(SYSNAME, [subsystem name])
  16.185 -dnl
  16.186 -AC_DEFUN([GST_CHECK_SUBSYSTEM_DISABLE],
  16.187 -[
  16.188 -  dnl this define will replace each literal subsys_def occurrence with
  16.189 -  dnl the lowercase hyphen-separated subsystem
  16.190 -  dnl e.g. if $1 is GST_DEBUG then subsys_def will be a macro with gst-debug
  16.191 -  define([subsys_def],translit([$1], _A-Z, -a-z))
  16.192 -
  16.193 -  AC_ARG_ENABLE(subsys_def, 
  16.194 -    AC_HELP_STRING(--disable-subsys_def, [disable $2]),
  16.195 -    [
  16.196 -      case "${enableval}" in
  16.197 -        yes) GST_DISABLE_[$1]=no ;;
  16.198 -        no) GST_DISABLE_[$1]=yes ;;
  16.199 -        *) AC_MSG_ERROR([bad value ${enableval} for --enable-subsys_def]) ;;
  16.200 -       esac
  16.201 -    ],
  16.202 -    [GST_DISABLE_[$1]=no]) dnl Default value
  16.203 -
  16.204 -  if test x$GST_DISABLE_[$1] = xyes; then
  16.205 -    AC_MSG_NOTICE([disabled subsystem [$2]])
  16.206 -    GST_DISABLE_[$1]_DEFINE="#define GST_DISABLE_$1 1" 
  16.207 -  else
  16.208 -    GST_DISABLE_[$1]_DEFINE="/* #undef GST_DISABLE_$1 */"
  16.209 -  fi
  16.210 -  AC_SUBST(GST_DISABLE_[$1]_DEFINE)
  16.211 -  undefine([subsys_def])
  16.212 -])
  16.213 -
  16.214 -
    17.1 --- a/gmyth-stream/client/src/Makefile.am	Thu May 17 20:06:15 2007 +0100
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,18 +0,0 @@
    17.4 -lib_LTLIBRARIES = libgmythstreamclient.la
    17.5 -
    17.6 -libgmythstreamclient_includedir = \
    17.7 -    $(pkgincludedir)
    17.8 -
    17.9 -libgmythstreamclient_include_HEADERS = \
   17.10 -	gmyth-stream-client.h
   17.11 -
   17.12 -libgmythstreamclient_la_SOURCES = \
   17.13 -	gmyth-stream-client.c
   17.14 -
   17.15 -libgmythstreamclient_la_CFLAGS = \
   17.16 -	$(GLIB_CFLAGS)
   17.17 -	
   17.18 -libgmythstreamclient_la_LDFLAGS = \
   17.19 -	$(GLIB_LIBS)
   17.20 -
   17.21 -CLEANFILES = 
    18.1 --- a/gmyth-stream/client/src/gmyth-stream-client.c	Thu May 17 20:06:15 2007 +0100
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,252 +0,0 @@
    18.4 -#ifdef HAVE_CONFIG_H
    18.5 -#include "config.h"
    18.6 -#endif
    18.7 -
    18.8 -#include <sys/types.h>
    18.9 -#include <sys/socket.h>
   18.10 -#include <arpa/inet.h>
   18.11 -#include <netdb.h>
   18.12 -#include <netinet/in.h>
   18.13 -#include <unistd.h>
   18.14 -#include <glib.h>
   18.15 -#include <glib/gprintf.h>
   18.16 -#include <string.h>
   18.17 -#include <stdlib.h>
   18.18 -
   18.19 -#include "gmyth-stream-client.h"
   18.20 -
   18.21 -#define BUFFER_SIZE 1024
   18.22 -
   18.23 -#define GMYTH_STREAM_CLIENT_GET_PRIVATE(obj) \
   18.24 -    (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GMYTH_TYPE_STREAM_CLIENT,\
   18.25 - GMythStreamClientPrivate))
   18.26 -
   18.27 -
   18.28 -typedef struct _sock _socket;
   18.29 -struct _sock
   18.30 -{
   18.31 -    gint fd;
   18.32 -    struct sockaddr_in addr;
   18.33 -};
   18.34 -
   18.35 -
   18.36 -typedef struct _GMythStreamClientPrivate GMythStreamClientPrivate;
   18.37 -struct _GMythStreamClientPrivate
   18.38 -{
   18.39 -    const gchar *host;
   18.40 -    _socket* sock;
   18.41 -    _socket* sock_stream;
   18.42 -    gboolean connected;
   18.43 -};
   18.44 -
   18.45 -
   18.46 -static void gmyth_stream_client_class_init (GMythStreamClientClass *klass);
   18.47 -static void gmyth_stream_client_init	   (GMythStreamClient *object);
   18.48 -static void gmyth_stream_client_dispose    (GObject *object);
   18.49 -static void gmyth_stream_client_finalize   (GObject *object);
   18.50 -
   18.51 -
   18.52 -G_DEFINE_TYPE(GMythStreamClient, gmyth_stream_client, G_TYPE_OBJECT)
   18.53 -
   18.54 -
   18.55 -static _socket*
   18.56 -create_socket (const gchar* hostname, gint port)
   18.57 -{
   18.58 -    _socket* sock = (_socket*)g_malloc(sizeof(_socket));
   18.59 -
   18.60 -    sock->fd = socket (PF_INET, SOCK_STREAM, IPPROTO_TCP);
   18.61 -    if (sock->fd == -1) {
   18.62 -        g_debug ("Fail to create sock");
   18.63 -        g_free(sock);
   18.64 -        return NULL;
   18.65 -    }
   18.66 -
   18.67 -    sock->addr.sin_family = AF_INET;
   18.68 -    sock->addr.sin_addr.s_addr = inet_addr(hostname);
   18.69 -    sock->addr.sin_port = htons(port);
   18.70 -
   18.71 -    if (connect (sock->fd, (struct sockaddr *) &(sock->addr), \
   18.72 -                 sizeof (sock->addr)) == -1) {
   18.73 -        g_debug ("Fail to connect with server");
   18.74 -        g_free(sock);
   18.75 -        return NULL;
   18.76 -    }
   18.77 -
   18.78 -    return sock;
   18.79 -}
   18.80 -
   18.81 -static gint
   18.82 -read_message (int socket)
   18.83 -{
   18.84 -    gint64 total_read = 0;
   18.85 -    gint result = -1;
   18.86 -    gchar buffer[BUFFER_SIZE];
   18.87 -    gchar** response;
   18.88 -
   18.89 -    total_read = recv(socket, buffer, BUFFER_SIZE, 0);
   18.90 -
   18.91 -    if (total_read > 0) {
   18.92 -        response = g_strsplit_set(buffer, " +\n", 8);
   18.93 -
   18.94 -        if ( g_ascii_strcasecmp(response[0], "OK") == 0 ) {
   18.95 -
   18.96 -            int payload = atoi(response[1]);
   18.97 -
   18.98 -            if (payload == 0)
   18.99 -                result = 0;
  18.100 -
  18.101 -            else if (payload == 1) {
  18.102 -                total_read = recv(socket, buffer, BUFFER_SIZE, 0);
  18.103 -
  18.104 -                response = g_strsplit_set(buffer, "+\n", 8);
  18.105 -                result = atoi(response[1]);
  18.106 -            }
  18.107 -
  18.108 -        }
  18.109 -
  18.110 -        g_strfreev(response);
  18.111 -    }
  18.112 -
  18.113 -    return result;
  18.114 -}
  18.115 -
  18.116 -
  18.117 -static void
  18.118 -gmyth_stream_client_class_init (GMythStreamClientClass *klass)
  18.119 -{
  18.120 -    GObjectClass *gobject_class;
  18.121 -    gobject_class = (GObjectClass *) klass;
  18.122 -
  18.123 -    g_type_class_add_private (klass, sizeof (GMythStreamClientPrivate));
  18.124 -    gobject_class->dispose  = gmyth_stream_client_dispose;
  18.125 -    gobject_class->finalize = gmyth_stream_client_finalize;
  18.126 -}
  18.127 -
  18.128 -static void
  18.129 -gmyth_stream_client_init (GMythStreamClient *self)
  18.130 -{
  18.131 -    GMythStreamClientPrivate *priv = GMYTH_STREAM_CLIENT_GET_PRIVATE (self);
  18.132 -    priv->sock = NULL;
  18.133 -    priv->sock_stream = NULL;
  18.134 -}
  18.135 -
  18.136 -static void
  18.137 -gmyth_stream_client_dispose (GObject *object)
  18.138 -{
  18.139 -    gmyth_stream_client_disconnect (GMYTH_STREAM_CLIENT (object));
  18.140 -}
  18.141 -
  18.142 -
  18.143 -static void
  18.144 -gmyth_stream_client_finalize (GObject *object)
  18.145 -{
  18.146 -}
  18.147 -
  18.148 -GMythStreamClient*
  18.149 -gmyth_stream_client_new ()
  18.150 -{
  18.151 -    return GMYTH_STREAM_CLIENT (g_object_new (GMYTH_TYPE_STREAM_CLIENT, NULL));
  18.152 -}
  18.153 -
  18.154 -gboolean
  18.155 -gmyth_stream_client_connect (GMythStreamClient *self, const gchar *server, guint port)
  18.156 -{
  18.157 -    GMythStreamClientPrivate *priv = GMYTH_STREAM_CLIENT_GET_PRIVATE (self);
  18.158 -    g_return_val_if_fail (priv->connected == FALSE, TRUE);
  18.159 -
  18.160 -    priv->host = server;
  18.161 -    priv->sock = create_socket (server, port);
  18.162 -    if (priv->sock == NULL) return FALSE;
  18.163 -
  18.164 -    priv->connected = TRUE;
  18.165 -    return TRUE;
  18.166 -}
  18.167 -
  18.168 -void
  18.169 -gmyth_stream_client_disconnect (GMythStreamClient *self)
  18.170 -{
  18.171 -    GMythStreamClientPrivate *priv = GMYTH_STREAM_CLIENT_GET_PRIVATE (self);
  18.172 -
  18.173 -    g_return_if_fail (priv->connected == TRUE);
  18.174 -
  18.175 -    close (priv->sock->fd);
  18.176 -    //shutdown (priv->sock->fd, SHUT_RDWR);
  18.177 -    g_free(priv->sock);
  18.178 -    priv->sock = NULL;
  18.179 -    priv->connected = FALSE;
  18.180 -}
  18.181 -
  18.182 -gint
  18.183 -gmyth_stream_client_open_stream (GMythStreamClient *self,
  18.184 -                                 const gchar* file_name,
  18.185 -                                 const gchar* mux,
  18.186 -                                 const gchar* vcodec,
  18.187 -                                 guint vbitrate,
  18.188 -                                 gdouble fps,
  18.189 -                                 const gchar* acodec,
  18.190 -                                 guint abitrate,
  18.191 -                                 guint width, guint height,
  18.192 -                                 const gchar* opt)
  18.193 -{
  18.194 -    gchar *cmd;
  18.195 -    GMythStreamClientPrivate *priv = GMYTH_STREAM_CLIENT_GET_PRIVATE (self);
  18.196 -
  18.197 -    g_return_val_if_fail (priv->connected == TRUE, FALSE);
  18.198 -    g_return_val_if_fail (file_name != NULL, FALSE);
  18.199 -
  18.200 -    cmd = g_strdup_printf ("SETUP %s %s %s %d %f %s %d %d %d %s\n",
  18.201 -                           file_name,
  18.202 -                           (mux == NULL ? "X" : mux),
  18.203 -                           (vcodec == NULL ? "X" : vcodec),
  18.204 -                           vbitrate,
  18.205 -                           fps,
  18.206 -                           (acodec == NULL ? "X" : acodec),
  18.207 -                           abitrate,
  18.208 -                           width, height,
  18.209 -                           (opt == NULL ? "X" : opt) );
  18.210 -
  18.211 -    if (send (priv->sock->fd, cmd, strlen (cmd), MSG_CONFIRM) == -1) {
  18.212 -        g_free (cmd);
  18.213 -        return -1;
  18.214 -    }
  18.215 -    g_free (cmd);
  18.216 -
  18.217 -    read_message(priv->sock->fd);
  18.218 -
  18.219 -    return 0;
  18.220 -}
  18.221 -
  18.222 -
  18.223 -gint
  18.224 -gmyth_stream_client_play_stream (GMythStreamClient *self)
  18.225 -{
  18.226 -    GMythStreamClientPrivate *priv = GMYTH_STREAM_CLIENT_GET_PRIVATE (self);
  18.227 -
  18.228 -    g_return_val_if_fail (priv->connected == TRUE, FALSE);
  18.229 -
  18.230 -    if (send (priv->sock->fd, "PLAY\n", 5, 0) == -1) {
  18.231 -        return -1;
  18.232 -    }
  18.233 -
  18.234 -    gint port = read_message(priv->sock->fd);
  18.235 -    priv->sock_stream = create_socket(priv->host, port);
  18.236 -
  18.237 -    return priv->sock_stream->fd;
  18.238 -}
  18.239 -
  18.240 -void
  18.241 -gmyth_stream_client_close_stream (GMythStreamClient *self)
  18.242 -{
  18.243 -    GMythStreamClientPrivate *priv = GMYTH_STREAM_CLIENT_GET_PRIVATE (self);
  18.244 -    g_return_if_fail (priv->connected == TRUE);
  18.245 -
  18.246 -    if (send (priv->sock->fd, "STOP\n", 5, 0) == -1) {
  18.247 -        return;
  18.248 -    }
  18.249 -
  18.250 -    read_message(priv->sock->fd);
  18.251 -
  18.252 -    close(priv->sock_stream->fd);
  18.253 -    g_free(priv->sock_stream);
  18.254 -    priv->sock_stream = NULL;
  18.255 -}
    19.1 --- a/gmyth-stream/client/src/gmyth-stream-client.h	Thu May 17 20:06:15 2007 +0100
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,60 +0,0 @@
    19.4 -#ifndef __GMYTH_STREAM_CLIENT_H__
    19.5 -#define __GMYTH_STREAM_CLIENT_H__
    19.6 -
    19.7 -#include <glib-object.h>
    19.8 -
    19.9 -G_BEGIN_DECLS
   19.10 -
   19.11 -typedef struct _GMythStreamClient GMythStreamClient;
   19.12 -typedef struct _GMythStreamClientClass GMythStreamClientClass;
   19.13 -
   19.14 -struct _GMythStreamClientClass {
   19.15 -    GObjectClass parent_class;
   19.16 -};
   19.17 -
   19.18 -struct _GMythStreamClient {
   19.19 -    GObject parent;
   19.20 -};
   19.21 -
   19.22 -/* TYPE MACROS */
   19.23 -#define GMYTH_TYPE_STREAM_CLIENT \
   19.24 -  (gmyth_stream_client_get_type())
   19.25 -#define GMYTH_STREAM_CLIENT(obj) \
   19.26 -  (G_TYPE_CHECK_INSTANCE_CAST((obj), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClient))
   19.27 -#define GMYTH_STREAM_CLIENT_CLASS(klass) \
   19.28 -  (G_TYPE_CHECK_CLASS_CAST((klass), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClientClass))
   19.29 -#define GMYTH_IS_STREAM_CLIENT(obj) \
   19.30 -  (G_TYPE_CHECK_INSTANCE_TYPE((obj), GMYTH_TYPE_STREAM_CLIENT))
   19.31 -#define GMYTH_IS_STREAM_CLIENT_CLASS(klass) \
   19.32 -  (G_TYPE_CHECK_CLASS_TYPE((klass), GMYTH_TYPE_STREAM_CLIENT))
   19.33 -#define GMYTH_STREAM_CLIENT_GET_CLASS(obj) \
   19.34 -  (G_TYPE_INSTANCE_GET_CLASS ((obj), GMYTH_TYPE_STREAM_CLIENT, GMythStreamClientClass))
   19.35 -
   19.36 -
   19.37 -GType  gmyth_stream_client_get_type(void);
   19.38 -
   19.39 -GMythStreamClient*  gmyth_stream_client_new(void);
   19.40 -
   19.41 -gboolean gmyth_stream_client_connect (GMythStreamClient *self,
   19.42 -                                      const gchar *server, guint port);
   19.43 -
   19.44 -void gmyth_stream_client_disconnect  (GMythStreamClient *self);
   19.45 -gint gmyth_stream_client_open_stream (GMythStreamClient *self,
   19.46 -                                       const gchar* file_name,
   19.47 -                                       const gchar* mux,
   19.48 -                                       const gchar* vcodec,
   19.49 -                                       guint vbitrate,
   19.50 -                                       gdouble fps,
   19.51 -                                       const gchar* acodec,
   19.52 -                                       guint abitrate,
   19.53 -                                       guint width, guint height,
   19.54 -                                       const gchar* opt);
   19.55 -
   19.56 -gint gmyth_stream_client_play_stream (GMythStreamClient *self);
   19.57 -
   19.58 -void gmyth_stream_client_close_stream (GMythStreamClient *self);
   19.59 -
   19.60 -
   19.61 -G_END_DECLS
   19.62 -
   19.63 -#endif
    20.1 --- a/gmyth-stream/client/test/Makefile.am	Thu May 17 20:06:15 2007 +0100
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,13 +0,0 @@
    20.4 -bin_PROGRAMS = \
    20.5 -	test
    20.6 -
    20.7 -test_SOURCES = \
    20.8 -	main.c
    20.9 -	
   20.10 -test_LDADD = \
   20.11 -	$(top_builddir)/src/libgmythstreamclient.la \
   20.12 -	$(GLIB_LIBS)
   20.13 -
   20.14 -AM_CPPFLAGS = \
   20.15 -	-I$(top_builddir)/src \
   20.16 -	$(GLIB_CFLAGS)
    21.1 --- a/gmyth-stream/client/test/main.c	Thu May 17 20:06:15 2007 +0100
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,46 +0,0 @@
    21.4 -#include <glib.h>
    21.5 -#include "gmyth-stream-client.h"
    21.6 -
    21.7 -int main (int argc, char** argv)
    21.8 -{
    21.9 -    GMythStreamClient *cli = NULL;
   21.10 -    gint ret = -1;
   21.11 -
   21.12 -    g_type_init ();
   21.13 -
   21.14 -    cli = gmyth_stream_client_new ();
   21.15 -    if (!gmyth_stream_client_connect (cli, "127.0.0.1", 50000)) {
   21.16 -        g_warning ("Fail to connect");
   21.17 -        return -1;
   21.18 -    }
   21.19 -
   21.20 -    ret = gmyth_stream_client_open_stream (cli, "file:///tmp/dvb.mpg",
   21.21 -                                          "mpeg", "mpeg1video", 400, 25,
   21.22 -                                          "mp2", 192, 320, 240, "format=mpeg1");
   21.23 -
   21.24 -    //myth:///tmp/mpg/bad_day.mpg mpeg mpeg1video 400 25 mp2 192 320 240 format=mpeg1
   21.25 -
   21.26 -    if (ret < 0) {
   21.27 -        g_printerr ("Fail to open stream");
   21.28 -        return -1;
   21.29 -    }
   21.30 -
   21.31 -    g_debug ("Stream created");
   21.32 -    g_debug ("Going to PLAY now...");
   21.33 -
   21.34 -    gint fd = gmyth_stream_client_play_stream (cli);
   21.35 -
   21.36 -    if (fd == -1) {
   21.37 -        g_printerr ("Fail to play stream");
   21.38 -        return -1;
   21.39 -    }
   21.40 -
   21.41 -    g_debug ("started");
   21.42 -
   21.43 -    gmyth_stream_client_close_stream(cli);
   21.44 -    gmyth_stream_client_disconnect(cli);
   21.45 -
   21.46 -    g_debug ("finished");
   21.47 -
   21.48 -    return 0;
   21.49 -}
    22.1 --- a/gmyth-stream/server/0.2/lib/server.py	Thu May 17 20:06:15 2007 +0100
    22.2 +++ b/gmyth-stream/server/0.2/lib/server.py	Thu May 17 21:58:17 2007 +0100
    22.3 @@ -243,9 +243,6 @@
    22.4                      filename = "%s" % self.query.get("file")[0]
    22.5                      tfilename = "%s" % transcoder.params_first("uri")
    22.6  
    22.7 -                    self.log.debug("FILENAME: %s" % filename)
    22.8 -                    self.log.debug("TFILENAME: %s" % tfilename)
    22.9 -
   22.10                      if tfilename.find(filename) >= 0 and \
   22.11                             request.client_address[0] == self.query.get("ip")[0]:
   22.12                          self.wfile.write("Status: %s %%" % transcoder.status)
    23.1 --- a/gmyth/samples/gmyth_cat.c	Thu May 17 20:06:15 2007 +0100
    23.2 +++ b/gmyth/samples/gmyth_cat.c	Thu May 17 21:58:17 2007 +0100
    23.3 @@ -120,6 +120,8 @@
    23.4      }
    23.5  
    23.6      size = gmyth_file_transfer_get_filesize (transfer);
    23.7 +    fprintf(stderr, "Size:%d\n", size);
    23.8 +
    23.9      array = g_array_new (FALSE, TRUE, sizeof(gchar));
   23.10  
   23.11      while (total != size)
   23.12 @@ -140,6 +142,7 @@
   23.13          fflush (stdout);
   23.14  
   23.15          total += array->len;
   23.16 +        fprintf(stderr, "%d\n", total);
   23.17          g_array_remove_range (array, 0, array->len);
   23.18          //usleep(300000);
   23.19      }
    24.1 --- a/gmyth/samples/gmyth_ls.c	Thu May 17 20:06:15 2007 +0100
    24.2 +++ b/gmyth/samples/gmyth_ls.c	Thu May 17 21:58:17 2007 +0100
    24.3 @@ -114,7 +114,7 @@
    24.4      scheduler = gmyth_scheduler_new ();
    24.5  
    24.6      if(gmyth_scheduler_connect_with_timeout (scheduler,
    24.7 -                               options->b_info, 1)
    24.8 +                               options->b_info, 10)
    24.9           == FALSE) {
   24.10          g_warning ("Could not connect to backend db");
   24.11          g_object_unref (scheduler);