[packagekit] pisi MIME Types
Aşkın Yollu
askin at askin.ws
Mon Aug 10 04:31:14 PDT 2009
On Mon, Aug 10, 2009 at 12:19 PM, Richard Hughes<hughsient at gmail.com> wrote:
> 2009/8/7 Aşkın Yollu <askin at askin.ws>:
>> I try to pisi MIME type to backend, but i fail.
>> I add
>> return g_strdup ("application/x-pisi;");
>> to k-backend-pisi.c file, but it doesn't work.
>
> Okay, it looks like you did the right thing here, but probably didn't
> install the backend.so file correctly. How did you install this to
> your system? Did you do make install with a prefix set perhaps? If you
> send me a patch, I'll update the pisi backend for the next official
> release.
>
configure parameters,
--with-dbus-sys=/etc/dbus-1 \
--with-dbus-services=/usr/share/dbus-1/system-services \
--with-default-backend=pisi \
--enable-pisi \
--with-security-framework=polkit \
--localstatedir=/var \
--disable-static
static gchar *
backend_get_mime_types (PkBackend *backend)
{
return g_strdup ("application/x-pisi;application/x-deb;");
}
if i use "application/x-pisi;application/x-deb", files has .deb
extension can install, but pisi can't.
if i use "application/x-pisi", both o them can't..
--
Aşkın Yollu
More information about the PackageKit
mailing list