X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..2b1d737b3e9413217302cde932cbc3af91d79024:/docs/tech/tn0013.txt diff --git a/docs/tech/tn0013.txt b/docs/tech/tn0013.txt index 070b5deac3..52358f9d81 100644 --- a/docs/tech/tn0013.txt +++ b/docs/tech/tn0013.txt @@ -8,22 +8,25 @@ This note explains what should be done, step by step, to prepare the packages for a wxGTK distribution. Note that the same instructions should be used for the other Unix-based ports including wxMotif, wxX11 and wxBase. +See distrib/msw/makerpm for a script that embodies some of the steps +below. + 1. Preparing the sources ------------------------ a) Do a fresh checkout using the command - cvs -d :pserver:anoncvs@cvs.wxwindows.org:/packs/cvsroots/wxwindows co wxGTK + cvs -d :pserver:anoncvs@cvs.wxwidgets.org:/packs/cvsroots/wxwidgets co wxGTK NB: if you realize later that some needed files were not checked out by this command, please modify CVSROOT/modules to include the missing files so that it works for the next release! You also need the samples, demos and contrib directories, so change to - wxWindows directory created by the first cvs command and do "cvs up -d" + wxWidgets directory created by the first cvs command and do "cvs up -d" for each of them. -b) Create a build directory under wxWindows, e.g. I use "gtk-release", +b) Create a build directory under wxWidgets, e.g. I use "gtk-release", "cd" to it and run configure: the options don't really matter, you can use something like @@ -96,6 +99,8 @@ b) Start RPM build by going to RPM_ROOT directory and typing "rpm -ba RPMS/i386/wxGTK-gl-${version}-1.i386.rpm RPMS/i386/wxGTK-static-${version}-1.i386.rpm + Use "rpm -ba --with gtk2" to build GTK+2 version of wxGTK and use + "rpm -ba --with gtk2 --with unicode" to build GTK+2 Unicode build. Note: you may want to set the environment variable SMP to 3 or 4 on an SMP machine to speed up the build (it uses "make -j$SMP" if the @@ -124,20 +129,20 @@ b) ftp://biolpc22.york.ac.uk/pub (Julian has the password) ------------------------- a) FreshMeat: - - http://freshmeat.net/projects/wxwindowsgtk/ + - http://freshmeat.net/projects/wxwidgetsgtk/ - username and password are "wxgtk" for logging in - hit "new release" at the top - follow the step by step -b) wx-announce mailing list: mailto:wx-announce@lists.wxwindows.org +b) wx-announce mailing list: mailto:wx-announce@lists.wxwidgets.org [where is the announcement text? TODO] -c) update www.wxwindows.org +c) update www.wxwidgets.org d) GNOME (very effective, stays on front page for days): - http://www.gnome.org/applist - - Search for wxWindows + - Search for wxWidgets - Update the version number - Ignore the error message