pkgsrc-Bugs archive

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

pkg/52692: unicode-emoji: new package for ibus emoji-dict support



>Number:         52692
>Category:       pkg
>Synopsis:       unicode-emoji: new package for ibus emoji-dict support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 03 09:00:00 +0000 2017
>Originator:     Izumi Tsutsui
>Release:        NetBSD 7.1 + pkgsrc-2017Q3
>Organization:
>Environment:
System: NetBSD 7.1
Machine: i386
>Description:
The recent ibus 1.5.16 (and 1.5.17) has Emoji and it requires
the following files provided by unicode.org.

https://github.com/ibus/ibus/releases/tag/1.5.16
> You can get Unicode emoji files from
> http://www.unicode.org/Public/emoji/4.0/
> or Fedora provides unicode-emoji package.
> The version 4.0 is recommended since 5.0 is not released officially yet.
> You can get emoji annotation files from
> https://github.com/fujiwarat/cldr-emoji-annotation
> or Fedora provides cldr-emoji-annotation package.

This PR is for unicode-emoji 5.0 (which seems now official).

>How-To-Repeat:
See above.

>Fix:
Package files are attached in shar format.
Also available on gist:
 https://gist.github.com/tsutsui/e5023de263a78b1dd2bab1aeff5a42f9

To be reviwed:
- CATEGORIES should be discussed (currently in "fonts")
- DISTFILES are not in an archive but independent plain files
  without version strings, so ${DIST_SUBDIR} is specified
   http://www.unicode.org/Public/emoji/5.0
- NO_BUILD, NO_CONFIGURE (only copied during do-install)
- files are installed to ${PREFIX}/share/unicode/emoji
  as other package system does
- pkglint complains
  "WARN: Makefile:33--37: The shell command "for" should not be hidden."
  but it includes ${ECHO} during each file copy instead

- references:
 - archlinux package:
  https://www.archlinux.org/packages/community/any/unicode-emoji/
 - fedora package:
  https://admin.fedoraproject.org/pkgdb/package/rpms/unicode-emoji/

--- cut here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	unicode-emoji
#	unicode-emoji/Makefile
#	unicode-emoji/PLIST
#	unicode-emoji/DESCR
#	unicode-emoji/distinfo
#
echo c - unicode-emoji
mkdir -p unicode-emoji > /dev/null 2>&1
echo x - unicode-emoji/Makefile
sed 's/^X//' >unicode-emoji/Makefile << 'END-of-unicode-emoji/Makefile'
X# $NetBSD$
X
XDISTNAME=	unicode-emoji-${EMOJI_VERSION}
XCATEGORIES=	fonts
XMASTER_SITES=	http://www.unicode.org/Public/emoji/${EMOJI_VERSION}/
XDIST_SUBDIR=	${PKGNAME_NOREV}
XDISTFILES=	${EMOJI_FILES}
XEXTRACT_SUFX=	# none
X
XMAINTAINER=	tsutsui%NetBSD.org@localhost
XHOMEPAGE=	http://www.unicode.org/emoji/
XCOMMENT=	Unicode Emoji Data Files
XLICENSE=	unicode
X
XUSE_LANGUAGES=	# none
XNO_BUILD=	YES
XNO_CONFIGURE=	YES
X
XWRKSRC=		${WRKDIR}
XEMOJIDIR=	${PREFIX}/share/unicode/emoji
X
XEMOJI_VERSION=	5.0
XEMOJI_FILES=	ReadMe.txt
XEMOJI_FILES+=	emoji-data.txt
XEMOJI_FILES+=	emoji-sequences.txt
XEMOJI_FILES+=	emoji-test.txt
XEMOJI_FILES+=	emoji-variation-sequences.txt
XEMOJI_FILES+=	emoji-zwj-sequences.txt
X
XINSTALLATION_DIRS=	${EMOJIDIR}
X
Xdo-install:
X	@for EMOJI_FILE in ${EMOJI_FILES}; do				\
X	  ${ECHO} "Installing emoji file $${EMOJI_FILE} ... ";		\
X	  ${INSTALL_DATA} ${WRKSRC}/$${EMOJI_FILE}			\
X	    ${DESTDIR}${EMOJIDIR};					\
X	done
X
X.include "../../mk/bsd.pkg.mk"
END-of-unicode-emoji/Makefile
echo x - unicode-emoji/PLIST
sed 's/^X//' >unicode-emoji/PLIST << 'END-of-unicode-emoji/PLIST'
X@comment $NetBSD$
Xshare/unicode/emoji/ReadMe.txt
Xshare/unicode/emoji/emoji-data.txt
Xshare/unicode/emoji/emoji-sequences.txt
Xshare/unicode/emoji/emoji-test.txt
Xshare/unicode/emoji/emoji-variation-sequences.txt
Xshare/unicode/emoji/emoji-zwj-sequences.txt
END-of-unicode-emoji/PLIST
echo x - unicode-emoji/DESCR
sed 's/^X//' >unicode-emoji/DESCR << 'END-of-unicode-emoji/DESCR'
XUnicode Emoji Data Files are the machine-readable emoji data files
Xassociated with UTS #51.
Xhttp://www.unicode.org/reports/tr51/index.html
END-of-unicode-emoji/DESCR
echo x - unicode-emoji/distinfo
sed 's/^X//' >unicode-emoji/distinfo << 'END-of-unicode-emoji/distinfo'
X$NetBSD$
X
XSHA1 (unicode-emoji-5.0/ReadMe.txt) = c1c3959c2c604fb9375dc590d23322ef5c620e38
XRMD160 (unicode-emoji-5.0/ReadMe.txt) = e6c8b9158226479de6f680646708a2813bc3fb3d
XSHA512 (unicode-emoji-5.0/ReadMe.txt) = 1865b04ea4e5adec1cf1c28fbdd7192033aa0ad3b6c5d4e8c47810d3548951aaf6d4a89f5890dcbb7484d9f4502b5c89046c7129964a5fece4fdeea18e342d91
XSize (unicode-emoji-5.0/ReadMe.txt) = 74 bytes
XSHA1 (unicode-emoji-5.0/emoji-data.txt) = 11fd60a01e17df80035c459728350073cd9ed37b
XRMD160 (unicode-emoji-5.0/emoji-data.txt) = 0953eed3805c5eeb9b2986c45e8d2519a5eea887
XSHA512 (unicode-emoji-5.0/emoji-data.txt) = 3b68cb709700cf871f545f357a54864c6cf1dee2ee7046f42d895c0811a75129206edf2c0617a5f1183417066f0fdf2e74086e880a65826590aac9d1d31f568f
XSize (unicode-emoji-5.0/emoji-data.txt) = 35041 bytes
XSHA1 (unicode-emoji-5.0/emoji-sequences.txt) = 6f223cfb856a4016b590227fed1d38ab2f66476d
XRMD160 (unicode-emoji-5.0/emoji-sequences.txt) = 50b1756c67f139f4d6750ceb478295a6aaf0aca6
XSHA512 (unicode-emoji-5.0/emoji-sequences.txt) = 729bbf862b8d7ff6225b7416a0a464592f89040e4c27674c0d9afb6e0d997162c0a336c2a1e9de41313dcd45b504b3b27915ee8c67e45186c942c2996076d554
XSize (unicode-emoji-5.0/emoji-sequences.txt) = 103383 bytes
XSHA1 (unicode-emoji-5.0/emoji-test.txt) = d9ce82ea1e92197a882608791e588e9a410f635d
XRMD160 (unicode-emoji-5.0/emoji-test.txt) = eb010b5afd02b6a24c59dde7705bc58acef34140
XSHA512 (unicode-emoji-5.0/emoji-test.txt) = 368483fadaa2c87e1197d0b0351c1e68b4244e73ab93542d73df7169d1dfcdf98b0fc1da8a969645f6a2d45db1f2db5f75ba919dd05f1012fbc2f3fb524f5c5d
XSize (unicode-emoji-5.0/emoji-test.txt) = 341770 bytes
XSHA1 (unicode-emoji-5.0/emoji-variation-sequences.txt) = f10af64ed42bddfad9326ac0198e9ca0072888a8
XRMD160 (unicode-emoji-5.0/emoji-variation-sequences.txt) = a12159b2d6a1094b2d84734cf8c5353daa6bbe33
XSHA512 (unicode-emoji-5.0/emoji-variation-sequences.txt) = 484509ed56c5ea5e73160e211643a938d3fa08474281d316e5ed2d2346f38f5140a147454a9cb81c9f463d6c62befd98a8b70b695ee50effdbcfc6085dcaa520
XSize (unicode-emoji-5.0/emoji-variation-sequences.txt) = 36120 bytes
XSHA1 (unicode-emoji-5.0/emoji-zwj-sequences.txt) = 0b7c4ac207b13c0cfeb1d0cfefad1604ba5332eb
XRMD160 (unicode-emoji-5.0/emoji-zwj-sequences.txt) = 7c270965bc4f3709fead5cc5e96e809f7fc885ff
XSHA512 (unicode-emoji-5.0/emoji-zwj-sequences.txt) = 26398ac77035d2f5df7a61f4c2a8a098af8e551576c9c9f157379c05aa8f75de5a0827c9bc476eb20f32c38b0c3605f6a1d9e07fe27f0e75df359ed2a7e6d25b
XSize (unicode-emoji-5.0/emoji-zwj-sequences.txt) = 115207 bytes
END-of-unicode-emoji/distinfo
exit

--- cut here ---



Home | Main Index | Thread Index | Old Index