X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 8044CDC02AF for ; Mon, 16 Jun 2014 05:34:40 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id r10so4020962pdi.23 for ; Sun, 15 Jun 2014 22:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=4KLumJIRkFB7n8qyc6M6d1QzwoupgMByfxwEvtgbU5s=; b=ezc9fiTxk+sfwsrBtWJ1N1fq9HvKqpuSiSQ3W9Hk2ZmeM2+QrOIs61VNX9iiHmEhT2 S1XMhwk/qoQUnguZbbKuLOdwVImM1z7eM9RMD38j5zSx/b4H7ne0glj3CNSBOe4dlUWH C5MVBMmX/OcY8vTDtxNmTGn7kOTuFKbx2xxtLe5lob3lETRsNi3kdkTA1hqLR2qOg7Ha cW8tBrnSqRYVZbyDiFLsQhHH30sqNddlEXf9VDU8BA7BPbDL/ErRyQqO5xZh4h+AZX3m dqwSFEJgix5C9eqczwBm7x5TmJigNVP3dAbTb351TBycQjF7LvgfQXMImu1OEA7G6MUP 69Cw== X-Received: by 10.66.119.39 with SMTP id kr7mr21237372pab.131.1402896879439; Sun, 15 Jun 2014 22:34:39 -0700 (PDT) Received: from oldbox.my.domain ([50.0.226.74]) by mx.google.com with ESMTPSA id cj1sm62989576pac.40.2014.06.15.22.34.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 15 Jun 2014 22:34:38 -0700 (PDT) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH] Add icewm 1.3.8. Date: Sun, 15 Jun 2014 22:34:24 -0700 Message-Id: <1402896864-23748-1-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.0.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This is a relatively lightweight window manager that feels about like Windows 9x/2000 by default, but can be configured to look and act more like mwm or the OS/2 Presentation Manager quite easily. Themes are available online to make it look similar to Windows XP, Vista, and 7, OS X, plus quite a few unique ones. Icewm supports XPM transparency and animated buttons with appropriate themes. At present you will need to copy /usr/share/icewm to ~/.icewm and manually edit the examples provided (especially "menu"). --- testing/icewm/APKBUILD | 64 ++++++++++++++++++++++++++++++++++ testing/icewm/backtrace_on_glibc.patch | 22 ++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 testing/icewm/APKBUILD create mode 100644 testing/icewm/backtrace_on_glibc.patch diff --git a/testing/icewm/APKBUILD b/testing/icewm/APKBUILD new file mode 100644 index 0000000..75f4333 --- /dev/null +++ b/testing/icewm/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: Isaac Dunham +# Maintainer: Isaac Dunham +pkgname=icewm +pkgver=1.3.8 +pkgrel=0 +pkgdesc="A lightweight Win95/Motif-style window manager in C++" +url="http://www.icewm.org" +arch="all" +license="LGPL2" +depends="" +depends_dev="" +makedepends="gdk-pixbuf-dev libx11-dev util-macros fontconfig-dev freetype-dev libxft-dev libxinerama-dev libice-dev libxrandr-dev libsm-dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/icewm/icewm-$pkgver.tar.gz +backtrace_on_glibc.patch" + +_builddir="$srcdir"/icewm-$pkgver +prepare() { + local i + cd "$_builddir" + cp /usr/share/abuild/config.sub ./ + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-guievents \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} +doc() { + cd "$_builddir" + make DESTDIR="$subpkgdir" install-docs install-man || return 1 + for _doc in AUTHORS BUGS README TODO; do + install -Dm644 "$srcdir"/$pkgname-$pkgver/$_doc "$subpkgdir"/usr/share/doc/$pkgname/$_doc || return 1 + done + install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="6d61aced3bd20b9e7caeb7e8380368c8 icewm-1.3.8.tar.gz +9abf33b667e9b0b802da94bdcf974252 backtrace_on_glibc.patch" +sha256sums="17588d9e0bbbb23587bc04c83da9dd94fd4da6894ecfee6d7f3ed50d780dcd18 icewm-1.3.8.tar.gz +9894a8d8cd5f8f372662633e2b264ef1cea8d3ea10e4586ef210f493afdd443c backtrace_on_glibc.patch" +sha512sums="ce9bf3e736a2f3fad4bbf731647b4e4ad0168cd2c4af66b1c43beef9ceeee39d14909714d2fc73ab13f6c285a74dfe31fffc9677ae8bd2d1077716cd6d6afb72 icewm-1.3.8.tar.gz +b844bd0a0e839580e8212b22af9638503b6969c64f98a89bdeadef8e0121fd8668a3246d304e30fe4ba9097ce7767961ec87ac0e8df04abdbc5ec17ae3ce2451 backtrace_on_glibc.patch" diff --git a/testing/icewm/backtrace_on_glibc.patch b/testing/icewm/backtrace_on_glibc.patch new file mode 100644 index 0000000..ceba2b7 --- /dev/null +++ b/testing/icewm/backtrace_on_glibc.patch @@ -0,0 +1,22 @@ +diff --git a/src/misc.cc b/src/misc.cc +index 8b7905a..1eee766 100644 +--- a/src/misc.cc ++++ b/src/misc.cc +@@ -15,7 +15,7 @@ + #include + #endif + +-#ifdef linux ++#ifdef __GLIBC__ + #include + #endif + +@@ -539,7 +539,7 @@ bool isreg(char const *path) { + } + + void show_backtrace() { +-#ifdef linux ++#ifdef __GLIBC__ + const char head[] = "\nbacktrace:\n"; + const char tail[] = "end\n"; + void *array[20]; -- 2.0.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---