summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2020-01-09 11:56:12 +0000
committerRichard Hughes <richard@hughsie.com>2020-01-10 09:06:26 +0000
commiteb37b7963f2c600c205022ee6b2456212dc53590 (patch)
tree47ed1bccb7bfb365173f9572f498bdd32bd6cc7b
parent641f292cc0a3da85cbf815237f4499c0f6b9acf2 (diff)
trivial: Remove the I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE requirement
-rw-r--r--backends/zypp/pk-backend-zypp.cpp1
-rw-r--r--client/meson.build5
-rw-r--r--contrib/command-not-found/meson.build1
-rw-r--r--contrib/gstreamer-plugin/meson.build1
-rw-r--r--contrib/gtk-module/meson.build1
-rw-r--r--lib/packagekit-glib2/meson.build1
-rw-r--r--lib/packagekit-glib2/packagekit.h4
7 files changed, 1 insertions, 13 deletions
diff --git a/backends/zypp/pk-backend-zypp.cpp b/backends/zypp/pk-backend-zypp.cpp
index e8d2348d5..cdcfc181d 100644
--- a/backends/zypp/pk-backend-zypp.cpp
+++ b/backends/zypp/pk-backend-zypp.cpp
@@ -43,7 +43,6 @@
#include <gmodule.h>
#include <pk-backend.h>
#include <pk-shared.h>
-#define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
#include <packagekit-glib2/packagekit.h>
#include <packagekit-glib2/pk-enum.h>
diff --git a/client/meson.build b/client/meson.build
index b1ecb760a..ea2401b00 100644
--- a/client/meson.build
+++ b/client/meson.build
@@ -5,7 +5,6 @@ executable(
install: true,
c_args: [
'-DPK_COMPILATION=1',
- '-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE=1',
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
'-DPACKAGE_LOCALE_DIR="@0@"'.format(package_locale_dir),
'-DVERSION="@0@"'.format(meson.project_version()),
@@ -19,7 +18,6 @@ executable(
install: true,
c_args: [
'-DPK_COMPILATION=1',
- '-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE=1',
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
'-DPACKAGE_LOCALE_DIR="@0@"'.format(package_locale_dir),
'-DVERSION="@0@"'.format(meson.project_version()),
@@ -38,8 +36,7 @@ if get_option('offline_update')
install_dir: get_option('libexecdir'),
c_args: [
'-DPK_COMPILATION=1',
- '-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE=1',
- '-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
+ '-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
'-DPACKAGE_LOCALE_DIR="@0@"'.format(package_locale_dir),
]
)
diff --git a/contrib/command-not-found/meson.build b/contrib/command-not-found/meson.build
index 0d3477009..b0f4f17b0 100644
--- a/contrib/command-not-found/meson.build
+++ b/contrib/command-not-found/meson.build
@@ -5,7 +5,6 @@ executable(
install: true,
install_dir: get_option('libexecdir'),
c_args: [
- '-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE=1',
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
'-DG_LOG_DOMAIN="PackageKit"',
'-DPACKAGE_LOCALE_DIR="@0@"'.format(get_option('localedir')),
diff --git a/contrib/gstreamer-plugin/meson.build b/contrib/gstreamer-plugin/meson.build
index 59a04f327..00385f6c6 100644
--- a/contrib/gstreamer-plugin/meson.build
+++ b/contrib/gstreamer-plugin/meson.build
@@ -12,7 +12,6 @@ executable(
install: true,
install_dir: get_option('libexecdir'),
c_args: [
- '-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE=1',
'-DVERSION="@0@"'.format(meson.project_version()),
]
)
diff --git a/contrib/gtk-module/meson.build b/contrib/gtk-module/meson.build
index c946c7591..024a28019 100644
--- a/contrib/gtk-module/meson.build
+++ b/contrib/gtk-module/meson.build
@@ -14,7 +14,6 @@ shared_module(
install: true,
install_dir: join_paths(get_option('libdir'), 'gtk-3.0', 'modules'),
c_args: [
- '-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE=1',
'-DVERSION="@0@"'.format(meson.project_version()),
]
)
diff --git a/lib/packagekit-glib2/meson.build b/lib/packagekit-glib2/meson.build
index 19ab550cd..c76bbef86 100644
--- a/lib/packagekit-glib2/meson.build
+++ b/lib/packagekit-glib2/meson.build
@@ -196,7 +196,6 @@ if get_option('gobject_introspection')
symbol_prefix: 'pk',
extra_args: [
'-DPK_COMPILATION=1',
- '-DI_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE',
],
dependencies: [
glib_dep,
diff --git a/lib/packagekit-glib2/packagekit.h b/lib/packagekit-glib2/packagekit.h
index 4b2d70712..b88b2a73a 100644
--- a/lib/packagekit-glib2/packagekit.h
+++ b/lib/packagekit-glib2/packagekit.h
@@ -22,10 +22,6 @@
#ifndef __PACKAGEKIT_H__
#define __PACKAGEKIT_H__
-#ifndef I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
-#error You have to define I_KNOW_THE_PACKAGEKIT_GLIB2_API_IS_SUBJECT_TO_CHANGE
-#endif
-
#define __PACKAGEKIT_H_INSIDE__
#include <packagekit-glib2/pk-category.h>