Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Dmitrijs Ledkovs
On 18 March 2013 17:25, Ma Xiaojun  wrote:
> On Tue, Mar 19, 2013 at 12:42 AM, Dmitrijs Ledkovs
>  wrote:
>> In practice this means that application should ship the .desktop file
>> and the icon in the main arch:any package where the main executable
>> is.
>
> Sometimes the software is split into several packages and the meta

I know. I simply described the most generic case / standard rule. I'm
sure we have plenty of exceptions and cases where we do want to
advertise packages even if they are not executable at all and don't
have .desktop files. And vice versa, where we need & have .desktop
files, but do not want to explicitly enlist them in USC.

Regards,

Dmitrijs.

> package that would be used in CLI case doesn't contain a desktop file.
> For example, USC advertise "eclipse-platform" as "Eclipse" while
> people would use "s a-g i eclipse"
> https://apps.ubuntu.com/cat/applications/eclipse-platform/
>
> I'm not sure whether USC install suggests packages. If it installs
> suggests package then there is no problem with "Eclipse" since there
> is some sort of circular dependency.
>
>> It should not, ship extra/pointless .desktop files, or mark them to be
>> ignored by USC archive-scanner.
>
> Do you think "Browse C: Drive" is pointless for Wine?
> https://apps.ubuntu.com/cat/applications/wine1.4/
> Or "IBus Hangul Preferences" is pointless for Hangul engine of IBus?
> https://apps.ubuntu.com/cat/applications/ibus-hangul/
>
> Extra .desktop files is due to sometimes DE specific .desktop files are used?
> As this the case for Synaptics.
>
> How to "mark them to be ignored by USC archive-scanner", is it documented?
> I hope such information available nicely in
> http://developer.ubuntu.com/ while I understand such information can
> also be figured by checking archive-scanner's source code :)
>
>> The conf file in the scanner is a point of last resort to fix up
>> things last minute.
>> Ideally updated / corrected desktop files should be in the packages themself.
> Sure.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Ma Xiaojun
s/Synaptics/Synaptic

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Ma Xiaojun
On Tue, Mar 19, 2013 at 12:42 AM, Dmitrijs Ledkovs
 wrote:
> In practice this means that application should ship the .desktop file
> and the icon in the main arch:any package where the main executable
> is.

Sometimes the software is split into several packages and the meta
package that would be used in CLI case doesn't contain a desktop file.
For example, USC advertise "eclipse-platform" as "Eclipse" while
people would use "s a-g i eclipse"
https://apps.ubuntu.com/cat/applications/eclipse-platform/

I'm not sure whether USC install suggests packages. If it installs
suggests package then there is no problem with "Eclipse" since there
is some sort of circular dependency.

> It should not, ship extra/pointless .desktop files, or mark them to be
> ignored by USC archive-scanner.

Do you think "Browse C: Drive" is pointless for Wine?
https://apps.ubuntu.com/cat/applications/wine1.4/
Or "IBus Hangul Preferences" is pointless for Hangul engine of IBus?
https://apps.ubuntu.com/cat/applications/ibus-hangul/

Extra .desktop files is due to sometimes DE specific .desktop files are used?
As this the case for Synaptics.

How to "mark them to be ignored by USC archive-scanner", is it documented?
I hope such information available nicely in
http://developer.ubuntu.com/ while I understand such information can
also be figured by checking archive-scanner's source code :)

> The conf file in the scanner is a point of last resort to fix up
> things last minute.
> Ideally updated / corrected desktop files should be in the packages themself.
Sure.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Dmitrijs Ledkovs
On 18 March 2013 16:25, Ma Xiaojun  wrote:
> I guess many app-install-data-ubuntu related bug can be fixed by tweaking
> https://bazaar.launchpad.net/~j-johan-edwards/archive-index/app-install/files/head:/config/
>
> On the other hand, can packagers of particular software fix such bug
> on by themselves?
> Since they should have better idea how the software should be shown in USC.
>
> I do see 
> https://bazaar.launchpad.net/~ubuntu-core-dev/app-install-data-ubuntu/ubuntu/view/head:/README
> It seems like we can tweak the .desktop files in packages to change
> how the software is shown in USC.
>
> However, the information is not complete.
> And ousider have no idea when the app-install-data-ubuntu would be 
> regenerated.

app-install-data-ubuntu is generated by downloading debs from the
archive and yanking .desktop file out of them & the icon.
In practice this means that application should ship the .desktop file
and the icon in the main arch:any package where the main executable
is.
It should not, ship extra/pointless .desktop files, or mark them to be
ignored by USC archive-scanner.
The conf file in the scanner is a point of last resort to fix up
things last minute.
Ideally updated / corrected desktop files should be in the packages themself.

Regards,

Dmitrijs.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Ma Xiaojun
I guess many app-install-data-ubuntu related bug can be fixed by tweaking
https://bazaar.launchpad.net/~j-johan-edwards/archive-index/app-install/files/head:/config/

On the other hand, can packagers of particular software fix such bug
on by themselves?
Since they should have better idea how the software should be shown in USC.

I do see 
https://bazaar.launchpad.net/~ubuntu-core-dev/app-install-data-ubuntu/ubuntu/view/head:/README
It seems like we can tweak the .desktop files in packages to change
how the software is shown in USC.

However, the information is not complete.
And ousider have no idea when the app-install-data-ubuntu would be regenerated.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Ma Xiaojun
On Tue, Mar 19, 2013 at 12:06 AM, Dmitrijs Ledkovs
 wrote:
> Indeed the archive extractor code is in http://pad.lv/c/archive-index
>
> I'm planning to run it before wednesday and upload it.
> I will try to fix up as many reported bugs as possible (it has been a
> while since we tweaked it).
> I will consider to adding it to a bi-monthly landing for dev-releases
> in the future though.
>
> I don't know if myapps repositories need a similar update or not.

Thank you for this information!

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Dmitrijs Ledkovs
On 18 March 2013 15:35, Ma Xiaojun  wrote:
> On Mon, Mar 18, 2013 at 6:19 PM, Matthew Paul Thomas  
> wrote:
>> Yes, the same way you would fix any other bug in Ubuntu.
>
> No, the branch of app-install-data contains GENERATED data.
> I cannot find the source of origin data and/or generation script.
>

Indeed the archive extractor code is in http://pad.lv/c/archive-index

I'm planning to run it before wednesday and upload it.
I will try to fix up as many reported bugs as possible (it has been a
while since we tweaked it).
I will consider to adding it to a bi-monthly landing for dev-releases
in the future though.

I don't know if myapps repositories need a similar update or not.

Regards,

Dmitrijs.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Chris Wilson
debian/control probably plays some role in that, though I'm not sure how
you would go about setting up an environment in which to test that.


On 18 March 2013 15:35, Ma Xiaojun  wrote:

> On Mon, Mar 18, 2013 at 6:19 PM, Matthew Paul Thomas 
> wrote:
> > Yes, the same way you would fix any other bug in Ubuntu.
>
> No, the branch of app-install-data contains GENERATED data.
> I cannot find the source of origin data and/or generation script.
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Ma Xiaojun
On Mon, Mar 18, 2013 at 6:19 PM, Matthew Paul Thomas  wrote:
> Yes, the same way you would fix any other bug in Ubuntu.

No, the branch of app-install-data contains GENERATED data.
I cannot find the source of origin data and/or generation script.

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-18 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ma Xiaojun wrote on 14/03/13 18:28:
> 
> On Thu, Mar 14, 2013 at 7:24 PM, Matthew Paul Thomas
>  wrote:
>> 
>> As Sergey said, and as hinted at 
>> , problems with
>> search results are either the fault of the individual package, or
>> the app-install-data-ubuntu package.
> 
> The link is useful! However, I don't want to wait forever for bug
> fixings in app-install-data-ubuntu, for example the synaptic entry
> duplicate bug. Can I take action?
> 
> ...

Yes, the same way you would fix any other bug in Ubuntu.


- -- 
mpt

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFG6kYACgkQ6PUxNfU6ecqCgwCgkuWa9YcoNPKNgkNtaNzrouhZ
AcQAoIswq+XVm5UKyrpMr+MdJmtUC65A
=+1eM
-END PGP SIGNATURE-

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-15 Thread Ma Xiaojun
Many duplicate entry bugs, who to fix them?

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-14 Thread Ma Xiaojun
On Thu, Mar 14, 2013 at 7:24 PM, Matthew Paul Thomas  wrote:
> As Sergey said, and as hinted at
> , problems with search
> results are either the fault of the individual package, or the
> app-install-data-ubuntu package.

The link is useful!
However, I don't want to wait forever for bug fixings in
app-install-data-ubuntu, for example the synaptic entry duplicate bug.
Can I take action?

> Ideally the app-install-data-ubuntu package would be unnecessary, with
> Launchpad publishing the correct application metadata for each
> package. 

Well, then what if there is something wrong? Ask who to fix it and how to help?

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-14 Thread Matthew Paul Thomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ma Xiaojun wrote on 09/03/13 07:12:
> ...
> 
> For example, Fcitx is an input method framework that I probably
> use "sudo apt-get install fcitx" to install it. However, in Ubuntu
> Software Center, "fcitx-data" package, a dependency of "fcitx"
> packages is advertised as "Fcitx" app. 
> https://apps.ubuntu.com/cat/search/?q=fcitx
> 
> Another example is that Hangul engine of IBus (ibus-hangul) is 
> advertised as "IBus Hangul Preferences" 
> https://apps.ubuntu.com/cat/applications/ibus-hangul/
> 
> ...

As Sergey said, and as hinted at
, problems with search
results are either the fault of the individual package, or the
app-install-data-ubuntu package.

Ideally the app-install-data-ubuntu package would be unnecessary, with
Launchpad publishing the correct application metadata for each
package. 

- -- 
mpt

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlFBs4QACgkQ6PUxNfU6ecpqpgCgtz5AeXhOPVjZq+k0nMIFl8w1
oQwAniM2ApIyd7u/Tey3lIZXhq1a3ZP2
=B2jD
-END PGP SIGNATURE-

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-11 Thread Ma Xiaojun
I guess you are right.

I'd like who to contact to deal with bugs like:
https://bugs.launchpad.net/ubuntu/+source/app-install-data-ubuntu/+bug/1114363
( synaptic duplicate entry in ubuntu software center )

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-11 Thread Sergey "Shnatsel" Davidoff
Hi Ma,

It's probably shipped in the app-install-data binary package which is built
from app-install-data-ubuntu source package. However, I've never dealt with
it directly, so this is just a guess.

-- 
Sergey "Shnatsel" Davidoff
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: How is app information in Ubuntu Software Center maintained?

2013-03-11 Thread Ma Xiaojun
Ping?

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss