summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 06:13:47 -0600
committerBrian Bidulock2015-06-10 06:13:47 -0600
commit5f18ec1ce76f8d4467901119a5ba5685a99c481a (patch)
treed960bd398270356840a75e0c1b9d5fe5faf57494
downloadaur-5f18ec1ce76f8d4467901119a5ba5685a99c481a.tar.gz
initial version
-rw-r--r--.SRCINFO39
-rw-r--r--PKGBUILD113
-rw-r--r--icets-fix-icewmtray-crash.diff13
3 files changed, 165 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6910ab32561
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+pkgbase = icewm-utils
+ pkgdesc = Suite of tools for IceWM
+ pkgver = 1.0
+ pkgrel = 6
+ url = http://icecc.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = qt3
+ depends = python2
+ optdepends = pyqt3
+ optdepends = gvim
+ source = http://downloads.sourceforge.net/icecc/icemc-2.1.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icets-1.4.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icebgset-1.3.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/iceked-1.5.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icewoed-1.8.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icesndcfg-1.3.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icecc-2.9.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icecursorscfg-0.6.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/iceiconcvt-1.0.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icerrun-0.5.tar.bz2
+ source = http://downloads.sourceforge.net/sourceforge/icecc/icemergeprefs-0.5.tar.bz2
+ source = icets-fix-icewmtray-crash.diff
+ md5sums = cb2afc6efaa0f9d77b0119b29d528667
+ md5sums = 1d87c93f5cb27da16c90f47531b7fb21
+ md5sums = 7086b771fc7877369924affc5b5f5e41
+ md5sums = 47761a8dc59880ddda2a00de9cd187f5
+ md5sums = 518f05c02cb24a7e36715ce0d0672c8e
+ md5sums = 2113c524ebbbf38ce7eb174b9997c202
+ md5sums = e3ddbb3536941745435f727053816865
+ md5sums = 000ec299a83dbae269f2f335910bd50e
+ md5sums = 64463287b6c535b31cb2823d97bfe299
+ md5sums = cea2fd7726b9f01b080e3861d325ec24
+ md5sums = b34931566da118e7a14ddcb529e739c6
+ md5sums = 5116da930c0063dd8c478dd8e473b08f
+
+pkgname = icewm-utils
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ffbc24bd8ad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,113 @@
+# $Id: PKGBUILD 87989 2013-04-09 21:30:21Z eric $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Dominika Solarz <dominikasolarz@gmail.com>
+
+pkgname=icewm-utils
+pkgver=1.0
+
+_mcver=2.1
+_tsver=1.4
+_bgsetver=1.3
+_kedver=1.5
+_woedver=1.8
+_sndcfgver=1.3
+_ccver=2.9
+_cursorscfgver=0.6
+_iconcvtver=1.0
+_rrunver=0.5
+_mergeprefsver=0.5
+
+pkgrel=6
+pkgdesc="Suite of tools for IceWM"
+arch=(i686 x86_64)
+license=("GPL")
+url="http://icecc.sourceforge.net/"
+depends=('qt3' 'python2')
+optdepends=('pyqt3' 'gvim')
+source=("http://downloads.sourceforge.net/icecc/icemc-$_mcver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icets-$_tsver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icebgset-$_bgsetver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/iceked-$_kedver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icewoed-$_woedver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icesndcfg-$_sndcfgver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icecc-$_ccver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icecursorscfg-$_cursorscfgver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/iceiconcvt-$_iconcvtver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icerrun-$_rrunver.tar.bz2"
+ "http://downloads.sourceforge.net/sourceforge/icecc/icemergeprefs-$_mergeprefsver.tar.bz2"
+ icets-fix-icewmtray-crash.diff)
+md5sums=('cb2afc6efaa0f9d77b0119b29d528667'
+ '1d87c93f5cb27da16c90f47531b7fb21'
+ '7086b771fc7877369924affc5b5f5e41'
+ '47761a8dc59880ddda2a00de9cd187f5'
+ '518f05c02cb24a7e36715ce0d0672c8e'
+ '2113c524ebbbf38ce7eb174b9997c202'
+ 'e3ddbb3536941745435f727053816865'
+ '000ec299a83dbae269f2f335910bd50e'
+ '64463287b6c535b31cb2823d97bfe299'
+ 'cea2fd7726b9f01b080e3861d325ec24'
+ 'b34931566da118e7a14ddcb529e739c6'
+ '5116da930c0063dd8c478dd8e473b08f')
+
+build() {
+ cd $srcdir
+ # fix default global path to IceWM
+ for file in icewoed-$_woedver/qcentralwidget.cpp \
+ icemc-$_mcver/qcentralwidget.cpp \
+ icets-$_tsver/icets.cpp
+ do
+ sed -i 's|/usr/local/|/usr/|' $file
+ done
+
+ # python2 fix
+ for file in $(find . -name '*.py' -print); do
+ sed -i 's_#!.*/usr/bin/python$_#!/usr/bin/python2_' $file
+ sed -i 's_#!.*/usr/bin/env.*python$_#!/usr/bin/env python2_' $file
+ done
+
+ (cd icets-$_tsver && patch -p0 <$srcdir/icets-fix-icewmtray-crash.diff)
+
+ cd $srcdir/icemc-$_mcver
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+
+ cd $srcdir/icets-$_tsver
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+
+ cd $srcdir/icebgset-$_bgsetver
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+
+ cd $srcdir/iceked-$_kedver
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+
+ cd $srcdir/icecc-$_ccver
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+
+ cd $srcdir/icesndcfg-$_sndcfgver
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+
+ cd $srcdir/icewoed-$_woedver
+ qmake-qt3
+ make MOC=/usr/bin/moc-qt3 UIC=/usr/bin/uic-qt3 INCPATH+='-I/usr/include/qt3'
+}
+
+package() {
+ mkdir -p $pkgdir/usr/bin
+ cp $srcdir/icemc-$_mcver/icemc $pkgdir/usr/bin/
+ cp $srcdir/icets-$_tsver/icets $pkgdir/usr/bin/
+ cp $srcdir/icebgset-$_bgsetver/icebgset $pkgdir/usr/bin/
+ cp $srcdir/iceked-$_kedver/iceked $pkgdir/usr/bin/
+ cp $srcdir/icecc-$_ccver/icecc $pkgdir/usr/bin/
+ cp $srcdir/icesndcfg-$_sndcfgver/icesndcfg $pkgdir/usr/bin/
+ cp $srcdir/icewoed-$_woedver/icewoed $pkgdir/usr/bin/
+ cp $srcdir/icecursorscfg-$_cursorscfgver/icecurcfg.py $pkgdir/usr/bin/icecurcfg
+ cp $srcdir/iceiconcvt-$_iconcvtver/iceiconcvt.py $pkgdir/usr/bin/iceiconcvt
+ cp $srcdir/icemergeprefs-$_mergeprefsver/icemergeprefs.py $pkgdir/usr/bin/icemergeprefs
+ cp $srcdir/icerrun-$_rrunver/icerrun.py $pkgdir/usr/bin/icerrun
+ cp $srcdir/icerrun-$_rrunver/icerrrun.py $pkgdir/usr/bin/icerrrun
+}
diff --git a/icets-fix-icewmtray-crash.diff b/icets-fix-icewmtray-crash.diff
new file mode 100644
index 00000000000..3a3b62bcc55
--- /dev/null
+++ b/icets-fix-icewmtray-crash.diff
@@ -0,0 +1,13 @@
+--- ./icets.cpp.orig 2010-03-22 00:42:19.231913625 +1000
++++ ./icets.cpp 2010-03-22 00:43:34.611221044 +1000
+@@ -311,7 +311,9 @@
+ }/* if(bakFile.exists()) */
+
+ //restart IceWM
+- system("pkill -1 icewm");
++ // Use killall instead of pkill, because pkill kills all icewm processes
++ // like icewmtray - in this case we lost view of running tray apps
++ system("killall -1 icewm");
+ }/* setTheme() */
+
+ /**