Skip to content

Commit

Permalink
gtk3: downgrade to 3.18.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bpisoj committed Mar 25, 2017
1 parent 782473a commit 887ea1e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
*~
*.swp
*.swo
logpipe*.lnk
12 changes: 7 additions & 5 deletions mingw-w64-gtk3/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=gtk3
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=3.22.10
pkgver=3.18.9
pkgrel=1
pkgdesc="GObject-based multi-platform GUI toolkit (v3) (mingw-w64)"
arch=('any')
Expand All @@ -28,13 +28,15 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-pango"
"${MINGW_PACKAGE_PREFIX}-shared-mime-info")
options=('strip' '!debug' 'staticlibs')
source=("https://download.gnome.org/sources/gtk+/${pkgver%.*}/gtk+-${pkgver}.tar.xz")
sha256sums=('352a90b3d09256d597cb2768ee5d685285ccc284ff22adf19df16753a829c554')
source=("http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-${pkgver}.tar.xz"
"placesview.patch")
md5sums=('c7a5b21d28572bb1d6fc8803864618c0'
50a397801a668303f5ad3da316a15e09)

prepare() {
cd "${srcdir}/gtk+-${pkgver}"

autoreconf -i
patch -Np0 -i "${srcdir}"/placesview.patch
#autoreconf -i
}

build() {
Expand Down
15 changes: 15 additions & 0 deletions mingw-w64-gtk3/placesview.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
--- gtk/gtkplacesview.c.orig 2016-01-07 04:25:56.000000000 +0100
+++ gtk/gtkplacesview.c 2016-11-14 20:29:42.114362700 +0100
@@ -1119,9 +1119,11 @@
populate_servers (view);

/* fetch networks and add them asynchronously */
+/* is this relevant for windows? fetch_networks use nautilus network:/// */
+#ifndef G_OS_WIN32
if (!gtk_places_view_get_local_only (view))
fetch_networks (view);
-
+#endif
update_view_mode (view);
/* Check whether we still are in a loading state */
update_loading (view);

0 comments on commit 887ea1e

Please sign in to comment.