Various distrib related changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -570,9 +570,11 @@ MSW_DIST: ALL_GUI_DIST
|
|||||||
DEMOS_DIST: ALL_GUI_DIST
|
DEMOS_DIST: ALL_GUI_DIST
|
||||||
mkdir $(DISTDIR)/demos
|
mkdir $(DISTDIR)/demos
|
||||||
cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
|
cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
|
||||||
cp $(DEMODIR)/configure $(DISTDIR)/samples
|
cp $(DEMODIR)/configure $(DISTDIR)/demos
|
||||||
cp $(DEMODIR)/configure.in $(DISTDIR)/samples
|
cp $(DEMODIR)/configure.in $(DISTDIR)/demos
|
||||||
|
|
||||||
|
cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
|
||||||
|
|
||||||
mkdir $(DISTDIR)/demos/bombs
|
mkdir $(DISTDIR)/demos/bombs
|
||||||
cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
|
cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
|
||||||
cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
|
cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
|
||||||
|
10
configure.in
10
configure.in
@@ -409,7 +409,7 @@ dnl WX_INTERFACE_AGE = 0
|
|||||||
|
|
||||||
WX_MAJOR_VERSION_NUMBER=2
|
WX_MAJOR_VERSION_NUMBER=2
|
||||||
WX_MINOR_VERSION_NUMBER=1
|
WX_MINOR_VERSION_NUMBER=1
|
||||||
WX_RELEASE_NUMBER=13
|
WX_RELEASE_NUMBER=14
|
||||||
|
|
||||||
WX_INTERFACE_AGE=0
|
WX_INTERFACE_AGE=0
|
||||||
WX_BINARY_AGE=0
|
WX_BINARY_AGE=0
|
||||||
@@ -826,7 +826,7 @@ else
|
|||||||
DEFAULT_wxUSE_COMBOBOX=yes
|
DEFAULT_wxUSE_COMBOBOX=yes
|
||||||
DEFAULT_wxUSE_GAUGE=yes
|
DEFAULT_wxUSE_GAUGE=yes
|
||||||
DEFAULT_wxUSE_GRID=yes
|
DEFAULT_wxUSE_GRID=yes
|
||||||
DEFAULT_wxUSE_NEW_GRID=no
|
DEFAULT_wxUSE_NEW_GRID=yes
|
||||||
DEFAULT_wxUSE_IMAGLIST=yes
|
DEFAULT_wxUSE_IMAGLIST=yes
|
||||||
DEFAULT_wxUSE_LISTBOX=yes
|
DEFAULT_wxUSE_LISTBOX=yes
|
||||||
DEFAULT_wxUSE_LISTCTRL=yes
|
DEFAULT_wxUSE_LISTCTRL=yes
|
||||||
@@ -1044,7 +1044,7 @@ if test "$wxUSE_CONTROLS" = "yes"; then
|
|||||||
DEFAULT_wxUSE_CHOICE=yes
|
DEFAULT_wxUSE_CHOICE=yes
|
||||||
DEFAULT_wxUSE_GAUGE=yes
|
DEFAULT_wxUSE_GAUGE=yes
|
||||||
DEFAULT_wxUSE_GRID=yes
|
DEFAULT_wxUSE_GRID=yes
|
||||||
DEFAULT_wxUSE_NEW_GRID=no
|
DEFAULT_wxUSE_NEW_GRID=yes
|
||||||
DEFAULT_wxUSE_IMAGLIST=yes
|
DEFAULT_wxUSE_IMAGLIST=yes
|
||||||
DEFAULT_wxUSE_LISTBOX=yes
|
DEFAULT_wxUSE_LISTBOX=yes
|
||||||
DEFAULT_wxUSE_LISTCTRL=yes
|
DEFAULT_wxUSE_LISTCTRL=yes
|
||||||
@@ -1837,7 +1837,9 @@ fi
|
|||||||
|
|
||||||
dnl ODBC objects are Unix only
|
dnl ODBC objects are Unix only
|
||||||
if test "$TOOLKIT" != "MSW"; then
|
if test "$TOOLKIT" != "MSW"; then
|
||||||
ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
|
if test "$wxUSE_ODBC" = "yes" ; then
|
||||||
|
ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_LIBJPEG" = "yes" ; then
|
if test "$wxUSE_LIBJPEG" = "yes" ; then
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
12th January '2000: wxWindows 2.1.14 released
|
20th February '2000: wxWindows 2.1.14 released
|
||||||
|
|
||||||
Minor changes to socket code.
|
Minor changes to socket code.
|
||||||
|
|
||||||
|
@@ -240,9 +240,6 @@ Given below are the commands to change the default behaviour,
|
|||||||
i.e. if it says "--disable-threads" it means that threads
|
i.e. if it says "--disable-threads" it means that threads
|
||||||
are enabled by default.
|
are enabled by default.
|
||||||
|
|
||||||
Many of the confiugre options have been thoroughly tested
|
|
||||||
in wxWindows snapshot 6, but not yet all (ODBC not).
|
|
||||||
|
|
||||||
Normally, you won't have to choose a toolkit, because when
|
Normally, you won't have to choose a toolkit, because when
|
||||||
you download wxGTK, it will default to --with-gtk etc. But
|
you download wxGTK, it will default to --with-gtk etc. But
|
||||||
if you use all of our CVS repository you have to choose a
|
if you use all of our CVS repository you have to choose a
|
||||||
@@ -286,7 +283,7 @@ The following options handle the kind of library you want to build.
|
|||||||
|
|
||||||
--enable-permissive Enable compilation without creation of
|
--enable-permissive Enable compilation without creation of
|
||||||
giving erros as soon as you compile with
|
giving erros as soon as you compile with
|
||||||
Solaris' ANSI-defying headers...
|
Solaris' ANSI-defying headers.
|
||||||
|
|
||||||
--enable-mem_tracing Add built-in memory tracing.
|
--enable-mem_tracing Add built-in memory tracing.
|
||||||
|
|
||||||
@@ -295,7 +292,7 @@ The following options handle the kind of library you want to build.
|
|||||||
|
|
||||||
--enable-debug_info Add debug info to object files and
|
--enable-debug_info Add debug info to object files and
|
||||||
executables for use with debuggers
|
executables for use with debuggers
|
||||||
such as gdb (or its many frontends).
|
such as gdb (or its many frontends).
|
||||||
|
|
||||||
--enable-debug_flag Define __DEBUG__ and __WXDEBUG__ when
|
--enable-debug_flag Define __DEBUG__ and __WXDEBUG__ when
|
||||||
compiling. This enable wxWindows' very
|
compiling. This enable wxWindows' very
|
||||||
@@ -308,27 +305,28 @@ The following options handle the kind of library you want to build.
|
|||||||
* Feature Options
|
* Feature Options
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
Many of the confiugre options have been thoroughly tested
|
|
||||||
in wxWindows snapshot 6, but not yet all (ODBC not).
|
|
||||||
|
|
||||||
When producing an executable that is linked statically with wxGTK
|
When producing an executable that is linked statically with wxGTK
|
||||||
you'll be surprised at its immense size. This can sometimes be
|
you'll be surprised at its immense size. This can sometimes be
|
||||||
drastically reduced by removing features from wxWindows that
|
drastically reduced by removing features from wxWindows that
|
||||||
are not used in your program. The most relevant such features
|
are not used in your program. The most relevant such features
|
||||||
are
|
are
|
||||||
|
|
||||||
|
--with-odbc Enables ODBC code. This is disabled
|
||||||
|
by default because iODBC is under the
|
||||||
|
L-GPL license.
|
||||||
|
|
||||||
--without-libpng Disables PNG image format code.
|
--without-libpng Disables PNG image format code.
|
||||||
|
|
||||||
--without-libjpeg Disables JPEG image format code.
|
--without-libjpeg Disables JPEG image format code.
|
||||||
|
|
||||||
|
--without-libtiff Disables TIFF image format code.
|
||||||
|
|
||||||
--disable-pnm Disables PNM image format code.
|
--disable-pnm Disables PNM image format code.
|
||||||
|
|
||||||
--disable-gif Disables GIF image format code.
|
--disable-gif Disables GIF image format code.
|
||||||
|
|
||||||
--disable-pcx Disables PCX image format code.
|
--disable-pcx Disables PCX image format code.
|
||||||
|
|
||||||
--without-odbc Disables ODBC code.
|
|
||||||
|
|
||||||
--disable-resources Disables the use of *.wxr type
|
--disable-resources Disables the use of *.wxr type
|
||||||
resources.
|
resources.
|
||||||
|
|
||||||
@@ -401,12 +399,12 @@ in the various directories will do the work for you.
|
|||||||
1) The first way uses the installed libraries and header files
|
1) The first way uses the installed libraries and header files
|
||||||
automatically using wx-config
|
automatically using wx-config
|
||||||
|
|
||||||
g++ myfoo.cpp `wx-config --libs` `wx-config --cflags` -o myfoo
|
gcc myfoo.cpp `wx-config --cflags --libs` -o myfoo
|
||||||
|
|
||||||
Using this way, a make file for the minimal sample would look
|
Using this way, a make file for the minimal sample would look
|
||||||
like this
|
like this
|
||||||
|
|
||||||
CC = g++
|
CC = gcc
|
||||||
|
|
||||||
minimal: minimal.o
|
minimal: minimal.o
|
||||||
$(CC) -o minimal minimal.o `wx-config --libs`
|
$(CC) -o minimal minimal.o `wx-config --libs`
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Welcome to wxWindows/Gtk 2.1.13
|
Welcome to wxWindows/Gtk 2.1.14
|
||||||
|
|
||||||
you have downloaded a beta version of the GTK+ 1.2 port of
|
you have downloaded a beta version of the GTK+ 1.2 port of
|
||||||
the wxWindows GUI library. Although this is not yet the
|
the wxWindows GUI library. Although this is not yet the
|
||||||
@@ -7,12 +7,12 @@ final stable release wxGTK 2.2, the current version has
|
|||||||
been tested carefully on many systems and has been found
|
been tested carefully on many systems and has been found
|
||||||
to work better than any other previous version.
|
to work better than any other previous version.
|
||||||
|
|
||||||
Nonetheless, beware that minor changes can happen before
|
This is the last beta release. wxWindows is now in a code
|
||||||
a final release.
|
freeze and only bugs will be corrected.
|
||||||
|
|
||||||
wxWindows no longer supports GTK 1.0 (as did some early
|
wxWindows no longer supports GTK 1.0 (as did some early
|
||||||
snapshots) so that you will need GTK 1.2 when using it.
|
snapshots) so that you will need GTK 1.2 when using it.
|
||||||
GTK 1.2.6 is recommended although many programs will work
|
GTK 1.2.6 is recommended although somw programs will work
|
||||||
with GTK 1.2.3 onwards.
|
with GTK 1.2.3 onwards.
|
||||||
|
|
||||||
More information is available from my homepage at:
|
More information is available from my homepage at:
|
||||||
@@ -23,7 +23,7 @@ and about the wxWindows project as a whole (and the MSW
|
|||||||
and Motif ports in particular) can be found at Julian's
|
and Motif ports in particular) can be found at Julian's
|
||||||
homepage at:
|
homepage at:
|
||||||
|
|
||||||
http://web.ukonline.co.uk/julian.smart/wxwin
|
http://www.wxwindows.org
|
||||||
|
|
||||||
Information on how to install can be found in the file
|
Information on how to install can be found in the file
|
||||||
INSTALL.txt, but if you cannot wait, this should work on
|
INSTALL.txt, but if you cannot wait, this should work on
|
||||||
@@ -44,7 +44,7 @@ VERSION OF GTK, WXGTK, WHAT DISTRIBUTION YOU USE AND WHAT ERROR
|
|||||||
WAS REPORTED. I know this has no effect, but I tried...
|
WAS REPORTED. I know this has no effect, but I tried...
|
||||||
|
|
||||||
The library produced by the install process will be called
|
The library produced by the install process will be called
|
||||||
libwx_gtk.a (static) and libwx_gtk-2.1.so.13.0.0 (shared) so
|
libwx_gtk.a (static) and libwx_gtk-2.1.so.14.0.0 (shared) so
|
||||||
that once a binary incompatible version of wxWindows/Gtk comes
|
that once a binary incompatible version of wxWindows/Gtk comes
|
||||||
out we'll augment the library version number to avoid linking
|
out we'll augment the library version number to avoid linking
|
||||||
problems.
|
problems.
|
||||||
|
@@ -1,8 +1,6 @@
|
|||||||
|
|
||||||
-------------------- High priority ---------------------
|
-------------------- High priority ---------------------
|
||||||
|
|
||||||
Finish and extend wxPlotWindow.
|
|
||||||
|
|
||||||
Improve, update translations. Install *.mo files somewehere.
|
Improve, update translations. Install *.mo files somewehere.
|
||||||
|
|
||||||
-------------------- Medium priority ---------------------
|
-------------------- Medium priority ---------------------
|
||||||
|
@@ -142,14 +142,16 @@ MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id,
|
|||||||
wxImage image( bitmap );
|
wxImage image( bitmap );
|
||||||
|
|
||||||
#if wxUSE_LIBPNG
|
#if wxUSE_LIBPNG
|
||||||
image.LoadFile( dir + wxString("test.png") );
|
|
||||||
my_square = new wxBitmap( image.ConvertToBitmap() );
|
|
||||||
|
|
||||||
if ( !image.SaveFile( dir + wxString("test.png"), wxBITMAP_TYPE_PNG ) )
|
if ( !image.SaveFile( dir + wxString("test.png"), wxBITMAP_TYPE_PNG ) )
|
||||||
wxLogError("Can't save file");
|
wxLogError("Can't save file");
|
||||||
|
|
||||||
image = wxImage( 100, 100 );
|
image = wxImage( 100, 100 );
|
||||||
|
|
||||||
|
image.LoadFile( dir + wxString("test.png") );
|
||||||
|
my_square = new wxBitmap( image.ConvertToBitmap() );
|
||||||
|
|
||||||
|
image = wxImage( 100, 100 );
|
||||||
|
|
||||||
if ( !image.LoadFile( dir + wxString("horse.png"), wxBITMAP_TYPE_PNG ) )
|
if ( !image.LoadFile( dir + wxString("horse.png"), wxBITMAP_TYPE_PNG ) )
|
||||||
wxLogError("Can't load PNG image");
|
wxLogError("Can't load PNG image");
|
||||||
else
|
else
|
||||||
|
@@ -34,7 +34,7 @@ Header files for the wxGTK, the GTK+ 1.2 port of the wxWindows library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n wxGTK
|
%setup -n wxGTK
|
||||||
./configure --prefix=%{pref} --enable-threads --disable-std_iostreams --disable-newgrid
|
./configure --prefix=%{pref} --enable-threads --disable-std_iostreams --with-odbc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
if [ "$SMP" != "" ]; then
|
if [ "$SMP" != "" ]; then
|
||||||
|
Reference in New Issue
Block a user