The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Community Workspace/Omap4/Pandaboard/mer-minimal-lipstick-pandaboard-armv7hl.ks

From Mer Wiki
< Community Workspace | Omap4/Pandaboard(Difference between revisions)
Jump to: navigation, search
(remove plundstr repo, xorg-launch-helper should be in mer by now)
 
(10 intermediate revisions by one user not shown)
Line 9: Line 9:
 
  timezone --utc UTC
 
  timezone --utc UTC
 
  part /boot --size=32 --ondisk mmcblk0p --fstype=vfat --active
 
  part /boot --size=32 --ondisk mmcblk0p --fstype=vfat --active
  part / --size=3600 --ondisk mmcblk0p --fstype=ext3
+
  part / --size=1024 --ondisk mmcblk0p --fstype=ext3
 
   
 
   
 
   
 
   
Line 17: Line 17:
 
   
 
   
 
  repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/armv7hl/packages --save
 
  repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/armv7hl/packages --save
  repo --name=ce-adaptation-pandaboard --baseurl=http://repo.pub.meego.com/CE:/Adaptation:/PandaBoard/Mer_Core_armv7hl/ --save
+
  repo --name=nemo-devel-hw-ti-omap4-pandaboard --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap4:/pandaboard/latest_armv7hl/ --save
repo --name=ce-mw-shared --baseurl=http://repo.pub.meego.com/CE:/MW:/Shared/Mer_Core_armv7hl/ --save
+
  repo --name=nemo-testing-mw --baseurl=http://repo.merproject.org/obs/nemo:/testing:/mw/latest_armv7hl/ --save
repo --name=home-sage-ce-adaptation-pandaboard --baseurl=http://repo.pub.meego.com/home:/sage:/branches:/CE:/Adaptation:/PandaBoard/latest_armv7hl/ --save
+
  repo --name=nemo-testing-apps --baseurl=http://repo.merproject.org/obs/nemo:/testing:/apps/latest_armv7hl/ --save
  repo --name=ce-apps --baseurl=http://repo.pub.meego.com/CE:/Apps/CE_MW_Shared_armv7hl/ --save
+
  repo --name=nemo-testing-ux --baseurl=http://repo.merproject.org/obs/nemo:/testing:/ux/latest_armv7hl/ --save
repo --name=ce-ux-mtf --baseurl=http://repo.pub.meego.com/CE:/UX:/MTF/CE_MW_MTF_armv7hl/ --save
+
repo --name=home-plundstr-boot-study --baseurl=http://repo.pub.meego.com/home:/plundstr:/boot-study/Mer_Core_armv7hl/ --save
+
  repo --name=home-sledge--kernel-3.4.0 --baseurl=http://repo.pub.meego.com/home:/sledge:/branches:/CE:/Adaptation:/PandaBoard/Mer_Core_armv7hl/ --save
+
  repo --name=home-sledge--latest-xorg-x11-drv-omap --baseurl=http://repo.pub.meego.com/home:/sledge:/branches:/home:/sage:/branches:/CE:/Adaptation:/PandaBoard/get_3.0.4_kernel_here/ --save
+
repo --name=home-sledge--latest-pvr-omap4 --baseurl=http://repo.pub.meego.com/home:/sledge:/branches:/home:/sledge:/branches:/home:/sledge:/branches:/home:/sage:/branches:/CE:/Adaptation:/PandaBoard/get_3.4.0_kernel_here/ --save
+
repo --name=home-sledge--ugly-patched-libX11 --baseurl=http://repo.pub.meego.com/home:/sledge:/branches:/home:/rzr:/harmattan:/experimental/libX11-from-gitweb-merproject-org/ --save
+
 
   
 
   
 
  %packages
 
  %packages
Line 32: Line 26:
 
  #@Nemo Apps
 
  #@Nemo Apps
 
  #@MTF Handset UX
 
  #@MTF Handset UX
  @Mer Graphics Common
+
   
 +
# This one started pulling all Nemo Apps and other components, which break Pb for now (dreaded out-of-memory I reckon)
 +
# https://bugs.nemomobile.org/show_bug.cgi?id=651
 +
# That's why below there are so many manually 1-by-1 installed packages
 +
#@Mer Graphics Common
 +
 
  @Mer Minimal Xorg
 
  @Mer Minimal Xorg
 
  @Mer Connectivity
 
  @Mer Connectivity
Line 51: Line 50:
 
  pvr-omap4-libGLESv2
 
  pvr-omap4-libGLESv2
 
  u-boot-omap4panda
 
  u-boot-omap4panda
x-loader-omap4panda
 
 
  linux-firmware-ti-connectivity
 
  linux-firmware-ti-connectivity
 
   
 
   
Line 84: Line 82:
 
  # pull in the theme
 
  # pull in the theme
 
  meegotouch-theme
 
  meegotouch-theme
 +
 +
# Only necessary bits from Mer Graphics Common:
 +
connman-qt
 +
connman-qt-declarative
 +
contextkit-plugin-cellular
 +
contextkit-plugin-connman
 +
contextkit-plugin-upower
 +
diffutils
 +
droid-sans-fonts
 +
droid-sans-mono-fonts
 +
droid-serif-fonts
 +
giflib
 +
glib-networking
 +
gmime
 +
gst-plugins-bad-free
 +
gst-plugins-base
 +
gst-plugins-good
 +
heliumreborn
 +
info
 +
libXv
 +
libcreds3
 +
libdeclarative-gallery
 +
libdeclarative-location
 +
libdeclarative-multimedia
 +
libenca
 +
libenca-libenca0
 +
liberation-fonts-common
 +
liberation-mono-fonts
 +
liberation-sans-fonts
 +
liberation-serif-fonts
 +
libgsf
 +
libgudev1
 +
libiptcdata
 +
libphonon4
 +
libqtdeclarative4-folderlistmodel
 +
libqtgallery1
 +
libqtlocation1
 +
libqtmultimediakit1
 +
libqtwebkit-qmlwebkitplugin
 +
libqtwebkit4
 +
libsmack
 +
libsoup
 +
libtheora
 +
libvisual
 +
meego-handset-maps
 +
meego-terminal
 +
meegotouch-compositor-gestures
 +
meegotouch-systemui
 +
meegotouch-theme-darko
 +
meegotouchcp-connman
 +
mtdev
 +
nemo-control-panel-applet-power
 +
nemo-control-panel-common
 +
nemo-mobile-session
 +
nemo-qml-plugin-contextkit
 +
nemo-qml-plugins-thumbnailer
 +
pango
 +
#perl
 +
#perl-Compress-Raw-Zlib
 +
#perl-IO-Compress-Base
 +
#perl-IO-Compress-Zlib
 +
#perl-Module-Pluggable
 +
#perl-Pod-Escapes
 +
#perl-Pod-Simple
 +
#perl-libs
 +
phonon
 +
phonon-backend-gstreamer
 +
pm-utils
 +
poppler
 +
poppler-glib
 +
python
 +
python-libs
 +
 +
qmlgallery
 +
qmlmusicplayer
 +
 +
recode
 +
taglib
 +
totem-pl-parser
 +
tracker
 +
unzip
 +
upower
 +
xorg-x11-drv-mtev
 +
 +
 
   
 
   
 
  %end
 
  %end
Line 131: Line 214:
 
  export M_USE_SHOW_CURSOR=1
 
  export M_USE_SHOW_CURSOR=1
 
  EOF
 
  EOF
 
# Disable HW cursor for Pandaboard. Remove when fix has entered kernel. Watch
 
# this space: https://patchwork.kernel.org/patch/1752301/
 
sed -i 's!Section "Device"!Section "Device"\n\tOption\t\t"HWCursor"\t"false"!g' /usr/share/X11/xorg.conf.d/99-omap.conf
 
 
   
 
   
 
  # Set Qt graphics system to opengl
 
  # Set Qt graphics system to opengl
Line 170: Line 249:
 
   -s -t string /desktop/meego/background/landscape/picture_filename \
 
   -s -t string /desktop/meego/background/landscape/picture_filename \
 
   /usr/share/themes/base/meegotouch/images/meegotouch-wallpaper-landscape.jpg
 
   /usr/share/themes/base/meegotouch/images/meegotouch-wallpaper-landscape.jpg
 +
 +
# This should go to nemo-configs-pandaboard eventually:
 +
# TODO: figure out how to toggle mouse cursor if needs be
 +
cat > /var/lib/environment/nemo/60-adaptation-pandaboard.conf << EOF
 +
M_USE_SHOW_CURSOR=1
 +
QT_GRAPHICSSYSTEM=runtime
 +
QT_DEFAULT_RUNTIME_SYSTEM=opengl
 +
EOF
 +
# TODO: REMOVE HACK: Fix lipstick acceleration problem. It has to be in .service file
 +
# and I don't know why, but it's the only way to get things accelerated
 +
# WHENEVER LIPSTICK GETS UPDATED, THIS WILL DISSAPPEAR, AND YOU'LL FALL INTO THE
 +
# LIMP HOME MODE :)
 +
sed -i 's!ExecStart=/usr/bin/lipstick!EnvironmentFile=/var/lib/environment/nemo/60-adaptation-pandaboard.conf\nExecStart=/usr/bin/lipstick!g' /usr/lib/systemd/user/lipstick.service
 
   
 
   
 
  %end
 
  %end

Latest revision as of 14:56, 13 May 2013

# -*-mic2-options-*- -f raw --record-pkgs=name --pkgmgr=yum --arch=armv7hl -*-mic2-options-*-
# 
# Do not Edit! Generated by:
# kickstarter.py
# 

lang en_US.UTF-8
keyboard us
timezone --utc UTC
part /boot --size=32 --ondisk mmcblk0p --fstype=vfat --active
part / --size=1024  --ondisk mmcblk0p --fstype=ext3


rootpw nemo 

user --name nemo  --groups audio,video --password nemo 

repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/armv7hl/packages --save
repo --name=nemo-devel-hw-ti-omap4-pandaboard --baseurl=http://repo.merproject.org/obs/nemo:/devel:/hw:/ti:/omap4:/pandaboard/latest_armv7hl/ --save
repo --name=nemo-testing-mw --baseurl=http://repo.merproject.org/obs/nemo:/testing:/mw/latest_armv7hl/ --save
repo --name=nemo-testing-apps --baseurl=http://repo.merproject.org/obs/nemo:/testing:/apps/latest_armv7hl/ --save
repo --name=nemo-testing-ux --baseurl=http://repo.merproject.org/obs/nemo:/testing:/ux/latest_armv7hl/ --save

%packages
#@Nemo Middleware Shared
#@Nemo Apps
#@MTF Handset UX

# This one started pulling all Nemo Apps and other components, which break Pb for now (dreaded out-of-memory I reckon)
# https://bugs.nemomobile.org/show_bug.cgi?id=651
# That's why below there are so many manually 1-by-1 installed packages
#@Mer Graphics Common

@Mer Minimal Xorg
@Mer Connectivity
@Mer Core

qt-qmlviewer
#xorg-x11-drv-evdev
#xorg-x11-drv-vesa
#xorg-x11-drv-fbdev
kernel-adaptation-pandaboard

xorg-x11-server-Xorg-setuid
#pulseaudio-module-x11
pvr-omap4
pvr-omap4-kernel
pvr-omap4-libEGL
pvr-omap4-libGLESv1
pvr-omap4-libGLESv2
u-boot-omap4panda
linux-firmware-ti-connectivity

#contextkit-maemo-mce
#mce
xorg-x11-xauth
openssh-clients
openssh-server
ce-backgrounds
plymouth-lite
vim-enhanced
xterm
xorg-launch-helper

lipstick-colorful-home
libdeclarative-sensors
qt-components
mcompositor
maliit-plugins
meegotouch-community-l10n
mapplauncherd

# some apps
flickr-qml
qmlcalc

# wallpaper changing ability (will pull-in settings app, too)
meegotouchcp-wallpaper
# this will finally show thumbnails when choosing wallpaper:
tumbler

# pull in the theme
meegotouch-theme

# Only necessary bits from Mer Graphics Common:
connman-qt
connman-qt-declarative
contextkit-plugin-cellular
contextkit-plugin-connman
contextkit-plugin-upower
diffutils
droid-sans-fonts
droid-sans-mono-fonts
droid-serif-fonts
giflib
glib-networking
gmime
gst-plugins-bad-free
gst-plugins-base
gst-plugins-good
heliumreborn
info
libXv
libcreds3
libdeclarative-gallery
libdeclarative-location
libdeclarative-multimedia
libenca
libenca-libenca0
liberation-fonts-common
liberation-mono-fonts
liberation-sans-fonts
liberation-serif-fonts
libgsf
libgudev1
libiptcdata
libphonon4
libqtdeclarative4-folderlistmodel
libqtgallery1
libqtlocation1
libqtmultimediakit1
libqtwebkit-qmlwebkitplugin
libqtwebkit4
libsmack
libsoup
libtheora
libvisual
meego-handset-maps
meego-terminal
meegotouch-compositor-gestures
meegotouch-systemui
meegotouch-theme-darko
meegotouchcp-connman
mtdev
nemo-control-panel-applet-power
nemo-control-panel-common
nemo-mobile-session
nemo-qml-plugin-contextkit
nemo-qml-plugins-thumbnailer
pango
#perl
#perl-Compress-Raw-Zlib
#perl-IO-Compress-Base
#perl-IO-Compress-Zlib
#perl-Module-Pluggable
#perl-Pod-Escapes
#perl-Pod-Simple
#perl-libs
phonon
phonon-backend-gstreamer
pm-utils
poppler
poppler-glib
python
python-libs

qmlgallery
qmlmusicplayer

recode
taglib
totem-pl-parser
tracker
unzip
upower
xorg-x11-drv-mtev



%end

%post
# Set up proper target for libmeegotouch, in this case:
# Pandaboard on 19in monitor at 1280x1024 resolution
Config_Src=`gconftool-2 --get-default-source`
gconftool-2 --direct --config-source $Config_Src \
  -s -t string /meegotouch/target/name Panda-19in-1280x1024

# Wait a bit more than the default 5s when starting application.
mkdir -p /etc/xdg/mcompositor/
echo "close-timeout-ms 15000;" > /etc/xdg/mcompositor/new-mcompositor.conf

## arch-armv7hl.post from mer-kickstarter-configs package
# Without this line the rpm don't get the architecture right.
echo -n 'armv7hl-meego-linux' > /etc/rpm/platform

# Also libzypp has problems in autodetecting the architecture so we force tha as well.
# https://bugs.meego.com/show_bug.cgi?id=11484
echo 'arch = armv7hl' >> /etc/zypp/zypp.conf
## end arch-armv7hl.post

# Hack to fix the plymouth based splash screen on N900
mv /usr/bin/ply-image /usr/bin/ply-image-real
cat > /usr/bin/ply-image << EOF
#!/bin/sh
echo 32 > /sys/class/graphics/fb0/bits_per_pixel
exec /usr/bin/ply-image-real $@
EOF
chmod +x /usr/bin/ply-image

## rpm-rebuilddb.post from mer-kickstarter-configs package
# Rebuild db using target's rpm
echo -n "Rebuilding db using target rpm.."
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
echo "done"
## end rpm-rebuilddb.post

# Show mouse cursor
sed -i 's! -nocursor!!g' /etc/sysconfig/nemo-mobile-ui

## Set env variable to show cursor on MTF apps
cat > /etc/profile.d/mtf-mouse-ptr.sh << EOF
export M_USE_SHOW_CURSOR=1
EOF

# Set Qt graphics system to opengl
cat > /etc/profile.d/qt-graphicssystem-opengl.sh << EOF
export QT_GRAPHICSSYSTEM=runtime
export QT_DEFAULT_RUNTIME_SYSTEM=opengl
EOF

# Make Pandaboard config for 19in monitor - how to parametrise this?
cat > /usr/share/meegotouch/targets/Panda-19in-1280x1024.conf << EOF
[resolution]
X=1280
Y=1024
[ppi]
X=250
Y=250
[allowedOrientations]
keyboardOpen = 0
keyboardClosed = 0,270
[other]
showStatusBar=true
EOF

# Make invoker launch Settings app with mouse cursor visible
# FIXME: any better methods to do that? Invoker does not read env :{
sed -i 's!Exec=/usr/bin/invoker --type=q /usr/bin/duicontrolpanel.launch!Exec=sh -c "M_USE_SHOW_CURSOR=1 /usr/bin/invoker --type=q /usr/bin/duicontrolpanel.launch"!g' /usr/share/applications/mtf-settings.desktop

# Detach lipstick from systemui, because it's causing random crashes
# Remove this when sysuid enters the .ks and is stabilised
sed -i 's!meegotouch-systemui.service!!g' /usr/lib/systemd/user/lipstick.service

# Set a nice wallpaper
Config_Src=`gconftool-2 --get-default-source`
gconftool-2 --direct --config-source $Config_Src \
  -s -t string /desktop/meego/background/landscape/picture_filename \
  /usr/share/themes/base/meegotouch/images/meegotouch-wallpaper-landscape.jpg

# This should go to nemo-configs-pandaboard eventually:
# TODO: figure out how to toggle mouse cursor if needs be
cat > /var/lib/environment/nemo/60-adaptation-pandaboard.conf << EOF
M_USE_SHOW_CURSOR=1
QT_GRAPHICSSYSTEM=runtime
QT_DEFAULT_RUNTIME_SYSTEM=opengl
EOF
# TODO: REMOVE HACK: Fix lipstick acceleration problem. It has to be in .service file
# and I don't know why, but it's the only way to get things accelerated
# WHENEVER LIPSTICK GETS UPDATED, THIS WILL DISSAPPEAR, AND YOU'LL FALL INTO THE
# LIMP HOME MODE :)
sed -i 's!ExecStart=/usr/bin/lipstick!EnvironmentFile=/var/lib/environment/nemo/60-adaptation-pandaboard.conf\nExecStart=/usr/bin/lipstick!g' /usr/lib/systemd/user/lipstick.service

%end

%post --nochroot
if [ -n "$IMG_NAME" ]; then
    echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
fi


%end
Personal tools