pkgsrc-Bugs archive

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

pkg/54063: New emulators/suse131_avahi package (for libreoffice6-bin)



>Number:         54063
>Category:       pkg
>Synopsis:       New emulators/suse131_avahi package (for libreoffice6-bin)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 16 15:00:00 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.0 + pkgsrc-2018Q4
>Organization:
>Environment:
System: NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Newer Linux libreoffice 6.x binaries requires avahi libraries
but there is no suse binary packages for them.

>How-To-Repeat:
Code inspection.

>Fix:
Here is a patch to add suse131_avahi (no suse131_32_avahi):

This also add entries in emulators/suse131_linux/emulator.mk,
meta-pkgs/suse131/Makefile, and mk/emulator/linux.mk.


---

--- /dev/null	2019-03-16 22:59:43.415396947 +0900
+++ emulators/suse131_avahi/DESCR	2019-02-21 15:31:25.664157905 +0900
@@ -0,0 +1,6 @@
+Linux compatibility package based on the openSUSE Linux distribution.
+Please visit http://www.opensuse.org/ for more information about openSUSE
+Linux.
+
+This package supports running ELF binaries linked with glibc2 that
+require Avahi shared libraries.
--- /dev/null	2019-03-16 22:59:43.415396947 +0900
+++ emulators/suse131_avahi/Makefile	2019-02-21 13:50:06.000000000 +0900
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+PKGNAME=	suse_avahi-${SUSE_VERSION}
+CATEGORIES=	emulators
+#RPMUPDPKGS+=	avahi-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	avahi-autoipd-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	avahi-compat-howl-devel-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	avahi-compat-mDNSResponder-devel-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	avahi-mono-0.6.31-16.6.1.${SUSE_ARCH}
+RPMUPDPKGS+=	avahi-utils-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	avahi-utils-gtk-0.6.31-16.6.1.${SUSE_ARCH}
+RPMUPDPKGS+=	libavahi-client3-0.6.31-16.6.1.${SUSE_ARCH}
+RPMUPDPKGS+=	libavahi-common3-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	libavahi-core7-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	libavahi-glib1-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	libavahi-glib1-32bit-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	libavahi-gobject0-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	libavahi-qt4-1-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	libavahi-ui-gtk3-0-0.6.31-16.6.1.${SUSE_ARCH}
+#RPMUPDPKGS+=	libavahi-ui0-0.6.31-16.6.1.${SUSE_ARCH}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+COMMENT=	Linux compatibility package for avahi
+
+EMUL_MODULES.linux=	base dbus
+
+.include "../../emulators/suse131_linux/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
--- /dev/null	2019-03-16 22:59:43.415396947 +0900
+++ emulators/suse131_avahi/distinfo	2019-02-21 12:32:16.000000000 +0900
@@ -0,0 +1,26 @@
+$NetBSD$
+
+SHA1 (suse131/avahi-utils-0.6.31-16.6.1.i586.rpm) = e726d156e0851738c286bda1b5f1602ad20f0220
+RMD160 (suse131/avahi-utils-0.6.31-16.6.1.i586.rpm) = 07f14402eb760d3680591a14436806a824da59a4
+SHA512 (suse131/avahi-utils-0.6.31-16.6.1.i586.rpm) = fd763a4452b3a8283ed89b3d2fae93244749177f0a94c4312e6f1b2e2696c7f7f8482635616b72c45fefda9a149064cc6a0fbb57162c739d460ac6926e8d3750
+Size (suse131/avahi-utils-0.6.31-16.6.1.i586.rpm) = 35244 bytes
+SHA1 (suse131/avahi-utils-0.6.31-16.6.1.x86_64.rpm) = 6f21ed5998faafe7720cc2e6cbb238ae492e1f57
+RMD160 (suse131/avahi-utils-0.6.31-16.6.1.x86_64.rpm) = 4d6f9e9737094a7e2c6465feb302111f53588c70
+SHA512 (suse131/avahi-utils-0.6.31-16.6.1.x86_64.rpm) = 5923301b44e7a68bca6d21a6166ccd5d1e1019cd4969d1779ad578987da41f429c63b8620d2ad6be3c0d750289f822c47800a06ce8f33baef62dd1b0b1bcc78a
+Size (suse131/avahi-utils-0.6.31-16.6.1.x86_64.rpm) = 36149 bytes
+SHA1 (suse131/libavahi-client3-0.6.31-16.6.1.i586.rpm) = 8654d02f0289d895d0fdbd035bf41bfb336a0a57
+RMD160 (suse131/libavahi-client3-0.6.31-16.6.1.i586.rpm) = aba03502d9a20ad005a24a7392591c9b52a4a73f
+SHA512 (suse131/libavahi-client3-0.6.31-16.6.1.i586.rpm) = 6c40ca24b40eb10cbf2d520ea5578967faf03738a81793d0e947230723d6ff0d74fa70eca0f7e748c66dafda6c71844008ad95f9671f0cc9b88020ed1ca775c4
+Size (suse131/libavahi-client3-0.6.31-16.6.1.i586.rpm) = 33586 bytes
+SHA1 (suse131/libavahi-client3-0.6.31-16.6.1.x86_64.rpm) = d2133a790430d24e36e1d7a2cccc89f2467263ba
+RMD160 (suse131/libavahi-client3-0.6.31-16.6.1.x86_64.rpm) = ffe311520ba5cccc9fc46d9bfef92a2646ffaa32
+SHA512 (suse131/libavahi-client3-0.6.31-16.6.1.x86_64.rpm) = 694f01b4cd81828bb9de05813a6a12131afe8fffb9245a27eef064c62fe517db56c2bfd3c4a4a55dd5a1c826f2de058e2ca8545c8fa8dc82156de615e493d39a
+Size (suse131/libavahi-client3-0.6.31-16.6.1.x86_64.rpm) = 34211 bytes
+SHA1 (suse131/libavahi-common3-0.6.31-16.6.1.i586.rpm) = 92a8006b9d2de05ff15e9544d965d266ba8abe7a
+RMD160 (suse131/libavahi-common3-0.6.31-16.6.1.i586.rpm) = b94203035605122806e998883b6382fa2177e73a
+SHA512 (suse131/libavahi-common3-0.6.31-16.6.1.i586.rpm) = d873e0e0bcd7cc47a9af97694d68174d6ecd3e7dfbf032622040a2a5d034405829b78141070d3749aa6309942407e38bc9f117e876a6b540ac93d86f68e7b759
+Size (suse131/libavahi-common3-0.6.31-16.6.1.i586.rpm) = 31082 bytes
+SHA1 (suse131/libavahi-common3-0.6.31-16.6.1.x86_64.rpm) = 3d8cd61ce019b3504de6d3a969e962dc5c5b1d7c
+RMD160 (suse131/libavahi-common3-0.6.31-16.6.1.x86_64.rpm) = d858ba02056f443ceaaf470a065cd0c0092aed71
+SHA512 (suse131/libavahi-common3-0.6.31-16.6.1.x86_64.rpm) = 2754a91df7b56c33ccf1f0bd6d985d74d07fe808aea79300d544e39060163e0a8e0b484dbc88a664d9342b5ea33b10a4f532b76eab3bb28491fd3a01ecb761e8
+Size (suse131/libavahi-common3-0.6.31-16.6.1.x86_64.rpm) = 30894 bytes
Index: emulators/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/Makefile,v
retrieving revision 1.293
diff -u -p -d -r1.293 Makefile
--- emulators/Makefile	13 Feb 2019 05:22:22 -0000	1.293
+++ emulators/Makefile	16 Mar 2019 14:50:28 -0000
@@ -324,6 +324,7 @@ SUBDIR+=	suse131_32_slang
 SUBDIR+=	suse131_32_sqlite3
 SUBDIR+=	suse131_32_x11
 SUBDIR+=	suse131_alsa
+SUBDIR+=	suse131_avahi
 SUBDIR+=	suse131_aspell
 SUBDIR+=	suse131_base
 SUBDIR+=	suse131_binutils
Index: emulators/suse131_linux/emulator.mk
===================================================================
RCS file: /cvsroot/pkgsrc/emulators/suse131_linux/emulator.mk,v
retrieving revision 1.9
diff -u -p -d -r1.9 emulator.mk
--- emulators/suse131_linux/emulator.mk	21 Aug 2017 12:49:16 -0000	1.9
+++ emulators/suse131_linux/emulator.mk	16 Mar 2019 14:00:35 -0000
@@ -22,6 +22,7 @@ _SUSE_VERSION_REQD=	>=13.1<13.2
 # DEPENDS_suse-13.1.* maps Linux "modules" to SuSE package dependencies.
 DEPENDS_suse-13.1.alsa?=	suse_alsa${_SUSE_VERSION_REQD}:../../emulators/suse131_alsa
 DEPENDS_suse-13.1.aspell?=	suse_aspell${_SUSE_VERSION_REQD}:../../emulators/suse131_aspell
+DEPENDS_suse-13.1.avahi?=	suse_avahi${_SUSE_VERSION_REQD}:../../emulators/suse131_avahi
 DEPENDS_suse-13.1.base?=	suse_base${_SUSE_VERSION_REQD}:../../emulators/suse131_base
 DEPENDS_suse-13.1.binutils?=	suse_binutils${_SUSE_VERSION_REQD}:../../emulators/suse131_binutils
 DEPENDS_suse-13.1.compat?=	suse_compat${_SUSE_VERSION_REQD}:../../emulators/suse131_compat
Index: meta-pkgs/suse131/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/meta-pkgs/suse131/Makefile,v
retrieving revision 1.6
diff -u -p -d -r1.6 Makefile
--- meta-pkgs/suse131/Makefile	21 Feb 2019 04:27:29 -0000	1.6
+++ meta-pkgs/suse131/Makefile	16 Mar 2019 14:00:52 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.6 2019/02/21 04:27:29 tsutsui Exp $
 
 DISTNAME=	suse-${SUSE_VERSION}
-PKGREVISION=	4
+PKGREVISION=	5
 CATEGORIES=	emulators meta-pkgs
 MASTER_SITES=	# empty
 
@@ -10,6 +10,7 @@ COMMENT=	SUSE-based Linux binary emulati
 
 EMUL_MODULES.linux=	alsa
 EMUL_MODULES.linux+=	aspell
+EMUL_MODULES.linux+=	avahi
 EMUL_MODULES.linux+=	base
 EMUL_MODULES.linux+=	binutils
 EMUL_MODULES.linux+=	compat
Index: mk/emulator/linux.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/emulator/linux.mk,v
retrieving revision 1.31
diff -u -p -d -r1.31 linux.mk
--- mk/emulator/linux.mk	21 Feb 2019 04:12:25 -0000	1.31
+++ mk/emulator/linux.mk	16 Mar 2019 14:00:55 -0000
@@ -63,6 +63,7 @@ _EMUL_TYPE?=		${EMUL_TYPE.linux}
 
 _EMUL_MODULES=		alsa
 _EMUL_MODULES+=		aspell
+_EMUL_MODULES+=		avahi
 _EMUL_MODULES+=		base
 _EMUL_MODULES+=		binutils
 _EMUL_MODULES+=		compat


---

Note WIP pkgsrc/misc/libreoffice6-bin package
(requires this suse131_avahi) is here:
 https://gist.github.com/tsutsui/f45b4116eb475ef61b15ad3a608d572d

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index