diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-08-21 22:13:10 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-08-21 22:13:10 +0000 |
commit | 06630a469cda2e779b8ccf3de125f18569cb67b1 (patch) | |
tree | d688f854e5e91197eaf98786480b5d4418486186 /packages | |
parent | 23c0b79836cbadbfbdfa5f63b39815f85d400984 (diff) | |
parent | 5a7ed4ea4a4a4166f4cc94b3ca5b162463d408e3 (diff) |
merge of '0c72fca9e0c0a27bd39068df21078215a4362b1c'
and 'df88361619c93df2c6573ec7b6bdf56f0e4cda94'
Diffstat (limited to 'packages')
-rw-r--r-- | packages/icon-slicer/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/icon-slicer/icon-slicer-native_0.3.bb | 18 | ||||
-rw-r--r-- | packages/sugar/sugar-artwork/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/sugar/sugar-artwork/icon-slicer.diff | 83 | ||||
-rw-r--r-- | packages/sugar/sugar-artwork_0.82.0.bb | 29 |
5 files changed, 130 insertions, 0 deletions
diff --git a/packages/icon-slicer/.mtn2git_empty b/packages/icon-slicer/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/icon-slicer/.mtn2git_empty diff --git a/packages/icon-slicer/icon-slicer-native_0.3.bb b/packages/icon-slicer/icon-slicer-native_0.3.bb new file mode 100644 index 0000000000..e23bcacdff --- /dev/null +++ b/packages/icon-slicer/icon-slicer-native_0.3.bb @@ -0,0 +1,18 @@ +LICENSE = "MIT" + +SRC_URI = "http://freedesktop.org/software/icon-slicer/releases/icon-slicer-${PV}.tar.gz" + +inherit autotools native + +DEPENDS = "gtk+-native popt-native" + +S = "${WORKDIR}/icon-slicer-${PV}" + +AUTOTOOLS_STAGE_PKGCONFIG = "1" + +do_stage() { + autotools_stage_all +} + + + diff --git a/packages/sugar/sugar-artwork/.mtn2git_empty b/packages/sugar/sugar-artwork/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/sugar/sugar-artwork/.mtn2git_empty diff --git a/packages/sugar/sugar-artwork/icon-slicer.diff b/packages/sugar/sugar-artwork/icon-slicer.diff new file mode 100644 index 0000000000..4eacb91251 --- /dev/null +++ b/packages/sugar/sugar-artwork/icon-slicer.diff @@ -0,0 +1,83 @@ +From: Marco Pesenti Gritti <marco@localhost.localdomain> +Date: Thu, 21 Aug 2008 12:52:39 +0000 (+0200) +Subject: User icon-slicer to generate the icons, instead of cursorthemegen. +X-Git-Url: http://dev.laptop.org/git?p=artwork;a=commitdiff_plain;h=2954f4c6d2c178ba005025a94f3d31e54fe37103 + +User icon-slicer to generate the icons, instead of cursorthemegen. +--- + +--- a/configure.ac ++++ b/configure.ac +@@ -14,6 +14,8 @@ AC_PROG_CC + AC_HEADER_STDC + AC_PROG_LIBTOOL + ++AC_PATH_PROG([ICON_SLICER], [icon-slicer]) ++ + PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.0,, + AC_MSG_ERROR([GTK+-2.0 is required to compile redhat-artwork])) + +@@ -46,7 +48,6 @@ fi + AC_OUTPUT([ + Makefile + cursor/Makefile +-cursor/cursorthemegen/Makefile + cursor/sugar/Makefile + icons/Makefile + icons/scalable/Makefile +diff --git a/cursor/Makefile.am b/cursor/Makefile.am +index 5f0148f..4fa44db 100644 +--- a/cursor/Makefile.am ++++ b/cursor/Makefile.am +@@ -1 +1 @@ +-SUBDIRS = cursorthemegen sugar ++SUBDIRS = sugar + +diff --git a/cursor/sugar/Makefile.am b/cursor/sugar/Makefile.am +index cb9beec..9af934c 100644 +--- a/cursor/sugar/Makefile.am ++++ b/cursor/sugar/Makefile.am +@@ -1,6 +1,3 @@ +-THEMEGEN = $(top_builddir)/cursor/cursorthemegen/cursorthemegen +-THEME_DIR = $(top_builddir)/cursor/sugar/theme +- + all-local: sugar.stamp + + sugar_images = \ +@@ -12,26 +9,24 @@ sugar_images = \ + sugar-05.png \ + sugar-06.png \ + sugar-07.png \ +- sugar-08.png \ +- sugar-09.png \ +- sugar-10.png \ +- sugar-11.png \ ++ sugar-08.png \ ++ sugar-09.png \ ++ sugar-10.png \ ++ sugar-11.png \ + sugar-hotspots.png + + sugar.stamp: $(sugar_images) $(THEMEGEN) sugar.cursortheme +- rm -rf sugar && \ +- BDIR=`pwd` && cd $(srcdir) && \ +- $$BDIR/$(THEMEGEN) sugar.cursortheme $$BDIR/theme && \ +- cd $$BDIR && touch sugar.stamp ++ $(ICON_SLICER) --image-dir=$(srcdir) --output-dir=$(builddir) $(srcdir)/sugar.cursortheme ++ touch sugar.stamp + + clean-local: +- rm -rf $(THEME_DIR) +- rm -rf $(top_builddir)/cursor/sugar/sugar.stamp ++ rm -rf cursors ++ rm sugar.stamp + + install-data-local: + $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/sugar/cursors/ +- for i in `cd $(THEME_DIR) && echo *` ; do \ +- $(INSTALL) $(THEME_DIR)/$$i $(DESTDIR)$(datadir)/icons/sugar/cursors/$$i ; \ ++ for i in `cd $(srcdir)/cursors && echo *` ; do \ ++ $(INSTALL) $(srcdir)/cursors/$$i $(DESTDIR)$(datadir)/icons/sugar/cursors/$$i ; \ + done + + uninstall-local: diff --git a/packages/sugar/sugar-artwork_0.82.0.bb b/packages/sugar/sugar-artwork_0.82.0.bb new file mode 100644 index 0000000000..4a1ab847e5 --- /dev/null +++ b/packages/sugar/sugar-artwork_0.82.0.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Sugar artwork" +LICENSE = "GPLv2" + +PR = "r1" + +DEPENDS = "sugar icon-slicer-native" + +SRC_URI = "http://dev.laptop.org/pub/sugar/sources/sugar-artwork/${PN}-${PV}.tar.bz2 \ + file://icon-slicer.diff;patch=1" + +inherit autotools distutils-base + +do_configure_prepend() { + mkdir -p ${S}/m4 +} + +FILES_${PN} += "${datadir}/${PN} \ + ${datadir}/icons \ + ${datadir}/themes \ + ${sysconfdir} " + +FILES_${PN}-dbg += "${libdir}/gtk-2.0/2.*/engines/.debug" + +AUTOTOOLS_STAGE_PKGCONFIG = "1" + +do_stage() { + autotools_stage_all +} + |