pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49586: Use BSD-ish icon for multimedia/minidlna on NetBSD



>Number:         49586
>Category:       pkg
>Synopsis:       Use BSD-ish icon for multimedia/minidlna on NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 19 18:05:01 +0000 2015
>Originator:     John D. Baker
>Release:        NetBSD-7.0_BETA/amd64, pkgsrc-2014Q4 (multimedia/minidlna from pkgsrc-HEAD)
>Organization:
>Environment:
NetBSD yggdrasil.technoskunk.fur 7.0_BETA NetBSD 7.0_BETA (YGGDRASIL) #36: Sat Jan 17 19:14:45 CST 2015  sysop%yggdrasil.technoskunk.fur@localhost:/r0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/YGGDRASIL amd64

>Description:
Recently-updated multimedia/minidlna includes a custom icon for
FreeBSD.  Use it for NetBSD as well.
>How-To-Repeat:
Update multimedia/minidlna to pkgsrc-HEAD and install/replace as needed.
Browse devices with a smart-share device like a smart(!) TV.
See that smug penguin representing your NetBSD server.
>Fix:
The following patch enables a BSD-flavored icon for NetBSD as well as
FreeBSD:

Use BSD-ish icon on NetBSD.

--- icons.c.orig	2014-08-26 16:09:22.000000000 -0500
+++ icons.c	2015-01-15 22:06:58.000000000 -0600
@@ -1101,7 +1101,7 @@ jpeg_lrg[] = "\xff\xd8\xff\xe1\x00\x18\x
              "\x6b\x4e\x7a\xe0\x6a\x0a\x51\xa2\x8a\x34\x51\x46\x8a\x28\xd1\x45\x1a\x28\xa3\x45\x14\x68\xa2\x8d"
              "\x14\x51\xa2\x8a\x34\x51\x46\x8a\x28\xd1\x45\x1a\x28\xa3\x45\x14\x68\xa2\x8d\x14\x51\xa2\x8a\xff"
              "\xd9";
-#elif __FreeBSD__
+#elif __FreeBSD__ || __NetBSD__
 /* Small Daemon PNG image */
 unsigned char
 png_sm[] =	"\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x29\x00\x00\x00\x30"



Home | Main Index | Thread Index | Old Index