summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPavel Vinogradov2018-02-14 12:42:56 -0500
committerPavel Vinogradov2018-02-14 12:42:56 -0500
commitd5cbe0e69244c4caf639d74454e6deeb9bf1b00d (patch)
tree2a1f9bd263a8e5f479d0512fbafee8840e11cd80 /x11-toolkits
parent80f7ef12a6e2998f38ca53b82189bab216efd206 (diff)
x11-toolkits/gtk+3: version 3.22.27
Diffstat (limited to 'x11-toolkits')
-rwxr-xr-xx11-toolkits/gtk+3/DETAILS8
-rw-r--r--x11-toolkits/gtk+3/HISTORY5
-rwxr-xr-xx11-toolkits/gtk+3/PRE_BUILD4
-rw-r--r--x11-toolkits/gtk+3/gtkfontchooserwidgetprivate.h.patch48
4 files changed, 61 insertions, 4 deletions
diff --git a/x11-toolkits/gtk+3/DETAILS b/x11-toolkits/gtk+3/DETAILS
index 4669eb8dcc..bd5b6f59a7 100755
--- a/x11-toolkits/gtk+3/DETAILS
+++ b/x11-toolkits/gtk+3/DETAILS
@@ -1,10 +1,10 @@
SPELL=gtk+3
if [[ $GTK_VER == devel ]];then
- VERSION=3.22.26
- SOURCE_HASH=sha256:61eef0d320e541976e2dfe445729f12b5ade53050ee9de6184235cb60cd4b967:UPSTREAM_HASH
+ VERSION=3.22.27
+ SOURCE_HASH=sha256:ba7a68b9d4af798519b39b2e711cffdef4d48e67c9b68f170fe759208912eb94:UPSTREAM_HASH
else
- VERSION=3.22.26
- SOURCE_HASH=sha256:61eef0d320e541976e2dfe445729f12b5ade53050ee9de6184235cb60cd4b967:UPSTREAM_HASH
+ VERSION=3.22.27
+ SOURCE_HASH=sha256:ba7a68b9d4af798519b39b2e711cffdef4d48e67c9b68f170fe759208912eb94:UPSTREAM_HASH
fi
SOURCE=gtk+-$VERSION.tar.xz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/gtk+-$VERSION"
diff --git a/x11-toolkits/gtk+3/HISTORY b/x11-toolkits/gtk+3/HISTORY
index aed4976162..66a82c89e0 100644
--- a/x11-toolkits/gtk+3/HISTORY
+++ b/x11-toolkits/gtk+3/HISTORY
@@ -1,3 +1,8 @@
+2018-02-14 Pavel Vinogradov <public@sourcemage.org>
+ * DETAILS: version 3.22.27
+ * PRE_BUILD, gtkfontchooserwidgetprivate.h.patch: added a combined
+ patch to fix missing private header error
+
2017-11-08 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 3.22.26
diff --git a/x11-toolkits/gtk+3/PRE_BUILD b/x11-toolkits/gtk+3/PRE_BUILD
new file mode 100755
index 0000000000..0773478875
--- /dev/null
+++ b/x11-toolkits/gtk+3/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p1 < "${SPELL_DIRECTORY}/gtkfontchooserwidgetprivate.h.patch"
diff --git a/x11-toolkits/gtk+3/gtkfontchooserwidgetprivate.h.patch b/x11-toolkits/gtk+3/gtkfontchooserwidgetprivate.h.patch
new file mode 100644
index 0000000000..40d490925d
--- /dev/null
+++ b/x11-toolkits/gtk+3/gtkfontchooserwidgetprivate.h.patch
@@ -0,0 +1,48 @@
+diff --git a/gtk/Makefile.am b/gtk/Makefile.am
+index 842c2f9..63f88e9 100644
+--- a/gtk/Makefile.am
++++ b/gtk/Makefile.am
+@@ -481,6 +481,7 @@ gtk_private_h_sources = \
+ gtkfilesystemmodel.h \
+ gtkfontchooserprivate.h \
+ gtkfontchooserutils.h \
++ gtkfontchooserwidgetprivate.h \
+ gtkgestureprivate.h \
+ gtkgesturedragprivate.h \
+ gtkgesturelongpressprivate.h \
+diff --git a/gtk/gtkfontchooserwidgetprivate.h b/gtk/gtkfontchooserwidgetprivate.h
+new file mode 100644
+index 0000000..f51447e
+--- /dev/null
++++ b/gtk/gtkfontchooserwidgetprivate.h
+@@ -0,0 +1,30 @@
++/* GTK - The GIMP Toolkit
++ * Copyright (C) 2017 Red Hat, Inc.
++ *
++ * 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 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/>.
++ */
++
++#ifndef __GTK_FONT_CHOOSER_WIDGET_PRIVATE_H__
++#define __GTK_FONT_CHOOSER_WIDGET_PRIVATE_H__
++
++#include "gtkfontchooserwidget.h"
++
++G_BEGIN_DECLS
++
++gboolean gtk_font_chooser_widget_handle_event (GtkWidget *widget,
++ GdkEventKey *event);
++
++G_END_DECLS
++
++#endif /* __GTK_FONT_CHOOSER_WIDGET_PRIVATE_H__ */