Documentation update for repository move to 'freedesktop.org'.

This commit is contained in:
Werner Lemberg 2021-01-16 15:45:13 +01:00
parent b0f86752a5
commit 5e4ed8ba2b
5 changed files with 57 additions and 44 deletions

View File

@ -15,7 +15,7 @@ To compile FreeType 2 as a library the following changes must be applied:
INCLUDE;E:\freetype2\include
- The file `freetype2/include/Ft2build.h' must be patched as follows to
- The file `freetype/include/Ft2build.h' must be patched as follows to
include ATARI.H:
#ifndef FT2_BUILD_GENERIC_H_
@ -40,7 +40,7 @@ ge
INCLUDE;E:\freetype2\include
- In der Datei freetype2/include/Ft2build.h muss zu Beginn
- In der Datei freetype/include/Ft2build.h muss zu Beginn
ein #include "ATARI.H" wie folgt eingef<65>gt werden:
#ifndef FT2_BUILD_GENERIC_H_

View File

@ -364,6 +364,6 @@
<TargetFiles Include="$(TargetDir)$(TargetName).*" />
</ItemGroup>
<Copy SourceFiles="@(TargetFiles)" DestinationFolder="..\..\..\objs" />
<Copy SourceFiles="$(TargetDir)$(TargetFileName)" DestinationFolder="..\..\..\..\freetype2-demos\bin" Condition="'$(TargetExt)'=='.dll'" />
<Copy SourceFiles="$(TargetDir)$(TargetFileName)" DestinationFolder="..\..\..\..\freetype-demos\bin" Condition="'$(TargetExt)'=='.dll'" />
</Target>
</Project>

View File

@ -60,6 +60,18 @@ CHANGES BETWEEN 2.10.4 and 2.11.0
This work was Priyesh Kumar's GSoC 2020 project.
- FreeType has moved its infrastructure to
https://gitlab.freedesktop.org/freetype
A side effect is that the git repositories are now called
`freetype.git` and `freetype-demos.git`, which by default expand
to the directories `freetype` and `freetype-demos`, respectively.
The documentation has been updated accordingly.
FreeType's Savannah repositories will stay; they are now mirrors
of the 'freedesktop.org' repositories.
======================================================================

View File

@ -21,9 +21,9 @@ I. Standard procedure
* You need to add the directory `include' to your include path when
compiling the library.
* FreeType 2 is made of several components; each of them is located
in a subdirectory of `freetype2/src'. For example,
`freetype2/src/truetype/' contains the TrueType font driver.
* FreeType 2 is made of several components; each of them is located
in a subdirectory of `freetype/src'. For example,
`freetype/src/truetype/' contains the TrueType font driver.
* DO NOT COMPILE ALL C FILES! Rather, compile the following ones.
@ -125,9 +125,9 @@ II. Support for flat-directory compilation
1. Copy all files in current directory
cp freetype2/src/base/*.[hc] .
cp freetype2/src/raster1/*.[hc] .
cp freetype2/src/smooth/*.[hc] .
cp freetype/src/base/*.[hc] .
cp freetype/src/raster1/*.[hc] .
cp freetype/src/smooth/*.[hc] .
etc.
2. Compile sources

View File

@ -1,26 +1,26 @@
How to prepare a new release
----------------------------
. include/freetype/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
and FREETYPE_PATCH.
. include/freetype/freetype.h: Update `FREETYPE_MAJOR`,
`FREETYPE_MINOR`, and `FREETYPE_PATCH`.
. Update version numbers in all files where necessary (for example, do
a grep for both `2.3.1' and `231' for release 2.3.1).
a grep for both '2.10.4' and '2104' for release 2.10.4).
. builds/unix/configure.raw: Update `version_info'.
. builds/unix/configure.raw: Update `version_info`.
. docs/CHANGES: Document differences to last release.
. README: Update.
. docs/VERSIONS.TXT: Document changed `version_info'.
. docs/VERSIONS.TXT: Document changed `version_info`.
. ChangeLog: Announce new release (both in the freetype2 and
freetype2-demos modules).
. ChangeLog: Announce new release (both in the 'freetype' and
'freetype-demos' repositories).
. Clone the git archive to another directory with
git clone -l -s . ../freetype2.test
git clone -l -s . ../freetype.test
or something like this and run
@ -35,14 +35,14 @@ How to prepare a new release
in the cloned repository to test compilation with both gcc and g++.
. Test C++ compilation for freetype2-demos too (using `git clone' as
. Test C++ compilation for 'freetype-demos' too (using `git clone` as
above).
. Run src/tools/chktrcmp.py and check that there are no undefined
trace_XXXX macros.
. Run `src/tools/chktrcmp.py` and check that there are no undefined
`trace_XXXX` macros.
. After pushing the new release, tag the git repositories (freetype2,
freetype2-demos) with
. After pushing the new release, tag the git repositories ('freetype',
'freetype-demos') with
git tag VER-<version> -m "" -u <committer>
@ -54,29 +54,29 @@ How to prepare a new release
git clean -ndx
that the git directory is really clean (and remove extraneous files
that the git directory is really clean (and remove extraneous files
if necessary).
. Say `make dist' in both the freetype2 and freetype2-demos modules
to generate the .tar.gz, .tar.xz, and .zip files.
. Say `make dist` in both the 'freetype' and 'freetype-demos'
repositories to generate the `.tar.gz`, `.tar.xz`, and `.zip` files.
. Create the doc bundles (freetype-doc-<version>.tar.gz,
freetype-doc-<version>.tar.xz, ftdoc<version>.zip). This is
. Create the doc bundles (`freetype-doc-<version>.tar.gz`,
`freetype-doc-<version>.tar.xz`, `ftdoc<version>.zip`). This is
everything in
<freetype-web git repository>/freetype2/docs
except the `reference' subdirectory. Do *not* use option `-l' from
except the `reference` subdirectory. Do *not* use option `-l` from
zip!
. Run the following script (with updated `$VERSION', `$SAVANNAH_USER',
and $SOURCEFORGE_USER variables) to sign and upload the bundles to
. Run the following script (with updated `$VERSION`, `$SAVANNAH_USER`,
and `$SOURCEFORGE_USER` variables) to sign and upload the bundles to
both Savannah and SourceForge. The signing code has been taken from
the `gnupload' script (part of the automake bundle).
the `gnupload` script (part of the 'automake' bundle).
#!/bin/sh
VERSION=2.5.1
VERSION=2.10.4
SAVANNAH_USER=wl
SOURCEFORGE_USER=wlemb
@ -155,12 +155,13 @@ How to prepare a new release
# EOF
. Prepare a README for SourceForge and upload it with the following
script (with updated `$VERSION' and $SOURCEFORGE_USER variables).
. Prepare a `README` file for SourceForge and upload it with the
following script (with updated `$VERSION` and `$SOURCEFORGE_USER`
variables).
#!/bin/sh
VERSION=2.5.1
VERSION=2.10.4
SOURCEFORGE_USER=wlemb
#####################################################################
@ -170,22 +171,22 @@ How to prepare a new release
# EOF
. On SourceForge, tag the just uploaded `ftXXX.zip' and
`freetype-XXX.tar.xz' files as the default files to download for
`Windows' and `Others', respectively.
. On SourceForge, tag the just uploaded `ftXXX.zip` and
`freetype-XXX.tar.xz` files as the default files to download for
'Windows' and 'Others', respectively.
. Copy the reference files (generated by `make dist') to
. Copy the reference files (generated by `make dist`) to
<freetype-web git repository>/freetype2/docs/reference
. Update the `freetype-web' repository. `git push' then automatically
triggers an update of the public web pages within ten minutes, due
to a cron script (on wl@freedesktop.org) that rsyncs with
. Update the 'freetype-web' repository. `git push` then automatically
triggers an update of the public web pages within ten minutes due to
a cron script (on 'wl@freedesktop.org') that rsyncs with
freedesktop.org://srv/freetype.freedesktop.org/www
. Announce new release on freetype-announce@nongnu.org and to relevant
newsgroups.
. Announce new release on 'freetype-announce@nongnu.org' and to
relevant newsgroups.
----------------------------------------------------------------------