Bug 47686 - New Port: kwin-flatcurve
Summary: New Port: kwin-flatcurve
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: 2003-01-30 19:20 UTC by R Joseph Wright
Modified: 2003-06-26 17:23 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 R Joseph Wright 2003-01-30 19:20:01 UTC
	"Bluecurve" style window decoration for KDE's WM

How-To-Repeat: 	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kwin-flatcurve
#	kwin-flatcurve/Makefile
#	kwin-flatcurve/distinfo
#	kwin-flatcurve/pkg-plist
#	kwin-flatcurve/pkg-comment
#	kwin-flatcurve/pkg-descr
#
echo c - kwin-flatcurve
mkdir -p kwin-flatcurve > /dev/null 2>&1
echo x - kwin-flatcurve/Makefile
sed 's/^X//' >kwin-flatcurve/Makefile << 'END-of-kwin-flatcurve/Makefile'
X# New ports collection makefile for:    kwin-flatcurve
X# Date created:        30 January 2003
X# Whom:                R. Joseph Wright <rjoseph@arbornet.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=               kwin-flatcurve
XPORTVERSION=            0.2
XCATEGORIES=             x11-wm
XMASTER_SITES=           http://kde-look.org/content/files/
XDISTFILES=              4365-flatcurve-${PORTVERSION}.tar.gz
X
XMAINTAINER=             ports@freebsd.org
X
XLIB_DEPENDS=            kdecore.5:${PORTSDIR}/x11/kdelibs3 \
X                        artsflow.1:${PORTSDIR}/audio/arts
XRUN_DEPENDS=            kwin:${PORTSDIR}/x11/kdebase3
X
XWRKSRC=                 ${WRKDIR}/flatcurve-${PORTVERSION}
X
XUSE_GMAKE=              yes
XGNU_CONFIGURE=          yes
X
XCONFIGURE_ARGS+=        --prefix=/usr/local \
X                        --with-extra-libs=/usr/local/lib
X
X.include <bsd.port.mk>
END-of-kwin-flatcurve/Makefile
echo x - kwin-flatcurve/distinfo
sed 's/^X//' >kwin-flatcurve/distinfo << 'END-of-kwin-flatcurve/distinfo'
XMD5 (4365-flatcurve-0.2.tar.gz) = ac528271e403cd40ac94dcae7e26795e
END-of-kwin-flatcurve/distinfo
echo x - kwin-flatcurve/pkg-plist
sed 's/^X//' >kwin-flatcurve/pkg-plist << 'END-of-kwin-flatcurve/pkg-plist'
Xshare/apps/kwin/flatcurve.desktop
Xlib/kde3/kwin_flatcurve.so
Xlib/kde3/kwin_flatcurve.la
END-of-kwin-flatcurve/pkg-plist
echo x - kwin-flatcurve/pkg-comment
sed 's/^X//' >kwin-flatcurve/pkg-comment << 'END-of-kwin-flatcurve/pkg-comment'
X"Bluecurve" style window decoration for KDE's WM
END-of-kwin-flatcurve/pkg-comment
echo x - kwin-flatcurve/pkg-descr
sed 's/^X//' >kwin-flatcurve/pkg-descr << 'END-of-kwin-flatcurve/pkg-descr'
X"Bluecurve" style window decoration for KDE's WM
END-of-kwin-flatcurve/pkg-descr
exit
Comment 1 corecode@corecode.ath.cx 2003-01-30 19:47:28 UTC
Lately R Joseph Wright told:

> sed 's/^X//' >kwin-flatcurve/Makefile << 'END-of-kwin-flatcurve/Makefile'
[...]
> XPORTNAME=               kwin-flatcurve

sure about kwin- in PORTNAME?

[...]
> XLIB_DEPENDS=            kdecore.5:${PORTSDIR}/x11/kdelibs3 \
(*)
> X                        artsflow.1:${PORTSDIR}/audio/arts
> XRUN_DEPENDS=            kwin:${PORTSDIR}/x11/kdebase3
(*)

instead:
USE_KDEBASE_VER=	3

[...]
> XGNU_CONFIGURE=          yes

USE_LIBTOOL instead?

> XCONFIGURE_ARGS+=        --prefix=/usr/local \
> X                        --with-extra-libs=/usr/local/lib

${LOCALBASE}

you're using a lot of tabs...

in future please test your port before submission with portlint -A

cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Comment 2 R Joseph Wright 2003-01-30 21:59:30 UTC
On Thu, Jan 30, 2003 at 08:47:28PM +0100, Simon 'portlint' Schubert wrote:

Thanks for your quick reply and for the suggestions

> > XPORTNAME=               kwin-flatcurve
> 
> sure about kwin- in PORTNAME?
How about kwin_flatcurve?

> > XGNU_CONFIGURE=          yes
> 
> USE_LIBTOOL instead?

It seems to need libtool-1.4, which is not in the ports collection.  It
comes with its own libtool which works, however.

> you're using a lot of tabs...

I thought that looked nice :-)

Here's a new version:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kwin_flatcurve
#	kwin_flatcurve/Makefile
#	kwin_flatcurve/distinfo
#	kwin_flatcurve/pkg-plist
#	kwin_flatcurve/pkg-comment
#	kwin_flatcurve/pkg-descr
#
echo c - kwin_flatcurve
mkdir -p kwin_flatcurve > /dev/null 2>&1
echo x - kwin_flatcurve/Makefile
sed 's/^X//' >kwin_flatcurve/Makefile << 'END-of-kwin_flatcurve/Makefile'
X# New ports collection makefile for:    kwin_flatcurve
X# Date created:        30 January 2003
X# Whom:                R. Joseph Wright <rjoseph@arbornet.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	kwin_flatcurve
XPORTVERSION=	0.2
XCATEGORIES=	x11-wm
XMASTER_SITES=	http://kde-look.org/content/files/
XDISTNAME=	4365-flatcurve-${PORTVERSION}
X
XMAINTAINER=	ports@freebsd.org
X
XUSE_KDEBASE_VER=	3
X
XWRKSRC=	${WRKDIR}/flatcurve-${PORTVERSION}
X
XINSTALLS_SHLIB=	yes
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
XCONFIGURE_ARGS+=	--prefix=${LOCALBASE} \
X	--with-extra-libs=${LOCALBASE}/lib
X
X.include <bsd.port.mk>
END-of-kwin_flatcurve/Makefile
echo x - kwin_flatcurve/distinfo
sed 's/^X//' >kwin_flatcurve/distinfo << 'END-of-kwin_flatcurve/distinfo'
XMD5 (4365-flatcurve-0.2.tar.gz) = ac528271e403cd40ac94dcae7e26795e
END-of-kwin_flatcurve/distinfo
echo x - kwin_flatcurve/pkg-plist
sed 's/^X//' >kwin_flatcurve/pkg-plist << 'END-of-kwin_flatcurve/pkg-plist'
Xshare/apps/kwin/flatcurve.desktop
Xlib/kde3/kwin_flatcurve.so
Xlib/kde3/kwin_flatcurve.la
END-of-kwin_flatcurve/pkg-plist
echo x - kwin_flatcurve/pkg-comment
sed 's/^X//' >kwin_flatcurve/pkg-comment << 'END-of-kwin_flatcurve/pkg-comment'
X"Bluecurve" style window decoration for KDE's WM
END-of-kwin_flatcurve/pkg-comment
echo x - kwin_flatcurve/pkg-descr
sed 's/^X//' >kwin_flatcurve/pkg-descr << 'END-of-kwin_flatcurve/pkg-descr'
X"Bluecurve" style window decoration for KDE's WM
END-of-kwin_flatcurve/pkg-descr
exit

-- 
Joseph

Today's fortune cookie:
Of course there's no reason for it, it's just our policy.
Comment 3 corecode@corecode.ath.cx 2003-01-31 01:19:23 UTC
Lately R Joseph Wright told:

> On Thu, Jan 30, 2003 at 08:47:28PM +0100, Simon 'portlint' Schubert wrote:
> 
> Thanks for your quick reply and for the suggestions
> 
> > > XPORTNAME=               kwin-flatcurve
> > 
> > sure about kwin- in PORTNAME?
> How about kwin_flatcurve?

does that make a difference? :)
no, serious. i wondered where this kwin stuff came from :)

> > > XGNU_CONFIGURE=          yes
> > USE_LIBTOOL instead?
> It seems to need libtool-1.4, which is not in the ports collection.
> It comes with its own libtool which works, however.

yes, that's the problem. USE_LIBTOOL just (in short) prevents those ugly
.la files to be installed

> sed 's/^X//' >kwin_flatcurve/Makefile << 'END-of-kwin_flatcurve/Makefile'
> X# New ports collection makefile for:    kwin_flatcurve
> X# Date created:        30 January 2003
> X# Whom:                R. Joseph Wright <rjoseph@arbornet.org>
> X#
> X# $FreeBSD$
> X#
> X
> XPORTNAME=	kwin_flatcurve
> XPORTVERSION=	0.2
> XCATEGORIES=	x11-wm
> XMASTER_SITES=	http://kde-look.org/content/files/
> XDISTNAME=	4365-flatcurve-${PORTVERSION}
> X
> XMAINTAINER=	ports@freebsd.org
> X
> XUSE_KDEBASE_VER=	3
> X
> XWRKSRC=	${WRKDIR}/flatcurve-${PORTVERSION}
> X
> XINSTALLS_SHLIB=	yes

is this needed? i don't know, but it doesn't seem that these libs should
be in the search path...

> XUSE_GMAKE=	yes
> XGNU_CONFIGURE=	yes
> X
> XCONFIGURE_ARGS+=	--prefix=${LOCALBASE} \

now i start to think... --prefix should point to ${PREFIX}, no? and
isn't this done in bsd.port.mk anyways?

you kicked the arts requirement. is this pulled in by USE_KDEBASE_VER=3?
otherwise you should put it in again :)

cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Comment 4 R Joseph Wright 2003-01-31 03:38:31 UTC
On Fri, Jan 31, 2003 at 02:19:23AM +0100, Simon 'corecode' Schubert wrote:
> > > sure about kwin- in PORTNAME?
> > How about kwin_flatcurve?
> 
> does that make a difference? :)
> no, serious. i wondered where this kwin stuff came from :)
Portlint complained about there being a dash in the name, I thought
that's what you meant.  I called it kwin because that's KDE's window
manager, but I don't care if you change the name to kde_flatcurve, or
whatever.

> is this needed? i don't know, but it doesn't seem that these libs should
> be in the search path...
I guess not, but portlint complained about it, so I put it in.  It's
gone now.

> now i start to think... --prefix should point to ${PREFIX}, no? and
> isn't this done in bsd.port.mk anyways?
You're right, and I realised I didn't need the --with-extra-libs
argument either.

> you kicked the arts requirement. is this pulled in by USE_KDEBASE_VER=3?
> otherwise you should put it in again :)
Well, kdelibs pulls it in.

If this doesn't do it, I give up :-)

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kwin_flatcurve
#	kwin_flatcurve/Makefile
#	kwin_flatcurve/distinfo
#	kwin_flatcurve/pkg-plist
#	kwin_flatcurve/pkg-comment
#	kwin_flatcurve/pkg-descr
#
echo c - kwin_flatcurve
mkdir -p kwin_flatcurve > /dev/null 2>&1
echo x - kwin_flatcurve/Makefile
sed 's/^X//' >kwin_flatcurve/Makefile << 'END-of-kwin_flatcurve/Makefile'
X# New ports collection makefile for:    kwin_flatcurve
X# Date created:        30 January 2003
X# Whom:                R. Joseph Wright <rjoseph@arbornet.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	kwin_flatcurve
XPORTVERSION=	0.2
XCATEGORIES=	x11-wm
XMASTER_SITES=	http://kde-look.org/content/files/
XDISTNAME=	4365-flatcurve-${PORTVERSION}
X
XMAINTAINER=	ports@freebsd.org
X
XUSE_KDEBASE_VER=	3
X
XWRKSRC=	${WRKDIR}/flatcurve-${PORTVERSION}
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
X.include <bsd.port.mk>
END-of-kwin_flatcurve/Makefile
echo x - kwin_flatcurve/distinfo
sed 's/^X//' >kwin_flatcurve/distinfo << 'END-of-kwin_flatcurve/distinfo'
XMD5 (4365-flatcurve-0.2.tar.gz) = ac528271e403cd40ac94dcae7e26795e
END-of-kwin_flatcurve/distinfo
echo x - kwin_flatcurve/pkg-plist
sed 's/^X//' >kwin_flatcurve/pkg-plist << 'END-of-kwin_flatcurve/pkg-plist'
Xshare/apps/kwin/flatcurve.desktop
Xlib/kde3/kwin_flatcurve.so
Xlib/kde3/kwin_flatcurve.la
END-of-kwin_flatcurve/pkg-plist
echo x - kwin_flatcurve/pkg-comment
sed 's/^X//' >kwin_flatcurve/pkg-comment << 'END-of-kwin_flatcurve/pkg-comment'
X"Bluecurve" style window decoration for KDE's WM
END-of-kwin_flatcurve/pkg-comment
echo x - kwin_flatcurve/pkg-descr
sed 's/^X//' >kwin_flatcurve/pkg-descr << 'END-of-kwin_flatcurve/pkg-descr'
X"Bluecurve" style window decoration for KDE's WM
END-of-kwin_flatcurve/pkg-descr
exit

-- 
Joseph

Today's fortune cookie:
Different all twisty a of in maze are you, passages little.
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2003-06-26 17:23:49 UTC
State Changed
From-To: open->closed

Committed, thanks