From a3fbc39ccf8852806213fff917bb63e62c9513b0 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 21 Aug 2001 16:25:09 +0000 Subject: [PATCH] Translucent skin for kde2.2 --- x11/kde/mosfet-liquid/Makefile | 44 +++++++++++++++++++ x11/kde/mosfet-liquid/files/md5 | 3 ++ .../patches/patch-admin_libtool_m4_in | 24 ++++++++++ .../patches/patch-admin_ltcf-c_sh | 20 +++++++++ .../patches/patch-admin_ltcf-cxx_sh | 21 +++++++++ .../patches/patch-admin_ltconfig | 26 +++++++++++ x11/kde/mosfet-liquid/pkg/DESCR | 21 +++++++++ x11/kde/mosfet-liquid/pkg/PFRAG.shared | 6 +++ x11/kde/mosfet-liquid/pkg/PLIST | 19 ++++++++ 9 files changed, 184 insertions(+) create mode 100644 x11/kde/mosfet-liquid/Makefile create mode 100644 x11/kde/mosfet-liquid/files/md5 create mode 100644 x11/kde/mosfet-liquid/patches/patch-admin_libtool_m4_in create mode 100644 x11/kde/mosfet-liquid/patches/patch-admin_ltcf-c_sh create mode 100644 x11/kde/mosfet-liquid/patches/patch-admin_ltcf-cxx_sh create mode 100644 x11/kde/mosfet-liquid/patches/patch-admin_ltconfig create mode 100644 x11/kde/mosfet-liquid/pkg/DESCR create mode 100644 x11/kde/mosfet-liquid/pkg/PFRAG.shared create mode 100644 x11/kde/mosfet-liquid/pkg/PLIST diff --git a/x11/kde/mosfet-liquid/Makefile b/x11/kde/mosfet-liquid/Makefile new file mode 100644 index 00000000000..d67ef72fadd --- /dev/null +++ b/x11/kde/mosfet-liquid/Makefile @@ -0,0 +1,44 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $ +V=0.5 +CATEGORIES= x11 x11/kde +NEED_VERSION= 1.402 +COMMENT= "KDE style engine" +HOMEPAGE= http://www.mosfet.org/liquid.html +MASTER_SITES= http://www.mosfet.org/ +DISTNAME= mosfet-liquid$V +PKGNAME= mosfet-liquid-$V +MAINTAINER= Marc Espie + +BUILD_DEPENDS= autoconf::devel/autoconf \ + automake::devel/automake + +LIB_DEPENDS= qt.2.::x11/qt2 \ + png.2.::graphics/png \ + jpeg.62.::graphics/jpeg \ + tiff.35.::graphics/tiff \ + kdecore.3.::x11/kde/libs2 + +USE_GMAKE=Yes + +# QPL +PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGES_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_PACKAGES_CDROM= "Not without the source" + + +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS= --with-qt-includes=${LOCALBASE}/include/X11/qt2 +CONFIGURE_ARGS+= --with-qt-libraries=${LOCALBASE}/lib/qt2 +CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib +CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include +CONFIGURE_ARGS+= --disable-threading +CONFIGURE_ARGS+= --enable-mitshm + +CONFIGURE_ENV= MOC=${LOCALBASE}/bin/moc2 +MAKE_ENV= ${CONFIGURE_ENV} + +pre-configure: + cd ${WRKDIST} && ${MAKE_PROGRAM} -f Makefile.cvs + +.include diff --git a/x11/kde/mosfet-liquid/files/md5 b/x11/kde/mosfet-liquid/files/md5 new file mode 100644 index 00000000000..fed97b5ea53 --- /dev/null +++ b/x11/kde/mosfet-liquid/files/md5 @@ -0,0 +1,3 @@ +MD5 (mosfet-liquid0.5.tar.gz) = 66a38d1d860a13d0c5369fbf7192c615 +RMD160 (mosfet-liquid0.5.tar.gz) = e074a37ea5faefa7f623db007f6788778b3fcb88 +SHA1 (mosfet-liquid0.5.tar.gz) = 2cb579a87d81214f2b191ea83716882c5a4408d6 diff --git a/x11/kde/mosfet-liquid/patches/patch-admin_libtool_m4_in b/x11/kde/mosfet-liquid/patches/patch-admin_libtool_m4_in new file mode 100644 index 00000000000..618163b4a60 --- /dev/null +++ b/x11/kde/mosfet-liquid/patches/patch-admin_libtool_m4_in @@ -0,0 +1,24 @@ +$OpenBSD: patch-admin_libtool_m4_in,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $ +--- admin/libtool.m4.in.orig Fri Jun 15 05:54:12 2001 ++++ admin/libtool.m4.in Tue Aug 21 17:38:04 2001 +@@ -617,19 +617,7 @@ netbsd*) + ;; + + openbsd* ) +- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then +- case "$host_cpu" in +- i*86 ) +- changequote(,)dnl +- lt_cv_deplibs_check_method='file_magic OpenBSD/i[3-9]86 demand paged shared library' +- changequote([, ])dnl +- lt_cv_file_magic_cmd=/usr/bin/file +- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` +- ;; +- esac +- else +- lt_cv_deplibs_check_method=pass_all +- fi ++ lt_cv_deplibs_check_method=pass_all + ;; + + newsos6) diff --git a/x11/kde/mosfet-liquid/patches/patch-admin_ltcf-c_sh b/x11/kde/mosfet-liquid/patches/patch-admin_ltcf-c_sh new file mode 100644 index 00000000000..97c88f1a190 --- /dev/null +++ b/x11/kde/mosfet-liquid/patches/patch-admin_ltcf-c_sh @@ -0,0 +1,20 @@ +$OpenBSD: patch-admin_ltcf-c_sh,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $ +--- admin/ltcf-c.sh.orig Fri Jun 15 05:54:12 2001 ++++ admin/ltcf-c.sh Tue Aug 21 17:38:21 2001 +@@ -457,10 +457,14 @@ else + ;; + + openbsd*) +- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' +- hardcode_libdir_flag_spec='-R$libdir' ++ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' ++ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' ++ old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib' ++ hardcode_libdir_flag_spec='${wl}-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no ++ remove_lgcc=yes ++ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"' + ;; + + os2*) diff --git a/x11/kde/mosfet-liquid/patches/patch-admin_ltcf-cxx_sh b/x11/kde/mosfet-liquid/patches/patch-admin_ltcf-cxx_sh new file mode 100644 index 00000000000..5f6b6be7dcc --- /dev/null +++ b/x11/kde/mosfet-liquid/patches/patch-admin_ltcf-cxx_sh @@ -0,0 +1,21 @@ +$OpenBSD: patch-admin_ltcf-cxx_sh,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $ +--- admin/ltcf-cxx.sh.orig Fri Jun 15 05:54:12 2001 ++++ admin/ltcf-cxx.sh Tue Aug 21 17:38:24 2001 +@@ -409,14 +409,14 @@ case $host_os in + openbsd*) + if test "$with_gcc" = yes && test "$with_gnu_ld" = no; then + # MM: OpenBSD 2.7 uses G++, but not GNU ld +- archive_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' +- archive_expsym_cmds='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' ++ archive_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' ++ archive_expsym_cmds='$CC $pic_flag -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + old_archive_cmds="$old_archive_cmds~"'$RANLIB $oldlib' + hardcode_libdir_flag_spec='${wl}-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no +- whole_archive_flag_spec='${wl}-Bforcearchive' + remove_lgcc=yes ++ output_verbose_link_cmds='$CC $ac_cv_prog_cc_pic -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"' + fi + ;; + osf3*) diff --git a/x11/kde/mosfet-liquid/patches/patch-admin_ltconfig b/x11/kde/mosfet-liquid/patches/patch-admin_ltconfig new file mode 100644 index 00000000000..f9aec66a40a --- /dev/null +++ b/x11/kde/mosfet-liquid/patches/patch-admin_ltconfig @@ -0,0 +1,26 @@ +$OpenBSD: patch-admin_ltconfig,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $ +--- admin/ltconfig.orig Fri Jun 15 05:54:12 2001 ++++ admin/ltconfig Tue Aug 21 17:38:32 2001 +@@ -625,7 +625,12 @@ old_postuninstall_cmds= + + if test -n "$RANLIB"; then + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +- old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" ++ case $host_os in ++ openbsd*) ++ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds";; ++ *) ++ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds";; ++ esac + fi + + # Source the script associated with the $tagname tag configuration. +@@ -1254,6 +1259,8 @@ openbsd*) + shlibpath_var=LD_LIBRARY_PATH + # OpenBSD 2.7 the overriding is needed for fast-install + shlibpath_overrides_runpath=yes ++ deplib_check_method=pass_all ++ sys_lib_dlsearch_path_spec='/usr/lib /usr/local/lib /usr/X11R6/lib /usr/local/lib/qt2' + ;; + + os2*) diff --git a/x11/kde/mosfet-liquid/pkg/DESCR b/x11/kde/mosfet-liquid/pkg/DESCR new file mode 100644 index 00000000000..3391b9044ab --- /dev/null +++ b/x11/kde/mosfet-liquid/pkg/DESCR @@ -0,0 +1,21 @@ +Future Technologies High Performance Liquid KDE style engine + +Features: + +* Translucent Menus. + +* Colors are fully configurable. This is really cool with this style. It +* also handles custom colors like KCalc's correctly. Check out the +screenshots below. + +* High performance. No scaling is required, and caching (thus memory usage) +* is kept to a minimum. I wanted to create a style engine that +both looked cool and is usable on an everyday basis by people doing stuff +like compiling all day. + +* Mouse Hover is supported for Pushbuttons, ComboBoxes, RadioButtons, +* CheckBoxes, and ScrollBars. This doesn't use the crappy +"draw a box around the widget" mouse hover, either, but makes the widget +appear to light up. + +* Automagically themes the KDE panel, according to the color scheme. diff --git a/x11/kde/mosfet-liquid/pkg/PFRAG.shared b/x11/kde/mosfet-liquid/pkg/PFRAG.shared new file mode 100644 index 00000000000..bf770f70c01 --- /dev/null +++ b/x11/kde/mosfet-liquid/pkg/PFRAG.shared @@ -0,0 +1,6 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $ +lib/kde2/libkwinliquid.so.0.0 +lib/libkcm_transmenu.so.0.0 +lib/libliquid.so.0.0 +DYNLIBDIR(%D/lib) +NEWDYNLIBDIR(%D/lib/kde2) diff --git a/x11/kde/mosfet-liquid/pkg/PLIST b/x11/kde/mosfet-liquid/pkg/PLIST new file mode 100644 index 00000000000..59441eed111 --- /dev/null +++ b/x11/kde/mosfet-liquid/pkg/PLIST @@ -0,0 +1,19 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/08/21 16:25:09 espie Exp $ +lib/kde2/libkwinliquid.la +lib/libkcm_transmenu.la +lib/liquid.la +share/applnk/Settings/LookNFeel/transmenu.desktop +share/apps/kdisplay/color-schemes/Liquid.kcsrc +share/apps/kstyle/themes/liquid.themerc +share/apps/kwin/liquid.desktop +%%SHARED%% +@dirrm share/apps/kwin +@dirrm share/apps/kstyle/themes +@dirrm share/apps/kstyle +@dirrm share/apps/kdisplay/color-schemes +@dirrm share/apps/kdisplay +@dirrm share/apps +@dirrm share/applnk/Settings/LookNFeel +@dirrm share/applnk/Settings +@dirrm share/applnk +@dirrm lib/kde2