pax_global_header 0000666 0000000 0000000 00000000064 13037746164 0014525 g ustar 00root root 0000000 0000000 52 comment=822ffa2dd1c493f98fbb00cfc40953b1bc98651c
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/ 0000775 0000000 0000000 00000000000 13037746164 0016626 5 ustar 00root root 0000000 0000000 seed-webkit2-4.0.0+20161014+6c77960+dfsg1/.clang-format 0000664 0000000 0000000 00000000355 13037746164 0021204 0 ustar 00root root 0000000 0000000 BasedOnStyle: Mozilla
IndentWidth: 4
BinPackParameters: false
BinPackArguments: true
AlignAfterOpenBracket: true
PenaltyBreakBeforeFirstCallParameter: 100
PointerAlignment: Left
SpaceAfterCStyleCast: true
BreakBeforeBinaryOperators: All
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/.ycm_extra_conf.py 0000664 0000000 0000000 00000007141 13037746164 0022261 0 ustar 00root root 0000000 0000000 # This is the default copy of the YCM file
# To use you, you need a compile_commands.json file with inscructions to build
# each file.
#
# To create that file using autotools please check https://github.com/rizsotto/Bear
import os
import ycm_core
# These are the compilation flags that will be used in case there's no
# compilation database set (by default, one is not set).
# CHANGE THIS LIST OF FLAGS. YES, THIS IS THE DROID YOU HAVE BEEN LOOKING FOR.
flags = [
'-Wall',
'-Wextra',
'-Werror',
]
# Set this to the absolute path to the folder (NOT the file!) containing the
# compile_commands.json file to use that instead of 'flags'. See here for
# more details: http://clang.llvm.org/docs/JSONCompilationDatabase.html
#
# You can get CMake to generate this file for you by adding:
# set( CMAKE_EXPORT_COMPILE_COMMANDS 1 )
# to your CMakeLists.txt file.
#
# Most projects will NOT need to set this to anything; you can just change the
# 'flags' list of compilation flags. Notice that YCM itself uses that approach.
compilation_database_folder = os.path.abspath(os.path.dirname(__file__))
if os.path.exists( compilation_database_folder ):
database = ycm_core.CompilationDatabase( compilation_database_folder )
else:
database = None
SOURCE_EXTENSIONS = [ '.cpp', '.cxx', '.cc', '.c', '.m', '.mm' ]
def DirectoryOfThisScript():
return os.path.dirname( os.path.abspath( __file__ ) )
def MakeRelativePathsInFlagsAbsolute( flags, working_directory ):
if not working_directory:
return list( flags )
new_flags = []
make_next_absolute = False
path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]
for flag in flags:
new_flag = flag
if make_next_absolute:
make_next_absolute = False
if not flag.startswith( '/' ):
new_flag = os.path.join( working_directory, flag )
for path_flag in path_flags:
if flag == path_flag:
make_next_absolute = True
break
if flag.startswith( path_flag ):
path = flag[ len( path_flag ): ]
new_flag = path_flag + os.path.join( working_directory, path )
break
if new_flag:
new_flags.append( new_flag )
return new_flags
def IsHeaderFile( filename ):
extension = os.path.splitext( filename )[ 1 ]
return extension in [ '.h', '.hxx', '.hpp', '.hh' ]
def GetCompilationInfoForFile( filename ):
# The compilation_commands.json file generated by CMake does not have entries
# for header files. So we do our best by asking the db for flags for a
# corresponding source file, if any. If one exists, the flags for that file
# should be good enough.
if IsHeaderFile( filename ):
basename = os.path.splitext( filename )[ 0 ]
for extension in SOURCE_EXTENSIONS:
replacement_file = basename + extension
if os.path.exists( replacement_file ):
compilation_info = database.GetCompilationInfoForFile(
replacement_file )
if compilation_info.compiler_flags_:
return compilation_info
return None
return database.GetCompilationInfoForFile( filename )
def FlagsForFile( filename, **kwargs ):
if database:
# Bear in mind that compilation_info.compiler_flags_ does NOT return a
# python list, but a "list-like" StringVec object
compilation_info = GetCompilationInfoForFile( filename )
if not compilation_info:
return None
final_flags = MakeRelativePathsInFlagsAbsolute(
compilation_info.compiler_flags_,
compilation_info.compiler_working_dir_ )
else:
relative_to = DirectoryOfThisScript()
final_flags = MakeRelativePathsInFlagsAbsolute( flags, relative_to )
return {
'flags': final_flags,
'do_cache': True
}
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/AUTHORS 0000664 0000000 0000000 00000000175 13037746164 0017701 0 ustar 00root root 0000000 0000000 * Robert Carr
* Tim Horton
* Matt Arsenault
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/COPYING 0000664 0000000 0000000 00000061314 13037746164 0017666 0 ustar 00root root 0000000 0000000 GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 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.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, 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 library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, 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 companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, 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 library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete 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 distribute a copy of this License along with the
Library.
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 Library or any portion
of it, thus forming a work based on the Library, 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) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
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 Library, 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 Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you 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.
If distribution of 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 satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. 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.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library 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.
9. 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 Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
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.
11. 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 Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library 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 Library.
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.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library 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.
13. The Free Software Foundation may publish revised and/or new
versions of the Library 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 Library
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 Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
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
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "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
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. 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 LIBRARY 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
LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), 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 Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. 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.
Copyright (C)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; 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.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/ChangeLog 0000664 0000000 0000000 00000000271 13037746164 0020400 0 ustar 00root root 0000000 0000000 2009-04-17 Your Name
* *: The ChangeLog is auto-generated when releasing. If you
are seeing this, use 'git log' for a detailed list of changes.
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/DEVELOPERS 0000664 0000000 0000000 00000001170 13037746164 0020220 0 ustar 00root root 0000000 0000000 === DEVELOPERS ===
==== Coding Style ====
To contribute to seed, the developers needs to be aware of some coding style rules.
It's basically based on the coding style from Mozilla [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style] with
a few differences.
So, tl:dl:
* Use four spaces to indent.
* Indent after brakets
* Pointers always on left of var name, glues to the type.
To ease the developer's life, there's a .clang-format to autoformat the source code. Developers are invited to used that tool
before submitting a patch.
To use that tool, call:
clang-format -i filename.c
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/MAINTAINERS 0000664 0000000 0000000 00000000374 13037746164 0020327 0 ustar 00root root 0000000 0000000 Robert Carr
E-mail: racarr@svn.gnome.org
Userid: racarr
Tim Horton
E-mail: hortont@svn.gnome.org
Userid: hortont
Alan Knowles
E-mail: alan@roojs.com
Userid: alank
Danilo Cesar Lemes de Paula
E-mail: danilocesar.dp+seed@gmail.com
Userid: danilocesar
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/Makefile.am 0000664 0000000 0000000 00000005311 13037746164 0020662 0 ustar 00root root 0000000 0000000 ## Process this file with automake to produce Makefile.in
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc
SUBDIRS = po \
jsextensions \
libseed \
libgjs-private \
src \
modules \
tests \
doc
doc_DATA = \
README \
COPYING \
AUTHORS \
ChangeLog \
INSTALL
pkgconfig_DATA = seed.pc
pkgconfigdir = $(libdir)/pkgconfig
man_MANS = doc/seed.1
EXTRA_DIST = $(pkgconfig_DATA)
profile-reset:
find -name '*.gcda' -delete
profile: profile-reset check
cp libseed/*.c libseed/.libs/
if PROFILE_MODULES
cp modules/readline/*.c modules/readline/.libs/
cp modules/example/*.c modules/example/.libs/
cp modules/sqlite/*.c modules/sqlite/.libs/
cp modules/canvas/*.c modules/canvas/.libs/
cp modules/Multiprocessing/*.c modules/Multiprocessing/.libs/
endif
cd libseed/.libs ; gcov *.c
if PROFILE_MODULES
cd modules/cairo/.libs ; gcov *.c
cd modules/canvas/.libs ; gcov *.c
cd modules/dbus/.libs ; gcov *.c
cd modules/example/.libs ; gcov *.c
cd modules/gettext/.libs ; gcov *.c
cd modules/gtkbuilder/.libs ; gcov *.c
cd modules/libxml/.libs ; gcov *.c
cd modules/os/.libs ; gcov *.c
cd modules/readline/.libs ; gcov *.c
cd modules/sandbox/.libs ; gcov *.c
cd modules/sqlite/.libs ; gcov *.c
endif
if PROFILE_MODULES
cp modules/gjs/system/*.c modules/system/.libs/
endif
profile-gui: profile
if PROFILE_MODULES
lcov --directory libseed/.libs --directory modules/cairo/.libs --directory modules/canvas/.libs --directory modules/dbus/.libs --directory modules/example/.libs --directory modules/system/.libs --directory modules/gettext/.libs --directory modules/gtkbuilder/.libs --directory modules/libxml/.libs --directory modules/os/.libs --directory modules/readline/.libs --directory modules/sandbox/.libs --directory modules/sqlite/.libs --capture --output-file seed.info
else
lcov --directory libseed/.libs --capture --output-file seed.info
endif
cp seed.info /tmp/
cd /tmp ; genhtml seed.info ; gnome-open index.html
# Copy all the spec files. Of course, only one is actually used.
# Generate the ChangeLog from the output of 'git log'.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
cp -p $$specfile $(distdir); \
fi \
done
@if test -d "$(srcdir)/.git"; \
then \
echo Creating ChangeLog && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
$(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| ( rm -f ChangeLog.tmp ; \
echo Failed to generate ChangeLog >&2 ); \
else \
echo A git clone is required to generate a ChangeLog >&2; \
fi
CLEANFILES = \
.ycm_extra_conf.pyc \
$(NULL)
-include $(top_srcdir)/git.mk
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/NEWS 0000664 0000000 0000000 00000035025 13037746164 0017332 0 ustar 00root root 0000000 0000000 == Seed 3.8.0 (2013.04.16) ==
* See ChangeLog for detailed list of changes
== Seed 3.1.1 (2011.05.17) ==
* Add preliminary support for FreeBSD and OpenBSD, at least
* Fix DBus module build problems
* Fix typo in documentation
* Fix build-time errors with recent dash as sh
* Update Seed to follow recent gobject-introspection changes
== Seed 3.0.0, "Evacuate the Dancefloor" (2011.04.01) ==
* Allow the creation of constrained SeedEngine contexts
* Expose seed_value_(to|from)_gi_argument and seed_value_to_gvalue as public API
* Make seed.h C++ friendly
* Take GTK+ version into account in the prefix path
== Seed 2.91.90 (2011.02.22) ==
* Fix build with GTK+3
* Change soname for GTK+3 version
== Seed 2.31.91, "Write About Love" (2010.08.30) ==
* Seed now optionally supports both WebKitGtk+-1.0 and 3.0
* Dynamic Object module - provides support for implementing
underlying object callbacks in JavaScript (see commit d31aca)
* Implement caller-allocated out arguments
* Expose seed_value_from_gvalue() through the API
* Fix unusable seed_object_copy_property_names()
* Fix various build system issues
== Seed 2.31.5, "Elephant" (2010.07.11) ==
* Seed now requires WebKitGtk+-3.0, built against Gtk+-3.0
* Support for passing GObjects as userdata
* Support for redirection of Seed.print via set_print_handler
* Support __script_path__ within Seed sandboxes
* Fixes to importer to not expose toString/valueOf files
* Additional warnings in various potential error cases
== Seed 2.31.1, "The Black Album" (2010.03.29) ==
* Support for returning arrays of GTypes
* Support for GError types in various places
* Rework out arguments - old style still works, also returns
dictionary with keys named after parameters
* Support initialization using an existing JSGlobalContext
== Seed 2.30.0, "Piano Man" (2010.03.29) ==
* Second stable release!
== Seed 2.29.91, "Greatest Hits" (2010.02.23) ==
* Support void * arguments
* Support connecting to notify:: signals everywhere
== Seed 2.29.90, "Fort Nightly" (2010.02.08) ==
* To avoid potential filename collisions, the imports system now supports:
imports['somedir/somefile.js'] (Alan Knowles)
* Fix crash involving gtk_tree_model_get_value (Alan Knowles)
* Fix subtle crash in DBus bindings (Rob Taylor)
== Seed 2.29.5.3, "Twist and Shout" (2010.01.11) ==
* Pass null structs through as "null" instead of empty seed_structs
* Revert one of the 64-bit type safety commits from 2.29.5.2 until someone
can take a closer look at it; it broke enum typing on Linux
* Fix potential segfault in various modules (missing null sentinels)
== Seed 2.29.5.2, "Third Stage" (2010.01.07) ==
* Move tests to automake-style 'make check', away from the previous,
Python-based 'make test' tool; all tests are now assertion-based, instead of
the previous output-based style
* Fix various segfaults on Mac OS X (and possibly *BSD) related to 64-bit type
safety problems
* Fix functionality of out arguments
* Interpreter now returns non-zero status code if it exits with an exception
== Seed 2.29.5.1, "Achtung Baby" (2010.01.01) ==
* Fix "duplicate symbol" errors on non-Linux platforms
== Seed 2.29.5, "Icky Thump" (2009.01.01) ==
* Fix build on non-GNU platforms (primarily Mac OS X)
* Distribute the REPL snippet with Seed again; the built-in REPL will work now
* Fix segfault when accidentally protecting already-garbage-collected values
* Fix segfault when accidentally unreffing nonexistant GIBaseInfos
== Seed 2.29.4, "( )" (2009.12.17) ==
* Improve type conversion portability; add seed_value_(to|from)_(s)size
functions.
* Small random cleanup of unused arguments.
== Seed 2.29.3 (2009.11.30) ==
No changes.
== Seed 2.29.2, "Never Mind the Bollocks" (2009.11.16) ==
* Change semantics of seed_value_from_string and _from_filename; they
now return JavaScript null if passed a null input value.
* Seed interpreter adds --version argument
* libseed adds --seed-version argument
* Clutter extension wrapper for animate_with_alpha
== Seed 2.28.0, "The Rise and Fall of Ziggy Stardust and the Spiders
from Mars" (2009.09.21) ==
* First official stable release!
== Seed 2.27.92, "Metal Machine Music" (2009.09.07) ==
* Fix a bug in module building; modules are now versionless
* The instanceof operator now works for GTypes
* Add global support for G_TYPE_STRV
== Seed 2.27.91, "Yellow Submarine" (2009.08.21) ==
* Added seed_context_collect, to provide an interface for forcing
garbage collection manually
== Seed 2.27.90, "London Calling" (2009.08.10) ==
* Expanded and updated documentation; also available at:
http://library.gnome.org/devel/seed/unstable/
* All JavaScript contexts now have a __script_path__ property, which
exposes the absolute, canonical path to the evaluated script
* Add __init__.js functionality; if an imported folder contains __init__.js,
it will be evaluated with the imported context as the 'this' object
* Fix bug which caused inheritance from a GType created in Seed to fail
* Add "pretty" property installation, see:
tests/javascript/gtypes/gtype-property-nice.js
* New FFI module, provides an interface for calling non-introspected
native C functions from JavaScript
== Seed 0.8.5, "Self Portrait" (2009.07.10) ==
* Significant reorganization and expansion of the reference documentation
* New native modules:
* gettext
* MPFR (partially complete)
* Same Seed has moved to the gsoc-seed-games branch of Gnome Games
(and will eventually move to master)
* Add seed-module.h, which includes a handful of macros to make writing modules
slightly more attractive. Look at gettext or the reference docs for examples.
* Prefix native modules with seed_ (libseed_readline.so, etc.); this fixes the
need to incessantly 'make clean' seed and cuts down on ambiguity in naming.
* Add 'seed_value_is_string', 'seed_value_is_number', and
'seed_value_is_object_of_class' to libseed
* Update examples to latest (now frozen) Clutter API changes.
* Fixes a bug with the importer search path which resulted in the search path
being overwritten each time something was imported
* The importer now also searches the directory in which the script being
executed is located by default.
== Seed 0.8, "Bringing It All Back Home" (2009.05.27) ==
* Importer now supports constructing directory objects, to avoid manipulation
of search path. Importer directory objects now support property enumeration.
* Fix small leak in GObject wrapper initialization. (and also simplify
the process).
* GtkBuilder module to handle GtkBuilder automatic signal connection.
* *_init methods now take normal arrays (by value) in addition to the special
Seed.argv array.
* GObject constructors (init methods) now take "self" as a parameter.
* Passing non gobject-properties to a GObject constructor will set the
properties on the GObject wrapper.
* Module documentation rewritten in docbook, and builds one nice manual.
* New Cairo module, supports most of the cairo API, with automatic memory
management and everything you would expect.
* Fix a reference count leak introduced in the last few releases.
in some cases with non INITIALLY_UNOWNED objects.
* Some work on ClutterPad examples, and writing examples which live inside of it
(lots of fun to play with!, cairo example...fun spring example...ClutterBox2D)
* Working around a WebKit bug (which is actually fixed in SVN now), should
prevent a crash that happened sometimes with C modules.
* Clutter animatev wrapper looks up property type wrapper now, so as to avoid
having to pass [GObject.TYPE_FOO, bar]
* Implement some varargs functions which can be implemented on top of non-vararg
variants in JavaScript extensions.
* JSON stuff (stringify,parse) is now in gnome-js-common.
* Add seed_value_to_format to API, for converting an Array of SeedValue based
on a format string.
* Install seed-debug.h so modules can make use of it.
* Search path now works in nonstandard prefix, default search path includes
gnome-js-common moduledir (from pkgconfig).
* Support to/from Date objects to time_t.
== Seed 0.7, "Another Side of Bob Dylan" (2009.05.13) ==
* Support for library init methods.
* The REPL now supports multi-line entry.
* Signal disconnection.
* Significant Gtk-Doc reorganization.
* New C modules:
* sandbox - provides sandboxed JavaScriptCore contexts.
* DBus - Client side DBus bindings.
* libxml - XML parsing, XPath, etc.
* Examples:
* New: ClutterPad (initially by Johan Euphrosine).
* New: dbus-banshee, dbus-consolekit, dbus-networkmanager
* New: xml-dom.js xml-tree.js, xml-xpath.js.
* Pango examples have returned.
* Same Seed performance is increased significantly.
* Many examples now use "recent" style; some were completely rewritten
* Improvements to test system, and quite a few more tests.
* Improvements to error checking/handling in signal code.
* Reorganization of API related to GClosure handling, much cleaner and easier.
* Several new API methods.
* GC related crash fixes.
* Improvements to seed_value_to_string (mostly formatting improvements).
* Void methods now properly return undefined instead of null.
* seed_make_exception takes format strings now.
== Seed 0.6, "Beatles for Sale" (2009.04.29) ==
* Significant build fixes and cleanups. Should build on more distros
with weird libffis now.
* Depend on GObject-introspection from GIT.
* Some API additions.
* Reimplement Seed.import_namespace in terms of the new imports system,
will be entirely deprecated for 0.6.
* Improve memory management in signals and closures.
* Rewrite the GType subclassing to avoid using FFI,
saves memory and improves performance.
* GType "init" now means "constructor" and not "instance init".
* Signal installation, is now handled by an array on the type definition
rather than in class_init (which was clunky and C-like).
* Lots of new documentation, including a documentation index, a description
of the mapping from C to JavaScript, an example index, and updates to
the rest of the documentation.
* Significant cleanup of all of the examples, a lot of them had bit
rotted a bit, being written months ago.
== Seed 0.5, "Transformer" (2009.04.16) ==
* Many, many crash fixes.
* Significantly better base memory usage (on the order of MB) for some apps.
* Enums use Gtk.WindowType.NORMAL instead of Gtk.WindowType.Normal.
This may break existing code in subtle ways (as Gtk.WindowType.Normal
will now be JavaScript null).
* instance_init is now just init when creating new GTypes. This will require
changes in any code using subclassing.
* Enum types are validated when passed in to functions now.
* Complete rewrite of import system, spanning GObject Introspection namespaces,
native modules, and JavaScript files, which is compatible with Gjs.
* Along with above, deprecate Seed.import_namespace.
* New 'os' module, similar to that of Python. Provides access to a significant
quantity of low-level system features unavailable from GLib.
* Significant updates to Canvas module - most features are compatible with the
Mozilla/WebKit implementations at this point.
* Clutter 0.9 animation API wrappers.
* Add seed_repl_expose; gives the ability to drop to a JavaScript REPL from
within C, and magically expose JSValueRefs to JS in a simple way.
* Seed.readline history persists between sessions (stored in ~/.seed_history)
* Support for several more array types.
* Added Seed.breakpoint(), which inserts a breakpoint instruction.
* API additions: Lots of API additions. Including a significant amount
of API documentation.
* New examples:
* opengl-glib examples (teapot, gears, triangle)
* Gtk Twitter client (from the Ars Technica article)
* Same Seed (Clutter 0.9 rewrite of Same Gnome)
* Clutter-COGL example
* Reddit client (Gio and JSON)
* Library of Clutter "slide transitions"
* Rewrote clutter example for 0.9
* The Lights Off example now lives in Gnome Games.
== Seed 0.3, "Wednesday Morning 3AM" (2008.12.31) ==
* Lots of memory changes. Memory usage isn't bad anymore,
reference counting actually works (no big leaks or anything anymore
...there are still a few very small ones you can trigger).
Memory usage of most of the examples after they've loaded,
has about halved (or more in cases like the browser) since 0.1,
and now compares very favorably to other
dynamic languages. Lots of g_slice_alloc, which comes off
quite nicely when creating bunches of small structs like ClutterColor.
* Innumerable bug fixes.
* Structs work now! Things like GdkRectangle: you can allocate them,
get at their members, etc.
* Including struct "literals, i.e." stage.set_color({red: 255, alpha: 220}).
* GObject subclassing, which was rushed in to a 0.1 point release,
is reliable now! signal installation too.
* Multiple context support, rather than the silly global context.
* Support for string array argument conversion.
* C extension Modules
* readline
* Multiprocessing -- Simple IPC pipes. Just an example, really.
* sqlite
* canvas -- A little, toy, mostly functional but incomplete HTML Canvas
implementation. May be useful until we have cairo bindings.
Supports SVG/PDF output.
* Signals use userdata now. The 'this' argument was removed,
as it really just lead to organizational issues.
* object.signal.connect is defined for connecting by strings
(allows for connecting to detailed signals, like property notifications)
* 'out' arguments of methods work, granted in a rather poor fashion,
not sure of the best way to do this yet.
* Enums use Gtk.WindowType.Normal instead of Gtk.WindowType.normal,
may break existing code in subtle ways (as Gtk.WindowType.normal
will now be JavaScript null).
* Licensing update - libseed is LGPL. The trivial examples are BSD,
the more complete ones are GPL.
* Lots of leaks fixed, and also some reference bugs that lead to crashing.
* External API is pretty usable now.
* External API example (Turtle Graphics)
* Threading sort of works now. It's rather unpredictable,
but async callbacks and stuff are fine.
* Many more Seed examples. Ranging from Gnio Server, to threading. The
browser example is pretty neat now, and has sqlite bookmarks, WebInspector,
and a few other tidbits. lightsoff and browser are the two highlight examples
to play with.
* Skeleton GTK-Doc for API
* New builtins: Seed.spawn, Seed.repl/glib_repl/thread_repl.
Kind of useful for debugging.
* Removed builtins: Seed.prototype: Now use Gtk.Window.prototype
Seed.closure, Automatically handled now.
Seed.closure_native, automagic.
Seed.readline, moved in to module.
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/README 0000664 0000000 0000000 00000002312 13037746164 0017504 0 ustar 00root root 0000000 0000000 === Seed README ===
Seed is a library and interpreter, dynamically bridging (through gobject-introspection) the WebKit JavaScriptCore engine with the GObject type system. In a more concrete sense, Seed enables you to immediately write applications around a significant portion of the GNOME platform, and easily embed JavaScript as a scripting language in your GObject library.
Seed recommends WebKitGtk+ 3.0 (built against gtk+-3.0). If you want to use WebKitGtk+ 1.0, append "--with-webkit=1.0" to your configuration arguments.
Website: http://live.gnome.org/Seed
SVN: git://git.gnome.org/seed
Dependencies (Ubuntu package name):
* gobject-introspection (gobject-introspection)
* gobject-introspection-glib (gobject-introspection-glib)
* gir-repository (gobject-introspection-repository)
* webkit (libwebkit-dev)
* readline (libreadline-dev)
* ffi (libffi-dev)
* gnome-js-common (gnome-js-common)
Recommended Dependencies (Ubuntu package name):
* gobject-introspection-freedesktop
* sqlite3 (libsqlite3-dev)
* soup (libsoup2.4-dev)
* clutter (libclutter-1.0-dev)
* clutter-gtk (libclutter-gtk-0.10-dev)
* cairo (libcairo-dev)
* gtk-doc (gtk-doc-tools)
* dbus (libdbus-1-dev)
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/autogen.sh 0000775 0000000 0000000 00000001050 13037746164 0020623 0 ustar 00root root 0000000 0000000 #!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
PKG_NAME="seed"
(test -f $srcdir/src/main.c) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which gnome-autogen.sh || {
echo "You need to install gnome-common from GNOME SVN and make"
echo "sure the gnome-autogen.sh script is in your \$PATH."
exit 1
}
REQUIRED_AUTOMAKE_VERSION=1.9
REQUIRED_INTLTOOL_VERSION=0.40.4
. gnome-autogen.sh
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/configure.ac 0000664 0000000 0000000 00000040473 13037746164 0021124 0 ustar 00root root 0000000 0000000 AC_PREREQ(2.59)
AC_INIT(seed, 4.0.0)
AM_INIT_AUTOMAKE([1.7 -Wno-portability])
AM_MAINTAINER_MODE([enable])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_HOST
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
# Use AM_SILENT_RULES if present
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
changequote(,)dnl
ensureflag() {
flag="$1"; shift
result="$@"
case " ${result} " in
*[\ \ ]${flag}[\ \ ]*) ;;
*) result="${flag} ${result}" ;;
esac
echo ${result}
}
changequote([,])dnl
dnl =====================Internationalization==================================
GETTEXT_PACKAGE=seed
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.35.0])
dnl ============================libffi=========================================
PKG_CHECK_MODULES(FFI, libffi, have_ffi_pkgconfig=yes, have_ffi_pkgconfig=no)
if test x"$have_ffi_pkgconfig" = xno ; then
AC_MSG_CHECKING(for ffi.h)
AC_TRY_CPP([#include ], have_ffi_h=yes, have_ffi_h=no)
if test x"$have_ffi_h" = x"yes"; then
save_LIBS=$LIBS
if test x"$with_ffi" = x"yes" || test x"$with_ffi" = x"auto"; then
other_LIBS=
else
other_LIBS=$with_ffi
fi
AC_SEARCH_LIBS(ffi_call,ffi,,AC_MSG_ERROR([libffi not found]),$other_LIBS)
if test x"$ac_cv_search_ffi_call" = x"none required" ; then
FFI_LDFLAGS=$other_LIBS
else
FFI_LDFLAGS="$ac_cv_search_ffi_call $other_LIBS"
fi
LIBS=$save_LIBS
fi
if test x"$have_ffi_h" != x"yes" ; then
AC_MSG_ERROR([ffi.h not found])
fi
FFI_CFLAGS=
AC_MSG_RESULT([$have_ffi_h])
fi
AC_SUBST(FFI_LDFLAGS)
AC_SUBST(FFI_CFLAGS)
dnl ==============================WebKit=======================================
m4_define([webkit_default], [4.0])
AC_ARG_WITH([webkit],
[AC_HELP_STRING([--with-webkit=@<:@4.0/3.0/1.0@:>@],
[Select the Webkit backend, default=4.0])],
[],
[with_webkit=webkit_default])
dnl=== support all 1.0, 3.0 and 4.0 (default 3.0) ==
AS_CASE([$with_webkit],
[3.0], [
WEBKIT_PC=webkitgtk-3.0
SEED_GTK_VERSION=-gtk3
AC_CHECK_LIB(webkitgtk-3.0, JSContextGroupCreate,,
AC_CHECK_LIB(javascriptcoregtk-3.0, JSContextGroupCreate,WEBKIT_PC=javascriptcoregtk-3.0))
],
[4.0], [
WEBKIT_PC=webkitgtk-4.0
SEED_GTK_VERSION=-gtk4
AC_CHECK_LIB(webkitgtk-4.0, JSContextGroupCreate,,
AC_CHECK_LIB(javascriptcoregtk-4.0, JSContextGroupCreate,WEBKIT_PC=javascriptcoregtk-4.0))
],
[1.0], [
AC_CHECK_LIB(webkitgtk-1.0, JSContextGroupCreate,WEBKIT_PC=webkitgtk-1.0,
AC_CHECK_LIB(javascriptcoregtk-1.0, JSContextGroupCreate,WEBKIT_PC=javascriptcoregtk-1.0,
AC_CHECK_LIB(webkit-1.0, JSContextGroupCreate,WEBKIT_PC=webkit-1.0,
AC_MSG_ERROR([The installed version of WebKit is too old. Seed requires WebKit SVN revision 35442 or greater.]))))
],
[AC_MSG_ERROR([Invalid argument for --with-webkit])]
)
PKG_CHECK_MODULES(WEBKIT, $WEBKIT_PC)
AC_SUBST(WEBKIT_PC)
AC_SUBST(WEBKIT_CFLAGS)
AC_SUBST(WEBKIT_LDFLAGS)
AC_SUBST(SEED_GTK_VERSION)
dnl =========================Introspection=====================================
GOBJECT_INTROSPECTION_CHECK([1.41.4])
PKG_CHECK_MODULES(GOBJECT_INTROSPECTION, gobject-introspection-1.0 >= 0.6.3)
AC_SUBST(GOBJECT_INTROSPECTION_CFLAGS)
AC_SUBST(GOBJECT_INTROSPECTION_LDFLAGS)
GOBJECT_INTROSPECTION_VERSION=`$PKG_CONFIG --modversion gobject-introspection-1.0 | $AWK '{ split($1, a , ".") ; printf "0x%02d%02d%02d", a[[1]], a[[2]], a[[3]] }'`
AC_SUBST(GOBJECT_INTROSPECTION_VERSION)
dnl ========================GNOME-js common====================================
PKG_CHECK_MODULES(GNOME_JS, gnome-js-common)
GNOME_JS_DIR=`pkg-config --variable=moduledir gnome-js-common`
AC_SUBST(GNOME_JS_DIR)
dnl ========================GThread============================================
PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
dnl ========================GIO================================================
PKG_CHECK_MODULES(GIO, gio-2.0)
dnl ========================GModule================================================
PKG_CHECK_MODULES(GMODULE, gmodule-no-export-2.0)
dnl =============================Modules=======================================
dnl ==== canvas ====
AC_ARG_ENABLE(canvas-module,
AC_HELP_STRING([--enable-canvas-module],
[enable the canvas Seed module. [default=yes]]),
[want_canvas_module=$enableval],[want_canvas_module="yes"])
if test x"$want_canvas_module" = x"yes" ; then
PKG_CHECK_MODULES(CAIRO, cairo)
AC_SUBST(CAIRO_CFLAGS)
AC_SUBST(CAIRO_LDFLAGS)
if test x"$with_webkit" = x"3.0" ; then
PKG_CHECK_MODULES(GDK, gdk-3.0)
else
PKG_CHECK_MODULES(GDK, gdk-2.0)
fi
AC_SUBST(GDK_CFLAGS)
AC_SUBST(GDK_LDFLAGS)
fi
AM_CONDITIONAL(BUILD_CANVAS_MODULE, test "x$want_canvas_module" = "xyes")
AC_SUBST(BUILD_CANVAS_MODULE)
dnl ==== readline ====
AC_ARG_ENABLE(readline-module,
AC_HELP_STRING([--enable-readline-module],
[enable the readline Seed module. [default=yes]]),
[want_readline_module=$enableval],[want_readline_module="yes"])
if test x"$want_readline_module" = x"yes" ; then
AC_CHECK_HEADER([readline/readline.h],,AC_MSG_ERROR([the readline library is not installed.]))
fi
AM_CONDITIONAL(BUILD_READLINE_MODULE, test "x$want_readline_module" = "xyes")
AC_SUBST(BUILD_READLINE_MODULE)
dnl ==== multiprocessing ====
AC_ARG_ENABLE(multiprocessing-module,
AC_HELP_STRING([--enable-multiprocessing-module],
[enable the multiprocessing Seed module. [default=yes]]),
[want_multiprocessing_module=$enableval],
[want_multiprocessing_module="yes"])
AM_CONDITIONAL(BUILD_MULTIPROCESSING_MODULE, test "x$want_multiprocessing_module" = "xyes")
AC_SUBST(BUILD_MULTIPROCESSING_MODULE)
dnl ==== sqlite ====
AC_ARG_ENABLE(sqlite-module,
AC_HELP_STRING([--enable-sqlite-module],
[enable the sqlite Seed module. [default=yes]]),
[want_sqlite_module=$enableval],[want_sqlite_module="yes"])
if test x"$want_sqlite_module" = x"yes" ; then
PKG_CHECK_MODULES(SQLITE, sqlite3)
AC_SUBST(SQLITE_CFLAGS)
AC_SUBST(SQLITE_LDFLAGS)
fi
AM_CONDITIONAL(BUILD_SQLITE_MODULE, test "x$want_sqlite_module" = "xyes")
AC_SUBST(BUILD_SQLITE_MODULE)
dnl ==== xorg ====
AC_ARG_ENABLE(xorg-module,
AC_HELP_STRING([--enable-xorg-module],
[enable the xorg Seed module. [default=no]]),
[want_xorg_module=$enableval],[want_xorg_module="no"])
if test x"$want_xorg_module" = x"yes" ; then
PKG_CHECK_MODULES(LIBXSS, [xscrnsaver], [
AC_DEFINE(USE_LIBXSS, 1, [Use XScreenSaver for idleness])
AC_SUBST(LIBXSS_CFLAGS)
AC_SUBST(LIBXSS_LIBS)
] , [
echo ""
echo "configure: error: "
echo "XScreenSaver development headers not found."
echo "Use --enable-xorg-module=no if you do not need it."
echo "If you're using debian or ubuntu, install it by"
echo "\"sudo apt-get install libxss-dev\""
echo ""
exit -1
])
fi
AM_CONDITIONAL(BUILD_XORG_MODULE, test "x$want_xorg_module" = "xyes")
AC_SUBST(BUILD_XORG_MODULE)
dnl ==== Example ====
AC_ARG_ENABLE(example-module,
AC_HELP_STRING([--enable-example-module],
[enable the example Seed module. [default=yes]]),
[want_example_module=$enableval],[want_example_module="yes"])
AM_CONDITIONAL(BUILD_EXAMPLE_MODULE, test "x$want_example_module" = "xyes")
AC_SUBST(BUILD_EXAMPLE_MODULE)
dnl ==== dbus ====
AC_ARG_ENABLE(dbus-module,
AC_HELP_STRING([--enable-dbus-module],
[enable the dbus Seed module. [default=yes]]),
[want_dbus_module=$enableval],[want_dbus_module="yes"])
AM_CONDITIONAL(BUILD_DBUS_MODULE, test "x$want_dbus_module" = "xyes")
AC_SUBST(BUILD_DBUS_MODULE)
if test x"$want_dbus_module" = x"yes" ; then
PKG_CHECK_MODULES(DBUS, dbus-1)
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LDFLAGS)
PKG_CHECK_MODULES(DBUSGLIB, dbus-glib-1)
AC_SUBST(DBUSGLIB_CFLAGS)
AC_SUBST(DBUSGLIB_LDFLAGS)
fi
dnl ==== os ====
AC_ARG_ENABLE(os-module,
AC_HELP_STRING([--enable-os-module],
[enable the os Seed module. [default=yes]]),
[want_os_module=$enableval],[want_os_module="yes"])
AM_CONDITIONAL(BUILD_OS_MODULE, test "x$want_os_module" = "xyes")
AC_SUBST(BUILD_OS_MODULE)
dnl ==== ffi ====
AC_ARG_ENABLE(ffi-module,
AC_HELP_STRING([--enable-ffi-module],
[enable the ffi Seed module. [default=yes]]),
[want_ffi_module=$enableval],[want_ffi_module="yes"])
AM_CONDITIONAL(BUILD_FFI_MODULE, test "x$want_ffi_module" = "xyes")
AC_SUBST(BUILD_FFI_MODULE)
dnl ==== libdl ====
AC_CHECK_LIB([c], [dlsym], [LIBDL=""],
[AC_CHECK_LIB([dl], [dlsym], [LIBDL="-ldl"])])
AC_SUBST(LIBDL)
dnl ==== libxml ====
AC_ARG_ENABLE(libxml-module,
AC_HELP_STRING([--enable-libxml-module],
[enable the libxml Seed module. [default=yes]]),
[want_libxml_module=$enableval],[want_libxml_module="yes"])
if test x"$want_libxml_module" = x"yes" ; then
PKG_CHECK_MODULES(LIBXML, libxml-2.0)
AC_SUBST(LIBXML_CFLAGS)
AC_SUBST(LIBXML_LDFLAGS)
fi
AM_CONDITIONAL(BUILD_LIBXML_MODULE, test "x$want_libxml_module" = "xyes")
AC_SUBST(BUILD_LIBXML_MODULE)
dnl ==== os ====
AC_ARG_ENABLE(os-module,
AC_HELP_STRING([--enable-os-module],
[enable the os Seed module. [default=yes]]),
[want_os_module=$enableval],[want_os_module="yes"])
AM_CONDITIONAL(BUILD_OS_MODULE, test "x$want_os_module" = "xyes")
AC_SUBST(BUILD_OS_MODULE)
dnl ==== DynamicObject ====
AC_ARG_ENABLE(dynamicobject-module,
AC_HELP_STRING([--enable-dynamicobject-module],
[enable the DynamicObject Seed module. [default=yes]]),
[want_dynamicobject_module=$enableval],[want_dynamicobject_module="yes"])
AM_CONDITIONAL(BUILD_DYNAMICOBJECT_MODULE, test "x$want_dynamicobject_module" = "xyes")
AC_SUBST(BUILD_DYNAMICOBJECT_MODULE)
dnl ==== gtkbuilder ====
AC_ARG_ENABLE(gtkbuilder-module,
AC_HELP_STRING([--enable-gtkbuilder-module],
[enable the gtkbuilder Seed module. [default=yes]]),
[want_gtkbuilder_module=$enableval],[want_gtkbuilder_module="yes"])
if test x"$want_gtkbuilder_module" = x"yes" ; then
if test x"$with_webkit" = x"3.0" || test x"$with_webkit" = x"4.0" ; then
PKG_CHECK_MODULES(GTK, gtk+-3.0)
else
PKG_CHECK_MODULES(GTK, gtk+-2.0)
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LDFLAGS)
fi
AM_CONDITIONAL(BUILD_GTKBUILDER_MODULE, test "x$want_gtkbuilder_module" = "xyes")
AC_SUBST(BUILD_GTKBUILDER_MODULE)
dnl ==== cairo ====
AC_ARG_ENABLE(cairo-module,
AC_HELP_STRING([--enable-cairo-module],
[enable the cairo Seed module. [default=yes]]),
[want_cairo_module=$enableval],[want_cairo_module="yes"])
if test x"$want_cairo_module" = x"yes" ; then
PKG_CHECK_MODULES(CAIRO, cairo)
AC_SUBST(CAIRO_CFLAGS)
AC_SUBST(CAIRO_LDFLAGS)
fi
AM_CONDITIONAL(BUILD_CAIRO_MODULE, test "x$want_cairo_module" = "xyes")
AC_SUBST(BUILD_CAIRO_MODULE)
dnl ==== gettext ====
AC_ARG_ENABLE(gettext-module,
AC_HELP_STRING([--enable-gettext-module],
[enable the gettext Seed module. [default=yes]]),
[want_gettext_module=$enableval],[want_gettext_module="yes"])
AM_CONDITIONAL(BUILD_GETTEXT_MODULE, test "x$want_gettext_module" = "xyes")
AC_SUBST(BUILD_GETTEXT_MODULE)
dnl ==== mpfr ====
AC_ARG_ENABLE(mpfr-module,
AC_HELP_STRING([--enable-mpfr-module],
[enable the mpfr Seed module. [default=yes]]),
[want_mpfr_module=$enableval],[want_mpfr_module="yes"])
if test x"$want_mpfr_module" = x"yes" ; then
AC_TRY_CPP([#include ], have_mpfr_h=yes, have_mpfr_h=no)
if test x"$have_mpfr_h" = x"yes"; then
save_LIBS=$LIBS
if test x"$with_mpfr" = x"yes" || test x"$with_mpfr" = x"auto"; then
other_LIBS=
else
other_LIBS=$with_mpfr
fi
AC_SEARCH_LIBS(mpfr_init2,mpfr,,AC_MSG_ERROR([mpfr not found]),$other_LIBS)
if test x"$ac_cv_search_mpfr_call" = x"none required" ; then
MPFR_LDFLAGS=$other_LIBS
else
MPFR_LDFLAGS="$other_LIBS"
fi
LIBS=$save_LIBS
fi
if test x"$have_mpfr_h" != x"yes" ; then
AC_MSG_ERROR([mpfr.h not found])
fi
MPFR_CFLAGS=
fi
AM_CONDITIONAL(BUILD_MPFR_MODULE, test "x$want_mpfr_module" = "xyes")
AC_SUBST(BUILD_MPFR_MODULE)
dnl ==== glib-compile-resources ====
AC_PATH_PROG([GLIB_COMPILE_RESOURCES],[glib-compile-resources])
AS_IF([test "$GLIB_COMPILE_RESOURCES" == ""],[
AC_MSG_ERROR([glib-compile-resources not found])
])
dnl ===========================Profiling=======================================
AC_ARG_ENABLE(profile,
AC_HELP_STRING([--enable-profile],
[turn on profiling [default=no]]),
[enable_profile="yes"],[enable_profile="no"])
AC_ARG_ENABLE(profile-modules,
AC_HELP_STRING([--enable-profile-modules],
[turn on profiling for modules [default=no]]),
[enable_profile_modules="yes"],[enable_profile_modules="no"])
if test "x$enable_profile" = "xyes"; then
SEED_PROFILE_CFLAGS="-fprofile-arcs -ftest-coverage"
SEED_PROFILE_LIBS="-lgcov"
[need_debug="yes"]
fi
if test "x$enable_profile" = "xno"; then
[enable_profile_modules="no"]
fi
AC_SUBST(SEED_PROFILE_CFLAGS)
AC_SUBST(SEED_PROFILE_LIBS)
AM_CONDITIONAL(PROFILE_MODULES, test "x$enable_profile_modules" = "xyes")
dnl =============================Debug=========================================
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
[enable verbose debugging. [default=no]]),
[enable_debug="yes"],[enable_debug="no"])
if test "x$enable_debug" = "xyes"; then
SEED_DEBUG_CFLAGS="-DSEED_ENABLE_DEBUG -g"
CFLAGS="$CFLAGS -O0 -Wall"
else
SEED_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
CFLAGS="$CFLAGS -Wall"
if test "x$need_debug" = "xyes"; then
AC_MSG_ERROR([debug must be enabled in order to enable profiling.])
fi
fi
AC_SUBST(SEED_DEBUG_CFLAGS)
AC_CHECK_HEADERS(pty.h)
dnl =============================gtk-doc=======================================
GTK_DOC_CHECK(1.9)
dnl =============================Output========================================
AC_CONFIG_FILES([
seed.pc
Makefile
doc/index.html
doc/conventions.html
doc/runtime.html
doc/tutorial-standalone/tutorial.html
doc/modules/canvas/canvas.html
doc/modules/multiprocessing/multiprocessing.html
doc/modules/canvas/Makefile
doc/modules/multiprocessing/Makefile
doc/modules/readline/Makefile
doc/modules/gtkbuilder/Makefile
doc/modules/sqlite/Makefile
doc/modules/sandbox/Makefile
doc/mapping/mapping.html
libseed/Makefile
libgjs-private/Makefile
po/Makefile.in
src/Makefile
jsextensions/Makefile
tests/Makefile
tests/javascript/Makefile
tests/javascript/included.js
tests/javascript/syntax-test-noasserts.js
tests/javascript/modules-noasserts.js
tests/javascript/gtypes/Makefile
tests/javascript/signals/Makefile
tests/javascript/structs/Makefile
tests/c/Makefile
doc/Makefile
doc/modules/Makefile
doc/modules/version.xml
doc/tutorial-standalone/Makefile
doc/reference/Makefile
doc/reference/version.xml
doc/mapping/Makefile
modules/Makefile
modules/example/Makefile
modules/sqlite/Makefile
modules/xorg/Makefile
modules/canvas/Makefile
modules/readline/Makefile
modules/multiprocessing/Makefile
modules/sandbox/Makefile
modules/os/Makefile
modules/dbus/Makefile
modules/dbus/util/Makefile
modules/libxml/Makefile
modules/cairo/Makefile
modules/gtkbuilder/Makefile
modules/gettext/Makefile
modules/mpfr/Makefile
modules/ffi/Makefile
modules/DynamicObject/Makefile
modules/gjs/system/Makefile
modules/gjs/_gi/Makefile
modules/gjs/Makefile
libseed/seed-path.h
])
AC_OUTPUT
echo "
Build Configuration:
Debug......................$enable_debug
Profiling/Coverage.........$enable_profile
Profiling for Modules......$enable_profile_modules
gtk-doc....................$enable_gtk_doc
Installation:
Prefix.....................$prefix
Modules:
Canvas.....................$want_canvas_module
example....................$want_example_module
multiprocessing............$want_multiprocessing_module
readline...................$want_readline_module
SQLite.....................$want_sqlite_module
XOrg.......................$want_xorg_module
DBus.......................$want_dbus_module
libxml.....................$want_libxml_module
cairo......................$want_cairo_module
gtkbuilder.................$want_gtkbuilder_module
gettext....................$want_gettext_module
mpfr.......................$want_mpfr_module
ffi........................$want_ffi_module
Dynamic Object.............$want_dynamicobject_module
"
if test "x$want_readline_module" != "xyes"; then
echo "WARNING: The readline module is not enabled.
Without this, the Seed REPL will not work;
however, most Seed applications will still run.
"
fi
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/doc/ 0000775 0000000 0000000 00000000000 13037746164 0017373 5 ustar 00root root 0000000 0000000 seed-webkit2-4.0.0+20161014+6c77960+dfsg1/doc/Makefile.am 0000664 0000000 0000000 00000000526 13037746164 0021432 0 ustar 00root root 0000000 0000000 SUBDIRS = tutorial-standalone modules mapping reference
EXTRA_DIST = \
index.html.in \
runtime.html.in \
style.css \
conventions.html.in \
sh.css \
sh.js \
sh_js.js \
seed.1
doc_DATA = index.html runtime.html conventions.html style.css sh.css sh.js sh_js.js
## File created by the gnome-build tools
-include $(top_srcdir)/git.mk
seed-webkit2-4.0.0+20161014+6c77960+dfsg1/doc/conventions.html.in 0000664 0000000 0000000 00000002402 13037746164 0023231 0 ustar 00root root 0000000 0000000
Seed Coding Conventions
Seed Coding Conventions
v.@VERSION@
Naming and Capitalization
Always use UpperCamelCase for the names of classes.
Always use underscore_case for the names of variables and functions.
Encapsulation
Prefer functions to properties, for performance's sake.
Place all code for a class within its init function. Look at the tutorial Web Browser for an example.
There is a (very) introductory tutorial to Seed, covering the creation of a small GTK+ WebKit browser, here.
Mapping
There is a document covering at a broad level, how things in a namespace are mapped to Seed when importing, here.
Reference Manual
The C API, some of the modules, and a small (but expanding) portion of the runtime API is documented here.
Runtime
Documentation on the Seed builtins and runtime is here.
Examples
Seed has a wide variety of examples in git. A partial index of some of the more useful examples is below:
Large Examples
browser - An expanded version of the simple WebKit browser outlined in the tutorial
clutter-pad - An example to prototype Clutter scripts using a GtkSourceView widget and a GtkClutter stage. Demonstrates usage of sandbox module and GtkBuilder
clutter-shader - Demonstrates the use of Clutter Shaders and GtkSourceView
pango - Demonstrates a bit more complicated Pango usage, and Clutter usage, to create a sort of font playground
turtle - a simple example of the C embedding API to create a logo like turtle