Commit 044c496f authored by Duncan Guthrie's avatar Duncan Guthrie Committed by Oliver Smith

New UI: matchbox (#1420)

Add matchbox-window-manager, matchbox-desktop, and their associated
dependencies.
parent 5d56b285
pkgname=postmarketos-ui-matchbox
pkgver=1
pkgrel=0
pkgdesc="(X11) Very basic user interface for handhelds"
url="https://matchbox-project.org"
arch="noarch"
license="GPL-2.0-only"
depends="matchbox-common matchbox-panel matchbox-panel-manager matchbox-desktop matchbox-keyboard matchbox-window-manager mb-applet-input-manager xterm xorg-server dbus-x11 mesa-egl"
install="$pkgname.post-install"
source="start_matchbox.sh"
options="!check"
package() {
# Autostart via autologin on TTY0 (until we have a display manager #656)
install -D -m644 "$srcdir"/start_matchbox.sh \
"$pkgdir"/etc/profile.d/start_matchbox.sh
}
sha512sums="9286e12744fc313fd3ed842dbc524226c2714cffb6fdd1327ff079527546a5c0b0738ce5a444fd534fb267fbde2759b552784cbed09ec988cd4abfa2d0001319 start_matchbox.sh"
#!/bin/sh
# Autologin on tty1, let busybox autoconfigure 2-6
autologin="$(getent passwd 1000 | cut -d ":" -f 1)"
for i in 1 2 3 4 5 6; do
old="^tty$i::respawn:/sbin/getty 38400 tty$i"
new="# tty$i::respawn:/sbin/getty 38400 tty$i"
[ "$i" = "1" ] && new="tty1::respawn:/bin/login -f $autologin"
sed -i -e "s.$old.$new.g" /etc/inittab
done
#!/bin/sh
# Mate autostart on tty1 (Autologin on tty1 is enabled in
# /etc/inittab by postmarketos-base post-install.hook).
# This is a temporary solution, we'll need something like a
# display manager in the long run (#656).
if [ "$(id -u)" = "1000" ] && [ "$(tty)" = "/dev/tty1" ]; then
# Start X11 with Mate
startx /usr/bin/matchbox-session 2>&1 | logger -t "$(whoami):x11"
# In case of failure, restart after 1s
sleep 1
exit
fi
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=libmatchbox
pkgver=1.12
pkgrel=0
pkgdesc="Library for matchbox window manager"
url="http://matchbox-project.org"
arch="all"
license="GPL-2.0-only"
depends="pango glib jpeg libpng libx11 libxext libxft"
makedepends="autoconf automake libtool libx11-dev libxext-dev libxft-dev pango-dev doxygen libjpeg-turbo-dev"
install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://git.yoctoproject.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
autoreconf --install
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-pango \
--enable-doxygen-docs \
--enable-jpeg \
--enable-unit-tests
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="28392757960a41272e3ac32b8698549be6ee923a79f17a3b648abd59efcf5bda3eaa6de18337e1920a5ca602d7c8f3031c5418a4ce44d6c39376c70aeb49267a libmatchbox-1.12.tar.gz"
--- a/Makefile.am 2018-04-16 09:15:05.172748991 +0100
+++ b/Makefile.am 2018-04-16 09:15:43.009935778 +0100
@@ -1,7 +1,7 @@
SUBDIRS = doc
-source_h = xsettings-client.h xsettings-common.h
-source_c = xsettings-client.c xsettings-common.c
+source_h = xsettings-client.h
+source_c = xsettings-client.c
INCLUDES = -I $(includedir) $(X_CFLAGS)
--- a/Makefile.in 2018-04-16 09:15:05.172748991 +0100
+++ b/Makefile.in 2018-04-16 09:16:02.733032247 +0100
@@ -141,8 +141,8 @@
target_alias = @target_alias@
SUBDIRS = doc
-source_h = xsettings-client.h xsettings-common.h
-source_c = xsettings-client.c xsettings-common.c
+source_h = xsettings-client.h
+source_c = xsettings-client.c
INCLUDES = -I $(includedir) $(X_CFLAGS)
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=libxsettings-client
pkgver=0.17
pkgrel=0
pkgdesc="Utility functions for the Xsettings protocol"
url="https://standards.freedesktop.org/xsettings-spec/0.5/"
arch="all"
license="GPL-2.0-or-later"
depends="libx11"
makedepends="libx11-dev gtk+2.0-dev"
source="http://http.debian.net/debian/pool/main/libx/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz
01-ignore-xsettings-common-h.patch"
builddir="${srcdir}/${pkgname}-${pkgver}"
options="!check"
subpackages="$pkgname-doc $pkgname-dev"
prepare() {
default_prepare
update_config_sub
update_config_guess
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make LIBS=-lX11
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="2ea1f1d239fb17f37b2ec7689aca1a848b3faee8052b622f718f9bb0f3e7b174ae5d056c4d8a27ef526ade3e0ad155ebc73de6084b837d7cb5a93bb31f92bfa7 libxsettings-client_0.17.orig.tar.gz
428a76a40ddb9a7fb3d7c461e91cff53148c9856c8a1f231f2d4f0b2b40fd1e6dbef9d67b2f745e728921ae3846f1caa1f85cd537961bbe7421fefe516f6b070 01-ignore-xsettings-common-h.patch"
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=libxsettings
pkgver=0.11
pkgrel=0
pkgdesc="Xsettings protocol library for GPE Palmtop Environment"
url="https://standards.freedesktop.org/xsettings-spec/0.5/"
arch="all"
license="GPL-2.0-or-later"
depends="libx11"
makedepends="libx11-dev"
source="http://http.debian.net/debian/pool/main/libx/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
builddir="${srcdir}/${pkgname}-${pkgver}"
subpackages="$pkgname-dev"
options="!check"
dev () {
cd "$builddir"
mkdir -p "$subpkgdir"/usr
make PREFIX="/usr" DESTDIR="$subpkgdir" install-devel
}
build () {
cd "$builddir"
make
}
package() {
cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
sha512sums="9b385949673e5de28d711dcbcd3b924fe9da9176002bfb32785f384220d4e4d6a66a12cf0cfc36a77994fe4d8623e6557ae09995889f915b9c319147ed134942 libxsettings_0.11.orig.tar.gz"
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=matchbox-common
pkgver=0_git20070606
pkgrel=0
_commit=3055fb158054d059e9a50141e7ded2a41ecfbd47
pkgdesc="Common data files for Matchbox"
url="http://matchbox-project.org"
arch="noarch"
license="GPL-2.0-only"
depends=""
makedepends="libmatchbox-dev autoconf automake libtool"
source="https://git.yoctoproject.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
options="!check"
build() {
cd "$builddir"
./autogen.sh
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="742c38c60efa99de6a7d9bf510045eaf8ea1038722c9e45d614b66a3112f2b48f715d53bf9d44f173ca35e858aee135d0fbc3ed4fe0937b74c40ac515c5320f4 matchbox-common-3055fb158054d059e9a50141e7ded2a41ecfbd47.tar.gz"
Description: FTBFS with binutils-gold (#555587)
Author: Bhavani Shankar R <bhavi@ubuntu.com>
Last-Update: 2010-12-28
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@
matchbox_desktop_CFLAGS = \
-Wall
matchbox_desktop_LDADD = \
- $(GTK_LIBS) $(SN_LIBS)
+ $(GTK_LIBS) $(SN_LIBS) -lX11
matchbox_desktop_SOURCES = \
taku-tile.h taku-tile.c \
--- a/Makefile.in
+++ b/Makefile.in
@@ -183,7 +183,7 @@
-Wall
matchbox_desktop_LDADD = \
- $(GTK_LIBS) $(SN_LIBS)
+ $(GTK_LIBS) $(SN_LIBS) -lX11
matchbox_desktop_SOURCES = \
taku-tile.h taku-tile.c \
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=matchbox-desktop
pkgver=0.9.1_git20050406
pkgrel=0
_commit=525e271308bd21307abaf2c972610219351edff5
pkgdesc="Desktop system for handhelds using the GTK+2 stack"
url="https://matchbox-project.org"
arch="all"
license="GPL-2.0-only"
depends="gdk-pixbuf glib gtk+2.0 pango startup-notification libx11 matchbox-common libmatchbox libjpeg-turbo"
makedepends="startup-notification-dev gtk+2.0-dev autoconf automake libtool libmatchbox-dev libjpeg-turbo-dev"
source="https://git.yoctoproject.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
options="!check"
build() {
cd "$builddir"
./autogen.sh
./configure \
--enable-startup-notification \
--enable-dnotify \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR=$pkgdir install
}
sha512sums="ca4cafe4c0c14d6a60bc16e302a3eb623371357abcd168ceaaa78c15334d32351382d6e56919b1fd6c1de274e2cd9d08648c0ab4a385e8c62ec38b6c8c6a86a4 matchbox-desktop-525e271308bd21307abaf2c972610219351edff5.tar.gz"
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="An on screen virtual keyboard"
url="http://matchbox-project.org/"
arch="all"
license="GPL"
license="GPL-2.0-only"
depends="libfakekey libxft"
makedepends="autoconf automake libtool libxft-dev libxtst-dev"
source="$pkgname-$pkgver.tar.bz2::http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-keyboard/snapshot/matchbox-keyboard-$pkgver.tar.bz2"
......
Description: Fix FTBFS with binutils-gold (#555590)
Author: Bhavani Shankar R <bhavi@ubuntu.com>
Last-Update: 2010-12-28
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@
matchbox_panel_manager_SOURCES = \
mbpanelmgr.c
-matchbox_panel_manager_LDADD = @MBPANELMGR_LIBS@
+matchbox_panel_manager_LDADD = @MBPANELMGR_LIBS@ -lX11
desktopdir = $(datadir)/applications/
pixmapsdir = $(datadir)/pixmaps/
--- a/Makefile.in
+++ b/Makefile.in
@@ -119,7 +119,7 @@
mbpanelmgr.c
-matchbox_panel_manager_LDADD = @MBPANELMGR_LIBS@
+matchbox_panel_manager_LDADD = @MBPANELMGR_LIBS@ -lX11
desktopdir = $(datadir)/applications/
pixmapsdir = $(datadir)/pixmaps/
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=matchbox-panel-manager
pkgver=0.1
pkgrel=0
pkgdesc="Panel manager for matchbox-panel"
url="http://matchbox-project.org"
arch="all"
license="GPL-2.0-only"
depends="startup-notification gdk-pixbuf glib gtk+2.0 libx11 expat"
makedepends="autoconf libtool automake gtk+2.0-dev libmatchbox-dev startup-notification-dev expat-dev"
source="${pkgname}_${pkgver}.orig.tar.gz::http://http.debian.net/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz
01-linking-fix.patch"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="1c860d3452e6f9feb2f602f208ed1d1245a638c3e5f2baf1ee2c0614cbf9b52519902de7fda1aabe1b3b03e8960d9b6fb2f61ac97df51a97fe3208aceea34ec2 matchbox-panel-manager_0.1.orig.tar.gz
5105da67046fd9a62ca9cab70ecc7bfe1319463719d365b3325594b8c71b84234aade023634fdf2c9ca7fdb8802c9cd8d72b3f43819c93b27181c681a024f091 01-linking-fix.patch"
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=matchbox-panel
pkgver=0_git20100816
pkgrel=0
_commit=886605280c1032f76e382f68f9a1d2e57012f4db
pkgdesc="Simple GTK+2-based panel for handheld devices"
url="http://matchbox-project.org"
arch="all"
license="GPL-2.0-only"
depends="libmatchbox startup-notification libx11 libxext matchbox-common libjpeg-turbo"
makedepends="libmatchbox-dev startup-notification-dev libx11-dev autoconf automake libtool libjpeg-turbo-dev"
source="$pkgname-$_commit.tar.gz::https://git.yoctoproject.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
options="!check"
build() {
cd "$builddir"
autoreconf --install
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-startup-notification \
--enable-expat
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="6a5d9bdd612d7149e9852f9b3672fb39248fc116a0a74e0680ced67e6ca784a1596ebf3ec62a8657d44a7056e0d9781f303461e6c8cea442935da50918fff04e matchbox-panel-886605280c1032f76e382f68f9a1d2e57012f4db.tar.gz"
Description: Build all themes
--- matchbox-window-manager-1.2-osso21.orig/matchbox-window-manager/data/themes/Makefile.am
+++ matchbox-window-manager-1.2-osso21/matchbox-window-manager/data/themes/Makefile.am
@@ -1,5 +1,5 @@
if WANT_STANDALONE
SUBDIRS =
else
-SUBDIRS = Default
+SUBDIRS = Default blondie bluebox borillo MBOpus
endif
Description: Fix pkg-config use
--- a/matchbox-window-manager/configure.ac
+++ b/matchbox-window-manager/configure.ac
@@ -423,7 +423,7 @@
if test x$enable_standalone != xyes && test x$enable_standalone_xft != xyes; then
AC_MSG_CHECKING([for libmb xsettings support])
- if $PKG_CONFIG --libs libmb | grep -i xsettings ; then
+ if $PKG_CONFIG --static --libs libmb | grep -i xsettings ; then
mb_have_xsettings="yes"
AC_DEFINE(USE_XSETTINGS, [1], [Use XSettings])
AC_MSG_RESULT([yes])
Description: Revert to old version of theme.xml for Default theme (current upstream version doesn't work)
--- a/matchbox-window-manager/data/themes/Default/theme.xml
+++ b/matchbox-window-manager/data/themes/Default/theme.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<theme name="Default" author="Nokia"
+<theme name="Default" author="Matthew Allum - mallum@handhelds.org"
desc="" version="1.0" engine_version="1" >
<color id="white" def="#ffffff" />
@@ -31,37 +31,55 @@
<pixmap id="closebutton" filename="closebutton.xpm" />
<pixmap id="menubutton" filename="menubutton.xpm" />
+<frame id="main" height="20">
+ <layer x="0" y="0" w="100%" h="100%"
+ type="plain" color="borderdark" />
+
+ <layer x="1" y="1" w="100%-2" h="1"
+ type="plain" color="borderlight" />
+
+ <layer x="1" y="2" w="100%-2" h="13"
+ type="gradient-vert" startcol="grad1" endcol="grad2"/>
+
+ <layer x="1" y="2" w="100%-2" h="17"
+ type="plain" color="grad3"/>
-<!-- Main windows title bar. You need to define its height -->
-<frame id="main" height="60">
+ <layer x="22" y="3" w="100%-44" h="14"
+ type="plain" color="menuhl"/>
- <layer x="0" y="0" w="720" h="60"
- type="plain" color="borderdark"/>
+ <layer x="22" y="3" w="1" h="1" type="plain" color="grad3"/>
+ <layer x="22" y="16" w="1" h="1" type="plain" color="grad3"/>
+ <layer x="100%-23" y="3" w="1" h="1" type="plain" color="grad3"/>
+ <layer x="100%-23" y="16" w="1" h="1" type="plain" color="grad3"/>
- <layer x="35" y="12" w="283" h="30"
- type="label" color="textcol" justify="left" font="titlefont" />
+ <layer x="1" y="19" w="2" h="1"
+ type="plain" color="grad3" />
+
+ <layer x="100%-3" y="19" w="2" h="1"
+ type="plain" color="grad3" />
- <!-- Define the area that launches application menu -->
- <button x="3" y="0" w="315" h="60" action="custom" options="inputonly,pressonly" />
+ <!-- <layer x="6" y="2" w="16" h="16" type="icon" />-->
- <!-- Define the status bar applet panel -->
- <panel x="-372" y="2" w="280" h="40" />
+ <layer x="26" y="3" w="100%-60" h="20"
+ type="label" color="textcol" justify="left" font="titlefont" />
- <!-- Define minimize and close buttons -->
- <button x="-80" y="2" w="40" h="40" action="minimize" >
- <active pixmap="closebutton" blend="-150"/>
- <inactive pixmap="closebutton"/>
+
+ <button x="100%-20" y="0" w="16" h="20" action="close" >
+ <active pixmap="closebutton" blend="-150"/>
+ <inactive pixmap="closebutton" />
</button>
- <button x="-40" y="2" w="40" h="40" action="close" >
- <active pixmap="menubutton" blend="-150" />
- <inactive pixmap="menubutton"/>
+ <button x="4" y="0" w="16" h="20" action="menu" >
+ <active pixmap="menubutton" blend="-150"/>
+ <inactive pixmap="menubutton" />
</button>
- </frame>
+ <button x="labelx" y="0" w="labelw" h="20"
+ action="menu" options="inputonly" /> -
+
+</frame>
- <!--
<frame id="main-east" width="4" >
<layer x="0" y="0" w="100%" h="100%"
@@ -100,7 +118,6 @@
type="plain" color="borderlight" />
</frame>
--->
<frame id="dialog" height="20" >
@@ -244,7 +261,7 @@
</frame>
-<!--
+
<frame id="menu"
border_north="2"
border_south="3"
@@ -268,7 +285,7 @@
type="plain" color="trans" />
</frame>
--->
+
<shadow style="simple" dx="3" dy="3" color="shadowcol"/>
-</theme>
+</theme>
\ No newline at end of file
Description: Install all themes
--- a/matchbox-window-manager/configure.ac
+++ b/matchbox-window-manager/configure.ac
@@ -501,7 +501,11 @@
src/Makefile
data/Makefile
data/themes/Makefile
+data/themes/blondie/Makefile
+data/themes/bluebox/Makefile
+data/themes/borillo/Makefile
data/themes/Default/Makefile
+data/themes/MBOpus/Makefile
data/schemas/Makefile
])
Description: Fix FTBFS with binutils-gold
Add -lX11, -lXext, -lXsettings-client to LDADD settings. Closes: #555591.
Author: Moray Allan <moray@debian.org>
Bug-Debian: http://bugs.debian.org/555591
--- a/matchbox-window-manager/src/Makefile.am
+++ b/matchbox-window-manager/src/Makefile.am
@@ -16,11 +16,11 @@
INCLUDES = -DDATADIR=\"$(DATADIR)\" -DCONFDIR=\"$(CONFDIR)\" -DPKGDATADIR=\"$(PKGDATADIR)\" -DPREFIX=\"$(PREFIXDIR)\" $(LIBMB_CFLAGS) $(COMPO_CFLAGS) $(EXPAT_CFLAGS) $(SN_CFLAGS) $(GCONF_CFLAGS) $(XFIXES_CFLAGS) $(XCURSOR_CFLAGS)
-matchbox_remote_LDADD = $(LIBMB_LIBS)
+matchbox_remote_LDADD = $(LIBMB_LIBS) -lX11 -lXext -lXsettings-client
matchbox_remote_SOURCES = matchbox-remote.c
-matchbox_window_manager_LDADD = $(LIBMB_LIBS) $(COMPO_LIBS) $(EXPAT_LIBS) $(SN_LIBS) $(GCONF_LIBS) $(XFIXES_LIBS) $(XCURSOR_LIBS)
+matchbox_window_manager_LDADD = $(LIBMB_LIBS) $(COMPO_LIBS) $(EXPAT_LIBS) $(SN_LIBS) $(GCONF_LIBS) $(XFIXES_LIBS) $(XCURSOR_LIBS) -lX11 -lXext -lXsettings-client
matchbox_window_manager_SOURCES = \
main.c structs.h wm.c wm.h \
Description: Fix typo and tidy program help text.
--- matchbox-window-manager-1.2-osso21.orig/matchbox-window-manager/src/wm.c
+++ matchbox-window-manager-1.2-osso21/matchbox-window-manager/src/wm.c
@@ -194,7 +194,7 @@ wm_usage(char *progname)
printf("\t-use_dialog_mode <free|static|const-horiz>\n");
printf("\t-use_desktop_mode <decorated|plain>\n");
printf("\t-use_super_modal <yes|no>\n");
- printf("\t-force_dialogs <comma seperated list of window titles>\n");
+ printf("\t-force_dialogs <comma separated list of window titles>\n");
#ifndef NO_KBD
printf("\t-kbdconfig <path to option key shortcuts config file>\n");
#endif
@@ -203,7 +203,7 @@ wm_usage(char *progname)
#endif
#ifdef STANDALONE
- printf("\t-titlebar_panel <x11 geometry>\n");
+ printf("\t-titlebar_panel <X11 geometry>\n");
#endif
printf("\n");
printf("Compile time features;\n");
@@ -244,15 +244,15 @@ wm_usage(char *progname)
#endif
#ifdef MB_HAVE_JPEG
- printf("\tJPG support yes\n");
+ printf("\tJPEG support yes\n");
#else
- printf("\tJPG support no\n");
+ printf("\tJPEG support no\n");
#endif
#ifdef MB_HAVE_PANGO
- printf("\tpango support yes\n");
+ printf("\tPango support yes\n");
#else
- printf("\tpango support no\n");
+ printf("\tPango support no\n");
#endif
#ifndef STANDALONE
@@ -268,15 +268,15 @@ wm_usage(char *progname)
#endif
#ifdef USE_COMPOSITE
- printf("\tcomposite support yes\n");
+ printf("\tComposite support yes\n");
#else
- printf("\tcomposite support no\n");
+ printf("\tComposite support no\n");
#endif
#ifndef NO_PING
- printf("\tping protocol support yes\n");
+ printf("\tPing protocol support yes\n");
#else
- printf("\tping protocol support no\n");
+ printf("\tPing protocol support no\n");
#endif
#ifndef NO_XRM
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=matchbox-window-manager
pkgver=1.2
_pkgrel=osso21
pkgrel=0
_pkgver=$pkgver-$_pkgrel
pkgdesc="Window manager intended for non-desktop embedded platforms such as handhelds and set-top boxes"
url="http://matchbox-project.org"
arch="all"
license="GPL-2.0-only"
depends="libxsettings-client libmatchbox startup-notification libpng expat libx11 libxext jpeg"
makedepends="expat-dev autoconf automake libtool libmatchbox-dev libx11-dev libxext-dev libxt-dev libxft-dev gconf-dev libxsettings-dev libxsettings-client-dev startup-notification-dev jpeg-dev"
source="${pkgname}_${_pkgver}.orig.tar.gz::http://http.debian.net/debian/pool/main/m/${pkgname}/${pkgname}_${_pkgver}.orig.tar.gz
01-build-themes.patch
02-config.patch
03-default-theme.patch
04-install-themes.patch
05-makefile.patch
06-tidy-help-text.patch"
builddir="$srcdir/$pkgname-$pkgver/"
options="!check"
build() {
cd "$builddir/$pkgname"
autoreconf --install
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/ \
--enable-startup-notification \
--enable-expat \
make
}
package() {
cd "$builddir/$pkgname"
make DESTDIR="$pkgdir" install
}
sha512sums="65fa98288dc98f3c68ba2a2159957ef22afa00382bfb7bb759ce2fbed38cd2b5c24eac706f47823c85c516dc960e326d38df3bc3077a12890c58376e6f4ae717 matchbox-window-manager_1.2-osso21.orig.tar.gz
874caea7009095cbdd5c3f8c3634921e74e7866546d597fb3d6ed2180afeef52c7ff76ebb8eaed3339fdae2b999e20892e758602fd36f176905a70f3965851a6 01-build-themes.patch
1a2b3c1800fa0a1e32521552a44cac058ec18ec0d2e3cd791312bd9c3687b90dfe678aa9274790948dee7aa13e61fefb5e1eaa589926cefa38138295938a03bf 02-config.patch
c4f1c68602f8e5cfe4c432de4afdcfce4fb54f402ad2a0cf7ccbe50acfe57ac30582e3f8832df0726a1f2f1900a5ad1215e3317d49800766a44dcb241fc21d88 03-default-theme.patch
a0c9ac95a38c1d793b85e51d022317f6b840f5913c3bc46d32c981612a759488bf89b68fcb4851aa7f4ff9c61d328018f5b9a047929a6e13333708e919c43ef5 04-install-themes.patch
8ed4217371f1ddbf45b457d94ea953b36a253e557e834f405ed29d72bbcda3309719b58ea04999eccaa30629b9dced44a3f290f81ffeb40498577d10308a1bc9 05-makefile.patch
d32452203c6534d6d673962ed83ba70c03e3a7eedd9bef66e111e08466331103539c07edb89605f134bd7c427f6a221cbd42243d5d410c57c0cab61b9344b98b 06-tidy-help-text.patch"
# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=mb-applet-input-manager
pkgver=0_git20051017
pkgrel=0
_commit=844b360d74f4ae6a1cc20cb32bb205c03c94ae2b
pkgdesc="Tray application for Matchbox to manage software-based input methods"
url="http://matchbox-project.org"
arch="all"
license="GPL-2.0-only"
depends="libmatchbox libjpeg-turbo"
makedepends="autoconf automake libtool libmatchbox-dev libjpeg-turbo-dev"
source="$pkgname-$_commit.tar.gz::https://git.yoctoproject.org/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
options="!check"
build() {
cd "$builddir"
./autogen.sh
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}