Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[config] Add patterns/prjconf and wayland configuration
  • Loading branch information
Bernd Wachter committed Jul 2, 2013
0 parents commit 7560cd9
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
*.list
6 changes: 6 additions & 0 deletions Makefile
@@ -0,0 +1,6 @@
all:

install:
install -D -m 644 conf/60-n9-n950-ui.conf $(DESTDIR)/var/lib/environment/compositor/60-n9-n950-ui.conf
install -D -m 644 conf/powervr.ini $(DESTDIR)/etc/powervr.ini
install -D -m 644 prjconf/n950-n9-prjconf.xml $(DESTDIR)/usr/share/prjconf/n950-n9-prjconf.xml
6 changes: 6 additions & 0 deletions conf/60-n9-n950-ui.conf
@@ -0,0 +1,6 @@
EGL_PLATFORM=fbdev
QT_QPA_PLATFORM=eglfs
QT_QPA_EGLFS_DEPTH=16
QT_QPA_EGLFS_HIDECURSOR=1
M_FORCE_LOCAL_THEME=1
LIPSTICK_OPTIONS=-plugin evdevtouch:/dev/input/event3
13 changes: 13 additions & 0 deletions conf/powervr.ini
@@ -0,0 +1,13 @@
[default]
WSEGL_UseHWSync=1
ExternalZBufferMode=4
ParamBufferSize=1048576
WindowSystem=/usr/lib/waylandwsegl.so
[conform]
ExternalZBufferMode=2

[conform-cl]
ExternalZBufferMode=2

[GTF]
ExternalZBufferMode=2
7 changes: 7 additions & 0 deletions patterns/nemo-n950.yaml
@@ -0,0 +1,7 @@
Description: Pattern to include Nemo with N950 support
Name: nemo-n950
Requires:
- pattern:nemo-complete
- pattern:nokia-n950-support
- meego-handset-camera
Summary: Nemo N950
36 changes: 36 additions & 0 deletions patterns/nokia-n950-support.yaml
@@ -0,0 +1,36 @@
Description: Opensource support packages for Nokia N950
Name: nokia-n950-support
Requires:
- bme-rm-680-bin
- contextkit-plugin-power-bme
- contextkit-plugin-kbslider
- dsme
- gstreamer0.10-nokia-videosrc
- gst-omapfb
- kernel-adaptation-n950
- n950-camera-fw
- nokia-n950-configs
- omap-update-display
- pulseaudio-module-x11
- pulseaudio-modules-n900-cmtspeech
- pulseaudio-modules-n900-mainvolume
- pulseaudio-modules-n900-music
- pulseaudio-modules-n900-record
- pulseaudio-modules-n900-voice
- pulseaudio-settings-n950
- systemd-console-ttyS0
- ti-omap3-sgx-libEGL
- ti-omap3-sgx-libGLESv1
- ti-omap3-sgx-libGLESv2
- ti-wl1271-firmware
- ti-wl1273-bt-firmware
- ti-wl1273-fm-radio-firmware
- udev-rules-n950
- wl1271-cal-bin
- xorg-x11-drv-fbdev-sgx
- xorg-x11-drv-mtev
Recommends:
# These packages are not in adaptation repos.
- policy-settings-basic-n950
- usb-moded-config-n950-n9
Summary: Nokia N950 Support
4 changes: 4 additions & 0 deletions prjconf/n950-n9-prjconf.xml
@@ -0,0 +1,4 @@
Release: <CI_CNT>.<B_CNT>.Nemo.Adaptation.N950.N9

Prefer: ti-omap3-sgx-libEGL
Prefer: ti-omap3-sgx-wayland-wsegl
62 changes: 62 additions & 0 deletions rpm/nemo-configs-n950-n9.spec
@@ -0,0 +1,62 @@
Name: nemo-configs-n950-n9
Summary: Some configs for n9/n950 adaptations
Version: 1
Release: 1
Group: Configs
License: GPLv2
Source0: %{name}-%{version}.tar.bz2
BuildRequires: oneshot
BuildRequires: repomd-pattern-builder
Requires: oneshot
%{_oneshot_requires_post}

%description
%{summary}.

# Set the provides for package-groups/project-config once it's ready to replace old configuration packages
%package -n n950-n9-patterns
Summary: Repository patterns for n950/n9 hw
#Provides: package-groups

%description -n n950-n9-patterns
%{summary}.

%package -n n950-n9-prjconf
Summary: Project configs for n950/n9 hw repos for OBS
#Provides: project-config

%description -n n950-n9-prjconf
%{summary}.

%package wayland
Summary: Repository patterns for n950/n9 hw
Provides: ti-omap3-sgx-configs

%description wayland
%{summary}.

%prep
%setup -q -n %{name}-%{version}

%build
make

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} ONESHOTDIR=%{_oneshotdir} install
/usr/bin/repomd-pattern-builder.py --patternxml -p ./patterns/ -o %{buildroot}/usr/share/package-groups/ --version=%{version} --release=%{release}

%files
%defattr(-,root,root,-)

%files -n n950-n9-patterns
%defattr(-,root,root,-)
%{_datadir}/package-groups/*.xml

%files -n n950-n9-prjconf
%defattr(-,root,root,-)
%{_datadir}/prjconf/*.xml

%files wayland
%{_sysconfdir}/powervr.ini
/var/lib/environment/compositor/60-n9-n950-ui.conf

0 comments on commit 7560cd9

Please sign in to comment.