diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/packagekit/alpm.patch | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/packagekit/alpm.patch')
-rw-r--r-- | community/packagekit/alpm.patch | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/community/packagekit/alpm.patch b/community/packagekit/alpm.patch index 8b972b291..a15fafeb2 100644 --- a/community/packagekit/alpm.patch +++ b/community/packagekit/alpm.patch @@ -1080,7 +1080,7 @@ index d2f363b..80d5ae0 100644 out: diff --git a/backends/alpm/pk-backend-transaction.c b/backends/alpm/pk-backend-transaction.c -index 76402f0..5e32151 100644 +index 76402f0..554f06d 100644 --- a/backends/alpm/pk-backend-transaction.c +++ b/backends/alpm/pk-backend-transaction.c @@ -63,7 +63,7 @@ alpm_pkg_has_basename (alpm_pkg_t *pkg, const gchar *basename) @@ -1130,7 +1130,15 @@ index 76402f0..5e32151 100644 if (percent == recent) { break; } -@@ -388,6 +393,17 @@ pk_backend_output (PkBackend *self, const gchar *output) +@@ -316,7 +321,6 @@ pk_backend_transaction_conv_cb (alpm_question_t question, gpointer data1, + case ALPM_QUESTION_REPLACE_PKG: + case ALPM_QUESTION_CONFLICT_PKG: + case ALPM_QUESTION_CORRUPTED_PKG: +- case ALPM_QUESTION_LOCAL_NEWER: + /* these actions are mostly harmless */ + g_debug ("safe question %d", question); + *result = 1; +@@ -388,6 +392,17 @@ pk_backend_output (PkBackend *self, const gchar *output) } static void @@ -1148,7 +1156,7 @@ index 76402f0..5e32151 100644 pk_backend_transaction_dep_resolve (PkBackend *self) { g_return_if_fail (self != NULL); -@@ -427,7 +443,8 @@ pk_backend_transaction_add_done (PkBackend *self, alpm_pkg_t *pkg) +@@ -427,7 +442,8 @@ pk_backend_transaction_add_done (PkBackend *self, alpm_pkg_t *pkg) name = alpm_pkg_get_name (pkg); version = alpm_pkg_get_version (pkg); @@ -1158,7 +1166,7 @@ index 76402f0..5e32151 100644 pk_backend_pkg (self, pkg, PK_INFO_ENUM_FINISHED); optdepends = alpm_pkg_get_optdepends (pkg); -@@ -435,8 +452,10 @@ pk_backend_transaction_add_done (PkBackend *self, alpm_pkg_t *pkg) +@@ -435,8 +451,10 @@ pk_backend_transaction_add_done (PkBackend *self, alpm_pkg_t *pkg) pk_backend_output (self, "Optional dependencies:\n"); for (i = optdepends; i != NULL; i = i->next) { @@ -1170,7 +1178,7 @@ index 76402f0..5e32151 100644 pk_backend_output (self, output); g_free (output); } -@@ -467,7 +486,8 @@ pk_backend_transaction_remove_done (PkBackend *self, alpm_pkg_t *pkg) +@@ -467,7 +485,8 @@ pk_backend_transaction_remove_done (PkBackend *self, alpm_pkg_t *pkg) name = alpm_pkg_get_name (pkg); version = alpm_pkg_get_version (pkg); @@ -1180,7 +1188,7 @@ index 76402f0..5e32151 100644 pk_backend_pkg (self, pkg, PK_INFO_ENUM_FINISHED); pk_backend_output_end (self); } -@@ -498,45 +518,106 @@ pk_backend_transaction_upgrade_start (PkBackend *self, alpm_pkg_t *pkg, +@@ -498,45 +517,106 @@ pk_backend_transaction_upgrade_start (PkBackend *self, alpm_pkg_t *pkg, pk_backend_output_start (self, pkg); } @@ -1307,7 +1315,7 @@ index 76402f0..5e32151 100644 pk_backend_transaction_setup (PkBackend *self) { g_return_if_fail (self != NULL); -@@ -545,12 +626,46 @@ pk_backend_transaction_setup (PkBackend *self) +@@ -545,12 +625,46 @@ pk_backend_transaction_setup (PkBackend *self) } static void @@ -1355,7 +1363,7 @@ index 76402f0..5e32151 100644 switch (event) { case ALPM_EVENT_CHECKDEPS_START: case ALPM_EVENT_RESOLVEDEPS_START: -@@ -559,7 +674,6 @@ pk_backend_transaction_event_cb (alpm_event_t event, gpointer data, +@@ -559,7 +673,6 @@ pk_backend_transaction_event_cb (alpm_event_t event, gpointer data, case ALPM_EVENT_FILECONFLICTS_START: case ALPM_EVENT_INTERCONFLICTS_START: @@ -1363,7 +1371,7 @@ index 76402f0..5e32151 100644 case ALPM_EVENT_DELTA_INTEGRITY_START: case ALPM_EVENT_DISKSPACE_START: pk_backend_transaction_test_commit (backend); -@@ -582,23 +696,73 @@ pk_backend_transaction_event_cb (alpm_event_t event, gpointer data, +@@ -582,23 +695,73 @@ pk_backend_transaction_event_cb (alpm_event_t event, gpointer data, break; case ALPM_EVENT_UPGRADE_START: @@ -1438,7 +1446,7 @@ index 76402f0..5e32151 100644 default: g_debug ("unhandled event %d", event); break; -@@ -623,7 +787,7 @@ pk_backend_transaction_initialize (PkBackend *self, alpm_transflag_t flags, +@@ -623,7 +786,7 @@ pk_backend_transaction_initialize (PkBackend *self, alpm_transflag_t flags, g_return_val_if_fail (cancellable != NULL, FALSE); if (alpm_trans_init (alpm, flags) < 0) { @@ -1447,7 +1455,7 @@ index 76402f0..5e32151 100644 g_set_error_literal (error, ALPM_ERROR, errno, alpm_strerror (errno)); return FALSE; -@@ -692,6 +856,7 @@ alpm_depend_free (alpm_depend_t *depend) +@@ -692,6 +855,7 @@ alpm_depend_free (alpm_depend_t *depend) { free (depend->name); free (depend->version); @@ -1455,7 +1463,7 @@ index 76402f0..5e32151 100644 free (depend); } -@@ -731,7 +896,7 @@ alpm_conflict_build_list (const alpm_list_t *i) +@@ -731,7 +895,7 @@ alpm_conflict_build_list (const alpm_list_t *i) g_string_append_printf (list, "%s <-> %s (%s), ", conflict->package1, conflict->package2, reason); @@ -1464,7 +1472,7 @@ index 76402f0..5e32151 100644 } } -@@ -837,12 +1002,12 @@ pk_backend_transaction_simulate (PkBackend *self, GError **error) +@@ -837,12 +1001,12 @@ pk_backend_transaction_simulate (PkBackend *self, GError **error) } if (prefix != NULL) { @@ -1479,7 +1487,7 @@ index 76402f0..5e32151 100644 g_set_error_literal (error, ALPM_ERROR, errno, alpm_strerror (errno)); } -@@ -959,12 +1124,12 @@ pk_backend_transaction_commit (PkBackend *self, GError **error) +@@ -959,12 +1123,12 @@ pk_backend_transaction_commit (PkBackend *self, GError **error) } if (prefix != NULL) { @@ -1494,7 +1502,7 @@ index 76402f0..5e32151 100644 g_set_error_literal (error, ALPM_ERROR, errno, alpm_strerror (errno)); } -@@ -993,7 +1158,7 @@ pk_backend_transaction_end (PkBackend *self, GError **error) +@@ -993,7 +1157,7 @@ pk_backend_transaction_end (PkBackend *self, GError **error) } if (alpm_trans_release (alpm) < 0) { @@ -1597,7 +1605,7 @@ index 37ade1e..ff83b5e 100644 alpm_pkg_t *upgrade = alpm_pkg_find_update (i->data, syncdbs); diff --git a/configure.ac b/configure.ac -index 37e8a64..2e85f6f 100644 +index 37e8a64..4a33dbd 100644 --- a/configure.ac +++ b/configure.ac @@ -707,9 +707,7 @@ if test x$enable_opkg = xyes; then @@ -1607,7 +1615,7 @@ index 37e8a64..2e85f6f 100644 - AC_CHECK_HEADER([alpm.h], - [], - [AC_MSG_ERROR([No ALPM headers found])]) -+ PKG_CHECK_MODULES(ALPM, libalpm >= 4.1.0) ++ PKG_CHECK_MODULES(ALPM, libalpm >= 8.0.1) fi if test x$enable_poldek = xyes; then |