diff options
author | marcus <marcus@FreeBSD.org> | 2002-10-17 18:21:25 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-10-17 18:21:25 +0000 |
commit | ab0354fb6e9490cdc8dc719addafc410f8d8aeb1 (patch) | |
tree | 8627ce485cf6065cf477d75f7e9be965562b146c /x11-toolkits | |
parent | 0da122bc7f7bac0f60153c16f94416d05a8616a2 (diff) | |
download | FreeBSD-ports-ab0354fb6e9490cdc8dc719addafc410f8d8aeb1.zip FreeBSD-ports-ab0354fb6e9490cdc8dc719addafc410f8d8aeb1.tar.gz |
Add qt-bluecurve-theme, a port of the RedHat 8.0 unified QT/GTK theme
for QT 3.
PR: 43640
Submitted by: Ryzhyk Eugeney <evgeni67@bezeqint.net>
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/qt-bluecurve-theme/Makefile | 50 | ||||
-rw-r--r-- | x11-toolkits/qt-bluecurve-theme/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/qt-bluecurve-theme/files/Makefile-qt3 | 47 | ||||
-rw-r--r-- | x11-toolkits/qt-bluecurve-theme/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/qt-bluecurve-theme/pkg-descr | 6 | ||||
-rw-r--r-- | x11-toolkits/qt-bluecurve-theme/pkg-plist | 2 |
7 files changed, 108 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 5d1e885..9cf86a4 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -125,6 +125,7 @@ SUBDIR += py-tkinter SUBDIR += py-wxPython SUBDIR += py-xlib + SUBDIR += qt-bluecurve-theme SUBDIR += qt145 SUBDIR += qt2-static SUBDIR += qt23 diff --git a/x11-toolkits/qt-bluecurve-theme/Makefile b/x11-toolkits/qt-bluecurve-theme/Makefile new file mode 100644 index 0000000..4f2ef1e --- /dev/null +++ b/x11-toolkits/qt-bluecurve-theme/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: bluecurve-unified +# Date created: 3 October 2002 +# Whom: Eugeney Ryzhyk +# +# $FreeBSD$ +# + +PORTNAME= qt-bluecurve-theme +PORTVERSION= 0.47 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX} +MASTER_SITE_SUBDIR= 8.0/en/os/i386/SRPMS +DISTFILES= redhat-artwork-${PORTVERSION}-${RH_SUBVERSION}.src.rpm + +MAINTAINER= rzheka@users.sourceforge.net + +BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \ + libtool:${PORTSDIR}/devel/libtool + +WRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION} +USE_GMAKE= yes +USE_X_PREFIX= yes +USE_REINPLACE= yes + +RH_SUBVERSION= 3 + +USE_QT_VER= 3 +THEMES_SUBDIRS = ${WRKSRC}/art/qt/Bluecurve + +do-extract: + @${RM} -rf ${WRKDIR} + @${MKDIR} ${WRKDIR} + @if ! (cd ${WRKDIR} && rpm2cpio ${_DISTDIR}/${DISTFILES} | cpio -i redhat-artwork-${PORTVERSION}.tar.gz 2>/dev/null && ${GZIP_CMD} -dc redhat-artwork-${PORTVERSION}.tar.gz | tar -xf - && ${RM} redhat-artwork-${PORTVERSION}.tar.gz);\ + then \ + exit 1; \ + fi + ${CP} ${FILESDIR}/Makefile-qt3 ${WRKSRC}/art/qt/Bluecurve/Makefile + +post-patch: + @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/qt/Bluecurve/Makefile + +do-build: + @for theme_dir in ${THEMES_SUBDIRS};do \ + (cd $$theme_dir; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}); \ + done +do-install: + @${MKDIR} ${PREFIX}/plugins/styles && ${CHMOD} a+rx ${PREFIX}/plugins/styles + @${INSTALL_PROGRAM} ${WRKSRC}/art/qt/Bluecurve/.libs/bluecurve.so ${PREFIX}/plugins/styles + +.include <bsd.port.mk> diff --git a/x11-toolkits/qt-bluecurve-theme/distinfo b/x11-toolkits/qt-bluecurve-theme/distinfo new file mode 100644 index 0000000..9620f11 --- /dev/null +++ b/x11-toolkits/qt-bluecurve-theme/distinfo @@ -0,0 +1 @@ +MD5 (redhat-artwork-0.47-3.src.rpm) = dba00c3881499d5e7060aa6a3f33affe diff --git a/x11-toolkits/qt-bluecurve-theme/files/Makefile-qt3 b/x11-toolkits/qt-bluecurve-theme/files/Makefile-qt3 new file mode 100644 index 0000000..5b77b02 --- /dev/null +++ b/x11-toolkits/qt-bluecurve-theme/files/Makefile-qt3 @@ -0,0 +1,47 @@ +CC = cc +CPP = cc -E +CXX = c++ +CXXCPP = c++ -E +ECHO = echo +EXEEXT = +LIBJPEG = -ljpeg +LIBPNG = -lpng -lz -lm +LIBTOOL = libtool +LIB_QT = -lqt-mt $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) +LN_S = ln -s +INCLUDES = -I/usr/X11R6/include +styledir = /usr/X11R6/plugins/styles +style_LTLIBRARIES = bluecurve.la +bluecurve_la_LDFLAGS = -module -avoid-version -no-undefined +bluecurve_la_LIBADD = -L/usr/X11R6/lib -lqt-mt +bluecurve_la_SOURCES = plugin.cpp bluecurve.cpp bluecurve.moc +LTLIBRARIES = $(style_LTLIBRARIES) +DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../../.. +CPPFLAGS = -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE +LDFLAGS = +LIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib +bluecurve_la_DEPENDENCIES = +bluecurve_la_OBJECTS = plugin.lo bluecurve.lo +CFLAGS = -O2 +CXXFLAGS = -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .cpp .lo .o .obj .s +bluecurve.la: $(bluecurve_la_OBJECTS) $(bluecurve_la_DEPENDENCIES) + $(CXXLINK) -rpath $(styledir) $(bluecurve_la_LDFLAGS) $(bluecurve_la_OBJECTS) $(bluecurve_la_LIBADD) $(LIBS) +.cpp.o: + $(CXXCOMPILE) -c $< +.cpp.lo: + $(LTCXXCOMPILE) -c $< +bluecurve.lo bluecurve.o : bluecurve.cpp bluecurve.moc bluecurve.h +plugin.lo plugin.o : plugin.cpp bluecurve.h +all-am: $(LTLIBRARIES) +all-redirect: all-am +bluecurve.moc: bluecurve.h + moc -o bluecurve.moc bluecurve.h +$(bluecurve_la_OBJECTS): bluecurve.moc +.NOEXPORT: diff --git a/x11-toolkits/qt-bluecurve-theme/pkg-comment b/x11-toolkits/qt-bluecurve-theme/pkg-comment new file mode 100644 index 0000000..177f51b --- /dev/null +++ b/x11-toolkits/qt-bluecurve-theme/pkg-comment @@ -0,0 +1 @@ +Bluecurve unified-look theme for QT3 from RedHat 8.0 diff --git a/x11-toolkits/qt-bluecurve-theme/pkg-descr b/x11-toolkits/qt-bluecurve-theme/pkg-descr new file mode 100644 index 0000000..1c601bb --- /dev/null +++ b/x11-toolkits/qt-bluecurve-theme/pkg-descr @@ -0,0 +1,6 @@ +This is a port of RedHat 8.0 "Bluecurve" theme for QT/KDE. +It won't install RedHat logos and pixmaps, but only the required +theme engines. + +- Ryzhyk Eugeney +rzheka@users.sourceforge.net diff --git a/x11-toolkits/qt-bluecurve-theme/pkg-plist b/x11-toolkits/qt-bluecurve-theme/pkg-plist new file mode 100644 index 0000000..01e79ac --- /dev/null +++ b/x11-toolkits/qt-bluecurve-theme/pkg-plist @@ -0,0 +1,2 @@ +plugins/styles/bluecurve.so +@dirrm plugins/styles |