# HG changeset patch # User Yuri Pourre # Date 1406589665 10800 # Node ID ea0b0780b9d91ba54d5cb8c9abbba92eeb442712 # Parent f520133fcbf484ac789a17b6302d12832791c2a4 Add mate-common-dev and mate-desktop-dev diff -r f520133fcbf4 -r ea0b0780b9d9 mate-common-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-common-dev/receipt Mon Jul 28 20:21:05 2014 -0300 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="mate-common-dev" +VERSION="1.9.0" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="Common package for MATE applications." +MAINTAINER="yuripourre@gmail.com" +WEB_SITE="http://www.mate-desktop.org/" +WANTED="mate-common" +DEPENDS="mate-common" +TAGS="MATE" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/aclocal + cp -a $install/usr/share/aclocal/*.m4 $fs/usr/share/aclocal/ +} diff -r f520133fcbf4 -r ea0b0780b9d9 mate-common/receipt --- a/mate-common/receipt Mon Jul 28 23:13:32 2014 +0200 +++ b/mate-common/receipt Mon Jul 28 20:21:05 2014 -0300 @@ -11,7 +11,7 @@ WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" DEPENDS="" -BUILD_DEPENDS="wget autoconf automake" +BUILD_DEPENDS="wget cacerts autoconf automake" # Rules to configure and make the package. compile_rules() @@ -23,8 +23,12 @@ make DESTDIR=$DESTDIR install } +# Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/ $fs + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/mate-common $fs/usr/share + + rm -rf $install/usr/share/man } diff -r f520133fcbf4 -r ea0b0780b9d9 mate-desktop-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-desktop-dev/receipt Mon Jul 28 20:21:05 2014 -0300 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="mate-desktop-dev" +VERSION="1.9.1" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="Common package for MATE Desktop applications." +MAINTAINER="yuripourre@gmail.com" +WEB_SITE="http://www.mate-desktop.org/" +WANTED="mate-desktop" +DEPENDS="mate-desktop" +TAGS="MATE" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/include + cp -a $install/usr/lib/*.a $fs/usr/lib + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include/* $fs/usr/include +} diff -r f520133fcbf4 -r ea0b0780b9d9 mate-desktop/receipt --- a/mate-desktop/receipt Mon Jul 28 23:13:32 2014 +0200 +++ b/mate-desktop/receipt Mon Jul 28 20:21:05 2014 -0300 @@ -11,8 +11,8 @@ WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" DEPENDS="gtk+ gdk-pixbuf" -BUILD_DEPENDS="wget autoconf automake dconf-dev libtool itstool \ -mate-common gtk-doc gtk+-dev gdk-pixbuf-dev yelp-tools" +BUILD_DEPENDS="wget cacerts autoconf automake dconf-dev libtool itstool \ +mate-common gtk-doc gtk+-dev gdk-pixbuf-dev yelp-tools harfbuzz-dev" # Rules to configure and make the package. compile_rules() @@ -24,8 +24,24 @@ make DESTDIR=$DESTDIR install } +# Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/ $fs + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib } + +# Post install/remove commands for Tazpkg. +post_install() +{ + echo "Processing post-install commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} diff -r f520133fcbf4 -r ea0b0780b9d9 mate-icon-theme/receipt --- a/mate-icon-theme/receipt Mon Jul 28 23:13:32 2014 +0200 +++ b/mate-icon-theme/receipt Mon Jul 28 20:21:05 2014 -0300 @@ -11,13 +11,14 @@ WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" DEPENDS="" -BUILD_DEPENDS="wget autoconf automake icon-naming-utils mate-common" +BUILD_DEPENDS="wget cacerts autoconf automake mate-common-dev icon-naming-utils" # Rules to configure and make the package. compile_rules() { ./autogen.sh \ --prefix=/usr \ + --enable-icon-mapping \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install @@ -25,6 +26,8 @@ genpkg_rules() { + rm -rf $install/usr/share/pkgconfig/ + mkdir -p $fs/usr cp -a $install/usr $fs } diff -r f520133fcbf4 -r ea0b0780b9d9 mate-terminal/receipt --- a/mate-terminal/receipt Mon Jul 28 23:13:32 2014 +0200 +++ b/mate-terminal/receipt Mon Jul 28 20:21:05 2014 -0300 @@ -11,9 +11,9 @@ WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" DEPENDS="gtk+ dconf util-linux-uuid vte mate-desktop harfbuzz" -BUILD_DEPENDS="wget dconf-dev gtk+-dev util-linux-uuid-dev vte-dev \ -mate-common mate-desktop yelp-tools autoconf automake libtool itstool \ -harfbuzz-dev" +BUILD_DEPENDS="wget cacerts dconf-dev gtk+-dev util-linux-uuid-dev \ +vte-dev mate-common-dev mate-desktop-dev yelp-tools autoconf automake libtool \ +itstool harfbuzz-dev" # Rules to configure and make the package. compile_rules() @@ -30,8 +30,26 @@ make DESTDIR=$DESTDIR install } +# Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + # Saving some space + rm -rf $install/usr/share/man + rm -rf $install/usr/share/help + mkdir -p $fs/usr cp -a $install/usr $fs } + +# Post install/remove commands for Tazpkg. +post_install() +{ + echo "Processing post-install commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +}