Bug 68053 - [UPDATE] x11-toolkits/py-kde
Summary: [UPDATE] x11-toolkits/py-kde
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-17 17:30 UTC by Danny Pansters
Modified: 2004-06-20 23:16 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 Danny Pansters 2004-06-17 17:30:36 UTC
 See diff below, main changes: version update in Makefile and distinfo, 
 removal of obsolete patch-configure.py, removal of *.diff and *.sip.in 
 entries from pkg-plist because they are not installed.
 
 diff -ruN py-kde.old/Makefile py-kde/Makefile
 --- py-kde.old/Makefile	Sun Jun  6 18:52:22 2004
 +++ py-kde/Makefile	Wed Jun 16 01:15:41 2004
 @@ -6,12 +6,12 @@
  #
  
  PORTNAME=	kde
 -PORTVERSION=	3.11.r1
 +PORTVERSION=	3.11.1
  CATEGORIES=	x11-toolkits kde python
  MASTER_SITES=	http://www.river-bank.demon.co.uk/download/PyKDE2/ \
  		http://www.river-bank.demon.co.uk/download/PyQt/:qt
  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 -DISTNAME=	PyKDE-3.11rc1
 +DISTNAME=	PyKDE-3.11.1
  DISTFILES=	${DISTNAME}${EXTRACT_SUFX} PyQt-x11-gpl-${PYQTVERSION}${EXTRACT_SUFX}:qt
  
  MAINTAINER=	ports@FreeBSD.org
 @@ -30,6 +30,7 @@
  
  .include <bsd.port.pre.mk>
  
 +# Please test if this is still the case, it might not be
  .if ${OSVERSION} < 500000
  BROKEN=		"Does not compile on 4.x"
  .endif
 @@ -44,7 +45,7 @@
  		-d ${PYTHONPREFIX_SITELIBDIR} )
  
  pre-install:
 -	@${REINPLACE_CMD} -e "s,/usr/bin/env python,${PYTHON_CMD}," \
 +	@${REINPLACE_CMD} -e "s,${SETENV} python,${PYTHON_CMD}," \
  		${WRKSRC}/contrib/kdepyuic
  
  post-install:
 @@ -57,5 +58,6 @@
  	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
  .endif
  	@${INSTALL_SCRIPT} ${WRKSRC}/contrib/kdepyuic ${PREFIX}/bin
 +	@${CAT} ${PKGMESSAGE}
  
  .include <bsd.port.post.mk>
 diff -ruN py-kde.old/distinfo py-kde/distinfo
 --- py-kde.old/distinfo	Sun Jun  6 18:52:22 2004
 +++ py-kde/distinfo	Tue Jun 15 19:48:08 2004
 @@ -1,4 +1,4 @@
 -MD5 (PyKDE-3.11rc1.tar.gz) = ad113efa838c79f262212d1795485f22
 -SIZE (PyKDE-3.11rc1.tar.gz) = 1019499
 +MD5 (PyKDE-3.11.1.tar.gz) = ad689ed02054ea03b7f4d2d0cd84e6b6
 +SIZE (PyKDE-3.11.1.tar.gz) = 1185069
  MD5 (PyQt-x11-gpl-3.11.tar.gz) = 78d0ef29f57d7efd1d87f9a24fc25f1e
  SIZE (PyQt-x11-gpl-3.11.tar.gz) = 757652
 diff -ruN py-kde.old/files/patch-configure.py py-kde/files/patch-configure.py
 --- py-kde.old/files/patch-configure.py	Sun Jun  6 18:52:22 2004
 +++ py-kde/files/patch-configure.py	Thu Jan  1 01:00:00 1970
 @@ -1,11 +0,0 @@
 ---- configure.py.orig	Sat May  8 11:09:53 2004
 -+++ configure.py	Wed May 26 19:47:16 2004
 -@@ -700,7 +700,7 @@
 -             opt_concat = 1
 - 
 -         elif opt == "-d":
 --            opt_pyqtmoddir = arg
 -+            opt_pykdemoddir = arg
 -         elif opt == "-g":
 -             opt_releasegil = 1
 - 
 diff -ruN py-kde.old/pkg-message py-kde/pkg-message
 --- py-kde.old/pkg-message	Thu Jan  1 01:00:00 1970
 +++ py-kde/pkg-message	Wed Jun 16 02:47:26 2004
 @@ -0,0 +1,5 @@
 +
 +To test run:
 +
 +cd /usr/local/share/examples/py23-kde && python uisampler.py
 +
 diff -ruN py-kde.old/pkg-plist py-kde/pkg-plist
 --- py-kde.old/pkg-plist	Sun Jun  6 18:52:22 2004
 +++ py-kde/pkg-plist	Wed Jun 16 02:46:38 2004
 @@ -15,6 +15,12 @@
  %%PORTDOCS%%%%EXAMPLESDIR%%/README
  %%PORTDOCS%%%%EXAMPLESDIR%%/aboutkde.png
  %%PORTDOCS%%%%EXAMPLESDIR%%/astron.png
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example_dcopexport.py
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example_dcopexport.pyc
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example_dcopexport.pyo
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example_dcopext.py
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example_dcopext.pyc
 +%%PORTDOCS%%%%EXAMPLESDIR%%/example_dcopext.pyo
  %%PORTDOCS%%%%EXAMPLESDIR%%/kdeform1.ui
  %%PORTDOCS%%%%EXAMPLESDIR%%/kdeform1.ui.h
  %%PORTDOCS%%%%EXAMPLESDIR%%/kpartgui.dtd
 @@ -70,11 +76,11 @@
  %%PORTDOCS%%%%EXAMPLESDIR%%/xmlmenudemoui.rc
  share/sip/dcop/dcopclient.sip
  share/sip/dcop/dcopmod.sip
 -share/sip/dcop/dcopmod.sip.in
  share/sip/dcop/dcopobject.sip
  share/sip/dcop/dcopref.sip
  share/sip/dcop/dcopstub.sip
  share/sip/dcop/typedefs.sip
 +share/sip/kdecore/bytearray.sip
  share/sip/kdecore/fixx11h.sip
  share/sip/kdecore/kaboutdata.sip
  share/sip/kdecore/kaccel.sip
 @@ -101,17 +107,7 @@
  share/sip/kdecore/kcrash.sip
  share/sip/kdecore/kdcoppropertyproxy.sip
  share/sip/kdecore/kdebug.sip
 -share/sip/kdecore/kdecore-kde310.diff
 -share/sip/kdecore/kdecore-kde311.diff
 -share/sip/kdecore/kdecore-kde312.diff
 -share/sip/kdecore/kdecore-kde313.diff
 -share/sip/kdecore/kdecore-kde314.diff
 -share/sip/kdecore/kdecore-kde315.diff
 -share/sip/kdecore/kdecore-kde320.diff
 -share/sip/kdecore/kdecore-kde321.diff
 -share/sip/kdecore/kdecore-kde322.diff
  share/sip/kdecore/kdecoremod.sip
 -share/sip/kdecore/kdecoremod.sip.in
  share/sip/kdecore/kdesktopfile.sip
  share/sip/kdecore/kdesktopwidget.sip
  share/sip/kdecore/kdestyle.sip
 @@ -171,11 +167,7 @@
  share/sip/kdecore/netwm.sip
  share/sip/kdecore/netwm_def.sip
  share/sip/kdefx/kcpuinfo.sip
 -share/sip/kdefx/kdefx-kde320.diff
 -share/sip/kdefx/kdefx-kde321.diff
 -share/sip/kdefx/kdefx-kde322.diff
  share/sip/kdefx/kdefxmod.sip
 -share/sip/kdefx/kdefxmod.sip.in
  share/sip/kdefx/kdrawutil.sip
  share/sip/kdefx/kimageeffect.sip
  share/sip/kdefx/kpixmap.sip
 @@ -183,17 +175,7 @@
  share/sip/kdefx/kpixmapsplitter.sip
  share/sip/kdefx/kstyle.sip
  share/sip/kdeprint/driver.sip
 -share/sip/kdeprint/kdeprint-kde310.diff
 -share/sip/kdeprint/kdeprint-kde311.diff
 -share/sip/kdeprint/kdeprint-kde312.diff
 -share/sip/kdeprint/kdeprint-kde313.diff
 -share/sip/kdeprint/kdeprint-kde314.diff
 -share/sip/kdeprint/kdeprint-kde315.diff
 -share/sip/kdeprint/kdeprint-kde320.diff
 -share/sip/kdeprint/kdeprint-kde321.diff
 -share/sip/kdeprint/kdeprint-kde322.diff
  share/sip/kdeprint/kdeprintmod.sip
 -share/sip/kdeprint/kdeprintmod.sip.in
  share/sip/kdeprint/kmjob.sip
  share/sip/kdeprint/kmjobmanager.sip
  share/sip/kdeprint/kmmanager.sip
 @@ -209,7 +191,6 @@
  share/sip/kdesu/kcookie.sip
  share/sip/kdesu/kdesu_pty.sip
  share/sip/kdesu/kdesumod.sip
 -share/sip/kdesu/kdesumod.sip.in
  share/sip/kdesu/process.sip
  share/sip/kdesu/ssh.sip
  share/sip/kdesu/stub.sip
 @@ -250,17 +231,7 @@
  share/sip/kdeui/kdatewidget.sip
  share/sip/kdeui/kdbtn.sip
  share/sip/kdeui/kdcopactionproxy.sip
 -share/sip/kdeui/kdeui-kde310.diff
 -share/sip/kdeui/kdeui-kde311.diff
 -share/sip/kdeui/kdeui-kde312.diff
 -share/sip/kdeui/kdeui-kde313.diff
 -share/sip/kdeui/kdeui-kde314.diff
 -share/sip/kdeui/kdeui-kde315.diff
 -share/sip/kdeui/kdeui-kde320.diff
 -share/sip/kdeui/kdeui-kde321.diff
 -share/sip/kdeui/kdeui-kde322.diff
  share/sip/kdeui/kdeuimod.sip
 -share/sip/kdeui/kdeuimod.sip.in
  share/sip/kdeui/kdialog.sip
  share/sip/kdeui/kdialogbase.sip
  share/sip/kdeui/kdocktabctl.sip
 @@ -347,15 +318,6 @@
  share/sip/kfile/kdirsize.sip
  share/sip/kfile/kdiskfreesp.sip
  share/sip/kfile/kencodingfiledialog.sip
 -share/sip/kfile/kfile-kde310.diff
 -share/sip/kfile/kfile-kde311.diff
 -share/sip/kfile/kfile-kde312.diff
 -share/sip/kfile/kfile-kde313.diff
 -share/sip/kfile/kfile-kde314.diff
 -share/sip/kfile/kfile-kde315.diff
 -share/sip/kfile/kfile-kde320.diff
 -share/sip/kfile/kfile-kde321.diff
 -share/sip/kfile/kfile-kde322.diff
  share/sip/kfile/kfile.sip
  share/sip/kfile/kfilebookmark.sip
  share/sip/kfile/kfiledetailview.sip
 @@ -363,7 +325,6 @@
  share/sip/kfile/kfilefiltercombo.sip
  share/sip/kfile/kfileiconview.sip
  share/sip/kfile/kfilemod.sip
 -share/sip/kfile/kfilemod.sip.in
  share/sip/kfile/kfilepreview.sip
  share/sip/kfile/kfilereader.sip
  share/sip/kfile/kfilesharedlg.sip
 @@ -415,7 +376,6 @@
  share/sip/khtml/khtml_part.sip
  share/sip/khtml/khtml_settings.sip
  share/sip/khtml/khtmlmod.sip
 -share/sip/khtml/khtmlmod.sip.in
  share/sip/khtml/khtmlview.sip
  share/sip/kio/authinfo.sip
  share/sip/kio/chmodjob.sip
 @@ -441,17 +401,7 @@
  share/sip/kio/kfilterbase.sip
  share/sip/kio/kfilterdev.sip
  share/sip/kio/kimageio.sip
 -share/sip/kio/kio-kde310.diff
 -share/sip/kio/kio-kde311.diff
 -share/sip/kio/kio-kde312.diff
 -share/sip/kio/kio-kde313.diff
 -share/sip/kio/kio-kde314.diff
 -share/sip/kio/kio-kde315.diff
 -share/sip/kio/kio-kde320.diff
 -share/sip/kio/kio-kde321.diff
 -share/sip/kio/kio-kde322.diff
  share/sip/kio/kiomod.sip
 -share/sip/kio/kiomod.sip.in
  share/sip/kio/kmimemagic.sip
  share/sip/kio/kmimetype.sip
  share/sip/kio/kpac.sip
 @@ -494,7 +444,6 @@
  share/sip/kio/statusbarprogress.sip
  share/sip/kio/tcpslavebase.sip
  share/sip/kio/thumbcreator.sip
 -share/sip/kmdi/kmdi-kde322.diff
  share/sip/kmdi/kmdichildarea.sip
  share/sip/kmdi/kmdichildfrm.sip
  share/sip/kmdi/kmdichildfrmcaption.sip
 @@ -502,7 +451,6 @@
  share/sip/kmdi/kmdidefines.sip
  share/sip/kmdi/kmdimainfrm.sip
  share/sip/kmdi/kmdimod.sip
 -share/sip/kmdi/kmdimod.sip.in
  share/sip/kmdi/kmditaskbar.sip
  share/sip/kmdi/kmditoolviewaccessor.sip
  share/sip/kparts/browserextension.sip
 @@ -513,22 +461,16 @@
  share/sip/kparts/factory.sip
  share/sip/kparts/genericfactory.sip
  share/sip/kparts/historyprovider.sip
 -share/sip/kparts/kparts-kde320.diff
 -share/sip/kparts/kparts-kde321.diff
 -share/sip/kparts/kparts-kde322.diff
  share/sip/kparts/kpartsmod.sip
 -share/sip/kparts/kpartsmod.sip.in
  share/sip/kparts/mainwindow.sip
  share/sip/kparts/part.sip
  share/sip/kparts/partmanager.sip
  share/sip/kparts/plugin.sip
  share/sip/kparts/statusbarextension.sip
  share/sip/kspell/ksconfig.sip
 -share/sip/kspell/kspell-kde320.diff
  share/sip/kspell/kspell.sip
  share/sip/kspell/kspelldlg.sip
  share/sip/kspell/kspellmod.sip
 -share/sip/kspell/kspellmod.sip.in
  share/sip/kspell/ksyntaxhighlighter.sip
  %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/uimodules
  %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-06-17 18:37:29 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports-bugs

Rescue this from the 'pending' category.  (Hint: FreeBSD PRs are 
not 'confidential'.)
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2004-06-20 23:13:33 UTC
State Changed
From-To: open->closed


Committed, thanks! 

FYI: now it builds on 4-STABLE, but abort: 

cd /usr/local/share/examples/py23-kde && python uisampler.py 
Traceback (most recent call last): 
File "uisampler.py", line 7, in ? 
from kdeui import KMainWindow, KListView 
ImportError: /usr/local/lib/python2.3/site-packages/kdefx.so: Undefined symbol "_$_4KURL"