Re: debhelper-maemo-package-icons
2009/11/10 Andrew Flegg and...@bleb.org: On Tue, Nov 10, 2009 at 13:50, Gabriel Schulhof n...@go-nix.ca wrote: I, for one, will stick to 26x26, because older version of Hildon Application Manager do not work with higher rez icons, and I don't want yet another reason to split my source package along distro lines. AIUI, Diablo and Chinook HAM's both work fine with 48x48 icons (they scale down); whereas none of them will scale up. If you want a single icon size, make it 48px square as this won't look silly in Fremantle and will look acceptable on earlier releases. It might be possible that Gabriel's scripts can be extended so that they will pick the icon file with the right size (or do anti-aliased scaling in case the right icon size is not available as file) depending on which target (fremantle, diablo, chinook, etc..) the package is being built for... This would make it possible to have proper icons for every distro version while still not having to have different debian/control files for each one. Thomas ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
debhelper-maemo-package-icons
Hey, all! Let's hope this package doesn't duplicate some functionality too (like maemo-release did ... *scratch head*). So, here's the scoop.: debhelper-maemo-package-icons adds the command dh_maemo_package_icons, which you can use in the binary-arch section of debian/rules. You should add it right at the top of the section, and add it again with -r at the bottom of the section, like this: ... binary-arch: dependencies dh_maemo_package_icons ... other dh_this and dh_that lines ... dh_maemo_package_icons -r some-other-target: dependencies ... This will add a XB-Maemo-Icon-26: uuencoded icon line to all control file sections where an icon file whose name is the same as that of the package mentioned in the section is found. Later, after the packages are built, running dh_maemo_package_icons -r will remove these lines to restore the control file. This package has actually been present for quite a while now, and I've used it for Pidgin's packages, but I never really announced it as such. HTH, Gabriel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
This means we should remove our manually added XB-Maemo-Icon-26 line from our control file and let this command do the job for us ? Where does it expect the package_name.png file to be? Aniello 2009/11/10 Gabriel Schulhof n...@go-nix.ca: Hey, all! Let's hope this package doesn't duplicate some functionality too (like maemo-release did ... *scratch head*). So, here's the scoop.: debhelper-maemo-package-icons adds the command dh_maemo_package_icons, which you can use in the binary-arch section of debian/rules. You should add it right at the top of the section, and add it again with -r at the bottom of the section, like this: ... binary-arch: dependencies dh_maemo_package_icons ... other dh_this and dh_that lines ... dh_maemo_package_icons -r some-other-target: dependencies ... This will add a XB-Maemo-Icon-26: uuencoded icon line to all control file sections where an icon file whose name is the same as that of the package mentioned in the section is found. Later, after the packages are built, running dh_maemo_package_icons -r will remove these lines to restore the control file. This package has actually been present for quite a while now, and I've used it for Pidgin's packages, but I never really announced it as such. HTH, Gabriel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
Is there a public code repo so people can download and integrate this? Jeremiah On Nov 10, 2009, at 12:49, Aniello Del Sorbo wrote: This means we should remove our manually added XB-Maemo-Icon-26 line from our control file and let this command do the job for us ? Where does it expect the package_name.png file to be? Aniello 2009/11/10 Gabriel Schulhof n...@go-nix.ca: Hey, all! Let's hope this package doesn't duplicate some functionality too (like maemo-release did ... *scratch head*). So, here's the scoop.: debhelper-maemo-package-icons adds the command dh_maemo_package_icons, which you can use in the binary-arch section of debian/rules. You should add it right at the top of the section, and add it again with -r at the bottom of the section, like this: ... binary-arch: dependencies dh_maemo_package_icons ... other dh_this and dh_that lines ... dh_maemo_package_icons -r some-other-target: dependencies ... This will add a XB-Maemo-Icon-26: uuencoded icon line to all control file sections where an icon file whose name is the same as that of the package mentioned in the section is found. Later, after the packages are built, running dh_maemo_package_icons -r will remove these lines to restore the control file. This package has actually been present for quite a while now, and I've used it for Pidgin's packages, but I never really announced it as such. HTH, Gabriel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- anidel Sent from London, Eng, United Kingdom ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
Hey! On Tue, November 10, 2009 13:49, Aniello Del Sorbo wrote: This means we should remove our manually added XB-Maemo-Icon-26 line from our control file and let this command do the job for us ? Using this package is completely optional. I like it, because I don't have to do this manually. With this helper, the package icon is not located in two places (introducing the potential of being out-of-sync): in a file, /and/ in a control file field. Where does it expect the package_name.png file to be? If you have an icon debian/package-name.png, then package-name_version_arch.deb will have the icon. the helper assumes that debian/package-name.png is a 26x26 PNG file. HTH, Gabriel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
Hey! On Tue, November 10, 2009 14:28, Jeremiah Foster wrote: Is there a public code repo so people can download and integrate this? Ummm ... I haven't really thought beyond apt-get source debhelper-maemo-package-icon. I mean, it's a tiny package. Cheers, Gabriel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
On 2009-11-10 14:30, Gabriel Schulhof n...@go-nix.ca wrote: On Tue, November 10, 2009 13:49, Aniello Del Sorbo wrote: Where does it expect the package_name.png file to be? If you have an icon debian/package-name.png, then package-name_version_arch.deb will have the icon. the helper assumes that debian/package-name.png is a 26x26 PNG file. You mean 48x48 pixels, right? http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing#Icons -- David King | http://amigadave.blogspot.com/ | dav...@openismus.com ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
Hi, On Tue, Nov 10, 2009 at 12:30 PM, Gabriel Schulhof n...@go-nix.ca wrote: Hey! On Tue, November 10, 2009 13:49, Aniello Del Sorbo wrote: This means we should remove our manually added XB-Maemo-Icon-26 line from our control file and let this command do the job for us ? Using this package is completely optional. I like it, because I don't have to do this manually. With this helper, the package icon is not located in two places (introducing the potential of being out-of-sync): in a file, /and/ in a control file field. Where does it expect the package_name.png file to be? If you have an icon debian/package-name.png, then package-name_version_arch.deb will have the icon. the helper assumes that debian/package-name.png is a 26x26 PNG file. What about Maemo5 packages ? These should use a 48x48 PNG file[1]. [1] - http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing#Icons Best regards, -- Valério Valério http://www.valeriovalerio.org HTH, Gabriel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
ext David King dav...@openismus.com writes: You mean 48x48 pixels, right? http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing#Icons Ouch, somebody needs to be tickled to death for this. (Maybe me for not catching this earlier.) Why do people think the field is named Maemo-Icon-26. Twenty-six. Rings a bell? Hmm? Like, 26x26 pixels? Could there be a connection? Anyway, trying to fix this seems to be moot. Christ. Kids these days. :-( ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
Hey! On Tue, November 10, 2009 14:59, Marius Vollmer wrote: ext David King dav...@openismus.com writes: You mean 48x48 pixels, right? http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing#Icons Ouch, somebody needs to be tickled to death for this. (Maybe me for not catching this earlier.) Assuming that person is ticklish ... Why do people think the field is named Maemo-Icon-26. Twenty-six. Rings a bell? Hmm? Like, 26x26 pixels? Could there be a connection? Anyway, trying to fix this seems to be moot. Christ. Kids these days. *sigh* ... what can you do. Anyway, you can take any file and call it debian/package-name.png and it will uuencode it and it will append it to the debian/control section named Package: package-name ... No file type/pixel size checks are performed on the debian/package-name.png file. I, for one, will stick to 26x26, because older version of Hildon Application Manager do not work with higher rez icons, and I don't want yet another reason to split my source package along distro lines. As for why we chose an odd size like 26x26 to begin with, instead of 24x24 or 32x32, I will never understand. But that is a story for another time ... Gabriel ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debhelper-maemo-package-icons
On Tue, Nov 10, 2009 at 13:50, Gabriel Schulhof n...@go-nix.ca wrote: I, for one, will stick to 26x26, because older version of Hildon Application Manager do not work with higher rez icons, and I don't want yet another reason to split my source package along distro lines. AIUI, Diablo and Chinook HAM's both work fine with 48x48 icons (they scale down); whereas none of them will scale up. If you want a single icon size, make it 48px square as this won't look silly in Fremantle and will look acceptable on earlier releases. Cheers, Andrew -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers