[arch-commits] Commit in glib2/repos (6 files)

2020-10-08 Thread Jan Steffens via arch-commits
Date: Thursday, October 8, 2020 @ 17:06:40
  Author: heftig
Revision: 397579

archrelease: copy trunk to testing-x86_64

Added:
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/1683.patch
(from rev 397578, glib2/trunk/1683.patch)
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 397578, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/gio-querymodules.hook
(from rev 397578, glib2/trunk/gio-querymodules.hook)
  glib2/repos/testing-x86_64/glib-compile-schemas.hook
(from rev 397578, glib2/trunk/glib-compile-schemas.hook)
  glib2/repos/testing-x86_64/noisy-glib-compile-schemas.diff
(from rev 397578, glib2/trunk/noisy-glib-compile-schemas.diff)

-+
 1683.patch  |  102 ++
 PKGBUILD|   90 +
 gio-querymodules.hook   |   11 
 glib-compile-schemas.hook   |   12 
 noisy-glib-compile-schemas.diff |   24 
 5 files changed, 239 insertions(+)

Copied: glib2/repos/testing-x86_64/1683.patch (from rev 397578, 
glib2/trunk/1683.patch)
===
--- testing-x86_64/1683.patch   (rev 0)
+++ testing-x86_64/1683.patch   2020-10-08 17:06:40 UTC (rev 397579)
@@ -0,0 +1,102 @@
+From b411f518b8dc7a99bad52884048436d991c89b77 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
+ =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= 
+Date: Mon, 5 Oct 2020 17:07:29 +
+Subject: [PATCH 1/2] Add a test for the 6-days-until-EOM bug
+
+---
+ glib/tests/gdatetime.c | 26 ++
+ 1 file changed, 26 insertions(+)
+
+diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c
+index 52eec1e46..0731f01f2 100644
+--- a/glib/tests/gdatetime.c
 b/glib/tests/gdatetime.c
+@@ -2192,6 +2192,31 @@ test_z (void)
+   g_time_zone_unref (tz);
+ }
+ 
++static void
++test_6_days_util_end_of_the_month (void)
++{
++  GTimeZone *tz;
++  GDateTime *dt;
++  gchar *p;
++
++  g_test_bug ("https://gitlab.gnome.org/GNOME/glib/-/issues/2215;);
++
++#ifdef G_OS_UNIX
++  tz = g_time_zone_new ("Europe/Paris");
++#elif defined (G_OS_WIN32)
++  tz = g_time_zone_new ("Romance Standard Time");
++#endif
++  dt = g_date_time_new (tz, 2020, 10, 5, 1, 1, 1);
++
++  p = g_date_time_format (dt, "%Y-%m-%d %H:%M:%S%z");
++  /* Incorrect output is  "2020-10-05 01:01:01+0100" */
++  g_assert_cmpstr (p, ==, "2020-10-05 01:01:01+0200");
++  g_free (p);
++
++  g_date_time_unref (dt);
++  g_time_zone_unref (tz);
++}
++
+ static void
+ test_format_iso8601 (void)
+ {
+@@ -2785,6 +2810,7 @@ main (gint   argc,
+   g_test_add_func ("/GDateTime/new_from_iso8601/2", 
test_GDateTime_new_from_iso8601_2);
+   g_test_add_func ("/GDateTime/new_full", test_GDateTime_new_full);
+   g_test_add_func ("/GDateTime/now", test_GDateTime_now);
++  g_test_add_func ("/GDateTime/test-6-days-util-end-of-the-month", 
test_6_days_util_end_of_the_month);
+   g_test_add_func ("/GDateTime/printf", test_GDateTime_printf);
+   g_test_add_func ("/GDateTime/non_utf8_printf", test_non_utf8_printf);
+   g_test_add_func ("/GDateTime/format_unrepresentable", 
test_format_unrepresentable);
+-- 
+GitLab
+
+
+From 4a120c2e2e0a26e1cd5ce7cb4ebe906ef6d588d3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
+ =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= 
+Date: Mon, 5 Oct 2020 16:53:47 +
+Subject: [PATCH 2/2] Fix the 6-days-until-the-end-of-the-month bug
+
+The addition causes the date to shift
+forward into 1st of the next month, because a 0-based offset
+is compared to be "more than" the days in the month instead of "more than
+or equal to".
+
+This is triggered by corner-cases where transition date is 6 days
+off the end of the month and our calculations put it at N+1th day of the
+month (where N is the number of days in the month). The subtraction should
+be triggered to move the date back a week, putting it 6 days off the end;
+for example, October 25 for CET DST transition; but due to incorrect comparison
+the date isn't shifted back, we add 31 days to October 1st and end up
+at November 1st).
+
+Fixes issue #2215.
+---
+ glib/gtimezone.c | 6 +-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/glib/gtimezone.c b/glib/gtimezone.c
+index ef67ec50b..0de5c92a3 100644
+--- a/glib/gtimezone.c
 b/glib/gtimezone.c
+@@ -1041,7 +1041,11 @@ find_relative_date (TimeZoneDate *buffer)
+   /* week is 1 <= w <= 5, we need 0-based */
+   days = 7 * (buffer->week - 1) + wday - first_wday;
+ 
+-  while (days > days_in_month)
++  /* "days" is a 0-based offset from the 1st of the month.
++   * Adding days == days_in_month would bring us into the next month,
++   * hence the ">=" instead of just ">".
++   */
++  while (days >= days_in_month)
+ days -= 7;
+ 
+   

[arch-commits] Commit in glib2/repos (6 files)

2020-02-27 Thread Jan Steffens via arch-commits
Date: Thursday, February 27, 2020 @ 22:11:46
  Author: heftig
Revision: 376335

archrelease: copy trunk to testing-x86_64

Added:
  glib2/repos/testing-x86_64/
  
glib2/repos/testing-x86_64/0001-tests-Move-memory_monitor_tests-under-installed_test.patch
(from rev 376333, 
glib2/trunk/0001-tests-Move-memory_monitor_tests-under-installed_test.patch)
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 376333, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/gio-querymodules.hook
(from rev 376333, glib2/trunk/gio-querymodules.hook)
  glib2/repos/testing-x86_64/glib-compile-schemas.hook
(from rev 376333, glib2/trunk/glib-compile-schemas.hook)
  glib2/repos/testing-x86_64/noisy-glib-compile-schemas.diff
(from rev 376334, glib2/trunk/noisy-glib-compile-schemas.diff)

-+
 0001-tests-Move-memory_monitor_tests-under-installed_test.patch |   52 ++
 PKGBUILD|   85 
++
 gio-querymodules.hook   |   11 +
 glib-compile-schemas.hook   |   12 +
 noisy-glib-compile-schemas.diff |   24 ++
 5 files changed, 184 insertions(+)

Copied: 
glib2/repos/testing-x86_64/0001-tests-Move-memory_monitor_tests-under-installed_test.patch
 (from rev 376333, 
glib2/trunk/0001-tests-Move-memory_monitor_tests-under-installed_test.patch)
===
--- 
testing-x86_64/0001-tests-Move-memory_monitor_tests-under-installed_test.patch  
(rev 0)
+++ 
testing-x86_64/0001-tests-Move-memory_monitor_tests-under-installed_test.patch  
2020-02-27 22:11:46 UTC (rev 376335)
@@ -0,0 +1,52 @@
+From 9be108136dc5e7ef0143a3ae4338476ffa6377e9 Mon Sep 17 00:00:00 2001
+From: "Jan Alexander Steffens (heftig)" 
+Date: Thu, 27 Feb 2020 21:13:19 +0100
+Subject: [PATCH] tests: Move memory_monitor_tests under
+ installed_tests_enabled
+
+So they're not installed when the latter is disabled.
+---
+ gio/tests/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gio/tests/meson.build b/gio/tests/meson.build
+index 695ad1f8f..76e28fc76 100644
+--- a/gio/tests/meson.build
 b/gio/tests/meson.build
+@@ -521,32 +521,32 @@ if installed_tests_enabled
+   )
+   install_subdir('static-link', install_dir : installed_tests_execdir)
+   install_data('static-link.py', install_dir : installed_tests_execdir)
+-endif
+ 
+ memory_monitor_tests = [
+   'memory-monitor-dbus',
+   'memory-monitor-portal',
+ ]
+ 
+ foreach memory_monitor_test : memory_monitor_tests
+   cdata = configuration_data()
+   cdata.set('installed_tests_dir', installed_tests_execdir)
+   cdata.set('program', memory_monitor_test + '.py')
+   configure_file(
+ input: installed_tests_template,
+ output: memory_monitor_test + '.test',
+ install_dir: installed_tests_metadir,
+ configuration: cdata
+   )
+   cdata = configuration_data()
+   cdata.set('libexecdir', join_paths(glib_prefix, get_option('libexecdir')))
+   configure_file(
+ input: memory_monitor_test + '.py.in',
+ output: memory_monitor_test + '.py',
+ install_dir : installed_tests_execdir,
+ configuration: cdata,
+   )
+ endforeach
++endif
+ 
+ if not meson.is_cross_build() or meson.has_exe_wrapper()
+ 
+-- 
+2.25.1
+

Copied: glib2/repos/testing-x86_64/PKGBUILD (from rev 376333, 
glib2/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-02-27 22:11:46 UTC (rev 376335)
@@ -0,0 +1,85 @@
+# Maintainer: Jan Alexander Steffens (heftig) 
+# Maintainer: Jan de Groot 
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.64.0
+pkgrel=1
+pkgdesc="Low level core library"
+url="https://wiki.gnome.org/Projects/GLib;
+license=(LGPL2.1)
+arch=(x86_64)
+depends=(pcre libffi libutil-linux zlib)
+makedepends=(gettext gtk-doc shared-mime-info python libelf git util-linux
+ meson dbus)
+checkdepends=(desktop-file-utils)
+_commit=369626e3105d688afaa316d89d34e8927a8a0171  # tags/2.64.0^0
+source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit;
+noisy-glib-compile-schemas.diff
+0001-tests-Move-memory_monitor_tests-under-installed_test.patch
+glib-compile-schemas.hook gio-querymodules.hook)
+sha256sums=('SKIP'
+'81a4df0b638730cffb7fa263c04841f7ca6b9c9578ee5045db6f30ff0c3fc531'
+'3f7f20c817ef970f9d1bc6606023eca44df5c31dd2334847bc8df2dbcf8e0e43'
+'64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25'
+'557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8')
+
+pkgver() {
+  cd glib
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd glib
+
+  # Suppress noise from glib-compile-schemas.hook
+  git apply -3 

[arch-commits] Commit in glib2/repos (6 files)

2020-02-07 Thread Jan Steffens via arch-commits
Date: Friday, February 7, 2020 @ 21:56:17
  Author: heftig
Revision: 374985

archrelease: copy trunk to testing-x86_64

Added:
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/CVE-2020-6750.patch
(from rev 374984, glib2/trunk/CVE-2020-6750.patch)
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 374984, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/gio-querymodules.hook
(from rev 374984, glib2/trunk/gio-querymodules.hook)
  glib2/repos/testing-x86_64/glib-compile-schemas.hook
(from rev 374984, glib2/trunk/glib-compile-schemas.hook)
  glib2/repos/testing-x86_64/noisy-glib-compile-schemas.diff
(from rev 374984, glib2/trunk/noisy-glib-compile-schemas.diff)

-+
 CVE-2020-6750.patch |  763 ++
 PKGBUILD|   80 +++
 gio-querymodules.hook   |   11 
 glib-compile-schemas.hook   |   12 
 noisy-glib-compile-schemas.diff |   24 +
 5 files changed, 890 insertions(+)

Copied: glib2/repos/testing-x86_64/CVE-2020-6750.patch (from rev 374984, 
glib2/trunk/CVE-2020-6750.patch)
===
--- testing-x86_64/CVE-2020-6750.patch  (rev 0)
+++ testing-x86_64/CVE-2020-6750.patch  2020-02-07 21:56:17 UTC (rev 374985)
@@ -0,0 +1,763 @@
+From cc3cf6b8b2ad12d54f3474113f0ccfa7dcf66b7b Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro 
+Date: Sat, 4 Jan 2020 20:46:25 -0600
+Subject: [PATCH] gsocketclient: run timeout source on the task's main context
+
+This shouldn't make any difference, because this code should only ever
+be running in the main context that was thread-default at the time the
+task was created, so it should already match the task's context. But
+let's make sure, just in case.
+---
+ gio/gsocketclient.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c
+index 6adeee299..81721795b 100644
+--- a/gio/gsocketclient.c
 b/gio/gsocketclient.c
+@@ -1794,7 +1794,7 @@ g_socket_client_enumerator_callback (GObject  
*object,
+   attempt->connection = (GIOStream 
*)g_socket_connection_factory_create_connection (socket);
+   attempt->timeout_source = g_timeout_source_new 
(HAPPY_EYEBALLS_CONNECTION_ATTEMPT_TIMEOUT_MS);
+   g_source_set_callback (attempt->timeout_source, 
on_connection_attempt_timeout, attempt, NULL);
+-  g_source_attach (attempt->timeout_source, g_main_context_get_thread_default 
());
++  g_source_attach (attempt->timeout_source, g_task_get_context (data->task));
+   data->connection_attempts = g_slist_append (data->connection_attempts, 
attempt);
+ 
+   if (g_task_get_cancellable (data->task))
+-- 
+2.24.1
+
+From d4fcf91460696b09bb2b55c352a023f6dd71c7fe Mon Sep 17 00:00:00 2001
+From: Patrick Griffis 
+Date: Thu, 23 Jan 2020 19:58:41 -0800
+Subject: [PATCH] Refactor g_socket_client_connect_async()
+
+This is a fairly large refactoring. The highlights are:
+
+- Removing in-progress connections/addresses from 
GSocketClientAsyncConnectData:
+
+  This caused issues where multiple ConnectionAttempt's would step over 
eachother
+  and modify shared state causing bugs like accidentally bypassing a set proxy.
+
+  Fixes #1871
+  Fixes #1989
+  Fixes #1902
+
+- Cancelling address enumeration on error/completion
+
+- Queuing successful TCP connections and doing application layer work serially:
+
+  This is more in the spirit of Happy Eyeballs but it also greatly simplifies
+  the flow of connection handling so fewer tasks are happening in parallel
+  when they don't need to be.
+
+  The behavior also should more closely match that of 
g_socket_client_connect().
+
+- Better track the state of address enumeration:
+
+  Previously we were over eager to treat enumeration finishing as an error.
+
+  Fixes #1872
+  See also #1982
+
+- Add more detailed documentation and logging.
+
+Closes #1995
+---
+ gio/gsocketclient.c | 459 
+ 1 file changed, 296 insertions(+), 163 deletions(-)
+
+diff --git a/gio/gsocketclient.c b/gio/gsocketclient.c
+index 81721795b..c9943309c 100644
+--- a/gio/gsocketclient.c
 b/gio/gsocketclient.c
+@@ -1337,13 +1337,15 @@ typedef struct
+ 
+   GSocketConnectable *connectable;
+   GSocketAddressEnumerator *enumerator;
+-  GProxyAddress *proxy_addr;
+-  GSocket *socket;
+-  GIOStream *connection;
++  GCancellable *enumeration_cancellable;
+ 
+   GSList *connection_attempts;
++  GSList *successful_connections;
+   GError *last_error;
+ 
++  gboolean enumerated_at_least_once;
++  gboolean enumeration_completed;
++  gboolean connection_in_progress;
+   gboolean completed;
+ } GSocketClientAsyncConnectData;
+ 
+@@ -1355,10 +1357,9 @@ g_socket_client_async_connect_data_free 
(GSocketClientAsyncConnectData *data)
+   data->task = NULL;
+   g_clear_object (>connectable);
+   g_clear_object (>enumerator);
+-  g_clear_object (>proxy_addr);
+-  g_clear_object (>socket);

[arch-commits] Commit in glib2/repos (6 files)

2015-11-06 Thread Jan Steffens
Date: Saturday, November 7, 2015 @ 00:11:48
  Author: heftig
Revision: 250184

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 250183, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 250183, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 250183, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 250183, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 250183, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-11-06 23:11:48 UTC (rev 250184)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot 
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.46.2
+pkgrel=1
+pkgdesc="Common C routines used by GTK+ and other libs"
+url="http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'libelf')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'libelf: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" 
install
+
+  for _i in "$pkgdir/usr/share/bash-completion/completions/"*; do
+  chmod -x "$_i"
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf "$pkgdir/usr/share/gdb/"
+}
+
+package_glib2-docs() {
+  pkgdesc="Documentation for glib2"
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/glib2-docs"
+  install -m644 reference/COPYING "${pkgdir}/usr/share/licenses/glib2-docs/"
+
+  rm -rf "${pkgdir}/usr/share/man"
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 250183, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2015-11-06 23:11:48 UTC 
(rev 250184)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie 
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path && (g_str_has_prefix (path, "/apps/") ||
++   g_str_has_prefix (path, "/desktop/") ||
++   g_str_has_prefix (path, "/system/")))
++g_printerr ("warning: Schema '%s' has path '%s'.  Paths starting with "
++"'/apps/', '/desktop/' or '/system/' are deprecated.\n", id, 
path);
++
+   state->schema_state = schema_state_new (path, gettext_domain,
+   

[arch-commits] Commit in glib2/repos (6 files)

2015-09-17 Thread Jan de Groot
Date: Thursday, September 17, 2015 @ 10:44:05
  Author: jgc
Revision: 246425

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  glib2/repos/gnome-unstable-i686/
  glib2/repos/gnome-unstable-i686/PKGBUILD
(from rev 246424, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch
(from rev 246424, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/gnome-unstable-x86_64/
  glib2/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 246424, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 246424, glib2/trunk/revert-warn-glib-compile-schemas.patch)

--+
 gnome-unstable-i686/PKGBUILD |   67 ++
 gnome-unstable-i686/revert-warn-glib-compile-schemas.patch   |   33 
 gnome-unstable-x86_64/PKGBUILD   |   67 ++
 gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch |   33 
 4 files changed, 200 insertions(+)

Copied: glib2/repos/gnome-unstable-i686/PKGBUILD (from rev 246424, 
glib2/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2015-09-17 08:44:05 UTC (rev 246425)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot 
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.45.8
+pkgrel=1
+pkgdesc="Common C routines used by GTK+ and other libs"
+url="http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('ba1a37d64b391c5202017cce81375e36f82e0b3eef7e9c3f1c5bbaf7c92f98c8'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" 
install
+
+  for _i in "$pkgdir/usr/share/bash-completion/completions/"*; do
+  chmod -x "$_i"
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf "$pkgdir/usr/share/gdb/"
+}
+
+package_glib2-docs() {
+  pkgdesc="Documentation for glib2"
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/glib2-docs"
+  install -m644 reference/COPYING "${pkgdir}/usr/share/licenses/glib2-docs/"
+
+  rm -rf "${pkgdir}/usr/share/man"
+}

Copied: glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch 
(from rev 246424, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  
(rev 0)
+++ gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  2015-09-17 
08:44:05 UTC (rev 246425)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie 
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path && (g_str_has_prefix (path, "/apps/") ||
++   g_str_has_prefix (path, "/desktop/") ||
++   g_str_has_prefix (path, "/system/")))
++g_printerr ("warning: Schema '%s' has path '%s'.  Paths starting with "
++"'/apps/', '/desktop/' 

[arch-commits] Commit in glib2/repos (6 files)

2015-05-12 Thread Jan Steffens
Date: Wednesday, May 13, 2015 @ 06:07:42
  Author: heftig
Revision: 239276

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 239275, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 239275, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 239275, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 239275, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 239275, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-05-13 04:07:42 UTC (rev 239276)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.44.1
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('8811deacaf8a503d0a9b701777ea079ca6a4277be10e3d730d2112735d5eca07'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 239275, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2015-05-13 04:07:42 UTC 
(rev 239276)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+   

[arch-commits] Commit in glib2/repos (6 files)

2015-03-06 Thread Jan de Groot
Date: Friday, March 6, 2015 @ 09:23:32
  Author: jgc
Revision: 232919

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  glib2/repos/gnome-unstable-i686/
  glib2/repos/gnome-unstable-i686/PKGBUILD
(from rev 232918, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch
(from rev 232918, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/gnome-unstable-x86_64/
  glib2/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 232918, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 232918, glib2/trunk/revert-warn-glib-compile-schemas.patch)

--+
 gnome-unstable-i686/PKGBUILD |   67 ++
 gnome-unstable-i686/revert-warn-glib-compile-schemas.patch   |   33 
 gnome-unstable-x86_64/PKGBUILD   |   67 ++
 gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch |   33 
 4 files changed, 200 insertions(+)

Copied: glib2/repos/gnome-unstable-i686/PKGBUILD (from rev 232918, 
glib2/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2015-03-06 08:23:32 UTC (rev 232919)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.43.91
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('0ef99a7b0f3d0d6eb7d0734748c006e85a6b51d9746ccede13f0265b63cfce8c'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch 
(from rev 232918, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  
(rev 0)
+++ gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  2015-03-06 
08:23:32 UTC (rev 232919)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 

[arch-commits] Commit in glib2/repos (6 files)

2015-02-27 Thread Jan de Groot
Date: Friday, February 27, 2015 @ 09:56:14
  Author: jgc
Revision: 232044

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 232043, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 232043, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 232043, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 232043, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 232043, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-02-27 08:56:14 UTC (rev 232044)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.42.2
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('a3cc1ebd2bd310a9fdf42ae4293ee713cdf1764bd29f552febf3bf44cadae7db'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 232043, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2015-02-27 08:56:14 UTC 
(rev 232044)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+   

[arch-commits] Commit in glib2/repos (6 files)

2014-11-10 Thread Jan Steffens
Date: Monday, November 10, 2014 @ 23:56:57
  Author: heftig
Revision: 225927

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 225926, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 225926, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 225926, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 225926, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 225926, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-11-10 22:56:57 UTC (rev 225927)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.42.1
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('8f3f0865280e45b8ce840e176ef83bcfd511148918cc8d39df2ee89b67dcf89a'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 225926, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2014-11-10 22:56:57 UTC 
(rev 225927)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+  

[arch-commits] Commit in glib2/repos (6 files)

2014-09-04 Thread Jan de Groot
Date: Thursday, September 4, 2014 @ 20:27:21
  Author: jgc
Revision: 220949

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 220948, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 220948, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 220948, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 220948, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   69 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   69 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 204 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 220948, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-09-04 18:27:21 UTC (rev 220949)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.40.0
+pkgrel=2
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils' 'gtk-doc' 'git')
+source=('git://git.gnome.org/glib#commit=938a468acf58499b7347fa923384829d488b0ef6'
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('SKIP'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib
+  NOCONFIGURE=1 ./autogen.sh
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam \
+  --enable-gtk-doc
+  make
+}
+
+check() {
+  cd glib
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 220948, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2014-09-04 18:27:21 UTC 
(rev 220949)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+   extends, extends_name, 

[arch-commits] Commit in glib2/repos (6 files)

2014-09-04 Thread Jan de Groot
Date: Thursday, September 4, 2014 @ 20:37:59
  Author: jgc
Revision: 220954

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  glib2/repos/gnome-unstable-i686/
  glib2/repos/gnome-unstable-i686/PKGBUILD
(from rev 220953, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch
(from rev 220953, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/gnome-unstable-x86_64/
  glib2/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 220953, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 220953, glib2/trunk/revert-warn-glib-compile-schemas.patch)

--+
 gnome-unstable-i686/PKGBUILD |   67 ++
 gnome-unstable-i686/revert-warn-glib-compile-schemas.patch   |   33 
 gnome-unstable-x86_64/PKGBUILD   |   67 ++
 gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch |   33 
 4 files changed, 200 insertions(+)

Copied: glib2/repos/gnome-unstable-i686/PKGBUILD (from rev 220953, 
glib2/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2014-09-04 18:37:59 UTC (rev 220954)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.41.4
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('1661bc4abfd1b0b59ae7abbef9d6a60c32192a7a65122753d5d8cc2db110fbf7'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch 
(from rev 220953, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  
(rev 0)
+++ gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  2014-09-04 
18:37:59 UTC (rev 220954)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 

[arch-commits] Commit in glib2/repos (6 files)

2014-02-23 Thread Jan de Groot
Date: Sunday, February 23, 2014 @ 14:44:27
  Author: jgc
Revision: 206276

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  glib2/repos/gnome-unstable-i686/
  glib2/repos/gnome-unstable-i686/PKGBUILD
(from rev 206275, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch
(from rev 206275, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/gnome-unstable-x86_64/
  glib2/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 206275, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 206275, glib2/trunk/revert-warn-glib-compile-schemas.patch)

--+
 gnome-unstable-i686/PKGBUILD |   67 ++
 gnome-unstable-i686/revert-warn-glib-compile-schemas.patch   |   33 
 gnome-unstable-x86_64/PKGBUILD   |   67 ++
 gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch |   33 
 4 files changed, 200 insertions(+)

Copied: glib2/repos/gnome-unstable-i686/PKGBUILD (from rev 206275, 
glib2/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2014-02-23 13:44:27 UTC (rev 206276)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.39.90
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('ed48a37aebc66bafe63c8b8e62c746b888a20da3ffaf77641cc9c87acb54eb33'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch 
(from rev 206275, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  
(rev 0)
+++ gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  2014-02-23 
13:44:27 UTC (rev 206276)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 

[arch-commits] Commit in glib2/repos (6 files)

2013-11-12 Thread Jan Steffens
Date: Tuesday, November 12, 2013 @ 17:19:13
  Author: heftig
Revision: 199422

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 199421, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 199421, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 199421, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 199421, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 199421, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-11-12 16:19:13 UTC (rev 199422)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.38.2
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('056a9854c0966a0945e16146b3345b7a82562a5ba4d5516fd10398732aea5734'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 199421, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2013-11-12 16:19:13 UTC 
(rev 199422)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+  

[arch-commits] Commit in glib2/repos (6 files)

2013-10-15 Thread Jan Steffens
Date: Wednesday, October 16, 2013 @ 00:20:16
  Author: heftig
Revision: 196639

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 196638, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 196638, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 196638, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 196638, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 196638, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-10-15 22:20:16 UTC (rev 196639)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.38.1
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('01906c62ac666d2ab3183cc07261b2536fab7b211c6129ab66b119c2af56d159'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!libtool' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 196638, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2013-10-15 22:20:16 UTC 
(rev 196639)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+  

[arch-commits] Commit in glib2/repos (6 files)

2013-09-02 Thread Jan de Groot
Date: Monday, September 2, 2013 @ 14:56:15
  Author: jgc
Revision: 193819

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  glib2/repos/gnome-unstable-i686/
  glib2/repos/gnome-unstable-i686/PKGBUILD
(from rev 193818, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch
(from rev 193818, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/gnome-unstable-x86_64/
  glib2/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 193818, glib2/trunk/PKGBUILD)
  glib2/repos/gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 193818, glib2/trunk/revert-warn-glib-compile-schemas.patch)

--+
 gnome-unstable-i686/PKGBUILD |   68 ++
 gnome-unstable-i686/revert-warn-glib-compile-schemas.patch   |   33 
 gnome-unstable-x86_64/PKGBUILD   |   68 ++
 gnome-unstable-x86_64/revert-warn-glib-compile-schemas.patch |   33 
 4 files changed, 202 insertions(+)

Copied: glib2/repos/gnome-unstable-i686/PKGBUILD (from rev 193818, 
glib2/trunk/PKGBUILD)
===
--- gnome-unstable-i686/PKGBUILD(rev 0)
+++ gnome-unstable-i686/PKGBUILD2013-09-02 12:56:15 UTC (rev 193819)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.37.6
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('01e1de3179cc58dafc0c950363530fccdefc6dda32a25aed96dd24dc23b83165'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+  #touch -r NEWS gtk-doc.make
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!libtool' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/gnome-unstable-i686/revert-warn-glib-compile-schemas.patch 
(from rev 193818, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  
(rev 0)
+++ gnome-unstable-i686/revert-warn-glib-compile-schemas.patch  2013-09-02 
12:56:15 UTC (rev 193819)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', 

[arch-commits] Commit in glib2/repos (6 files)

2013-08-07 Thread Jan Steffens
Date: Wednesday, August 7, 2013 @ 18:17:59
  Author: heftig
Revision: 192207

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 192206, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 192206, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 192206, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 192206, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   68 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   68 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 202 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 192206, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-08-07 16:17:59 UTC (rev 192207)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.36.4
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('f654d2542329012d8475736a165dfbf82fadf3ee940c2e0e6ddd4b2fde5cad7e'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+  cd glib-$pkgver
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+  touch -r NEWS gtk-doc.make
+}
+  
+build() {
+  cd glib-$pkgver
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!libtool' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 192206, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2013-08-07 16:17:59 UTC 
(rev 192207)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+  

[arch-commits] Commit in glib2/repos (6 files)

2013-06-10 Thread Jan Steffens
Date: Monday, June 10, 2013 @ 09:52:19
  Author: heftig
Revision: 188126

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 188125, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 188125, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 188125, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 188125, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 188125, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-06-10 07:52:19 UTC (rev 188126)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.36.3
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('5ec433bf6ce02e4c436619c3d0b9cecdd1898469398a636bad27c1f5804c761e'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+
+  # workaround FS#34630 https://bugzilla.gnome.org/show_bug.cgi?id=698716
+  export CFLAGS+= -Wall
+
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!libtool' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 188125, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2013-06-10 07:52:19 UTC 
(rev 188126)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = 

[arch-commits] Commit in glib2/repos (6 files)

2013-05-13 Thread Jan Steffens
Date: Monday, May 13, 2013 @ 16:48:05
  Author: heftig
Revision: 185345

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 185344, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 185344, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 185344, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 185344, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   67 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +++
 testing-x86_64/PKGBUILD   |   67 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +++
 4 files changed, 200 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 185344, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-05-13 14:48:05 UTC (rev 185345)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgbase=glib2
+pkgname=(glib2 glib2-docs)
+pkgver=2.36.2
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 
'elfutils')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('5ea98451fb57d0ba523a1e836545f0a919b498863056fdd9da69d148c1347f80'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+
+  # workaround FS#34630 https://bugzilla.gnome.org/show_bug.cgi?id=698716
+  export CFLAGS+= -Wall
+
+  patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+check() {
+  cd glib-$pkgver
+  #make -k check || :
+}
+
+package_glib2() {
+  depends=('pcre' 'libffi')
+  optdepends=('python2: for gdbus-codegen and gtester-report'
+  'elfutils: gresource inspection tool')
+  options=('!docs' '!libtool' '!emptydirs')
+  license=('LGPL')
+
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+
+  # Our gdb does not ship the required python modules, so remove it
+  rm -rf $pkgdir/usr/share/gdb/
+}
+
+package_glib2-docs() {
+  pkgdesc=Documentation for glib2
+  conflicts=('gobject2-docs')
+  replaces=('gobject2-docs')
+  license=('custom')
+  options=('docs' '!emptydirs')
+  
+  cd glib-$pkgver/docs
+  make DESTDIR=${pkgdir} install
+  install -m755 -d ${pkgdir}/usr/share/licenses/glib2-docs
+  install -m644 reference/COPYING ${pkgdir}/usr/share/licenses/glib2-docs/
+
+  rm -rf ${pkgdir}/usr/share/man
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 185344, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2013-05-13 14:48:05 UTC 
(rev 185345)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = 

[arch-commits] Commit in glib2/repos (6 files)

2012-11-26 Thread Jan Steffens
Date: Monday, November 26, 2012 @ 15:46:41
  Author: heftig
Revision: 172036

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 172035, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 172035, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 172035, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 172035, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   38 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +
 testing-x86_64/PKGBUILD   |   38 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +
 4 files changed, 142 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 172035, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-11-26 20:46:41 UTC (rev 172036)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.34.3
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('855fcbf87cb93065b488358e351774d8a39177281023bae58c286f41612658a7'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 172035, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2012-11-26 20:46:41 UTC 
(rev 172036)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+   extends, extends_name, list_of);
+ 
+--
+cgit v0.9.0.2

Copied: glib2/repos/testing-x86_64/PKGBUILD (from rev 172035, 
glib2/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-11-26 20:46:41 UTC (rev 172036)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.34.3
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2' 

[arch-commits] Commit in glib2/repos (6 files)

2012-11-17 Thread Jan de Groot
Date: Saturday, November 17, 2012 @ 10:54:41
  Author: jgc
Revision: 171450

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 171449, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 171449, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 171449, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 171449, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   38 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +
 testing-x86_64/PKGBUILD   |   38 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +
 4 files changed, 142 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 171449, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-11-17 15:54:41 UTC (rev 171450)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.34.2
+pkgrel=2
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('2d99a8309cdd0c584bd5386a49265fb19ac64575fe108fd901d6f26c8d73c708'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 171449, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2012-11-17 15:54:41 UTC 
(rev 171450)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+   extends, extends_name, list_of);
+ 
+--
+cgit v0.9.0.2

Copied: glib2/repos/testing-x86_64/PKGBUILD (from rev 171449, 
glib2/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-11-17 15:54:41 UTC (rev 171450)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.34.2
+pkgrel=2
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2' 

[arch-commits] Commit in glib2/repos (6 files)

2012-11-09 Thread Jan Steffens
Date: Friday, November 9, 2012 @ 23:22:59
  Author: heftig
Revision: 170717

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 170716, glib2/trunk/PKGBUILD)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 170716, glib2/trunk/revert-warn-glib-compile-schemas.patch)
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 170716, glib2/trunk/PKGBUILD)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 170716, glib2/trunk/revert-warn-glib-compile-schemas.patch)

---+
 testing-i686/PKGBUILD |   38 
 testing-i686/revert-warn-glib-compile-schemas.patch   |   33 +
 testing-x86_64/PKGBUILD   |   38 
 testing-x86_64/revert-warn-glib-compile-schemas.patch |   33 +
 4 files changed, 142 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 170716, 
glib2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-11-10 04:22:59 UTC (rev 170717)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.34.2
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('2d99a8309cdd0c584bd5386a49265fb19ac64575fe108fd901d6f26c8d73c708'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 170716, glib2/trunk/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2012-11-10 04:22:59 UTC 
(rev 170717)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', '/desktop/' or '/system/' are deprecated.\n, id, 
path);
++
+   state-schema_state = schema_state_new (path, gettext_domain,
+   extends, extends_name, list_of);
+ 
+--
+cgit v0.9.0.2

Copied: glib2/repos/testing-x86_64/PKGBUILD (from rev 170716, 
glib2/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-11-10 04:22:59 UTC (rev 170717)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.34.2
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2')
+optdepends=('python2: for 

[arch-commits] Commit in glib2/repos (6 files)

2012-05-16 Thread Ionut Biru
Date: Wednesday, May 16, 2012 @ 16:32:26
  Author: ibiru
Revision: 159153

db-move: moved glib2 from [testing] to [extra] (i686)

Added:
  glib2/repos/extra-i686/
  glib2/repos/extra-i686/PKGBUILD
(from rev 159152, glib2/repos/testing-i686/PKGBUILD)
  glib2/repos/extra-i686/glib2.csh
(from rev 159152, glib2/repos/testing-i686/glib2.csh)
  glib2/repos/extra-i686/glib2.sh
(from rev 159152, glib2/repos/testing-i686/glib2.sh)
  glib2/repos/extra-i686/revert-warn-glib-compile-schemas.patch
(from rev 159152, 
glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch)
Deleted:
  glib2/repos/testing-i686/

+
 PKGBUILD   |   46 +++
 glib2.csh  |1 
 glib2.sh   |1 
 revert-warn-glib-compile-schemas.patch |   33 ++
 4 files changed, 81 insertions(+)

Copied: glib2/repos/extra-i686/PKGBUILD (from rev 159152, 
glib2/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-05-16 20:32:26 UTC (rev 159153)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.32.3
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+glib2.sh
+glib2.csh
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('b65ceb462807e4a2f91c95e4293ce6bbefca308cb44a1407bcfdd9e40363ff4d'
+'9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
+'8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  install -d $pkgdir/etc/profile.d
+  install -m755 $srcdir/glib2.sh $pkgdir/etc/profile.d/
+  install -m755 $srcdir/glib2.csh $pkgdir/etc/profile.d/
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/extra-i686/glib2.csh (from rev 159152, 
glib2/repos/testing-i686/glib2.csh)
===
--- extra-i686/glib2.csh(rev 0)
+++ extra-i686/glib2.csh2012-05-16 20:32:26 UTC (rev 159153)
@@ -0,0 +1 @@
+setenv G_BROKEN_FILENAMES 1

Copied: glib2/repos/extra-i686/glib2.sh (from rev 159152, 
glib2/repos/testing-i686/glib2.sh)
===
--- extra-i686/glib2.sh (rev 0)
+++ extra-i686/glib2.sh 2012-05-16 20:32:26 UTC (rev 159153)
@@ -0,0 +1 @@
+export G_BROKEN_FILENAMES=1

Copied: glib2/repos/extra-i686/revert-warn-glib-compile-schemas.patch (from rev 
159152, glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch)
===
--- extra-i686/revert-warn-glib-compile-schemas.patch   
(rev 0)
+++ extra-i686/revert-warn-glib-compile-schemas.patch   2012-05-16 20:32:26 UTC 
(rev 159153)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr 

[arch-commits] Commit in glib2/repos (6 files)

2012-05-16 Thread Ionut Biru
Date: Wednesday, May 16, 2012 @ 16:32:27
  Author: ibiru
Revision: 159154

db-move: moved glib2 from [testing] to [extra] (x86_64)

Added:
  glib2/repos/extra-x86_64/
  glib2/repos/extra-x86_64/PKGBUILD
(from rev 159152, glib2/repos/testing-x86_64/PKGBUILD)
  glib2/repos/extra-x86_64/glib2.csh
(from rev 159152, glib2/repos/testing-x86_64/glib2.csh)
  glib2/repos/extra-x86_64/glib2.sh
(from rev 159152, glib2/repos/testing-x86_64/glib2.sh)
  glib2/repos/extra-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 159152, 
glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch)
Deleted:
  glib2/repos/testing-x86_64/

+
 PKGBUILD   |   46 +++
 glib2.csh  |1 
 glib2.sh   |1 
 revert-warn-glib-compile-schemas.patch |   33 ++
 4 files changed, 81 insertions(+)

Copied: glib2/repos/extra-x86_64/PKGBUILD (from rev 159152, 
glib2/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2012-05-16 20:32:27 UTC (rev 159154)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.32.3
+pkgrel=1
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+glib2.sh
+glib2.csh
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('b65ceb462807e4a2f91c95e4293ce6bbefca308cb44a1407bcfdd9e40363ff4d'
+'9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
+'8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libdir=/usr/lib \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make completiondir=/usr/share/bash-completion/completions DESTDIR=$pkgdir 
install
+
+  install -d $pkgdir/etc/profile.d
+  install -m755 $srcdir/glib2.sh $pkgdir/etc/profile.d/
+  install -m755 $srcdir/glib2.csh $pkgdir/etc/profile.d/
+
+  for _i in $pkgdir/usr/share/bash-completion/completions/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/extra-x86_64/glib2.csh (from rev 159152, 
glib2/repos/testing-x86_64/glib2.csh)
===
--- extra-x86_64/glib2.csh  (rev 0)
+++ extra-x86_64/glib2.csh  2012-05-16 20:32:27 UTC (rev 159154)
@@ -0,0 +1 @@
+setenv G_BROKEN_FILENAMES 1

Copied: glib2/repos/extra-x86_64/glib2.sh (from rev 159152, 
glib2/repos/testing-x86_64/glib2.sh)
===
--- extra-x86_64/glib2.sh   (rev 0)
+++ extra-x86_64/glib2.sh   2012-05-16 20:32:27 UTC (rev 159154)
@@ -0,0 +1 @@
+export G_BROKEN_FILENAMES=1

Copied: glib2/repos/extra-x86_64/revert-warn-glib-compile-schemas.patch (from 
rev 159152, glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch)
===
--- extra-x86_64/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ extra-x86_64/revert-warn-glib-compile-schemas.patch 2012-05-16 20:32:27 UTC 
(rev 159154)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||

[arch-commits] Commit in glib2/repos (6 files)

2012-04-26 Thread Allan McRae
Date: Thursday, April 26, 2012 @ 17:34:06
  Author: allan
Revision: 157277

db-move: moved glib2 from [staging] to [testing] (i686)

Added:
  glib2/repos/testing-i686/
  glib2/repos/testing-i686/PKGBUILD
(from rev 157266, glib2/repos/staging-i686/PKGBUILD)
  glib2/repos/testing-i686/glib2.csh
(from rev 157266, glib2/repos/staging-i686/glib2.csh)
  glib2/repos/testing-i686/glib2.sh
(from rev 157266, glib2/repos/staging-i686/glib2.sh)
  glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch
(from rev 157266, 
glib2/repos/staging-i686/revert-warn-glib-compile-schemas.patch)
Deleted:
  glib2/repos/staging-i686/

+
 PKGBUILD   |   46 +++
 glib2.csh  |1 
 glib2.sh   |1 
 revert-warn-glib-compile-schemas.patch |   33 ++
 4 files changed, 81 insertions(+)

Copied: glib2/repos/testing-i686/PKGBUILD (from rev 157266, 
glib2/repos/staging-i686/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-04-26 21:34:06 UTC (rev 157277)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.32.1
+pkgrel=3
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+glib2.sh
+glib2.csh
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('484d5b7fc09f3fa398355adaf74b369768f5859866c299f229c99721990f8398'
+'9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
+'8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make DESTDIR=$pkgdir install
+
+  install -d $pkgdir/etc/profile.d
+  install -m755 $srcdir/glib2.sh $pkgdir/etc/profile.d/
+  install -m755 $srcdir/glib2.csh $pkgdir/etc/profile.d/
+
+  for _i in $pkgdir/etc/bash_completion.d/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/testing-i686/glib2.csh (from rev 157266, 
glib2/repos/staging-i686/glib2.csh)
===
--- testing-i686/glib2.csh  (rev 0)
+++ testing-i686/glib2.csh  2012-04-26 21:34:06 UTC (rev 157277)
@@ -0,0 +1 @@
+setenv G_BROKEN_FILENAMES 1

Copied: glib2/repos/testing-i686/glib2.sh (from rev 157266, 
glib2/repos/staging-i686/glib2.sh)
===
--- testing-i686/glib2.sh   (rev 0)
+++ testing-i686/glib2.sh   2012-04-26 21:34:06 UTC (rev 157277)
@@ -0,0 +1 @@
+export G_BROKEN_FILENAMES=1

Copied: glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch (from 
rev 157266, glib2/repos/staging-i686/revert-warn-glib-compile-schemas.patch)
===
--- testing-i686/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ testing-i686/revert-warn-glib-compile-schemas.patch 2012-04-26 21:34:06 UTC 
(rev 157277)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path 

[arch-commits] Commit in glib2/repos (6 files)

2012-04-26 Thread Allan McRae
Date: Thursday, April 26, 2012 @ 17:34:07
  Author: allan
Revision: 157278

db-move: moved glib2 from [staging] to [testing] (x86_64)

Added:
  glib2/repos/testing-x86_64/
  glib2/repos/testing-x86_64/PKGBUILD
(from rev 157266, glib2/repos/staging-x86_64/PKGBUILD)
  glib2/repos/testing-x86_64/glib2.csh
(from rev 157266, glib2/repos/staging-x86_64/glib2.csh)
  glib2/repos/testing-x86_64/glib2.sh
(from rev 157266, glib2/repos/staging-x86_64/glib2.sh)
  glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 157266, 
glib2/repos/staging-x86_64/revert-warn-glib-compile-schemas.patch)
Deleted:
  glib2/repos/staging-x86_64/

+
 PKGBUILD   |   46 +++
 glib2.csh  |1 
 glib2.sh   |1 
 revert-warn-glib-compile-schemas.patch |   33 ++
 4 files changed, 81 insertions(+)

Copied: glib2/repos/testing-x86_64/PKGBUILD (from rev 157266, 
glib2/repos/staging-x86_64/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-04-26 21:34:07 UTC (rev 157278)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.32.1
+pkgrel=3
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkg-config' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+glib2.sh
+glib2.csh
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('484d5b7fc09f3fa398355adaf74b369768f5859866c299f229c99721990f8398'
+'9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
+'8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make DESTDIR=$pkgdir install
+
+  install -d $pkgdir/etc/profile.d
+  install -m755 $srcdir/glib2.sh $pkgdir/etc/profile.d/
+  install -m755 $srcdir/glib2.csh $pkgdir/etc/profile.d/
+
+  for _i in $pkgdir/etc/bash_completion.d/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/testing-x86_64/glib2.csh (from rev 157266, 
glib2/repos/staging-x86_64/glib2.csh)
===
--- testing-x86_64/glib2.csh(rev 0)
+++ testing-x86_64/glib2.csh2012-04-26 21:34:07 UTC (rev 157278)
@@ -0,0 +1 @@
+setenv G_BROKEN_FILENAMES 1

Copied: glib2/repos/testing-x86_64/glib2.sh (from rev 157266, 
glib2/repos/staging-x86_64/glib2.sh)
===
--- testing-x86_64/glib2.sh (rev 0)
+++ testing-x86_64/glib2.sh 2012-04-26 21:34:07 UTC (rev 157278)
@@ -0,0 +1 @@
+export G_BROKEN_FILENAMES=1

Copied: glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch (from 
rev 157266, glib2/repos/staging-x86_64/revert-warn-glib-compile-schemas.patch)
===
--- testing-x86_64/revert-warn-glib-compile-schemas.patch   
(rev 0)
+++ testing-x86_64/revert-warn-glib-compile-schemas.patch   2012-04-26 
21:34:07 UTC (rev 157278)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, 

[arch-commits] Commit in glib2/repos (6 files)

2012-04-23 Thread Ionut Biru
Date: Monday, April 23, 2012 @ 05:05:43
  Author: ibiru
Revision: 156791

db-move: moved glib2 from [testing] to [extra] (i686)

Added:
  glib2/repos/extra-i686/
  glib2/repos/extra-i686/PKGBUILD
(from rev 156695, glib2/repos/testing-i686/PKGBUILD)
  glib2/repos/extra-i686/glib2.csh
(from rev 156695, glib2/repos/testing-i686/glib2.csh)
  glib2/repos/extra-i686/glib2.sh
(from rev 156695, glib2/repos/testing-i686/glib2.sh)
  glib2/repos/extra-i686/revert-warn-glib-compile-schemas.patch
(from rev 156695, 
glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch)
Deleted:
  glib2/repos/testing-i686/

+
 PKGBUILD   |   46 +++
 glib2.csh  |1 
 glib2.sh   |1 
 revert-warn-glib-compile-schemas.patch |   33 ++
 4 files changed, 81 insertions(+)

Copied: glib2/repos/extra-i686/PKGBUILD (from rev 156695, 
glib2/repos/testing-i686/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-04-23 09:05:43 UTC (rev 156791)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.32.1
+pkgrel=2
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkgconfig' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+glib2.sh
+glib2.csh
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('484d5b7fc09f3fa398355adaf74b369768f5859866c299f229c99721990f8398'
+'9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
+'8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make DESTDIR=$pkgdir install
+
+  install -d $pkgdir/etc/profile.d
+  install -m755 $srcdir/glib2.sh $pkgdir/etc/profile.d/
+  install -m755 $srcdir/glib2.csh $pkgdir/etc/profile.d/
+
+  for _i in $pkgdir/etc/bash_completion.d/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/extra-i686/glib2.csh (from rev 156695, 
glib2/repos/testing-i686/glib2.csh)
===
--- extra-i686/glib2.csh(rev 0)
+++ extra-i686/glib2.csh2012-04-23 09:05:43 UTC (rev 156791)
@@ -0,0 +1 @@
+setenv G_BROKEN_FILENAMES 1

Copied: glib2/repos/extra-i686/glib2.sh (from rev 156695, 
glib2/repos/testing-i686/glib2.sh)
===
--- extra-i686/glib2.sh (rev 0)
+++ extra-i686/glib2.sh 2012-04-23 09:05:43 UTC (rev 156791)
@@ -0,0 +1 @@
+export G_BROKEN_FILENAMES=1

Copied: glib2/repos/extra-i686/revert-warn-glib-compile-schemas.patch (from rev 
156695, glib2/repos/testing-i686/revert-warn-glib-compile-schemas.patch)
===
--- extra-i686/revert-warn-glib-compile-schemas.patch   
(rev 0)
+++ extra-i686/revert-warn-glib-compile-schemas.patch   2012-04-23 09:05:43 UTC 
(rev 156791)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema '%s' has path '%s'.  Paths starting with 
++'/apps/', 

[arch-commits] Commit in glib2/repos (6 files)

2012-04-23 Thread Ionut Biru
Date: Monday, April 23, 2012 @ 05:05:44
  Author: ibiru
Revision: 156792

db-move: moved glib2 from [testing] to [extra] (x86_64)

Added:
  glib2/repos/extra-x86_64/
  glib2/repos/extra-x86_64/PKGBUILD
(from rev 156695, glib2/repos/testing-x86_64/PKGBUILD)
  glib2/repos/extra-x86_64/glib2.csh
(from rev 156695, glib2/repos/testing-x86_64/glib2.csh)
  glib2/repos/extra-x86_64/glib2.sh
(from rev 156695, glib2/repos/testing-x86_64/glib2.sh)
  glib2/repos/extra-x86_64/revert-warn-glib-compile-schemas.patch
(from rev 156695, 
glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch)
Deleted:
  glib2/repos/testing-x86_64/

+
 PKGBUILD   |   46 +++
 glib2.csh  |1 
 glib2.sh   |1 
 revert-warn-glib-compile-schemas.patch |   33 ++
 4 files changed, 81 insertions(+)

Copied: glib2/repos/extra-x86_64/PKGBUILD (from rev 156695, 
glib2/repos/testing-x86_64/PKGBUILD)
===
--- extra-x86_64/PKGBUILD   (rev 0)
+++ extra-x86_64/PKGBUILD   2012-04-23 09:05:44 UTC (rev 156792)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan de Groot j...@archlinux.org
+
+pkgname=glib2
+pkgver=2.32.1
+pkgrel=2
+pkgdesc=Common C routines used by GTK+ and other libs
+url=http://www.gtk.org/;
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('pcre' 'libffi')
+makedepends=('pkgconfig' 'python2')
+optdepends=('python2: for gdbus-codegen')
+options=('!libtool' '!docs' '!emptydirs')
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-$pkgver.tar.xz
+glib2.sh
+glib2.csh
+revert-warn-glib-compile-schemas.patch)
+sha256sums=('484d5b7fc09f3fa398355adaf74b369768f5859866c299f229c99721990f8398'
+'9456872cdedcc639fb679448d74b85b0facf81033e27157d2861b991823b5a2a'
+'8d5626ffa361304ad3696493c0ef041d0ab10c857f6ef32116b3e2878ecf89e3'
+'049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+build() {
+  cd glib-$pkgver
+  patch -Rp1 -i $srcdir/revert-warn-glib-compile-schemas.patch
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+  --sysconfdir=/etc \
+  --with-pcre=system \
+  --disable-fam
+  make
+}
+
+package() {
+  cd glib-$pkgver
+  make DESTDIR=$pkgdir install
+
+  install -d $pkgdir/etc/profile.d
+  install -m755 $srcdir/glib2.sh $pkgdir/etc/profile.d/
+  install -m755 $srcdir/glib2.csh $pkgdir/etc/profile.d/
+
+  for _i in $pkgdir/etc/bash_completion.d/*; do
+  chmod -x $_i
+  done
+  sed -i s|#!/usr/bin/env python|#!/usr/bin/env python2| 
$pkgdir/usr/bin/gdbus-codegen
+}

Copied: glib2/repos/extra-x86_64/glib2.csh (from rev 156695, 
glib2/repos/testing-x86_64/glib2.csh)
===
--- extra-x86_64/glib2.csh  (rev 0)
+++ extra-x86_64/glib2.csh  2012-04-23 09:05:44 UTC (rev 156792)
@@ -0,0 +1 @@
+setenv G_BROKEN_FILENAMES 1

Copied: glib2/repos/extra-x86_64/glib2.sh (from rev 156695, 
glib2/repos/testing-x86_64/glib2.sh)
===
--- extra-x86_64/glib2.sh   (rev 0)
+++ extra-x86_64/glib2.sh   2012-04-23 09:05:44 UTC (rev 156792)
@@ -0,0 +1 @@
+export G_BROKEN_FILENAMES=1

Copied: glib2/repos/extra-x86_64/revert-warn-glib-compile-schemas.patch (from 
rev 156695, glib2/repos/testing-x86_64/revert-warn-glib-compile-schemas.patch)
===
--- extra-x86_64/revert-warn-glib-compile-schemas.patch 
(rev 0)
+++ extra-x86_64/revert-warn-glib-compile-schemas.patch 2012-04-23 09:05:44 UTC 
(rev 156792)
@@ -0,0 +1,33 @@
+From 6560b37450cd19c4a7c7b690e279fe97b7bfdcaa Mon Sep 17 00:00:00 2001
+From: Ryan Lortie de...@desrt.ca
+Date: Thu, 12 Apr 2012 23:55:34 +
+Subject: glib-compile-schemas: warn about bad dconf paths
+
+For quite some time the recommended usage of GSettings and dconf has
+been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
+over from GConf and is continuing to make its way into a number of
+applications as they port.
+
+glib-compile-schemas will now warn about these types of paths being
+used.  This generates a lot of noise, but hopefully it will reduce the
+number of ported applications making this mistake.
+---
+diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
+index cf02389..27d0181 100644
+--- a/gio/glib-compile-schemas.c
 b/gio/glib-compile-schemas.c
+@@ -1204,6 +1204,12 @@ parse_state_start_schema (ParseState  *state,
+   return;
+ }
+ 
++  if (path  (g_str_has_prefix (path, /apps/) ||
++   g_str_has_prefix (path, /desktop/) ||
++   g_str_has_prefix (path, /system/)))
++g_printerr (warning: Schema