Skip to content

Commit

Permalink
Long live the qt5 Qt repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Qt by Nokia committed Apr 27, 2011
0 parents commit 92351a7
Show file tree
Hide file tree
Showing 235 changed files with 68,403 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[submodule "qtbase"]
path = qtbase
url = git://gitorious.org/qt/qtbase.git
[submodule "qtsvg"]
path = qtsvg
url = git://gitorious.org/qt/qtsvg.git
[submodule "qtdeclarative"]
path = qtdeclarative
url = git://gitorious.org/qt/qtdeclarative.git
[submodule "qt3support"]
path = qt3support
url = git://gitorious.org/qt/qt3support.git
[submodule "qtactiveqt"]
path = qtactiveqt
url = git://gitorious.org/qt/qtactiveqt.git
[submodule "qtscript"]
path = qtscript
url = git://gitorious.org/qt/qtscript.git
[submodule "qtphonon"]
path = qtphonon
url = git://gitorious.org/qt/qtphonon.git
[submodule "qtmultimedia"]
path = qtmultimedia
url = git://gitorious.org/qt/qtmultimedia.git
[submodule "qttools"]
path = qttools
url = git://gitorious.org/qt/qttools.git
[submodule "qtxmlpatterns"]
path = qtxmlpatterns
url = git://gitorious.org/qt/qtxmlpatterns.git
[submodule "qttranslations"]
path = qttranslations
url = git://gitorious.org/qt/qttranslations.git
[submodule "qtdoc"]
path = qtdoc
url = git://gitorious.org/qt/qtdoc.git
[submodule "qlalr"]
path = qlalr
url = git://gitorious.org/qt/qlalr.git
[submodule "qtrepotools"]
path = qtrepotools
url = git://gitorious.org/qt/qtrepotools.git
[submodule "qtwebkit-examples-and-demos"]
path = qtwebkit-examples-and-demos
url = git://gitorious.org/qt/qtwebkit-examples-and-demos.git
[submodule "qtqa"]
path = qtqa
url = git://gitorious.org/qt/qtqa.git
[submodule "qtwebkit"]
path = qtwebkit
url = git://gitorious.org/webkit/qtwebkit.git
4 changes: 4 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
git submodule init
git submodule update
./configure
make
63 changes: 63 additions & 0 deletions configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#!/usr/bin/perl -w
####################################################################################################
#
# Mother script for Qt Modularization
#
# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
# Contact: Nokia Corporation (qt-info@nokia.com)
#
####################################################################################################
use strict;

use File::Basename;
use File::Path;
use Cwd;
use Cwd 'abs_path';
use Config;

# Makes sure the arguments are directories, and creates them if not.
# Will die if there is an error.
sub ensureDir {
foreach (@_) {
if (-e $_) {
if (-d $_) {
next;
} else {
die ("$_ exists, but is not a directory");
}
}
File::Path::mkpath($_) or die("Could not create $_");
}
}

# `system', but also print the command
sub system_v
{
print "+ ";
print @_;
print "\n";
return system(@_);
}

my $relpath = dirname(abs_path($0));
$relpath =~ s,\\,/,g;
# the current directory is the "build tree" or "object tree"
my $outpath = getcwd();

system_v("perl $relpath/init-repository -q") and die("init-repository failed");

system_v("perl $relpath/fix-webkit") and die("Applying webkit patches failed");

ensureDir("$outpath/qtbase");
chdir("$outpath/qtbase");
system_v("$relpath/qtbase/configure @ARGV");

chdir("$outpath");

open QMAKE_CACHE, ">.qmake.cache" || die "Could not open .qmake.cache for writing!\n";
print QMAKE_CACHE "include(\$\$PWD/qtbase/.qmake.cache)\n";
close QMAKE_CACHE;

system_v("$outpath/qtbase/bin/qmake $relpath/qt.pro");

exit 0;
42 changes: 42 additions & 0 deletions configure.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
:: Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
:: All rights reserved.
:: Contact: Nokia Corporation (qt-info@nokia.com)
::
:: This file is part of the tools applications of the Qt Toolkit.
::
:: $QT_BEGIN_LICENSE:LGPL$
:: No Commercial Usage
:: This file contains pre-release code and may not be distributed.
:: You may use this file in accordance with the terms and conditions
:: contained in the Technology Preview License Agreement accompanying
:: this package.
::
:: GNU Lesser General Public License Usage
:: Alternatively, this file may be used under the terms of the GNU Lesser
:: General Public License version 2.1 as published by the Free Software
:: Foundation and appearing in the file LICENSE.LGPL included in the
:: packaging of this file. Please review the following information to
:: ensure the GNU Lesser General Public License version 2.1 requirements
:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
::
:: In addition, as a special exception, Nokia gives you certain additional
:: rights. These rights are described in the Nokia Qt LGPL Exception
:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
::
:: If you have questions regarding the use of this file, please contact
:: Nokia at qt-info@nokia.com.
::
::
::
::
::
::
::
::
:: $QT_END_LICENSE$
::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@rem ***** This assumes PERL is in the PATH *****
@perl.exe %~dp0configure %*
36 changes: 36 additions & 0 deletions fix-webkit
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/perl

use Cwd;
use Cwd 'abs_path';
use File::Basename;
use File::Path;


# Find SHA1 of commit before $subject, else empty string
sub findWebKitSHA1
{
my ($subject) = @_;
my @commits = `git rev-list --grep="$subject" HEAD~300..HEAD`;
if (@commits) {
my $commit = $commits[0];
chomp $commit;
$commit = `git rev-parse $commit~`;
chomp $commit;
return $commit;
}
return "";
}

my $current = dirname(abs_path($0));
$current =~ s,\\,/,g;
chdir("$current/qtwebkit");

if (!findWebKitSHA1("Removed modular references after support for the flag was removed")) {
if (system("git am --ignore-whitespace $current/patches/qtwebkit/*.patch")) {
print("Applying webkit patches failed, retrying...\n");
system("git am --abort");
system("git am --ignore-whitespace $current/patches/qtwebkit/*.patch") and die("Could not apply patches");
}
chdir("..");
system("git commit -a -m \"Committed Qt Modularization patches to QtWebKit.\" --author \"axis <qt-info\@nokia.com>\"") and die("Could not commit to qt5 repository");
}
Binary file added gnuwin32/bin/bison.exe
Binary file not shown.
2 changes: 2 additions & 0 deletions gnuwin32/bin/bison.yacc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#! /bin/sh
exec 'c:/progra~1/bison/bin/bison' -y "$@"
Binary file added gnuwin32/bin/flex++.exe
Binary file not shown.
Binary file added gnuwin32/bin/flex.exe
Binary file not shown.
Binary file added gnuwin32/bin/gperf.exe
Binary file not shown.
Binary file added gnuwin32/bin/iconv.exe
Binary file not shown.
Binary file added gnuwin32/bin/libcharset1.dll
Binary file not shown.
Binary file added gnuwin32/bin/libiconv2.dll
Binary file not shown.
Binary file added gnuwin32/bin/libintl3.dll
Binary file not shown.
Binary file added gnuwin32/bin/m4.exe
Binary file not shown.
Binary file added gnuwin32/bin/regex2.dll
Binary file not shown.
2 changes: 2 additions & 0 deletions gnuwin32/bin/yacc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#! /bin/sh
exec 'c:/progra~1/bison/bin/bison' -y "$@"
54 changes: 54 additions & 0 deletions gnuwin32/contrib/bison/2.4.1/bison-2.4.1-GnuWin32.README
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
* Bison-2.4.1 for Windows *
===========================

What is it?
-----------
Bison: Yacc-compatible parser generator

Description
-----------
Bison is a general purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to parse that grammar. Bison can be used to develop a wide range of language parsers, from ones used in simple desk calculators to complex programming languages. Bison is upwardly compatible with Yacc, so any correctly written Yacc grammar should work with Bison without any changes. If you know Yacc, you shouldn't have any trouble using Bison. You do need to be very proficient in C programming to be able to use Bison. Bison is only needed on systems that are used for development. If your system will be used for C development, you should install Bison. The package contains also the -ly library sometimes used by programs using Bison-generated parsers. If you are developing programs using Bison, you might want to link with this library. This library is not required by all Bison-generated parsers, but may be employed by simple programs to supply minimal support for the generated parsers.

Homepage
--------
http://www.gnu.org/software/bison/bison.html
Sources: http://ftp.gnu.org/gnu/bison/bison-2.4.1.tar.gz

System
------
- Win32, i.e. MS-Windows 95 / 98 / ME / NT / 2000 / XP / 2003 / Vista / 2008 with msvcrt.dll
- if msvcrt.dll is not in your Windows/System folder, get it from
Microsoft <http://support.microsoft.com/kb/259403>
or by installing Internet Explorer 4.0 or higher
<http://www.microsoft.com/windows/ie>
- libintl-3 <http://gnuwin32.sourceforge.net/packages/libintl.htm>
- libiconv-2 <http://gnuwin32.sourceforge.net/packages/libiconv.htm>
- regex <http://gnuwin32.sourceforge.net/packages/regex.htm>
- m4 <http://gnuwin32.sourceforge.net/packages/m4.htm>

Notes
-----
- Bugs and questions on this MS-Windows port: gnuwin32@users.sourceforge.net

Package Availability
--------------------
- in: http://gnuwin32.sourceforge.net
Installation
------------
Bison may be installed in any directory, provided the subdirectory structure is maintained. Native language support is also active.

Sources
-------
- bison-2.4.1-src.zip

Compilation
-----------
The package has been compiled with GNU auto-tools, GNU make, and Mingw
(GCC for MS-Windows). Any differences from the original sources are given
in bison-2.4.1-GnuWin32.diffs in bison-2.4.1-src.zip. Libraries needed
for compilation can be found at the lines starting with 'LIBS = ' in the
Makefiles. Usually, these are standard libraries provided with Mingw, or
libraries from the package itself; 'gw32c' refers to the libgw32c package,
which provides MS-Windows substitutes or stubs for functions normally found in
Unix. For more information, see: http://gnuwin32.sourceforge.net/compile.html
and http://gnuwin32.sourceforge.net/packages/libgw32c.htm.
Loading

0 comments on commit 92351a7

Please sign in to comment.