Bug 77248 - Update kscope to latest version (1.1.0).
Summary: Update kscope to latest version (1.1.0).
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Volker Stolz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 05:20 UTC by Frank Mayhar
Modified: 2005-03-01 21:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Mayhar 2005-02-08 05:20:16 UTC

    
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2005-02-09 08:51:26 UTC
State Changed
From-To: open->feedback

Does not patchL: Please submit patches in a way that doesn't break 
them, e.g. through send-pr -a. 

Patching file files/patch-src_Makefile.in using Plan A... 
patch: **** malformed patch at line 110:  cpp projectfileslayout.cpp scanprogresslayout.cpp cscopemsglayout.cpp positionhistorylayout.cpp 


Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-02-09 08:51:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

Claim.
Comment 3 frank 2005-02-10 04:30:28 UTC
Sorry about that.  I hope this one comes through properly.

Index: kscope/Makefile
===================================================================
RCS file: /cvs/repos/ports/devel/kscope/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- kscope/Makefile	19 Jan 2005 16:02:46 -0000	1.6
+++ kscope/Makefile	8 Feb 2005 04:54:08 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	kscope
-PORTVERSION=	1.0
+PORTVERSION=	1.1.0
 CATEGORIES=	devel kde
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=${PORTNAME}/
@@ -27,10 +27,8 @@
 USE_REINPLACE=	yes
 
 MAKE_ENV=	EXTRA_LIBRARIES="-L${LOCALBASE}/lib"
+CONFIGURE_ENV=	CXXFLAGS=-pthread
 CONFIGURE_ARGS+=--with-extra-includes=${LOCALBASE}/include \
 		--with-extra-libs=${LOCALBASE}/lib
 
-post-patch:
-	${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g"
${WRKSRC}/configure
-
 .include <bsd.port.mk>
Index: kscope/distinfo
===================================================================
RCS file: /cvs/repos/ports/devel/kscope/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- kscope/distinfo	19 Jan 2005 16:02:46 -0000	1.5
+++ kscope/distinfo	8 Feb 2005 04:54:08 -0000
@@ -1,2 +1,2 @@
-MD5 (kscope-1.0.tar.gz) = f6dbd3916b6dc3b85472a3207fa12a00
-SIZE (kscope-1.0.tar.gz) = 980422
+MD5 (kscope-1.1.0.tar.gz) = 2307f182f84fee474ff8bc1630cf3b3c
+SIZE (kscope-1.1.0.tar.gz) = 999787
Index: kscope/files/patch-src_Makefile.in
===================================================================
RCS file: /cvs/repos/ports/devel/kscope/files/patch-src_Makefile.in,v
retrieving revision 1.1
diff -u -r1.1 patch-src_Makefile.in
--- kscope/files/patch-src_Makefile.in	22 Jun 2004 19:42:03 -0000	1.1
+++ kscope/files/patch-src_Makefile.in	8 Feb 2005 04:54:08 -0000
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig	Tue Jun 22 17:58:35 2004
-+++ src/Makefile.in	Tue Jun 22 18:01:18 2004
-@@ -277,7 +277,7 @@
- #>+ 1
- kscope_SOURCES=main.cpp kscope.cpp calltreedlg.cpp calltreedlg.h
cscopefrontend.cpp cscopefrontend.h ctagsfrontend.cpp ctagsfrontend.h
ctagslist.cpp ctagslist.h dirscanner.cpp dirscanner.h editormanager.cpp
editormanager.h editorpage.cpp editorpage.h editortabs.cpp editortabs.h
filelist.cpp filelist.h frontend.cpp frontend.h kscopeconfig.cpp
kscopeconfig.h kscope.h kscopepixmaps.cpp kscopepixmaps.h
newprojectdlg.cpp newprojectdlg.h openprojectdlg.cpp openprojectdlg.h
prefcolor.cpp prefcolor.h preferencesdlg.cpp preferencesdlg.h
preffrontend.cpp preffrontend.h progressdlg.cpp progressdlg.h
projectfilesdlg.cpp projectfilesdlg.h projectmanager.cpp
projectmanager.h querypage.cpp querypage.h querywidget.cpp querywidget.h
scanprogressdlg.cpp scanprogressdlg.h searchlist.cpp searchlist.h
tabwidget.cpp tabbar.cpp  cscopemsgdlg.cpp positionhistory.cpp
positionhistorydlg.cpp calltreelayout.cpp newprojectlayout.cpp
openprojectlayout.cpp prefcolorlayout.cpp preffrontendlayout.cpp
projectfileslayout.cpp scanprogresslayout.cpp cscopemsglayout.cpp
positionhistorylayout.cpp
- kscope_LDFLAGS = $(KDE_RPATH) $(all_libraries)
--kscope_LDADD = -lktexteditor $(LIB_KDEUI)
-+kscope_LDADD = -lktexteditor $(LIB_KDEUI) $(LIBPTHREAD)
- 
- # this is where the desktop file will go 
- shelldesktopdir = $(kde_appsdir)/Utilities
Comment 4 Volker Stolz freebsd_committer freebsd_triage 2005-02-10 12:13:32 UTC
On 4.11:
kscope.o: In function `KScope::slotProjectFilesChanged(void)':
kscope.o(.text+0x3182): undefined reference to  
`KScope::isAutoRebuildEnabled(void)'
kscope.o: In function `KScope::slotFilesAdded(QStringList const &)':
kscope.o(.text+0x3223): undefined reference to  
`KScope::isAutoRebuildEnabled(void)'
kscope.o: In function `KScope::openProject(QString const &)':
kscope.o(.text+0x375a): undefined reference to  
`KScope::isAutoRebuildEnabled(void)'
gmake[2]: *** [kscope] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/kscope/work/kscope-1.1.0/src'

Are there any recent KDE-updates I should be aware of?

BTW, your latest patch would probably have arrived unmangled if you'd have  
had cc:ed me...

Volker
Comment 5 Volker Stolz freebsd_committer freebsd_triage 2005-03-01 21:58:35 UTC
State Changed
From-To: feedback->closed

Feedback timeout, +2w. Sorry it didn't work out.