[Tizen-submit] 3247: New package Tizen:2.1:Main/xorg-x11-xkb-utils

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:51:00 GMT 2013


Hi,
Adding new package xorg-x11-xkb-utils in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/uifw/xorg/util/x11-xkb-utils
Tag: submit/tizen_2.1/20130424.235121
Commit: 4ebd44a Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3247

  submit:       Tizen:2.1:Main:build/xorg-x11-xkb-utils(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/uifw/xorg/util/x11-xkb-utils
Tag: submit/tizen_2.1/20130424.235121
Commit: 4ebd44a Tizen 2.1 base

State:   new        2013-04-24T16:21:39 tizenrobot
Comment: <no comment>
new:
----
  xorg-x11-xkb-utils-7.7.tar.gz
  xorg-x11-xkb-utils.spec

spec files:
-----------

++++++ new spec file:
--- xorg-x11-xkb-utils.spec
+++ xorg-x11-xkb-utils.spec
@@ -0,0 +1,117 @@
+Summary: X.Org X11 xkb utilities
+Name: xorg-x11-xkb-utils
+Version: 7.7
+Release: 1
+VCS:        framework/uifw/xorg/util/x11-xkb-utils#2.1_release-0-g4ebd44a
+License: MIT
+Group: User Interface/X
+URL: http://www.x.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+# use the macro so the doc dir is changed automagically
+#%define xkbutils_version 1.0.3
+#Source0: ftp://ftp.x.org/pub/individual/app/xkbutils-%{xkbutils_version}.tar.bz2
+#Source1: ftp://ftp.x.org/pub/individual/app/xkbcomp-1.2.4.tar.bz2
+#Source2: ftp://ftp.x.org/pub/individual/app/xkbevd-1.1.3.tar.bz2
+#Source3: ftp://ftp.x.org/pub/individual/app/xkbprint-1.0.3.tar.bz2
+#Source4: ftp://ftp.x.org/pub/individual/app/setxkbmap-1.3.0.tar.bz2
+
+Source: %{name}-%{version}.tar.gz
+
+BuildRequires: pkgconfig
+BuildRequires: byacc
+BuildRequires: xorg-x11-proto-input
+BuildRequires: libxkbfile-devel
+BuildRequires: libX11-devel
+BuildRequires: libXaw-devel
+BuildRequires: libXt-devel
+# FIXME: xkbvleds requires libXext, but autotools doesn't check/require it:
+# gcc  -O2 -g -march=i386 -mcpu=i686   -o xkbvleds  xkbvleds-xkbvleds.o
+# xkbvleds-LED.o xkbvleds-utils.o -lXaw7 -lXmu -lXt -lSM -lICE -lXext -lXpm -lX11 -ldl
+# /usr/bin/ld: cannot find -lXext
+# libXext-devel needed for xkbutils (from above error)
+BuildRequires: libXext-devel
+# FIXME: xkbvleds requires libXext, but autotools doesn't check/require it:
+# gcc  -O2 -g -march=i386 -mcpu=i686   -o xkbvleds  xkbvleds-xkbvleds.o
+# xkbvleds-LED.o xkbvleds-utils.o -lXaw7 -lXmu -lXt -lSM -lICE -lXext -lXpm -lX11 -ldl
+# /usr/bin/ld: cannot find -lXpm
+# libXpm-devel needed for xkbutils (from above error)
+BuildRequires: libXpm-devel
+
+Provides: setxkbmap xkbcomp
+Obsoletes: XFree86 xorg-x11
+
+%package devel
+Summary:        X.Org X11 xkb utilities development package.
+Group:          Development/Libraries
+Requires:       pkgconfig
+%description devel
+X.Org X11 xkb utilities development files.
+
+%package -n xorg-x11-xkb-extras
+Summary: X.Org X11 xkb gadgets
+Provides: xkbevd xkbprint xkbutils
+
+%description
+X.Org X11 xkb core utilities
+
+%description -n xorg-x11-xkb-extras
+X.Org X11 xkb gadgets
+
+%prep
+%setup -q
+#%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
+
+%build
+export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -DHAVE_STRCASECMP -Os"
+for pkg in xkbutils setxkbmap xkbcomp xkbevd xkbprint ; do
+    pushd $pkg*
+    [ $pkg == xkbcomp ] && rm xkbparse.c # force regen
+    %configure --prefix=/usr --datadir=/etc
+    make %{?jobs:-j%jobs} V=1
+    popd
+done
+

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list