rpms/kpackagekit/devel kpackagekit-0.4.0-i18n.patch, NONE, 1.1 kpackagekit.spec, 1.30, 1.31
Lukas Tinkl
ltinkl at fedoraproject.org
Tue Apr 28 15:48:20 UTC 2009
Author: ltinkl
Update of /cvs/extras/rpms/kpackagekit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8407/devel
Modified Files:
kpackagekit.spec
Added Files:
kpackagekit-0.4.0-i18n.patch
Log Message:
#493061 - kpackagekit translations not working
kpackagekit-0.4.0-i18n.patch:
--- NEW FILE kpackagekit-0.4.0-i18n.patch ---
Index: Settings/KcmKpkSettings.cpp
===================================================================
--- Settings/KcmKpkSettings.cpp (revision 960337)
+++ Settings/KcmKpkSettings.cpp (revision 960338)
@@ -40,4 +40,5 @@
connect(this, SIGNAL(s_defaults()), view, SLOT(defaults()) );
connect(view, SIGNAL(changed(bool)), this, SIGNAL(changed(bool)) );
m_grid->addWidget(view);
+ KGlobal::locale()->insertCatalog("kpackagekit");
}
Index: Updater/KcmKpkUpdate.cpp
===================================================================
--- Updater/KcmKpkUpdate.cpp (revision 960337)
+++ Updater/KcmKpkUpdate.cpp (revision 960338)
@@ -38,6 +38,7 @@
view = new KpkUpdate(this);
m_grid->addWidget(view);
connect(view, SIGNAL(changed(bool)), this, SIGNAL(changed(bool)));
+ KGlobal::locale()->insertCatalog("kpackagekit");
}
void KcmKpkUpdate::load()
Index: AddRm/KcmKpkAddRm.cpp
===================================================================
--- AddRm/KcmKpkAddRm.cpp (revision 960337)
+++ AddRm/KcmKpkAddRm.cpp (revision 960338)
@@ -32,6 +32,7 @@
: KCModule(KPackageKitFactory::componentData(), parent, args)
{
KAboutData *about = new KAboutData("kcm_kpk_addrm", "kpackagekit", ki18n("Add and Remove Software"), KPK_VERSION);
+ KGlobal::locale()->insertCatalog("kpackagekit");
setAboutData(about);
setButtons(Apply);
m_grid = new QGridLayout(this);
Index: KPackageKit/main.cpp
===================================================================
--- KPackageKit/main.cpp (revision 960337)
+++ KPackageKit/main.cpp (revision 960338)
@@ -30,7 +30,7 @@
int main(int argc, char **argv)
{
KAboutData about("KPackageKit",
- 0,
+ "kpackagekit",
ki18n("KPackageKit"),
KPK_VERSION,
ki18n("KPackageKit user interface"),
Index: kpackagekit.spec
===================================================================
RCS file: /cvs/extras/rpms/kpackagekit/devel/kpackagekit.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- kpackagekit.spec 28 Apr 2009 14:12:41 -0000 1.30
+++ kpackagekit.spec 28 Apr 2009 15:47:50 -0000 1.31
@@ -1,6 +1,6 @@
Name: kpackagekit
Version: 0.4.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: KDE interface for PackageKit
License: GPLv2+
@@ -13,6 +13,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version
# upstream me, says the patch
Patch100: kpackagekit-InitialPreference.patch
Patch101: kpackagekit-0.4.0-knotify_persistent.patch
+Patch102: kpackagekit-0.4.0-i18n.patch
BuildRequires: cmake
BuildRequires: desktop-file-utils
@@ -29,7 +30,7 @@ KDE interface for PackageKit.
%patch100 -p0 -b .InitialPreference
%patch101 -p1 -b .knotify_persistent
-
+%patch102 -p0 -b .i18n
%build
@@ -72,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Apr 28 2009 Lukáš Tinkl <ltinkl at redhat.com> - 0.4.0-7
+- upstream patch to fix catalog loading (#493061)
+
* Thu Apr 16 2009 Rex Dieter <rdieter at fedoraproject.org> - 0.4.0-6
- make update notification persistent (#485796)
More information about the scm-commits
mailing list