Import lincvs from pkgsrc-wip. Ok by wiz.

LinCVS is a graphical Interface for the cvs client commandline tool on the
Unix, Windows and Mac OS X platform. It allows to load modules from a
server (checkout), create modules on the server (import), as well as
checking the state of directories and individual files or updating them.
Basic operations like add, remove and commit are supported as matter of
course, just like showing the actual differences between the server version
and the local sandbox, graphical display of the version tree, and manifoldy
graphical support of project maintenance. All actions are logged on the cvs
server (configurable via history), and are therewith comprehensible.
This commit is contained in:
ghen 2005-12-28 13:07:14 +00:00
parent 0b849a893c
commit 5e800026d7
14 changed files with 275 additions and 0 deletions

9
devel/lincvs/DESCR Normal file
View file

@ -0,0 +1,9 @@
LinCVS is a graphical Interface for the cvs client commandline tool on the
Unix, Windows and Mac OS X platform. It allows to load modules from a
server (checkout), create modules on the server (import), as well as
checking the state of directories and individual files or updating them.
Basic operations like add, remove and commit are supported as matter of
course, just like showing the actual differences between the server version
and the local sandbox, graphical display of the version tree, and manifoldy
graphical support of project maintenance. All actions are logged on the cvs
server (configurable via history), and are therewith comprehensible.

45
devel/lincvs/Makefile Normal file
View file

@ -0,0 +1,45 @@
# $NetBSD: Makefile,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
DISTNAME= lincvs-1.4.3-0-generic-src
PKGNAME= ${DISTNAME:S/-0-generic-src//}
CATEGORIES= devel x11
MASTER_SITES= http://lincvs.com/download/
EXTRACT_SUFX= .tgz
MAINTAINER= ghen@NetBSD.org
HOMEPAGE= http://lincvs.org/
COMMENT= Nice GUI front-end to CVS (using Qt)
SUBST_CLASSES+= qmake
SUBST_STAGE.qmake= post-patch
SUBST_FILES.qmake= lincvs.pro
SUBST_SED.qmake= -e 's,%%QTDIR%%,${PREFIX}${QTDIR},'
SUBST_CLASSES+= appdir
SUBST_STAGE.appdir= post-patch
SUBST_FILES.appdir= src/lincvs.cpp src/main.cpp src/cvscontrol.cpp
SUBST_SED.appdir= -e 's,%%PREFIX%%,${PREFIX},'
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
do-configure:
${QTDIR}/bin/qmake -o ${WRKSRC}/Makefile ${WRKSRC}/lincvs.pro
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lincvs.bin ${PREFIX}/bin/lincvs
${INSTALL_PROGRAM} ${WRKSRC}/contrib/rshwrapper/rshwrapper ${PREFIX}/libexec/rshwrapper
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lincvs
.for FILE in FAM-HOWTO.txt FAQ.txt INFO.txt INSTALL INSTALL.html PROXY-HOWTO.txt README README.html SSH-HOWTO.txt
${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${PREFIX}/share/doc/lincvs/
.endfor
.for LANG in de it ru
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lincvs/${LANG}
${INSTALL_DATA} ${WRKSRC}/doc/translations/${LANG}/* ${PREFIX}/share/doc/lincvs/${LANG}/
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/lincvs/messages
${INSTALL_DATA} ${WRKSRC}/ts/*.qm ${PREFIX}/share/lincvs/messages/
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
BUILDLINK_DEPMETHOD.qt3-tools= build
.include "../../mk/bsd.pkg.mk"

39
devel/lincvs/PLIST Normal file
View file

@ -0,0 +1,39 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
bin/lincvs
libexec/rshwrapper
share/doc/lincvs/FAM-HOWTO.txt
share/doc/lincvs/FAQ.txt
share/doc/lincvs/INFO.txt
share/doc/lincvs/INSTALL
share/doc/lincvs/INSTALL.html
share/doc/lincvs/PROXY-HOWTO.txt
share/doc/lincvs/README
share/doc/lincvs/README.html
share/doc/lincvs/SSH-HOWTO.txt
share/doc/lincvs/de/LIESMICH.html
share/doc/lincvs/de/LIESMICH.txt
share/doc/lincvs/it/LEGGIMI.html
share/doc/lincvs/it/LEGGIMI.txt
share/doc/lincvs/ru/FAM-HOWTO.koi8r.txt
share/doc/lincvs/ru/FAM-HOWTO.ru.html
share/doc/lincvs/ru/FAQ.koi8r.txt
share/doc/lincvs/ru/INSTALL.html
share/doc/lincvs/ru/PROXY-HOWTO.koi8r.txt
share/doc/lincvs/ru/PROXY-HOWTO.ru.html
share/doc/lincvs/ru/README.koi8.txt
share/doc/lincvs/ru/README.ru.html
share/doc/lincvs/ru/SSH-HOWTO.koi8.txt
share/lincvs/messages/ca_ES.qm
share/lincvs/messages/de.qm
share/lincvs/messages/es.qm
share/lincvs/messages/fr.qm
share/lincvs/messages/it.qm
share/lincvs/messages/ja.qm
share/lincvs/messages/ru.qm
share/lincvs/messages/vi.qm
@dirrm share/lincvs/messages
@dirrm share/lincvs
@dirrm share/doc/lincvs/ru
@dirrm share/doc/lincvs/it
@dirrm share/doc/lincvs/de
@dirrm share/doc/lincvs

15
devel/lincvs/distinfo Normal file
View file

@ -0,0 +1,15 @@
$NetBSD: distinfo,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
SHA1 (lincvs-1.4.3-0-generic-src.tgz) = a7c4598bf3cc892bd104fbeaf059eb9b80c8171d
RMD160 (lincvs-1.4.3-0-generic-src.tgz) = da7a821148797b69062aac0c7704605796c62141
Size (lincvs-1.4.3-0-generic-src.tgz) = 1231514 bytes
SHA1 (patch-aa) = 386b98a60c614a467932768709b9772160e328f4
SHA1 (patch-ab) = 1019eade14ed46f111aa1e1a6a5b32f7193cb171
SHA1 (patch-ac) = d5f4c14925f291090c6f56413275b0afd934a217
SHA1 (patch-ad) = d528e9ba6bf60cdc30c456117566567d94e3827d
SHA1 (patch-ae) = 5e9df370b50c9652ec12d75ab579390be5c64727
SHA1 (patch-af) = 611568aaf919ca08caa2c9fd7c5563d4551b149a
SHA1 (patch-ag) = 07c6d57f36ac88d789abb7d62e676d1f49b91ab9
SHA1 (patch-ah) = 781ddbcbbd310f1db3d2dfbc3b3f0042dd5e4bcb
SHA1 (patch-ai) = 4a748fd61e552f3503f025027a9c9e50e3d79e64
SHA1 (patch-aj) = 5c39c28df7a4723bd1d10341b38ecaff70d7bf21

View file

@ -0,0 +1,40 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- lincvs.pro.orig 2005-07-31 14:32:58.000000000 +0200
+++ lincvs.pro
@@ -22,7 +22,7 @@ unix {
# check timezone functions (Unix only)
!mac:unix {
message( "Check for timezone function..." )
- system(cd test && qmake -o Makefile check_tz.pro && make)
+ system(cd test && %%QTDIR%%/bin/qmake -o Makefile check_tz.pro && make)
exists(test/check_tz) {
# use gmtoff member of tm structure
message("Use gmtoff member of tm structure")
@@ -42,7 +42,7 @@ mac {
# check for standard compliant compiler (Unix only)
!mac:unix {
message( "Check for standard compliant compiler..." )
- system(cd test && qmake -o Makefile check_std.pro && make)
+ system(cd test && %%QTDIR%%/bin/qmake -o Makefile check_std.pro && make)
exists(test/check_std) {
# compiler knows std
message("Use std namespace")
@@ -59,7 +59,7 @@ mac {
# check for working exception handling (Unix only)
!mac:unix {
message( "Check for working exception handling..." )
- system(cd test && qmake -o Makefile check_exc.pro && make)
+ system(cd test && %%QTDIR%%/bin/qmake -o Makefile check_exc.pro && make)
exists(test/check_exc) {
# exception handling works
message("Exception handling works")
@@ -76,7 +76,7 @@ mac {
# check for nanosleep (Unix only)
!mac:unix {
message( "Check for nanosleep..." )
- system(cd test && qmake -o Makefile check_nano.pro && make)
+ system(cd test && %%QTDIR%%/bin/qmake -o Makefile check_nano.pro && make)
exists(test/check_nano) {
# use nanosleep
message("Use nanosleep")

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ab,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/AnnotateDialog.ui.orig 2005-07-25 22:12:46.000000000 +0200
+++ src/AnnotateDialog.ui
@@ -153,7 +153,4 @@
<slot>enterWhatsThisMode()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>cvsfileviewer.h</includehint>
-</includehints>
</UI>

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/LogDialog.ui.orig 2005-07-25 22:13:43.000000000 +0200
+++ src/LogDialog.ui
@@ -1315,8 +1315,4 @@ The left clicked revision corresponds wi
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>logtreeview.h</includehint>
- <includehint>loglistview.h</includehint>
-</includehints>
</UI>

View file

@ -0,0 +1,23 @@
$NetBSD: patch-ad,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/settingsdialog.ui.orig 2005-07-25 22:15:30.000000000 +0200
+++ src/settingsdialog.ui
@@ -4445,18 +4445,4 @@ It's helpful if you attach a bug report
</slots>
<pixmapinproject/>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
- <includehint>ccolorbutton.h</includehint>
-</includehints>
</UI>

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/CheckoutDialog.ui.orig 2005-07-25 22:12:54.000000000 +0200
+++ src/CheckoutDialog.ui
@@ -1020,7 +1020,4 @@ This is recommended, since you can use t
<slot>enterWhatsThisMode()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>revisionwidgetimpl.h</includehint>
-</includehints>
</UI>

View file

@ -0,0 +1,14 @@
$NetBSD: patch-af,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/ResolvDialog.ui.orig 2005-07-25 22:14:03.000000000 +0200
+++ src/ResolvDialog.ui
@@ -347,9 +347,4 @@
<slot>enterWhatsThisMode()</slot>
</slots>
<layoutdefaults spacing="0" margin="0"/>
-<includehints>
- <includehint>filetableimpl.h</includehint>
- <includehint>filetableimpl.h</includehint>
- <includehint>filetableimpl.h</includehint>
-</includehints>
</UI>

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ag,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/UpdateOtherRevisionStdDialog.ui.orig 2005-07-25 22:14:21.000000000 +0200
+++ src/UpdateOtherRevisionStdDialog.ui
@@ -213,7 +213,4 @@
<slot>enterWhatsThisMode()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>revisionwidgetimpl.h</includehint>
-</includehints>
</UI>

View file

@ -0,0 +1,15 @@
$NetBSD: patch-ah,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/lincvs.cpp.orig 2005-07-25 22:15:04.000000000 +0200
+++ src/lincvs.cpp
@@ -2980,8 +2980,8 @@ void ApplicationWindow::slot_help()
QString lang = QString(QTextCodec::locale()).left(2); //maybe it's useful without left(2)
- helpDir = APPDIR + "/" + LC_HELP_DIR + "/" + LC_TRANSLATIONS_SUBDIR + "/" + lang;
- helpDirDef = APPDIR + "/" + LC_HELP_DIR;
+ helpDir = "%%PREFIX%%/share/doc/lincvs/translations/" + lang;
+ helpDirDef = "%%PREFIX%%/share/doc/lincvs";
filename = helpDir + tr("/README.html");
f.setName(filename);

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ai,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/main.cpp.orig 2005-07-25 22:15:10.000000000 +0200
+++ src/main.cpp
@@ -302,7 +302,7 @@ int main( int argc, char ** argv )
if (pos > -1) lang.truncate(pos);
if (bDebug) qDebug("LANG: " + lang);
- QString messagesDir = APPDIR + "/" + LC_MESSAGES_DIR;
+ QString messagesDir = "%%PREFIX%%/share/lincvs/messages";
bool qt_ts_found = false;
QTranslator translator( 0 );
QTranslator qtTranslator( 0 );

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aj,v 1.1.1.1 2005/12/28 13:07:14 ghen Exp $
--- src/cvscontrol.cpp.orig 2005-07-25 22:14:36.000000000 +0200
+++ src/cvscontrol.cpp
@@ -2168,7 +2168,7 @@ void CvsControl::callInteractiveCmd( QSt
#ifdef Q_WS_WIN
command += "export CVS_RSH=" + cvsRsh + " && ";
#else
- QString rsh = APPDIR + "/" + LC_TOOLS_DIR + "/rshwrapper";
+ QString rsh = "%%PREFIX%%/libexec/rshwrapper";
if (!QFileInfo(rsh).exists()) {
showWarning( tr("Warning"), tr("can't access rshwrapper: "+rsh+": file not found") );
cvsCallFailed(icmd,instance);