forked from pool/lxde-common
Accepting request 26749 from X11:lxde
Copy from X11:lxde/lxde-common based on submit request 26749 from user anubisg1 OBS-URL: https://build.opensuse.org/request/show/26749 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxde-common?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
lxde-common-0.5.0.tar.bz2
Normal file
3
lxde-common-0.5.0.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc1dcfac9ded519ddad8f5af758eff2d9588aa859a705475452d94ac129e2c73
|
||||
size 881960
|
28
lxde-common-startlxde.diff
Normal file
28
lxde-common-startlxde.diff
Normal file
@@ -0,0 +1,28 @@
|
||||
diff -uNr old-lxde-common-0.5.0//startlxde.in lxde-common-0.5.0/startlxde.in
|
||||
--- old-lxde-common-0.5.0//startlxde.in 2009-09-04 11:46:53.000000000 +0200
|
||||
+++ lxde-common-0.5.0/startlxde.in 2009-12-11 09:40:34.626008357 +0100
|
||||
@@ -21,8 +21,23 @@
|
||||
# Clean up after GDM (GDM sets the number of desktops to one)
|
||||
xprop -root -remove _NET_NUMBER_OF_DESKTOPS -remove _NET_DESKTOP_NAMES -remove _NET_CURRENT_DESKTOP 2> /dev/null
|
||||
|
||||
+# Ensure that LXDE default settings are loaded
|
||||
+LXDE_CONF_DIR="$XDG_CONFIG_HOME/lxde"
|
||||
+if [ ! -f "$LXDE_CONF_DIR/desktop.conf" ]; then
|
||||
+ mkdir -p "$LXDE_CONF_DIR"
|
||||
+ cp /etc/xdg/lxsession/LXDE/desktop.conf "$LXDE_CONF_DIR/desktop.conf"
|
||||
+fi
|
||||
+
|
||||
+# Ensure the Desktop folder exist
|
||||
+if [ -e .config/user-dirs.dirs ]; then
|
||||
+ . .config/user-dirs.dirs
|
||||
+else
|
||||
+ XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||
+fi
|
||||
+mkdir -p $XDG_DESKTOP_DIR
|
||||
+
|
||||
# Enable GTK+2 integration for OpenOffice.org, if available.
|
||||
export SAL_USE_VCLPLUGIN=gtk
|
||||
|
||||
# Start the LXDE session
|
||||
-exec @prefix@/bin/lxsession -s LXDE
|
||||
+exec @prefix@/bin/lxsession -s LXDE -e LXDE
|
33
lxde-common.changes
Normal file
33
lxde-common.changes
Normal file
@@ -0,0 +1,33 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 11 08:15:06 UTC 2009 - andrea@opensuse.org
|
||||
|
||||
- new upstream version 0.5.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 25 00:38:16 UTC 2009 - andrea@opensuse.org
|
||||
|
||||
- improved startlxde.diff to respect XDG system variables
|
||||
based also on LOCALE settings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 17 09:13:18 CEST 2009 - andrea@opensuse.org
|
||||
|
||||
- upgrade to svn 1835, lxde-settings-daemon now obsoletes
|
||||
- created branding upstream package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 8 15:47:23 CEST 2009 - andrea@opensuse.org
|
||||
|
||||
- New upstream version 0.4.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 30 16:20:11 CEST 2009 - andrea@opensuse.org
|
||||
|
||||
- added pcmanfm default settings
|
||||
- added workaround for lxpanel x86_64 issue
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 23 16:20:53 CEST 2009 - andrea@opensuse.org
|
||||
|
||||
- new package
|
||||
|
118
lxde-common.spec
Normal file
118
lxde-common.spec
Normal file
@@ -0,0 +1,118 @@
|
||||
#
|
||||
# spec file for package lxde-common (Version 0.5.0)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: lxde-common
|
||||
Version: 0.5.0
|
||||
Release: 1
|
||||
License: GPL
|
||||
Source0: %name-%version.tar.bz2
|
||||
Source1: lxde-new-wallpapers.tar.bz2
|
||||
Source2: lxde-lock-screen.desktop
|
||||
Patch0: %name-startlxde.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf automake gtk2-devel intltool pkg-config update-desktop-files
|
||||
BuildRequires: docbook-utils docbook-xsl-stylesheets fdupes libxslt
|
||||
Group: System/GUI/Other
|
||||
Summary: This package provides a set of default configuration for LXDE
|
||||
BuildArch: noarch
|
||||
Provides: lxde-settings-daemon >= %version
|
||||
Obsoletes: lxde-settings-daemon < %version
|
||||
Requires: lxde-common-branding
|
||||
|
||||
%description
|
||||
Lxde-common package provides a set of default configuration for LXDE.
|
||||
It's an LXDE core package, since without it LXDE cannot run
|
||||
|
||||
%package branding-upstream
|
||||
License: GPL
|
||||
Group: System/GUI/Others
|
||||
Summary: Upstream branding
|
||||
Supplements: packageand(lxde-common:branding-upstream)
|
||||
Conflicts: otherproviders(lxde-common-branding)
|
||||
Provides: lxde-common-branding = %{version}
|
||||
|
||||
%description branding-upstream
|
||||
This branding-style package sets default applications in LXDE in openSUSE.
|
||||
This is a dumb package, which provides only upstream LXDE configurations as preferred defaults.
|
||||
You most probably don't want this package. You probably want to install distribution default
|
||||
lxde-common-branding and prefer openSUSE defaults settings.
|
||||
|
||||
%prep
|
||||
%setup -q -n %name-%version
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||
%configure --enable-man
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
mkdir -p %buildroot/usr/share/applications
|
||||
install -c -m 644 lxde-logout.desktop %buildroot/%_datadir/applications/lxde-logout.desktop
|
||||
install -c -m 644 %SOURCE2 %buildroot/%_datadir/applications/
|
||||
#%__cp %SOURCE1 %buildroot/%_datadir/lxde/images/
|
||||
%suse_update_desktop_file %buildroot/%_datadir/applications/lxde-logout.desktop
|
||||
%suse_update_desktop_file %buildroot/%_datadir/applications/lxde-lock-screen.desktop
|
||||
%suse_update_desktop_file %buildroot/%_datadir/xsessions/LXDE.desktop
|
||||
cd %buildroot/%_datadir/lxde/wallpapers
|
||||
tar xjf %SOURCE1
|
||||
mv %buildroot/%_datadir/lxde/wallpapers/lxde-new-wallpapers/* %buildroot/%_datadir/lxde/wallpapers/
|
||||
rm -rf %buildroot/%_datadir/lxde/wallpapers/lxde-new-wallpapers
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_bindir/openbox-lxde
|
||||
%_bindir/startlxde
|
||||
%dir %_datadir/lxde
|
||||
%dir %_datadir/lxde/wallpapers
|
||||
%_datadir/lxde/wallpapers/*
|
||||
%_datadir/man/man1/*
|
||||
%_datadir/xsessions/LXDE.desktop
|
||||
%_datadir/applications/lxde-logout.desktop
|
||||
%_datadir/applications/lxde-lock-screen.desktop
|
||||
|
||||
%files branding-upstream
|
||||
%defattr(-,root,root)
|
||||
%_bindir/lxde-logout
|
||||
%dir %_datadir/lxde/pcmanfm
|
||||
%_datadir/lxde/pcmanfm/main.lxde
|
||||
%dir %_datadir/lxde/openbox
|
||||
%_datadir/lxde/openbox/*.xml
|
||||
%dir %_datadir/lxpanel
|
||||
%dir %_datadir/lxpanel/profile
|
||||
%dir %_datadir/lxpanel/profile/LXDE
|
||||
%_datadir/lxpanel/profile/LXDE/config
|
||||
%dir %_datadir/lxpanel/profile/LXDE/panels
|
||||
%_datadir/lxpanel/profile/LXDE/panels/panel
|
||||
%dir %_datadir/lxde/images
|
||||
%_datadir/lxde/images/logout-banner.png
|
||||
%_datadir/lxde/images/lxde-icon.png
|
||||
%dir %_sysconfdir/xdg/lxsession
|
||||
%dir %_sysconfdir/xdg/lxsession/LXDE
|
||||
%config %_sysconfdir/xdg/lxsession/LXDE/autostart
|
||||
%config %_sysconfdir/xdg/lxsession/LXDE/desktop.conf
|
||||
|
||||
%changelog
|
12
lxde-lock-screen.desktop
Normal file
12
lxde-lock-screen.desktop
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Application
|
||||
Name=Lock Screen
|
||||
Name[de_DE]=Bildschirm sperren
|
||||
Icon=system-lock-screen
|
||||
Exec=xdg-screensaver lock
|
||||
Comment=Lock Screen
|
||||
Comment[de_DE]=Bildschirm vor unbefugtem Zugriff sperren
|
||||
StartupNotify=false
|
||||
NoDisplay=true
|
3
lxde-new-wallpapers.tar.bz2
Normal file
3
lxde-new-wallpapers.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fbd853d69e70790930e1f4022ea8dc6fba9354a2924ffd882c8f55c609e2905f
|
||||
size 4481387
|
Reference in New Issue
Block a user