Where to find old png2ico PKGBUILD it was dropped to AUR?
All, Cleaning up old packages, I still need the png2ico utility. It is no longer in AUR replaced by elphicon which uses that abomination electron. I need to know if the old PKGbUILD for Arch png2ico still exists in some historical form somewhere. It would save writing another. What say the historians, does such a thing exist? -- David C. Rankin, J.D.,P.E.
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=png2ico Protip: Even if a deletion request passes, the git repository is *never* deleted. All that happens to it is that it gets delisted and effectively orphaned. Very weird situation. There were no deletion requests for png2ico I could find. -- Cheers, Aᴀʀᴏɴ
On 3/19/24 20:30, Aaron Liu wrote:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=png2ico
Protip: Even if a deletion request passes, the git repository is *never* deleted. All that happens to it is that it gets delisted and effectively orphaned.
Very weird situation. There were no deletion requests for png2ico I could find.
Ahh, Thank you Aaron! I did not know that. I've grabbed the PKGBUILD and I'll give it a go. The source hasn't changed in forever, but the package builds just fine with the current libpng: -rw-r--r-- 1 david david 872 Mar 24 02:17 PKGBUILD -rw-r--r-- 1 david david 25856 Mar 24 02:19 png2ico-20021208-8-x86_64.pkg.tar.zst -rw-r--r-- 1 david david 84300 Mar 24 02:19 png2ico-debug-20021208-8-x86_64.pkg.tar.zst -rw-r--r-- 1 david david 26527 Mar 24 02:19 png2ico-src-2002-12-08.tar.gz Thanks again! -- David C. Rankin, J.D.,P.E.
Also, png2ico isn't "replaced" by elphicon. The latter simply does the same thing and still exists. -- Cheers, Aᴀʀᴏɴ
El mar, 19-03-2024 a las 19:57 -0500, David C. Rankin escribió:
I still need the png2ico utility
As far as I know, you can perfectly replace png2ico with imagemagick[1] (the convert command, you probably already have it installed). Example of use with convert: ``` % convert icon_64.png icon_128.png favicon.ico % file favicon.ico favicon.ico: MS Windows icon resource - 2 icons, 64x64, 32 bits/pixel, -128x-128, 32 bits/pixel ``` I don't know if that would be enough for you. You avoid having to install an old AUR tool and use something that is perfectly maintained in an official way. Greetings. [1]: https://archlinux.org/packages/extra/x86_64/imagemagick/ -- Óscar García Amor | ogarcia at moire.org | http://ogarcia.me
Also a note, depending on your needs, ICO that's a PNG is valid. Martin On Wed, Mar 20, 2024 at 8:51 AM Óscar García Amor <ogarcia@moire.org> wrote:
El mar, 19-03-2024 a las 19:57 -0500, David C. Rankin escribió:
I still need the png2ico utility
As far as I know, you can perfectly replace png2ico with imagemagick[1] (the convert command, you probably already have it installed).
Example of use with convert: ``` % convert icon_64.png icon_128.png favicon.ico % file favicon.ico favicon.ico: MS Windows icon resource - 2 icons, 64x64, 32 bits/pixel, -128x-128, 32 bits/pixel ```
I don't know if that would be enough for you. You avoid having to install an old AUR tool and use something that is perfectly maintained in an official way.
Greetings.
[1]: https://archlinux.org/packages/extra/x86_64/imagemagick/
-- Óscar García Amor | ogarcia at moire.org | http://ogarcia.me
Hi David, Óscar wrote:
As far as I know, you can perfectly replace png2ico with imagemagick
There's also ppmtowinicon(1) and pamtowinicon(1) from netpbm. -- Cheers, Ralph.
participants (5)
-
Aaron Liu
-
David C. Rankin
-
Martin Rys
-
Ralph Corderoy
-
Óscar García Amor