rpms/synaptic/F-7 synaptic-0.57.2-progressapi-hack.patch,NONE,1.1
Axel Thimm (athimm)
fedora-extras-commits at redhat.com
Mon Dec 31 00:27:24 UTC 2007
- Previous message (by thread): rpms/kernel/devel kernel.spec,1.338,1.339
- Next message (by thread): rpms/tetex-tex4ht/EL-4 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 tetex-tex4ht.spec, 1.2, 1.3 tex4ht-env.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: athimm
Update of /cvs/extras/rpms/synaptic/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32267/F-7
Added Files:
synaptic-0.57.2-progressapi-hack.patch
Log Message:
Backport to F7.
synaptic-0.57.2-progressapi-hack.patch:
--- NEW FILE synaptic-0.57.2-progressapi-hack.patch ---
commit 18fa763b9ebf9c5c4bc6b0a7a759190e98baaff3
Author: Panu Matilainen <pmatilai at turre.koti.laiskiainen.org>
Date: Mon Mar 5 22:17:51 2007 +0200
- add ugly kludge of a patch (but that's in good company considering the
other stuff in rpackagemanager.h) to make synaptic use what was supposed
to be automatic synaptic compatibility progress stuff from new apt.. sigh
diff --git a/common/rpackagemanager.h b/common/rpackagemanager.h
index a632881..33f1c2c 100644
--- a/common/rpackagemanager.h
+++ b/common/rpackagemanager.h
@@ -38,6 +38,8 @@
#include <string>
#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/progress.h>
+#include <apt-pkg/configuration.h>
#define protected public
#include <apt-pkg/packagemanager.h>
@@ -57,6 +59,7 @@ class RPackageManager {
pkgPackageManager *pm;
pkgPackageManager::OrderResult DoInstallPreFork() {
+ pm->Progress = new InstPercentProgress(*_config);
Res = pm->OrderInstall();
return Res;
};
@@ -71,6 +74,7 @@ class RPackageManager {
#endif
RPackageManager(pkgPackageManager *pm) : pm(pm) {};
+ ~RPackageManager() { delete pm->Progress; };
};
- Previous message (by thread): rpms/kernel/devel kernel.spec,1.338,1.339
- Next message (by thread): rpms/tetex-tex4ht/EL-4 .cvsignore, 1.3, 1.4 sources, 1.3, 1.4 tetex-tex4ht.spec, 1.2, 1.3 tex4ht-env.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list