Documentation update for repository move to 'freedesktop.org'.
This commit is contained in:
parent
b0f86752a5
commit
5e4ed8ba2b
|
@ -15,7 +15,7 @@ To compile FreeType 2 as a library the following changes must be applied:
|
||||||
|
|
||||||
INCLUDE;E:\freetype2\include
|
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:
|
include ATARI.H:
|
||||||
|
|
||||||
#ifndef FT2_BUILD_GENERIC_H_
|
#ifndef FT2_BUILD_GENERIC_H_
|
||||||
|
@ -40,7 +40,7 @@ ge
|
||||||
|
|
||||||
INCLUDE;E:\freetype2\include
|
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:
|
ein #include "ATARI.H" wie folgt eingef<65>gt werden:
|
||||||
|
|
||||||
#ifndef FT2_BUILD_GENERIC_H_
|
#ifndef FT2_BUILD_GENERIC_H_
|
||||||
|
|
|
@ -364,6 +364,6 @@
|
||||||
<TargetFiles Include="$(TargetDir)$(TargetName).*" />
|
<TargetFiles Include="$(TargetDir)$(TargetName).*" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Copy SourceFiles="@(TargetFiles)" DestinationFolder="..\..\..\objs" />
|
<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>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
12
docs/CHANGES
12
docs/CHANGES
|
@ -60,6 +60,18 @@ CHANGES BETWEEN 2.10.4 and 2.11.0
|
||||||
|
|
||||||
This work was Priyesh Kumar's GSoC 2020 project.
|
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.
|
||||||
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,9 @@ I. Standard procedure
|
||||||
* You need to add the directory `include' to your include path when
|
* You need to add the directory `include' to your include path when
|
||||||
compiling the library.
|
compiling the library.
|
||||||
|
|
||||||
* FreeType 2 is made of several components; each of them is located
|
* FreeType 2 is made of several components; each of them is located
|
||||||
in a subdirectory of `freetype2/src'. For example,
|
in a subdirectory of `freetype/src'. For example,
|
||||||
`freetype2/src/truetype/' contains the TrueType font driver.
|
`freetype/src/truetype/' contains the TrueType font driver.
|
||||||
|
|
||||||
* DO NOT COMPILE ALL C FILES! Rather, compile the following ones.
|
* 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
|
1. Copy all files in current directory
|
||||||
|
|
||||||
cp freetype2/src/base/*.[hc] .
|
cp freetype/src/base/*.[hc] .
|
||||||
cp freetype2/src/raster1/*.[hc] .
|
cp freetype/src/raster1/*.[hc] .
|
||||||
cp freetype2/src/smooth/*.[hc] .
|
cp freetype/src/smooth/*.[hc] .
|
||||||
etc.
|
etc.
|
||||||
|
|
||||||
2. Compile sources
|
2. Compile sources
|
||||||
|
|
71
docs/release
71
docs/release
|
@ -1,26 +1,26 @@
|
||||||
How to prepare a new release
|
How to prepare a new release
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
. include/freetype/freetype.h: Update FREETYPE_MAJOR, FREETYPE_MINOR,
|
. include/freetype/freetype.h: Update `FREETYPE_MAJOR`,
|
||||||
and FREETYPE_PATCH.
|
`FREETYPE_MINOR`, and `FREETYPE_PATCH`.
|
||||||
|
|
||||||
. Update version numbers in all files where necessary (for example, do
|
. 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.
|
. docs/CHANGES: Document differences to last release.
|
||||||
|
|
||||||
. README: Update.
|
. 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
|
. ChangeLog: Announce new release (both in the 'freetype' and
|
||||||
freetype2-demos modules).
|
'freetype-demos' repositories).
|
||||||
|
|
||||||
. Clone the git archive to another directory with
|
. 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
|
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++.
|
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).
|
above).
|
||||||
|
|
||||||
. Run src/tools/chktrcmp.py and check that there are no undefined
|
. Run `src/tools/chktrcmp.py` and check that there are no undefined
|
||||||
trace_XXXX macros.
|
`trace_XXXX` macros.
|
||||||
|
|
||||||
. After pushing the new release, tag the git repositories (freetype2,
|
. After pushing the new release, tag the git repositories ('freetype',
|
||||||
freetype2-demos) with
|
'freetype-demos') with
|
||||||
|
|
||||||
git tag VER-<version> -m "" -u <committer>
|
git tag VER-<version> -m "" -u <committer>
|
||||||
|
|
||||||
|
@ -54,29 +54,29 @@ How to prepare a new release
|
||||||
|
|
||||||
git clean -ndx
|
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).
|
if necessary).
|
||||||
|
|
||||||
. Say `make dist' in both the freetype2 and freetype2-demos modules
|
. Say `make dist` in both the 'freetype' and 'freetype-demos'
|
||||||
to generate the .tar.gz, .tar.xz, and .zip files.
|
repositories to generate the `.tar.gz`, `.tar.xz`, and `.zip` files.
|
||||||
|
|
||||||
. Create the doc bundles (freetype-doc-<version>.tar.gz,
|
. Create the doc bundles (`freetype-doc-<version>.tar.gz`,
|
||||||
freetype-doc-<version>.tar.xz, ftdoc<version>.zip). This is
|
`freetype-doc-<version>.tar.xz`, `ftdoc<version>.zip`). This is
|
||||||
everything in
|
everything in
|
||||||
|
|
||||||
<freetype-web git repository>/freetype2/docs
|
<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!
|
zip!
|
||||||
|
|
||||||
. Run the following script (with updated `$VERSION', `$SAVANNAH_USER',
|
. Run the following script (with updated `$VERSION`, `$SAVANNAH_USER`,
|
||||||
and $SOURCEFORGE_USER variables) to sign and upload the bundles to
|
and `$SOURCEFORGE_USER` variables) to sign and upload the bundles to
|
||||||
both Savannah and SourceForge. The signing code has been taken from
|
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
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION=2.5.1
|
VERSION=2.10.4
|
||||||
SAVANNAH_USER=wl
|
SAVANNAH_USER=wl
|
||||||
SOURCEFORGE_USER=wlemb
|
SOURCEFORGE_USER=wlemb
|
||||||
|
|
||||||
|
@ -155,12 +155,13 @@ How to prepare a new release
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
||||||
. Prepare a README for SourceForge and upload it with the following
|
. Prepare a `README` file for SourceForge and upload it with the
|
||||||
script (with updated `$VERSION' and $SOURCEFORGE_USER variables).
|
following script (with updated `$VERSION` and `$SOURCEFORGE_USER`
|
||||||
|
variables).
|
||||||
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION=2.5.1
|
VERSION=2.10.4
|
||||||
SOURCEFORGE_USER=wlemb
|
SOURCEFORGE_USER=wlemb
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
@ -170,22 +171,22 @@ How to prepare a new release
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
||||||
. On SourceForge, tag the just uploaded `ftXXX.zip' and
|
. On SourceForge, tag the just uploaded `ftXXX.zip` and
|
||||||
`freetype-XXX.tar.xz' files as the default files to download for
|
`freetype-XXX.tar.xz` files as the default files to download for
|
||||||
`Windows' and `Others', respectively.
|
'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
|
<freetype-web git repository>/freetype2/docs/reference
|
||||||
|
|
||||||
. Update the `freetype-web' repository. `git push' then automatically
|
. Update the 'freetype-web' repository. `git push` then automatically
|
||||||
triggers an update of the public web pages within ten minutes, due
|
triggers an update of the public web pages within ten minutes due to
|
||||||
to a cron script (on wl@freedesktop.org) that rsyncs with
|
a cron script (on 'wl@freedesktop.org') that rsyncs with
|
||||||
|
|
||||||
freedesktop.org://srv/freetype.freedesktop.org/www
|
freedesktop.org://srv/freetype.freedesktop.org/www
|
||||||
|
|
||||||
. Announce new release on freetype-announce@nongnu.org and to relevant
|
. Announce new release on 'freetype-announce@nongnu.org' and to
|
||||||
newsgroups.
|
relevant newsgroups.
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue