~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[alpine-devel] [PATCH] Add icewm 1.3.8.

Isaac Dunham <ibid.ag@gmail.com>
Details
Message ID
<1402896864-23748-1-git-send-email-ibid.ag@gmail.com>
Sender timestamp
1402896864
DKIM signature
missing
Download raw message
Patch: +86 -0
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 <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
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 <libgen.h>
 #endif
 
-#ifdef linux
+#ifdef __GLIBC__
 #include <execinfo.h>
 #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
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20140617081235.5c111d9e@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1402896864-23748-1-git-send-email-ibid.ag@gmail.com> (view parent)
Sender timestamp
1402985555
DKIM signature
missing
Download raw message
On Sun, 15 Jun 2014 22:34:24 -0700
Isaac Dunham <ibid.ag@gmail.com> wrote:

> 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

applied. also splitted out the -lang as a subpackage

thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)