packages: tigervnc/tigervnc.spec - build Xvnc from xorg-xserver-server-sour...
baggins
baggins at pld-linux.org
Sun Oct 10 18:23:41 CEST 2010
Author: baggins Date: Sun Oct 10 16:23:41 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- build Xvnc from xorg-xserver-server-source
- added libvnc extension package
---- Files affected:
packages/tigervnc:
tigervnc.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/tigervnc/tigervnc.spec
diff -u packages/tigervnc/tigervnc.spec:1.2 packages/tigervnc/tigervnc.spec:1.3
--- packages/tigervnc/tigervnc.spec:1.2 Sun Oct 10 15:02:10 2010
+++ packages/tigervnc/tigervnc.spec Sun Oct 10 18:23:36 2010
@@ -3,7 +3,8 @@
# - tigervnc.init
# - descriptions!
-%define snap r4159
+%define snap r4159
+%define xversion 1.9.0.901
Summary: A TigerVNC remote display system
Summary(pl.UTF-8): System zdalnego dostępu TigerVNC
@@ -20,7 +21,7 @@
BuildRequires: cpp
BuildRequires: libjpeg-devel
BuildRequires: zlib-devel
-BuildRequires: xorg-xserver-server-source >= 1.9
+BuildRequires: xorg-xserver-server-source = %{xversion}
# xserver BRs, should match xorg-xserver-server.spec
BuildRequires: Mesa-libGL-devel >= 7.8.1
# for glx headers
@@ -138,10 +139,25 @@
vncviewerem. vncpasswd służy to tworzenia pliku z hasłem (zarówno po
stronie serwera, jak i przeglądarki).
+%package -n xorg-xserver-libvnc
+Summary: TigerVNC module for X.org server
+Group: X11/Servers
+Requires: xorg-xserver-server = %{xversion}
+Provides: xorg-xserver-module(vnc)
+
+%description -n xorg-xserver-libvnc
+This package contains libvnc.so module for X.org server,
+allowing others to access the desktop on your machine.
+
%prep
%setup -q -n %{name}
%{__sed} -i -e 's|^po/Makefile.in||' configure.ac
+cp -a %{_usrsrc}/xorg-xserver-server-%{xversion}/* unix/xserver
+cd unix/xserver
+patch -p1 <../xserver19.patch
+#%patch11 -p1
+
%build
%{__gettextize}
%{__libtoolize}
@@ -155,14 +171,56 @@
%{__make}
+cd unix/xserver
+%{__automake}
+%{__autoconf}
+%configure \
+ --disable-xorg \
+ --disable-xnest \
+ --disable-xvfb \
+ --disable-dmx \
+ --disable-xwin \
+ --disable-xephyr \
+ --disable-kdrive \
+ --with-pic \
+ --disable-static \
+ --disable-xinerama \
+ --disable-composite \
+ --with-default-font-path="catalogue:%{_sysconfdir}/X11/fontpath.d,built-ins" \
+ --with-fontdir=%{_datadir}/X11/fonts \
+ --with-xkb-output=%{_localstatedir}/lib/xkb \
+ --enable-install-libxf86config \
+ --disable-dri2 \
+ --enable-glx \
+ --disable-config-dbus \
+ --disable-config-hal \
+ --disable-config-udev \
+ --with-dri-driver-path=%{_libdir}/dri \
+ --without-xmlto \
+ --without-fop \
+ --without-doxygen \
+ --disable-devel-docs \
+ --disable-builddocs
+
+%{__make}
+cd -
+
+# Build icons
+cd media
+%{__make}
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_sysconfdir}}
-cd unix
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+cd unix/xserver/hw/vnc
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+cd -
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -177,25 +235,33 @@
%files server
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tightvncserver.conf
+%attr(755,root,root) %{_bindir}/Xvnc
%attr(755,root,root) %{_bindir}/x0vncserver
%attr(755,root,root) %{_bindir}/vncserver
%{_datadir}/vnc
+%{_mandir}/man1/Xvnc.1*
%{_mandir}/man1/x0vncserver.1*
%{_mandir}/man1/vncserver.1*
%files utils
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/vncconnect
%attr(755,root,root) %{_bindir}/vncpasswd
-%{_mandir}/man1/vncconnect.1*
%{_mandir}/man1/vncpasswd.1*
+%files -n xorg-xserver-libvnc
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/xorg/modules/extensions/libvnc.so
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2010/10/10 16:23:36 baggins
+- build Xvnc from xorg-xserver-server-source
+- added libvnc extension package
+
Revision 1.2 2010/10/10 13:02:10 baggins
- summary
- TODO
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tigervnc/tigervnc.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list