Date: Fri, 4 Oct 2002 00:34:58 +0300 From: Eugeney Ryzhyk <rzheka@users.sourceforge.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: rzheka@users.sourceforge.net Subject: ports/43640: New port: Bluecurve unified theme for GTK1, GTK2 and QT3 from RedHat 8.0 Message-ID: <200210032133.AFD62970@m1.bezeqint.net>
next in thread | raw e-mail | index | archive | help
>Number: 43640 >Category: ports >Synopsis: New port: Bluecurve unified theme for GTK1, GTK2 and QT3 from RedHat 8.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Oct 03 14:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Eugeney Ryzhyk >Release: FreeBSD 4.7-RC i386 >Organization: >Environment: System: FreeBSD 4.7-RC >Description: 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. >How-To-Repeat: >Fix: --- bluecurve-unified-theme.shar begins here --- # 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/patch-configure # bluecurve-unified-theme/files/patch-Makefile.in # 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} XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_X_PREFIX= yes XBUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio XLIB_DEPENDS= gtk-x11-2.0.0:${PORTSDIR}/x11-toolkits/gtk20 \ X gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ X gdk_pixbuf_xlib.2:${PORTSDIR}/graphics/gdk-pixbuf XUSE_QT_VER= 3 X XTHEMES_SUBDIRS= ${WRKSRC}/art/gtk/Bluecurve1 \ X${WRKSRC}/art/gtk/Bluecurve \ X${WRKSRC}/art/qt/Bluecurve X 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 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 X Xdo-install: X @${MKDIR} ${PREFIX}/plugins/styles && ${CHMOD} a+rx ${PREFIX}/plugins/styles X @${MKDIR} ${PREFIX}/lib/gtk/themes/engines && ${CHMOD} a+rx ${PREFIX}/lib/gtk/themes/engines X @${MKDIR} ${PREFIX}/lib/gtk-2.0/2.0.0/engines && ${CHMOD} a+rx ${PREFIX}/lib/gtk-2.0/2.0.0/engines X @${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve1/.libs/libbluecurve.so ${PREFIX}/lib/gtk/themes/engines X @${INSTALL_PROGRAM} ${WRKSRC}/art/gtk/Bluecurve/.libs/libbluecurve.so ${PREFIX}/lib/gtk-2.0/2.0.0/engines X @${INSTALL_PROGRAM} ${WRKSRC}/art/qt/Bluecurve/.libs/bluecurve.so ${PREFIX}/plugins/styles X @${MKDIR} ${PREFIX}/share/themes/Bluecurve && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve X @${MKDIR} ${PREFIX}/share/themes/Bluecurve/gtk && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve/gtk X @${MKDIR} ${PREFIX}/share/themes/Bluecurve/gtk-2.0 && ${CHMOD} a+rx ${PREFIX}/share/themes/Bluecurve/gtk-2.0 X @${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve1/gtk/gtkrc ${PREFIX}/share/themes/Bluecurve/gtk X @${INSTALL_DATA} ${WRKSRC}/art/gtk/Bluecurve/gtk-2.0/gtkrc ${PREFIX}/share/themes/Bluecurve/gtk-2.0 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/patch-configure sed 's/^X//' >bluecurve-unified-theme/files/patch-configure << 'END-of-bluecurve-unified-theme/files/patch-configure' X--- configure.orig Fri Sep 6 02:07:35 2002 X+++ configure Thu Oct 3 20:29:26 2002 X@@ -9,6 +9,8 @@ X X # Find the correct PATH separator. Usually this is `:', but X # DJGPP uses `;' like DOS. X+with_extra_includes=/usr/local/include X+with_extra_libs=/usr/local/lib X if test "X${PATH_SEPARATOR+set}" != Xset; then X UNAME=${UNAME-`uname 2>/dev/null`} X case X$UNAME in X@@ -2360,7 +2362,7 @@ X GCC=`test $ac_compiler_gnu = yes && echo yes` X ac_test_CFLAGS=${CFLAGS+set} X ac_save_CFLAGS=$CFLAGS X-CFLAGS="-g" X+CFLAGS="" X echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 X echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 X if test "${ac_cv_prog_cc_g+set}" = set; then X@@ -2410,13 +2412,13 @@ X CFLAGS=$ac_save_CFLAGS X elif test $ac_cv_prog_cc_g = yes; then X if test "$GCC" = yes; then X- CFLAGS="-g -O2" X+ CFLAGS="" X else X- CFLAGS="-g" X+ CFLAGS="" X fi X else X if test "$GCC" = yes; then X- CFLAGS="-O2" X+ CFLAGS="" X else X CFLAGS= X fi X@@ -2710,7 +2712,7 @@ X GXX=`test $ac_compiler_gnu = yes && echo yes` X ac_test_CXXFLAGS=${CXXFLAGS+set} X ac_save_CXXFLAGS=$CXXFLAGS X-CXXFLAGS="-g" X+CXXFLAGS="" X echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 X echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 X if test "${ac_cv_prog_cxx_g+set}" = set; then X@@ -2760,13 +2762,13 @@ X CXXFLAGS=$ac_save_CXXFLAGS X elif test $ac_cv_prog_cxx_g = yes; then X if test "$GXX" = yes; then X- CXXFLAGS="-g -O2" X+ CXXFLAGS="" X else X- CXXFLAGS="-g" X+ CXXFLAGS="" X fi X else X if test "$GXX" = yes; then X- CXXFLAGS="-O2" X+ CXXFLAGS="" X else X CXXFLAGS= X fi X@@ -7556,18 +7558,18 @@ X if test x$gtk_config_exec_prefix != x ; then X gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix" X if test x${GTK_CONFIG+set} != xset ; then X- GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config X+ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk12-config X fi X fi X if test x$gtk_config_prefix != x ; then X gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix" X if test x${GTK_CONFIG+set} != xset ; then X- GTK_CONFIG=$gtk_config_prefix/bin/gtk-config X+ GTK_CONFIG=$gtk_config_prefix/bin/gtk12-config X fi X fi X X # Extract the first word of "gtk-config", so it can be a program name with args. X-set dummy gtk-config; ac_word=$2 X+set dummy gtk12-config; ac_word=$2 X echo "$as_me:$LINENO: checking for $ac_word" >&5 X echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 X if test "${ac_cv_path_GTK_CONFIG+set}" = set; then X@@ -7829,7 +7831,7 @@ X echo $ECHO_N "(cached) $ECHO_C" >&6 X else X ac_check_lib_save_LIBS=$LIBS X-LIBS="-lgtk $GTK_LIBS $LIBS" X+LIBS="-lgtk12 $GTK_LIBS $LIBS" X cat >conftest.$ac_ext <<_ACEOF X #line $LINENO "configure" X #include "confdefs.h" X@@ -9028,13 +9030,13 @@ X CFLAGS=$ac_save_CFLAGS X elif test $ac_cv_prog_cc_g = yes; then X if test "$GCC" = yes; then X- CFLAGS="-g -O2" X+ CFLAGS="" X else X- CFLAGS="-g" X+ CFLAGS="" X fi X else X if test "$GCC" = yes; then X- CFLAGS="-O2" X+ CFLAGS="" X else X CFLAGS= X fi X@@ -9367,12 +9369,12 @@ X if test "$GCC" = "yes"; then X if test "$kde_use_debug_code" != "no"; then X if test $kde_use_debug_code = "full"; then X- CFLAGS="-g3 $CFLAGS" X+ CFLAGS="$CFLAGS" X else X- CFLAGS="-g -O2 $CFLAGS" X+ CFLAGS="$CFLAGS" X fi X else X- CFLAGS="-O2 $CFLAGS" X+ CFLAGS="$CFLAGS" X fi X fi X X@@ -9558,7 +9560,7 @@ X GXX=`test $ac_compiler_gnu = yes && echo yes` X ac_test_CXXFLAGS=${CXXFLAGS+set} X ac_save_CXXFLAGS=$CXXFLAGS X-CXXFLAGS="-g" X+CXXFLAGS="" X echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 X echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 X if test "${ac_cv_prog_cxx_g+set}" = set; then X@@ -9608,13 +9610,13 @@ X CXXFLAGS=$ac_save_CXXFLAGS X elif test $ac_cv_prog_cxx_g = yes; then X if test "$GXX" = yes; then X- CXXFLAGS="-g -O2" X+ CXXFLAGS="" X else X- CXXFLAGS="-g" X+ CXXFLAGS="" X fi X else X if test "$GXX" = yes; then X- CXXFLAGS="-O2" X+ CXXFLAGS="" X else X CXXFLAGS= X fi X@@ -9723,9 +9725,9 @@ X CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS" X else X if test "$kde_use_debug_code" = "full"; then X- CXXFLAGS="-g3 $CXXFLAGS" X+ CXXFLAGS="$CXXFLAGS" X else X- CXXFLAGS="-g -O2 $CXXFLAGS" X+ CXXFLAGS="$CXXFLAGS" X fi X fi X X@@ -9892,7 +9894,7 @@ X if test "$CXX" = "KCC"; then X CXXFLAGS="+K3 $CXXFLAGS" X else X- CXXFLAGS="-O2 $CXXFLAGS" X+ CXXFLAGS="$CXXFLAGS" X fi X fi X fi END-of-bluecurve-unified-theme/files/patch-configure echo x - bluecurve-unified-theme/files/patch-Makefile.in sed 's/^X//' >bluecurve-unified-theme/files/patch-Makefile.in << 'END-of-bluecurve-unified-theme/files/patch-Makefile.in' X--- art/qt/Bluecurve/Makefile.in.orig Fri Sep 6 02:16:17 2002 X+++ art/qt/Bluecurve/Makefile.in Thu Oct 3 11:01:10 2002 X@@ -236,12 +236,12 @@ X x_includes = @x_includes@ X x_libraries = @x_libraries@ X X-INCLUDES = -I/usr/lib/qt3/include X+INCLUDES = -I@qt_includes@ X noinst_HEADERS = bluecurve.h X styledir = $(libdir)/qt3/plugins/styles X style_LTLIBRARIES = bluecurve.la X bluecurve_la_LDFLAGS = -module -avoid-version -no-undefined X-bluecurve_la_LIBADD = -L/usr/lib/qt3/lib -lqt-mt X+bluecurve_la_LIBADD = -L@qt_libraries@ -lqt-mt -pthread X bluecurve_la_SOURCES = plugin.cpp bluecurve.cpp bluecurve.moc X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs X CONFIG_HEADER = ../../../config.h END-of-bluecurve-unified-theme/files/patch-Makefile.in 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 --- bluecurve-unified-theme.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210032133.AFD62970>