pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/rkdeveloptool



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Aug 31 10:09:51 UTC 2018

Added Files:
        pkgsrc/sysutils/rkdeveloptool: DESCR Makefile PLIST distinfo
        pkgsrc/sysutils/rkdeveloptool/patches: patch-main.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/rkdeveloptool/DESCR \
    pkgsrc/sysutils/rkdeveloptool/Makefile \
    pkgsrc/sysutils/rkdeveloptool/PLIST \
    pkgsrc/sysutils/rkdeveloptool/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/rkdeveloptool/patches/patch-main.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/rkdeveloptool/DESCR
diff -u /dev/null pkgsrc/sysutils/rkdeveloptool/DESCR:1.1
--- /dev/null   Fri Aug 31 10:09:51 2018
+++ pkgsrc/sysutils/rkdeveloptool/DESCR Fri Aug 31 10:09:51 2018
@@ -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.
Index: pkgsrc/sysutils/rkdeveloptool/Makefile
diff -u /dev/null pkgsrc/sysutils/rkdeveloptool/Makefile:1.1
--- /dev/null   Fri Aug 31 10:09:51 2018
+++ pkgsrc/sysutils/rkdeveloptool/Makefile      Fri Aug 31 10:09:51 2018
@@ -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"
Index: pkgsrc/sysutils/rkdeveloptool/PLIST
diff -u /dev/null pkgsrc/sysutils/rkdeveloptool/PLIST:1.1
--- /dev/null   Fri Aug 31 10:09:51 2018
+++ pkgsrc/sysutils/rkdeveloptool/PLIST Fri Aug 31 10:09:51 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/31 10:09:51 tnn Exp $
+bin/rkdeveloptool
Index: pkgsrc/sysutils/rkdeveloptool/distinfo
diff -u /dev/null pkgsrc/sysutils/rkdeveloptool/distinfo:1.1
--- /dev/null   Fri Aug 31 10:09:51 2018
+++ pkgsrc/sysutils/rkdeveloptool/distinfo      Fri Aug 31 10:09:51 2018
@@ -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

Index: pkgsrc/sysutils/rkdeveloptool/patches/patch-main.cpp
diff -u /dev/null pkgsrc/sysutils/rkdeveloptool/patches/patch-main.cpp:1.1
--- /dev/null   Fri Aug 31 10:09:51 2018
+++ pkgsrc/sysutils/rkdeveloptool/patches/patch-main.cpp        Fri Aug 31 10:09:51 2018
@@ -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