summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Fontenelle <rafaelff@gnome.org>2020-07-11 09:46:38 -0300
committerPino Toscano <toscano.pino@tiscali.it>2020-07-28 08:40:47 +0000
commitafc1a77aae80ee692afcd536c8b21dd170d1bbac (patch)
tree1c8ef5b954b7a864d20c826765f478413f8c4f05
parent66a0c3862b2c9909f76ea69597d2468aa907c7d9 (diff)
downloadlibosinfo-afc1a77aae80ee692afcd536c8b21dd170d1bbac.tar.gz
Fix misspellings
Signed-off-by: Rafael Fontenelle <rafaelff@gnome.org>
-rw-r--r--NEWS6
-rw-r--r--meson.build2
-rw-r--r--meson_options.txt2
-rw-r--r--osinfo/osinfo_db.c2
-rw-r--r--osinfo/osinfo_filter.c2
-rw-r--r--osinfo/osinfo_filter.h2
-rw-r--r--osinfo/osinfo_install_config.c8
-rw-r--r--osinfo/osinfo_install_script.c2
-rw-r--r--osinfo/osinfo_list.c8
-rw-r--r--osinfo/osinfo_os.c2
-rw-r--r--tests/dbdata/os/libosinfo.org/test-os-drivers-priority.xml2
-rw-r--r--tests/test-db.c4
12 files changed, 21 insertions, 21 deletions
diff --git a/NEWS b/NEWS
index 9026819..b78c2be 100644
--- a/NEWS
+++ b/NEWS
@@ -517,12 +517,12 @@ Changes since 0.2.0:
- Fixes to doc build.
- Install script:
- Add get_config_param method.
- - Differenciate between expected/output script names.
+ - Differentiate between expected/output script names.
- Add more utility functions.
- Add 'installer-reboots' parameter to medias.
- osinfo-detect does not die of DB loading errors anymore.
- More type-specific entity value getters/setters.
-- Fixe and update RNG file.
+- Fix and update RNG file.
- Add 'subsystem' property/attribute to devices.
0.2.0 - Aug 31, 2012
@@ -632,7 +632,7 @@ Changes since 0.0.4:
- Add all metadata from default path, not just OS.
- List supported audio devices for Windows and Fedora.
- Specify 'derives-from' relationship for Fedora OSs.
-- Add API to retreive all supported devices for an OS.
+- Add API to retrieve all supported devices for an OS.
- Fix some potential issues related to memory allocation/alignment.
0.0.4 - Dec 19, 2011
diff --git a/meson.build b/meson.build
index 41af20a..e8d9a19 100644
--- a/meson.build
+++ b/meson.build
@@ -340,7 +340,7 @@ libosinfo_micro_version = libosinfo_version.split('.')[2].to_int()
libosinfo_interface_age = 0
libosinfo_binary_age = 1000 * libosinfo_major_version + libosinfo_minor_version
-# Mantain versin scheme with libtool
+# Maintain version scheme with libtool
libosinfo_soversion = 0
libosinfo_version = '@0@.@1@.@2@'.format(
libosinfo_soversion,
diff --git a/meson_options.txt b/meson_options.txt
index cd7dc61..13fc358 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,7 +1,7 @@
option('enable-gtk-doc',
type: 'boolean',
value: true,
- description: 'Enable generating te API reference'
+ description: 'Enable generating the API reference'
)
option('enable-introspection',
diff --git a/osinfo/osinfo_db.c b/osinfo/osinfo_db.c
index 03f6416..418e180 100644
--- a/osinfo/osinfo_db.c
+++ b/osinfo/osinfo_db.c
@@ -1038,7 +1038,7 @@ static void osinfo_db_get_property_values_in_entity(gpointer data, gpointer opaq
static GList *osinfo_db_unique_values_for_property_in_entity(OsinfoList *entities, const gchar *propName)
{
- /* Delibrately no free func for key, since we return those to caller */
+ /* Deliberately no free func for key, since we return those to caller */
GHashTable *values = g_hash_table_new(g_str_hash, g_str_equal);
GList *ret;
struct osinfo_db_populate_values_args args = { values, propName };
diff --git a/osinfo/osinfo_filter.c b/osinfo/osinfo_filter.c
index cb98427..4cb3180 100644
--- a/osinfo/osinfo_filter.c
+++ b/osinfo/osinfo_filter.c
@@ -184,7 +184,7 @@ GList *osinfo_filter_get_constraint_keys(OsinfoFilter *filter)
* @filter: a filter object
* @propName: the name of the key
*
- * Get a list values for filter constriants with the named key
+ * Get a list values for filter constraints with the named key
*
* Returns: (transfer container)(element-type utf8): List of constraint values
*/
diff --git a/osinfo/osinfo_filter.h b/osinfo/osinfo_filter.h
index edea281..04d381a 100644
--- a/osinfo/osinfo_filter.h
+++ b/osinfo/osinfo_filter.h
@@ -1,5 +1,5 @@
/*
- * libosinfo: a mechanism to filter enities
+ * libosinfo: a mechanism to filter entities
*
* Copyright (C) 2009-2020 Red Hat, Inc.
*
diff --git a/osinfo/osinfo_install_config.c b/osinfo/osinfo_install_config.c
index 20a92a7..aa65b32 100644
--- a/osinfo/osinfo_install_config.c
+++ b/osinfo/osinfo_install_config.c
@@ -480,7 +480,7 @@ void osinfo_install_config_set_reg_login(OsinfoInstallConfig *config,
* osinfo_install_config_get_reg_login:
* @config: the install config
*
- * Returns: The value of #OSINFO_INSTALL_CONFIG_PROP_REG_LOGIN paramater,
+ * Returns: The value of #OSINFO_INSTALL_CONFIG_PROP_REG_LOGIN parameter,
* or NULL.
*
* Since: 0.2.8
@@ -513,7 +513,7 @@ void osinfo_install_config_set_reg_password(OsinfoInstallConfig *config,
* osinfo_install_config_get_reg_password:
* @config: the install config
*
- * Returns: The value of #OSINFO_INSTALL_CONFIG_PROP_REG_PASSWORD paramater,
+ * Returns: The value of #OSINFO_INSTALL_CONFIG_PROP_REG_PASSWORD parameter,
* or NULL.
*
* Since: 0.2.8
@@ -546,7 +546,7 @@ void osinfo_install_config_set_reg_product_key(OsinfoInstallConfig *config,
* osinfo_install_config_get_reg_product_key:
* @config: the install config
*
- * Returns: The value of #OSINFO_INSTALL_CONFIG_PROP_REG_PRODUCTKEY paramater,
+ * Returns: The value of #OSINFO_INSTALL_CONFIG_PROP_REG_PRODUCTKEY parameter,
* or NULL.
*
* Since: 0.2.8
@@ -753,7 +753,7 @@ const gchar *osinfo_install_config_get_avatar_disk(OsinfoInstallConfig *config)
* Specify the disk on which drivers to be installed at the very beginning of
* installation, are available. This is usually needed for devices for which the
* OS in question does not have out of the box support for and devices are
- * required/prefered to be available during actual installation.
+ * required/preferred to be available during actual installation.
*
* Please read documentation on #osinfo_install_config_set_target_disk() for
* explanation on the format of @disk string.
diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
index 4ce4b10..1c9e663 100644
--- a/osinfo/osinfo_install_script.c
+++ b/osinfo/osinfo_install_script.c
@@ -2136,7 +2136,7 @@ OsinfoPathFormat osinfo_install_script_get_path_format(OsinfoInstallScript *scri
*
* Whether install script can install drivers at the very beginning of
* installation. This is needed for devices for which the OS in question does
- * not have out of the box support for and devices are required/prefered to be
+ * not have out of the box support for and devices are required/preferred to be
* available during actual installation.
*
* Returns: TRUE if install script supports pre-installable drivers, FALSE otherwise.
diff --git a/osinfo/osinfo_list.c b/osinfo/osinfo_list.c
index 4310b6e..da29067 100644
--- a/osinfo/osinfo_list.c
+++ b/osinfo/osinfo_list.c
@@ -278,7 +278,7 @@ void osinfo_list_add(OsinfoList *list, OsinfoEntity *entity)
* @filter: (transfer none): filter to process the source with
*
* Adds all entities from @source which are matched by @filter. Using one
- * of the constructors in a subclass is preferrable
+ * of the constructors in a subclass is preferable
* to this method.
*/
void osinfo_list_add_filtered(OsinfoList *list, OsinfoList *source, OsinfoFilter *filter)
@@ -305,7 +305,7 @@ void osinfo_list_add_filtered(OsinfoList *list, OsinfoList *source, OsinfoFilter
*
* Computes the intersection between @sourceOne and @sourceTwo and
* adds the resulting list of entities to the @list. Using one
- * of the constructors in a subclass is preferrable
+ * of the constructors in a subclass is preferable
* to this method.
*/
void osinfo_list_add_intersection(OsinfoList *list, OsinfoList *sourceOne, OsinfoList *sourceTwo)
@@ -354,7 +354,7 @@ void osinfo_list_add_intersection(OsinfoList *list, OsinfoList *sourceOne, Osinf
*
* Computes the union between @sourceOne and @sourceTwo and
* adds the resulting list of entities to the @list. Using one
- * of the constructors in a subclass is preferrable
+ * of the constructors in a subclass is preferable
* to this method.
*/
void osinfo_list_add_union(OsinfoList *list, OsinfoList *sourceOne, OsinfoList *sourceTwo)
@@ -397,7 +397,7 @@ void osinfo_list_add_union(OsinfoList *list, OsinfoList *sourceOne, OsinfoList *
* @source: (transfer none): the list to add
*
* Adds all entities from @source to @list. Using one
- * of the constructors in a subclass is preferrable
+ * of the constructors in a subclass is preferable
* to this method.
*/
void osinfo_list_add_all(OsinfoList *list, OsinfoList *source)
diff --git a/osinfo/osinfo_os.c b/osinfo/osinfo_os.c
index b868503..a23a319 100644
--- a/osinfo/osinfo_os.c
+++ b/osinfo/osinfo_os.c
@@ -1352,7 +1352,7 @@ static void get_cloud_image_username_cb(OsinfoProduct *product, gpointer user_da
* Gets the username expected to be passed to the cloud image when performing
* installation.
*
- * Returns: (transfer none): ther username, if present. Otherwise, NULL.
+ * Returns: (transfer none): the username, if present. Otherwise, NULL.
*/
const gchar *osinfo_os_get_cloud_image_username(OsinfoOs *os)
{
diff --git a/tests/dbdata/os/libosinfo.org/test-os-drivers-priority.xml b/tests/dbdata/os/libosinfo.org/test-os-drivers-priority.xml
index 510e420..ba0a7b2 100644
--- a/tests/dbdata/os/libosinfo.org/test-os-drivers-priority.xml
+++ b/tests/dbdata/os/libosinfo.org/test-os-drivers-priority.xml
@@ -10,7 +10,7 @@
<file>prioritydefault</file>
</driver>
- <driver signed="false" pre-installable="true" location="https://libosinfo.org/exmaple/drivers/" arch="i686" priority="100">
+ <driver signed="false" pre-installable="true" location="https://libosinfo.org/example/drivers/" arch="i686" priority="100">
<file>priority100</file>
</driver>
</os>
diff --git a/tests/test-db.c b/tests/test-db.c
index cb26d41..79fe53e 100644
--- a/tests/test-db.c
+++ b/tests/test-db.c
@@ -481,7 +481,7 @@ test_identify_media(void)
g_assert_cmpstr(osinfo_media_get_architecture(media), ==, "all");
g_object_unref(media);
- /* Matching against a known architecture, which has to have precendence */
+ /* Matching against a known architecture, which has to have precedence */
media = osinfo_media_new("foo", "i686");
osinfo_entity_set_param(OSINFO_ENTITY(media),
OSINFO_MEDIA_PROP_VOLUME_ID,
@@ -547,7 +547,7 @@ test_identify_tree(void)
g_assert_cmpstr(osinfo_tree_get_architecture(tree), ==, "all");
g_object_unref(tree);
- /* Matching against a known architecture, which has to have precendence */
+ /* Matching against a known architecture, which has to have precedence */
tree = create_tree("i686", TRUE);
g_assert_true(osinfo_db_identify_tree(db, tree));
g_assert_cmpstr(osinfo_tree_get_architecture(tree), ==, "i686");