mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
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>
This commit is contained in:
parent
b351230a03
commit
b0ccb5691e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68220
50
x11-themes/qt-bluecurve-theme/Makefile
Normal file
50
x11-themes/qt-bluecurve-theme/Makefile
Normal file
@ -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>
|
1
x11-themes/qt-bluecurve-theme/distinfo
Normal file
1
x11-themes/qt-bluecurve-theme/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (redhat-artwork-0.47-3.src.rpm) = dba00c3881499d5e7060aa6a3f33affe
|
47
x11-themes/qt-bluecurve-theme/files/Makefile-qt3
Normal file
47
x11-themes/qt-bluecurve-theme/files/Makefile-qt3
Normal file
@ -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:
|
1
x11-themes/qt-bluecurve-theme/pkg-comment
Normal file
1
x11-themes/qt-bluecurve-theme/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Bluecurve unified-look theme for QT3 from RedHat 8.0
|
6
x11-themes/qt-bluecurve-theme/pkg-descr
Normal file
6
x11-themes/qt-bluecurve-theme/pkg-descr
Normal file
@ -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
|
2
x11-themes/qt-bluecurve-theme/pkg-plist
Normal file
2
x11-themes/qt-bluecurve-theme/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
plugins/styles/bluecurve.so
|
||||
@dirrm plugins/styles
|
@ -125,6 +125,7 @@
|
||||
SUBDIR += py-tkinter
|
||||
SUBDIR += py-wxPython
|
||||
SUBDIR += py-xlib
|
||||
SUBDIR += qt-bluecurve-theme
|
||||
SUBDIR += qt145
|
||||
SUBDIR += qt2-static
|
||||
SUBDIR += qt23
|
||||
|
50
x11-toolkits/qt-bluecurve-theme/Makefile
Normal file
50
x11-toolkits/qt-bluecurve-theme/Makefile
Normal file
@ -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>
|
1
x11-toolkits/qt-bluecurve-theme/distinfo
Normal file
1
x11-toolkits/qt-bluecurve-theme/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (redhat-artwork-0.47-3.src.rpm) = dba00c3881499d5e7060aa6a3f33affe
|
47
x11-toolkits/qt-bluecurve-theme/files/Makefile-qt3
Normal file
47
x11-toolkits/qt-bluecurve-theme/files/Makefile-qt3
Normal file
@ -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:
|
1
x11-toolkits/qt-bluecurve-theme/pkg-comment
Normal file
1
x11-toolkits/qt-bluecurve-theme/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Bluecurve unified-look theme for QT3 from RedHat 8.0
|
6
x11-toolkits/qt-bluecurve-theme/pkg-descr
Normal file
6
x11-toolkits/qt-bluecurve-theme/pkg-descr
Normal file
@ -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
|
2
x11-toolkits/qt-bluecurve-theme/pkg-plist
Normal file
2
x11-toolkits/qt-bluecurve-theme/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
plugins/styles/bluecurve.so
|
||||
@dirrm plugins/styles
|
Loading…
Reference in New Issue
Block a user