ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] [Patch] Add Matchbox for Ltib


From: Stuart Hughes
Subject: Re: [Ltib] [Patch] Add Matchbox for Ltib
Date: Tue, 25 Aug 2009 15:57:04 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Roger,

I've uploaded all the package content to the GPP. I've attached the patch I propose to check-in for you to review. The most significant change I've made to what you submitted is in packages.lkc, I've grouped together all the window manager selections into a choice list.

There are some other changes that I found I needed during testing. First, I've updated PKG_CONFIG_PATH which was wrong when building host packages (edje_cc needed for enlightenment target builds). Also I fixed a bug whereby build_deps were being used for reverse re-install package triggers. This is incorrect (only need to reverse install_deps), this showed up when switching between window managers (gratuitous re-install of tslib triggering a xorg-server rebuild).

Can you check that this still works for you and you are okay with the changes. Also can you check that for matchbox that it has the defaults you want. For example if someone select matchbox as their window manager, currently only matchbox-window-manager and (via select) libmatchbox are selected. If you wanted others to be on by default then you can set that with the appropriate 'default y' setting (see enlightenment).

Regards, Stuart

Stuart Hughes wrote:
Hi Rogerio,

Thanks for confirming. No need to send a new patch, I'll make the minor changes by hand.

Regards, Stuart

Rogério de Souza Moraes wrote:
Hi Stuart,

I think its a better name in the menu, I will change it to |Matchbox Window Manager. I checked all licenses my self. I am sure they are correctly. Monday I will do the changes and send it for you!

Thanks!

2009/8/15 Stuart Hughes <address@hidden <mailto:address@hidden>>

    Hi Rogerio,

    In the section in the patch that says:

    +if PKG_XORG_SERVER
    +menu "Window Manager"
    +

    Would you mind if I change it to be:  menu "Matchbox Window Manager"
    as there is already another window manager (twm).  I will change
    twm's comment too to make it more clear it is an X window manager.

    Can you also confirm that you've carefully checked the licenses
    entered in the new .spec files, I'm a bit paranoid about that.

    Thanks again,  Stuart



    Stuart Hughes wrote:

        Hi Rogério,

        Thanks for the patch, as soon as I get a chance (maybe in a
        weeks time)  I'll take a look (I've got my kids over for the
        next week).

        Regards, Stuart

        Rogério de Souza Moraes wrote:

            Hi Stuart,

            I work with Alan Carvalho and we finished a patch that adds
            the Matchbox Window Manager for Ltib. The patch is attached.




_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib

Index: ltib
===================================================================
RCS file: /sources/ltib/ltib/ltib,v
retrieving revision 1.42
diff -u -r1.42 ltib
--- ltib        16 Jul 2009 16:20:09 -0000      1.42
+++ ltib        25 Aug 2009 14:55:07 -0000
@@ -502,6 +502,10 @@
 # make sure the root prefix for rpm is never set to / by the user
 $cf->{rpmroot} = $cf->{rfsbase} = "$cf->{bldbase}/rootfs";
 
+# set the default pkg_config_path, needs to be overridden for host package
+# builds (edje for example)
+$cf->{pkg_config_path} = "$cf->{rpmroot}/usr/lib/pkgconfig";
+
 # make sure that the user has reviewed basic application configuration
 check_app_is_configed();
 
@@ -1339,7 +1343,8 @@
     my $sav = {};
     my @sav_list = qw/rpmroot rpmipfx prefix sysconfdir rpmdir rpmdb tmppath
                       nodeps force hostinst reinstall dodrop sn _rpmdir
-                      preconfig enrootn something_got_built plat_dir/;
+                      preconfig enrootn something_got_built plat_dir
+                      pkg_config_path/;
     foreach my $k (@sav_list) {
         $sav->{$k} = $cf->{$k};
     }
@@ -1358,6 +1363,7 @@
     $cf->{reinstall}     = 0;
     $cf->{enrootn}       = 0;
     $cf->{plat_dir}      = "config/platform/host";
+    $cf->{pkg_config_path}= "$cf->{defpfx}/usr/lib/pkgconfig";
 
     # pull in and parse the host platform config
     if($host_pkg_dev == 1) {
@@ -1512,7 +1518,7 @@
     $ENV{DYNAMIC_LINKER} = $pcf->{DYNAMIC_LINKER} || "";
     $ENV{LIBC_HACKING} = $pcf->{LIBC_HACKING} || "";
     $ENV{TOOLCHAIN_CFLAGS} = $pcf->{TOOLCHAIN_CFLAGS} || "";
-    $ENV{PKG_CONFIG_PATH} = "$cf->{rpmroot}/usr/lib/pkgconfig" || "";
+    $ENV{PKG_CONFIG_PATH} = $cf->{pkg_config_path};
     $ENV{PKG_DIRECTFB}    = $pcf->{PKG_DIRECTFB} || "";
     $ENV{LTIB_BATCH}      = $cf->{batch} || "";
     $ENV{PKG_BUSYBOX}    = $pcf->{PKG_BUSYBOX} || "";
@@ -1749,7 +1755,7 @@
 {
     return if defined $rev_install_deps;
 
-    foreach my $hr ($build_deps, $install_deps) {
+    foreach my $hr ($install_deps) {
         foreach my $k ( keys %$hr ) {
             foreach my $dep ( @{$hr->{$k}} ) {
                 push @{$rev_install_deps->{$dep}}, $k;
Index: config/userspace/packages.lkc
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/packages.lkc,v
retrieving revision 1.32
diff -u -r1.32 packages.lkc
--- config/userspace/packages.lkc       25 Aug 2009 09:17:31 -0000      1.32
+++ config/userspace/packages.lkc       25 Aug 2009 14:55:12 -0000
@@ -658,110 +658,6 @@
       You should install the e2fsprogs package if you need to manage the
       performance of an ext2 filesystem.
 
-menu "Enlightenment window manager packages"
-choice
-    prompt "Enlightenment"
-    default CHOICE_ENLIGHTENMENT_NONE
-    help
-      Enlightenment is a X11 Window manager 
-    config CHOICE_ENLIGHTENMENT_NONE
-        bool "Do not install"
-    config CHOICE_ENLIGHTENMENT
-        bool "Install"
-endchoice
-
-    config PKG_ENLIGHTENMENT
-        depends CHOICE_ENLIGHTENMENT
-        select PKG_ECORE
-        select PKG_EFREET
-        select PKG_EMBRYO
-        select PKG_EET
-        select PKG_EVAS
-        select PKG_LIBXEXT
-        select PKG_LIBX11
-        bool "enlightenment"
-        default y
-        help
-          The Enlightenment 0.17 window manager.
-    config PKG_ECORE
-        depends CHOICE_ENLIGHTENMENT
-        depends PKG_EET
-        bool "ecore"
-        default y
-        help
-          Ecore is the event/X abstraction layer that makes doing selections,
-          Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
-          optimized, and convenient. It's a separate library so anyone can make
-          use of the work put into Ecore to make this job easy for 
applications.
-    config PKG_EDB
-        depends CHOICE_ENLIGHTENMENT
-        bool "edb"
-        default y
-        help
-          This is a database convenience library base on db 2.7.7 from
-          http://www.sleepycat.com (see src/LICENSE for license details). It is
-          intended to make accessing database information portable, easy, fast
-          and efficient as well as bypass the proplem of libdb continuously 
-          changing formats.
-    config PKG_EDJE
-        depends CHOICE_ENLIGHTENMENT
-        depends PKG_ECORE
-        depends PKG_EMBRYO
-        depends PKG_EVAS
-        bool "edje"
-        default y
-        help
-          A graphical layout and animation library for animated resizable,
-          compressed and scalable themes.
-    config PKG_EET
-        depends CHOICE_ENLIGHTENMENT
-        select PKG_LIBJPEG
-        select PKG_ZLIB
-        bool "eet"
-        default y
-        help
-          Eet is a library for speedy data storage, retrieval, and compression.
-    config PKG_EFREET
-        depends CHOICE_ENLIGHTENMENT
-        depends PKG_ECORE
-        bool "efreet"
-        default y
-        help
-          An implementation of several specifications from freedesktop.org
-          intended for use in Enlightenment DR17 (e17) and other applications
-          using the Enlightenment Foundation Libraries (EFL).
-    config PKG_EMBRYO
-        depends CHOICE_ENLIGHTENMENT
-        bool "embryo"
-        default y
-        help
-          API to load and control interpreted programs compiled into an 
abstract
-          machine bytecode that it understands.
-    config PKG_EMOTION
-        depends CHOICE_ENLIGHTENMENT
-        depends PKG_EVAS
-        depends PKG_EDJE
-        depends PKG_ECORE
-        bool "emotion"
-        default y
-        help
-          Media integration library for Enlightenment          
-    config PKG_EVAS
-        depends CHOICE_ENLIGHTENMENT
-        select PKG_FREETYPE
-        bool "evas"
-        default y
-        help
-          Evas is a clean display canvas API for several target display 
systems.
-    config PKG_EXPEDITE
-        depends CHOICE_ENLIGHTENMENT
-        depends PKG_EVAS
-        bool "expedite"
-        default y
-        help
-          This is meant to be a detailed and comprehensive benchmark suite
-          for Evas.
-endmenu
 
 config PKG_ED
     depends CAP_HAS_MMU
@@ -1581,6 +1477,13 @@
       file format. It lets you poke around in the various different
       sections of an ELF file, check out the symbols, etc.
 
+config PKG_LIBFAKEKEY
+     select PKG_LIBXTST
+     bool "libfakekey"
+     help
+       libfakekey is a simple library for converting UTF-8 characters into
+       'fake' X key-presses.
+
 config PKG_LIBNET
     bool "libnet"
     help
@@ -3167,7 +3070,7 @@
 endchoice
 endif
 
-menu "X11 libraries and packages"
+menu "X11 libraries and support packages"
 config PKG_RANDRPROTO
     bool "randrproto"
     help
@@ -3371,6 +3274,13 @@
     help
       X.Org X11 libXfixes runtime library
 
+config PKG_LIBXFT
+    depends CAP_HAS_MMU
+    select PKG_FONTCONFIG
+    bool "libXft"
+    help
+      X.Org X11 libXft runtime library
+
 config PKG_LIBXCURSOR
     depends CAP_HAS_MMU
     select PKG_LIBXI
@@ -3381,6 +3291,12 @@
     help
       X.Org X11 libXfixes runtime library
 
+config PKG_LIBXTST
+    depends CAP_HAS_MMU
+    bool "libXtst"
+    help
+      X.Org X11 libXtst runtime library
+
 config PKG_LIBXXF86DGA
     depends CAP_HAS_MMU
     bool "libXxf86dga"
@@ -3408,14 +3324,180 @@
     help
       Xorg X11 keyboard input driver
 
-config PKG_XORG_X11_TWM
-    depends CAP_HAS_MMU
-    depends PKG_XORG_SERVER
-    select PKG_LIBXMU
-    bool "twm"
-    help
-      X.Org X11 twm window manager
+endmenu
+
+
+if PKG_XORG_SERVER
+
+choice
+    prompt "Window Managers"
+    default CHOICE_TWM
 
+    config CHOICE_TWM
+        select PKG_XORG_X11_TWM
+        bool "twm"
+    config CHOICE_ENLIGHTENMENT
+        select PKG_ENLIGHTENMENT
+        bool "enlightenment"
+    config CHOICE_MATCHBOX
+        select PKG_MATCHBOX_WINDOW_MANAGER
+        bool "matchbox"
+endchoice
+
+if CHOICE_TWM
+    config PKG_XORG_X11_TWM
+        depends CAP_HAS_MMU
+        select PKG_LIBXMU
+        bool "twm window manager"
+        help
+          X.Org X11 twm window manager
+endif
+if CHOICE_ENLIGHTENMENT
+    config PKG_ENLIGHTENMENT
+        select PKG_ECORE
+        select PKG_EFREET
+        select PKG_EMBRYO
+        select PKG_EET
+        select PKG_EVAS
+        select PKG_LIBXEXT
+        select PKG_LIBX11
+        bool "enlightenment"
+        default y
+        help
+          The Enlightenment 0.17 window manager.
+    config PKG_ECORE
+        depends PKG_EET
+        bool "ecore"
+        default y
+        help
+          Ecore is the event/X abstraction layer that makes doing selections,
+          Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
+          optimized, and convenient. It's a separate library so anyone can make
+          use of the work put into Ecore to make this job easy for 
applications.
+    config PKG_EDB
+        bool "edb"
+        default y
+        help
+          This is a database convenience library base on db 2.7.7 from
+          http://www.sleepycat.com (see src/LICENSE for license details). It is
+          intended to make accessing database information portable, easy, fast
+          and efficient as well as bypass the proplem of libdb continuously 
+          changing formats.
+    config PKG_EDJE
+        depends PKG_ECORE
+        depends PKG_EMBRYO
+        depends PKG_EVAS
+        bool "edje"
+        default y
+        help
+          A graphical layout and animation library for animated resizable,
+          compressed and scalable themes.
+    config PKG_EET
+        select PKG_LIBJPEG
+        select PKG_ZLIB
+        bool "eet"
+        default y
+        help
+          Eet is a library for speedy data storage, retrieval, and compression.
+    config PKG_EFREET
+        depends PKG_ECORE
+        bool "efreet"
+        default y
+        help
+          An implementation of several specifications from freedesktop.org
+          intended for use in Enlightenment DR17 (e17) and other applications
+          using the Enlightenment Foundation Libraries (EFL).
+    config PKG_EMBRYO
+        bool "embryo"
+        default y
+        help
+          API to load and control interpreted programs compiled into an 
abstract
+          machine bytecode that it understands.
+    config PKG_EMOTION
+        depends PKG_EVAS
+        depends PKG_EDJE
+        depends PKG_ECORE
+        select PKG_GSTREAMER_CORE
+        bool "emotion"
+        default y
+        help
+          Media integration library for Enlightenment          
+    config PKG_EVAS
+        select PKG_FREETYPE
+        bool "evas"
+        default y
+        help
+          Evas is a clean display canvas API for several target display 
systems.
+    config PKG_EXPEDITE
+        depends PKG_EVAS
+        bool "expedite"
+        default y
+        help
+          This is meant to be a detailed and comprehensive benchmark suite
+          for Evas.
+endif
+if CHOICE_MATCHBOX
+    config PKG_LIBMATCHBOX
+        depends CAP_HAS_MMU
+        select PKG_LIBXFT
+        select PKG_LIBPNG
+        select PKG_LIBJPEG
+        bool "libmatchbox"
+        help
+          A small basic library that provides a large amount of shared 
functionality
+          to the various matchbox librarys. Provides image processing, font 
abstraction,
+           a tray app toolkit and more.
+    
+    config PKG_MATCHBOX_COMMON
+        depends CAP_HAS_MMU
+        select PKG_LIBMATCHBOX
+        bool "matchbox-common"
+        help
+          A package containing shared icons and configuration data of matchbox.
+    
+    config PKG_MATCHBOX_DESKTOP
+        depends CAP_HAS_MMU
+        select PKG_LIBMATCHBOX
+        bool "matchbox-desktop"
+        help
+          A PDA style application launcher or 'item browser'. Its 
functionality can
+          be extended by means of dynamically loadable plugins.
+    
+    config PKG_MATCHBOX_KEYBOARD
+        depends CAP_HAS_MMU
+        select PKG_LIBMATCHBOX
+        select PKG_LIBFAKEKEY
+        bool "matchbox-keyboard"
+        help
+          A Software based 'virtual' keyboard.
+    
+    config PKG_MATCHBOX_PANEL
+        depends CAP_HAS_MMU
+        select PKG_LIBMATCHBOX
+        select PKG_LIBFAKEKEY
+        bool "matchbox-panel"
+        help
+          A flexible always present 'window bar' for holding application 
launchers and 
+          small 'applet' style applications. A number of applets are included 
in the module.
+    
+    config PKG_MATCHBOX_WINDOW_MANAGER
+        depends CAP_HAS_MMU
+        select PKG_LIBMATCHBOX
+        bool "matchbox-window-manager"
+        default y
+        help
+          A pretty much unique X window manager with a classic PDA management 
policy. The 
+          most developed and mature Matchbox application.
+    
+    config PKG_MB_APPLET_INPUT_MANAGER
+        depends CAP_HAS_MMU
+        select PKG_LIBMATCHBOX
+        bool "mb-applet-input-manager"
+        help
+          Input manager for the Matchbox Desktop.
+endif
+
+comment "X applications"
 config PKG_XTERM
     depends CAP_HAS_MMU
     depends PKG_XORG_SERVER
@@ -3424,8 +3506,7 @@
     help
       Terminal emulator for the X Window System
 
-
-endmenu
+endif
 
 endmenu
 
Index: config/userspace/pkg_map
===================================================================
RCS file: /sources/ltib/ltib/config/userspace/pkg_map,v
retrieving revision 1.20
diff -u -r1.20 pkg_map
--- config/userspace/pkg_map    24 Aug 2009 10:13:07 -0000      1.20
+++ config/userspace/pkg_map    25 Aug 2009 14:55:12 -0000
@@ -372,11 +372,23 @@
 PKG_LIBXI                        = libXi
 PKG_LIBXFIXES                    = libXfixes
 PKG_LIBXCURSOR                   = libXcursor
+PKG_LIBXFT                       = libXft
+PKG_LIBXTST                      = libXtst
+PKG_LIBFAKEKEY                   = libfakekey
 
 # dillo2 web browser
 PKG_FLTK2                        = fltk2
 PKG_DILLO2                       = dillo2
 
+# matchbox
+PKG_LIBMATCHBOX                  = libmatchbox
+PKG_MATCHBOX_COMMON              = matchbox-common
+PKG_MATCHBOX_KEYBOARD            = matchbox-keyboard
+PKG_MATCHBOX_DESKTOP             = matchbox-desktop
+PKG_MATCHBOX_PANEL               = matchbox-panel
+PKG_MATCHBOX_WINDOW_MANAGER      = matchbox-window-manager
+PKG_MB_APPLET_INPUT_MANAGER      = mb-applet-input-manager
+
 # leave these as the last 3 packages in the build order
 PKG_SYSCONFIG                    = sysconfig
 PKG_MERGE                        = merge
Index: dist/lfs-5.1/libXft/libXft.spec
===================================================================
RCS file: dist/lfs-5.1/libXft/libXft.spec
diff -N dist/lfs-5.1/libXft/libXft.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/libXft/libXft.spec     25 Aug 2009 14:55:12 -0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : X.Org X11 libXft runtime library
+Name            : libXft
+Version         : 2.1.13
+Release         : 1
+License         : MIT
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System Environment/Libraries
+URL             : http://www.x.org/
+Source          : %{name}-%{version}.tar.bz2
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+X.Org X11 libXft runtime library
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/libXtst/libXtst.spec
===================================================================
RCS file: dist/lfs-5.1/libXtst/libXtst.spec
diff -N dist/lfs-5.1/libXtst/libXtst.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/libXtst/libXtst.spec   25 Aug 2009 14:55:12 -0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : X.Org X11 libXtst runtime library
+Name            : libXtst
+Version         : 1.0.3
+Release         : 1
+License         : MIT
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System Environment/Libraries
+URL             : http://www.x.org/
+Source          : %{name}-%{version}.tar.bz2
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+X.Org X11 libXtst runtime library
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build} 
--enable-malloc0returnsnull
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/libfakekey/libfakekey.spec
===================================================================
RCS file: dist/lfs-5.1/libfakekey/libfakekey.spec
diff -N dist/lfs-5.1/libfakekey/libfakekey.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/libfakekey/libfakekey.spec     25 Aug 2009 14:55:12 -0000
@@ -0,0 +1,39 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : Library for converting characters to X key-presses
+Name            : libfakekey
+Version         : 0.1
+Release         : 1
+License         : LGPLv2+
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System Environment/Libraries
+URL             : http://projects.o-hand.com/matchbox/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+libfakekey is a simple library for converting UTF-8 characters into
+\'fake\' X key-presses. 
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/libmatchbox/libmatchbox.spec
===================================================================
RCS file: dist/lfs-5.1/libmatchbox/libmatchbox.spec
diff -N dist/lfs-5.1/libmatchbox/libmatchbox.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/libmatchbox/libmatchbox.spec   25 Aug 2009 14:55:12 -0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : LibMatchBox
+Name            : libmatchbox
+Version         : 1.9
+Release         : 1
+License         : LGPL
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : Development/Libraries
+URL             : http://matchbox-project.org/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+A small basic library that provides a large amount of shared functionality to 
the various matchbox librarys. Provides image processing, font abstraction, a 
tray app toolkit and more. It is licensed under LGPL.
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/matchbox-common/matchbox-common.spec
===================================================================
RCS file: dist/lfs-5.1/matchbox-common/matchbox-common.spec
diff -N dist/lfs-5.1/matchbox-common/matchbox-common.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/matchbox-common/matchbox-common.spec   25 Aug 2009 14:55:12 
-0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : MatchBox Common
+Name            : matchbox-common
+Version         : 0.9.1
+Release         : 1
+License         : GPL
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System/Libraries
+URL             : http://matchbox-project.org/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+A package containing shared icons and configuration data.
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/matchbox-desktop/matchbox-desktop.spec
===================================================================
RCS file: dist/lfs-5.1/matchbox-desktop/matchbox-desktop.spec
diff -N dist/lfs-5.1/matchbox-desktop/matchbox-desktop.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/matchbox-desktop/matchbox-desktop.spec 25 Aug 2009 14:55:12 
-0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : MatchBox Desktop
+Name            : matchbox-desktop
+Version         : 0.9.1
+Release         : 1
+License         : GPL
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System/Libraries
+URL             : http://matchbox-project.org/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+A PDA style application launcher or 'item browser'. Its functionality can be 
extended by means of dynamically loadable plugins. 
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/matchbox-keyboard/matchbox-keyboard.spec
===================================================================
RCS file: dist/lfs-5.1/matchbox-keyboard/matchbox-keyboard.spec
diff -N dist/lfs-5.1/matchbox-keyboard/matchbox-keyboard.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/matchbox-keyboard/matchbox-keyboard.spec       25 Aug 2009 
14:55:12 -0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : MatchBox Keyboard 
+Name            : matchbox-keyboard
+Version         : 0.1
+Release         : 1
+License         : GPL
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System/Libraries
+URL             : http://matchbox-project.org/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+A Software based 'virtual' keyboard.
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/matchbox-panel/matchbox-panel.spec
===================================================================
RCS file: dist/lfs-5.1/matchbox-panel/matchbox-panel.spec
diff -N dist/lfs-5.1/matchbox-panel/matchbox-panel.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/matchbox-panel/matchbox-panel.spec     25 Aug 2009 14:55:12 
-0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : MatchBox Panel
+Name            : matchbox-panel
+Version         : 0.9.1
+Release         : 1
+License         : GPL
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System/Libraries
+URL             : http://matchbox-project.org/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+A flexible always present 'window bar' for holding application launchers and 
small 'applet' style applications. A number of applets are included in the 
module. 
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/matchbox-window-manager/matchbox-window-manager.spec
===================================================================
RCS file: dist/lfs-5.1/matchbox-window-manager/matchbox-window-manager.spec
diff -N dist/lfs-5.1/matchbox-window-manager/matchbox-window-manager.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/matchbox-window-manager/matchbox-window-manager.spec   25 Aug 
2009 14:55:12 -0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : MatchBox Window Manager
+Name            : matchbox-window-manager
+Version         : 1.1
+Release         : 1
+License         : GPL
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : System/Libraries
+URL             : http://matchbox-project.org/
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+A pretty much unique X window manager with a classic PDA management policy. 
The most developed and mature Matchbox application.
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+
Index: dist/lfs-5.1/mb-applet-input-manager/mb-applet-input-manager.spec
===================================================================
RCS file: dist/lfs-5.1/mb-applet-input-manager/mb-applet-input-manager.spec
diff -N dist/lfs-5.1/mb-applet-input-manager/mb-applet-input-manager.spec
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ dist/lfs-5.1/mb-applet-input-manager/mb-applet-input-manager.spec   25 Aug 
2009 14:55:12 -0000
@@ -0,0 +1,38 @@
+%define pfx /opt/freescale/rootfs/%{_target_cpu}
+
+Summary         : Input manager for the Matchbox Desktop
+Name            : mb-applet-input-manager
+Version         : 0.6
+Release         : 1
+License         : X11
+Vendor          : Maxtrack
+Packager        : Alan Carvalho<address@hidden>, Hamilton 
Vera<address@hidden>, Rogerio de Souza<address@hidden>
+Group           : Graphical desktop/Other
+URL             : GPLv2+
+Source          : %{name}-%{version}.tar.gz
+BuildRoot       : %{_tmppath}/%{name}
+Prefix          : %{pfx}
+
+%Description
+Input manager for the Matchbox Desktop.
+
+%Prep
+%setup
+
+%Build
+./configure --prefix=%{_prefix} --host=$CFGHOST --build=%{_build}
+make
+
+%Install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT/%{pfx}
+find $RPM_BUILD_ROOT/%{pfx}/%{_prefix}/lib/ -name "*.la" | xargs rm -f
+
+
+%Clean
+rm -rf $RPM_BUILD_ROOT
+
+%Files
+%defattr(-,root,root)
+%{pfx}/*
+

reply via email to

[Prev in Thread] Current Thread [Next in Thread]