ports/85545: [new port] x11-themes/qt-polymer-theme
Piotr Smyrak
piotr.smyrak at heron.pl
Wed Aug 31 21:40:19 UTC 2005
>Number: 85545
>Category: ports
>Synopsis: [new port] x11-themes/qt-polymer-theme
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 31 21:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Piotr Smyrak
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.4-STABLE #0: Mon Jun 20 10:36:01 CEST 2005
root at smyru.smyrak.com:/usr/obj/usr/src/sys/SMYRU
>Description:
This is a port of Polymer, qt widget style that blends qt apps in
a very nice way into the look of the GNOME desktop. Enjoy.
See here (down the page) for its effects:
http://ubuntuforums.org/showthread.php?t=56630
>How-To-Repeat:
N/A
>Fix:
--- polymer.shar begins here ---
# 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:
#
# qt-polymer-theme
# qt-polymer-theme/pkg-plist
# qt-polymer-theme/pkg-descr
# qt-polymer-theme/Makefile
# qt-polymer-theme/distinfo
# qt-polymer-theme/files
# qt-polymer-theme/files/patch-Makefile.in
# qt-polymer-theme/pkg-message
#
echo c - qt-polymer-theme
mkdir -p qt-polymer-theme > /dev/null 2>&1
echo x - qt-polymer-theme/pkg-plist
sed 's/^X//' >qt-polymer-theme/pkg-plist << 'END-of-qt-polymer-theme/pkg-plist'
Xbin/polymer-config
Xlib/plugins/styles/polymer.so
X at unexec rmdir %D/lib/plugins/styles 2>/dev/null || true
END-of-qt-polymer-theme/pkg-plist
echo x - qt-polymer-theme/pkg-descr
sed 's/^X//' >qt-polymer-theme/pkg-descr << 'END-of-qt-polymer-theme/pkg-descr'
XPolymer is a port of the KDE theme Plastik to a plain Qt widget style.
XIt's similar to the new default GNOME theme and lets Qt application
Xblend into a GNOME based desktop.
X
XWWW: http://static.int.pl/~mig21/dev/releases/polymer/
END-of-qt-polymer-theme/pkg-descr
echo x - qt-polymer-theme/Makefile
sed 's/^X//' >qt-polymer-theme/Makefile << 'END-of-qt-polymer-theme/Makefile'
X# New ports collection makefile for: qt-polymer-theme
X# Date created: 31 August 2005
X# Whom: Piotr Smyrak <smyru at heron.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME= polymer
XPORTVERSION= 0.3.2
XCATEGORIES= x11-themes
XMASTER_SITES= http://static.int.pl/~mig21/dev/releases/polymer/
XPKGNAMEPREFIX= qt-
XPKGNAMESUFFIX= -theme
X
XMAINTAINER= smyru at heron.pl
XCOMMENT= GNOME style Polymer theme for QT apps
X
XBUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
X
XUSE_BZIP2= yes
XUSE_GMAKE= yes
XUSE_QT_VER= 3
XUSE_X_PREFIX= yes
X
XUSE_LIBTOOL_VER=15
XUSE_REINPLACE= yes
XINSTALLS_SHLIB= yes
X
XCONFIGURE_ARGS= --enable-mmx
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X LDFLAGS="-L${LOCALBASE}/lib"
X
XQT_CFLAGS= -I${X11BASE}/include -DQT_THREAD_SUPPORT ${PTHREAD_CFLAGS}
XQT_LIBS= -L${X11BASE}/lib -lqt-mt ${PTHREAD_LIBS}
XQMAKESPEC= freebsd-g++
XQTDIR= ${X11BASE}
X
X.if ${MACHINE_CPU:Msse}!=""
XCONFIGURE_ARGS+= --enable-sse
X.endif
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.in
X
Xdo-install:
X ${MKDIR} ${PREFIX}/lib/plugins/styles
X ${INSTALL_PROGRAM} ${WRKSRC}/style/libpolymer.so.1.0.0 ${PREFIX}/lib/plugins/styles/polymer.so
X ${INSTALL_PROGRAM} ${WRKSRC}/config/polymer-config ${PREFIX}/bin/polymer-config
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-qt-polymer-theme/Makefile
echo x - qt-polymer-theme/distinfo
sed 's/^X//' >qt-polymer-theme/distinfo << 'END-of-qt-polymer-theme/distinfo'
XMD5 (polymer-0.3.2.tar.bz2) = 5e566deb55586069378c85cb477f5005
XSIZE (polymer-0.3.2.tar.bz2) = 123404
END-of-qt-polymer-theme/distinfo
echo c - qt-polymer-theme/files
mkdir -p qt-polymer-theme/files > /dev/null 2>&1
echo x - qt-polymer-theme/files/patch-Makefile.in
sed 's/^X//' >qt-polymer-theme/files/patch-Makefile.in << 'END-of-qt-polymer-theme/files/patch-Makefile.in'
X--- Makefile.in.orig Tue Aug 16 20:05:32 2005
X+++ Makefile.in Wed Aug 31 22:02:40 2005
X@@ -5,7 +5,7 @@
X LDFLAGS=@LDFLAGS@
X LIBS=@LIBS@
X INSTALL=@INSTALL@
X-QMAKE=@QTDIR@/bin/qmake
X+QMAKE=%%LOCALBASE%%/bin/qmake
X prefix=@prefix@
X exec_prefix=@exec_prefix@
X bindir=@bindir@
END-of-qt-polymer-theme/files/patch-Makefile.in
echo x - qt-polymer-theme/pkg-message
sed 's/^X//' >qt-polymer-theme/pkg-message << 'END-of-qt-polymer-theme/pkg-message'
X===============================================================================
X
X You can now use 'qtconfig' to choose Polymer as a Qt widget drawing style.
X
X Use 'polymer-config' to tweak the style details.
X
X===============================================================================
END-of-qt-polymer-theme/pkg-message
exit
--- polymer.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list