Bug 54114 - various Idle build-system badgering
Summary: various Idle build-system badgering
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: idle (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Simon McVittie
QA Contact: Telepathy bugs list
URL: http://cgit.freedesktop.org/~smcv/tel...
Whiteboard: review?
Keywords: patch
Depends on:
Blocks:
 
Reported: 2012-08-27 09:44 UTC by Simon McVittie
Modified: 2013-11-05 17:08 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
1/7] configure.ac: consistently use AS_IF instead of if/fi (2.39 KB, patch)
2013-06-11 14:28 UTC, Simon McVittie
Details | Splinter Review
2/7] Remove GLib < 2.32 code paths (1.63 KB, patch)
2013-06-11 14:29 UTC, Simon McVittie
Details | Splinter Review
3/7] Use AC_MKDIR_P instead of deprecated AM_MKDIR_P (1.37 KB, patch)
2013-06-11 14:29 UTC, Simon McVittie
Details | Splinter Review
4/7] .gitignore: Automake 1.13 installs test-driver (626 bytes, patch)
2013-06-11 14:29 UTC, Simon McVittie
Details | Splinter Review
5/7] Copy in run-test.sh.in from Gabble (2.37 KB, patch)
2013-06-11 14:30 UTC, Simon McVittie
Details | Splinter Review
6/7] run-test.sh.in: adapt for Idle (3.41 KB, patch)
2013-06-11 14:30 UTC, Simon McVittie
Details | Splinter Review
7/7] Run tests during "make check" with run-test.sh (2.34 KB, patch)
2013-06-11 14:30 UTC, Simon McVittie
Details | Splinter Review
1/3] Bump Autoconf dependency to 2.60 for AC_MKDIR_P (658 bytes, patch)
2013-10-10 12:11 UTC, Simon McVittie
Details | Splinter Review
2/3] configure.ac: consistently use AS_IF instead of if/fi (2.39 KB, patch)
2013-10-10 12:11 UTC, Simon McVittie
Details | Splinter Review
3/3] Remove GLib < 2.32 code paths (1.65 KB, patch)
2013-10-10 12:11 UTC, Simon McVittie
Details | Splinter Review

Description Simon McVittie 2012-08-27 09:44:02 UTC
+++ This bug was initially created as a clone of Bug #53445 +++

Ordinary shell conditionals with "if" or "case" aren't actually safe in configure.ac; it's sometimes necessary to use AS_IF, AS_CASE. Ideally, we should do that consistently across all projects.
Comment 1 Simon McVittie 2013-06-11 14:27:59 UTC
Hijacking this bug for a trivia branch, which includes this and more.
Comment 2 Simon McVittie 2013-06-11 14:28:41 UTC
Created attachment 80692 [details] [review]
1/7] configure.ac: consistently use AS_IF instead of if/fi
Comment 3 Simon McVittie 2013-06-11 14:29:13 UTC
Created attachment 80693 [details] [review]
2/7] Remove GLib < 2.32 code paths

---

We already depend on it (since my last git push).
Comment 4 Simon McVittie 2013-06-11 14:29:30 UTC
Created attachment 80694 [details] [review]
3/7] Use AC_MKDIR_P instead of deprecated AM_MKDIR_P

This replaces $(mkdir_p) with $(MKDIR_P) - adjust.
Comment 5 Simon McVittie 2013-06-11 14:29:45 UTC
Created attachment 80695 [details] [review]
4/7] .gitignore: Automake 1.13 installs test-driver
Comment 6 Simon McVittie 2013-06-11 14:30:23 UTC
Created attachment 80696 [details] [review]
5/7] Copy in run-test.sh.in from Gabble

---

This assumes that the patch at <https://bugs.freedesktop.org/show_bug.cgi?id=65290#c27> is applied to Gabble first. Please review that :-)
Comment 7 Simon McVittie 2013-06-11 14:30:38 UTC
Created attachment 80697 [details] [review]
6/7] run-test.sh.in: adapt for Idle

This is mostly s/GABBLE/IDLE/, s/gabble/idle/ but I also pulled in
IDLE_SSL_KEY and IDLE_SSL_CERT, and simplified the setup for various
variables that we can make identical in the installed and uninstalled
cases. (The installed case isn't implemented yet.)
Comment 8 Simon McVittie 2013-06-11 14:30:50 UTC
Created attachment 80698 [details] [review]
7/7] Run tests during "make check" with run-test.sh
Comment 9 Simon McVittie 2013-06-11 14:31:49 UTC
This distchecks successfully with Autoconf 2.69 and Automake 1.13 under Debian, FWIW.
Comment 10 Simon McVittie 2013-09-05 12:44:32 UTC
(In reply to comment #6)
> 5/7] Copy in run-test.sh.in from Gabble
> This assumes that the patch at
> <https://bugs.freedesktop.org/show_bug.cgi?id=65290#c27> is applied to
> Gabble first

... which it has been.
Comment 11 Simon McVittie 2013-10-10 12:11:07 UTC
Created attachment 87386 [details] [review]
1/3] Bump Autoconf dependency to 2.60 for AC_MKDIR_P

---

Regression in the patches I just committed :-(

In principle this should also be applied to Gabble, Haze, Salut.
Comment 12 Simon McVittie 2013-10-10 12:11:19 UTC
Created attachment 87387 [details] [review]
2/3] configure.ac: consistently use AS_IF instead of if/fi
Comment 13 Simon McVittie 2013-10-10 12:11:41 UTC
Created attachment 87388 [details] [review]
3/3] Remove GLib < 2.32 code paths

---

We unconditionally depend on 2.32 already.
Comment 14 Guillaume Desmottes 2013-10-10 13:58:42 UTC
Comment on attachment 87386 [details] [review]
1/3] Bump Autoconf dependency to 2.60 for AC_MKDIR_P

Review of attachment 87386 [details] [review]:
-----------------------------------------------------------------

++
Comment 15 Guillaume Desmottes 2013-10-10 13:58:58 UTC
Comment on attachment 87387 [details] [review]
2/3] configure.ac: consistently use AS_IF instead of if/fi

Review of attachment 87387 [details] [review]:
-----------------------------------------------------------------

++
Comment 16 Guillaume Desmottes 2013-10-10 13:59:15 UTC
Comment on attachment 87388 [details] [review]
3/3] Remove GLib < 2.32 code paths

Review of attachment 87388 [details] [review]:
-----------------------------------------------------------------

++
Comment 17 Simon McVittie 2013-11-05 17:08:31 UTC
Fixed in git for 0.3.0


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.