summaryrefslogtreecommitdiff
path: root/extra/lxde-common
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lxde-common')
-rw-r--r--extra/lxde-common/PKGBUILD28
-rw-r--r--extra/lxde-common/lxde-common-arch.patch186
-rw-r--r--extra/lxde-common/lxde-common-invalid-distfile.patch10
-rw-r--r--extra/lxde-common/lxde-common.install18
4 files changed, 0 insertions, 242 deletions
diff --git a/extra/lxde-common/PKGBUILD b/extra/lxde-common/PKGBUILD
deleted file mode 100644
index 761841bb7..000000000
--- a/extra/lxde-common/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
-pkgname=lxde-common
-pkgver=0.5.0
-pkgrel=3
-pkgdesc="Common files of the LXDE Desktop"
-arch=('i686' 'x86_64')
-license=('GPL2')
-groups=('lxde')
-depends=('libx11' 'glib2' 'lxde-icon-theme')
-url="http://lxde.org/"
-# startlxde is useless without lxsession
-makedepends=(automake)
-optdepends=(lxsession-lite)
-backup=(etc/xdg/lxsession/LXDE/{desktop.conf,autostart})
-source=("http://downloads.sourceforge.net/project/lxde/${pkgname}%20%28default%20config%29/${pkgname}%200.5.0/${pkgname}-0.5.0.tar.gz" "${pkgname}-arch.patch" ${pkgname}-invalid-distfile.patch)
-md5sums=('23606ab3d6e1039386d62a4b68b4ffc6' '21657157d9ab377de55deb19a42d68e8'\
- '24938631783683fd98dfd533023e6d4e')
-
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p1 -i ${srcdir}/${pkgname}-arch.patch
- autoreconf
- ./configure --sysconfdir=/etc --prefix=/usr
- make DESTDIR="$pkgdir" install
- install -Dm644 lxde-logout.desktop ${pkgdir}/usr/share/applications/lxde-logout.desktop
-}
-
diff --git a/extra/lxde-common/lxde-common-arch.patch b/extra/lxde-common/lxde-common-arch.patch
deleted file mode 100644
index 3aa1a8992..000000000
--- a/extra/lxde-common/lxde-common-arch.patch
+++ /dev/null
@@ -1,186 +0,0 @@
-diff --git a/Makefile.am b/Makefile.am
-index ba4149c..61cf4c5 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -31,9 +31,9 @@ openbox_DATA= \
- openbox/rc.xml \
- openbox/menu.xml
-
--pcmanfmdir=$(datadir)/lxde/pcmanfm
-+pcmanfmdir=$(sysconfdir)/xdg/pcmanfm
- pcmanfm_DATA= \
-- pcmanfm/main.lxde
-+ pcmanfm/lxde.conf
-
- EXTRA_DIST = \
- autostart \
-@@ -45,7 +45,7 @@ EXTRA_DIST = \
- openbox/rc.xml.in \
- openbox/menu.xml \
- openbox-lxde.in \
-- pcmanfm/main.lxde.in \
-+ pcmanfm/lxde.conf.in \
- $(lxpanel_DATA) \
- lxpanel/panel.in
-
-diff --git a/autostart b/autostart
-index 17d7b58..d5b6514 100644
---- a/autostart
-+++ b/autostart
-@@ -1,3 +1,3 @@
--@xscreensaver -no-splash
- @lxpanel --profile LXDE
--@pcmanfm -d
-+@pcmanfm --desktop --profile lxde
-+@xscreensaver -no-splash
-diff --git a/configure.ac b/configure.ac
-index 3b62903..f90b4c5 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1,5 +1,5 @@
- AC_PREREQ([2.57])
--AC_INIT(lxde-common,[0.5.0], [],lxde-common)
-+AC_INIT(lxde-common,[0.5.5], [],lxde-common)
- AM_INIT_AUTOMAKE()
- dnl AC_PROG_INTLTOOL(, [no-xml])
- dnl AM_MAINTAINER_MODE
-@@ -48,7 +48,16 @@ AC_OUTPUT([
- lxpanel/panel
- openbox/rc.xml
- openbox-lxde
-- pcmanfm/main.lxde
-+ pcmanfm/lxde.conf
- man/Makefile
- ])
-
-+if test x"$sysconfdir" != x'/etc'; then
-+ echo
-+ echo
-+ echo 'Error: sysconfdir is not /etc.'
-+ echo 'Please consider passing --sysconfdir=/etc to configure.';
-+ echo 'Otherwise default config files will be installed to wrong place.'
-+ echo
-+ echo
-+fi
-diff --git a/lxpanel/config b/lxpanel/config
-index 1911551..cb7f06d 100644
---- a/lxpanel/config
-+++ b/lxpanel/config
-@@ -1,4 +1,4 @@
- [Command]
- FileManager=pcmanfm %s
--Terminal=xterm -e
-+Terminal=lxterminal
- Logout=lxde-logout
-diff --git a/openbox-lxde b/openbox-lxde
-old mode 100755
-new mode 100644
-diff --git a/openbox/menu.xml b/openbox/menu.xml
-index 78099e6..a7768a5 100644
---- a/openbox/menu.xml
-+++ b/openbox/menu.xml
-@@ -25,7 +25,7 @@
- <item label="Desktop Settings">
- <action name="Execute">
- <startupnotify><enabled>yes</enabled></startupnotify>
-- <command>pcmanfm --show-pref 2</command>
-+ <command>pcmanfm --desktop-pref</command>
- </action>
- </item>
- <item label="Window Management Settings">
-@@ -43,4 +43,4 @@
- </item>
- </menu>
-
--</openbox_menu>
-\ No newline at end of file
-+</openbox_menu>
-diff --git a/pcmanfm/lxde.conf.in b/pcmanfm/lxde.conf.in
-new file mode 100644
-index 0000000..6799e1f
---- /dev/null
-+++ b/pcmanfm/lxde.conf.in
-@@ -0,0 +1,20 @@
-+[config]
-+bm_open_method=0
-+su_cmd=xdg-su -c '%s'
-+
-+[desktop]
-+wallpaper_mode=1
-+wallpaper=@prefix@/share/lxde/wallpapers/lxde_blue.jpg
-+desktop_bg=#000000
-+desktop_fg=#ffffff
-+desktop_shadow=#000000
-+
-+[ui]
-+always_show_tabs=0
-+hide_close_btn=0
-+win_width=640
-+win_height=480
-+view_mode=0
-+show_hidden=0
-+sort_type=0
-+sort_by=0
-diff --git a/pcmanfm/main.lxde.in b/pcmanfm/main.lxde.in
-deleted file mode 100644
-index a619852..0000000
---- a/pcmanfm/main.lxde.in
-+++ /dev/null
-@@ -1,3 +0,0 @@
--[Desktop]
--show_wallpaper=1
--wallpaper=@prefix@/share/lxde/wallpapers/lxde_blue.jpg
-diff --git a/startlxde.in b/startlxde.in
-index 8372d3a..f493e28 100755
---- a/startlxde.in
-+++ b/startlxde.in
-@@ -1,28 +1,43 @@
- #!/bin/sh
-
- if [ -z "$XDG_CONFIG_HOME" ]; then
-- export XDG_CONFIG_HOME="$HOME/.config"
-+ export XDG_CONFIG_HOME="$HOME/.config"
- fi
-
- # Ensure the existance of pcmanfm config file
- PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm"
--if [ ! -f "$PCMANFM_CONF_DIR/main.lxde" ]; then
-- mkdir -p "$PCMANFM_CONF_DIR"
-- cp @prefix@/share/lxde/pcmanfm/main.lxde "$PCMANFM_CONF_DIR/main.lxde"
-+if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then
-+ mkdir -p "$PCMANFM_CONF_DIR"
-+ cp @prefix@/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf"
- fi
-
- # Ensure the existance of openbox config file
- OPENBOX_CONF_DIR="$XDG_CONFIG_HOME/openbox"
- if [ ! -f "$OPENBOX_CONF_DIR/lxde-rc.xml" ]; then
-- mkdir -p "$OPENBOX_CONF_DIR"
-- cp @prefix@/share/lxde/openbox/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml"
-+ mkdir -p "$OPENBOX_CONF_DIR"
-+ cp @prefix@/share/lxde/openbox/rc.xml "$OPENBOX_CONF_DIR/lxde-rc.xml"
- fi
-
-+# Ensure the existance of the 'Desktop' folder
-+if [ -e "$XDG_CONFIG_HOME/user-dirs.dirs" ]; then
-+ . "$XDG_CONFIG_HOME/user-dirs.dirs"
-+else
-+ XDG_DESKTOP_DIR="$HOME/Desktop"
-+fi
-+mkdir -p "$XDG_DESKTOP_DIR"
-+
- # 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
-
- # Enable GTK+2 integration for OpenOffice.org, if available.
- export SAL_USE_VCLPLUGIN=gtk
-
-+# Launch DBus if needed
-+if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
-+ eval "$(dbus-launch --sh-syntax --exit-with-session)"
-+fi
-+
-+export XDG_MENU_PREFIX="lxde-"
-+
- # Start the LXDE session
- exec @prefix@/bin/lxsession -s LXDE -e LXDE
diff --git a/extra/lxde-common/lxde-common-invalid-distfile.patch b/extra/lxde-common/lxde-common-invalid-distfile.patch
deleted file mode 100644
index df5d68084..000000000
--- a/extra/lxde-common/lxde-common-invalid-distfile.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff -ub lxde-common-0.5.0.dist/startlxde.in lxde-common-0.5.0/startlxde.in
---- lxde-common-0.5.0.dist/startlxde.in 2009-09-04 11:46:53.000000000 +0200
-+++ lxde-common-0.5.0./startlxde.in 2010-01-18 21:47:18.000000000 +0100
-@@ -25,4 +25,4 @@
- export SAL_USE_VCLPLUGIN=gtk
-
- # Start the LXDE session
--exec @prefix@/bin/lxsession -s LXDE
-+exec @prefix@/bin/lxsession -s LXDE -e LXDE
-
diff --git a/extra/lxde-common/lxde-common.install b/extra/lxde-common/lxde-common.install
deleted file mode 100644
index 86a366848..000000000
--- a/extra/lxde-common/lxde-common.install
+++ /dev/null
@@ -1,18 +0,0 @@
-ICON_PATH=usr/share/icons/nuoveXT2
-
-post_install() {
- gtk-update-icon-cache -q -t -f ${ICON_PATH}
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- gtk-update-icon-cache -q -t -f ${ICON_PATH}
-}
-
-op=$1
-shift
-
-$op $*