[gnome-continuous] manifest: Add libarchive
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] manifest: Add libarchive
- Date: Thu, 19 Sep 2013 13:10:48 +0000 (UTC)
commit 6dcb0c94cf304784293bfb9b416c0e0fe9560a2b
Author: Colin Walters <walters verbum org>
Date: Thu Sep 19 09:09:42 2013 -0400
manifest: Add libarchive
Will be used by evince, indirectly. Also benefits ostree.
https://bugzilla.gnome.org/show_bug.cgi?id=708239
manifest.json | 4 ++++
patches/libarchive-autogen.patch | 22 ++++++++++++++++++++++
src/js/tasks/task-build.js | 1 +
3 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 23bc83c..bef1400 100644
--- a/manifest.json
+++ b/manifest.json
@@ -403,6 +403,10 @@
"name": "ghostscript",
"checksum": "913fc974433238ffd4e0549ce11ba2a3360d1d159cf5c3b988d72a77acb74d04"},
+ {"src": "git:https://github.com/libarchive/libarchive.git",
+ "tag": "v3.1.2",
+ "patches": ["libarchive-autogen.patch"]},
+
{"src": "cgwalters:spidermonkey-tarballs-as-git",
"name": "js17",
"branch": "js-17",
diff --git a/patches/libarchive-autogen.patch b/patches/libarchive-autogen.patch
new file mode 100644
index 0000000..802d435
--- /dev/null
+++ b/patches/libarchive-autogen.patch
@@ -0,0 +1,22 @@
+From cd3aca6e71ab02357319949ccbbd03e327f0e95b Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters verbum org>
+Date: Thu, 19 Sep 2013 09:03:39 -0400
+Subject: [PATCH] autogen.sh: New file to implement GNOME Build API
+
+See http://people.gnome.org/~walters/docs/build-api.txt
+---
+ autogen.sh | 2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+ create mode 100755 autogen.sh
+
+diff --git a/autogen.sh b/autogen.sh
+new file mode 100755
+index 0000000..9cb5b9f
+--- /dev/null
++++ b/autogen.sh
+@@ -0,0 +1,2 @@
++#!/bin/sh
++exec autoreconf --force --install --verbose
+--
+1.7.1
+
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index de96aba..66299fb 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -707,6 +707,7 @@ const TaskBuild = new Lang.Class({
this.ostreeRepo.prepare_transaction(cancellable);
let file = this._writeMtreeFromDirectory(finalBuildResultDir, setuidFiles, cancellable);
let rev = this._commit(buildRef, "Build", file, cancellable, { withParent: false });
+ imports.system.gc(); // We may be leaking file refs
this.ostreeRepo.commit_transaction(cancellable);
let ostreeRevision = this._saveComponentBuild(buildRef, rev, expandedComponent, cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]