A port of RedHat 8.0 "Bluecurve" theme for GTK/GNOME and QT/KDE. (with this theme apps that use those toolkits are supposed to have the same look. Well, almost :) This port builds and installs gtk1/2 and qt3 theme engines (*.so libraries). It won't install redhat logos, pixmaps, KDE splash screen, etc. that come with the original rpm.
Responsible Changed From-To: freebsd-ports->marcus I'll take this.
State Changed From-To: open->feedback Ignore this.
Have you thought of adding some conditionals to this to disable either GTK or QT? Perhaps install both by default, but add knobs to disable either? Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: marcus@FreeBSD.org http://www.FreeBSD.org/gnome
> Have you thought of adding some conditionals to this to disable either > GTK or QT? Perhaps install both by default, but add knobs to disable > either? Actually, yes. The problem is that their "configure" script requires all the packages to be installed. In order to enable such conditional building it's easier for me to put 3 separate makefiles into the appropriate source dirs rather than mess with aclocal/autoconf. If You think that this approach is ok, and the port is worth inclucion to the ports tree, I'll work on this and submit a new version as follow-up.
New version of bluecurve-unified-theme port =========================================== # 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: # # bluecurve-unified-theme # bluecurve-unified-theme/Makefile # bluecurve-unified-theme/distinfo # bluecurve-unified-theme/pkg-comment # bluecurve-unified-theme/files # bluecurve-unified-theme/files/Makefile-qt3 # bluecurve-unified-theme/files/Makefile-gtk2 # bluecurve-unified-theme/files/Makefile-gtk1 # bluecurve-unified-theme/pkg-plist # bluecurve-unified-theme/pkg-descr # echo c - bluecurve-unified-theme mkdir -p bluecurve-unified-theme > /dev/null 2>&1 echo x - bluecurve-unified-theme/Makefile sed 's/^X//' >bluecurve-unified-theme/Makefile << 'END-of-bluecurve-unified-theme/Makefile' X# New ports collection makefile for: bluecurve-unified X# Date created: 3 October 2002 X# Whom: Eugeney Ryzhyk X# X# $FreeBSD: X# X XPORTNAME= bluecurve-unified-theme XPORTVERSION= 0.47 XRH_SUBVERSION= 3 XCATEGORIES= x11-toolkits XMASTER_SITES= ${MASTER_SITE_REDHAT_LINUX} XMASTER_SITE_SUBDIR= 8.0/en/os/i386/SRPMS XDISTFILES= redhat-artwork-${PORTVERSION}-${RH_SUBVERSION}.src.rpm XMAINTAINER= rzheka@users.sourceforge.net X XWRKSRC= ${WRKDIR}/redhat-artwork-${PORTVERSION} XUSE_GMAKE= yes XUSE_X_PREFIX= yes XUSE_GNOMENG= yes XUSE_GNOME= gtk12 gdkpixbuf XBUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \ X libtool:${PORTSDIR}/devel/libtool XTHEMES_SUBDIRS= ${WRKSRC}/art/gtk/Bluecurve1 X.if defined(WITH_GTK2) XLIB_DEPENDS+= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 XTHEMES_SUBDIRS+= ${WRKSRC}/art/gtk/Bluecurve X.endif X.if defined(WITH_QT) XUSE_QT_VER= 3 XTHEMES_SUBDIRS+= ${WRKSRC}/art/qt/Bluecurve X.endif XUSE_REINPLACE= yes Xpre-everything:: X @${ECHO} "" X @${ECHO} "By default only gtk-1.2 theme engine will be built." X @${ECHO} "You may use the following build options:" X @${ECHO} "" X @${ECHO} " WITH_QT=yes Build qt-3 theme" X @${ECHO} " WITH_GTK2=yes Build gtk-2 theme" X @${ECHO} "" Xdo-extract: X @${RM} -rf ${WRKDIR} X @${MKDIR} ${WRKDIR} X @if ! (cd ${WRKDIR} && rpm2cpio ${_DISTDIR}/${DISTFILES} | cpio -i redhat-artwork-${PORTVERSION}.tar.gz 2>/dev/null && gzip -dc redhat-artwork-${PORTVERSION}.tar.gz | tar -xf - && rm redhat-artwork-${PORTVERSION}.tar.gz);\ X then \ X exit 1; \ X fi X ${CP} ${FILESDIR}/Makefile-gtk1 ${WRKSRC}/art/gtk/Bluecurve1/Makefile X ${CP} ${FILESDIR}/Makefile-gtk2 ${WRKSRC}/art/gtk/Bluecurve/Makefile X ${CP} ${FILESDIR}/Makefile-qt3 ${WRKSRC}/art/qt/Bluecurve/Makefile Xpost-patch: X @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/gtk/Bluecurve1/Makefile X @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/qt/Bluecurve/Makefile X @${REINPLACE_CMD} -e 's#-O2#${CFLAGS}#' ${WRKSRC}/art/gtk/Bluecurve/Makefile Xdo-build: X @for theme_dir in ${THEMES_SUBDIRS};do \ X (cd $$theme_dir; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}); \ X done Xdo-install: X @${MKDIR} ${PREFIX}/share/themes/Bluecurve && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve X.if defined(WITH_GTK2) X @${MKDIR} ${PREFIX}/lib/gtk-2.0/2.0.0/engines && ${CHMOD} a+rx ${PREFIX}/lib/gtk-2.0/2.0.0/engines X @${MKDIR} ${PREFIX}/share/themes/Bluecurve/gtk-2.0 && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve/gtk-2.0 X @${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve/.libs/libbluecurve.so ${PREFIX}/lib/gtk-2.0/2.0.0/engines X @${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve/gtk-2.0/gtkrc ${PREFIX}/share/themes/Bluecurve/gtk-2.0 X.endif X.if defined(WITH_QT) X @${MKDIR} ${PREFIX}/plugins/styles && ${CHMOD} a+rx ${PREFIX}/plugins/styles X @${INSTALL_PROGRAM} ${WRKSRC}/art/qt/Bluecurve/.libs/bluecurve.so ${PREFIX}/plugins/styles X.endif X @${MKDIR} ${PREFIX}/lib/gtk/themes/engines && ${CHMOD} a+rx ${PREFIX}/lib/gtk/themes/engines X @${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve1/.libs/libbluecurve.so ${PREFIX}/lib/gtk/themes/engines X @${MKDIR} ${PREFIX}/share/themes/Bluecurve/gtk && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve/gtk X @${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve1/gtk/gtkrc ${PREFIX}/share/themes/Bluecurve/gtk X X.include <bsd.port.mk> END-of-bluecurve-unified-theme/Makefile echo x - bluecurve-unified-theme/distinfo sed 's/^X//' >bluecurve-unified-theme/distinfo << 'END-of-bluecurve-unified-theme/distinfo' XMD5 (redhat-artwork-0.47-3.src.rpm) = dba00c3881499d5e7060aa6a3f33affe END-of-bluecurve-unified-theme/distinfo echo x - bluecurve-unified-theme/pkg-comment sed 's/^X//' >bluecurve-unified-theme/pkg-comment << 'END-of-bluecurve-unified-theme/pkg-comment' XBluecurve unified-look theme for GTK1, GTK2, QT3, GNOME, KDE from RedHat 8.0 END-of-bluecurve-unified-theme/pkg-comment echo c - bluecurve-unified-theme/files mkdir -p bluecurve-unified-theme/files > /dev/null 2>&1 echo x - bluecurve-unified-theme/files/Makefile-qt3 sed 's/^X//' >bluecurve-unified-theme/files/Makefile-qt3 << 'END-of-bluecurve-unified-theme/files/Makefile-qt3' XCC = cc XCPP = cc -E XCXX = c++ XCXXCPP = c++ -E XECHO = echo XEXEEXT = XLIBJPEG = -ljpeg XLIBPNG = -lpng -lz -lm XLIBTOOL = libtool XLIB_QT = -lqt-mt $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) XLN_S = ln -s XINCLUDES = -I/usr/X11R6/include Xstyledir = /usr/X11R6/plugins/styles Xstyle_LTLIBRARIES = bluecurve.la Xbluecurve_la_LDFLAGS = -module -avoid-version -no-undefined Xbluecurve_la_LIBADD = -L/usr/X11R6/lib -lqt-mt Xbluecurve_la_SOURCES = plugin.cpp bluecurve.cpp bluecurve.moc XLTLIBRARIES = $(style_LTLIBRARIES) XDEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../../.. XCPPFLAGS = -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE XLDFLAGS = XLIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib Xbluecurve_la_DEPENDENCIES = Xbluecurve_la_OBJECTS = plugin.lo bluecurve.lo XCFLAGS = -O2 XCXXFLAGS = -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -fno-exceptions -fno-check-new XCXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) XLTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(CFLAGS) XCXXLD = $(CXX) XCXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ Xall: all-redirect X.SUFFIXES: X.SUFFIXES: .S .c .cpp .lo .o .obj .s Xbluecurve.la: $(bluecurve_la_OBJECTS) $(bluecurve_la_DEPENDENCIES) X $(CXXLINK) -rpath $(styledir) $(bluecurve_la_LDFLAGS) $(bluecurve_la_OBJECTS) $(bluecurve_la_LIBADD) $(LIBS) X.cpp.o: X $(CXXCOMPILE) -c $< X.cpp.lo: X $(LTCXXCOMPILE) -c $< Xbluecurve.lo bluecurve.o : bluecurve.cpp bluecurve.moc bluecurve.h Xplugin.lo plugin.o : plugin.cpp bluecurve.h Xall-am: $(LTLIBRARIES) Xall-redirect: all-am Xbluecurve.moc: bluecurve.h X moc -o bluecurve.moc bluecurve.h X$(bluecurve_la_OBJECTS): bluecurve.moc X.NOEXPORT: END-of-bluecurve-unified-theme/files/Makefile-qt3 echo x - bluecurve-unified-theme/files/Makefile-gtk2 sed 's/^X//' >bluecurve-unified-theme/files/Makefile-gtk2 << 'END-of-bluecurve-unified-theme/files/Makefile-gtk2' Xlibdir = ${exec_prefix}/lib XCC = cc XCPP = cc -E XCXX = c++ XCXXCPP = c++ -E XGTK2_CFLAGS = `$(PKG_CONFIG) gtk+-2.0 --cflags` XGTK2_LIBS = `$(PKG_CONFIG) gtk+-2.0 --libs` XLN_S = ln -s XPKG_CONFIG = /usr/local/bin/pkg-config XINCLUDES = $(GTK2_CFLAGS) Xenginedir = /usr/X11R6/lib/gtk-2.0/2.0.0/engines Xengine_LTLIBRARIES = libbluecurve.la Xlibbluecurve_la_LDFLAGS = -module -avoid-version Xlibbluecurve_la_LIBADD = $(GTK2_LIBS) XEXTRA_DIST = bits.c XLTLIBRARIES = $(engine_LTLIBRARIES) XCPPFLAGS = -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE XLDFLAGS = XLIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib Xlibbluecurve_la_DEPENDENCIES = Xlibbluecurve_la_OBJECTS = bluecurve_rc_style.lo bluecurve_style.lo \ Xbluecurve_theme_main.lo XCFLAGS = -O2 XLIBTOOL = libtool XCOMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) XLTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) XCCLD = $(CC) XLINK = $(LIBTOOL) --mode=link $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ Xall: all-am X.SUFFIXES: X.SUFFIXES: .S .c .lo .o .obj .s X.c.o: X $(COMPILE) -c $< X.c.lo: X $(LIBTOOL) --mode=compile $(COMPILE) -c $< X.s.lo: X $(LIBTOOL) --mode=compile $(COMPILE) -c $< X.S.lo: X $(LIBTOOL) --mode=compile $(COMPILE) -c $< Xlibbluecurve.la: $(libbluecurve_la_OBJECTS) $(libbluecurve_la_DEPENDENCIES) X $(LINK) -rpath $(enginedir) $(libbluecurve_la_LDFLAGS) $(libbluecurve_la_OBJECTS) $(libbluecurve_la_LIBADD) $(LIBS) Xall-am: $(LTLIBRARIES) X.NOEXPORT: END-of-bluecurve-unified-theme/files/Makefile-gtk2 echo x - bluecurve-unified-theme/files/Makefile-gtk1 sed 's/^X//' >bluecurve-unified-theme/files/Makefile-gtk1 << 'END-of-bluecurve-unified-theme/files/Makefile-gtk1' XCC = cc XCPP = cc -E XCXX = c++ XCXXCPP = c++ -E XGDK_PIXBUF_CFLAGS = `$(GDK_PIXBUF_CONFIG) --cflags` XGDK_PIXBUF_CONFIG = /usr/X11R6/bin/gdk-pixbuf-config XGDK_PIXBUF_LIBS = `$(GDK_PIXBUF_CONFIG) --libs` XGTK_CFLAGS = `$(GTK_CONFIG) --cflags` XGTK_CONFIG = /usr/X11R6/bin/gtk12-config XGTK_LIBS = `$(GTK_CONFIG) --libs` XLIBTOOL = libtool XLN_S = ln -s XINCLUDES = $(GTK_CFLAGS) $(GDK_PIXBUF_CFLAGS) Xlibdir=/usr/X11R6/lib Xenginedir = $(libdir)/gtk/themes/engines Xengine_LTLIBRARIES = libbluecurve.la Xlibbluecurve_la_LDFLAGS = -module -avoid-version Xlibbluecurve_la_LIBADD = $(GTK_LIBS) $(GDK_PIXBUF_LIBS) XEXTRA_DIST = raleigh_dot.c XLTLIBRARIES = $(engine_LTLIBRARIES) XCPPFLAGS = -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE XLDFLAGS = XLIBS = -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib Xlibbluecurve_la_DEPENDENCIES = Xlibbluecurve_la_OBJECTS = bluecurve1_theme_main.lo \ Xbluecurve1_theme_draw.lo XCFLAGS = -O2 XCOMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) XLTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) XCCLD = $(CC) XLINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ Xall: all-am X.SUFFIXES: X.SUFFIXES: .S .c .lo .o .obj .s X.c.o: X $(COMPILE) -c $< X.c.lo: X $(LIBTOOL) --mode=compile $(COMPILE) -c $< X.s.lo: X $(LIBTOOL) --mode=compile $(COMPILE) -c $< X.S.lo: X $(LIBTOOL) --mode=compile $(COMPILE) -c $< Xlibbluecurve.la: $(libbluecurve_la_OBJECTS) $(libbluecurve_la_DEPENDENCIES) X $(LINK) -rpath $(enginedir) $(libbluecurve_la_LDFLAGS) $(libbluecurve_la_OBJECTS) $(libbluecurve_la_LIBADD) $(LIBS) Xall-am: $(LTLIBRARIES) X.NOEXPORT: END-of-bluecurve-unified-theme/files/Makefile-gtk1 echo x - bluecurve-unified-theme/pkg-plist sed 's/^X//' >bluecurve-unified-theme/pkg-plist << 'END-of-bluecurve-unified-theme/pkg-plist' Xlib/gtk/themes/engines/libbluecurve.so Xlib/gtk-2.0/2.0.0/engines/libbluecurve.so Xplugins/styles/bluecurve.so Xshare/themes/Bluecurve/gtk/gtkrc Xshare/themes/Bluecurve/gtk-2.0/gtkrc X@dirrm share/themes/Bluecurve/gtk X@dirrm share/themes/Bluecurve/gtk-2.0 X@dirrm share/themes/Bluecurve X@dirrm plugins/styles END-of-bluecurve-unified-theme/pkg-plist echo x - bluecurve-unified-theme/pkg-descr sed 's/^X//' >bluecurve-unified-theme/pkg-descr << 'END-of-bluecurve-unified-theme/pkg-descr' XThis is a port of RedHat 8.0 "Bluecurve" theme for GTK/GNOME and QT/KDE. XIt won't install RedHat logos and pixmaps, but only the required Xtheme engines. X X- Ryzhyk Eugeney Xrzheka@users.sourceforge.net END-of-bluecurve-unified-theme/pkg-descr exit
State Changed From-To: feedback->closed Committed, thanks!