Browse Source

NEW: LightDM
initscripts, vutils: support LightDM
mate-screensaver: fix ja.po

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8489 ec354946-7b23-47d6-9f5a-488ba84defc7

Takemikaduchi 10 years ago
parent
commit
2c57f2dcaf

+ 13 - 9
i/initscripts/initscripts-vl.spec

@@ -4,7 +4,7 @@
 Summary:      The inittab file and the /etc/rc.d scripts.
 Summary(ja):  inittab と /etc/rc.d 以下の起動スクリプト一式
 Name:         initscripts
-Version:      8.91.14
+Version:      8.91.15
 Release:      1%{?_dist_release}
 License:      GPL
 Group:        System Environment/Base
@@ -438,6 +438,10 @@ rm -rf ${RPM_BUILD_ROOT}
 
 
 %changelog
+* Sun Jun 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 8.91.15-1
+- prefdm
+  - support lightdm
+
 * Wed Dec 11 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 8.91.14-1
 - add detect_container function to detect container type.
   - do not mount/remount/.. filesystem in container.
@@ -1118,7 +1122,7 @@ rm -rf ${RPM_BUILD_ROOT}
 * Mon Jul 16 2001 Than Ngo <than@redhat.com>
 - fix country_code for ISDN
 
-* Tue Jul  9 2001 Bill Nottingham <notting@redhat.com>
+* Mon Jul  9 2001 Bill Nottingham <notting@redhat.com>
 - fix '--check'
 - prereq sh-utils (#43065)
 - fix some invocations of reboot/halt (#45966)
@@ -1134,7 +1138,7 @@ rm -rf ${RPM_BUILD_ROOT}
 - Fix up kernel versioning on binary-only modules (S390)
 - don't use newt scripts on S390 console
 
-* Sat Jul 01 2001 Trond Eivind Glomsr︰ <teg@redhat.com>
+* Sun Jul 01 2001 Trond Eivind Glomsr︰ <teg@redhat.com>
 - reenable pump, but make sure dhcpcd is the default. This
   way, upgrades of systems without dhcpcd has a better chance at
   working.
@@ -1372,7 +1376,7 @@ at Feb 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
 * Tue Aug 15 2000 Nalin Dahyabhai <nalin@redhat.com>
 - be more careful about creating files in netreport (#16164)
 
-* Sat Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com>
+* Fri Aug 11 2000 Nalin Dahyabhai <nalin@redhat.com>
 - move documentation for the DEMAND and IDLETIMEOUT values to the right
   section of sysconfig.txt
 
@@ -1441,7 +1445,7 @@ at Feb 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
 * Sun Jul 02 2000 Trond Eivind Glomsr︰ <teg@redhat.com>
 - don't use tail
 
-* Thu Jun 28 2000 Trond Eivind Glomsr︰ <teg@redhat.com>
+* Wed Jun 28 2000 Trond Eivind Glomsr︰ <teg@redhat.com>
 - add support for USB controllers and HID devices 
   (mice, keyboards)
 
@@ -1483,7 +1487,7 @@ at Feb 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
 - fix lang.csh, again (oops)
 - use /poweroff, /halt to determine whether to poweroff
 
-* Thu Apr 14 2000 Bill Nottingham <notting@redhat.com>
+* Fri Apr 14 2000 Bill Nottingham <notting@redhat.com>
 - fix testing of RESOLV_MODS (which shouldn't be used anyways)
 
 * Tue Apr 04 2000 Ngo Than <than@redhat.de>
@@ -1596,12 +1600,12 @@ at Feb 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
 - better signal handling in ppp-watch
 - yet another attempt to fix those rare PAP/CHAP problems
 
-* Fri Dec 2 1999 Norihito Ohmori <ohmori@flatout.rog>
+* Thu Dec 2 1999 Norihito Ohmori <ohmori@flatout.rog>
 - add path /usr/kde/bin in /etc/X11/prefdm.
 - merge initscripts-vine, etc... (J. Nishii's work)
 - check the existance of /etc/sysconfig/clock (J. Nishii's work)
 
-* Sat Nov 28 1999 Bill Nottingham <notting@redhat.com>
+* Sun Nov 28 1999 Bill Nottingham <notting@redhat.com>
 - impressive. Three new features, three new bugs.
 
 * Mon Nov 22 1999 Michael K. Johnson <johnsonm@redhat.com>
@@ -1874,7 +1878,7 @@ at Feb 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
 * Tue Nov 10 1998 Michael K. Johnson <johnsonm@redhat.com>
 - handle new linuxconf output for ipaliases
 
-* Mon Oct 15 1998 Erik Troan <ewt@redhat.com>
+* Thu Oct 15 1998 Erik Troan <ewt@redhat.com>
 - fixed raid start stuff
 - added raidstop to halt
 

+ 76 - 0
l/lightdm-gtk/lightdm-gtk-vl.spec

@@ -0,0 +1,76 @@
+Summary: Reference GTK+ greeter for LightDM
+Name: lightdm-gtk
+Version: 1.8.5
+Release: 1%{?_dist_release}
+License: GPL3
+Group: User Interface/X
+URL: https://launchpad.net/lightdm-gtk-greeter/
+
+Source: https://launchpad.net/%{name}-greeter/1.8/%{version}/+download/%{name}-greeter-%{version}.tar.gz
+
+# for Vine Linux
+Patch1000: lightdm-gtk-greeter-1.8.5-vine.patch
+Patch1001: lightdm-gtk/lightdm-gtk-greeter-1.8.5-ja.po.patch
+
+Requires: lightdm
+
+BuildRequires: gtk2-devel
+BuildRequires: lightdm-gobject-devel
+BuildRequires: libX11-devel
+
+Provides: lightdm-greeter
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: Takemikaduchi
+
+
+%description
+%{summary}
+
+
+%prep
+%setup -q -n %{name}-greeter-%{version}
+%patch1000 -p1 -b .vine
+%patch1001 -p1 -b .vine
+
+%build
+%configure \
+		--with-gtk2=yes
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+pushd $RPM_BUILD_ROOT%{_datadir}/xgreeters/
+	ln -s lightdm-gtk-greeter.desktop lightdm-greeter.desktop
+popd
+
+find $RPM_BUILD_ROOT -name '*.a' -delete
+find $RPM_BUILD_ROOT -name '*.la' -delete
+
+%find_lang %{name}-greeter
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files -f %{name}-greeter.lang
+%defattr(-, root, root, -)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_sysconfdir}/lightdm/lightdm-gtk-greeter.conf
+%{_sbindir}/lightdm-gtk-greeter
+%{_docdir}/lightdm-gtk-greeter/sample-lightdm-gtk-greeter.css
+%{_datadir}/icons/hicolor/scalable/places/*
+%{_datadir}/xgreeters/lightdm-greeter.desktop
+%{_datadir}/xgreeters/lightdm-gtk-greeter.desktop
+
+
+%changelog
+* Sun Jun 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.5-1
+- initial build
+

+ 202 - 0
l/lightdm/lightdm-vl.spec

@@ -0,0 +1,202 @@
+Summary: A lightweight display manager
+Summary(ja): 軽量ディスプレイマネージャー
+Name: lightdm
+Version: 1.11.2
+Release: 1%{?_dist_release}
+License: GPLv3,LGPLv2,LGPLv3
+Group: User Interface/X
+URL: http://www.freedesktop.org/wiki/Software/LightDM/
+
+Source0: https://launchpad.net/%{name}/1.11/%{version}/+download/%{name}-%{version}.tar.xz
+Source1: lightdm-pam
+Source2: lightdm-autologin-pam
+Source4: lightdm.rules
+
+Patch0: lightdm-1.11.2-no_dmrc_save.patch
+Patch1: lightdm-1.11.2-nodaemon_option.patch
+# for Vine Linux
+Patch1000: lightdm-1.11.2-vine.patch
+
+Requires(pre): shadow-utils
+Requires: accountsservice
+Requires: dbus-x11
+Requires: pam
+Requires: xorg-x11-xinit
+Requires: %{name}-gobject = %{version}-%{release}
+Requires: lightdm-greeter
+
+BuildRequires: glib2-devel >= 2.30.0
+BuildRequires: gobject-introspection-devel
+BuildRequires: libXdmcp-devel
+BuildRequires: libxcb-devel
+BuildRequires: libxklavier-devel
+BuildRequires: libX11-devel
+BuildRequires: pam-devel
+BuildRequires: libgcrypt-devel
+BuildRequires: qt4-devel
+BuildRequires: yelp-tools
+
+Vendor:			Project Vine
+Distribution:	Vine Linux
+Packager:		Takemikaduchi
+
+
+%description
+An display manager that:
+ * Has a lightweight codebase
+ * Is standards compliant (PAM, ConsoleKit, etc)
+ * Has a well defined interface between the server and user interface
+ * Cross-desktop (greeters can be written in any toolkit)
+
+%package		gobject
+Summary:		LightDM GObject client library
+
+%description	gobject
+This package contains a GObject based library for LightDM clients to
+use to interface with LightDM.
+
+
+%package		gobject-devel
+Summary:		Development files and headers for %{name}-gobject
+Group:			Development/Libraries
+Requires:		%{name}-gobject = %{version}-%{release}
+Requires:		pkgconfig
+
+%description	gobject-devel
+Development files and headers for %{name}-gobject.
+
+
+%package		qt
+Summary:		LightDM QT client library
+
+%description	qt
+This package contains a QT based library for LightDM clients to use
+to interface with LightDM.
+
+
+%package		qt-devel
+Summary:		Development files and headers for %{name}-qt
+Group:			Development/Libraries
+Requires:		%{name}-qt = %{version}-%{release}
+Requires:		pkgconfig
+
+%description	qt-devel
+Development files and headers for %{name}-qt.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .dmrc
+%patch1 -p1 -b .nodaemon_option
+%patch1000 -p1 -b .vine
+
+%build
+autoreconf -if
+%configure \
+		--enable-liblightdm-gobject \
+        --enable-liblightdm-qt \
+		--disable-liblightdm-qt5 \
+        --enable-introspection \
+        --with-greeter-user=lightdm
+
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+install -m 0644 -p -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/lightdm
+install -m 0644 -p -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/lightdm-autologin
+install -m 0644 -p -D %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/polkit-1/rules.d/lightdm.rules
+
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/lightdm
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/lightdm
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lightdm
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/lightdm-data
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/lightdm
+
+# remove unused files
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/init/lightdm.conf
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/apparmor.d/lightdm-guest-session
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/apparmor.d/abstractions/lightdm
+
+# remove unused files
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/init/lightdm.conf
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/apparmor.d/lightdm-guest-session
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/apparmor.d/abstractions/lightdm
+rm -f $RPM_BUILD_ROOT%{_sysconfdir}/apparmor.d/abstractions/lightdm_chromium-browser
+
+find $RPM_BUILD_ROOT -name '*.a' -delete
+find $RPM_BUILD_ROOT -name '*.la' -delete
+
+%find_lang %{name} --with-gnome
+
+%pre
+getent group lightdm >/dev/null || groupadd -r lightdm
+getent passwd lightdm >/dev/null || \
+  /usr/sbin/useradd -g lightdm -M -d /var/lightdm -s /sbin/nologin -r lightdm
+exit 0
+
+
+%post gobject -p /sbin/ldconfig
+
+%postun gobject -p /sbin/ldconfig
+
+%post qt -p /sbin/ldconfig
+
+%postun qt -p /sbin/ldconfig
+
+
+%files -f %{name}.lang
+%defattr(-, root, root, -)
+%doc COPYING.GPL3 COPYING.LGPL2 COPYING.LGPL3 NEWS
+%dir %{_sysconfdir}/lightdm
+%config(noreplace) %{_sysconfdir}/lightdm/keys.conf
+%config(noreplace) %{_sysconfdir}/lightdm/lightdm.conf
+%config(noreplace) %{_sysconfdir}/lightdm/users.conf
+%config %{_sysconfdir}/pam.d/lightdm
+%config %{_sysconfdir}/pam.d/lightdm-autologin
+%config %{_sysconfdir}/pam.d/lightdm-greeter
+%{_sysconfdir}/dbus-1/system.d/org.freedesktop.DisplayManager.conf
+%{_bindir}/dm-tool
+%{_sbindir}/lightdm
+%{_libexecdir}/lightdm-guest-session
+%{_datadir}/polkit-1/rules.d/lightdm.rules
+%{_mandir}/man1/dm-tool.1.gz
+%{_mandir}/man1/lightdm.1.gz
+%dir %{_localstatedir}/log/lightdm
+%dir %{_localstatedir}/run/lightdm
+%dir %attr(1770,lightdm,lightdm) %{_localstatedir}/lightdm
+%dir %attr(-,lightdm,lightdm) %{_localstatedir}/cache/lightdm
+%dir %attr(-,lightdm,lightdm) %{_localstatedir}/lib/lightdm-data/
+
+%files gobject
+%defattr(-, root, root, -)
+%{_libdir}/liblightdm-gobject-1.so.*
+%{_libdir}/girepository-1.0/LightDM-1.typelib
+
+%files gobject-devel
+%defattr(-, root, root, -)
+%{_includedir}/lightdm-gobject-1
+%{_libdir}/liblightdm-gobject-1.so
+%{_libdir}/pkgconfig/liblightdm-gobject-1.pc
+%{_datadir}/gir-1.0/LightDM-1.gir
+%{_datadir}/vala/vapi/liblightdm-gobject-1.vapi
+%{_datadir}/gtk-doc/html/lightdm-gobject-1
+
+%files qt
+%defattr(-, root, root, -)
+%{_libdir}/liblightdm-qt-3.so.*
+
+%files qt-devel
+%defattr(-, root, root, -)
+%{_includedir}/lightdm-qt-3
+%{_libdir}/liblightdm-qt-3.so
+%{_libdir}/pkgconfig/liblightdm-qt-3.pc
+
+
+
+%changelog
+* Sun Jun 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.11.2-1
+- initial build
+

+ 8 - 2
m/mate-screensaver/mate-screensaver-vl.spec

@@ -1,9 +1,12 @@
 Summary:	Screensaver for MATE
 Name:		mate-screensaver
 Version:	1.8.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 Source0:	http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
 Source1:	%{name}.pam
+
+Patch1000:	mate-screensaver-1.8.0-ja.po.patch
+
 License:	GPLv2
 Group:		User Interface/Desktops
 URL:		http://mate-desktop.org/
@@ -59,7 +62,7 @@ mate-screensaver.
 
 %prep
 %setup -q
-
+%patch1000 -p1
 
 %build
 (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
@@ -142,6 +145,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
 %changelog
+* Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
+- add Patch1000 (mate-screensaver-1.8.0-ja.po.patch)
+
 * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
 - new upstream release
 

+ 10 - 6
v/vutils/vutils-vl.spec

@@ -6,7 +6,7 @@
 Summary: Configuration/tiny tools for Vine Linux
 Summary(ja): Vine Linux 用各種設定/操作のスクリプト集
 Name: vutils
-Version: 7.1
+Version: 7.2
 Release: 1%{?_dist_release}
 Source: vutils-%{version}.tar.bz2
 License: distributable
@@ -98,6 +98,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_datadir}/applications/*.desktop
 
 %changelog
+* Sun Jun 01 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.2-1
+- update setdm, gsetdm
+  - support lightdm
+
 * Fri Nov 23 2012 Munehiro Yamamoto <munepi@vinelinux.org> 7.1-1
 - update update-defaultfont
   - support TeX Live 2012 + tlptexlive
@@ -108,10 +112,10 @@ rm -rf ${RPM_BUILD_ROOT}
 - updated update-defaultfont to modify vine.map
   - supported TeX Live 2011 + tlptexlive
 
-* Wed Jun 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-1
+* Tue Jun 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.1-1
 - fix vupgrade bug..
 
-* Tue Jun 14 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-1
+* Mon Jun 14 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.0-1
 - update vupgrade
 - remove WNNRPM from imelib (<BTS:1095>)
 - update setime messages
@@ -145,7 +149,7 @@ rm -rf ${RPM_BUILD_ROOT}
 * Sun Sep 27 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.2.0-1
 - add graphical interface for setdm (gsetdm)
 
-* Sat Sep 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.0-1
+* Sun Sep 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.0-1
 - remove canna/*wnn/kinput2 from ime list.
 - change default ime to scim
 - remove setgsfonts, kinput2ctl
@@ -232,7 +236,7 @@ rm -rf ${RPM_BUILD_ROOT}
 - export XMODIFIERS and GTK_IM_MODULE before start SCIM
   (VineSeed:1084[567])
 
-* Wed Apr 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.26.0-0vl1
+* Thu Apr 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.26.0-0vl1
 - apply wnn8 patch for kinput2ctl (vutils-1.24.0-wnn8.patch)
   ( thanks to KAZUKI SHIMURA )
 
@@ -322,7 +326,7 @@ rm -rf ${RPM_BUILD_ROOT}
 * Tue Nov 26 2002 Shoji Matsumoto <shom@vinelinux.org> 1.20.4-0vl1
 - fixed ATOKX selection on wdm
 
-* Thu Nov 19 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.20.3-0vl1
+* Tue Nov 19 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.20.3-0vl1
 - fixed bug.
   /usr/bin/setime is a wrong file. replace with older one.