mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-04-25 08:30:43 +02:00
Typos found by codespell
This commit is contained in:
parent
d97db4fae4
commit
12acd66a78
19 changed files with 37 additions and 37 deletions
|
|
@ -1394,7 +1394,7 @@ Sun Jun 17 17:48:45 2001 Tim Janik <timj@gtk.org>
|
|||
|
||||
2000-06-27 Martijn van Beers <martijn@earthling.net>
|
||||
|
||||
* data/gnomeconfig.pce: check for existance with --cflags
|
||||
* data/gnomeconfig.pce: check for existence with --cflags
|
||||
instead of --libs
|
||||
* pkg.m4: remove stray debug echo command
|
||||
add PKG_CHECK_CFLAGS macro
|
||||
|
|
|
|||
4
NEWS
4
NEWS
|
|
@ -49,7 +49,7 @@ pkg-config 0.29
|
|||
output can be used verbatim in subsequent shell commands. Thanks to
|
||||
Marek Kasik for the fix. (#67904)
|
||||
- Fixed a regression from 0.28 in -L flag handling on Windows. A .libs
|
||||
suffix was inadvertantly being added to the library path.
|
||||
suffix was inadvertently being added to the library path.
|
||||
- Added a --validate option to check pc file syntax. This works just
|
||||
like --exists, but package dependencies are disabled. (#7000)
|
||||
- Added the PKG_PREREQ autoconf macro. Whereas PKG_PROG_PKG_CONFIG is
|
||||
|
|
@ -219,7 +219,7 @@ pkg-config 0.21
|
|||
- Fix build problems with !gcc due to always passing -Wall
|
||||
- Documentation fixes
|
||||
- We now always add the Cflags from packages we depend on, whether
|
||||
they are public or private dependencies. The discussion surrouding
|
||||
they are public or private dependencies. The discussion surrounding
|
||||
this change can be found in http://bugs.debian.org/340904 .
|
||||
- Add internal pkg-config package which can be queried for version
|
||||
number and other information.
|
||||
|
|
|
|||
4
README
4
README
|
|
@ -7,7 +7,7 @@ To use pkg-config, do something like the following in your configure.ac
|
|||
|
||||
PKG_CHECK_MODULES([GNOME], [gtk > 1.2.8 gnomeui >= 1.2.0])
|
||||
|
||||
This puts the neccesary include flags to compile/link something against
|
||||
This puts the necessary include flags to compile/link something against
|
||||
libgnomeui and all its dependencies in $(GNOME_CFLAGS), and the -L/-l flags
|
||||
for linking in $(GNOME_LIBS).
|
||||
|
||||
|
|
@ -19,7 +19,7 @@ Users can also define the GNOME_CFLAGS and GNOME_LIBS environment variables
|
|||
if they think they know better, pkg-config will not be called if they do
|
||||
that.
|
||||
|
||||
The "gtk > 1.2.8" part is only neccesary if you want to specifically check
|
||||
The "gtk > 1.2.8" part is only necessary if you want to specifically check
|
||||
if libgtk is version 1.2.8 or higher. Otherwise, the flags for gtk
|
||||
will be included automatically, since libgnomeui depends on gtk.
|
||||
So you could just say:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib
|
|||
includedir=${prefix}/include
|
||||
|
||||
Name: Xau
|
||||
Description: X authorization file management libary
|
||||
Description: X authorization file management library
|
||||
Version: 1.0.6
|
||||
Requires: xproto
|
||||
Cflags: -I${includedir}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ In the bug report please include:
|
|||
of software that can be downloaded.
|
||||
|
||||
* If the bug was a crash, the exact text that was printed out
|
||||
when the crash occured.
|
||||
when the crash occurred.
|
||||
|
||||
* Further information such as stack traces may be useful, but
|
||||
is not necessary.
|
||||
|
|
|
|||
|
|
@ -628,7 +628,7 @@ AC_CACHE_CHECK([for growing stack pointer],glib_cv_stack_grows,[
|
|||
])
|
||||
|
||||
dnl AC_C_INLINE is useless to us since it bails out too early, we need to
|
||||
dnl truely know which ones of `inline', `__inline' and `__inline__' are
|
||||
dnl truly know which ones of `inline', `__inline' and `__inline__' are
|
||||
dnl actually supported.
|
||||
AC_CACHE_CHECK([for __inline],glib_cv_has__inline,[
|
||||
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
|
||||
|
|
@ -1604,8 +1604,8 @@ int main () {
|
|||
else
|
||||
G_MODULE_BROKEN_RTLD_GLOBAL=0
|
||||
fi
|
||||
dnl *** check whether we need preceeding underscores
|
||||
AC_CACHE_CHECK([for preceeding underscore in symbols],
|
||||
dnl *** check whether we need preceding underscores
|
||||
AC_CACHE_CHECK([for preceding underscore in symbols],
|
||||
glib_cv_uscore,[
|
||||
AC_TRY_RUN([#include <dlfcn.h>
|
||||
int glib_underscore_test (void) { return 42; }
|
||||
|
|
@ -1827,10 +1827,10 @@ FUNC_NO_LOCALTIME_R="the 'g_date_set_time' function will not be MT-safe
|
|||
|
||||
AIX_COMPILE_INFO="AIX's C compiler needs to be called by a different name, when
|
||||
linking threaded applications. As GLib cannot do that
|
||||
automatically, you will get an linkg error everytime you are
|
||||
automatically, you will get an linkg error every time you are
|
||||
not using the right compiler. In that case you have to relink
|
||||
with the right compiler. Ususally just '_r' is appended
|
||||
to the compiler name."
|
||||
with the right compiler. Usually just '_r' is appended to the
|
||||
compiler name."
|
||||
|
||||
dnl determination of thread implementation
|
||||
dnl ***************************************
|
||||
|
|
|
|||
|
|
@ -775,7 +775,7 @@ g_convert_with_fallback (const gchar *str,
|
|||
inbytes_remaining = strlen (p);
|
||||
break;
|
||||
}
|
||||
/* fall thru if p is NULL */
|
||||
/* fall through if p is NULL */
|
||||
default:
|
||||
{
|
||||
int errsv = errno;
|
||||
|
|
|
|||
|
|
@ -1048,7 +1048,7 @@ g_date_prepare_to_parse (const gchar *str,
|
|||
dmy_order[i] = G_DATE_DAY;
|
||||
break;
|
||||
case 76:
|
||||
using_twodigit_years = TRUE; /* FALL THRU */
|
||||
using_twodigit_years = TRUE; /* FALL THROUGH */
|
||||
case 1976:
|
||||
dmy_order[i] = G_DATE_YEAR;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -2542,7 +2542,7 @@ g_get_current_dir (void)
|
|||
}
|
||||
|
||||
|
||||
/* NOTE : Keep this part last to ensure nothing in this file uses thn
|
||||
/* NOTE : Keep this part last to ensure nothing in this file uses the
|
||||
* below binary compatibility versions.
|
||||
*/
|
||||
#if defined (G_OS_WIN32) && !defined (_WIN64)
|
||||
|
|
|
|||
|
|
@ -1868,7 +1868,7 @@ read_again:
|
|||
goto done;
|
||||
}
|
||||
break;
|
||||
case '\0': /* Embeded null in input */
|
||||
case '\0': /* Embedded null in input */
|
||||
line_length = nextchar - use_buf->str;
|
||||
got_term_len = 1;
|
||||
goto done;
|
||||
|
|
|
|||
|
|
@ -1293,7 +1293,7 @@ escape_string (GString *string)
|
|||
* <term><envar>G_MESSAGES_PREFIXED</envar></term>
|
||||
* <listitem>
|
||||
* A :-separated list of log levels for which messages should
|
||||
* be prefixed by the program name and PID of the aplication.
|
||||
* be prefixed by the program name and PID of the application.
|
||||
* </listitem>
|
||||
* </varlistentry>
|
||||
* <varlistentry>
|
||||
|
|
|
|||
|
|
@ -517,7 +517,7 @@ tokenize_command_line (const gchar *command_line,
|
|||
ensure_token (¤t_token);
|
||||
g_string_append_c (current_token, *p);
|
||||
|
||||
/* FALL THRU */
|
||||
/* FALL THROUGH */
|
||||
case '\\':
|
||||
current_quote = *p;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -964,7 +964,7 @@ thread_memory_magazine2_free (ThreadMemory *tmem,
|
|||
* @block_size: the number of bytes to allocate
|
||||
*
|
||||
* Allocates a block of memory from the slice allocator.
|
||||
* The block adress handed out can be expected to be aligned
|
||||
* The block address handed out can be expected to be aligned
|
||||
* to at least <literal>1 * sizeof (void*)</literal>,
|
||||
* though in general slices are 2 * sizeof (void*) bytes aligned,
|
||||
* if a malloc() fallback implementation is used instead,
|
||||
|
|
@ -1475,18 +1475,18 @@ static void
|
|||
smc_notify_alloc (void *pointer,
|
||||
size_t size)
|
||||
{
|
||||
size_t adress = (size_t) pointer;
|
||||
size_t address = (size_t) pointer;
|
||||
if (pointer)
|
||||
smc_tree_insert (adress, size);
|
||||
smc_tree_insert (address, size);
|
||||
}
|
||||
|
||||
#if 0
|
||||
static void
|
||||
smc_notify_ignore (void *pointer)
|
||||
{
|
||||
size_t adress = (size_t) pointer;
|
||||
size_t address = (size_t) pointer;
|
||||
if (pointer)
|
||||
smc_tree_remove (adress);
|
||||
smc_tree_remove (address);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -1494,13 +1494,13 @@ static int
|
|||
smc_notify_free (void *pointer,
|
||||
size_t size)
|
||||
{
|
||||
size_t adress = (size_t) pointer;
|
||||
size_t address = (size_t) pointer;
|
||||
SmcVType real_size;
|
||||
gboolean found_one;
|
||||
|
||||
if (!pointer)
|
||||
return 1; /* ignore */
|
||||
found_one = smc_tree_lookup (adress, &real_size);
|
||||
found_one = smc_tree_lookup (address, &real_size);
|
||||
if (!found_one)
|
||||
{
|
||||
fprintf (stderr, "GSlice: MemChecker: attempt to release non-allocated block: %p size=%" G_GSIZE_FORMAT "\n", pointer, size);
|
||||
|
|
@ -1511,7 +1511,7 @@ smc_notify_free (void *pointer,
|
|||
fprintf (stderr, "GSlice: MemChecker: attempt to release block with invalid size: %p size=%" G_GSIZE_FORMAT " invalid-size=%" G_GSIZE_FORMAT "\n", pointer, real_size, size);
|
||||
return 0;
|
||||
}
|
||||
if (!smc_tree_remove (adress))
|
||||
if (!smc_tree_remove (address))
|
||||
{
|
||||
fprintf (stderr, "GSlice: MemChecker: attempt to release non-allocated block: %p size=%" G_GSIZE_FORMAT "\n", pointer, size);
|
||||
return 0;
|
||||
|
|
|
|||
|
|
@ -1776,7 +1776,7 @@ g_execute (const gchar *file,
|
|||
*/
|
||||
got_eacces = TRUE;
|
||||
|
||||
/* FALL THRU */
|
||||
/* FALL THROUGH */
|
||||
|
||||
case ENOENT:
|
||||
#ifdef ESTALE
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@ class GTestCase(object):
|
|||
txt = self._error_text(self._case)
|
||||
details['error'] = Content(mime_utf8, lambda:[txt])
|
||||
if self._get_outcome() == 'addSuccess':
|
||||
# Sucessful tests may have performance metrics.
|
||||
# Successful tests may have performance metrics.
|
||||
perflist = list_children(self._case, 'performance')
|
||||
if perflist:
|
||||
presults = []
|
||||
|
|
|
|||
|
|
@ -64,8 +64,8 @@ g_thread_abort (gint status,
|
|||
}
|
||||
|
||||
/* Starting with Vista and Windows 2008, we have access to the
|
||||
* CONDITION_VARIABLE and SRWLock primatives on Windows, which are
|
||||
* pretty reasonable approximations of the primatives specified in
|
||||
* CONDITION_VARIABLE and SRWLock primitives on Windows, which are
|
||||
* pretty reasonable approximations of the primitives specified in
|
||||
* POSIX 2001 (pthread_cond_t and pthread_mutex_t respectively).
|
||||
*
|
||||
* Both of these types are structs containing a single pointer. That
|
||||
|
|
@ -89,7 +89,7 @@ g_thread_abort (gint status,
|
|||
* runtime
|
||||
*
|
||||
* - if the symbols are not available, emulate them using other
|
||||
* primatives
|
||||
* primitives
|
||||
*
|
||||
* Using this approach also allows us to easily build a GLib that lacks
|
||||
* support for Windows XP or to remove this code entirely when XP is no
|
||||
|
|
|
|||
|
|
@ -955,7 +955,7 @@ g_ucs4_to_utf8 (const gunichar *str,
|
|||
* Note that the input is expected to be already in native endianness,
|
||||
* an initial byte-order-mark character is not handled specially.
|
||||
* g_convert() can be used to convert a byte buffer of UTF-16 data of
|
||||
* ambiguous endianess.
|
||||
* ambiguous endianness.
|
||||
*
|
||||
* Further note that this function does not validate the result
|
||||
* string; it may e.g. include embedded NUL characters. The only
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ main ()
|
|||
glib_major_version, glib_minor_version, glib_micro_version);
|
||||
printf ("*** was found! If pkg-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
|
||||
|
|
@ -149,7 +149,7 @@ main ()
|
|||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
|
||||
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
|
|
@ -191,7 +191,7 @@ main ()
|
|||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
|
||||
echo "*** exact error that occurred. This usually means GLIB is incorrectly installed."])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
|
|
|
|||
2
parse.c
2
parse.c
|
|
@ -47,7 +47,7 @@ gboolean msvc_syntax = FALSE;
|
|||
* be delimited with '\n', '\r', '\n\r', or '\r\n'. The delimiter
|
||||
* is not written into the buffer. Text after a '#' character is treated as
|
||||
* a comment and skipped. '\' can be used to escape a # character.
|
||||
* '\' proceding a line delimiter combines adjacent lines. A '\' proceding
|
||||
* '\' preceding a line delimiter combines adjacent lines. A '\' preceding
|
||||
* any other character is ignored and written into the output buffer
|
||||
* unmodified.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue