pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/rkdeveloptool sysutils/rkdeveloptool: import ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff8b0a2ae4b3
branches:  trunk
changeset: 384672:ff8b0a2ae4b3
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Aug 31 10:09:51 2018 +0000

description:
sysutils/rkdeveloptool: import rkdeveloptool-1.3

rkdeveloptool is a libusb-based utility for working with RockUSB devices.
RockUSB is a vendor specific USB class from Rockchip, used for firmware
download for Rockchip SoCs.

diffstat:

 sysutils/rkdeveloptool/DESCR                  |   3 +++
 sysutils/rkdeveloptool/Makefile               |  21 +++++++++++++++++++++
 sysutils/rkdeveloptool/PLIST                  |   2 ++
 sysutils/rkdeveloptool/distinfo               |   7 +++++++
 sysutils/rkdeveloptool/patches/patch-main.cpp |  24 ++++++++++++++++++++++++
 5 files changed, 57 insertions(+), 0 deletions(-)

diffs (77 lines):

diff -r 8ee1779acaf1 -r ff8b0a2ae4b3 sysutils/rkdeveloptool/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/rkdeveloptool/DESCR      Fri Aug 31 10:09:51 2018 +0000
@@ -0,0 +1,3 @@
+rkdeveloptool is a libusb-based utility for working with RockUSB devices.
+RockUSB is a vendor specific USB class from Rockchip, used for firmware
+download for Rockchip SoCs.
diff -r 8ee1779acaf1 -r ff8b0a2ae4b3 sysutils/rkdeveloptool/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/rkdeveloptool/Makefile   Fri Aug 31 10:09:51 2018 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2018/08/31 10:09:51 tnn Exp $
+
+GITHUB_TAG=    081d237ad5bf8f03170c9d60bd94ceefa0352aaf
+DISTNAME=      rkdeveloptool-1.3
+CATEGORIES=    sysutils
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=rockchip-linux/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/rockchip-linux/rkdeveloptool
+COMMENT=       Rockchip RockUSB development tool
+LICENSE=       gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+USE_TOOLS=     autoconf automake autoreconf gmake pkg-config
+GNU_CONFIGURE= yes
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -vif
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8ee1779acaf1 -r ff8b0a2ae4b3 sysutils/rkdeveloptool/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/rkdeveloptool/PLIST      Fri Aug 31 10:09:51 2018 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/31 10:09:51 tnn Exp $
+bin/rkdeveloptool
diff -r 8ee1779acaf1 -r ff8b0a2ae4b3 sysutils/rkdeveloptool/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/rkdeveloptool/distinfo   Fri Aug 31 10:09:51 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2018/08/31 10:09:51 tnn Exp $
+
+SHA1 (rkdeveloptool-1.3-081d237ad5bf8f03170c9d60bd94ceefa0352aaf.tar.gz) = 20b22d5c172c5f651e2a49a4985708bd6d0cbcd6
+RMD160 (rkdeveloptool-1.3-081d237ad5bf8f03170c9d60bd94ceefa0352aaf.tar.gz) = ce1f05a7d4cd38ae0b63e3a67826b604d925efea
+SHA512 (rkdeveloptool-1.3-081d237ad5bf8f03170c9d60bd94ceefa0352aaf.tar.gz) = 
cba3f9540b4fecbe3288a10c37294ddddcdb6572bed8085e4cf98328c0a4c651062399595cf92a3422268504d36835d52cac56f5e24a4eeb0639423372020ae4
+Size (rkdeveloptool-1.3-081d237ad5bf8f03170c9d60bd94ceefa0352aaf.tar.gz) = 57003 bytes
+SHA1 (patch-main.cpp) = c1115d44570cbf21084d3326f1fad32db101054f
diff -r 8ee1779acaf1 -r ff8b0a2ae4b3 sysutils/rkdeveloptool/patches/patch-main.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/rkdeveloptool/patches/patch-main.cpp     Fri Aug 31 10:09:51 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-main.cpp,v 1.1 2018/08/31 10:09:51 tnn Exp $
+
+match iconv(3) prototype
+
+--- main.cpp.orig      2018-03-28 01:22:40.000000000 +0000
++++ main.cpp
+@@ -168,7 +168,7 @@ bool StringToWideString(char *pszSrc, wc
+       pIn = (char *)pszSrc;
+       pOut = (char *)pszDest;
+ 
+-      iRet = iconv(cd, (char **)&pIn, (size_t *)&nSrcLen, (char **)&pOut, (size_t *)&nDestLen);
++      iRet = iconv(cd, (const char **)&pIn, (size_t *)&nSrcLen, (char **)&pOut, (size_t *)&nDestLen);
+ 
+       if(iRet == -1) {
+               delete []pszDest;
+@@ -205,7 +205,7 @@ bool WideStringToString(wchar_t *pszSrc,
+       char *pIn, *pOut;
+       pIn = (char *)pszSrc;
+       pOut = (char *)pszDest;
+-      iRet = iconv(cd, (char **)&pIn, (size_t *)&nSrcLen, (char **)&pOut, (size_t *)&nDestLen);
++      iRet = iconv(cd, (const char **)&pIn, (size_t *)&nSrcLen, (char **)&pOut, (size_t *)&nDestLen);
+ 
+       if(iRet == -1) {
+               delete []pszDest;



Home | Main Index | Thread Index | Old Index