[pango/pango2: 10/14] Add platform-specific headers




commit 0fa4a74ebaf70f79ca24d566e1848e5aa17f1061
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 8 21:28:24 2022 -0400

    Add platform-specific headers
    
    These include pango.h and the header
    for the platform fontmap implementation.

 pango/meson.build    |  3 +++
 pango/pangolinux.h   | 23 +++++++++++++++++++++++
 pango/pangomacos.h   | 23 +++++++++++++++++++++++
 pango/pangowindows.h | 23 +++++++++++++++++++++++
 4 files changed, 72 insertions(+)
---
diff --git a/pango/meson.build b/pango/meson.build
index 9967b433..68294d64 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -117,6 +117,7 @@ endif
 
 if has_core_text
   pango_headers += [
+    'pangomacos.h',
     'pangocoretext-fontmap.h',
   ]
 
@@ -127,6 +128,7 @@ endif
 
 if build_pangoft2
   pango_headers += [
+    'pangolinux.h',
     'pangofc-fontmap.h',
   ]
 
@@ -142,6 +144,7 @@ endif
 
 if host_system == 'windows'
   pango_headers += [
+    'pangowindows.h',
     'pangodwrite-hbfontmap.h',
   ]
 
diff --git a/pango/pangolinux.h b/pango/pangolinux.h
new file mode 100644
index 00000000..944b4c28
--- /dev/null
+++ b/pango/pangolinux.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2022 Red Hat, Inc.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include <pango/pango.h>
+#include <pango/pangofc-fontmap.h>
diff --git a/pango/pangomacos.h b/pango/pangomacos.h
new file mode 100644
index 00000000..ad1c3a22
--- /dev/null
+++ b/pango/pangomacos.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2022 Red Hat, Inc.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include <pango/pango.h>
+#include <pango/pangocoretext-fontmap.h>
diff --git a/pango/pangowindows.h b/pango/pangowindows.h
new file mode 100644
index 00000000..be2d023e
--- /dev/null
+++ b/pango/pangowindows.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2022 Red Hat, Inc.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include <pango/pango.h>
+#include <pango/pangodwrite-fontmap.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]