diff options
author | Justin Patrin <papercrane@gmail.com> | 2005-08-26 18:55:14 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-26 18:55:14 +0000 |
commit | 52e2d041671d0fc1268db16543727312465dc7a9 (patch) | |
tree | 731d3ed71a57a941dbfaf01ee6ec95804c71e6f9 | |
parent | 5c7723abedc3e2e83ce8a03a8cfd70b4652e83f7 (diff) |
Add xscreensaver 4.22
- moved 2 of the 4.16 files to files/ to allow use for multiple versions
- there are floating point issues with the ifs screensaver (and probaby others)
-rw-r--r-- | packages/xscreensaver/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/xscreensaver/files/XScreenSaver (renamed from packages/xscreensaver/xscreensaver-4.16/XScreenSaver) | 0 | ||||
-rw-r--r-- | packages/xscreensaver/files/fixes.patch (renamed from packages/xscreensaver/xscreensaver-4.16/fixes.patch) | 0 | ||||
-rw-r--r-- | packages/xscreensaver/xscreensaver-4.22/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/xscreensaver/xscreensaver-4.22/configure.in.patch | 15 | ||||
-rw-r--r-- | packages/xscreensaver/xscreensaver_4.22.bb | 58 |
6 files changed, 73 insertions, 0 deletions
diff --git a/packages/xscreensaver/files/.mtn2git_empty b/packages/xscreensaver/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/xscreensaver/files/.mtn2git_empty diff --git a/packages/xscreensaver/xscreensaver-4.16/XScreenSaver b/packages/xscreensaver/files/XScreenSaver index fa27d2c536..fa27d2c536 100644 --- a/packages/xscreensaver/xscreensaver-4.16/XScreenSaver +++ b/packages/xscreensaver/files/XScreenSaver diff --git a/packages/xscreensaver/xscreensaver-4.16/fixes.patch b/packages/xscreensaver/files/fixes.patch index 3d138bc490..3d138bc490 100644 --- a/packages/xscreensaver/xscreensaver-4.16/fixes.patch +++ b/packages/xscreensaver/files/fixes.patch diff --git a/packages/xscreensaver/xscreensaver-4.22/.mtn2git_empty b/packages/xscreensaver/xscreensaver-4.22/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/xscreensaver/xscreensaver-4.22/.mtn2git_empty diff --git a/packages/xscreensaver/xscreensaver-4.22/configure.in.patch b/packages/xscreensaver/xscreensaver-4.22/configure.in.patch new file mode 100644 index 0000000000..1538315e3b --- /dev/null +++ b/packages/xscreensaver/xscreensaver-4.22/configure.in.patch @@ -0,0 +1,15 @@ +--- xscreensaver-4.22~/configure.in 2005-08-26 10:00:58.000000000 -0700 ++++ xscreensaver-4.22/configure.in 2005-08-26 10:01:27.000000000 -0700 +@@ -1080,9 +1080,9 @@ + + # random compiler setup + AC_CANONICAL_HOST +-AC_PROG_CC_ANSI +-AC_NO_CPLUSPLUS_COMMENTS_IN_C_CODE +-AC_NO_OBJECTIVE_C ++#AC_PROG_CC_ANSI ++#AC_NO_CPLUSPLUS_COMMENTS_IN_C_CODE ++#AC_NO_OBJECTIVE_C + AC_PROG_CPP + AC_C_CONST + AC_C_INLINE diff --git a/packages/xscreensaver/xscreensaver_4.22.bb b/packages/xscreensaver/xscreensaver_4.22.bb new file mode 100644 index 0000000000..e4ca0acc3a --- /dev/null +++ b/packages/xscreensaver/xscreensaver_4.22.bb @@ -0,0 +1,58 @@ +# xscreensaver OE build file +# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +SRC_URI="http://www.jwz.org/xscreensaver/xscreensaver-${PV}.tar.gz \ + file://fixes.patch;patch=1 \ + file://configure.in.patch;patch=1 \ + file://XScreenSaver" + +DESCRIPTION="*The* screensaver package for X11" +LICENSE="BSD" +HOMEPAGE="http://www.jwz.org/xscreensaver/" +PR = "r0" +SECTION="x11-misc" + +DEPENDS="intltool x11 gtk+ libxml2 libglade" + +# xscreensaver-demo is a glade app +LDFLAGS_append = " -Wl,--export-dynamic" + +inherit autotools +EXTRA_OECONF="--with-xml --with-gtk --disable-locking --without-pixbuf \ + --with-jpeg --with-xpm" + +PACKAGES =+ " xscreensaver-demo xscreensaver-extra" + +FILES_${PN}= "${bindir}/xscreensaver ${bindir}/xscreensaver-command \ + /usr/X11R6/lib/X11/app-defaults" + +FILES_xscreensaver-demo="${bindir}/xscreensaver-demo ${datadir}/xscreensaver \ + ${datadir}/pixmaps/" + +FILES_xscreensaver-extra="${bindir}/xscreensaver-getimage*" + +do_configure_prepend() { + sed -i 's:GTK_DATADIR="$GTK_DATADIR/share":GTK_DATADIR="${datadir}":' ${S}/configure.in +} + +do_compile() { + oe_runmake GNOME_DATADIR=${datadir} all +} + +do_install() { + unset KDEDIR + oe_runmake -C ${S}/driver GNOME_DATADIR=${datadir} \ + install_prefix=${D} install + + oe_runmake -C ${S}/hacks install_prefix=${D} install-program + + # Install the defaults file + install -d ${D}/usr/X11R6/lib/X11/app-defaults + install -m 0644 ${WORKDIR}/XScreenSaver ${D}/usr/X11R6/lib/X11/app-defaults +} + +python populate_packages_prepend () { + hackdir = bb.data.expand('${libexecdir}/xscreensaver', d) + do_split_packages(d, hackdir, '^(.*)', 'xscreensaver-hack-%s', 'XScreensaver hack %s') +} |