summaryrefslogtreecommitdiff
path: root/wm/icecc
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-06-25 01:55:08 +0000
committerreed <reed@pkgsrc.org>2005-06-25 01:55:08 +0000
commit09e55528d511cb55fc7efc39506cfe83bac84f22 (patch)
tree912a06398996526029c98183453b878fdc995c9f /wm/icecc
parenteed2a138b5dfa493d46f9077f1345188a7fdcf02 (diff)
downloadpkgsrc-09e55528d511cb55fc7efc39506cfe83bac84f22.tar.gz
Import icecc-2.9 -- it is a IceWM control center.
This is from Iain Hibbert via pkgsrc-wip. The IceWM Control Center allows you to run various tools for configuring IceWM's options. It contains menu/toolbar editor, winoptions editor, keys editor, themes switcher and some other tools. It supports themes, so you can add new (or replace existing) tools and images.
Diffstat (limited to 'wm/icecc')
-rw-r--r--wm/icecc/DESCR6
-rw-r--r--wm/icecc/Makefile74
-rw-r--r--wm/icecc/PLIST38
-rw-r--r--wm/icecc/distinfo41
-rw-r--r--wm/icecc/patches/patch-aa20
-rw-r--r--wm/icecc/patches/patch-ab15
-rw-r--r--wm/icecc/patches/patch-ac15
7 files changed, 209 insertions, 0 deletions
diff --git a/wm/icecc/DESCR b/wm/icecc/DESCR
new file mode 100644
index 00000000000..94782cbc2f7
--- /dev/null
+++ b/wm/icecc/DESCR
@@ -0,0 +1,6 @@
+The IceWM Control Center allows you to run various tools for
+configuring IceWM's options.
+
+It contains menu/toolbar editor, winoptions editor, keys editor,
+themes switcher and some other tools. It supports themes, so you can add
+new (or replace existing) tools and images.
diff --git a/wm/icecc/Makefile b/wm/icecc/Makefile
new file mode 100644
index 00000000000..a4c976d1116
--- /dev/null
+++ b/wm/icecc/Makefile
@@ -0,0 +1,74 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/06/25 01:55:08 reed Exp $
+
+# Package version reflects icecc version, with PKGREVISION incremented
+# for any tool updates, according to the authors scheme.
+DISTNAME= icecc-2.9
+PKGREVISION= 1
+CATEGORIES= wm
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=icecc/}
+DISTFILES= icecc-2.9.tar.bz2 \
+ icebgset-1.3.tar.bz2 \
+ icecursorscfg-0.6.tar.bz2 \
+ iceked-1.5.tar.bz2 \
+ iceiconcvt-1.0.tar.bz2 \
+ icemergeprefs-0.5.tar.bz2 \
+ icemc-2.1.tar.bz2 \
+ icerrun-0.5.tar.bz2 \
+ icesndcfg-1.3.tar.bz2 \
+ icets-1.4.tar.bz2 \
+ icewm4vim.tar.bz2 \
+ icewoed-1.8.tar.bz2
+
+MAINTAINER= plunky@rya-online.net
+HOMEPAGE= http://icecc.sourceforge.net/
+COMMENT= IceWM Control Centre
+
+DEPENDS+= vim-{gtk,gtk2,kde,motif,xaw}>=6.3.0:../../editors/vim-xaw
+
+USE_TOOLS+= gmake
+
+WRKSRC= ${WRKDIR}
+
+QSRC= icecc-2.9 icebgset-1.3 iceked-1.5 icemc-2.1
+QSRC+= icesndcfg-1.3 icets-1.4 icewoed-1.8
+
+BUILD_DIRS= ${QSRC:S/^/${WRKSRC}\//}
+
+PYTHON_PATCH_SCRIPTS= icecursorscfg-0.6/icecurcfg.py iceiconcvt-1.0/iceiconcvt.py
+PYTHON_PATCH_SCRIPTS+= icemergeprefs-0.5/icemergeprefs.py icerrun-0.5/icerrrun.py
+PYTHON_PATCH_SCRIPTS+= icerrun-0.5/icerrun.py
+
+SUBST_CLASSES= path
+SUBST_STAGE.path= post-patch
+SUBST_FILES.path= icebgset-1.3/icebgset.pro icecc-2.9/icecc.pro iceked-1.5/iceked.pro
+SUBST_FILES.path+= icemc-2.1/icemc.pro icesndcfg-1.3/icesndcfg.pro icets-1.4/icets.pro
+SUBST_FILES.path+= icewoed-1.8/icewoed.pro
+SUBST_FILES.path+= icecursorscfg-0.6/icecurcfg.py iceiconcvt-1.0/iceiconcvt.py
+SUBST_FILES.path+= icemergeprefs-0.5/icemergeprefs.py
+SUBST_SED.path= "s|/usr/local|${PREFIX}|g"
+SUBST_MESSAGE.path= "Fixing hardcoded paths."
+
+# VIM_SUBDIR comes from "editors/vim-share/version.mk"
+PLIST_SUBST+= VIM_SUBDIR=${VIM_SUBDIR}
+
+do-configure:
+. for dir in ${QSRC}
+ cd ${WRKSRC}/${dir} && ${QTDIR}/bin/qmake "QMAKE_MKDIR=${MKDIR}" "QMAKE_CHK_DIR_EXISTS=${TEST} -d"
+. endfor
+
+post-build:
+ cd ${WRKSRC}/icewm4vim && ${GMAKE} QTDIR=${QTDIR}
+
+post-install:
+. for script in ${PYTHON_PATCH_SCRIPTS}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${script} ${PREFIX}/bin
+. endfor
+ ${INSTALL_PROGRAM} ${WRKSRC}/icewm4vim/icecolsel ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/icewm4vim/icefonsel ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/icewm4vim/icewm.vim ${PREFIX}/share/vim/${VIM_SUBDIR}/ftplugin/iceprefs.vim
+ ${INSTALL_DATA} ${WRKSRC}/icewm4vim/syntax/icewm.vim ${PREFIX}/share/vim/${VIM_SUBDIR}/syntax/iceprefs.vim
+
+.include "../../editors/vim-share/version.mk"
+.include "../../lang/python/application.mk"
+.include "../../x11/py-qt3-base/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/wm/icecc/PLIST b/wm/icecc/PLIST
new file mode 100644
index 00000000000..3300d638ac8
--- /dev/null
+++ b/wm/icecc/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/25 01:55:08 reed Exp $
+bin/icebgset
+bin/icecc
+bin/icecchelp
+bin/icecolsel
+bin/icecurcfg.py
+bin/icefonsel
+bin/iceiconcvt.py
+bin/iceked
+bin/icemc
+bin/icemergeprefs.py
+bin/icerrrun.py
+bin/icerrun.py
+bin/icesndcfg
+bin/icets
+bin/icewoed
+share/icecc/help/default/icecc_desk.png
+share/icecc/help/default/index-1.html
+share/icecc/help/default/index-2.html
+share/icecc/help/default/index-3.html
+share/icecc/help/default/index-4.html
+share/icecc/help/default/index-5.html
+share/icecc/help/default/index-6.html
+share/icecc/help/default/index.html
+share/icecc/help/default/index.sgml
+share/icecc/themes/Control Panel/README
+share/icecc/themes/Control Panel/bgimg.jpg
+share/icecc/themes/Control Panel/theme
+share/icecc/themes/Simple/icecc_desk.png
+share/icecc/themes/Simple/theme
+share/vim/${VIM_SUBDIR}/ftplugin/iceprefs.vim
+share/vim/${VIM_SUBDIR}/syntax/iceprefs.vim
+@dirrm share/icecc/help/default
+@dirrm share/icecc/help
+@dirrm share/icecc/themes/Control Panel
+@dirrm share/icecc/themes/Simple
+@dirrm share/icecc/themes
+@dirrm share/icecc
diff --git a/wm/icecc/distinfo b/wm/icecc/distinfo
new file mode 100644
index 00000000000..7d513b244a2
--- /dev/null
+++ b/wm/icecc/distinfo
@@ -0,0 +1,41 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/06/25 01:55:08 reed Exp $
+
+SHA1 (icecc-2.9.tar.bz2) = acfdf16a71833e80ad2f1267cadf31297050e41d
+RMD160 (icecc-2.9.tar.bz2) = 9cb70c8df6493eb7984f13821006734459ac0bcc
+Size (icecc-2.9.tar.bz2) = 121550 bytes
+SHA1 (icebgset-1.3.tar.bz2) = 89f7beda8a507fece845461fb8a2b40b1cfe29ea
+RMD160 (icebgset-1.3.tar.bz2) = 6730101b1fb490243e8935d7fee03ab81a8ab8a3
+Size (icebgset-1.3.tar.bz2) = 11277 bytes
+SHA1 (icecursorscfg-0.6.tar.bz2) = 62bfd08d57e19df59a25191f50fa4427e2f80679
+RMD160 (icecursorscfg-0.6.tar.bz2) = 6e0bf906c562296ca4cc3ef4f4346200e63bcb12
+Size (icecursorscfg-0.6.tar.bz2) = 2190 bytes
+SHA1 (iceked-1.5.tar.bz2) = d3d321f0675428d67ec553c2da06492663caae79
+RMD160 (iceked-1.5.tar.bz2) = 4deaec4bd3bc9437fa1d536d0cbb1ac58d4a5af8
+Size (iceked-1.5.tar.bz2) = 16262 bytes
+SHA1 (iceiconcvt-1.0.tar.bz2) = c1f21bf78d8668c7a63ad3d99e5e838bfb52842a
+RMD160 (iceiconcvt-1.0.tar.bz2) = 0f8eab4a3fa55a467f7ddaf4554ff8ef7e328f71
+Size (iceiconcvt-1.0.tar.bz2) = 2790 bytes
+SHA1 (icemergeprefs-0.5.tar.bz2) = 9f163b835069ba27f278434efa444b3d7699b30b
+RMD160 (icemergeprefs-0.5.tar.bz2) = a693e66d7bab7bf965887eb2363b9a7f32b7d26d
+Size (icemergeprefs-0.5.tar.bz2) = 3155 bytes
+SHA1 (icemc-2.1.tar.bz2) = a014039121050ebf684efeb80456301bf5a5e45c
+RMD160 (icemc-2.1.tar.bz2) = 0003574393e2783ead3482ea673bbad6309502ae
+Size (icemc-2.1.tar.bz2) = 29267 bytes
+SHA1 (icerrun-0.5.tar.bz2) = 09c61c5cc60ca780af786a036b16be4dabe4e65e
+RMD160 (icerrun-0.5.tar.bz2) = ddf51c00dae905b08988dc893930765bbf1b0a33
+Size (icerrun-0.5.tar.bz2) = 2223 bytes
+SHA1 (icesndcfg-1.3.tar.bz2) = a8611f36167625b7771c262601fd7ddd51ec2b4a
+RMD160 (icesndcfg-1.3.tar.bz2) = 31cafce2c7f22eb9a52c9ddb9472b8a17ff673aa
+Size (icesndcfg-1.3.tar.bz2) = 11404 bytes
+SHA1 (icets-1.4.tar.bz2) = 20dfa71993de7f0c9c00ba8313ea78ada1cfd2ce
+RMD160 (icets-1.4.tar.bz2) = 5344f5789eab2819520bb44a75beb28c9128fd11
+Size (icets-1.4.tar.bz2) = 11098 bytes
+SHA1 (icewm4vim.tar.bz2) = 11902c73c826f001329f15e79bcf278bfc3ee495
+RMD160 (icewm4vim.tar.bz2) = b8804b65c2ddc1109113f999a3bcf37e6327c2e3
+Size (icewm4vim.tar.bz2) = 2844 bytes
+SHA1 (icewoed-1.8.tar.bz2) = ca58b5769c27ee587458c12c285e231b990c3da9
+RMD160 (icewoed-1.8.tar.bz2) = 51cf2873f005e8c74239b138d6e5b9f8a1505047
+Size (icewoed-1.8.tar.bz2) = 21955 bytes
+SHA1 (patch-aa) = 5cb9125f34c6adb949aad6806560d1fca0916dae
+SHA1 (patch-ab) = e4cefad52c55b548e1e59dd40799d5cbee9477fe
+SHA1 (patch-ac) = d695ab2fe41c6eba3e827a0f7db59fbf4b376805
diff --git a/wm/icecc/patches/patch-aa b/wm/icecc/patches/patch-aa
new file mode 100644
index 00000000000..015434237ee
--- /dev/null
+++ b/wm/icecc/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/06/25 01:55:08 reed Exp $
+
+these utilities were written with qt2 but they still ok with qt3
+
+--- icewm4vim/Makefile.orig 2005-03-07 15:55:33.000000000 +0000
++++ icewm4vim/Makefile 2005-03-07 15:54:07.000000000 +0000
+@@ -1,10 +1,10 @@
+ INCLUDE_QT = -I$(QTDIR)/include
+-LIB_QT = -L$(QTDIR)/lib
++LIB_QT = -L$(QTDIR)/lib -Wl,-R$(QTDIR)/lib
+
+ all: icefonsel icecolsel
+
+ icefonsel: icefonsel.cpp
+- g++ $(INCLUDE_QT) $(LIB_QT) -lqt icefonsel.cpp -o icefonsel
++ g++ $(INCLUDE_QT) $(LIB_QT) -lqt-mt icefonsel.cpp -o icefonsel
+
+ icecolsel: icecolsel.cpp
+- g++ $(INCLUDE_QT) $(LIB_QT) -lqt icecolsel.cpp -o icecolsel
++ g++ $(INCLUDE_QT) $(LIB_QT) -lqt-mt icecolsel.cpp -o icecolsel
diff --git a/wm/icecc/patches/patch-ab b/wm/icecc/patches/patch-ab
new file mode 100644
index 00000000000..39f2a9dc4af
--- /dev/null
+++ b/wm/icecc/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/06/25 01:55:09 reed Exp $
+
+the font descriptor strings have * in them, they need to be quoted
+
+--- icewm4vim/icewm.vim.orig 2005-03-13 13:21:06.000000000 +0000
++++ icewm4vim/icewm.vim 2005-03-13 13:21:28.000000000 +0000
+@@ -20,7 +20,7 @@
+ if stridx(font, "Font") != -1
+ let font = substitute(font, "\"", "", "g")
+ let font = substitute(font, ".*=", "", "")
+- let font = system("icefonsel " . font)
++ let font = system("icefonsel \"" . font . "\"")
+ if font != ""
+ exe "s/=.*/".font
+ endif
diff --git a/wm/icecc/patches/patch-ac b/wm/icecc/patches/patch-ac
new file mode 100644
index 00000000000..683515f4897
--- /dev/null
+++ b/wm/icecc/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/06/25 01:55:09 reed Exp $
+
+make gvim default to using the right filetype syntax/ftplugin
+
+--- icecc-2.9/tools.cpp.orig 2005-03-13 15:23:37.000000000 +0000
++++ icecc-2.9/tools.cpp 2005-03-13 15:24:21.000000000 +0000
+@@ -33,7 +33,7 @@
+
+ const char *tools[] = {
+ "icemc ~/.icewm/menu",
+- "gvim ~/.icewm/preferences",
++ "gvim \"+setf iceprefs\" \"+filetype plugin on\" ~/.icewm/preferences",
+ "icewoed ~/.icewm/winoptions",
+ "icemc ~/.icewm/toolbar",
+ "iceked ~/.icewm/keys",